Compare commits

...

4673 Commits

Author SHA1 Message Date
Richard Purdie
8c489602f2 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: cb8647c08959abb1d6b7c2b3a34b4b415f66d7ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:59:10 +01:00
Davide Gardenal
93491db3bf openssl: minor security upgrade 3.0.2 -> 3.0.3
This minor version include fixes for several CVEs

CVE: CVE-2022-1292
CVE: CVE-2022-1343
CVE: CVE-2022-1434
CVE: CVE-2022-1473

(From OE-Core rev: 62bc43a8ca705384fb60742f2f044f4355aaabca)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:40 +01:00
Steve Sakoman
546d7cfea4 virgl: skip headless test on alma 8.6
As a centos 8 spinoff, it lacks the same vgem kernel module.

(From OE-Core rev: 451605aa40482516c18cd1534feacb796516a785)

(From OE-Core rev: 66622dac0ed987162c740536f56973f17879198a)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:49:20 +01:00
Jon Mason
8941afebd1 qemuarmv5: use arm-versatile-926ejs KMACHINE
Use the Arm Versatile 926 kernel configs to get this machine working
again.

(From OE-Core rev: 70ad00a6e8370a4603494003abdf98c3b33cf7f8)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Acked-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-13 10:31:23 +01:00
Steve Sakoman
300cc18871 poky.conf: bump version for 4.0.1 release
(From meta-yocto rev: 79b0270f55d69ecae8ada6dce492b7c561c56cca)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-13 09:34:27 +01:00
Bruce Ashfield
5bac84e954 yocto-bsps: update to v5.15.36
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    45451e8015a9 Linux 5.15.36
    bb906d15a99e arm64: dts: qcom: add IPA qcom,qmp property
    1ea01e64632f block/compat_ioctl: fix range check in BLKGETSIZE
    6a3c609feb11 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    b1b8f39c2475 jbd2: fix a potential race while discarding reserved buffers after an abort
    2e25c46c6eef netfilter: nft_ct: fix use after free when attaching zone template
    2b273d1fd18e ext4: force overhead calculation if the s_overhead_cluster makes no sense
    52ca84a3edd1 ext4: fix overhead calculation to account for the reserved gdt blocks
    6b952563934c ext4, doc: fix incorrect h_reserved size
    9b90003771e5 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    e3912775b476 ext4: fix use-after-free in ext4_search_dir
    8bb5676b49d3 ext4: fix symlink file size not match to file content
    ba50ea456f49 ext4: fix fallocate to use file_modified to update permissions consistently
    67e4860eeed8 netfilter: conntrack: avoid useless indirection during conntrack destruction
    bcba40bd36d7 netfilter: conntrack: convert to refcount_t api
    4bbd693d9f0a KVM: SVM: Flush when freeing encrypted pages even on SME_COHERENT CPUs
    8b2da9690489 KVM: nVMX: Defer APICv updates while L2 is active until L1 is active
    a41b3243a6de KVM: x86: Pend KVM_REQ_APICV_UPDATE during vCPU creation to fix a race
    2b4417acd3c6 KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdog
    87d95ff0ca27 arm_pmu: Validate single/group leader events
    4d98fbb26683 ARC: entry: fix syscall_trace_exit argument
    7b69c07beb23 e1000e: Fix possible overflow in LTR decoding
    73a0b4c5c0bd ASoC: soc-dapm: fix two incorrect uses of list iterator
    571a67b0d8a4 gpio: Request interrupts after IRQ is initialized
    e411af98013d openvswitch: fix OOB access in reserve_sfa_size()
    bac4cadeb718 xtensa: fix a7 clobbering in coprocessor context load/store
    91335ca9ebe7 xtensa: patch_text: Fixup last cpu should be master
    49952e31e50d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    04ecea282b42 perf script: Always allow field 'data_src' for auxtrace
    a92335b4b189 powerpc/perf: Fix power10 event alternatives
    7a56867c5ef3 powerpc/perf: Fix power9 event alternatives
    53c4a9ff225b drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    9dc46d2e3723 KVM: PPC: Fix TCE handling for VFIO
    76614b111867 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    7981351a916e drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    56637084e8a5 perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    b1b929468229 sched/pelt: Fix attach_entity_load_avg() corner case
    914473a07088 scsi: sr: Do not leak information in ioctl
    f0cfae3e0d3a Input: omap4-keypad - fix pm_runtime_get_sync() error checking
    232541989a1a net: atlantic: invert deep par in pm functions, preventing null derefs
    6b8af9f96749 dmaengine: imx-sdma: fix init of uart scripts
    1a8d1665cff1 dma: at_xdmac: fix a missing check on list iterator
    d10a711d4db6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    48b2ab1a960a mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    41ba681c6373 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    9dcb65cdf312 mm, hugetlb: allow for "high" userspace addresses
    07bdd207774c memcg: sync flush only if periodic flush is delayed
    9c71b29d55d4 mm/memory-failure.c: skip huge_zero_page in memory_failure()
    b81291922f8b EDAC/synopsys: Read the error count from the correct register
    87dd813bd2c3 nvme-pci: disable namespace identifiers for Qemu controllers
    dab2f477e15a nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202
    25f37ed22a9e nvme: add a quirk to disable namespace identifiers
    4a9f9f1791f3 VFS: filename_create(): fix incorrect intent.
    773ca67ffc96 stat: fix inconsistency between struct stat and struct compat_stat
    80c713a894c3 scsi: qedi: Fix failed disconnect handling
    c7f4f3016fea scsi: iscsi: Fix NOP handling during conn recovery
    e4efe868aa14 scsi: iscsi: Merge suspend fields
    740411ee2f94 scsi: iscsi: Release endpoint ID when its freed
    123a52eb610d net: macb: Restart tx only if queue pointer is lagging
    bc663ff8cae3 drm/msm/mdp5: check the return of kzalloc()
    5fe864539caf dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    48e1db2c3d42 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    e25b350e2521 mt76: Fix undefined behavior due to shift overflowing the constant
    a7a651d5a525 net: atlantic: Avoid out-of-bounds indexing
    213330bafd02 cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    6085e24fd972 vxlan: fix error return code in vxlan_fdb_append
    32fe43df71c5 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    f0ba965e4783 drm/msm/disp: check the return value of kzalloc()
    b78d40339568 ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    9d441c2e2ad1 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    4426116b2e02 reset: tegra-bpmp: Restore Handle errors in BPMP response
    a6ec9d95c205 reset: renesas: Check return value of reset_control_deassert()
    70fa727835f9 ARM: vexpress/spc: Avoid negative array index when !SMP
    d3acd3f9f80e arm64: mm: fix p?d_leaf()
    ec9cb700cbf7 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    6b9a418d3850 dmaengine: idxd: skip clearing device context when device is read-only
    49047fa486b3 dmaengine: idxd: add RO check for wq max_transfer_size write
    6c30e099b978 dmaengine: idxd: add RO check for wq max_batch_size write
    e83acf93919b net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    79957134ca1d drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails
    f3552c37593a netlink: reset network and mac headers in netlink_dump()
    93581ae1f980 net: mscc: ocelot: fix broken IP multicast flooding
    6a5ca57d5acd net: dsa: hellcreek: Calculate checksums in tagger
    40ebaf7365b0 can: isotp: stop timeout monitoring when no first frame was sent
    652a5405396d ipv6: make ip6_rt_gc_expire an atomic_t
    d23fe66eb7b0 l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    58bdbd121a34 net/sched: cls_u32: fix possible leak in u32_init_knode()
    1b4fb109cc53 net: restore alpha order to Ethernet devices in config
    d5049ef1f671 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    3cc2f6b71eb6 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    ab26f1136757 net/packet: fix packet_sock xmit return value checking
    b355ca6a915f net/smc: Fix sock leak when release after smc_shutdown()
    8fe1bf23c96b rxrpc: Restore removed timer deletion
    09da8cf94588 ALSA: hda/hdmi: fix warning about PCM count when used with SOF
    c7c71b3e4764 igc: Fix suspending when PTM is active
    da323d0d6aaa igc: Fix BUG: scheduling while atomic
    b3ce7d3a1742 igc: Fix infinite loop in release_swfw_sync
    8920a03a3a15 spi: cadence-quadspi: fix incorrect supports_op() return value
    a583f2f3c878 esp: limit skb_page_frag_refill use to a single page
    76900a136b1a spi: spi-mtk-nor: initialize spi controller after resume
    84e77e72367f dmaengine: dw-edma: Fix unaligned 64bit access
    d18fb19c1c8e dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    8932d9ee4b9f dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    a8be4586352b dmaengine: idxd: fix device cleanup on disable
    6168532a08ef ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    053bd9604f05 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    9a4c63e7332c ASoC: rk817: Use devm_clk_get() in rk817_platform_probe
    bc15442cc99f ASoC: topology: Correct error handling in soc_tplg_dapm_widget_create()
    bc7d0133181e ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    236785649ad2 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    aaa22e5b526d ALSA: usb-audio: Clear MIDI port active flag after draining
    ba9e9a794fd1 net/sched: cls_u32: fix netns refcount changes in u32_change()
    8dfec6e0a62d scsi: ufs: core: scsi_get_lba() error fix
    c2d0cdf8ad06 gfs2: assign rgrp glock before compute_bitstructs
    a52e73bef254 mm, kfence: support kmem_dump_obj() for KFENCE objects
    3876c574e4cc perf tools: Fix segfault accessing sample_id xyarray
    77a467983bff mm: page_alloc: fix building error on -Werror=array-compare
    3177d047e58a etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
    3f7b1a87ac75 arm64/mm: drop HAVE_ARCH_PFN_VALID
    c01430cf5b87 dma-mapping: remove bogus test for pfn_valid from dma_map_resource
    155ae0547cb8 xfs: return errors in xfs_fs_sync_fs
    935745abcf4c vfs: make sync_filesystem return errors from ->sync_fs
    6eb927ee189f block: simplify the block device syncing code
    7877e7a5a52e block: remove __sync_blockdev
    4b7617ae04de fs: remove __sync_filesystem
    81d8d30c35ed Linux 5.15.35
    85f25bb9a005 ax25: Fix UAF bugs in ax25 timers
    43c107021d91 ax25: Fix NULL pointer dereferences in ax25 timers
    da6509fba636 ax25: fix NPD bug in ax25_disconnect
    1bf8946d5826 ax25: fix UAF bug in ax25_send_control()
    452ae92b9906 ax25: Fix refcount leaks caused by ax25_cb_del()
    b982492ec3a1 ax25: fix UAF bugs of net_device caused by rebinding operation
    bc706d89199b ax25: fix reference count leaks of ax25_dev
    9af0fd5c4453 ax25: add refcount in ax25_dev to avoid UAF bugs
    de6a76eea645 cpufreq: intel_pstate: ITMT support for overclocked system
    74d23d422556 net: ipa: fix a build dependency
    1648c7b450d8 soc: qcom: aoss: Fix missing put_device call in qmp_get
    d712aea3cd81 cpu/hotplug: Remove the 'cpu' member of cpuhp_cpu_state
    14785927a1d4 drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL
    4ef9951d0252 dma-direct: avoid redundant memory sync for swiotlb
    111becd63e37 timers: Fix warning condition in __run_timers()
    cbdd7a33c533 dt-bindings: net: snps: remove duplicate name
    83a4c1080e09 i2c: pasemi: Wait for write xfers to finish
    44981e4cde68 smp: Fix offline cpu check in flush_smp_call_function_queue()
    2f345bb14ad4 i2c: dev: check return value when calling dev_set_name()
    6b4bf97587ef dm integrity: fix memory corruption when tag_size is less than digest size
    0940795c6834 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    68a38b07f125 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    c11ef9ded22e genirq/affinity: Consider that CPUs on nodes can be unbalanced
    c61d929944c9 x86/tsx: Disable TSX development mode at boot
    aaf27fcaefc1 x86/tsx: Use MSR_TSX_CTRL to clear CPUID bits
    2dd7d2eddf8e drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    804c096d640e drm/amd/display: don't ignore alpha property on pre-multiplied mode
    adee01bbf6cb ipv6: fix panic when forwarding a pkt with no in6 dev
    cab64cb82fe1 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    63038f6e96a7 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    a53062c94b8c ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    0349df521528 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    3680b48533ae btrfs: mark resumed async balance as writing
    252db93fd0bd btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b81c2c147e1 ath9k: Fix usage of driver-private space in tx_info
    3386927f436e ath9k: Properly clear TX status area before reporting to mac80211
    7a509a9f2bb7 cifs: verify that tcon is valid before dereference in cifs_kill_sb
    bd17422b9b67 gcc-plugins: latent_entropy: use /dev/urandom
    05d1824a7fb4 memory: renesas-rpc-if: fix platform-device leak in error path
    f5e13d700a4d SUNRPC: Fix NFSD's request deferral on RDMA transports
    00715427ea77 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    70ea5e7b38c3 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    12ba1d38115a mm: fix unexpected zeroed page mapping with zram swap
    bb7645c33869 mm, page_alloc: fix build_zonerefs_node()
    b6d17c67885a mm/secretmem: fix panic when growing a memfd_secret
    4cdf0e7a5be8 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    b8ed0f7531f3 io_uring: use nospec annotation for more indexes
    5218d5cc0283 io_uring: zero tag on rsrc removal
    efb020924a71 drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e455d7510db7 scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    f1933d9ee745 scsi: mvsas: Add PCI ID of RocketRaid 2640
    389f37e46bdd scsi: mpt3sas: Fail reset operation if config request timed out
    184b4fad0872 drbd: set QUEUE_FLAG_STABLE_WRITES
    6a03581ccffa drm/amd/display: Fix allocate_mst_payload assert on resume
    ac2eb310af05 drm/amd/display: Revert FEC check in validation
    eab8e585840f drm/amd/display: Enable power gating before init_pipes
    d8860f1f9e41 spi: cadence-quadspi: fix protocol setup for non-1-1-X operations
    6d48df738272 myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    b416898442f2 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    c3f86aef97cf Drivers: hv: balloon: Disable balloon and hot-add accordingly
    1c9fdb9587e0 net: axienet: setup mdio unconditionally
    61dd8bef80c2 tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    ed2711c696ce arm64: alternatives: mark patch_alternative() as `noinstr`
    cfd24b14eb2d regulator: wm8994: Add an off-on delay for WM8994 variant
    86d1cdf56fc5 gpu: ipu-v3: Fix dev_dbg frequency output
    4583205048ae ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    6eecc4811a47 net: micrel: fix KS8851_MLL Kconfig
    9e60a788a3f7 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    026083cb43a4 scsi: lpfc: Fix queue failures when recovering from PCI parity error
    b7f3b5d70c83 scsi: target: tcmu: Fix possible page UAF
    44f95a5aae99 Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    92a3499933c1 PCI: hv: Propagate coherence from VMbus device to PCI device
    1b576e81d31b Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests
    f2658d5966bc drm/amdkfd: Check for potential null return of kmalloc_array()
    9f0fabf30b48 drm/amdgpu/vcn: improve vcn dpg stop procedure
    25efb191d86b drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7a3bc11a4034 drm/amd/display: Update VTEM Infopacket definition
    92951699a5f1 drm/amd/display: FEC check in timing validation
    b054e8183fbd drm/amd/display: fix audio format not updated after edid updated
    37bc29a44538 drm/amdgpu/gmc: use PCI BARs for APUs in passthrough
    5a3b56a4a1c7 drm/amdgpu: conduct a proper cleanup of PDB bo
    01dcda701fef btrfs: do not warn for free space inode in cow_file_range
    bb93369f93b5 btrfs: fix fallocate to use file_modified to update permissions consistently
    6dded62e5aa6 drm/amd: Add USBC connector ID
    3e67054c339c block: fix offset/size check in bio_trim()
    279018a01b08 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    b8c0f6d1b04c vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used
    5fda973f0ece dm mpath: only use ktime_get_ns() in historical selector
    9901b07ba42b cifs: potential buffer overflow in handling symlinks
    9ded5ae40f4f nfc: nci: add flush_workqueue to prevent uaf
    331c99ee8dcb net: ftgmac100: access hardware register after clock ready
    8f79ce226ad2 macvlan: Fix leaking skb in source mode with nodst option
    8e86fba13479 perf tools: Fix misleading add event PMU debug message
    1665758b4bfd ALSA: usb-audio: Limit max buffer and period sizes per time
    6b38c5722610 ALSA: usb-audio: Increase max buffer size
    7399ed8e6a8d testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    9947548d9cef io_uring: verify pad field is 0 in io_get_ext_arg
    7a7c9f9de961 io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
    22aa1597f462 io_uring: move io_uring_rsrc_update2 validation
    cb981d5c7511 ALSA: mtpav: Don't call card private_free at probe error path
    872e5fa0781f ALSA: ad1889: Fix the missing snd_card_free() call at probe error
    96aceacda8d2 netfilter: nf_tables: nft_parse_register can return a negative value
    90c153ca45da sctp: Initialize daddr on peeled off socket
    50d46b5ce004 scsi: iscsi: Fix unbound endpoint error handling
    578616ac3d87 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    485780af7ef1 scsi: iscsi: Fix endpoint reuse regression
    cbd4f4e40944 scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    cc0082d45de1 scsi: iscsi: Move iscsi_ep_disconnect()
    d6f6f945e850 scsi: pm80xx: Enable upper inbound, outbound queues
    b02c509ceef4 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    3a523807f014 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    66b3107a4a06 drm/msm/dp: add fail safe mode outside of event_mutex context
    815006c33391 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    a6549b364be4 drm/msm: Fix range size vs end confusion
    1c86b7ea63ff netfilter: nft_socket: make cgroup match work in input too
    5a52384a5134 cfg80211: hold bss_lock while updating nontrans_list
    d5be67ecbeff net/sched: taprio: Check if socket flags are valid
    62a48383ebe2 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    72f9c15854b0 net: dsa: felix: suppress -EPROBE_DEFER errors
    13faa76cf572 net/sched: fix initialization order when updating chain 0 head
    4c979e6fcec8 mlxsw: i2c: Fix initialization error flow
    152b813d8ba5 net: mdio: don't defer probe forever if PHY IRQ provider is missing
    675e7d3086d0 cifs: release cached dentries only if mount is complete
    d40cf3492277 gpiolib: acpi: use correct format characters
    93940fc4cb81 veth: Ensure eth header is in skb's linear part
    de8a332c86a7 net/sched: flower: fix parsing of ethertype following VLAN header
    726ae7300fcc SUNRPC: Fix the svc_deferred_event trace class
    ec2ab59b9e66 media: rockchip/rga: do proper error checking in probe
    b0d8a9eb3239 firmware: arm_scmi: Fix sorting of retrieved clock rates
    e2da8f9ce3ea Revert "ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax"
    9f029cb2c92e memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    e7b1992b0722 firmware: arm_scmi: Remove clear channel call on the TX channel
    77ffc38e577d drm/msm: Add missing put_task_struct() in debugfs path
    aa4845194b9d ALSA: nm256: Don't call card private_free at probe error path
    425c83e2898d ALSA: usb-audio: Cap upper limits of buffer/period bytes for implicit fb
    3bbd4850d957 ALSA: via82xx: Fix the missing snd_card_free() call at probe error
    56e44ff13d84 ALSA: sonicvibes: Fix the missing snd_card_free() call at probe error
    73229d7cb836 ALSA: sc6000: Fix the missing snd_card_free() call at probe error
    df03ce487e1b ALSA: rme96: Fix the missing snd_card_free() call at probe error
    ef4c35339414 ALSA: rme9652: Fix the missing snd_card_free() call at probe error
    4efa63663c36 ALSA: rme32: Fix the missing snd_card_free() call at probe error
    bb94f5d98511 ALSA: riptide: Fix the missing snd_card_free() call at probe error
    4ecd10217df6 ALSA: oxygen: Fix the missing snd_card_free() call at probe error
    30b86477daaa ALSA: maestro3: Fix the missing snd_card_free() call at probe error
    5fbb73cb1208 ALSA: lx6464es: Fix the missing snd_card_free() call at probe error
    0651442d22e2 ALSA: lola: Fix the missing snd_card_free() call at probe error
    0bec8b8a57de ALSA: korg1212: Fix the missing snd_card_free() call at probe error
    d9ac5256de1f ALSA: intel_hdmi: Fix the missing snd_card_free() call at probe error
    e87b8d0ba455 ALSA: intel8x0: Fix the missing snd_card_free() call at probe error
    547c9af67b4e ALSA: ice1724: Fix the missing snd_card_free() call at probe error
    141abcbf902a ALSA: hdspm: Fix the missing snd_card_free() call at probe error
    f006a4bcf8bb ALSA: hdsp: Fix the missing snd_card_free() call at probe error
    85515309293b ALSA: galaxy: Fix the missing snd_card_free() call at probe error
    841e8f8dd21f ALSA: fm801: Fix the missing snd_card_free() call at probe error
    3a738f1b3ffd ALSA: es1968: Fix the missing snd_card_free() call at probe error
    d3c6ac7a051c ALSA: es1938: Fix the missing snd_card_free() call at probe error
    20b35ba7aa2f ALSA: ens137x: Fix the missing snd_card_free() call at probe error
    0d52c09f0c17 ALSA: emu10k1x: Fix the missing snd_card_free() call at probe error
    2a2a75ebdbd4 ALSA: echoaudio: Fix the missing snd_card_free() call at probe error
    648e89e9de29 ALSA: cs5535audio: Fix the missing snd_card_free() call at probe error
    9decc5bfd173 ALSA: cs4281: Fix the missing snd_card_free() call at probe error
    2dde47610757 ALSA: cmipci: Fix the missing snd_card_free() call at probe error
    f98476228801 ALSA: ca0106: Fix the missing snd_card_free() call at probe error
    e5a54e236f70 ALSA: bt87x: Fix the missing snd_card_free() call at probe error
    935629ba096e ALSA: azt3328: Fix the missing snd_card_free() call at probe error
    3a943321c362 ALSA: aw2: Fix the missing snd_card_free() call at probe error
    811a92b866a0 ALSA: au88x0: Fix the missing snd_card_free() call at probe error
    ea61c1bd582b ALSA: atiixp: Fix the missing snd_card_free() call at probe error
    007a9b5554e1 ALSA: als4000: Fix the missing snd_card_free() call at probe error
    291d9e5e94d0 ALSA: als300: Fix the missing snd_card_free() call at probe error
    5bc156409025 ALSA: ali5451: Fix the missing snd_card_free() call at probe error
    cfa98d6c41e0 ALSA: sis7019: Fix the missing error handling
    1479bdea76dd ALSA: core: Add snd_card_free_on_error() helper
    07cacfd9d9dc btrfs: release correct delalloc amount in direct IO write path
    8ff8bdb8c92d net: ipa: request IPA register values be retained
    587ced6b8cf3 dt-bindings: net: qcom,ipa: add optional qcom,qmp property
    7883df73fd59 soc: qcom: aoss: Expose send for generic usecase
    ec13aa4e0085 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    ed0e951463ea btrfs: remove no longer used counter when reading data page
    6308ab54c8ec btrfs: remove unused parameter nr_pages in add_ra_bio_pages()
    ff810f85ed3f ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40
    7cad1c40ef91 ACPI: processor idle: Allow playing dead in C3 state
    631473adaaef ACPI: processor idle: Check for architectural support for LPI
    5b13295ac584 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    9873fe0f3857 hamradio: remove needs_free_netdev to avoid UAF
    c799c18a287e hamradio: defer 6pack kfree after unregister_netdev
    8e663865f528 drm/amd/display: Fix p-state allow debug index on dcn31
    685a19fa6ae9 drm/amd/display: Add pstate verification and recovery for DCN31
    1b86fc15ba6d Linux 5.15.34
    c9ea4fb1f3f3 stacktrace: move filter_irq_stacks() to kernel/stacktrace.c
    fddb88bd266f powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    68cea1e243b8 static_call: Don't make __static_call_return0 static
    429f413ed83f mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    8fe51495efff irqchip/gic, gic-v3: Prevent GSI to SGI translations
    69943af22a32 powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S
    7b5d60323f90 irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling
    f4f8b6d8490e x86,static_call: Fix __static_call_return0 for i386
    ff6505766565 sched: Teach the forced-newidle balancer about CPU affinity limitation.
    f399f38eda57 x86/bug: Prevent shadowing in __WARN_FLAGS
    469eed08becd Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    f5e59185b033 mm: don't skip swap entry even if zap_details specified
    4693fce5a5d4 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    47802775bc11 selftests: cgroup: Test open-time credential usage for migration checks
    e326f218de1f selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    33db9912ff7c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    f1607e13ed71 Revert "net/mlx5: Accept devlink user input after driver initialization complete"
    226b4327ef5c KVM: avoid NULL pointer dereference in kvm_dirty_ring_push
    104bfa23a001 dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    3c3a8e56553e tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    fbe722d48b8e tools build: Filter out options and warnings not supported by clang
    9b2b01e36741 perf python: Fix probing for some clang command line options
    03044b841406 perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    3b14aa053181 Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"
    5d69622eb036 SUNRPC: Don't call connect() more than once on a TCP socket
    22174e8ce8ac rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
    9e46f7319549 selftests/bpf: Fix u8 narrow load checks for bpf_sk_lookup remote_port
    0c64645e6373 bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wide
    e2ff1d653069 Revert "selftests: net: Add tls config dependency for tls selftests"
    7f48521172fb net/smc: send directly on setting TCP_NODELAY
    20633216ded0 KVM: SVM: Allow AVIC support on system w/ physical APIC ID > 255
    b536cf3eb6f9 drm/amdgpu: don't use BACO for reset in S3
    3c8902bbf2ab drm/amdkfd: Create file descriptor after client is added to smi_clients list
    588393cdae7f drm/nouveau/pmu: Add missing callbacks for Tegra devices
    6a5d209898a6 drm/amdgpu/vcn: Fix the register setting for vcn1
    155338be5d90 drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    0115e4f2f6bc drm/amdgpu/display: change pipe policy for DCN 2.1
    28dc1503a9d3 drm/panel: ili9341: fix optional regulator handling
    b911702a0105 SUNRPC: Prevent immediate close+reconnect
    a551e6629247 amd/display: set backlight only if required
    2388f826cdc9 fbdev: Fix unregistering of framebuffers without device
    7218a789abb3 irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    fcf9ccf9d26a perf/core: Inherit event_caps
    0309f053ce47 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    8a05a6952ecd ata: sata_dwc_460ex: Fix crash due to OOB write
    136c21ce8e01 perf/x86/intel: Don't extend the pseudo-encoding to GP counters
    983a759640bf x86/mm/tlb: Revert retpoline avoidance approach
    2f67341e5bce x86/msi: Fix msi message data shadow struct
    0912cf021fb5 gpio: Restrict usage of GPIO chip irq members before initialization
    9ca11bd8222a RDMA/hfi1: Fix use-after-free bug for mm struct
    fa7cc2df9505 arm64: patch_text: Fixup last cpu should be master
    90012c6748d3 spi: core: add dma_map_dev for __spi_unmap_msg()
    887366faf0c9 btrfs: prevent subvol with swapfile from being deleted
    4b98799e181b btrfs: fix qgroup reserve overflow the qgroup limit
    56c88810466b perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids
    fab4b79e869a x86/speculation: Restore speculation related MSRs during S3 resume
    fcf185f7e03e x86/pm: Save the MSR validity status at context setup
    ba7261af2b03 io_uring: fix race between timeout flush and removal
    fe223dd2f18b io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF
    ae6cba337cbf io_uring: defer splice/tee file validity check until command issue
    056e1e7c1713 io_uring: don't check req->file in io_fsync_prep()
    198932a14aeb mm/mempolicy: fix mpol_new leak in shared_policy_replace
    a04cb99c5d46 mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    c21d040de622 highmem: fix checks in __kmap_local_sched_{in,out}
    9fb8bc6cfc58 lz4: fix LZ4_decompress_safe_partial read out of bound
    75cae557bc44 mmc: core: Fixup support for writeback-cache for eMMC and SD
    5d2712b78056 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    11497ecbda04 mmc: mmci: stm32: correctly check all elements of sg list
    1515d2a466bf mmc: block: Check for errors after write on SPI
    86b5d155fced Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    dc5e603c247d scsi: ufs: ufs-pci: Add support for Intel MTL
    25c1353dca74 scsi: mpt3sas: Fix use after free in _scsih_expander_node_remove()
    32dd8b63e633 arm64: Add part number for Arm Cortex-A78AE
    159c7db3ccbb perf session: Remap buf if there is no space for event
    58aece34fb7f perf tools: Fix perf's libperf_print callback
    e1f2750e7531 perf: arm-spe: Fix perf report --mem-mode
    47e239117bd9 iommu/omap: Fix regression in probe for NULL pointer dereference
    3fd9be3ec5c8 SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    3b32dda29f99 SUNRPC: Handle low memory situations in call_status()
    03ac680dacf9 SUNRPC: Handle ENOMEM in call_transmit_status()
    285f5d724005 io_uring: don't touch scm_fp_list after queueing skb
    50c981bd7790 io_uring: nospec index for tags on files update
    685f42de443d scsi: ufs: ufshpb: Fix a NULL check on list iterator
    a972c7687233 drbd: Fix five use after free bugs in get_initial_state
    1816af613e56 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    88a3bdcb462a spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    c9bdce2359b5 qede: confirm skb is allocated before using
    fb45e80b2194 net: phy: mscc-miim: reject clause 45 register accesses
    8ba8e1398a66 net: sfc: fix using uninitialized xdp tx_queue
    571d8e1d154c rxrpc: fix a race in rxrpc_exit_net()
    837b96d81039 net: openvswitch: fix leak of nested actions
    42b2e418f9a2 net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address()
    085d002432ac net: openvswitch: don't send internal clone attribute to the userspace.
    70cf0b820e55 ice: xsk: fix VSI state check in ice_xsk_wakeup()
    840cbbdc8bf1 ice: synchronize_rcu() when terminating rings
    070aa68f8fab ipv6: Fix stats accounting in ip6_pkt_drop
    1c0763475401 ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    5d3e9f71c310 ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    599874bbc4ed dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    2cb2b3fb20a2 sctp: count singleton chunks in assoc user stats
    92f1947c0d26 IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3b5fd693621b IB/cm: Cancel mad on the DREQ event when the state is MRA_REP_RCVD
    34b8ba1cb337 RDMA/mlx5: Add a missing update of cache->last_add
    5b88519b78e8 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d1c87d36a655 sfc: Do not free an empty page_ring
    917eeb220023 bnxt_en: Prevent XDP redirect from running when stopping TX queue
    154fc224e65e bnxt_en: reserve space inside receive page for skb_shared_info
    6108a8918fd7 bnxt_en: Synchronize tx when xdp redirects happen on same ring
    87f5d66daa5f arch/arm64: Fix topology initialization for core scheduling
    cb713eb793e6 regulator: atc260x: Fix missing active_discharge_on setting
    336942b1682f regulator: rtq2134: Fix missing active_discharge_on setting
    2560fe298e6e drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe
    31e449302ed0 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    c1e96348dbeb drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    47fec6139b5e net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    907c97986d6f net: ipv4: fix route with nexthop object delete warning
    71d28e5073b8 mctp: Fix check for dev_hard_header() result
    40229b2977f1 ice: Clear default forwarding VSI during VSI release
    ba965e8605ae skbuff: fix coalescing for page_pool fragment recycling
    13bcc6f8efcd vrf: fix packet sniffing for traffic originating from ip tunnels
    6e2f1b033b17 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    ed7a824fda87 net: sfc: add missing xdp queue reinitialization
    69ec350a417d vdpa: mlx5: prevent cvq work from hogging CPU
    893c70f8b8f3 vdpa/mlx5: Propagate link status from device to vdpa driver
    dc872b72d180 vdpa/mlx5: Rename control VQ workqueue to vdpa wq
    aefd755a9605 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    cd483e17eca2 scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map()
    0610371c768c scsi: sr: Fix typo in CDROM(CLOSETRAY|EJECT) handling
    6f52d4cda0bf NFSv4: fix open failure with O_ACCMODE flag
    9f0c217469e8 Revert "NFSv4: Handle the special Linux file open access mode"
    dcd6b1a624c0 Drivers: hv: vmbus: Fix potential crash on module unload
    5ba9d78a7294 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    985d87e6a365 rtc: mc146818-lib: fix RTC presence check
    be6c3152d6f6 rtc: Check return value from mc146818_get_time()
    8c6921075222 rtc: mc146818-lib: change return values of mc146818_get_time()
    c9f50e06ca76 mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    93a8347f72c0 parisc: Fix patch code locking and flushing
    f77f482ec31a parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    30dd4af48a9e selftests: net: Add tls config dependency for tls selftests
    ea029e4ce760 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    da747de68599 NFS: nfsiod should not block forever in mempool_alloc()
    e04ef859d6c6 SUNRPC: Fix socket waits for write buffer space
    d925b7e78b62 jfs: prevent NULL deref in diFree
    44c2d5fbe7b2 virtio_console: eliminate anonymous module_init & module_exit
    053bbff873a1 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    c393a9f4cb3b x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    e3c961c56ad5 x86: Annotate call_on_stack()
    6bb2270223a8 NFS: swap-out must always use STABLE writes.
    24d28d9b0fd5 NFS: swap IO handling is slightly different for O_DIRECT IO
    a55386405094 SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    20700aa01bc2 SUNRPC/xprt: async tasks mustn't block waiting for memory
    a19fd1d61797 SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    b07387c476a3 clk: Enforce that disjoints limits are invalid
    15bfec9d8030 clk: ti: Preserve node in ti_dt_clocks_register()
    5c0750cad733 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    12e49aefda2e habanalabs: fix possible memory leak in MMU DR fini
    a34752aa2397 NFSv4: Protect the state recovery thread against direct reclaim
    b37f482ba9f0 NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    24acdd5f9c91 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    86efcb524ae1 staging: wfx: fix an error handling in wfx_init_common()
    7295544bcf56 opp: Expose of-node's name in debugfs
    ea1f29584136 cpufreq: CPPC: Fix performance/frequency conversion
    26f0a9e3d04d clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568
    caffa76ded5a phy: amlogic: meson8b-usb2: fix shared reset control use
    ab27675a0fcc phy: amlogic: meson8b-usb2: Use dev_err_probe()
    35df38c4be0c phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use
    42f2142a337e staging: vchiq_core: handle NULL result of find_service_by_handle
    176df12b38c7 staging: vchiq_arm: Avoid NULL ptr deref in vchiq_dump_platform_instances
    161863aec0e1 clk: si5341: fix reported clk_rate when output divider is 2
    31e027259ce4 minix: fix bug when opening a file with O_DIRECT
    4602b7a8ee0d init/main.c: return 1 from handled __setup() functions
    9d849449d28f lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option
    2fe82d325402 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    3ae7163598c6 ceph: fix inode reference leakage in ceph_get_snapdir()
    eb0e7173d9cb netlabel: fix out-of-bounds memory accesses
    58d52743ae85 netfilter: conntrack: revisit gc autotuning
    d404765dffdb Bluetooth: Fix use after free in hci_send_acl
    f249bbf3cb9a MIPS: ingenic: correct unit node address
    11ba1aa21280 xtensa: fix DTC warning unit_address_format
    13946d5a68ef mt76: fix monitor mode crash with sdio driver
    ac27808b82db usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    0616792164d3 net: sfp: add 2500base-X quirk for Lantech SFP module
    459e56859f7a net/mlx5e: Remove overzealous validations in netlink EEPROM query
    1c4561d9b5cb net: limit altnames to 64k total
    601f748029f3 net: account alternate interface name memory
    d804db3dafd1 riscv: Fixed misaligned memory access. Fixed pointer comparison.
    6ca71078a91e can: etas_es58x: es58x_fd_rx_event_msg(): initialize rx_event_msg before calling es58x_check_msg_len()
    db9a140a8585 can: isotp: set default value for N_As to 50 micro seconds
    f581df412bc4 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    2a71e3ecd829 powerpc/secvar: fix refcount leak in format_show()
    5c80ff21c5db powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E
    9b85e31309c2 MIPS: fix fortify panic when copying asm exception handlers
    dc9d33b2d8d0 PCI: endpoint: Fix misused goto label
    b6d4b322da46 bnxt_en: Eliminate unintended link toggle during FW reset
    42b6a39f439b Bluetooth: use memset avoid memory leaks
    0000de40b9f3 Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    bb78c3b11f4d tuntap: add sanity checks about msg_controllen in sendmsg
    e8d8f1d091e4 macvtap: advertise link netns via netlink
    5fb47ca34908 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    58758110912d net/smc: correct settings of RMB window update limit
    dd111d335cab scsi: hisi_sas: Limit users changing debugfs BIST count value
    f05a0d8de2ea scsi: hisi_sas: Free irq vectors in order for v3 HW
    b8fa10d7c8fc scsi: aha152x: Fix aha152x_setup() __setup handler return value
    556ec5030e57 mt76: mt7615: Fix assigning negative values to unsigned variable
    c3543bac6efa powerpc/64s/hash: Make hash faults work in NMI context
    df467929a040 mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU
    e5ecdb01952f scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    43c617eefab7 scsi: pm8001: Fix tag leaks on error
    2290dcad6f65 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    ece79aaec8fc scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    5e4ac14baebb scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    5e96bb81eddf vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA
    f325d3e1dcc8 drm/amdkfd: make CRAT table missing message informational only
    da52e8b9dad6 dm: requeue IO if mapping table not yet available
    02cc46f397eb dm ioctl: prevent potential spectre v1 gadget
    049072749a5e ipv4: Invalidate neighbour for broadcast address upon address addition
    e45d1d19a0bb drm/msm/dsi: Remove spurious IRQF_ONESHOT flag
    e1b5aae5b6b0 iwlwifi: mvm: move only to an enabled channel
    6f215801c302 iwlwifi: mvm: Correctly set fragmented EBS
    d353d3b27af4 usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks()
    c64f3707cdf9 net/mlx5e: Disable TX queues before registering the netdev
    83efc05c8579 power: supply: axp288-charger: Set Vhold to 4.4V
    6def4eaf0391 powerpc/set_memory: Avoid spinlock recursion in change_page_attr()
    5d76a88b8536 scsi: mpi3mr: Fix memory leaks
    248ead78f346 scsi: mpi3mr: Fix reporting of actual data transfer size
    53643a112dd6 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    aa9c9fd0ef9d tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    bd21b9607bd7 PCI: endpoint: Fix alignment fault error in copy tests
    2aa10e2fa2ab usb: ehci: add pci device support for Aspeed platforms
    99073052f45b iommu/arm-smmu-v3: fix event handling soft lockup
    60eabd66d17f PCI: aardvark: Fix support for MSI interrupts
    330c4e1b4ec4 scsi: smartpqi: Fix kdump issue when controller is locked up
    0a922366d6d9 drm/amdgpu: Fix recursive locking warning
    06ee48a4fc25 powerpc: Set crashkernel offset to mid of RMA region
    9c1ace066f22 net: initialize init_net earlier
    4790998fdd0d ipv6: make mc_forwarding atomic
    e9da1df2c021 libbpf: Fix build issue with llvm-readelf
    19d067c10b71 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    55c93a89e31d mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    38fbe8066450 mt76: mt7921: fix crash when startup fails.
    793a37045893 power: supply: axp20x_battery: properly report current when discharging
    a0f8220ce934 drm/v3d: fix missing unlock
    0f8ec114029a scsi: bfa: Replace snprintf() with sysfs_emit()
    1378075fa5bc scsi: mvsas: Replace snprintf() with sysfs_emit()
    1c6ffdf4cc45 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    ff13c90d7f7a drm/bridge: Add missing pm_runtime_put_sync
    35380262304f net/smc: Send directly when TCP_CORK is cleared
    20d01a11efde ath11k: mhi: use mhi_sync_power_up()
    fed4cef115ab ath11k: pci: fix crash on suspend if board file is not found
    c4b7653af62a ath11k: fix kernel panic during unload/load ath11k modules
    910ee99d47d3 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    e84b0438010d drm/amdkfd: Don't take process mutex for svm ioctls
    1eb598045326 ptp: replace snprintf with sysfs_emit
    052fb1c9ddfb usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value
    c27576bbbe77 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    111a63235001 usb: gadget: tegra-xudc: Do not program SPARAM
    6040c99cb1a1 drm/amd/display: Use PSR version selected during set_psr_caps
    7e10369c72db drm/amd/display: Fix memory leak
    3edd8646cb7c drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    c4b64a80554e drm/amd/display: Add signal type check when verify stream backends same
    be2f81024e79 ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    b3ca02c1ee93 drm: Add orientation quirk for GPD Win Max
    d5f6f44e04c3 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    a997e0f5aa55 KVM: x86/pmu: Fix and isolate TSX-specific performance event logic
    e7bab9898249 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    5483640f8efb KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode()
    a82fe0ba1c52 KVM: x86/pmu: Use different raw event masks for AMD and Intel
    105b50d9bb82 kfence: limit currently covered allocations when pool nearly full
    44b44b64b4da kfence: move saving stack trace of allocations into __kfence_alloc()
    72d2d94a981d kfence: count unexpectedly skipped allocations
    5142720dbe51 nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
    64742cf82dec nbd: Fix hungtask when nbd_config_put
    694b5a32c162 nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add
    3e526e9ae0e4 nbd: add error handling support for add_disk()
    f8008f42d463 rtc: wm8350: Handle error for wm8350_register_irq
    b257272f5483 um: fix and optimize xor select template for CONFIG64 and timetravel mode
    2be1a7f09635 lib/logic_iomem: correct fallback config references
    06f50ca83ace Linux 5.15.33
    541b7456fc4d PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
    39fd0cc079c9 coredump: Use the vma snapshot in fill_files_note
    cabd69640957 coredump/elf: Pass coredump_params into fill_note_info
    7ba958df6449 coredump: Remove the WARN_ON in dump_vma_snapshot
    f6ca862806df coredump: Snapshot the vmas in do_coredump
    57c04fac8023 iommu/dma: Account for min_align_mask w/swiotlb
    3e44e136560c swiotlb: Support aligned swiotlb buffers
    52d23f5f0915 iommu/dma: Check CONFIG_SWIOTLB more broadly
    bc05d84824c0 iommu/dma: Fold _swiotlb helpers into callers
    c3841d020b82 iommu/dma: Skip extra sync during unmap w/swiotlb
    8771d9673e0b KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
    b0e8e828acb5 mmc: rtsx: Fix build errors/warnings for unused variable
    8af04b6aa02b mmc: rtsx: Let MMC core handle runtime PM
    a9bbdeef768f n64cart: convert bi_disk to bi_bdev->bd_disk fix build
    2a710a5c59e9 torture: Make torture.sh help message match reality
    acabfc943245 openvswitch: Fixed nd target mask field in the flow dump.
    3fc38521fc30 docs: sysctl/kernel: add missing bit to panic_print
    166abd13eab0 um: Fix uml_mconsole stop/go
    94a53804ec3a arm64: dts: ls1046a: Update i2c node dma properties
    32820c358d1b arm64: dts: ls1043a: Update i2c dma properties
    28a020859c00 ARM: dts: spear13xx: Update SPI dma properties
    7aa9bba18f80 ARM: dts: spear1340: Update serial node properties
    dd8772224c19 spi: mediatek: support tick_delay without enhance_timing
    2a6e0695ddd5 media: ov6650: Fix crop rectangle affected by set format
    3995d4cf529c media: ov6650: Add try support to selection API operations
    8f5e6110e108 perf vendor events: Update metrics for SkyLake Server
    b0e5c18317f7 ASoC: topology: Allow TLV control to be either read or write
    678b6901d00b ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV
    ba8260872dd5 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
    666176d0f9bb dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix example
    e918b36600d6 dt-bindings: memory: mtk-smi: No need mediatek,larb-id for mt8167
    b2b85196a31a dt-bindings: spi: mxic: The interrupt property is not mandatory
    c19a9d307844 dt-bindings: mtd: nand-controller: Fix a comment in the examples
    716a77f8460d dt-bindings: mtd: nand-controller: Fix the reg property description
    8ec990990be3 mmc: rtsx: Use pm_runtime_{get,put}() to handle runtime PM
    50c906a6977f bpf: Fix comment for helper bpf_current_task_under_cgroup()
    398ac11f4425 bpf: Adjust BPF stack helper functions to accommodate skip > 0
    21b6b8d43d87 af_unix: Support POLLPRI for OOB.
    260daa256d30 mm/usercopy: return 1 from hardened_usercopy __setup() handler
    c9acbcd636ab mm/memcontrol: return 1 from cgroup.memory __setup() handler
    48ddbd8b4e42 ARM: 9187/1: JIVE: fix return value of __setup handler
    6795b20d4b2c mm/mmap: return 1 from stack_guard_gap __setup() handler
    23629b673b78 net: preserve skb_end_offset() in skb_unclone_keeptruesize()
    51e458fc0ca6 net: add skb_set_end_offset() helper
    14d552ab31ed tracing: Have type enum modifications copy the strings
    7007c894631c Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    63351e2e1362 ASoC: soc-compress: Change the check for codec_dai
    7ed3cce2fe68 arm64: mm: Drop 'const' from conditional arm64_dma_phys_limit definition
    5ab0f5e238b9 staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
    0e39097efcb5 scsi: qla2xxx: Add qla2x00_async_done() for async routines
    b9cf1208af36 drm/connector: Fix typo in documentation
    5b422da35c15 proc: bootconfig: Add null pointer check
    f78f56488cd3 can: isotp: restore accidentally removed MSG_PEEK feature
    3fc81968625a platform/chrome: cros_ec_typec: Check for EC device
    8c1c3c00dceb spi: Fix Tegra QSPI example
    7480cc0240eb vhost: handle error while adding split ranges to iotlb
    97b5593fd1b1 ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
    dae252901378 riscv module: remove (NOLOAD)
    0853bd6885c2 io_uring: fix memory leak of uid in files registration
    5b9ac3727e4a block: Fix the maximum minor value is blk_alloc_ext_minor()
    21cfddd5e0f6 ARM: iop32x: offset IRQ numbers by 1
    1a3f1cf87054 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
    619709f0c608 ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
    d509d41d89c5 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
    3e51c3023228 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
    b603cbe08b0b net: sparx5: uses, depends on BRIDGE or !BRIDGE
    84817c83c0e7 watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
    d02ca80ec735 pinctrl: pinconf-generic: Print arguments for bias-pull-*
    4913daecd04a watch_queue: Free the page array when watch_queue is dismantled
    210891d81b9c crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
    c78d23ea7506 mailbox: imx: fix wakeup failure from freeze mode
    8cbf4ae7a283 rxrpc: Fix call timer start racing with call destruction
    432297011caf rxrpc: fix some null-ptr-deref bugs in server_key.c
    88570bda6e48 net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
    a0817ad3f283 net: hns3: fix the concurrency between functions reading debugfs
    5c3c9bce1c99 gfs2: Make sure FITRIM minlen is rounded up to fs block size
    1d8195349742 gfs2: gfs2_setattr_size error path fix
    50ed32e67c5c rtc: check if __rtc_read_time was successful
    9f20ce95db3d modpost: restore the warning message for missing symbol versions
    7aae60df6782 XArray: Update the LRU list in xas_split()
    be8ebbabac94 can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
    fa9c1f14002d can: mcba_usb: properly check endpoint type
    37f07ad24866 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
    7521a97b1929 XArray: Fix xas_create_range() when multi-order entry present
    9af42a4f6d81 wireguard: socket: ignore v6 endpoints when ipv6 is disabled
    402991a97715 wireguard: socket: free skb in send6 when ipv6 is disabled
    6a7245252fdc wireguard: queueing: use CFI-safe ptr_ring cleanup function
    c98f792a1468 nvme: fix the read-only state for zoned namespaces with unsupposed features
    7d18d6c71372 nvme: allow duplicate NSIDs for private namespaces
    578bf41d9443 ubifs: rename_whiteout: correct old_dir size computing
    4f75bab98565 ubifs: Fix to add refcount once page is set private
    a7054aaf1909 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
    56cf8b26b18e ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
    489c3a2577b3 ubifs: Rectify space amount budget for mkdir/tmpfile operations
    a9662bec5a4d ubifs: Fix 'ui->dirty' race between do_tmpfile() and writeback work
    c67bc98d1f08 ubifs: Rename whiteout atomically
    ff846f2c5d1d ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
    c58af8564a7b ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
    2ad07009c459 ubifs: rename_whiteout: Fix double free for whiteout_ui->data
    3fa2d7479605 KVM: SVM: fix panic on out-of-bounds guest IRQ
    63961ac1359e KVM: x86: fix sending PV IPI
    43637ee17092 KVM: Prevent module exit until all VMs are freed
    ba6e8c2df520 KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
    0e5dbc0540ba KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
    569a229142e9 KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
    81e5b16de862 platform: chrome: Split trace include file
    89dad346c241 scsi: qla2xxx: Use correct feature type field during RFF_ID processing
    f63fde0d16a4 scsi: qla2xxx: Reduce false trigger to login
    20909563bd50 scsi: qla2xxx: Fix stuck session of PRLI reject
    2b612191f9d3 scsi: qla2xxx: Fix N2N inconsistent PLOGI
    c9d6081a5f18 scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
    d6f691a133f0 scsi: qla2xxx: Fix hang due to session stuck
    7ccd6063874d scsi: qla2xxx: Fix incorrect reporting of task management failure
    c0300beb313f scsi: qla2xxx: Fix disk failure to rediscover
    9c33d49ab9f3 scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
    d1b7d23cd462 scsi: qla2xxx: Check for firmware dump already collected
    812afc2b8ec0 scsi: qla2xxx: Add devids and conditionals for 28xx
    d70d86f7a6ea scsi: qla2xxx: Fix T10 PI tag escape and IP guard options for 28XX adapters
    2df59f3bb240 scsi: qla2xxx: edif: Fix clang warning
    fbc1aa41269a scsi: qla2xxx: Fix device reconnect in loop topology
    b6c95db6d2e8 scsi: qla2xxx: Fix warning for missing error code
    67b1be130861 scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
    5ef6319f9882 scsi: qla2xxx: Fix premature hw access after PCI error
    826a9d4a00d1 scsi: qla2xxx: Fix scheduling while atomic
    7a3457777c4f scsi: qla2xxx: Fix warning message due to adisc being flushed
    5fb0a488028e scsi: qla2xxx: Fix stuck session in gpdb
    e17111dd2fda scsi: qla2xxx: Implement ref count for SRB
    24e86eae3f7b scsi: qla2xxx: Refactor asynchronous command initialization
    f5a0cf225f8d drm/i915: Reject unsupported TMDS rates on ICL+
    beeebae6ea82 drm/i915: Fix PSF GV point mask when SAGV is not possible
    102cba6d5ae2 drm/i915: Treat SAGV block time 0 as SAGV disabled
    e912d697400c drm/dp: Fix off-by-one in register cache size
    2d67222b2380 powerpc: Fix build errors with newer binutils
    f4b0b5a0f3c1 powerpc: Add set_memory_{p/np}() and remove set_memory_attr()
    a29341e48601 powerpc/lib/sstep: Fix build errors with newer binutils
    d25efd904271 powerpc/lib/sstep: Fix 'sthcx' instruction
    5a3d8f3192a4 powerpc/kasan: Fix early region not updated correctly
    cb188e07105f KVM: x86: hyper-v: HVCALL_SEND_IPI_EX is an XMM fast hypercall
    5c3d0dbe200f KVM: x86: hyper-v: Fix the maximum number of sparse banks for XMM fast TLB flush hypercalls
    72eae60bfe83 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_flush_tlb()
    dbec906dbef6 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_send_ipi()
    f4fd34eaa767 KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
    af47248407c0 KVM: x86/mmu: Zap _all_ roots when unmapping gfn range in TDP MMU
    31a70b170e06 KVM: x86/mmu: Move "invalid" check out of kvm_tdp_mmu_get_root()
    48306afcac2a KVM: x86: Reinitialize context if host userspace toggles EFER.LME
    273ad0cf5684 ALSA: hda/realtek: Add alc256-samsung-headphone fixup
    fe440221ca0f media: atomisp: fix bad usage at error handling logic
    251a11699fe5 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
    7c6bd60999f3 tracing: Have TRACE_DEFINE_ENUM affect trace event types as well
    ae2b93b0a6a7 ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13"
    f90db7cca4d4 media: hdpvr: initialize dev->worker at hdpvr_register_videodev
    deb1f0453198 media: Revert "media: em28xx: add missing em28xx_close_extension"
    96a7522c72c4 media: i2c: ov5648: Fix lockdep error
    eae90015d10f video: fbdev: sm712fb: Fix crash in smtcfb_write()
    a07c7b64eadf ASoC: amd: vg: fix for pm resume callback sequence
    4ab0293c961b ARM: mmp: Fix failure to remove sram device
    f8ef3b979bfa ARM: tegra: tamonten: Fix I2C3 pad setting
    6a1c70de40b5 lib/test_lockup: fix kernel pointer check for separate address spaces
    8b2a6074b981 uaccess: fix type mismatch warnings from access_ok()
    cb5bd93ad218 media: cx88-mpeg: clear interrupt status register before streaming video
    02f9f97d54ff media: imx-jpeg: fix a bug of accessing array out of bounds
    0b620fce5eae ASoC: soc-core: skip zero num_dai component in searching dai name
    80e6bbe4e193 ARM: dts: bcm2711: Add the missing L1/L2 cache information
    2d5c47df8e21 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
    e7f5b1c56921 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
    509bc99aba95 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
    79045b61875d arm64: defconfig: build imx-sdma as a module
    c7129c401f55 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
    330de92eb10f ARM: ftrace: avoid redundant loads or clobbering IP
    3f887cb763a0 media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
    8b6b38083a29 media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
    1c17870f26d9 ASoC: madera: Add dependencies on MFD
    35a2aeb70fe6 ARM: dts: bcm2837: Add the missing L1/L2 cache information
    93b85b6e8358 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
    521796018815 video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
    6fe23ff94e78 video: fbdev: cirrusfb: check pixclock to avoid divide by zero
    9522e11e8636 video: fbdev: w100fb: Reset global state
    9ff2f7294ab0 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
    77fbe028d5a3 media: iommu/mediatek: Add device_link between the consumer and the larb devices
    4dd3e2d1bd70 media: iommu/mediatek: Return ENODEV if the device is NULL
    1515d1414967 media: iommu/mediatek-v1: Free the existed fwspec if the master dev already has
    eff76b180751 media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers
    47b45e08e5ad ASoC: SOF: Intel: match sdw version on link_slaves_found
    205db54b159f ASoC: sh: rz-ssi: Make the data structures available before registering the handlers
    2011363c1968 media: ir_toy: free before error exiting
    0b2313042634 media: atmel: atmel-isc-base: report frame sizes as full supported range
    3681eb1fd45c media: staging: media: zoran: fix various V4L2 compliance errors
    7e76f3ed7ab2 media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
    ff3357bffd9f media: staging: media: zoran: move videodev alloc
    24ab2d4ef52c ntfs: add sanity check on allocation size
    9dd6bb11df64 Adjust cifssb maximum read size
    1a55c48bba81 f2fs: compress: fix to print raw data size in error path of lz4 decompression
    2eff60346e7a f2fs: use spin_lock to avoid hang
    c78bada18aa1 btrfs: make search_csum_tree return 0 if we get -EFBIG
    40d006dfedd6 btrfs: harden identification of a stale device
    58d3aa672d13 f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs
    7260793c13e9 NFSD: Fix nfsd_breaker_owns_lease() return values
    f68caedf264a f2fs: fix to do sanity check on curseg->alloc_type
    a0856764dc12 ext4: don't BUG if someone dirty pages without asking ext4 first
    7cca463f1030 sched/tracing: Report TASK_RTLOCK_WAIT tasks as TASK_UNINTERRUPTIBLE
    6a6beb074186 ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
    572d14e6cec4 ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
    1388c10b3257 locking/lockdep: Iterate lock_classes directly when reading lockdep files
    95bc0ba6bef8 atomics: Fix atomic64_{read_acquire,set_release} fallbacks
    75fe5dcb1653 spi: tegra20: Use of_device_get_match_data()
    ffe0c4916795 nvme-tcp: lockdep: annotate in-kernel sockets
    b3ea76bda7f7 parisc: Fix handling off probe non-access faults
    c29642ba72f8 PM: core: keep irq flags in device_pm_check_callbacks()
    c02f2d420a44 ACPI/APEI: Limit printable size of BERT table data
    65d8a737452e Revert "Revert "block, bfq: honor already-setup queue merges""
    5b8d69c8c107 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
    33ccf4f81785 ACPICA: Avoid walking the ACPI Namespace if it is not there
    080665e2c3cb bfq: fix use-after-free in bfq_dispatch_request
    e0943c456b60 fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
    757322b5aba9 irqchip/nvic: Release nvic_base upon failure
    dabfc878ef6f irqchip/qcom-pdc: Fix broken locking
    05ba7d0c639f Fix incorrect type in assignment of ipv6 port for audit
    860d36424d1b loop: use sysfs_emit() in the sysfs xxx show()
    55d192691b4b selinux: allow FIOCLEX and FIONCLEX with policy capability
    e48c260b0b2a arm64: module: remove (NOLOAD) from linker script
    15bb7a467b2b selinux: use correct type for context length
    8f34dea99cd7 block, bfq: don't move oom_bfqq
    69d41c77aadf crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3
    f84b1633004d crypto: xts - Add softdep on ecb
    e11293de5cf6 block/bfq_wf2q: correct weight to ioprio
    e34806c6c29d rcu: Mark writes to the rcu_segcblist structure's ->flags field
    99780fcb5494 pinctrl: npcm: Fix broken references to chip->parent_device
    999ee266531b gcc-plugins/stackleak: Exactly match strings instead of prefixes
    ca97dfbda510 crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos
    4941c21090c3 regulator: rpi-panel: Handle I2C errors/timing to the Atmel
    f3f93a1aaafc LSM: general protection fault in legacy_parse_param
    c331c9d1d2b7 fs: fix fd table size alignment properly
    611170142b42 lib/test: use after free in register_test_dev_kmod()
    136736abcd35 fs: fd tables have to be multiples of BITS_PER_LONG
    fd3f70b90772 net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
    a738ff8143d8 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
    bcbf4e5c3b5b net/sched: act_ct: fix ref leak when switching zones
    72dd9e61fa31 net: prefer nf_ct_put instead of nf_conntrack_put
    6b663fa23c7e octeontx2-af: initialize action variable
    b375ea083fa6 net: sparx5: switchdev: fix possible NULL pointer dereference
    409570a619c1 net/x25: Fix null-ptr-deref caused by x25_disconnect
    c416e9bb85a6 qlcnic: dcb: default to returning -EOPNOTSUPP
    e87c47df2193 net: sparx5: depends on PTP_1588_CLOCK_OPTIONAL
    34a5c64951c3 net: hns3: clean residual vf config after disable sriov
    c95578235888 NFS: Don't loop forever in nfs_do_recoalesce()
    667760fe01e9 selftests: test_vxlan_under_vrf: Fix broken test case
    2d05a007096e net: phy: broadcom: Fix brcm_fet_config_init()
    2dc73ba93202 net: hns3: refine the process when PF set VF VLAN
    ee7e9a9d73d9 net: hns3: format the output of the MAC address
    30f0ff7176ef net: hns3: add vlan list lock to protect vlan list
    02948e5782ce net: hns3: fix port base vlan add fail when concurrent with reset
    5e528c0e0618 net: hns3: fix bug when PF set the duplicate MAC address for VFs
    be6937a11b1c net: enetc: report software timestamping via SO_TIMESTAMPING
    af884b276b08 xen: fix is_xen_pmu()
    6c17fd7a6f5d clk: Initialize orphan req_rate
    8b320893461c vsock/virtio: enable VQs early on probe
    b64bf5464ad5 vsock/virtio: read the negotiated features before using VQs
    10c6cb867ffa vsock/virtio: initialize vdev->priv before using VQs
    c07a9d2a1d1d clk: qcom: gcc-msm8994: Fix gpll4 width
    e16b5f077980 perf stat: Fix forked applications enablement of counters
    c532caa7df8c kdb: Fix the putarea helper function
    0445609a7ace NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
    4ee7a4b67770 SUNRPC don't resend a task on an offlined transport
    6195af5ad801 netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
    6bbfe9a715ea jfs: fix divide error in dbNextAG
    104852921ff6 driver core: dd: fix return value of __setup handler
    20fab30930f3 firmware: google: Properly state IOMEM dependency
    af6e1b06d0ba kgdbts: fix return value of __setup handler
    1d5103d9bb7d virt: acrn: fix a memory leak in acrn_dev_ioctl()
    b9c43aa0b18d virt: acrn: obtain pa from VMA with PFNMAP flag
    16e323804732 serial: 8250: fix XOFF/XON sending when DMA is used
    a885e17cf5f2 kgdboc: fix return value of __setup handler
    e1338178f35e tty: hvc: fix return value of __setup handler
    e35a555b5a9d pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
    c52703355766 pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
    84940deb8dd3 pinctrl: microchip-sgpio: lock RMW access
    c6f009fe90f1 pinctrl: microchip sgpio: use reset driver
    a843ba2e9c87 pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
    070d46aee151 pinctrl: mediatek: paris: Fix pingroup pin config state readback
    1190c1a5828a pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
    a8d236a32934 pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
    3ddbb9ba7579 pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
    127a5d3e732d staging: mt7621-dts: fix GB-PC2 devicetree
    b24dfa54d6e8 staging: mt7621-dts: fix pinctrl properties for ethernet
    97d01fabee69 staging: mt7621-dts: fix formatting
    1293b7481d73 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
    75ee75cc360a NFS: remove unneeded check in decode_devicenotify_args()
    8bddc0227e78 mailbox: imx: fix crash in resume on i.mx8ulp
    613e1b253f6d clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
    4be3e4c05d8d clk: Fix clk_hw_get_clk() when dev is NULL
    071c958f8e1b clk: clps711x: Terminate clk_div_table with sentinel element
    0415dce6228c clk: hisilicon: Terminate clk_div_table with sentinel element
    f4aee7714a1c clk: loongson1: Terminate clk_div_table with sentinel element
    7608a654a294 clk: actions: Terminate clk_div_table with sentinel element
    be8ab90a3a77 nvdimm/region: Fix default alignment for small regions
    bd4771ba2cf9 remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
    9c28309d6a5e remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
    9a809b902e1d remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
    95deff8996fb dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
    2a9b575627fc clk: qcom: clk-rcg2: Update the frac table for pixel clock
    34dca60982e9 clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
    7a778371f9f2 clk: at91: sama7g5: fix parents of PDMCs' GCLK
    4b8a71f206c9 clk: imx: off by one in imx_lpcg_parse_clks_from_dt()
    4bd979ee9927 clk: imx7d: Remove audio_mclk_root_clk
    c39a750b61f7 dma-debug: fix return value of __setup handlers
    872a7b12af43 staging: r8188eu: fix endless loop in recv_func
    18dc19571210 NFS: Return valid errors from nfs2/3_decode_dirent()
    8a842f88d0e2 habanalabs: Add check for pci_enable_device
    82546d91d588 iio: adc: Add check for devm_request_threaded_irq
    3e843460fb42 serial: 8250: Fix race condition in RTS-after-send handling
    ba3a3390c9b1 NFS: Use of mapping_set_error() results in spurious errors
    b59173ff16fb serial: 8250_lpss: Balance reference count for PCI DMA device
    3a1131f7d2a8 serial: 8250_mid: Balance reference count for PCI DMA device
    675216a820ec phy: phy-brcm-usb: fixup BCM4908 support
    d9a3c2949d04 phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
    ca3d7cf53d8f clk: qcom: ipq8074: Use floor ops for SDCC1 clock
    8c54f6c900d1 pinctrl: renesas: checker: Fix miscalculation of number of states
    d19fb1d659ba pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
    157a22ca80c5 staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
    d6c4fc0d903f serial: 8250_aspeed_vuart: add PORT_ASPEED_VUART port type
    011e841cd11b iio: mma8452: Fix probe failing when an i2c_device_id is used
    cad1a3b1f481 dmaengine: idxd: restore traffic class defaults after wq reset
    7bebc9519691 dmaengine: idxd: change bandwidth token to read buffers
    e509584b079a dmaengine: idxd: check GENCAP config support for gencfg register
    41e360fa73a4 clk: qcom: ipq8074: fix PCI-E clock oops
    9a5f4da1ea27 soundwire: intel: fix wrong register name in intel_shim_wake
    251aabcb0b09 cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
    2d7a9c09be64 misc: alcor_pci: Fix an error handling path
    72c4f4200f98 fsi: Aspeed: Fix a potential double free
    8adfd166fb32 pps: clients: gpio: Propagate return value from pps_gpio_probe
    6f4f778f2747 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
    28a886a308ed fsi: scom: Remove retries in indirect scoms
    9fdc543b0e2a fsi: scom: Fix error handling
    b125b08dbee3 mxser: fix xmit_buf leak in activate when LSR == 0xff
    7a68abde36e1 staging: r8188eu: release_firmware is not called if allocation fails
    1768384f61d1 staging: r8188eu: convert DBG_88E_LEVEL call in hal/rtl8188e_hal_init.c
    a9e88c2618d2 kernel/resource: fix kfree() of bootmem memory again
    585dc196a08f drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool
    eec20eea27a0 ice: don't allow to run ice_send_event_to_aux() in atomic ctx
    9b77c8cf69a4 ice: fix 'scheduling while atomic' on aux critical err interrupt
    c64223a8d188 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
    21a2b4ab48a4 tipc: fix the timer expires after interval 100ms
    95df5cd5a446 net: dsa: fix panic on shutdown if multi-chip tree failed to probe
    894347d4d29b openvswitch: always update flow key after nat
    862002402333 tcp: ensure PMTU updates are processed during fastopen
    06d836801cd8 net: bcmgenet: Use stronger register read/writes to assure ordering
    40092a8ac089 PCI: Avoid broken MSI on SB600 USB devices
    dd1043342e45 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
    33d39efb61a8 powerpc/pseries: Fix use after free in remove_phb_dynamic()
    226ec1997de7 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
    0ee072f91326 netfilter: conntrack: Add and use nf_ct_set_auto_assign_helper_warned()
    9b2bbf36b9cf i2c: meson: Fix wrong speed use from probe
    7409ff6393a6 af_netlink: Fix shift out of bounds in group mask calculation
    9151982547ee ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
    770a97d3f34b Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
    60283d3ad395 Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
    7235485433d2 Bluetooth: hci_uart: add missing NULL check in h5_enqueue
    292e8478ae0a selftests/bpf: Fix error reporting from sock_fields programs
    48e785075f9e af_unix: Fix some data-races around unix_sk(sk)->oob_skb.
    1bd58abf595b ibmvnic: fix race between xmit and reset
    3f798111077a bareudp: use ipv6_mod_enabled to check if IPv6 enabled
    b184a8fa7dd4 can: isotp: support MSG_TRUNC flag when reading from socket
    05e4e7d9bbb3 can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
    f343dbe82314 can: isotp: sanitize CAN ID checks in isotp_bind()
    9265c09b2415 mt76: mt7921: fix mt7921_queues_acq implementation
    2a85c4cb3b15 netfilter: flowtable: Fix QinQ and pppoe support for inet table
    7ff346ee019b drm/i915/display: Fix HPD short pulse handling for eDP
    5d48ddbcafdf USB: storage: ums-realtek: fix error code in rts51x_read_mem()
    bc2c4dc5b566 samples/bpf, xdpsock: Fix race when running for fix duration of time
    cb6f141ae705 bpf, sockmap: Fix double uncharge the mem of sk_msg
    168ff181f5b6 bpf, sockmap: Fix more uncharged while msg has more_data
    de3a8d8fab07 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
    ef9785f42979 bpf, sockmap: Fix memleak in sk_psock_queue_msg
    8dd392e352d3 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
    b089f7fc89f9 Revert "RDMA/core: Fix ib_qp_usecnt_dec() called when error"
    d52dab6e0355 RDMA/irdma: Prevent some integer underflows
    18e65ab351cf power: ab8500_chargalg: Use CLOCK_MONOTONIC
    fe0e2ce5c87e mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
    d29cda15cab0 MIPS: pgalloc: fix memory leak caused by pgd_free()
    d5e41310bd72 MIPS: RB532: fix return value of __setup handler
    69155dc2e047 mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
    32939187f254 ath10k: Fix error handling in ath10k_setup_msa_resources
    9d04f4a15fe0 vxcan: enable local echo for sent CAN frames
    45962427aca2 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
    88242bd033e2 scsi: mpt3sas: Fix incorrect 4GB boundary check
    ee773b7018d6 platform/x86: huawei-wmi: check the return value of device_create_file()
    fdee6b347cb8 selftests/bpf: Make test_lwt_ip_encap more stable and faster
    adc4a1ed139e libbpf: Unmap rings when umem deleted
    0a0c75ce5e26 mfd: mc13xxx: Add check for mc13xxx_irq_request
    4a852ff9b7be powerpc/64s: Don't use DSISR for SLB faults
    b55697c2a274 powerpc/sysdev: fix incorrect use to determine if list is empty
    804338913d27 MIPS: Sanitise Cavium switch cases in TLB handler synthesizers
    be48780b4dec mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
    f23b4c9c6a5a drm/msm/a6xx: Fix missing ARRAY_SIZE() check
    62f44f554d1c net: axienet: fix RX ring refill allocation failure handling
    e37d269734ee PCI: Reduce warnings on possible RW1C corruption
    4c3c666ecc6a RDMA/core: Fix ib_qp_usecnt_dec() called when error
    c5505076073b IB/hfi1: Allow larger MTU without AIP
    4124966fbd95 power: supply: wm8350-power: Add missing free in free_charger_irq
    1318caf07507 power: supply: wm8350-power: Handle error for wm8350_register_irq
    8659aba5cab3 i2c: xiic: Make bus names unique
    383798d13aea hv_balloon: rate-limit "Unhandled message" warning
    5baa1283d698 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
    468b136c2ca1 KVM: x86: Fix emulation in writing cr8
    29322cd03678 powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
    451472dc178f powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
    6792c0b56252 libbpf: Skip forward declaration when counting duplicated type names
    c06577a80485 gpu: host1x: Fix a memory leak in 'host1x_remove()'
    2154f7cadd88 RDMA/irdma: Remove incorrect masking of PD
    a0051c05312e RDMA/irdma: Fix Passthrough mode in VM
    5e96bb45c936 RDMA/irdma: Fix netdev notifications for vlan's
    ad7219cd8751 xsk: Fix race at socket teardown
    c08f23081c9b bpf, arm64: Feed byte-offset into bpf line info
    c301772c219d bpf, arm64: Call build_prologue() first in first JIT pass
    ffe0526c2e17 drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    849e6be7d66d scsi: hisi_sas: Change permission of parameter prot_mask
    1003a85d0a30 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
    852c1f5f3119 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
    3813591bc046 ext2: correct max file size computing
    0c80fe5ea1b3 power: supply: sbs-charger: Don't cancel work that is not initialized
    c2554b47644f TOMOYO: fix __setup handlers return values
    bd443887ed2a drm/amd/display: Remove vupdate_int_entry definition
    847f8677e367 RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
    c8db786858d8 scsi: pm8001: Fix abort all task initialization
    c6c95cdd5138 scsi: pm8001: Fix NCQ NON DATA command completion handling
    e4fce9af88ec scsi: pm8001: Fix NCQ NON DATA command task initialization
    03865ae38771 scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
    b453d71af756 scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
    d14d1f88d8c2 scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
    fc1d7c820287 scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
    e332a97c4358 scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
    3a9bb3afd0cb scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
    4e878e41e900 scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
    08f0b58e2a5f scsi: fnic: Fix a tracing statement
    aed99c7648cb vfio/pci: wake-up devices around reset functions
    4319f17fb826 vfio/pci: fix memory leak during D3hot to D0 transition
    5f3856f3ba10 dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
    590bc324ac4e drm/msm/dpu: fix dp audio condition
    9b625cee90a9 drm/msm/dpu: add DSPP blocks teardown
    ea009273d0c2 drm/msm/dsi/phy: fix 7nm v4.0 settings for C-PHY mode
    04ed3cd92999 drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent
    47e2060f2366 drm/msm/dp: always add fail-safe mode into connector mode list
    740d2330760e drm/msm/dp: stop link training after link training 2 failed
    9525b8bcae8b drm/msm/dp: populate connector of struct dp_panel
    2c4de9b94227 mtd: rawnand: pl353: Set the nand chip node as the flash node
    a2095c3e0309 iwlwifi: mvm: Fix an error code in iwl_mvm_up()
    01e36bdb95e7 iwlwifi: Fix -EIO error code that is never returned
    a3bb5cda4fed iwlwifi: yoyo: remove DBGI_SRAM address reset writing
    06511eed8177 iwlwifi: mvm: align locking in D3 test debugfs
    ec9b77481aaf iwlwifi: mvm: don't iterate unadded vifs when handling FW SMPS req
    21053d707480 iwlwifi: mvm: Don't call iwl_mvm_sta_from_mac80211() with NULL sta
    2de35ae362f3 selftests: mptcp: add csum mib check for mptcp_connect
    e2951eaa9398 dax: make sure inodes are flushed before destroy cache
    c08208f2635c IB/cma: Allow XRC INI QPs to set their local ACK timeout
    d85baefc858f libbpf: Fix memleak in libbpf_netlink_recv()
    0f47edc22c2b drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
    ac98fdec1114 drm/amd/pm: enable pm sysfs write for one VF mode
    28093e78e0f2 bpftool: Fix the error when lookup in no-btf maps
    64c06df2428b drm/bridge: anx7625: Fix overflow issue on reading EDID
    d6c7f46b8f05 iommu/ipmmu-vmsa: Check for error num after setting mask
    b5b285818754 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
    ffb8e92b4cef power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
    9dea119df0fa libbpf: Use dynamically allocated buffer when receiving netlink messages
    f2a19db2a941 drm/bridge: dw-hdmi: use safe format when first in bridge chain
    2f0949db6e2c libbpf: Fix compilation warning due to mismatched printf format
    0255e93dce7a net:enetc: allocate CBD ring data memory using DMA coherent methods
    721992163e0c cxl/regs: Fix size of CXL Capability Header Register
    0e348f94787f cxl/core: Fix cxl_probe_component_regs() error message
    855f1c64e21e libbpf: Fix signedness bug in btf_dump_array_data()
    cdb2150050c7 RDMA/rxe: Check the last packet by RXE_END_MASK
    ed750e22e443 PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
    0fe94b84c43c PCI: aardvark: Fix reading MSI interrupt number
    1f0add37ac5c igb: refactor XDP registration
    ab8c107470d1 igc: avoid kernel warning when changing RX ring parameters
    ea6b04796c87 mtd: mchp48l640: Add SPI ID table
    21e78798b206 mtd: mchp23k256: Add SPI ID table
    0eec5e2748f1 i2c: bcm2835: Fix the error handling in 'bcm2835_i2c_probe()'
    0b01811fc193 i2c: bcm2835: Use platform_get_irq() to get the interrupt
    b96a7265f763 net: asix: add proper error handling of usb read errors
    b997cfdc3f98 livepatch: Fix build failure on 32 bits processors
    34bed8dae12a scripts/dtc: Call pkg-config POSIXly correct
    0aec294f2d2f mac80211: limit bandwidth in HE capabilities
    a41efae062bf mac80211: Remove a couple of obsolete TODO
    5ad6b337e4ac net: dsa: mv88e6xxx: Enable port policy support on 6097
    b2dea2a696d0 ptp: unregister virtual clocks when unregistering physical clock.
    a53c147ac496 mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
    fd1fcad5c053 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
    443cb1bc8a96 mt76: mt7615: fix a leftover race in runtime-pm
    421cb64c91dd mt76: mt7921: fix a leftover race in runtime-pm
    0f3d76144b9c mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
    60d815fd4338 mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
    203a1e1230cf mt76: connac: fix sta_rec_wtbl tag len
    94fd8a2a47c8 powerpc/perf: Don't use perf_hw_context for trace IMC PMU
    0dc750479a5f KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
    10686b028059 powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
    9acf7c2f3145 ray_cs: Check ioremap return value
    3a4bcc4cb612 power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
    cb42b6cfc5b0 ixgbe: respect metadata on XSK Rx to skb
    8c072b8e3226 ixgbe: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    6dc18226976c ixgbe: pass bi->xdp to ixgbe_construct_skb_zc() directly
    28e561f3660d igc: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    0e2f6a7f59f1 i40e: respect metadata on XSK Rx to skb
    968c76e96afd i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    7ad4f7729f0e selftests/net: timestamping: Fix bind_phc check
    5bedd66a59e5 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
    72c179f650f6 RDMA/core: Set MR type in ib_reg_user_mr
    0b700f7d0649 ath9k_htc: fix uninit value bugs
    c41832e7dadd selftests/bpf/test_xdp_redirect_multi: use temp netns for testing
    a5c1c0920cf6 selftests/bpf: Normalize XDP section names in selftests
    f00346b30a7c net: phy: at803x: move page selection fix to config_init
    b175bc586410 drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
    bdc7429708a0 drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
    408ab78ca138 drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
    2e05de23052d ionic: Don't send reset commands if FW isn't running
    4f69a923a388 ionic: start watchdog after all is setup
    76624b5a61c7 ionic: fix type complaint in ionic_dev_cmd_clean()
    da491fc54e4e drm/edid: Split deep color modes between RGB and YUV444
    19da408ab41c drm/edid: Don't clear formats if using deep color
    8480efe815e5 mtd: rawnand: gpmi: fix controller timings setting
    5b1f32593955 mtd: onenand: Check for error irq
    041e5b8a62e6 Bluetooth: hci_serdev: call init_rwsem() before p->open()
    9d42e744685c Bluetooth: btintel: Fix WBS setting for Intel legacy ROM products
    0b96610a7b74 selftests: bpf: Fix bind on used port
    0728ccb66468 drm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_encode_decode
    51b82141fffa bpf: Fix UAF due to race between btf_try_get_module and load_module
    811b667cefbe udmabuf: validate ubuf->pagecount
    e5f642c55f4c bpftool: Only set obj->skeleton on complete success
    b385ebe91ae9 libbpf: Fix possible NULL pointer dereference when destroying skeleton
    34d0a99fa09a drm/panfrost: Check for error num after setting mask
    2ff993b3daa4 drm/v3d/v3d_drv: Check for error num after setting mask
    982d824a9b27 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
    66b805b63527 drm: bridge: adv7511: Fix ADV7535 HPD enablement
    c43b4106cfc5 drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
    4db8e14ce478 drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
    f20a990784ee drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
    461656a5e9be drm/meson: Fix error handling when afbcd.ops->init fails
    1c5439a71612 drm/meson: split out encoder from meson_dw_hdmi
    ffcfa1669316 drm/meson: Make use of the helper function devm_platform_ioremap_resourcexxx()
    d2a0678dff46 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
    d81d72b912dc ARM: configs: multi_v5_defconfig: re-enable DRM_PANEL and FB_xxx
    c4d2a100f104 ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
    c2e5f5d23718 ASoC: amd: Fix reference to PCM buffer address
    2f44eca78cc6 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
    e2aeafc6509c ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
    f589063b585a ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
    f2b0fc2a46a6 mmc: davinci_mmc: Handle error for clk_enable
    9668c6bca12a ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
    42735eae94ee ASoC: SOF: Intel: enable DMI L1 for playback streams
    b23b524b8bbd ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
    06e6f4ba2534 ASoC: fsl_spdif: Disable TX clock when stop
    44acdaf7acb6 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
    1ecf9dcf2868 ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
    39c2894dfc08 ASoC: rk817: Fix missing clk_disable_unprepare() in rk817_platform_probe
    87e04a89c31e ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe
    56e0f1696a96 ASoC: mediatek: use of_device_get_match_data()
    5441ab46dd43 ASoC: SOF: Add missing of_node_put() in imx8m_probe
    6724217bfbfd ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
    f32ac9bf5e3f ASoC: atmel: Fix error handling in snd_proto_probe
    1e77cab218e4 ivtv: fix incorrect device_caps for ivtvfb
    a8523efdc946 media: saa7134: fix incorrect use to determine if list is empty
    a41fc6d02d82 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
    c19312809931 ASoC: fsi: Add check for clk_enable
    0bdb861b7d1b ASoC: wm8350: Handle error for wm8350_register_irq
    a0bc36b247dc ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
    9dd2fd7a1f84 media: vidtv: Check for null return of vzalloc
    a09e9882800f media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
    ea2258664ffc m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
    178b32112be1 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
    eab74c416120 ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
    2883fb9838fc memory: emif: check the pointer temp in get_device_details()
    50d934cea574 memory: emif: Add check for setup_interrupts
    fc237b8d624f ASoC: soc-compress: prevent the potentially use of null pointer
    d70d4a3ff5f2 ASoC: dwc-i2s: Handle errors for clk_enable
    58b64ee38637 ASoC: atmel_ssc_dai: Handle errors for clk_enable
    152d62d80960 ASoC: mxs-saif: Handle errors for clk_enable
    f64c5b235b47 printk: fix return value of printk.devkmsg __setup handler
    0fbd610e68c2 arm64: dts: broadcom: Fix sata nodename
    de64846df9fe arm64: dts: ns2: Fix spi-cpol and spi-cpha property
    b98940965daf ALSA: spi: Add check for clk_enable()
    89676d9e8c84 ASoC: ti: davinci-i2s: Add check for clk_enable()
    0a96bff46a5e mmc: sdhci_am654: Fix the driver data of AM64 SoC
    7c31acd9ca79 soc: mediatek: pm-domains: Add wakeup capacity support in power domain
    9db742370304 ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
    3fa8114be4a2 uaccess: fix nios2 and microblaze get_user_8()
    469277ff5ac8 vsprintf: Fix %pK with kptr_restrict == 0
    8611161ea715 lib: uninline simple_strntoull() as well
    34dd193d2329 selftests/lkdtm: Add UBSAN config
    f58159509b62 media: ov5640: Fix set format, v4l2_mbus_pixelcode not updated
    b1b91b31627d media: v4l2-core: Initialize h264 scaling matrix
    7399b9b62277 ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
    c42e96af49ef ASoC: codecs: wcd934x: fix kcontrol max values
    363490abe0be ASoC: codecs: wcd938x: fix kcontrol max values
    adafea71b49e ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
    966408e37d84 ASoC: codecs: va-macro: fix accessing array out of bounds for enum type
    eb15c6ea692f ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type
    9208ecc703b5 ASoC: codecs: rx-macro: fix accessing compander for aux
    56dcb5480687 media: cedrus: h264: Fix neighbour info buffer size
    dd6454742581 media: cedrus: H265: Fix neighbour info buffer size
    895364fa97e6 media: usb: go7007: s2250-board: fix leak in probe()
    332d45fe51d7 media: em28xx: initialize refcount before kref_get
    aa613ac27029 media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats()
    12cb301cc5cb media: video/hdmi: handle short reads of hdmi info frame.
    0d05a58ea3b9 media: mexon-ge2d: fixup frames size in registers
    498ab2d70a9d ARM: dts: imx: Add missing LVDS decoder on M53Menlo
    2305e3460b42 vsprintf: Fix potential unaligned access
    b4c8675a710a ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
    49db8d166d7b soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
    42dab81e9309 firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
    19e4c3b037ff arm64: dts: qcom: sm8350: Correct TCS configuration for apps rsc
    8026415d7f54 arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
    17790ef9ad1f arm64: dts: broadcom: bcm4908: use proper TWD binding
    cc3a67e4147e arm64: dts: qcom: sm8250: fix PCIe bindings to follow schema
    4514dc92a353 arm64: dts: qcom: sdm845: fix microphone bias properties and values
    15565049d729 soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
    1874365f3c17 soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
    724376c30af5 soc: qcom: rpmpd: Check for null return of devm_kcalloc
    d761d62022bb ARM: dts: qcom: ipq4019: fix sleep clock
    b14f6a7d3608 firmware: qcom: scm: Remove reassignment to desc following initializer
    6c4cc4d36966 ARM: dts: Fix OpenBMC flash layout label addresses
    c3364cbc3762 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
    f3ef254c840d video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
    c420b540db4b video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
    24cfeb466146 video: fbdev: controlfb: Fix COMPILE_TEST build
    02684dd83332 video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
    96eb48f017cd media: aspeed: Correct value for h-total-pixels
    4a3051977327 media: ov5648: Don't pack controls struct
    26b1865f1fd4 media: v4l: Avoid unaligned access warnings when printing 4cc modifiers
    ef35afc268c5 media: ov6650: Fix set format try processing path
    4ea548312052 media: hantro: Fix overfill bottom register field name
    b0b890dd8df3 media: meson: vdec: potential dereference of null pointer
    c3590ec1161d media: coda: Fix missing put_device() call in coda_get_vdoa_data
    f0344f0aee4d ASoC: simple-card-utils: Set sysclk on all components
    bb0a0e23dd00 ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
    1179081ba5fa ASoC: codecs: Check for error pointer after calling devm_regmap_init_mmio
    e48b189799d3 ASoC: sh: rz-ssi: Drop calling rz_ssi_pio_recv() recursively
    f7d07ad8bc03 media: atmel: atmel-sama7g5-isc: fix ispck leftover
    25b925f94a36 media: bttv: fix WARNING regression on tunerless devices
    e1854a6c3a68 media: imx: imx8mq-mipi_csi2: fix system resume
    72d79cd3c3ad media: imx: imx8mq-mipi-csi2: remove wrong irq config write operation
    0022dc8cafa5 media: mtk-vcodec: potential dereference of null pointer
    48d00e24822e media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
    1fbc023f8173 media: staging: media: imx: imx7-mipi-csis: Make subdev name unique
    74cbe85fa044 media: camss: vfe-170: fix "VFE halt timeout" error
    9af4e473668a media: camss: csid-170: set the right HALT_CMD when disabled
    a3b104487f74 media: camss: csid-170: don't enable unused irqs
    20d5934825b9 media: camss: csid-170: fix non-10bit formats
    0ac903a7bde9 media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
    b84343a9d676 pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios
    9a24d035c5eb kunit: make kunit_test_timeout compatible with comment
    9ca7b59e7877 drivers/base/memory: add memory block to memory group after registration succeeded
    5bed6c2c1ffe selftests, x86: fix how check_cc.sh is being invoked
    0f42a02e4773 f2fs: fix compressed file start atomic write may cause data corruption
    1a97987f76b4 btrfs: fix unexpected error path when reflinking an inline extent
    2911ad0249c5 f2fs: fix to avoid potential deadlock
    1e0e63ad6243 sched/rt: Plug rt_mutex_setprio() vs push_rt_task() race
    b7aec0843e28 sched/cpuacct: Fix charge percpu cpuusage
    cc91880f0417 nfsd: more robust allocation failure handling in nfsd_file_cache_init
    d1eaaf6caded f2fs: fix missing free nid in f2fs_handle_failed_inode
    ec5884cbbfd3 sched/fair: Improve consistency of allowed NUMA balance calculations
    df5e0a0b3a4e perf/x86/intel/pt: Fix address filter config for 32-bit kernel
    929d8a87f709 perf/core: Fix address filter parser for multiple filters
    3bb11f3f6872 rseq: Remove broken uapi field layout on 32-bit little endian
    d2c741290f7e sched/uclamp: Fix iowait boost escaping uclamp restriction
    6c7276622393 sched/core: Export pelt_thermal_tp
    8bc68c44d97f sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
    d8c8dd97bb8c f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
    f69aecb49968 watch_queue: Actually free the watch
    695c47cea02b watch_queue: Fix NULL dereference in error cleanup
    109dda451021 io_uring: terminate manual loop iterator loop correctly for non-vecs
    1323976e9448 io_uring: don't check unrelated req->open.how in accept request
    657edec8987a clocksource: acpi_pm: fix return value of __setup handler
    9b181ad309c6 hwmon: (pmbus) Add Vin unit off handling
    41887c82e76f hwrng: nomadik - Change clk_disable to clk_disable_unprepare
    335bf1fc74f7 crypto: ccree - Fix use after free in cc_cipher_exit()
    20550eb187e8 crypto: ccp - ccp_dmaengine_unregister release dma channels
    166b2478152c ACPI: APEI: fix return value of __setup handlers
    bfa4a733aeaa KEYS: trusted: Avoid calling null function trusted_key_exit
    b0efbe7e88c7 KEYS: trusted: Fix trusted key backends when building as module
    d362998e8df9 arm64: prevent instrumentation of bp hardening callbacks
    df04ef63347f clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
    abc6b2a12a3e clocksource/drivers/timer-microchip-pit64b: Use notrace
    a81de4315ecf clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
    e34ba9ff04ee clocksource/drivers/exynos_mct: Refactor resources allocation
    97e3aaace46e clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
    58c9d407ce82 crypto: vmx - add missing dependencies
    f9474039df09 crypto: gemini - call finalize with bh disabled
    6ce48276d736 crypto: amlogic - call finalize with bh disabled
    67bc6890b981 crypto: sun8i-ce - call finalize with bh disabled
    05e13c5e4f8e crypto: sun8i-ss - call finalize with bh disabled
    2684f459f919 hwrng: atmel - disable trng on failure path
    f8a1392c099b spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
    7e45fc93dde2 PM: suspend: fix return value of __setup handler
    d0cd9da501f6 PM: hibernate: fix __setup handler error handling
    efaa0e969261 block: don't delete queue kobject before its children
    b9070c866aa3 nvme: fix the check for duplicate unique identifiers
    2340a15d3914 nvme: cleanup __nvme_check_ids
    a015dd1b8a54 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
    3a70165fc788 hwmon: (pmbus) Add mutex to regulator ops
    f2757af27bf3 spi: pxa2xx-pci: Balance reference count for PCI DMA device
    40dba7c26e89 crypto: hisilicon/sec - fix the aead software fallback for engine
    c71e4d45dcc4 crypto: ccree - don't attempt 0 len DMA mappings
    0c366ade8606 EVM: fix the evm= __setup handler return value
    3a10df731516 audit: log AUDIT_TIME_* records only from rules
    8e8724b87afe crypto: rockchip - ECB does not need IV
    4d6e00474872 selftests/sgx: Treat CC as one argument
    d9172393f0f6 selftests/x86: Add validity check and allow field splitting
    e129fb065106 blk-cgroup: set blkg iostat after percpu stat aggregation
    c17eb1586c94 arm64/mm: avoid fixmap race condition when create pud mapping
    8550c9b846c5 stack: Constrain and fix stack offset randomization with Clang builds
    8effc4dc79a5 spi: tegra210-quad: Fix missin IRQ check in tegra_qspi_probe
    906315cb82d6 spi: tegra114: Add missing IRQ check in tegra_spi_probe
    e6374086f249 crypto: octeontx2 - remove CONFIG_DM_CRYPT check
    9ada174f47b3 thermal: int340x: Check for NULL after calling kmemdup()
    486d4c18f207 selinux: Fix selinux_sb_mnt_opts_compat()
    c111b3c1a257 crypto: mxs-dcp - Fix scatterlist processing
    af3c34eb9410 crypto: authenc - Fix sleep in atomic context in decrypt_tail
    8f10a38c9212 crypto: sun8i-ss - really disable hash on A80
    046f1499aef8 hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    7919dfd84b35 hwrng: cavium - Check health status while reading random data
    0e67b3e1f93a crypto: ccp - Ensure psp_ret is always init'd in __sev_platform_init_locked()
    01d508417055 selinux: check return value of sel_make_avc_files
    aeeb944e7f91 selinux: access superblock_security_struct in LSM blob way
    ae2ff8d991b6 regulator: qcom_smd: fix for_each_child.cocci warnings
    9bbe88d1023f PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
    920facf23305 PCI: pciehp: Clear cmd_busy bit in polling mode
    86ca87591870 PCI: imx6: Allow to probe when dw_pcie_wait_for_link() fails
    312d3d4f49e1 drm/i915/gem: add missing boundary check in vm_access
    d8b8bd1d03ee drm/i915/opregion: check port number bounds for SWSCI display power state
    2b08e0189b02 brcmfmac: pcie: Fix crashes due to early IRQs
    a7ea6de3bdd5 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
    b6957a10747c brcmfmac: pcie: Declare missing firmware files in pcie.c
    a88337a06966 brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
    6e2dfa829026 brcmfmac: firmware: Allocate space for default boardrev in nvram
    51f0af904fb6 drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB
    713f1fefb6c6 drm/nouveau/backlight: Just set all backlight types as RAW
    80de94c4ab4e drm/nouveau/backlight: Fix LVDS backlight detection on some laptops
    7585d0f56f29 drm/syncobj: flatten dma_fence_chains on transfer
    85814e6461b8 xtensa: fix xtensa_wsr always writing 0
    821907e8f516 xtensa: fix stop_machine_cpuslocked call in patch_text
    e28bace5e7dc xtensa: define update_mmu_tlb function
    00c6bb4cea62 btrfs: verify the tranisd of the to-be-written dirty extent buffer
    f85ee0c845fd btrfs: extend locking to all space_info members accesses
    68a8120e1647 btrfs: zoned: mark relocation as writing
    2bd666b0fd28 media: davinci: vpif: fix unbalanced runtime PM enable
    12159871e1b4 media: davinci: vpif: fix unbalanced runtime PM get
    992af22dab9c media: venus: venc: Fix h264 8x8 transform control
    d5fcfc4af806 media: venus: hfi_cmds: List HDR10 property as unsupported for v1 and v3
    0a45148635f8 media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
    3e3c8d88e0ca DEC: Limit PMAX memory probing to R3k systems
    2039163c30f8 PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()
    74e2d61e4faa bcache: fixup multiple threads crash
    2221a0f6c90c crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
    dc7cacd209c8 crypto: rsa-pkcs1pad - restore signature length check
    5013dbd89101 crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
    9c8d8f87c213 crypto: rsa-pkcs1pad - only allow with rsa
    1290eb4412aa exec: Force single empty string when argv is empty
    d342786a0e94 lib/raid6/test: fix multiple definition linking error
    137c66d5f915 thermal: int340x: Increase bitmap size
    bc5f440e1c5c pstore: Don't use semaphores in always-atomic-context code
    10a15d91bcba carl9170: fix missing bit-wise or operator for tx_params
    1d89cb2c72d6 mgag200 fix memmapsl configuration in GCTL6 register
    bd0cc79722df ARM: dts: exynos: add missing HDMI supplies on SMDK5420
    661016b895e6 ARM: dts: exynos: add missing HDMI supplies on SMDK5250
    d4577ac55725 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
    cc7c9d207fce ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
    64b3bc9050d8 ARM: dts: at91: sama7g5: Remove unused properties in i2c nodes
    cdcaec46a6b2 rfkill: make new event layout opt-in
    677a5f6c81b5 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
    46cdbff26c88 video: fbdev: sm712fb: Fix crash in smtcfb_read()
    c894ac44786c fbdev: Hot-unplug firmware fb devices on forced removal
    6e72980d588e drm/edid: check basic audio support on CEA extension block
    2e76c69c85f9 block: don't merge across cgroup boundaries if blkcg is enabled
    6a11b52b498d block: limit request dispatch loop duration
    f1dd8c1186be mailbox: tegra-hsp: Flush whole channel
    3d4b396a616d landlock: Use square brackets around "landlock-ruleset"
    20fbf100f84b samples/landlock: Fix path_list memory leak
    3eb18f8a1d02 drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
    3c65b7309d2e ext4: make mb_optimize_scan performance mount option work with extents
    597393cde841 ext4: fix fs corruption when tring to remove a non-empty directory with IO error
    73fa1798233c ext4: fix ext4_fc_stats trace point
    6cdb84dd0c8d coredump: Also dump first pages of non-executable ELF libraries
    8a7f9d9c3f6a ACPI: properties: Consistently return -ENOENT if there are no more references
    2e2eb55823df Revert "ACPI: Pass the same capabilities to the _OSC regardless of the query flag"
    b6094744e261 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
    5e3bd996d2c8 arm64: dts: ti: k3-am64: Fix gic-v3 compatible regs
    96181539a521 arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
    e931b8494a51 arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
    146ad3e0177d arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
    393a8a0f971e arm64: dts: qcom: sm8250: Fix MSI IRQ for PCIe1 and PCIe2
    a01e1eaf5407 arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
    556e8e0a27c8 arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
    e04a1de51cf6 PCI: fu740: Force 2.5GT/s for initial device probe
    ec5ebfd1ce35 powerpc/kvm: Fix kvm_use_magic_page
    024c2a0db53a drbd: fix potential silent data corruption
    39483fd3b2d2 tracing: Have trace event string test handle zero length strings
    12ea1f73690b dm integrity: set journal entry unused when shrinking device
    737d5e25e28d dm: fix double accounting of flush with data
    dc77afd7491e dm: interlock pending dm_io and dm_wait_for_bios_completion
    0987f00a76a1 dm: fix use-after-free in dm_cleanup_zoned_dev()
    d3444138ff0d dm stats: fix too short end duration_ns when using precise_timestamps
    7d3bd683e084 mm/kmemleak: reset tag when compare object pointer
    7d04d6d5c114 mm,hwpoison: unmap poisoned page before invalidation
    d4835551fd9f Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
    a07a4b75cccb mm: madvise: return correct bytes advised with process_madvise
    27d96f11b0a2 mm: madvise: skip unmapped vma holes passed to process_madvise
    476df5994878 drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels
    7c5312fdb1dc ocfs2: fix crash when mount with quota enabled
    cd2722e411e8 rtc: pl031: fix rtc features null pointer dereference
    8e167fdd4f62 rtc: mc146818-lib: fix locking in mc146818_set_time
    0cc320929ac6 ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
    7777744e92a0 ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
    f9f37a956de1 ALSA: hda: Avoid unsol event during RPM suspending
    cf4cd2a5d0ae ALSA: cs4236: fix an incorrect NULL check on list iterator
    39a4bf7d1a23 cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
    f143f8334fb9 cifs: prevent bad output lengths in smb2_ioctl_query_info()
    665cf5507470 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
    305a5303d1da riscv: Increase stack size under KASAN
    ee29fe27818e riscv: Fix fill_callchain return value
    3c4a1c81900c riscv: dts: canaan: Fix SPI3 bus width
    876a9bdfd9af qed: validate and restrict untrusted VFs vlan promisc mode
    4d8323922ea9 qed: display VF trust config
    59a4bc52f111 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
    cbf4e2f4f700 scsi: scsi_transport_fc: Fix FPIN Link Integrity statistics counters
    64b0fe4808bd scsi: ufs: Fix runtime PM messages never-ending cycle
    6ade94e6afc6 scsi: core: sd: Add silence_suspend flag to suppress some PM messages
    5e217aa2c825 mempolicy: mbind_range() set_policy() after vma_merge()
    3bae72c2db69 mm: invalidate hwpoison page cache page in fault path
    a74bb0eeabcd mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
    ab657a29c3e9 mm: fs: fix lru_cache_disabled race in bh_lru
    52ba0ab4f0a6 jffs2: fix memory leak in jffs2_scan_medium
    4392e8aeebc5 jffs2: fix memory leak in jffs2_do_mount_fs
    7a75740206af jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
    f2ce5238904f can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
    f43e64076ff1 can: m_can: m_can_tx_handler(): fix use after free of skb
    459b19f42fd5 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
    31d7d7f35045 mtd: rawnand: protect access to rawnand devices while in suspend
    7d94d25c7972 spi: mxic: Fix the transmit path
    48254561bd04 net: bnxt_ptp: fix compilation error
    89d369454267 pinctrl: samsung: drop pin banks references on error paths
    1db1639d955b pinctrl: ingenic: Fix regmap on X series SoCs
    025a7ccfb7a5 mm/mlock: fix two bugs in user_shm_lock()
    34afac3c75fa remoteproc: Fix count check in rproc_coredump_write()
    b065f398c860 f2fs: fix to do sanity check on .cp_pack_total_block_count
    f9156db0987f f2fs: quota: fix loop condition at f2fs_quota_sync()
    e98ae961b334 f2fs: fix to unlock page correctly in error path of is_alive()
    303cd6173dce NFSD: prevent integer overflow on 32 bit systems
    614a61e15920 NFSD: prevent underflow in nfssvc_decode_writeargs()
    253a9533941e NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR
    518a7d6be1ed SUNRPC: avoid race between mod_timer() and del_timer_sync()
    19c82681db26 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
    b3e38f939ab4 firmware: sysfb: fix platform-device leak in error path
    0dff5664b867 firmware: stratix10-svc: add missing callback parameter on RSU
    72403d1c04bb Documentation: update stable tree link
    8259235ab46e Documentation: add link to stable release candidate tree
    a1e55db51a88 KEYS: asymmetric: properly validate hash_algo and encoding
    255921f63a9e KEYS: asymmetric: enforce that sig algo matches key algo
    fe8df4489240 KEYS: fix length validation in keyctl_pkey_params_get_2()
    512bde642087 cifs: we do not need a spinlock around the tree access during umount
    2fafbc198613 cifs: fix handlecache and multiuser
    b6d75218ff65 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
    42606add50f9 clk: uniphier: Fix fixed-rate initialization
    5aa6d84a0b07 clk: rockchip: re-add rational best approximation algorithm to the fractional divider
    ab67122003b1 greybus: svc: fix an error handling bug in gb_svc_hello()
    9e97f6641c87 iio: inkern: make a best effort on offset calculation
    b378d3f585e3 iio: inkern: apply consumer scale when no channel scale is available
    e38582362101 iio: inkern: apply consumer scale on IIO_VAL_INT cases
    1cb35faea3c3 iio: afe: rescale: use s64 for temporary scale calculations
    c61e2fc87f24 coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
    ba81399402b7 coresight: Fix TRCCONFIGR.QE sysfs interface
    f1d936537155 docs: sphinx/requirements: Limit jinja2<3.1
    c1013a5ba4c9 bus: mhi: Fix MHI DMA structure endianness
    fe66a11af28c bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series
    84bb0ac6c86f mei: avoid iterator usage outside of list_for_each_entry
    6d2ec095176c mei: me: add Alder Lake N device id.
    7c2422748463 mei: me: disable driver on the ign firmware
    f6121a746fae xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    7c2a317703c6 xhci: make xhci_handshake timeout for xhci_reset() adjustable
    4f2ab7e93b37 xhci: fix runtime PM imbalance in USB2 resume
    75bbc2b9748b xhci: fix garbage USBSTS being logged in some cases
    f5dc00496f76 USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    c94138ae4000 usb: typec: tipd: Forward plug orientation to typec subsystem
    662893b4f6bd tpm: fix reference counting for struct tpm_chip
    5a0735b0bcf9 virtio-blk: Use blk_validate_block_size() to validate block size
    8a4521456b54 iommu/iova: Improve 32-bit free space estimate
    fe953e0f77e5 drm/amdgpu: only check for _PR3 on dGPUs
    0884abb259f1 drm/amdgpu: move PX checking into amdgpu_device_ip_early_init
    03f836fcb655 locking/lockdep: Avoid potential access of invalid memory in lock_class
    9f93d46a63d5 selftests: vm: fix clang build error multiple output files
    2ea395dc1327 net: dsa: microchip: add spi_device_id tables
    d06ee4572fd9 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
    f868ffd1ead3 Input: zinitix - do not report shadow fingers
    8745973cdfc6 spi: Fix erroneous sgs value with min_t()
    20f46b12162c Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    13b570f365b8 net:mcf8390: Use platform_get_irq() to get the interrupt
    526a46a5f479 spi: Fix invalid sgs value
    a28571fcc422 gpio: Revert regression in sysfs-gpio (gpiolib.c)
    cd3121310e33 ethernet: sun: Free the coherent when failing in probing
    afffb79a2dd5 tools/virtio: fix virtio_test execution
    f8f8e96048ad vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    32aef620e650 virtio_console: break out of buf poll on remove
    3d39860bea5e ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    189bdde30b55 xfrm: fix tunnel model fragmentation behavior
    3a2914bc3e62 HID: Add support for open wheel and no attachment to T300
    a3248ecf0724 HID: logitech-dj: add new lightspeed receiver id
    d5aad7d63b1b hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
    dd84d71bcbcb mm: kfence: fix missing objcg housekeeping for SLAB
    3d7df3f83f67 USB: serial: simple: add Nokia phone driver
    33325a62249e USB: serial: pl2303: fix GS type detection
    1dd64317e785 dt-bindings: usb: hcd: correct usb-device path
    2241e42f6c71 USB: serial: pl2303: add IBM device IDs
    890f78e54b74 Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    e29be6724adb Linux 5.15.32
    60981bb5ce18 llc: only change llc->dev when bind() succeeds
    22ac37c53065 nds32: fix access_ok() checks in get/put_user
    110dea31d48f m68k: fix access_ok for coldfire
    cdb96445297b wcn36xx: Differentiate wcn3660 from wcn3620
    476ddd23f818 tpm: use try_get_ops() in tpm-space.c
    12e407a8ef17 mac80211: fix potential double free on mesh join
    e65d28d4e9bf uaccess: fix integer overflow on access_ok()
    058d62a03e7d rcu: Don't deboost before reporting expedited quiescent state
    b094fece3810 drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()
    5023652cc6e4 Revert "ath: add support for special 0x0 regulatory domain"
    4b6a48f87d03 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
    cb807cb52a8e crypto: qat - disable registration of algorithms
    57a2b3f8bf1c ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU
    a01ac2411489 ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
    8942aac69016 ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
    1bd57dea4561 netfilter: nf_tables: validate registers coming from userspace.
    fafb904156fb netfilter: nf_tables: initialize registers in nft_do_chain()
    3e27eafac659 drivers: net: xgene: Fix regression in CRC stripping
    c2052ad0c74f ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec
    9abaacd6491e ALSA: cmipci: Restore aux vol on suspend/resume
    099a1cc21b16 ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB
    f4827c62b649 ALSA: pcm: Add stream lock during PCM reset ioctl operations
    51fce708ab89 ALSA: pcm: Fix races among concurrent prealloc proc writes
    cb6a39c5ebd0 ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls
    47711ff10c7e ALSA: pcm: Fix races among concurrent read/write and buffer changes
    33061d0fba51 ALSA: pcm: Fix races among concurrent hw_params and hw_free calls
    3b1bacd00ac3 ALSA: hda/realtek: Add quirk for ASUS GA402
    0e7cdc8059a0 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    8e6ea2176222 ALSA: hda/realtek: Add quirk for Clevo NP50PNJ
    85060f4868db ALSA: hda/realtek: Add quirk for Clevo NP70PNJ
    10cdffd4854a ALSA: usb-audio: add mapping for new Corsair Virtuoso SE
    7a40cbf3579a ALSA: oss: Fix PCM OSS buffer allocation overflow
    5e431799c35b ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call
    e90729961083 llc: fix netdevice reference leaks in llc_ui_bind()
    5b2ca3b8213a Bluetooth: btusb: Add another Realtek 8761BU
    42b9f6d19faa tpm: Fix error handling in async work
    2317fd3b126c net: ipv6: fix skb_over_panic in __ip6_append_data
    a34c47b1ab07 nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
    96e48ac9a685 Linux 5.15.31
    4c5d94990fa2 btrfs: skip reserved bytes warning on unmount after log cleanup failure
    23775775b9a6 perf symbols: Fix symbol size calculation condition
    e762f57ff255 Input: aiptek - properly check endpoint type
    0cd2dd4bcf4a scsi: mpt3sas: Page fault in reply q processing
    c69aef9db878 usb: usbtmc: Fix bug in pipe direction for control transfers
    2015c23610cd usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
    56b38e3ca406 usb: gadget: rndis: prevent integer overflow in rndis_set_response()
    222f5e2d7f20 arm64: fix clang warning about TRAMP_VALIAS
    80974bb73027 iavf: Fix hang during reboot/shutdown
    800a17adb531 net: mscc: ocelot: fix backwards compatibility with single-chain tc-flower offload
    2d7cff7e1fee net: bcmgenet: skip invalid partial checksums
    6840fdeab423 bnx2x: fix built-in kernel driver load failure
    f07e0b020f7a net: phy: mscc: Add MODULE_FIRMWARE macros
    e396fda10ddf net: dsa: Add missing of_node_put() in dsa_port_parse_of
    11dab4a800a4 drm: Don't make DRM_PANEL_BRIDGE dependent on DRM_KMS_HELPERS
    a1adf00e1728 net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit()
    8ee52c302191 drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings
    43dcd410809e drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()
    ab0ab1761831 hv_netvsc: Add check for kvmalloc_array
    735f918cc2c8 iavf: Fix double free in iavf_reset_task
    b2bc45327e8c atm: eni: Add check for dma_map_single
    a055f5f2841f net/packet: fix slab-out-of-bounds access in packet_recvmsg()
    a296f3ae8009 net: phy: marvell: Fix invalid comparison in the resume and suspend functions
    b9820bf09f59 esp6: fix check on ipv6_skip_exthdr's return value
    093f11b49609 vsock: each transport cycles only on its own sockets
    1dcc1b888223 alx: acquire mutex for alx_reinit in alx_change_mtu
    4b49ba22a253 efi: fix return value of __setup handlers
    16ac5dca1e13 drm/mgag200: Fix PLL setup for g200wb and g200ew
    d4ad8736ac98 block: release rq qos structures for queue without disk
    6829aa17ca55 mm: swap: get rid of livelock in swapin readahead
    b786b64dcb31 ocfs2: fix crash when initialize filecheck kobj fails
    ab9337c7cb6f crypto: qcom-rng - ensure buffer for generate is completely filled
    0464ab17184b Linux 5.15.30
    a9bbacc53d1f ice: Fix race condition during interface enslave
    df3817ab226f x86/module: Fix the paravirt vs alternative order
    ff2e93a03f8d kselftest/vm: fix tests build with old libc
    d99db3b935b7 bnx2: Fix an error message
    ff7dfcd47a7e sfc: extend the locking on mcdi->seqno
    ff17119dceef tcp: make tcp_read_sock() more robust
    f5a425f5d5fc nl80211: Update bss channel on channel switch for P2P_CLIENT
    3534c5c005ef drm/vrr: Set VRR capable prop only if it is attached to connector
    46c02c5051aa iwlwifi: don't advertise TWT support
    4051516d4b79 atm: firestream: check the return value of ioremap() in fs_init()
    76e0b8e12c64 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
    3679ccc09d88 Bluetooth: hci_core: Fix leaking sent_cmd skb
    c2924e9143c2 ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
    be538b764a46 MIPS: smp: fill in sibling and core maps earlier
    c98afa0db3a3 mac80211: refuse aggregations sessions before authorized
    84ecddbc9888 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller
    8ad1b44f2d2e ARM: dts: rockchip: reorder rk322x hmdi clocks
    4744e1df7268 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg"
    f5743453365b arm64: dts: rockchip: reorder rk3399 hdmi clocks
    f9a510bb024d arm64: dts: rockchip: align pl330 node name with dtschema
    e90da30175cb arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity
    0f06f953aac5 xfrm: Fix xfrm migrate issues when address family changes
    e6d7e51e1092 xfrm: Check if_id in xfrm_migrate
    8918ae97417a arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode
    e901c9212457 Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
    b9a0208cb3e3 Linux 5.15.29
    f83c85ee73df vhost: allow batching hint without size
    caf18e4da9bf Revert "net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN"
    69b80587f650 block: drop unused includes in <linux/genhd.h>
    cd072bf2dcbd riscv: dts: k210: fix broken IRQs on hart1
    074c88751dc1 drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL
    a1ce40f8aeb1 btrfs: make send work with concurrent block group relocation
    342783ba9c3c drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP
    1fbafa9a5b42 x86/traps: Mark do_int3() NOKPROBE_SYMBOL
    ce91f0f023ad x86/sgx: Free backing memory after faulting the enclave page
    e946556d3665 x86/boot: Add setup_indirect support in early_memremap_is_setup_data()
    19503d381aab x86/boot: Fix memremap of setup_indirect structures
    ffb8fd39c84c watch_queue: Make comment about setting ->defunct more accurate
    eb38c2e9fc74 watch_queue: Fix lack of barrier/sync/lock between post and read
    82ff8a2243f7 watch_queue: Free the alloc bitmap when the watch_queue is torn down
    d453d0e5a15d watch_queue: Fix the alloc bitmap size to reflect notes allocated
    b022b6a0586f watch_queue: Fix to always request a pow-of-2 pipe ring size
    ccd03c30f103 watch_queue: Fix to release page in ->release()
    8275b6699c6d watch_queue, pipe: Free watchqueue state after clearing pipe ring
    1b09f28f70a5 watch_queue: Fix filter limit check
    52445030f135 ARM: fix Thumb2 regression with Spectre BHB
    4a8e7f9dae4a net/mlx5: Fix offloading with ESWITCH_IPV4_TTL_MODIFY_ENABLE
    cbb726e6c652 virtio: acknowledge all features before access
    22823b1a0dc9 virtio: unexport virtio_finalize_features
    a633bc013333 KVM: x86/mmu: kvm_faultin_pfn has to return false if pfh is returned
    2c1f97af38be swiotlb: rework "fix info leak with DMA_FROM_DEVICE"
    0349c79c5508 arm64: kasan: fix include error in MTE functions
    61d32defc00f arm64: Ensure execute-only permissions are not allowed without EPAN
    72ea28d88d30 arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
    42aaf726c9e9 tracing/osnoise: Force quiescent states while tracing
    eae073d854c5 riscv: Fix auipc+jalr relocation range checks
    b515552d41ee mmc: meson: Fix usage of meson_mmc_post_req()
    9b3cdf5e8ad9 riscv: alternative only works on !XIP_KERNEL
    b5e792187f50 net: macb: Fix lost RX packet wakeup race in NAPI receive
    1fb9dd378749 staging: gdm724x: fix use after free in gdm_lte_rx()
    441bc1e3d7e0 staging: rtl8723bs: Fix access-point mode deadlock
    ca62747b38f5 fuse: fix pipe buffer lifetime for direct_io
    d60d34b4d6d1 fuse: fix fileattr op failure
    64147ce85e2f ARM: Spectre-BHB: provide empty stub for non-config
    5c237251421d selftests/memfd: clean up mapping in mfd_fail_write
    e22807ee679f selftest/vm: fix map_fixed_noreplace test failure
    9d95b7e239a1 tracing/osnoise: Make osnoise_main to sleep for microseconds
    4d2889691570 tracing: Ensure trace buffer is at least 4096 bytes large
    041616a22c40 ipv6: prevent a possible race condition with lifetimes
    2708ceb4e5cc Revert "xen-netback: Check for hotplug-status existence before watching"
    fe39ab30dcc2 Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
    fcd1d79aa943 drm/amdgpu: bypass tiling flag check in virtual display case (v2)
    5cf4dd01efe0 gpio: Return EPROBE_DEFER if gc->to_irq is NULL
    94b568a9d2a5 PCI: Mark all AMD Navi10 and Navi14 GPU ATS as broken
    bb9795b6da22 hwmon: (pmbus) Clear pmbus fault/warning bits after read
    8d5e69d8fbf3 net-sysfs: add check for netdevice being present to speed_show
    1280c8ae9745 x86/kvm: Don't use pv tlb/ipi/sched_yield if on 1 vCPU
    ee22082c3e2f drm/vc4: hdmi: Unregister codec device on unbind
    5bef4e5089d3 spi: rockchip: terminate dma transmission when slave abort
    1f04bbd2935c spi: rockchip: Fix error in getting num-cs property
    bcd4279b989f kvm: x86: Disable KVM_HC_CLOCK_PAIRING if tsc is in always catchup mode
    e160ee96d03f KVM: Fix lockdep false negative during host resume
    302ce2946160 pinctrl: tigerlake: Revert "Add Alder Lake-M ACPI ID"
    839ddf786772 usb: dwc3: pci: add support for the Intel Raptor Lake-S
    7403f4118ab9 swiotlb: fix info leak with DMA_FROM_DEVICE
    b0028e1cc1fa selftests/bpf: Add test for bpf_timer overwriting crash
    732c7172b79c net: phy: meson-gxl: improve link-up behavior
    6c0d2f348be2 net: bcmgenet: Don't claim WOL when its not available
    1502f15b9f29 sctp: fix kernel-infoleak for SCTP sockets
    9ca50a73c98c net: phy: DP83822: clear MISR2 register to disable interrupts
    f49f646f9ec2 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
    c7f6accc6795 gpio: ts4900: Do not set DAT and OE together
    c614aad2ee9e selftests: pmtu.sh: Kill nettest processes launched in subshell.
    d4dfc94c4052 selftests: pmtu.sh: Kill tcpdump processes launched by subshell.
    0e721b8f2ee5 NFC: port100: fix use-after-free in port100_send_complete
    a2355333cf18 net/mlx5e: Lag, Only handle events from highest priority multipath entry
    7c519f769f55 net/mlx5: Fix a race on command flush flow
    b3d4a7dcb9ca net/mlx5: Fix size field in bufferx_reg struct
    46ad629e58ce ax25: Fix NULL pointer dereference in ax25_kill_by_device
    b7c2fd1d1263 net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr
    6e294d389023 net: ethernet: lpc_eth: Handle error for clk_enable
    c746fa0f54c9 net: ethernet: ti: cpts: Handle error for clk_enable
    5548c81e97ab tipc: fix incorrect order of state message data sanity check
    5e7c402892e1 ethernet: Fix error handling in xemaclite_of_probe
    06a97a7afa05 ice: Fix curr_link_speed advertised speed
    fd0ca20f1846 ice: Don't use GFP_KERNEL in atomic context
    15d1271d89b8 ice: Fix error with handling of bonding MTU
    9bda6a09e7ef ice: stop disabling VFs due to PF error responses
    49839cb40d6c i40e: stop disabling VFs due to PF error responses
    35f11aba74e2 iavf: Fix handling of vlan strip virtual channel messages
    0716607ad241 ARM: dts: aspeed: Fix AST2600 quad spi group
    9c0686caa822 net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate()
    f9ec15fc3c48 drm/sun4i: mixer: Fix P010 and P210 format numbers
    c5883d38a470 gpiolib: acpi: Convert ACPI value of debounce to microseconds
    c014efbd1c28 smsc95xx: Ignore -ENODEV errors when device is unplugged
    3acc8788febf qed: return status of qed_iov_get_link
    e5d078d21fa0 esp: Fix BEET mode inter address family tunneling on GSO
    4aaabbffc3b0 esp: Fix possible buffer overflow in ESP transformation
    4dfa7d3508bf net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
    92d97017c67c isdn: hfcpci: check the return value of dma_set_mask() in setup_hw()
    4b1743bc715a vdpa: fix use-after-free on vp_vdpa_remove
    8848b0fa9bf1 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
    f8d88e86e90e vhost: fix hung thread due to erroneous iotlb entries
    7777b1f795af mISDN: Fix memory leak in dsp_pipeline_build()
    20145e05e497 net: phy: meson-gxl: fix interrupt handling in forced mode
    90a2f4fc5b23 vduse: Fix returning wrong type in vduse_domain_alloc_iova()
    e7e118416465 vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command
    f96dc3adb9a9 tipc: fix kernel panic when enabling bearer
    0a99594d2058 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias
    e52ecbca254b HID: vivaldi: fix sysfs attributes leak
    ea45b38caf2b clk: qcom: dispcc: Update the transition delay for MDSS GDSC
    ba24eb3cc95c clk: qcom: gdsc: Add support to update GDSC transition delay
    b6c624d07bf2 ARM: boot: dts: bcm2711: Fix HVS register range
    3ffbe85cda7f HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts
    a5334502f91f HID: elo: Revert USB reference counting
    af4fcf85c88d arm64: dts: qcom: sm8350: Correct UFS symbol clocks
    8fa52df84c58 arm64: dts: qcom: sm8350: Describe GCC dependency clocks
    aa79753319d8 Linux 5.15.28
    39d332de8edb Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"
    dea18aef2021 xen/netfront: react properly to failing gnttab_end_foreign_access_ref()
    27dc69aa5568 xen/gnttab: fix gnttab_end_foreign_access() without page specified
    5bff1721c8f9 xen/pvcalls: use alloc/free_pages_exact()
    a019d26830e8 xen/9p: use alloc/free_pages_exact()
    90c5f198b923 xen: remove gnttab_query_foreign_access()
    f06e3edaeac1 xen/gntalloc: don't use gnttab_query_foreign_access()
    f1c85942314d xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
    5d5fa1d53a31 xen/netfront: don't use gnttab_query_foreign_access() for mapped status
    f9ade968df79 xen/blkfront: don't use gnttab_query_foreign_access() for mapped status
    1dd5b4b230f6 xen/grant-table: add gnttab_try_end_foreign_access()
    66cb2bbb522b xen/xenbus: don't let xenbus_grant_ring() remove grants in error case
    2b2d2a8ba2e9 ARM: fix build warning in proc-v7-bugs.c
    8836a046ef41 arm64: Do not include __READ_ONCE() block in assembly files
    431b92c3c25e ARM: Do not use NOCROSSREFS directive with ld.lld
    57a65667fbdc ARM: fix co-processor register typo
    49062ec32e79 ARM: fix build error when BPF_SYSCALL is disabled
    3317d21b84e9 arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    8979720ac64c arm64: Use the clearbhb instruction in mitigations
    fb2bb2ec137c KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
    4bbfd0c28025 arm64: Mitigate spectre style branch history side channels
    8e55b9b0e765 arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
    d7066114dcd6 arm64: Add percpu vectors for EL1
    cfd0c38125aa arm64: entry: Add macro for reading symbol addresses from the trampoline
    50e700a11766 arm64: entry: Add vectors that have the bhb mitigation sequences
    ffb8a34c0fd8 arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
    517f988ee050 arm64: entry: Allow the trampoline text to occupy multiple pages
    6895584a92ee arm64: entry: Make the kpti trampoline's kpti sequence optional
    a40472d463f9 arm64: entry: Move trampoline macros out of ifdef'd section
    be9c5526aad6 arm64: entry: Don't assume tramp_vectors is the start of the vectors
    2e09754a03a7 arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
    e25a9dced2bd arm64: entry: Move the trampoline data page before the text page
    4a691bbf56a1 arm64: entry: Free up another register on kpti's tramp_exit path
    479c9bb741bf arm64: entry: Make the trampoline cleanup optional
    368a1fd8c4a6 KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A
    44adac5908ff arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
    b7beeab84f02 arm64: entry.S: Add ventry overflow sanity checks
    e38b3c0d245b arm64: cpufeature: add HWCAP for FEAT_RPRES
    a4c234f60269 arm64: cpufeature: add HWCAP for FEAT_AFP
    912961e188dc arm64: add ID_AA64ISAR2_EL1 sys register
    ac7bc62b78de arm64: Add Cortex-X2 CPU part definition
    f0c559c38e98 arm64: Add HWCAP for self-synchronising virtual counter
    d82f489cbbdb arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
    842f2d498ee1 ARM: include unprivileged BPF status in Spectre V2 reporting
    576548846f1e ARM: Spectre-BHB workaround
    2dca61693e6c ARM: use LOADADDR() to get load address of sections
    878ad97f745e ARM: early traps initialisation
    f02cab2bed1a ARM: report Spectre v2 status through sysfs
    bf048d1921b6 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT
    074d72604639 x86/speculation: Warn about Spectre v2 LFENCE mitigation
    36fbbd78471c x86/speculation: Update link to AMD speculation whitepaper
    a56566d7a957 x86/speculation: Use generic retpoline by default on AMD
    316e4a16524a x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    eb4596417756 Documentation/hw-vuln: Update spectre doc
    d7771f380c90 x86/speculation: Add eIBRS + Retpoline options
    f150b6fccf7f x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
    e94d490a1ad6 x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
    668c821321b4 slip: fix macro redefine warning
    efe3167e52a5 Linux 5.15.27
    ea2bc310250d hamradio: fix macro redefine warning
    8998aa676205 KVM: x86/mmu: Passing up the error state of mmu_alloc_shadow_roots()
    416e3a0e4276 proc: fix documentation and description of pagemap
    8b893496892e Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
    6599d5e8bd75 btrfs: do not start relocation until in progress drops are done
    4aef4c900597 btrfs: add missing run of delayed items after unlink during log replay
    34146bbadcdd btrfs: qgroup: fix deadlock between rescan worker and remove qgroup
    e00077aa439f btrfs: do not WARN_ON() if we have PageError set
    725a6ac389b1 btrfs: fix relocation crash due to premature return from btrfs_commit_transaction()
    5342e9f3dac0 btrfs: fix lost prealloc extents beyond eof after full fsync
    80660a726d47 tracing: Fix return value of __setup handlers
    452f64ee0940 tracing/histogram: Fix sorting on old "cpu" value
    aa6d3eef28f3 HID: add mapping for KEY_ALL_APPLICATIONS
    b355d6a14ba7 HID: add mapping for KEY_DICTATE
    74e9545d9e25 Input: samsung-keypad - properly state IOMEM dependency
    cb19f03e5f65 Input: elan_i2c - fix regulator enable count imbalance after suspend/resume
    f74fc94691f0 Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
    7a1ee9934b14 MAINTAINERS: adjust file entry for of_net.c after movement
    7626ab3a3897 iavf: missing unlocks in iavf_watchdog_task()
    d784113217f9 iavf: do not override the adapter state in the watchdog task (again)
    d61f3737c559 net: stmmac: perserve TX and RX coalesce value during XDP setup
    d666d3363845 selftests: mlxsw: resource_scale: Fix return value
    6fe3127d3af1 net: dcb: disable softirqs in dcbnl_flush_dev()
    46eed3a37dee drm/amdgpu: fix suspend/resume hang regression
    a1e603e5f3b2 nl80211: Handle nla_memdup failures in handle_nan_filter
    a30496660634 MIPS: ralink: mt7621: use bitwise NOT instead of logical
    68c4fe2ef0bf e1000e: Fix possible HW unit hang after an s0ix exit
    9dfe6abc6c13 drm/bridge: ti-sn65dsi86: Properly undo autosuspend
    d675c05b792e drm/i915/guc/slpc: Correct the param count for unset param
    6f62bc0fc12b iavf: Fix __IAVF_RESETTING state usage
    598bc8955916 iavf: Fix race in init state
    ddc5db0bcfa2 iavf: Fix locking for VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS
    8c0e4da63385 iavf: Fix init state closure on remove
    85aa76066fef iavf: Add waiting so the port is initialized in remove
    e734c794dea3 iavf: Fix kernel BUG in free_msi_irqs
    200366d1a583 iavf: Add helper function to go from pci_dev to adapter
    23901462c301 iavf: Rework mutexes for better synchronisation
    9fedc4f86ee3 iavf: Add trace while removing device
    b4e0e00a361d iavf: Combine init and watchdog state machines
    57d2f0db2e63 iavf: Add __IAVF_INIT_FAILED state
    7e2d102501e1 iavf: Refactor iavf state machine tracking
    f8ce435f2c81 net: sparx5: Fix add vlan when invalid operation
    50948cea504c net: chelsio: cxgb3: check the return value of pci_find_capability()
    ea3d3c36a4fa ibmvnic: complete init_done on transport events
    13e3b51ffaf8 ibmvnic: define flush_reset_queue helper
    046d933c1b74 ibmvnic: initialize rc before completing wait
    bb20939bc8d1 net: stmmac: only enable DMA interrupts when ready
    e753b639363d net: stmmac: enhance XDP ZC driver level switching performance
    8cdac518eac7 can: etas_es58x: change opened_channel_cnt's type from atomic_t to u8
    04746dbd9593 ARM: tegra: Move panels to AUX bus
    9920d99cc89a netfilter: nf_tables: prefer kfree_rcu(ptr, rcu) variant
    4ed52fbeb967 soc: fsl: qe: Check of ioremap return value
    c2266d20251c soc: fsl: guts: Add a missing memory allocation failure check
    20ff0ff315cd soc: fsl: guts: Revert commit 3c0d64e867ed
    40d763efa5bf ARM: dts: Use 32KiHz oscillator on devkit8000
    50bce7f03e8c ARM: dts: switch timer config to common devkit8000 devicetree
    af143626eb85 MIPS: ralink: mt7621: do memory detection on KSEG1
    378e2fe1eb58 iommu/amd: Fix I/O page table memory leak
    f6cabb721c5b arm64: dts: juno: Remove GICv2m dma-range
    3411613611a5 sched: Fix yet more sched_fork() races
    3d76a995f646 s390/extable: fix exception table sorting
    b7c35587be23 memfd: fix F_SEAL_WRITE after shmem huge page allocated
    39738a2346b2 ibmvnic: free reset-work-item when flushing
    d4706de93cf7 igc: igc_write_phy_reg_gpy: drop premature return
    896d1b8a3612 pinctrl: sunxi: Use unique lockdep classes for IRQs
    09423ff81601 selftests: mlxsw: tc_police_scale: Make test more robust
    0c3f34beb459 mptcp: Correctly set DATA_FIN timeout when number of retransmits is large
    d7a4b54f4fc5 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
    a664bd7a0084 mips: setup: fix setnocoherentio() boolean setting
    f14a0244b1ba ARM: Fix kgdb breakpoint for Thumb2
    c9cfcdd111d7 igc: igc_read_phy_reg_gpy: drop premature return
    7c1db4a30e29 arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output
    6be5b626bec1 iommu/tegra-smmu: Fix missing put_device() call in tegra_smmu_find
    2b04bb51a9c1 can: gs_usb: change active_channels's type from atomic_t to u8
    b6149efc57bf auxdisplay: lcd2s: Use proper API to free the instance of charlcd object
    5d53cd33f425 auxdisplay: lcd2s: Fix memory leak in ->remove()
    6d6c139d1e2d ASoC: cs4265: Fix the duplicated control name
    d442f20e6daf firmware: arm_scmi: Remove space in MODULE_ALIAS name
    f9c3aa939c41 auxdisplay: lcd2s: Fix lcd2s_redefine_char() feature
    4efa386ef9e1 efivars: Respect "block" flag in efivar_entry_set_safe()
    61a303971c3c iavf: Fix deadlock in iavf_reset_task
    366f785bbba4 ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
    ea372aab5490 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
    1c09774e5ea1 ibmvnic: register netdev after init of adapter
    f58ead21dd6a net: sxgbe: fix return value of __setup handler
    23a6be260d56 iavf: Fix missing check for running netdev
    a83ebad95542 mac80211: treat some SAE auth steps as final
    b85dd0d7a503 net: stmmac: fix return value of __setup handler
    828f75c24ab8 mac80211: fix forwarded mesh frames AC & queue selection
    5afd80c393f4 btrfs: fix ENOSPC failure when attempting direct IO write into NOCOW range
    15cbeeaada70 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server
    21922d9cde88 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client
    80895b6f9154 net/smc: fix connection leak
    a559e0598ce6 net: ipa: add an interconnect dependency
    4daaf8816d60 net: dcb: flush lingering app table entries for unregistered devices
    b11781515208 net: ipv6: ensure we call ipv6_mc_down() at most once
    24e49e17cbfc batman-adv: Don't expect inter-netns unique iflink indices
    94355d99ad70 batman-adv: Request iflink once in batadv_get_real_netdevice
    58ea33965a6f batman-adv: Request iflink once in batadv-on-batadv check
    216f3cb587e0 netfilter: nf_queue: handle socket prefetch
    dd648bd1b33a netfilter: nf_queue: fix possible use-after-free
    63291e95e8ae netfilter: nf_queue: don't assume sk is full socket
    3a65b82b1ef2 net: fix up skbs delta_truesize in UDP GRO frag_list
    a47e7ac8851c e1000e: Correct NVM checksum verification flow
    4020d2e14f13 xfrm: enforce validity of offload input flags
    ce0d6bf33c35 xfrm: fix the if_id check in changelink
    00c74b587197 bpf, sockmap: Do not ignore orig_len parameter
    bd61f192a339 netfilter: fix use-after-free in __nf_register_net_hook()
    75cbedd33343 xfrm: fix MTU regression
    261eff11ade9 mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls
    5d7c23d39660 ntb: intel: fix port config status offset for SPR
    78acc7dbd84a blktrace: fix use after free for struct blk_trace
    5f298bf7f337 mac80211: fix EAPoL rekey fail in 802.3 rx path
    3dafbf915c05 thermal: core: Fix TZ_GET_TRIP NULL pointer dereference
    a63eb1e4a2e1 xen/netfront: destroy queues before real_num_tx_queues is zeroed
    dab06be16184 drm/amd/display: Reduce dmesg error to a debug print
    7508ac360d1e drm/i915: s/JSP2/ICP2/ PCH
    a8a86631f4ce iommu/amd: Recover from event log overflow
    2aaa085bd012 iommu/vt-d: Fix double list_add when enabling VMD in scalable mode
    050b1821f27c ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
    7de1ed755e1a iwlwifi: mvm: check debugfs_dir ptr before use
    728fb555882b riscv: Fix config KASAN && DEBUG_VIRTUAL
    08b22e3f150e riscv: Fix config KASAN && SPARSEMEM && !SPARSE_VMEMMAP
    e64d6a689ec5 riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value
    6c3d4da8e7a9 ucounts: Fix systemd LimitNPROC with private users regression
    3eb418122d12 ALSA: intel_hdmi: Fix reference to PCM buffer address
    9285523b4174 net: of: fix stub of_net helpers for CONFIG_NET=n
    dc75d7968901 PCI: mvebu: Fix device enumeration regression
    35afd8ae1184 drm/amd/display: For vblank_disable_immediate, check PSR is really used
    5f283e64a850 bnxt_en: Fix occasional ethtool -t loopback test failures
    10dd26349edf drm/amd/display: Fix stream->link_enc unassigned during stream removal
    aa280c04da1b cifs: fix confusing unneeded warning message on smb2.1 and earlier
    3d74c2c917e4 cifs: protect session channel fields with chan_lock
    2594dba1cd79 drm/mediatek: mtk_dsi: Reset the dsi0 hardware
    f510d6463949 net: ethernet: litex: Add the dependency on HAS_IOMEM
    3a3aa0881aeb of: net: move of_net under net/
    960dfaf3b578 ibmvnic: don't release napi in __ibmvnic_open()
    1d13e7221035 net: dsa: seville: register the mdiobus under devres
    8bfa27186e29 net: dsa: ocelot: seville: utilize of_mdiobus_register
    68c8e6d16f57 gve: Recording rx queue before sending to napi
    5c66161cceaa drm/i915: Disable DRRS on IVB/HSW port != A
    e2b3d1bf6ec3 drm/i915/display: Move DRRS code its own file
    23eb29281f1e drm/i915/display: split out dpt out of intel_display.c
    fbf6d5f8eef7 riscv/mm: Add XIP_FIXUP for phys_ram_base
    86a337bb8030 drm: mxsfb: Fix NULL pointer dereference
    9bbeba67bbbd drm: mxsfb: Set fallback bus format when the bridge doesn't provide one
    ed4488d8307f drm/amd/display: Update watermark values for DCN301
    07058fb18df8 bpf: Fix possible race in inc_misses_counter
    aa5040691cb7 bpf: Use u64_stats_t in struct bpf_prog_stats
    82a82ad92746 net/mlx5e: IPsec: Fix crypto offload for non TCP/UDP encapsulated traffic
    748438b4e62c net/mlx5e: IPsec: Refactor checksum code in tx data path
    f1c0163bb824 octeontx2-af: Add KPU changes to parse NGIO as separate layer
    63138001c961 octeontx2-af: Adjust LA pointer for cpt parse header
    ab3380a844aa octeontx2-af: cn10k: Use appropriate register for LMAC enable
    fe3eafea3907 octeontx2-af: cn10k: RPM hardware timestamp configuration
    ef33ae74bb9c octeontx2-af: Reset PTP config in FLR handler
    75279de4e392 octeontx2-af: Optimize KPU1 processing for variable-length headers
    462c5e6cb241 ethtool: Fix link extended state for big endian
    27e01f10d183 drm/amd/display: move FPU associated DSC code to DML folder
    691c0030be65 drm/amd/display: Use adjusted DCN301 watermarks
    2157e509e5b2 drm/amdgpu: filter out radeon secondary ids as well
    f724a438d986 drm/amdgpu: filter out radeon PCI device IDs
    48cf33ee6b04 drm/amdgpu/display: Only set vblank_disable_immediate when PSR is not enabled
    3f20cf3cd43f hugetlbfs: fix off-by-one error in hugetlb_vmdelete_list()
    e9737301f0df selftests/vm: make charge_reserved_hugetlb.sh work with existing cgroup setting
    1123c2fb9dc3 kasan: fix quarantine conflicting with init_on_free
    f1675103e0f3 mm: defer kmemleak object creation of module_alloc()
    013c2af6c15c tracing/probes: check the return value of kstrndup() for pbuf
    8a20fed48eb4 tracing/uprobes: Check the return value of kstrdup() for tu->filename
    1a62246c2c60 dma-buf: cma_heap: Fix mutex locking section
    8654464086a1 i3c: master: dw: check return of dw_i3c_master_get_free_pos()
    a80b13642a10 drm/amdgpu: use spin_lock_irqsave to avoid deadlock by local interrupt
    5609b7803947 drm/amdkfd: Check for null pointer after calling kmemdup
    950d17f190a4 ntb_hw_switchtec: Fix bug with more than 32 partitions
    377cbdc92716 ntb_hw_switchtec: Fix pff ioread to read into mmio_part_cfg_all
    cd07b19fbf37 drm/atomic: Check new_crtc_state->active to determine if CRTC needs disable in self refresh mode
    1796d5350cb4 drm/sun4i: dw-hdmi: Fix missing put_device() call in sun8i_hdmi_phy_get
    e209742c13d2 SUNRPC: Fix sockaddr handling in svcsock_accept_class trace points
    bdaa8c7b7189 SUNRPC: Fix sockaddr handling in the svc_xprt_create_error trace point
    d3f67ceaeb3f drm/i915: don't call free_mmap_offset when purging
    e47679c06afc x86/hyperv: Properly deal with empty cpumasks in hyperv_flush_tlb_multi()
    4425ca3677a6 nfsd: fix crash on COPY_NOTIFY with special stateid
    0f84cfb465af Revert "nfsd: skip some unnecessary stats in the v4 case"
    3abe2a70f5b4 NFSD: Fix verifier returned in stable WRITEs
    e7c433270307 PCI: mvebu: Fix support for DEVCAP2, DEVCTL2 and LNKCTL2 registers on emulated bridge
    a24745673304 PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridge
    1d4200e28436 PCI: mvebu: Fix support for PCI_EXP_DEVCTL on emulated bridge
    1ea3f69784ed PCI: mvebu: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
    9c91c755005b PCI: mvebu: Setup PCIe controller to Root Complex mode
    3d394fa375f4 PCI: mvebu: Fix configuring secondary bus of PCIe Root Port via emulated bridge
    4396c507a8f8 PCI: mvebu: Fix support for bus mastering and PCI_COMMAND on emulated bridge
    bc988b126134 PCI: mvebu: Do not modify PCI IO type bits in conf_write
    c1a027629c36 PCI: mvebu: Check for errors from pci_bridge_emul_init() call
    7c93c809e00a Input: ti_am335x_tsc - fix STEPCONFIG setup for Z2
    16ff93557d1e Input: ti_am335x_tsc - set ADCREFM for X configuration
    628761fe0588 tracing: Do not let synth_events block other dyn_event systems during create
    f35bacbb795a i3c/master/mipi-i3c-hci: Fix a potentially infinite loop in 'hci_dat_v1_get_index()'
    e5264d44f732 i3c: fix incorrect address slot lookup on 64-bit
    1adfbfaeb20d KVM: x86: Exit to userspace if emulation prepared a completion callback
    3d8468045e39 KVM: x86: Handle 32-bit wrap of EIP for EMULTYPE_SKIP with flat code seg
    00542cbacf22 KVM: X86: Ensure that dirty PDPTRs are loaded
    723053e16d55 KVM: VMX: Read Posted Interrupt "control" exactly once per loop iteration
    32b758d12c24 KVM: s390: Ensure kvm_arch_no_poll() is read once when blocking vCPU
    b63190d0203f KVM: VMX: Don't unblock vCPU w/ Posted IRQ if IRQs are disabled in guest
    f303196899f1 PCI: aardvark: Fix checking for MEM resource type
    a2f5e9a6f2a0 PCI: dwc: Do not remap invalid res
    d9fc43aab60d PCI: rcar: Check if device is runtime suspended instead of __clk_is_enabled()
    aa805236ed97 PCI: mediatek-gen3: Disable DVFSRC voltage request
    7f361266e981 signal: In get_signal test for signal_group_exit every time through the loop
    f98371d2ac83 MIPS: fix local_{add,sub}_return on MIPS64
    64b487be33b7 mtd: spi-nor: Fix mtd size for s3an flashes
    83ef63535a8a tools/resolve_btf_ids: Close ELF file on error
    1bd12b7aaee0 io_uring: fix no lock protection for ctx->cq_extra
    384d1b11382b NFSD: Fix zero-length NFSv3 WRITEs
    2de88544b3db NFSD: Have legacy NFSD WRITE decoders use xdr_stream_subsegment()
    771aca9bc707 ipv6: fix skb drops in igmp6_event_query() and igmp6_event_report()
    33e22b6c53d0 tracing: Add ustring operation to filtering string pointers
    a9c6e02d223e drm/amdgpu: check vm ready by amdgpu_vm->evicting flag
    b2a3068d5f15 ata: pata_hpt37x: fix PCI clock detection
    e0bcd6b57793 sched/fair: Fix fault in reweight_entity
    6f6ffc717b85 ext4: fast commit may miss file actions
    97abcfedc87c ext4: fast commit may not fallback for ineligible commit
    647b3f1533f4 ext4: simplify updating of fast commit stats
    5abb1d84b6db ext4: drop ineligible txn start stop APIs
    82a99bc85c0e serial: stm32: prevent TDR register overwrite when sending x_char
    1921d1fd0e60 arm64: Mark start_backtrace() notrace and NOKPROBE_SYMBOL
    60e6d58ef921 tracing: Add test for user space strings when filtering on string pointers
    c9f727219f3e exfat: fix i_blocks for files truncated over 4 GiB
    1ffc130388c5 exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()
    ab3656acb7b4 usb: gadget: clear related members when goto fail
    07de9a494b5a usb: gadget: don't release an existing dev->buf
    a1ba98731518 block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
    1148adac7781 net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
    f6fbf18d156c i2c: qup: allow COMPILE_TEST
    d65d187b51b6 i2c: imx: allow COMPILE_TEST
    d2327116861c i2c: cadence: allow COMPILE_TEST
    7b22f63b933f dmaengine: shdma: Fix runtime PM imbalance on error
    7d0214c38dca selftests/ftrace: Do not trace do_softirq because of PREEMPT_RT
    4543426cd7b8 drm/amd/pm: correct UMD pstate clocks for Dimgrey Cavefish and Beige Goby
    b628fffce58a selftests/seccomp: Fix seccomp failure by adding missing headers
    54e7951a1988 cifs: modefromsids must add an ACE for authenticated users
    18a9d6b18c2b HID: amd_sfh: Add interrupt handler to process interrupts
    852b6b0411e6 HID: amd_sfh: Add functionality to clear interrupts
    8ba9a2e72584 HID: amd_sfh: Handle amd_sfh work buffer in PM ops
    546d60859ecf cifs: fix double free race when mount fails in cifs_get_root()
    ccf46cb68859 cifs: do not use uninitialized data in the owner/group sid
    5340a0924ea9 tipc: fix a bit overflow in tipc_crypto_key_rcv()
    1ccc12f2240a block: loop:use kstatfs.f_bsize of backing file to set discard granularity
    8694330db9b0 KVM: arm64: vgic: Read HW interrupt pending state from the HW
    850a77c999b8 btrfs: get rid of warning on transaction commit when using flushoncommit
    6279c5263ded Input: clear BTN_RIGHT/MIDDLE on buttonpads
    700485846e12 regulator: core: fix false positive in regulator_late_cleanup()
    fd64f8bc0644 ASoC: rt5682: do not block workqueue if card is unbound
    4235a04ad401 ASoC: rt5668: do not block workqueue if card is unbound
    2ed390555dbc i2c: bcm2835: Avoid clock stretching timeouts
    e03ad1915ccc mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
    2d27a2bd381f mac80211_hwsim: report NOACK frames in tx_status
    8993e6067f26 Linux 5.15.26
    3c805fce07c9 ice: fix concurrent reset and removal of VFs
    26bc7197f9d3 ice: Fix race conditions between virtchnl handling and VF ndo ops
    fd21a0b6da94 memblock: use kfree() to release kmalloced memblock regions
    83f331d1debb gpio: tegra186: Fix chip_data type confusion
    a15769155440 pinctrl: k210: Fix bias-pull-up
    e3a751ee48f9 pinctrl: fix loop in k210_pinconf_get_drive()
    92cab57ea6d7 tty: n_gsm: fix deadlock in gsmtty_open()
    06bce5327b76 tty: n_gsm: fix wrong modem processing in convergence layer type 2
    1bc6f3b19bc6 tty: n_gsm: fix wrong tty control line for flow control
    50cacb783bb3 tty: n_gsm: fix NULL pointer access due to DLCI release
    519d0b389c10 tty: n_gsm: fix proper link termination after failed open
    4f0ab1c8a5a6 tty: n_gsm: fix encoding of control signal octet bit DV
    1851b9a46706 riscv: fix oops caused by irqsoff latency tracer
    e0ff4dffded5 riscv: fix nommu_k210_sdcard_defconfig
    72aa720acacf IB/qib: Fix duplicate sysfs directory name
    7a7e1b3aeef7 tps6598x: clear int mask on probe failure
    bde6a6b111b9 staging: fbtft: fb_st7789v: reset display before initialization
    ba9efbbf6745 thermal: int340x: fix memory leak in int3400_notify()
    00265efbd3e5 RDMA/cma: Do not change route.addr.src_addr outside state checks
    8df508b7a44c btrfs: prevent copying too big compressed lzo segment
    d2bef2cbd3b1 driver core: Free DMA range map when device is released
    453a82127f17 mtd: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    fcd3f5906d64 nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    ce94606060d7 xhci: Prevent futile URB re-submissions due to incorrect return value.
    c8b38e557414 xhci: re-initialize the HC during resume if HCE was set
    88f69c64443f usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
    83e0190fb77c usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
    e62f41a6528f usb: dwc3: pci: Add "snps,dis_u2_susphy_quirk" for Intel Bay Trail
    943a914d3dab usb: dwc2: drd: fix soft connect when gadget is unconfigured
    85171fbf714c USB: serial: option: add Telit LE910R1 compositions
    c331aa7e7064 USB: serial: option: add support for DW5829e
    6db927ce66ac tracefs: Set the group ownership in apply_options() not parse_options()
    2c775ad1fd5e USB: gadget: validate endpoint index for xilinx udc
    da514063440b usb: gadget: rndis: add spinlock for rndis response list
    f7c9fd0dff99 Revert "USB: serial: ch341: add new Product ID for CH341A"
    27089f04fac6 ata: pata_hpt37x: disable primary channel on HPT371
    4e508c593573 sc16is7xx: Fix for incorrect data being transmitted
    72b0fba2dd4d iio: Fix error handling for PM
    1f05c7568445 iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot
    c77f4ae7bd43 iio: accel: fxls8962af: add padding to regmap for SPI
    ca9d1799be68 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
    0cb9b2f73c18 iio: adc: tsc2046: fix memory corruption by preventing array overflow
    fe7347780298 iio: adc: men_z188_adc: Fix a resource leak in an error handling path
    7bdf7d5f0cbd iio:imu:adis16480: fix buffering for devices with no burst mode
    9000406481a5 tracing: Have traceon and traceoff trigger honor the instance
    7e35b31e2cee tracing: Dump stacktrace trigger to the corresponding instance
    c8b56e51aa91 RDMA/ib_srp: Fix a deadlock
    e7a66dd26877 configfs: fix a race in configfs_{,un}register_subsystem()
    a94879d41917 bnxt_en: Increase firmware message response DMA wait time
    27440589551f RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close
    bf2cfad0c6e4 RDMA/rtrs-clt: Fix possible double free in error case
    ff999198ec21 net-timestamp: convert sk->sk_tskey to atomic_t
    d99dcdabc52a regmap-irq: Update interrupt clear register for proper reset
    43221f446c02 gpio: rockchip: Reset int_bothedge when changing trigger
    3c32405d6474 spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
    2378f94c8d9b net/mlx5: Update log_max_qp value to be 17 at most
    6e94d2863384 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets
    95c1867704d0 net/mlx5e: MPLSoUDP decap, fix check for unsupported matches
    d4d188487ddc net/mlx5: DR, Fix the threshold that defines when pool sync is initiated
    9703a9e2f968 net/mlx5: Fix wrong limitation of metadata match on ecpf
    f63548dd05ab net/mlx5: Fix possible deadlock on rule deletion
    837b0d2e69e8 net/mlx5: DR, Don't allow match on IP w/o matching on full ethertype/ip_version
    954997aeb8f2 ibmvnic: schedule failover only if vioctl fails
    117a5a7f019e net/mlx5: DR, Cache STE shadow memory
    6b6094db77e6 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
    4039254acbd4 surface: surface3_power: Fix battery readings on batteries without a serial number
    062772d5cc8c net/smc: Use a mutex for locking "struct smc_pnettable"
    e96e204ee6fa netfilter: nf_tables: fix memory leak during stateful obj update
    7d258451d345 net: mdio-ipq4019: add delay after clock enable
    9d8097caa732 nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
    8ffb8ac34488 netfilter: nf_tables: unregister flowtable hooks on netns exit
    2e15fa8091de net: Force inlining of checksum functions in net/checksum.h
    be2d38247657 net: ll_temac: check the return value of devm_kmalloc()
    a95ea90deb30 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
    d064d0c39405 drm/i915/dg2: Print PHY name properly on calibration error
    eae86ab32069 drm/vc4: crtc: Fix runtime_pm reference counting
    163e50b00530 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
    143dafa60aa7 drm/edid: Always set RGB444
    f941104aa116 openvswitch: Fix setting ipv6 fields causing hw csum failure
    62ca33976ddc net: mv643xx_eth: process retval from of_get_mac_address
    899e56a1ad43 gso: do not skip outer ip header in case of ipip and net_failover
    0a9bc4179c30 tipc: Fix end of loop tests for list_for_each_entry()
    8270e92a0e42 nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info
    6f2e0ae12aa8 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    c718ea4e7382 io_uring: add a schedule point in io_add_buffers()
    8628f489b749 bpf: Add schedule points in batch ops
    976406c5cc00 bpf: Fix a bpf_timer initialization issue
    755d4b744056 selftests: bpf: Check bpf_msg_push_data return value
    5d75e374eb77 bpf: Do not try bpf_msg_push_data with len 0
    719d1c2524c8 bpf: Fix crash due to incorrect copy_map_value
    de49b0e1cf62 net/mlx5: Update the list of the PCI supported devices
    9594d817b5eb ice: initialize local variable 'tlv'
    b3615ea66b91 ice: check the return of ice_ptp_gettimex64
    7e8da9964437 net/mlx5: Fix tc max supported prio for nic mode
    7efe8499cb90 hwmon: Handle failure to register sensor with thermal zone correctly
    86da2e4a1284 bnxt_en: Fix incorrect multicast rx mask setting when not requested
    24931b4d199e bnxt_en: Fix offline ethtool selftest with RDMA enabled
    f84bbb9893bd bnxt_en: Fix active FEC reporting to ethtool
    1243861bc002 bnx2x: fix driver load from initrd
    7c844c7af784 selftests: mptcp: be more conservative with cookie MPJ limits
    f76977643339 selftests: mptcp: fix diag instability
    f25ae162f4b3 mptcp: add mibs counter for ignored incoming options
    150d1e06c4f1 mptcp: fix race in incoming ADD_ADDR option processing
    40bbab9d4ed7 perf data: Fix double free in perf_session__delete()
    05ef4f56173e perf evlist: Fix failed to use cpu list for uncore events
    0b92b5f4c50b gpu: host1x: Always return syncpoint value when waiting
    734d80b4365a Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC"
    1cfb33b338fb ping: remove pr_err from ping_lookup
    2922aff43397 optee: use driver internal tee_context for some rpc
    0efdc0360395 tee: export teedev_open() and teedev_close_context()
    6c5d780469d6 netfilter: nf_tables_offload: incorrect flow offload action array size
    144f3008524c netfilter: xt_socket: missing ifdef CONFIG_IP6_NF_IPTABLES dependency
    cb2313b216be netfilter: xt_socket: fix a typo in socket_mt_destroy()
    49909c9f8458 CDC-NCM: avoid overflow in sanity checking
    4b77aab7ada7 USB: zaurus: support another broken Zaurus
    9f2d61477990 sr9700: sanity check for packet length
    0726fca0b6cc drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV
    1b4445e09df8 drm/i915: Correctly populate use_sagv_wm for all pipes
    7782e3c4e539 drm/i915: Widen the QGV point mask
    8840d963e566 drm/amdgpu: do not enable asic reset for raven2
    70b2413ac30c drm/amdgpu: disable MMHUB PG for Picasso
    ea44fcee7e3d drm/amd: Check if ASPM is enabled from PCIe subsystem
    c00e4c01f470 drm/amd/pm: fix some OEM SKU specific stability issues
    211b67fb5a49 drm/amd/display: Protect update_bw_bounding_box FPU code.
    4c3644b6c96c KVM: x86/mmu: make apf token non-zero to fix bug
    759e5dc6554d parisc/unaligned: Fix ldw() and stw() unalignment handlers
    bf0b3d61e002 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    960d474e451b vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    af091cc27e37 selinux: fix misuse of mutex_is_locked()
    0d773aaf5a90 io_uring: disallow modification of rsrc_data during quiesce
    7c83437fb3ae io_uring: don't convert to jiffies for waiting on timeouts
    6d20ff677349 clk: jz4725b: fix mmc0 clock gating
    b80fbc20f334 btrfs: tree-checker: check item_size for dev_item
    7e80846a9927 btrfs: tree-checker: check item_size for inode_item
    a6d9692cadb9 x86/ptrace: Fix xfpregs_set()'s incorrect xmm clearing
    ebeb7b73571e cgroup-v1: Correct privileges check in release_agent writes
    ffed0bf6a63d cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    f89903ae99bd mm/filemap: Fix handling of THPs in generic_file_buffered_read()
    1e7beca28299 Linux 5.15.25
    5dcc36569734 lockdep: Correct lock_classes index mapping
    c2df4c62a189 i2c: brcmstb: fix support for DSL and CM variants
    ec7d87b64e78 ice: enable parsing IPSEC SPI headers for RSS
    0b4ea5b72b17 scsi: qedi: Fix ABBA deadlock in qedi_process_tmf_resp() and qedi_process_cmd_cleanup_resp()
    795feafb7234 copy_process(): Move fd_install() out of sighand->siglock critical section
    3e41445287af dmaengine: ptdma: Fix the error handling path in pt_core_init()
    8641ceb41f30 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()
    7512f91bc313 i2c: qcom-cci: don't delete an unregistered adapter
    052707279e70 tests: fix idmapped mount_setattr test
    6b186a23af0d dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
    4f3a0737992c dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe
    62e228e3e169 dmaengine: sh: rcar-dmac: Check for error num after setting mask
    f4a821b098c5 net: sched: limit TC_ACT_REPEAT loops
    2b2be95b6013 ucounts: Move RLIMIT_NPROC handling after set_user
    b5f949d9a9c3 rlimit: Fix RLIMIT_NPROC enforcement failure caused by capability calls in set_user
    114e9f141822 lib/iov_iter: initialize "flags" in new pipe_buffer
    2d2d92cfcd3b ucounts: Enforce RLIMIT_NPROC not RLIMIT_NPROC+1
    efc853d8ffd5 ucounts: Base set_cred_ucounts changes on the real user
    f418bfabea43 ucounts: In set_cred_ucounts assume new->ucounts is non-NULL
    d464492eb391 ucounts: Handle wrapping in is_ucounts_overlimit
    e1e26697d032 EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
    e6da726eb67d scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
    3f2bc7f028f6 kconfig: fix failing to generate auto.conf
    88289d56cb28 net: macb: Align the dma and coherent dma masks
    b501b0f4e113 net: usb: qmi_wwan: Add support for Dell DW5829e
    1ddab2ee8829 drm/amd/display: fix yellow carp wm clamping
    929b2eddebc2 drm/amd/display: Cap pflip irqs per max otg number
    3fd92f5be6c4 display/amd: decrease message verbosity about watermarks table failure
    eb61dbb192b1 tracing: Fix tp_printk option related with tp_printk_stop_on_boot
    893297940084 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
    9921c866dc36 xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
    b5caba5efbab soc: aspeed: lpc-ctrl: Block error printing on probe defer cases
    71720cae1cad ata: libata-core: Disable TRIM on M88V29
    62542c5f18a1 kconfig: let 'shell' return enough output for deep path names
    004458327695 ACPI: PM: Revert "Only mark EC GPE for wakeup on Intel systems"
    246dfbc12539 mm: io_uring: allow oom-killer from io_uring_setup
    54d69f072d5e selftests: fixup build warnings in pidfd / clone3 tests
    fc6d187f2986 pidfd: fix test failure due to stack overflow on some arches
    9659711c3248 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
    42b3092ccfb1 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
    de3b10b7ccc6 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
    5644bf688e4a ksmbd: don't align last entry offset in smb2 query directory
    03dd71e0b9d8 ksmbd: fix same UniqueId for dot and dotdot entries
    7afed8b3608e netfilter: conntrack: don't refresh sctp entries in closed state
    f7b95b396700 x86/bug: Merge annotate_reachable() into _BUG_FLAGS() asm
    c4315bffe5d0 irqchip/sifive-plic: Add missing thead,c900-plic match string
    459b97c958c1 phy: phy-mtk-tphy: Fix duplicated argument in phy-mtk-tphy
    993db6da4aec staging: vc04_services: Fix RCU dereference check
    6a469cf7f372 phy: usb: Leave some clocks running during suspend
    9492e1e53e7d ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
    1587d6b1e0b9 ARM: OMAP2+: hwmod: Add of_node_put() before break
    5f45f96f4189 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
    0d3b91d4d9f5 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
    d8110cb2cf19 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
    c377e2ba78d3 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
    6936f02d14ed mtd: rawnand: ingenic: Fix missing put_device in ingenic_ecc_get
    de0d102d0c8c HID: elo: fix memory leak in elo_probe
    ffe36e3a991e mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
    9fd00a568663 mtd: phram: Prevent divide by zero bug in phram_setup()
    3eb5185896a6 mtd: parsers: qcom: Fix missing free for pparts in cleanup
    eb03cb6e03ff mtd: parsers: qcom: Fix kernel panic on skipped partition
    502f86f5168a mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
    e65450a12cf4 block: fix surprise removal for drivers calling blk_set_queue_dying
    e1dce8e127fd tty: n_tty: do not look ahead for EOL character past the end of the buffer
    21165833efa6 NFS: Do not report writeback errors in nfs_getattr()
    f1322f10f60c NFS: LOOKUP_DIRECTORY is also ok with symlinks
    f2238b4e83b6 NFS: Remove an incorrect revalidation in nfs4_update_changeattr_locked()
    4b9c861a589e block/wbt: fix negative inflight counter when remove scsi device
    a22b213139e0 ASoC: qcom: Actually clear DMA interrupt register for HDMI
    ce3e1f82da73 ASoC: tas2770: Insert post reset delay
    493c9e850677 scsi: ufs: Fix a deadlock in the error handler
    2af0fdfbfb37 scsi: ufs: Remove dead code
    84c109620fef tipc: fix wrong notification node addresses
    727dd33561d5 smb3: fix snapshot mount option
    4a7ec50298b1 mtd: rawnand: gpmi: don't leak PM reference in error path
    45948a4b1fd0 powerpc/lib/sstep: fix 'ptesync' build error
    0e0b5705640c powerpc/603: Fix boot failure with DEBUG_PAGEALLOC and KFENCE
    68b8924f6038 cifs: fix set of group SID via NTSD xattrs
    b4b8e7ae1346 ASoC: ops: Fix stereo change notifications in snd_soc_put_xr_sx()
    312d8074bc99 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_sx()
    ed1e33f121ea ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
    edb43ae4ca8d ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
    900d37d7d8ef ALSA: hda: Fix missing codec probe on Shenker Dock 15
    f9d9574a8ba8 ALSA: hda: Fix regression on forced probe mask option
    3b6134e35a60 ALSA: hda/realtek: Fix deadlock by COEF mutex
    a562de3b700a ALSA: hda/realtek: Add quirk for Legion Y9000X 2019
    2c9a7e11127e ALSA: usb-audio: revert to IMPLICIT_FB_FIXED_DEV for M-Audio FastTrack Ultra
    7285daaca3cd arm64: Correct wrong label in macro __init_el2_gicv3
    b04dcc00ae33 selftests/exec: Add non-regular to TEST_GEN_PROGS
    bf4161eb7e3b perf bpf: Defer freeing string after possible strlen() on it
    e8ba5b039eea net: bridge: multicast: notify switchdev driver whenever MC processing gets disabled
    6b1c9f99c2e6 dpaa2-eth: Initialize mutex used in one step timestamping path
    d3c9dd36ec24 dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key
    1a16f047946b tipc: fix wrong publisher node address in link publications
    868366d627e4 atl1c: fix tx timeout after link flap on Mikrotik 10/25G NIC
    0e6727589aea net: phy: mediatek: remove PHY mode check on MT7531
    7de7ba7a8bd4 net/smc: Avoid overwriting the copies of clcsock callback functions
    f8ba235c4927 libsubcmd: Fix use-after-free for realloc(..., 0)
    4c9f207810b7 bonding: fix data-races around agg_select_timer
    9bb363ba014f net_sched: add __rcu annotation to netdev->qdisc
    3077976a752a drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
    bdb6df9bedb3 bonding: force carrier update when releasing slave
    b9ff5667e116 ping: fix the dif and sdif check in ping_lookup
    392c42424ae0 net: ieee802154: ca8210: Fix lifs/sifs periods
    4b27446b538d net: dsa: lan9303: add VLAN IDs to master device
    860c5c275ed2 net: dsa: lan9303: handle hwaccel VLAN tags
    df2495f329b0 net: dsa: lantiq_gswip: fix use after free in gswip_remove()
    2566a89b9e16 net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN
    d8905a499af4 net: dsa: lan9303: fix reset on probe
    241e633cb379 cfg80211: fix race in netlink owner interface destruction
    c4caf72a42d3 brcmfmac: firmware: Fix crash in brcm_alt_fw_path
    00fb850c8a1a mac80211: mlme: check for null after calling kmemdup
    61e8fc49a9f8 Revert "net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname"
    d51cd648dbca ipv6: per-netns exclusive flowlabel checks
    3e11ef1903cf ipv6: mcast: use rcu-safe version of ipv6_get_lladdr()
    9ed25183e6d4 ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt
    db333693b052 ipv4: fix data races in fib_alias_hw_flags_set
    5dc653ef0785 selftests: netfilter: disable rp_filter on router
    2035d13eb12e netfilter: nft_synproxy: unregister hooks on init error path
    a1d9e1f14207 selftests: netfilter: fix exit value for nft_concat_range
    b10f4b00e10a iwlwifi: mvm: don't send SAR GEO command for 3160 devices
    c448b0541abf iwlwifi: pcie: gen2: fix locking when "HW not ready"
    78cd5c0acfed iwlwifi: pcie: fix locking when "HW not ready"
    79bdf56cc55d drm/i915/ttm: tweak priority hint selection
    e4778408c04d drm/i915/gvt: Make DRM_I915_GVT depend on X86
    02f7d38533ba drm/cma-helper: Set VM_DONTEXPAND for mmap
    787468ee7a43 vsock: remove vsock from connected table when connect is interrupted by a signal
    fe802b3fe763 drm/i915: Fix mbus join config lookup
    34f5556ddf2b drm/i915: Fix dbuf slice config lookup
    d006f2fe7d62 drm/i915/opregion: check port number bounds for SWSCI display power state
    960c8a55016b drm/amdgpu: skipping SDMA hw_init and hw_fini for S0ix.
    3851046599c1 drm/amd/pm: correct the sequence of sending gpu reset msg
    a1596e0277ed drm/atomic: Don't pollute crtc_state->mode_blob with error pointers
    68f3a4252e97 drm/radeon: Fix backlight control on iMac 12,1
    ddd46059f7d9 iwlwifi: fix use-after-free
    8209fede7d58 KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved state
    74b426bea4f7 KVM: x86: nSVM: fix potential NULL derefernce on nested migration
    417b87cb2311 KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT && !gCR0.PG case
    cd14c7342df5 KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a result of RSM
    b5c86e750388 KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU
    b16817a6de31 random: wake up /dev/random writers after zap
    effdcc250584 gcc-plugins/stackleak: Use noinstr in favor of notrace
    0a01326fddf6 Revert "module, async: async_synchronize_full() on module init iff async is used"
    769a6b33ec9f x86/Xen: streamline (and fix) PV CPU enumeration
    0fec53c5dca8 drm/amdgpu: fix logic inversion in check
    38108fd273ac drm/amd: Only run s3 or s0ix if system is configured properly
    72808bb42c87 drm/amd: add support to check whether the system is set to s3
    0ceba4d64fee net: sparx5: do not refer to skb after passing it on
    646952b2210f nvme-rdma: fix possible use-after-free in transport error_recovery work
    5e42fca37ccc nvme-tcp: fix possible use-after-free in transport error_recovery work
    e043fb5a0336 nvme: fix a possible use-after-free in controller reset during load
    64519c9e32ac drm/amd: Warn users about potential s0ix problems
    d9d93f32534a scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
    3c334cdfd949 scsi: pm8001: Fix use-after-free for aborted TMF sas_task
    f2c58667ffcd scsi: core: Reallocate device's budget map on queue depth change
    46756cc81099 kselftest: Fix vdso_test_abi return status
    3801775a07b5 scsi: pm80xx: Fix double completion for SATA devices
    64d6f76958c5 quota: make dquot_quota_sync return errors from ->sync_fs
    38f22c730c38 vfs: make freeze_super abort when sync_filesystem returns error
    5d3e1af11e07 pinctrl: bcm63xx: fix unmet dependency on REGMAP for GPIO_REGMAP
    4c958f0c5714 ax25: improve the incomplete fix to avoid UAF and NPD bugs
    bced176da6e0 selftests: skip mincore.check_file_mmap when fs lacks needed support
    7d10b671a052 selftests: openat2: Skip testcases that fail with EOPNOTSUPP
    04542fd44dd7 selftests: openat2: Add missing dependency in Makefile
    a613105e07b9 selftests: openat2: Print also errno in failure messages
    16d28de2f361 selftests/zram: Adapt the situation that /dev/zram0 is being used
    9172557bdf13 selftests/zram01.sh: Fix compression ratio calculation
    586ec7c0992a selftests/zram: Skip max_comp_streams interface on newer kernel
    23b2a2538240 net: ieee802154: at86rf230: Stop leaking skb's
    c99068d6839c kselftest: signal all child processes
    eb3b35385558 selftests: rtc: Increase test timeout so that all tests run
    ec1d9bb08850 kunit: tool: Import missing importlib.abc
    fdad28ff1d1d platform/x86: ISST: Fix possible circular locking dependency detected
    54688a550924 platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1
    7e234c47fd2f btrfs: send: in case of IO error log it
    94e76b372817 parisc: Add ioread64_lo_hi() and iowrite64_lo_hi()
    c7a4b1d155d3 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology
    7da6ba116cdc HID: amd_sfh: Correct the structure field name
    6b75f5c18f38 HID: amd_sfh: Increase sensor command timeout
    bdbc65eb77ee HID: i2c-hid: goodix: Fix a lockdep splat
    6451058f2720 HID: amd_sfh: Add illuminance mask to limit ALS max value
    b3dc4b9d3ca6 mm: don't try to NUMA-migrate COW pages that have other uses
    f3ff5f75d8f6 mmc: block: fix read single on recovery logic
    5b6e29b9306c parisc: Fix sglist access in ccio-dma.c
    8c8e949ae81e parisc: Fix data TLB miss in sba_unmap_sg
    9413b2e2bdb7 parisc: Drop __init from map_pages declaration
    35c955b5a45e serial: parisc: GSC: fix build when IOSAPIC is not set
    7a25d8249971 parisc: Show error if wrong 32/64-bit compiler is being used
    9750d45760c8 Revert "svm: Add warning message for AVIC IPI invalid target"
    65ad2f6191a6 HID:Add support for UGTABLET WP5540
    06bd0f157e70 scsi: lpfc: Fix mailbox command failure during driver initialization
    ae6ca6343929 btrfs: zoned: cache reported zone during mount
    a8dd0cfa3779 fs/proc: task_mmu.c: don't read mapcount for migration entry
    f0a60c7c4ede drm/nouveau/pmu/gm200-: use alternate falcon reset sequence
    a0ebea480bb3 Linux 5.15.24
    65ab30f6a695 iommu: Fix potential use-after-free during probe
    7969fe91c983 perf: Fix list corruption in perf_cgroup_switch()
    8ebcd2c680e1 arm64: dts: imx8mq: fix lcdif port node
    48f54966f7f7 MIPS: octeon: Fix missed PTR->PTR_WD conversion
    cd4494f8685c scsi: lpfc: Reduce log messages seen after firmware download
    6737f9a95a42 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
    c8e9c2b52c4c Makefile.extrawarn: Move -Wunaligned-access to W=1
    24645c47880b x86/sgx: Silence softlockup detection when releasing large enclaves
    30de73bebf2b hwmon: (dell-smm) Speed up setting of fan speed
    16cde074b00c bus: mhi: pci_generic: Add mru_default for Cinterion MV31-W
    2c1d20e34669 bus: mhi: pci_generic: Add mru_default for Foxconn SDX55
    fe990b7bf6ac s390/cio: verify the driver availability for path_event call
    56ca18dd5483 signal: HANDLER_EXIT should clear SIGNAL_UNKILLABLE
    f7a56fcca2e4 seccomp: Invalidate seccomp mode to catch death failures
    956cf21cd1ae mm: memcg: synchronize objcg lists with a dedicated spinlock
    b7f54894aa75 iio: buffer: Fix file related error handling in IIO_BUFFER_GET_FD_IOCTL
    7a360e546ad9 phy: ti: Fix missing sentinel for clk_div_table
    12431425c466 speakup-dectlk: Restore pitch setting
    9ae3dad535a9 USB: serial: cp210x: add CPI Bulk Coin Recycler id
    7e5108a22f19 USB: serial: cp210x: add NCR Retail IO box id
    8d226d39d052 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
    2ea4f4612cb9 USB: serial: option: add ZTE MF286D modem
    24311a9fc426 USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
    2330b2ba6465 usb: raw-gadget: fix handling of dual-direction-capable endpoints
    33d2a0c1ec20 usb: gadget: f_uac2: Define specific wTerminalType
    2da3b0ab54fb usb: gadget: rndis: check size of RNDIS_MSG_SET command
    3e33e5c67cb9 USB: gadget: validate interface OS descriptor requests
    d3d5bfb3a279 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
    8d2b04dad380 usb: dwc3: gadget: Prevent core from processing stale TRBs
    93feb2bdf6d4 usb: ulpi: Call of_node_put correctly
    fc50f42e4616 usb: ulpi: Move of_node_put to ulpi_dev_release
    ffd0393adcdc net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
    f4e72ad027b0 Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured"
    a6ef1bda0efd usb: dwc2: drd: fix soft connect when gadget is unconfigured
    9a5f471ae380 eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
    decb36e9a9f0 n_tty: wake up poll(POLLRDNORM) on receiving data
    573321db328b vt_ioctl: add array_index_nospec to VT_ACTIVATE
    ffe54289b02e vt_ioctl: fix array_index_nospec in vt_setactivate
    f916181692cb net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
    d98ba26a4ba9 net: mscc: ocelot: fix mutex lock error during ethtool stats read
    41a8c548d47b ice: Avoid RTNL lock when re-creating auxiliary device
    f9daedc3ab8f ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler
    52eb5c86ede4 ice: fix IPIP and SIT TSO offload
    efd399e12c1b ice: fix an error code in ice_cfg_phy_fec()
    12e067a4d98f dpaa2-eth: unregister the netdev before disconnecting from the PHY
    29b25d5f8f30 mptcp: netlink: process IPv6 addrs in creating listening sockets
    dcd1c4663469 drm/amd/pm: fix hwmon node of power1_label create issue
    4b24ef1d03cf net: amd-xgbe: disable interrupts during pci removal
    489d9fa78e59 tipc: rate limit warning for received illegal binding update
    bb04b5527aff net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
    b8ac37e57044 veth: fix races around rq->rx_notify_masked
    fdcb263fa5cd net: fix a memleak when uncloning an skb dst and its metadata
    f1ab1ba32d36 net: do not keep the dst cache when uncloning an skb dst and its metadata
    6cbe14cc0eb6 nfp: flower: fix ida_idx not being released
    3cab045c99db ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
    b5652bc50dde net: dsa: lantiq_gswip: don't use devres for mdiobus
    46b747232329 net: dsa: mt7530: fix kernel bug in mdiobus_free() when unbinding
    8cda7577a0b4 net: dsa: felix: don't use devres for mdiobus
    caabb5f64f5c net: dsa: bcm_sf2: don't use devres for mdiobus
    aae1c6a1d3d6 net: dsa: ar9331: register the mdiobus under devres
    8b626d45127d net: dsa: mv88e6xxx: don't use devres for mdiobus
    147540cae264 bonding: pair enable_port with slave_arr_updates
    3523167d6658 fbcon: Avoid 'cap' set but not used warning
    ef2cb1fc0365 gpio: sifive: use the correct register to read output values
    d9daa2b76dde gpiolib: Never return internal error codes to user space
    e799974e7cbb ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
    ab142ea5d502 drm/panel: simple: Assign data from panel_dpi_probe() correctly
    9e3dd49145f3 ixgbevf: Require large buffers for build_skb on 82599VF
    51eece9f8a1d arm64: dts: meson-sm1-odroid: fix boot loop after reboot
    57154c07ed62 arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO domain for GPIOE_2
    162f8057192c arm64: dts: meson-sm1-odroid: use correct enable-gpio pin for tf-io regulator
    006dc5815bb3 arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133'
    c5ee4cbd0f1b netfilter: ctnetlink: disable helper autoassign
    7f486bed5ec0 net: sparx5: Fix get_stat64 crash in tcpdump
    e4382d0a39f9 misc: fastrpc: avoid double fput() on failed usercopy
    f5e8733d93cf drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd.
    3d2bc21a6768 NFS: Don't skip directory entries when doing uncached readdir
    557302faea9c NFS: Don't overfill uncached readdir pages
    00181d6c9665 gpio: aggregator: Fix calling into sleeping GPIO controllers
    ddcb149ce10a phy: dphy: Correct clk_pre parameter
    72a8aee863af usb: f_fs: Fix use-after-free for epfile
    0ed2f9a97a92 arm64: dts: imx8mq: fix mipi_csi bidirectional port numbers
    af6a1d60a13c ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo
    94b16ca86ab6 phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()
    541ec7bfeed3 phy: xilinx: zynqmp: Fix bus width setting for SGMII
    58c42f415b81 ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
    025c6eef1490 staging: fbtft: Fix error path in fbtft_driver_module_init()
    c0ad2c2cac1b phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option
    86cdc3060d41 ARM: dts: meson8b: Fix the UART device-tree schema validation
    5253b083f0a8 ARM: dts: meson8: Fix the UART device-tree schema validation
    00d135070efa ARM: dts: meson: Fix the UART compatible strings
    c22bddf61db0 ARM: dts: Fix timer regression for beagleboard revision c
    ac14a51c3169 drm/i915: Populate pipe dbuf slices more accurately during readout
    8d6a31b83cdd drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
    05ffa30c99f7 drm/rockchip: vop: Correct RK3399 VOP register fields
    c1af59449d80 drm/amdgpu/display: change pipe policy for DCN 2.0
    0e546bb1324e PM: s2idle: ACPI: Fix wakeup interrupts handling
    65aabd296665 ACPI/IORT: Check node revision for PMCG resources
    64c37c05f7ad nvme-tcp: fix bogus request completion when failing to send AER
    7740eb27c38e ARM: socfpga: fix missing RESET_CONTROLLER
    ccdd7956cd28 ARM: dts: Fix boot regression on Skomer
    14917a884f70 ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
    4134396f99d2 gfs2: Fix gfs2_release for non-writers regression
    71f46f3d1bf2 riscv: eliminate unreliable __builtin_frame_address(1)
    efe220337181 riscv: cpu-hotplug: clear cpu from numa map when teardown
    7486227fa47a riscv: fix build with binutils 2.38
    67398d2c7b8c KVM: x86: Report deprecated x87 features in supported CPUID
    c09a83ae3b2e KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow
    f7da3276e087 KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode
    11f9427d01a3 KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
    a3c43649600b KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
    d44af3ad2a21 KVM: eventfd: Fix false positive RCU usage warning
    a85f3ea1407f net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
    a3ba49c129ed MIPS: Fix build error due to PTR used in more places
    96f91a877a5c nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs
    a3486ef99a3b perf: Always wake the parent event
    8981a8fd900e usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
    a277422a8d97 drm/amd/display: Correct MPC split policy for DCN301
    dc5769c7b063 PM: hibernate: Remove register_nosave_region_late()
    50fe79589c14 net: stmmac: reduce unnecessary wakeups from eee sw timer
    6207f35c213f scsi: myrs: Fix crash in error case
    0c8d27c2aae5 scsi: ufs: Treat link loss as fatal error
    f0a91d892310 scsi: ufs: Use generic error code in ufshcd_set_dev_pwr_mode()
    cb26e94204d7 scsi: pm8001: Fix bogus FW crash for maxcpus=1
    1c22df15cf40 scsi: qedf: Change context reset messages to ratelimited
    6be8eaad75ca scsi: qedf: Fix refcount issue when LOGO is received during TMF
    1f53bbf27a87 scsi: qedf: Add stag_work to all the vports
    83f31dab46b2 scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup()
    4f786e8f18c3 scsi: target: iscsi: Make sure the np under each tpg is unique
    43ae0ccc4d27 powerpc/fixmap: Fix VM debug warning on unmap
    fa693cfd8fe4 net: sched: Clarify error message when qdisc kind is unknown
    9696125fb3ca drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
    770d1ba9a820 drm/vc4: Fix deadlock on DSI device attach error
    85008bde411d sched: Avoid double preemption in __cond_resched_*lock*()
    ec903b6daa58 x86/perf: Avoid warning for Arch LBR without XSAVE
    ef5685971abd perf/x86/rapl: fix AMD event handling
    3f4e05eb46ae irqchip/realtek-rtl: Service all pending interrupts
    4403233b8775 sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()
    4b22aa42bd4d net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
    5ca123c91a64 SUNRPC allow for unspecified transport time in rpc_clnt_add_xprt
    c5ae18fa8d71 NFSv4 handle port presence in fs_location server string
    be67be6a1a8f NFSv4 expose nfs_parse_server_name function
    6f2836341d8a NFSv4.1 query for fs_location attr on a new file system
    2df6a47a131a NFSv4 store server support for fs_location attribute
    0c5d3bfb2967 NFSv4 remove zero number of fs_locations entries error check
    3cb5b317901e NFSv4.1: Fix uninitialised variable in devicenotify
    58967a232ab3 nfs: nfs4clinet: check the return value of kstrdup()
    bbf647ecebc0 NFSv4 only print the label when its queried
    38ae938701e7 NFS: change nfs_access_get_cached to only report the mask
    78c28fdf1685 tracing: Propagate is_signed to expression
    8fdaa9a6ace2 thermal/drivers/int340x: Fix RFIM mailbox write commands
    5abd95ff5d6a thermal: int340x: Limit Kconfig to 64-bit
    786293f61b4b thermal/drivers/int340x: processor_thermal: Suppot 64 bit RFIM responses
    e9b0301939d1 thermal/drivers/int340x: Improve the tcc offset saving for suspend/resume
    c6eff5c42771 NFSD: Fix the behavior of READ near OFFSET_MAX
    c9a8571dd893 NFSD: Fix offset type in I/O trace points
    01c3ae81eef4 NFSD: Clamp WRITE offsets
    8e0ecaf7a7e5 NFSD: Fix ia_size underflow
    37f2d2cd8ead NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes
    535e301ea677 NFS: Fix initialisation of nfs_client cl_flags field
    6b42352bea56 net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
    9338c17e2c63 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
    540dff311c9a can: isotp: fix error path in isotp_sendmsg() to unlock wait queue
    f90cc68f9f4b can: isotp: fix potential CAN frame reception race in isotp_rcv()
    dbe7bf9b6fc8 mmc: core: Wait for command setting 'Power Off Notification' bit to complete
    222c071fadd6 mmc: sdhci-of-esdhc: Check for error num after setting mask
    cf4570ca8ed6 ima: Do not print policy rule with inactive LSM labels
    5389ea64af1e ima: Allow template selection with ima_template[_fmt]= after ima_hash=
    20805cdf95af ima: Remove ima_policy file before directory
    0838d6d68182 ima: fix reference leak in asymmetric_verify()
    739b7bb886b5 integrity: check the return value of audit_log_start()
    c1d3ac0c115f Linux 5.15.23
    1f1788616157 tipc: improve size validations for received domain records
    40eb05e5e72b crypto: api - Move cryptomgr soft dependency into algapi
    ab32ea3ad0d5 ksmbd: fix SMB 3.11 posix extension mount failure
    14f880ea779e KVM: s390: Return error on SIDA memop on normal guest
    c28ee73fea29 arm64: Add Cortex-A510 CPU part definition
    af0e6c49438b moxart: fix potential use-after-free on remove path
    0bf5b7cc9848 Linux 5.15.22
    3853c4e27149 selftests: netfilter: check stateless nat udp checksum fixup
    b84753200e79 selftests: nft_concat_range: add test for reload with no element add/del
    7c0ee51fe998 gpio: mpc8xxx: Fix an ignored error return from platform_get_irq()
    3d631a1af0d7 gpio: idt3243x: Fix an ignored error return from platform_get_irq()
    ff43b75eea32 tools include UAPI: Sync sound/asound.h copy with the kernel sources
    f5afdefe188e cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
    e4a7e1418ab7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
    f187daed64e1 ext4: fix incorrect type issue during replay_del_range
    1b6762ecdf3c ext4: fix error handling in ext4_fc_record_modified_inode()
    ce38bb98cec7 ext4: fix error handling in ext4_restore_inline_data()
    869cb287d893 ext4: modify the logic of ext4_mb_new_blocks_simple
    0cb4480bc4f4 ext4: prevent used blocks from being allocated during fast commit replay
    d583cb17ee50 EDAC/xgene: Fix deferred probing
    c6c04bb32b73 EDAC/altera: Fix deferred probing
    587dadb43c9a x86/perf: Default set FREEZE_ON_SMI for all
    e83d941fd344 perf/x86/intel/pt: Fix crash with stop filters in single-range mode
    0f4dcaeaf6ae perf stat: Fix display of grouped aliased events
    64e133ce280b perf: Copy perf_event_attr::sig_data on modification
    9a60e92b76d6 kvm/arm64: rework guest entry logic
    83071e2dad68 kvm: add guest_state_{enter,exit}_irqoff()
    aba976f96bbc rtc: cmos: Evaluate century appropriate
    3b5fcdfab628 e1000e: Separate ADP board type from TGP
    b3a4d501e91c tools/resolve_btfids: Do not print any commands when building silently
    7620887a7779 selftests: futex: Use variable MAKE instead of make
    c5610494fd45 selftests/exec: Remove pipe from TEST_GEN_FILES
    5e457aeab52a bpf: Use VM_MAP instead of VM_ALLOC for ringbuf
    62ab929a8f6b gve: fix the wrong AdminQ buffer queue index check
    3611f4f91e11 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
    2f5a1ac68bdf scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
    0bb4c6b9ecff pinctrl: bcm2835: Fix a few error paths
    3cdcfa3c526e pinctrl: intel: fix unexpected interrupt
    ca63438dc5c4 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line
    d4036172ca3b pinctrl: sunxi: Fix H616 I2S3 pin data
    f00012885e70 ASoC: codecs: wcd938x: fix return value of mixer put function
    b54ff87a1567 ASoC: codecs: lpass-rx-macro: fix sidetone register offsets
    aa7152f9f117 ASoC: codecs: wcd938x: fix incorrect used of portid
    baead410e5db ASoC: max9759: fix underflow in speaker_gain_control_put()
    263b947aa4c1 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name
    841e6a6b831b ASoC: simple-card: fix probe failure on platform component
    c6cf5b5078db ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
    9d44f73df070 ASoC: fsl: Add missing error handling in pcm030_fabric_probe
    8a15ac1786c9 drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled
    5cba71707f0a drm/i915/overlay: Prevent divide by zero bugs in scaling
    b2c91bee7970 drm/kmb: Fix for build errors with Warray-bounds
    a84854bc230a net: stmmac: ensure PTP time register reads are consistent
    27ea34ead54a net: stmmac: dump gmac4 DMA registers correctly
    0ced878998f2 net: macsec: Verify that send_sci is on when setting Tx sci explicitly
    e7a0b3a0806d net: macsec: Fix offload support for NETDEV_UNREGISTER event
    2967b08119d5 net: stmmac: properly handle with runtime pm in stmmac_dvr_remove()
    6358e093547c net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request.
    0ef6049f6649 net/smc: Forward wakeup to smc socket waitqueue after fallback
    ea8ecd2d65b4 net: ieee802154: Return meaningful error codes from the netlink helpers
    566bf0e1c761 netfilter: nft_reject_bridge: Fix for missing reply from prerouting
    94cd597e20ed net: ieee802154: ca8210: Stop leaking skb's
    6c6b19a99131 net: ieee802154: mcr20a: Fix lifs/sifs periods
    29e60b77a449 net: ieee802154: hwsim: Ensure proper channel selection at probe time
    bb7a226780e2 IB/cm: Release previously acquired reference counter in the cm_id_priv
    40e20ba90390 IB/hfi1: Fix tstats alloc and dealloc
    dd00b4f8f768 spi: uniphier: fix reference count leak in uniphier_spi_probe()
    66606d329d61 spi: meson-spicc: add IRQ check in meson_spicc_probe
    7352f2c26482 spi: mediatek: Avoid NULL pointer crash in interrupt
    101a1cf8af55 spi: bcm-qspi: check for valid cs before applying chip select
    ca1f48c30e5b iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
    336d096b62bd iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
    e4b74b89862c ALSA: hda: Skip codec shutdown in case the codec is not registered
    0c5c64335657 ALSA: hda: Fix signedness of sscanf() arguments
    c2a91f1ef38a ALSA: usb-audio: initialize variables that could ignore errors
    63c69c93d978 RDMA/mlx4: Don't continue event handler after memory allocation failure
    035ea99c537d RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
    7d9ad6f9f38f IB/rdmavt: Validate remote_addr during loopback atomic tests
    2989ba9532ba RDMA/siw: Fix refcounting leak in siw_create_qp()
    2923948ffe08 RDMA/ucma: Protect mc during concurrent multicast leaves
    7715682f357d RDMA/cma: Use correct address when leaving multicast group
    0452c3dc851b KVM: arm64: Stop handle_exit() from handling HVC twice when an SError occurs
    e1e852746997 KVM: arm64: Avoid consuming a stale esr value when SError occur
    aff6657f5243 Revert "ASoC: mediatek: Check for error clk pointer"
    9908c759a17e mptcp: fix msk traversal in mptcp_nl_cmd_set_flags()
    778283dc2840 fbcon: Add option to enable legacy hardware acceleration
    2a2629db4248 Revert "fbcon: Disable accelerated scrolling"
    a3dd4d2682f2 IB/hfi1: Fix AIP early init panic
    24f8e12d965b dma-buf: heaps: Fix potential spectre v1 gadget
    f576721152fd block: bio-integrity: Advance seed correctly for larger interval sizes
    a5389c80992f mm/kmemleak: avoid scanning potential huge holes
    65a4863a4ed5 mm/pgtable: define pte_index so that preprocessor could recognize it
    120973e64db9 mm/debug_vm_pgtable: remove pte entry from the page table
    90391ac6888e nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts()
    2093ecf557e7 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
    7ff0ed88e4eb drm/amd/display: watermark latencies is not enough on DCN31
    4f4c77ad5a13 drm/amd/pm: correct the MGpuFanBoost support for Beige Goby
    39ac3945d966 drm/i915/adlp: Fix TypeC PHY-ready status readout
    d877e814a62b drm/nouveau: fix off by one in BIOS boundary checking
    b9e9f848c82b Revert "fs/9p: search open fids first"
    a7b717fa1516 btrfs: fix use-after-free after failure to create a snapshot
    89d4cca583fc btrfs: fix deadlock between quota disable and qgroup rescan worker
    f4b2736eeb62 btrfs: don't start transaction for scrub if the fs is mounted read-only
    7ccf5849bef7 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows
    9fc509f806a5 ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset)
    b3625b0017a4 ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks
    730f823e3c68 ALSA: hda/realtek: Add quirk for ASUS GU603
    586d71ddee6c ALSA: hda: realtek: Fix race at concurrent COEF updates
    0e629052f013 ALSA: hda: Fix UAF of leds class devs at unbinding
    303e89f94b66 ALSA: usb-audio: Correct quirk for VF0770
    b0a7836ecf13 ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
    e8e07c5e25a2 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
    9e8895f1b3d4 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
    10007bd96b6c ASoC: hdmi-codec: Fix OOB memory accesses
    0b8b02903173 spi: stm32-qspi: Update spi registering
    45ba0a5fa0a6 ipc/sem: do not sleep with a spin lock held
    b8d9e0aec158 audit: improve audit queue handling when "audit=1" on cmdline
    70caa32e6d81 selinux: fix double free of cond_list on error paths
    d63d077fc446 drm/i915: Disable DSB usage for now
    f01ed5defb04 Linux 5.15.21
    2b2f53331b3a Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again
    a03d2f9f82bd Revert "drm/vc4: hdmi: Make sure the device is powered with CEC"

(From meta-yocto rev: b608714c3fc60c43cb3dc6d1b1c04ffc5a6c106c)

(From meta-yocto rev: 7cbffb2065312ab8d2164b509c4d0cdb848283bd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9abfc74ab404ada55fc058e8bc685e56fa132f0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-13 09:34:27 +01:00
Richard Purdie
ca27d0e613 abi_version/sstate: Bump hashequiv and sstate versions due to git changes
The autobuilder sstate was corrupted via incorrect equiavlences caused by
the security fix to git and the poor interaction that had with SCM version
checks under fakeroot/pseudo. Bump the versions to enable a clean slate
to work off.

(From OE-Core rev: 69f2d0822462e77d09b4781dcec41a0747e4d387)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b6672730372e130d4d72b683fc3150911964745)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Richard Purdie
667ea36429 package: Ensure we track whether PRSERV was active or not
Currently the signatures for do_packagedata don't reflect whether PRServ
was active or not. This means that if you have mxiing of PRServ usage and
non PRServ usage against the same sstate cache it can rarely become
corrupted with one referencing the other.

This likely doesn't happen in general but does on the autobuilder as PRServ
is tested. Add in some variables to ensure the binary state of PRServ being
enabled or disabled is tracked (but not the server value). We continue to
assume one PRServ is used per sstate cache.

(From OE-Core rev: 4c2f429d6876c29b17931daa039c4899aacd7234)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd660e5c3fb74f7c4b7b8e863f7143066ae22813)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Ross Burton
38c8316155 Revert "bitbake.conf: mark all directories as safe for git to read"
Turns out this doesn't actually work, as git doesn't respect the environment
when reading the safe.directory configuration variable.

This reverts commit d4a5862ce8.

(From OE-Core rev: 73087e3c4bf6792c37f0a9d8d006c09856d36b13)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e28dd48ffb84c8bb4356d889b70a4b876c8bbaf3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Richard Purdie
7868ccd57a scripts/git: Ensure we don't have circular references
This is horrible but I'm running out of better ideas. We hit circular reference
issues which we were trying to avoid in the core HOSTTOOLS code. When building
the eSDK, there can be two copies of the script.

Therefore assume git will never be in a directory called scripts. This
fixes eSDK build failures.

(From OE-Core rev: b9dcaa76b3274ced1e4b9e2ca33f778e8cd50032)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27de610ac30d4c81352efc794df7e9b1060f7a68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Richard Purdie
db10b2623d scripts: Make git intercept global
The previous minimially invasive git intercept simply isn't enough. For example,
meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure
step so at install time, changing PATH has no effect.

There are lots of interesting things we could do to try and avoid problems but
making the git intercept and dropping fakeroot privs for git global is probably
the least worst solution at this point. It will add slight overhead to git calls
but we don't make many so the overall impact is likely minimal.

(From OE-Core rev: 07f282fb94a5a7c0a3fad451c844e5b26074c744)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af27c81eaf68ee681dcd9456a74cca6a9ab40bf6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Richard Purdie
74522a6048 base: Avoid circular references to our own scripts
We'd like to intercept git calls but we don't want circular references
and HOSTTOOLS currently sets them up. Tweak to avoid them.

(From OE-Core rev: 9f4acb8d8b47349e7a4adbb25842a94c0947469a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52c37e133fa55846aca2248ffcf3a10648dbb8d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Ross Burton
6c843a5069 oeqa/selftest: add test for git working correctly inside pseudo
The fix for CVE-2022-24765 in git[1] breaks any use of git inside
pseudo. Add a simple test case to oe-selftest to verify that at least
basic uses of git work fine under pseudo.

[1] 8959555cee

(From OE-Core rev: 3fafd22233be8961801fa541969383b5b8444dee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 46822268040a23dbb81f71fe35aee8c2663a31f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Davide Gardenal
c5580a0571 rootfs-postcommands: fix symlinks where link and output path are equal
When creating the manifest and the testdata.json links, if the link
name is equal to the output name the link is not created, otherwise
it is. This prevents a link-to-self in the first case.

(From OE-Core rev: e69a1533dfb8ceb5b91610f2ab8b3da575fcc36e)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bed63756c56f296ff3d5a7eef66e978bd19f1008)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Davide Gardenal
dd08692cac cve-check: fix symlinks where link and output path are equal
An if statement now checks if the link and output path are
the same, if they are then the link is not created,
otherwise it is.

(From OE-Core rev: 2fd7f3b7dc964b59b268dd4a34761f9f71f61c25)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 2f024c0236c4806f0e59e4ce51a42f6b80fdf1b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Davide Gardenal
645c157bef cve-check: add JSON format to summary output
Create generate_json_report including all the code used to generate the JSON
manifest file.
Add to cve_save_summary_handler the ability to create the summary in JSON format.

(From OE-Core rev: 8a79c476706b25e5c707c65b4e46b6e940874bd6)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f2987891d315466b7ef180ecce81d15320ce8487)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Marta Rybczynska
b7601c92ff cve-update-db-native: let the user to drive the update interval
Add a new variable CVE_DB_UPDATE_INTERVAL allowing the user to set
the database update interval.
 - a positive value sets an interval (in seconds)
 - a zero ("0") forces the database update

(From OE-Core rev: 0007dd0edb39123201a46886a4e71d001c118ddf)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe7bc6f16184d5ebdb1dd914b6dcb75c9e5e0c9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Marta Rybczynska
fc56536e8a cve-update-db-native: update the CVE database once a day only
The update of the NVD database was expected to happen once per hour.
However, the database file date changes only if the content was actually
updated. In practice, the check worked for the first hour after the
new download.

As the NVD database changes usually only once a day, we can just
update it less frequently.

(From OE-Core rev: 27b1cb83ec666cc91930f2a7b5a6282fde77c730)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 35bccdedadeaba820d58b69fe74ce5e4c1f577e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Ross Burton
e163bed574 cve-check: no need to depend on the fetch task
The only part of the cve-check task which needs files is the patch
examination, and typically these patches are local so fetch isn't needed.

(From OE-Core rev: a76b642736d78cd4dec0ae264da6d0ffd4e9aaf7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c9b3186d3b7c18cbea239ab9b06e85b7c243b54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Bruce Ashfield
b1a9c64d5d strace: fix ptest failure in landlock
Kernel commit:

  commit 3d4b396a616d0d67bf95d6823ad1197f6247292e
  Author: Christian Brauner <christian.brauner@ubuntu.com>
  Date:   Mon Oct 11 15:37:04 2021 +0200

      landlock: Use square brackets around "landlock-ruleset"

      commit aea0b9f2486da8497f35c7114b764bf55e17c7ea upstream.

      Make the name of the anon inode fd "[landlock-ruleset]" instead of
      "landlock-ruleset". This is minor but most anon inode fds already
      carry square brackets around their name:

          [eventfd]
          [eventpoll]
          [fanotify]
          [fscontext]
          [io_uring]
          [pidfd]
          [signalfd]
          [timerfd]
          [userfaultfd]

      For the sake of consistency lets do the same for the landlock-ruleset anon
      inode fd that comes with landlock. We did the same in
      1cdc415f1083 ("uapi, fsopen: use square brackets around "fscontext" [ver #2]")
      for the new mount api.

      Cc: linux-security-module@vger.kernel.org
      Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
      Link: https://lore.kernel.org/r/20211011133704.1704369-1-brauner@kernel.org
      Cc: stable@vger.kernel.org
      Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
      Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Changed the format of the landlock tracing. We need to update the strace
expected string to match.

Upstream-Status: Submitted [https://lists.strace.io/pipermail/strace-devel/2022-April/011064.html]

(From OE-Core rev: 0268bc1ed04212acdb5b08e57334ed367042c1a2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf7d885aef06f6208533dd5fab45ee8e92d6d6d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
17fe9070f9 linux-yocto/5.15: fix qemuarm graphical boot
During the cleanup/refactoring of qemuarm* we dropped a PCI option
that is required for graphical boot. The configuration is fixed to
create a separate fragment, which just enabled the minimim and we
include it into qemuarma15 standard/preempt-rt.

Integrating the following commit(s) to linux-yocto/5.15:

    fcf48627ea5 qemuarma15: include pci-of-generic support

(From OE-Core rev: ccd27ea8b8e179b7eb0526ed1416ca674c9d295e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 375366bd16619b14f718f96a9235d0936cae97ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Khem Raj
533d5ae8c4 linux-yocto: Enable powerpc-debug fragment for ppc64 LE
qemuppc64 is LE by default, this fixes kernel build for qemuppc64 with
gcc12

(From OE-Core rev: fea79d18807c82e5aad3be5a4c9261c8f3ad95cd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1674f1aeff5d2b3b2e79cc68ce1156f79eed548)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
e50b978409 linux-yocto/5.15: update to v5.15.36
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    45451e8015a9 Linux 5.15.36
    bb906d15a99e arm64: dts: qcom: add IPA qcom,qmp property
    1ea01e64632f block/compat_ioctl: fix range check in BLKGETSIZE
    6a3c609feb11 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    b1b8f39c2475 jbd2: fix a potential race while discarding reserved buffers after an abort
    2e25c46c6eef netfilter: nft_ct: fix use after free when attaching zone template
    2b273d1fd18e ext4: force overhead calculation if the s_overhead_cluster makes no sense
    52ca84a3edd1 ext4: fix overhead calculation to account for the reserved gdt blocks
    6b952563934c ext4, doc: fix incorrect h_reserved size
    9b90003771e5 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    e3912775b476 ext4: fix use-after-free in ext4_search_dir
    8bb5676b49d3 ext4: fix symlink file size not match to file content
    ba50ea456f49 ext4: fix fallocate to use file_modified to update permissions consistently
    67e4860eeed8 netfilter: conntrack: avoid useless indirection during conntrack destruction
    bcba40bd36d7 netfilter: conntrack: convert to refcount_t api
    4bbd693d9f0a KVM: SVM: Flush when freeing encrypted pages even on SME_COHERENT CPUs
    8b2da9690489 KVM: nVMX: Defer APICv updates while L2 is active until L1 is active
    a41b3243a6de KVM: x86: Pend KVM_REQ_APICV_UPDATE during vCPU creation to fix a race
    2b4417acd3c6 KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdog
    87d95ff0ca27 arm_pmu: Validate single/group leader events
    4d98fbb26683 ARC: entry: fix syscall_trace_exit argument
    7b69c07beb23 e1000e: Fix possible overflow in LTR decoding
    73a0b4c5c0bd ASoC: soc-dapm: fix two incorrect uses of list iterator
    571a67b0d8a4 gpio: Request interrupts after IRQ is initialized
    e411af98013d openvswitch: fix OOB access in reserve_sfa_size()
    bac4cadeb718 xtensa: fix a7 clobbering in coprocessor context load/store
    91335ca9ebe7 xtensa: patch_text: Fixup last cpu should be master
    49952e31e50d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    04ecea282b42 perf script: Always allow field 'data_src' for auxtrace
    a92335b4b189 powerpc/perf: Fix power10 event alternatives
    7a56867c5ef3 powerpc/perf: Fix power9 event alternatives
    53c4a9ff225b drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    9dc46d2e3723 KVM: PPC: Fix TCE handling for VFIO
    76614b111867 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    7981351a916e drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    56637084e8a5 perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    b1b929468229 sched/pelt: Fix attach_entity_load_avg() corner case
    914473a07088 scsi: sr: Do not leak information in ioctl
    f0cfae3e0d3a Input: omap4-keypad - fix pm_runtime_get_sync() error checking
    232541989a1a net: atlantic: invert deep par in pm functions, preventing null derefs
    6b8af9f96749 dmaengine: imx-sdma: fix init of uart scripts
    1a8d1665cff1 dma: at_xdmac: fix a missing check on list iterator
    d10a711d4db6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    48b2ab1a960a mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    41ba681c6373 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    9dcb65cdf312 mm, hugetlb: allow for "high" userspace addresses
    07bdd207774c memcg: sync flush only if periodic flush is delayed
    9c71b29d55d4 mm/memory-failure.c: skip huge_zero_page in memory_failure()
    b81291922f8b EDAC/synopsys: Read the error count from the correct register
    87dd813bd2c3 nvme-pci: disable namespace identifiers for Qemu controllers
    dab2f477e15a nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202
    25f37ed22a9e nvme: add a quirk to disable namespace identifiers
    4a9f9f1791f3 VFS: filename_create(): fix incorrect intent.
    773ca67ffc96 stat: fix inconsistency between struct stat and struct compat_stat
    80c713a894c3 scsi: qedi: Fix failed disconnect handling
    c7f4f3016fea scsi: iscsi: Fix NOP handling during conn recovery
    e4efe868aa14 scsi: iscsi: Merge suspend fields
    740411ee2f94 scsi: iscsi: Release endpoint ID when its freed
    123a52eb610d net: macb: Restart tx only if queue pointer is lagging
    bc663ff8cae3 drm/msm/mdp5: check the return of kzalloc()
    5fe864539caf dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    48e1db2c3d42 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    e25b350e2521 mt76: Fix undefined behavior due to shift overflowing the constant
    a7a651d5a525 net: atlantic: Avoid out-of-bounds indexing
    213330bafd02 cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    6085e24fd972 vxlan: fix error return code in vxlan_fdb_append
    32fe43df71c5 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    f0ba965e4783 drm/msm/disp: check the return value of kzalloc()
    b78d40339568 ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    9d441c2e2ad1 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    4426116b2e02 reset: tegra-bpmp: Restore Handle errors in BPMP response
    a6ec9d95c205 reset: renesas: Check return value of reset_control_deassert()
    70fa727835f9 ARM: vexpress/spc: Avoid negative array index when !SMP
    d3acd3f9f80e arm64: mm: fix p?d_leaf()
    ec9cb700cbf7 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    6b9a418d3850 dmaengine: idxd: skip clearing device context when device is read-only
    49047fa486b3 dmaengine: idxd: add RO check for wq max_transfer_size write
    6c30e099b978 dmaengine: idxd: add RO check for wq max_batch_size write
    e83acf93919b net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    79957134ca1d drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails
    f3552c37593a netlink: reset network and mac headers in netlink_dump()
    93581ae1f980 net: mscc: ocelot: fix broken IP multicast flooding
    6a5ca57d5acd net: dsa: hellcreek: Calculate checksums in tagger
    40ebaf7365b0 can: isotp: stop timeout monitoring when no first frame was sent
    652a5405396d ipv6: make ip6_rt_gc_expire an atomic_t
    d23fe66eb7b0 l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    58bdbd121a34 net/sched: cls_u32: fix possible leak in u32_init_knode()
    1b4fb109cc53 net: restore alpha order to Ethernet devices in config
    d5049ef1f671 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    3cc2f6b71eb6 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    ab26f1136757 net/packet: fix packet_sock xmit return value checking
    b355ca6a915f net/smc: Fix sock leak when release after smc_shutdown()
    8fe1bf23c96b rxrpc: Restore removed timer deletion
    09da8cf94588 ALSA: hda/hdmi: fix warning about PCM count when used with SOF
    c7c71b3e4764 igc: Fix suspending when PTM is active
    da323d0d6aaa igc: Fix BUG: scheduling while atomic
    b3ce7d3a1742 igc: Fix infinite loop in release_swfw_sync
    8920a03a3a15 spi: cadence-quadspi: fix incorrect supports_op() return value
    a583f2f3c878 esp: limit skb_page_frag_refill use to a single page
    76900a136b1a spi: spi-mtk-nor: initialize spi controller after resume
    84e77e72367f dmaengine: dw-edma: Fix unaligned 64bit access
    d18fb19c1c8e dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    8932d9ee4b9f dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    a8be4586352b dmaengine: idxd: fix device cleanup on disable
    6168532a08ef ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    053bd9604f05 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    9a4c63e7332c ASoC: rk817: Use devm_clk_get() in rk817_platform_probe
    bc15442cc99f ASoC: topology: Correct error handling in soc_tplg_dapm_widget_create()
    bc7d0133181e ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    236785649ad2 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    aaa22e5b526d ALSA: usb-audio: Clear MIDI port active flag after draining
    ba9e9a794fd1 net/sched: cls_u32: fix netns refcount changes in u32_change()
    8dfec6e0a62d scsi: ufs: core: scsi_get_lba() error fix
    c2d0cdf8ad06 gfs2: assign rgrp glock before compute_bitstructs
    a52e73bef254 mm, kfence: support kmem_dump_obj() for KFENCE objects
    3876c574e4cc perf tools: Fix segfault accessing sample_id xyarray
    77a467983bff mm: page_alloc: fix building error on -Werror=array-compare
    3177d047e58a etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
    3f7b1a87ac75 arm64/mm: drop HAVE_ARCH_PFN_VALID
    c01430cf5b87 dma-mapping: remove bogus test for pfn_valid from dma_map_resource
    155ae0547cb8 xfs: return errors in xfs_fs_sync_fs
    935745abcf4c vfs: make sync_filesystem return errors from ->sync_fs
    6eb927ee189f block: simplify the block device syncing code
    7877e7a5a52e block: remove __sync_blockdev
    4b7617ae04de fs: remove __sync_filesystem

(From OE-Core rev: f967efa7f28d67c8f47e879fb96696b29bd7621b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02149163c8643cec5fd8ef9c7b8a2f5af06519ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
f6ebb58225 linux-yocto/5.15: fix -standard kernel build issue
Integrating the following commit(s) to linux-yocto/5.15:

    4eba9348d3e2 Revert "Revert "fbdev: Hot-unplug firmware fb devices on forced removal""

The revert of commit [fbdev: Hot-unplug firmware fb devices on forced
removal] was done to fix powerpc fbdev issues. Upstream went in a
different direction, which means that our fbdev routines have conflicts
with -stable updates.

The fix for the fbdev is in -stable, so we drob our reverted commit,
such that 5.15 builds again, and fbdev is functional.

(From OE-Core rev: f648a6b4a4f5c4e99ea93e802b2ca7284f52f72d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6da0cde02dd6a315a7eb34cb0bc691cf622eba05)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
eccb29aba0 linux-yocto: enable powerpc debug fragment
gcc12 generates some warnings with arch/powerpc, and we know that
these warnings are understood/non-fatal at runtime.

This fragment allows testing to continue, while upstream powerpc
looks at removing warnings.

We only enable it for 5.10/5.15 standard kernels for now, since
this gets us enough coverage to continue working with gcc12.

(From OE-Core rev: b52d50e00d00df3a3a8263a6b5ef04e22a9c93fb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 992d9d41642981152a387fe59733cc6a77ea3528)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
c9896633c2 linux-yocto/5.15: Fix CVE-2022-28796
Integrating the following commit(s) to linux-yocto/5.15:

    5df6d1b00f95 jbd2: fix use-after-free of transaction_t race
    2d83e8196487 jbd2: refactor wait logic for transaction updates into a common function

(From OE-Core rev: f900829f96b7592ce026067e5154e2f1f55a9d4e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a0d2acf249717416226c34b6147e5499adbda15)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
b6bc88c365 linux-yocto/5.15: update to v5.15.35
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    81d8d30c35ed Linux 5.15.35
    85f25bb9a005 ax25: Fix UAF bugs in ax25 timers
    43c107021d91 ax25: Fix NULL pointer dereferences in ax25 timers
    da6509fba636 ax25: fix NPD bug in ax25_disconnect
    1bf8946d5826 ax25: fix UAF bug in ax25_send_control()
    452ae92b9906 ax25: Fix refcount leaks caused by ax25_cb_del()
    b982492ec3a1 ax25: fix UAF bugs of net_device caused by rebinding operation
    bc706d89199b ax25: fix reference count leaks of ax25_dev
    9af0fd5c4453 ax25: add refcount in ax25_dev to avoid UAF bugs
    de6a76eea645 cpufreq: intel_pstate: ITMT support for overclocked system
    74d23d422556 net: ipa: fix a build dependency
    1648c7b450d8 soc: qcom: aoss: Fix missing put_device call in qmp_get
    d712aea3cd81 cpu/hotplug: Remove the 'cpu' member of cpuhp_cpu_state
    14785927a1d4 drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL
    4ef9951d0252 dma-direct: avoid redundant memory sync for swiotlb
    111becd63e37 timers: Fix warning condition in __run_timers()
    cbdd7a33c533 dt-bindings: net: snps: remove duplicate name
    83a4c1080e09 i2c: pasemi: Wait for write xfers to finish
    44981e4cde68 smp: Fix offline cpu check in flush_smp_call_function_queue()
    2f345bb14ad4 i2c: dev: check return value when calling dev_set_name()
    6b4bf97587ef dm integrity: fix memory corruption when tag_size is less than digest size
    0940795c6834 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    68a38b07f125 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    c11ef9ded22e genirq/affinity: Consider that CPUs on nodes can be unbalanced
    c61d929944c9 x86/tsx: Disable TSX development mode at boot
    aaf27fcaefc1 x86/tsx: Use MSR_TSX_CTRL to clear CPUID bits
    2dd7d2eddf8e drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    804c096d640e drm/amd/display: don't ignore alpha property on pre-multiplied mode
    adee01bbf6cb ipv6: fix panic when forwarding a pkt with no in6 dev
    cab64cb82fe1 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    63038f6e96a7 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    a53062c94b8c ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    0349df521528 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    3680b48533ae btrfs: mark resumed async balance as writing
    252db93fd0bd btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b81c2c147e1 ath9k: Fix usage of driver-private space in tx_info
    3386927f436e ath9k: Properly clear TX status area before reporting to mac80211
    7a509a9f2bb7 cifs: verify that tcon is valid before dereference in cifs_kill_sb
    bd17422b9b67 gcc-plugins: latent_entropy: use /dev/urandom
    05d1824a7fb4 memory: renesas-rpc-if: fix platform-device leak in error path
    f5e13d700a4d SUNRPC: Fix NFSD's request deferral on RDMA transports
    00715427ea77 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    70ea5e7b38c3 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    12ba1d38115a mm: fix unexpected zeroed page mapping with zram swap
    bb7645c33869 mm, page_alloc: fix build_zonerefs_node()
    b6d17c67885a mm/secretmem: fix panic when growing a memfd_secret
    4cdf0e7a5be8 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    b8ed0f7531f3 io_uring: use nospec annotation for more indexes
    5218d5cc0283 io_uring: zero tag on rsrc removal
    efb020924a71 drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e455d7510db7 scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    f1933d9ee745 scsi: mvsas: Add PCI ID of RocketRaid 2640
    389f37e46bdd scsi: mpt3sas: Fail reset operation if config request timed out
    184b4fad0872 drbd: set QUEUE_FLAG_STABLE_WRITES
    6a03581ccffa drm/amd/display: Fix allocate_mst_payload assert on resume
    ac2eb310af05 drm/amd/display: Revert FEC check in validation
    eab8e585840f drm/amd/display: Enable power gating before init_pipes
    d8860f1f9e41 spi: cadence-quadspi: fix protocol setup for non-1-1-X operations
    6d48df738272 myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    b416898442f2 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    c3f86aef97cf Drivers: hv: balloon: Disable balloon and hot-add accordingly
    1c9fdb9587e0 net: axienet: setup mdio unconditionally
    61dd8bef80c2 tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    ed2711c696ce arm64: alternatives: mark patch_alternative() as `noinstr`
    cfd24b14eb2d regulator: wm8994: Add an off-on delay for WM8994 variant
    86d1cdf56fc5 gpu: ipu-v3: Fix dev_dbg frequency output
    4583205048ae ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    6eecc4811a47 net: micrel: fix KS8851_MLL Kconfig
    9e60a788a3f7 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    026083cb43a4 scsi: lpfc: Fix queue failures when recovering from PCI parity error
    b7f3b5d70c83 scsi: target: tcmu: Fix possible page UAF
    44f95a5aae99 Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    92a3499933c1 PCI: hv: Propagate coherence from VMbus device to PCI device
    1b576e81d31b Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests
    f2658d5966bc drm/amdkfd: Check for potential null return of kmalloc_array()
    9f0fabf30b48 drm/amdgpu/vcn: improve vcn dpg stop procedure
    25efb191d86b drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7a3bc11a4034 drm/amd/display: Update VTEM Infopacket definition
    92951699a5f1 drm/amd/display: FEC check in timing validation
    b054e8183fbd drm/amd/display: fix audio format not updated after edid updated
    37bc29a44538 drm/amdgpu/gmc: use PCI BARs for APUs in passthrough
    5a3b56a4a1c7 drm/amdgpu: conduct a proper cleanup of PDB bo
    01dcda701fef btrfs: do not warn for free space inode in cow_file_range
    bb93369f93b5 btrfs: fix fallocate to use file_modified to update permissions consistently
    6dded62e5aa6 drm/amd: Add USBC connector ID
    3e67054c339c block: fix offset/size check in bio_trim()
    279018a01b08 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    b8c0f6d1b04c vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used
    5fda973f0ece dm mpath: only use ktime_get_ns() in historical selector
    9901b07ba42b cifs: potential buffer overflow in handling symlinks
    9ded5ae40f4f nfc: nci: add flush_workqueue to prevent uaf
    331c99ee8dcb net: ftgmac100: access hardware register after clock ready
    8f79ce226ad2 macvlan: Fix leaking skb in source mode with nodst option
    8e86fba13479 perf tools: Fix misleading add event PMU debug message
    1665758b4bfd ALSA: usb-audio: Limit max buffer and period sizes per time
    6b38c5722610 ALSA: usb-audio: Increase max buffer size
    7399ed8e6a8d testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    9947548d9cef io_uring: verify pad field is 0 in io_get_ext_arg
    7a7c9f9de961 io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
    22aa1597f462 io_uring: move io_uring_rsrc_update2 validation
    cb981d5c7511 ALSA: mtpav: Don't call card private_free at probe error path
    872e5fa0781f ALSA: ad1889: Fix the missing snd_card_free() call at probe error
    96aceacda8d2 netfilter: nf_tables: nft_parse_register can return a negative value
    90c153ca45da sctp: Initialize daddr on peeled off socket
    50d46b5ce004 scsi: iscsi: Fix unbound endpoint error handling
    578616ac3d87 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    485780af7ef1 scsi: iscsi: Fix endpoint reuse regression
    cbd4f4e40944 scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    cc0082d45de1 scsi: iscsi: Move iscsi_ep_disconnect()
    d6f6f945e850 scsi: pm80xx: Enable upper inbound, outbound queues
    b02c509ceef4 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    3a523807f014 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    66b3107a4a06 drm/msm/dp: add fail safe mode outside of event_mutex context
    815006c33391 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    a6549b364be4 drm/msm: Fix range size vs end confusion
    1c86b7ea63ff netfilter: nft_socket: make cgroup match work in input too
    5a52384a5134 cfg80211: hold bss_lock while updating nontrans_list
    d5be67ecbeff net/sched: taprio: Check if socket flags are valid
    62a48383ebe2 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    72f9c15854b0 net: dsa: felix: suppress -EPROBE_DEFER errors
    13faa76cf572 net/sched: fix initialization order when updating chain 0 head
    4c979e6fcec8 mlxsw: i2c: Fix initialization error flow
    152b813d8ba5 net: mdio: don't defer probe forever if PHY IRQ provider is missing
    675e7d3086d0 cifs: release cached dentries only if mount is complete
    d40cf3492277 gpiolib: acpi: use correct format characters
    93940fc4cb81 veth: Ensure eth header is in skb's linear part
    de8a332c86a7 net/sched: flower: fix parsing of ethertype following VLAN header
    726ae7300fcc SUNRPC: Fix the svc_deferred_event trace class
    ec2ab59b9e66 media: rockchip/rga: do proper error checking in probe
    b0d8a9eb3239 firmware: arm_scmi: Fix sorting of retrieved clock rates
    e2da8f9ce3ea Revert "ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax"
    9f029cb2c92e memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    e7b1992b0722 firmware: arm_scmi: Remove clear channel call on the TX channel
    77ffc38e577d drm/msm: Add missing put_task_struct() in debugfs path
    aa4845194b9d ALSA: nm256: Don't call card private_free at probe error path
    425c83e2898d ALSA: usb-audio: Cap upper limits of buffer/period bytes for implicit fb
    3bbd4850d957 ALSA: via82xx: Fix the missing snd_card_free() call at probe error
    56e44ff13d84 ALSA: sonicvibes: Fix the missing snd_card_free() call at probe error
    73229d7cb836 ALSA: sc6000: Fix the missing snd_card_free() call at probe error
    df03ce487e1b ALSA: rme96: Fix the missing snd_card_free() call at probe error
    ef4c35339414 ALSA: rme9652: Fix the missing snd_card_free() call at probe error
    4efa63663c36 ALSA: rme32: Fix the missing snd_card_free() call at probe error
    bb94f5d98511 ALSA: riptide: Fix the missing snd_card_free() call at probe error
    4ecd10217df6 ALSA: oxygen: Fix the missing snd_card_free() call at probe error
    30b86477daaa ALSA: maestro3: Fix the missing snd_card_free() call at probe error
    5fbb73cb1208 ALSA: lx6464es: Fix the missing snd_card_free() call at probe error
    0651442d22e2 ALSA: lola: Fix the missing snd_card_free() call at probe error
    0bec8b8a57de ALSA: korg1212: Fix the missing snd_card_free() call at probe error
    d9ac5256de1f ALSA: intel_hdmi: Fix the missing snd_card_free() call at probe error
    e87b8d0ba455 ALSA: intel8x0: Fix the missing snd_card_free() call at probe error
    547c9af67b4e ALSA: ice1724: Fix the missing snd_card_free() call at probe error
    141abcbf902a ALSA: hdspm: Fix the missing snd_card_free() call at probe error
    f006a4bcf8bb ALSA: hdsp: Fix the missing snd_card_free() call at probe error
    85515309293b ALSA: galaxy: Fix the missing snd_card_free() call at probe error
    841e8f8dd21f ALSA: fm801: Fix the missing snd_card_free() call at probe error
    3a738f1b3ffd ALSA: es1968: Fix the missing snd_card_free() call at probe error
    d3c6ac7a051c ALSA: es1938: Fix the missing snd_card_free() call at probe error
    20b35ba7aa2f ALSA: ens137x: Fix the missing snd_card_free() call at probe error
    0d52c09f0c17 ALSA: emu10k1x: Fix the missing snd_card_free() call at probe error
    2a2a75ebdbd4 ALSA: echoaudio: Fix the missing snd_card_free() call at probe error
    648e89e9de29 ALSA: cs5535audio: Fix the missing snd_card_free() call at probe error
    9decc5bfd173 ALSA: cs4281: Fix the missing snd_card_free() call at probe error
    2dde47610757 ALSA: cmipci: Fix the missing snd_card_free() call at probe error
    f98476228801 ALSA: ca0106: Fix the missing snd_card_free() call at probe error
    e5a54e236f70 ALSA: bt87x: Fix the missing snd_card_free() call at probe error
    935629ba096e ALSA: azt3328: Fix the missing snd_card_free() call at probe error
    3a943321c362 ALSA: aw2: Fix the missing snd_card_free() call at probe error
    811a92b866a0 ALSA: au88x0: Fix the missing snd_card_free() call at probe error
    ea61c1bd582b ALSA: atiixp: Fix the missing snd_card_free() call at probe error
    007a9b5554e1 ALSA: als4000: Fix the missing snd_card_free() call at probe error
    291d9e5e94d0 ALSA: als300: Fix the missing snd_card_free() call at probe error
    5bc156409025 ALSA: ali5451: Fix the missing snd_card_free() call at probe error
    cfa98d6c41e0 ALSA: sis7019: Fix the missing error handling
    1479bdea76dd ALSA: core: Add snd_card_free_on_error() helper
    07cacfd9d9dc btrfs: release correct delalloc amount in direct IO write path
    8ff8bdb8c92d net: ipa: request IPA register values be retained
    587ced6b8cf3 dt-bindings: net: qcom,ipa: add optional qcom,qmp property
    7883df73fd59 soc: qcom: aoss: Expose send for generic usecase
    ec13aa4e0085 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    ed0e951463ea btrfs: remove no longer used counter when reading data page
    6308ab54c8ec btrfs: remove unused parameter nr_pages in add_ra_bio_pages()
    ff810f85ed3f ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40
    7cad1c40ef91 ACPI: processor idle: Allow playing dead in C3 state
    631473adaaef ACPI: processor idle: Check for architectural support for LPI
    5b13295ac584 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    9873fe0f3857 hamradio: remove needs_free_netdev to avoid UAF
    c799c18a287e hamradio: defer 6pack kfree after unregister_netdev
    8e663865f528 drm/amd/display: Fix p-state allow debug index on dcn31
    685a19fa6ae9 drm/amd/display: Add pstate verification and recovery for DCN31
    1b86fc15ba6d Linux 5.15.34
    c9ea4fb1f3f3 stacktrace: move filter_irq_stacks() to kernel/stacktrace.c
    fddb88bd266f powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    68cea1e243b8 static_call: Don't make __static_call_return0 static
    429f413ed83f mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    8fe51495efff irqchip/gic, gic-v3: Prevent GSI to SGI translations
    69943af22a32 powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S
    7b5d60323f90 irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling
    f4f8b6d8490e x86,static_call: Fix __static_call_return0 for i386
    ff6505766565 sched: Teach the forced-newidle balancer about CPU affinity limitation.
    f399f38eda57 x86/bug: Prevent shadowing in __WARN_FLAGS
    469eed08becd Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    f5e59185b033 mm: don't skip swap entry even if zap_details specified
    4693fce5a5d4 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    47802775bc11 selftests: cgroup: Test open-time credential usage for migration checks
    e326f218de1f selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    33db9912ff7c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    f1607e13ed71 Revert "net/mlx5: Accept devlink user input after driver initialization complete"
    226b4327ef5c KVM: avoid NULL pointer dereference in kvm_dirty_ring_push
    104bfa23a001 dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    3c3a8e56553e tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    fbe722d48b8e tools build: Filter out options and warnings not supported by clang
    9b2b01e36741 perf python: Fix probing for some clang command line options
    03044b841406 perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    3b14aa053181 Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"
    5d69622eb036 SUNRPC: Don't call connect() more than once on a TCP socket
    22174e8ce8ac rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
    9e46f7319549 selftests/bpf: Fix u8 narrow load checks for bpf_sk_lookup remote_port
    0c64645e6373 bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wide
    e2ff1d653069 Revert "selftests: net: Add tls config dependency for tls selftests"
    7f48521172fb net/smc: send directly on setting TCP_NODELAY
    20633216ded0 KVM: SVM: Allow AVIC support on system w/ physical APIC ID > 255
    b536cf3eb6f9 drm/amdgpu: don't use BACO for reset in S3
    3c8902bbf2ab drm/amdkfd: Create file descriptor after client is added to smi_clients list
    588393cdae7f drm/nouveau/pmu: Add missing callbacks for Tegra devices
    6a5d209898a6 drm/amdgpu/vcn: Fix the register setting for vcn1
    155338be5d90 drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    0115e4f2f6bc drm/amdgpu/display: change pipe policy for DCN 2.1
    28dc1503a9d3 drm/panel: ili9341: fix optional regulator handling
    b911702a0105 SUNRPC: Prevent immediate close+reconnect
    a551e6629247 amd/display: set backlight only if required
    2388f826cdc9 fbdev: Fix unregistering of framebuffers without device
    7218a789abb3 irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    fcf9ccf9d26a perf/core: Inherit event_caps
    0309f053ce47 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    8a05a6952ecd ata: sata_dwc_460ex: Fix crash due to OOB write
    136c21ce8e01 perf/x86/intel: Don't extend the pseudo-encoding to GP counters
    983a759640bf x86/mm/tlb: Revert retpoline avoidance approach
    2f67341e5bce x86/msi: Fix msi message data shadow struct
    0912cf021fb5 gpio: Restrict usage of GPIO chip irq members before initialization
    9ca11bd8222a RDMA/hfi1: Fix use-after-free bug for mm struct
    fa7cc2df9505 arm64: patch_text: Fixup last cpu should be master
    90012c6748d3 spi: core: add dma_map_dev for __spi_unmap_msg()
    887366faf0c9 btrfs: prevent subvol with swapfile from being deleted
    4b98799e181b btrfs: fix qgroup reserve overflow the qgroup limit
    56c88810466b perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids
    fab4b79e869a x86/speculation: Restore speculation related MSRs during S3 resume
    fcf185f7e03e x86/pm: Save the MSR validity status at context setup
    ba7261af2b03 io_uring: fix race between timeout flush and removal
    fe223dd2f18b io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF
    ae6cba337cbf io_uring: defer splice/tee file validity check until command issue
    056e1e7c1713 io_uring: don't check req->file in io_fsync_prep()
    198932a14aeb mm/mempolicy: fix mpol_new leak in shared_policy_replace
    a04cb99c5d46 mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    c21d040de622 highmem: fix checks in __kmap_local_sched_{in,out}
    9fb8bc6cfc58 lz4: fix LZ4_decompress_safe_partial read out of bound
    75cae557bc44 mmc: core: Fixup support for writeback-cache for eMMC and SD
    5d2712b78056 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    11497ecbda04 mmc: mmci: stm32: correctly check all elements of sg list
    1515d2a466bf mmc: block: Check for errors after write on SPI
    86b5d155fced Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    dc5e603c247d scsi: ufs: ufs-pci: Add support for Intel MTL
    25c1353dca74 scsi: mpt3sas: Fix use after free in _scsih_expander_node_remove()
    32dd8b63e633 arm64: Add part number for Arm Cortex-A78AE
    159c7db3ccbb perf session: Remap buf if there is no space for event
    58aece34fb7f perf tools: Fix perf's libperf_print callback
    e1f2750e7531 perf: arm-spe: Fix perf report --mem-mode
    47e239117bd9 iommu/omap: Fix regression in probe for NULL pointer dereference
    3fd9be3ec5c8 SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    3b32dda29f99 SUNRPC: Handle low memory situations in call_status()
    03ac680dacf9 SUNRPC: Handle ENOMEM in call_transmit_status()
    285f5d724005 io_uring: don't touch scm_fp_list after queueing skb
    50c981bd7790 io_uring: nospec index for tags on files update
    685f42de443d scsi: ufs: ufshpb: Fix a NULL check on list iterator
    a972c7687233 drbd: Fix five use after free bugs in get_initial_state
    1816af613e56 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    88a3bdcb462a spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    c9bdce2359b5 qede: confirm skb is allocated before using
    fb45e80b2194 net: phy: mscc-miim: reject clause 45 register accesses
    8ba8e1398a66 net: sfc: fix using uninitialized xdp tx_queue
    571d8e1d154c rxrpc: fix a race in rxrpc_exit_net()
    837b96d81039 net: openvswitch: fix leak of nested actions
    42b2e418f9a2 net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address()
    085d002432ac net: openvswitch: don't send internal clone attribute to the userspace.
    70cf0b820e55 ice: xsk: fix VSI state check in ice_xsk_wakeup()
    840cbbdc8bf1 ice: synchronize_rcu() when terminating rings
    070aa68f8fab ipv6: Fix stats accounting in ip6_pkt_drop
    1c0763475401 ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    5d3e9f71c310 ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    599874bbc4ed dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    2cb2b3fb20a2 sctp: count singleton chunks in assoc user stats
    92f1947c0d26 IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3b5fd693621b IB/cm: Cancel mad on the DREQ event when the state is MRA_REP_RCVD
    34b8ba1cb337 RDMA/mlx5: Add a missing update of cache->last_add
    5b88519b78e8 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d1c87d36a655 sfc: Do not free an empty page_ring
    917eeb220023 bnxt_en: Prevent XDP redirect from running when stopping TX queue
    154fc224e65e bnxt_en: reserve space inside receive page for skb_shared_info
    6108a8918fd7 bnxt_en: Synchronize tx when xdp redirects happen on same ring
    87f5d66daa5f arch/arm64: Fix topology initialization for core scheduling
    cb713eb793e6 regulator: atc260x: Fix missing active_discharge_on setting
    336942b1682f regulator: rtq2134: Fix missing active_discharge_on setting
    2560fe298e6e drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe
    31e449302ed0 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    c1e96348dbeb drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    47fec6139b5e net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    907c97986d6f net: ipv4: fix route with nexthop object delete warning
    71d28e5073b8 mctp: Fix check for dev_hard_header() result
    40229b2977f1 ice: Clear default forwarding VSI during VSI release
    ba965e8605ae skbuff: fix coalescing for page_pool fragment recycling
    13bcc6f8efcd vrf: fix packet sniffing for traffic originating from ip tunnels
    6e2f1b033b17 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    ed7a824fda87 net: sfc: add missing xdp queue reinitialization
    69ec350a417d vdpa: mlx5: prevent cvq work from hogging CPU
    893c70f8b8f3 vdpa/mlx5: Propagate link status from device to vdpa driver
    dc872b72d180 vdpa/mlx5: Rename control VQ workqueue to vdpa wq
    aefd755a9605 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    cd483e17eca2 scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map()
    0610371c768c scsi: sr: Fix typo in CDROM(CLOSETRAY|EJECT) handling
    6f52d4cda0bf NFSv4: fix open failure with O_ACCMODE flag
    9f0c217469e8 Revert "NFSv4: Handle the special Linux file open access mode"
    dcd6b1a624c0 Drivers: hv: vmbus: Fix potential crash on module unload
    5ba9d78a7294 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    985d87e6a365 rtc: mc146818-lib: fix RTC presence check
    be6c3152d6f6 rtc: Check return value from mc146818_get_time()
    8c6921075222 rtc: mc146818-lib: change return values of mc146818_get_time()
    c9f50e06ca76 mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    93a8347f72c0 parisc: Fix patch code locking and flushing
    f77f482ec31a parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    30dd4af48a9e selftests: net: Add tls config dependency for tls selftests
    ea029e4ce760 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    da747de68599 NFS: nfsiod should not block forever in mempool_alloc()
    e04ef859d6c6 SUNRPC: Fix socket waits for write buffer space
    d925b7e78b62 jfs: prevent NULL deref in diFree
    44c2d5fbe7b2 virtio_console: eliminate anonymous module_init & module_exit
    053bbff873a1 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    c393a9f4cb3b x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    e3c961c56ad5 x86: Annotate call_on_stack()
    6bb2270223a8 NFS: swap-out must always use STABLE writes.
    24d28d9b0fd5 NFS: swap IO handling is slightly different for O_DIRECT IO
    a55386405094 SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    20700aa01bc2 SUNRPC/xprt: async tasks mustn't block waiting for memory
    a19fd1d61797 SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    b07387c476a3 clk: Enforce that disjoints limits are invalid
    15bfec9d8030 clk: ti: Preserve node in ti_dt_clocks_register()
    5c0750cad733 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    12e49aefda2e habanalabs: fix possible memory leak in MMU DR fini
    a34752aa2397 NFSv4: Protect the state recovery thread against direct reclaim
    b37f482ba9f0 NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    24acdd5f9c91 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    86efcb524ae1 staging: wfx: fix an error handling in wfx_init_common()
    7295544bcf56 opp: Expose of-node's name in debugfs
    ea1f29584136 cpufreq: CPPC: Fix performance/frequency conversion
    26f0a9e3d04d clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568
    caffa76ded5a phy: amlogic: meson8b-usb2: fix shared reset control use
    ab27675a0fcc phy: amlogic: meson8b-usb2: Use dev_err_probe()
    35df38c4be0c phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use
    42f2142a337e staging: vchiq_core: handle NULL result of find_service_by_handle
    176df12b38c7 staging: vchiq_arm: Avoid NULL ptr deref in vchiq_dump_platform_instances
    161863aec0e1 clk: si5341: fix reported clk_rate when output divider is 2
    31e027259ce4 minix: fix bug when opening a file with O_DIRECT
    4602b7a8ee0d init/main.c: return 1 from handled __setup() functions
    9d849449d28f lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option
    2fe82d325402 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    3ae7163598c6 ceph: fix inode reference leakage in ceph_get_snapdir()
    eb0e7173d9cb netlabel: fix out-of-bounds memory accesses
    58d52743ae85 netfilter: conntrack: revisit gc autotuning
    d404765dffdb Bluetooth: Fix use after free in hci_send_acl
    f249bbf3cb9a MIPS: ingenic: correct unit node address
    11ba1aa21280 xtensa: fix DTC warning unit_address_format
    13946d5a68ef mt76: fix monitor mode crash with sdio driver
    ac27808b82db usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    0616792164d3 net: sfp: add 2500base-X quirk for Lantech SFP module
    459e56859f7a net/mlx5e: Remove overzealous validations in netlink EEPROM query
    1c4561d9b5cb net: limit altnames to 64k total
    601f748029f3 net: account alternate interface name memory
    d804db3dafd1 riscv: Fixed misaligned memory access. Fixed pointer comparison.
    6ca71078a91e can: etas_es58x: es58x_fd_rx_event_msg(): initialize rx_event_msg before calling es58x_check_msg_len()
    db9a140a8585 can: isotp: set default value for N_As to 50 micro seconds
    f581df412bc4 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    2a71e3ecd829 powerpc/secvar: fix refcount leak in format_show()
    5c80ff21c5db powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E
    9b85e31309c2 MIPS: fix fortify panic when copying asm exception handlers
    dc9d33b2d8d0 PCI: endpoint: Fix misused goto label
    b6d4b322da46 bnxt_en: Eliminate unintended link toggle during FW reset
    42b6a39f439b Bluetooth: use memset avoid memory leaks
    0000de40b9f3 Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    bb78c3b11f4d tuntap: add sanity checks about msg_controllen in sendmsg
    e8d8f1d091e4 macvtap: advertise link netns via netlink
    5fb47ca34908 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    58758110912d net/smc: correct settings of RMB window update limit
    dd111d335cab scsi: hisi_sas: Limit users changing debugfs BIST count value
    f05a0d8de2ea scsi: hisi_sas: Free irq vectors in order for v3 HW
    b8fa10d7c8fc scsi: aha152x: Fix aha152x_setup() __setup handler return value
    556ec5030e57 mt76: mt7615: Fix assigning negative values to unsigned variable
    c3543bac6efa powerpc/64s/hash: Make hash faults work in NMI context
    df467929a040 mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU
    e5ecdb01952f scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    43c617eefab7 scsi: pm8001: Fix tag leaks on error
    2290dcad6f65 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    ece79aaec8fc scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    5e4ac14baebb scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    5e96bb81eddf vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA
    f325d3e1dcc8 drm/amdkfd: make CRAT table missing message informational only
    da52e8b9dad6 dm: requeue IO if mapping table not yet available
    02cc46f397eb dm ioctl: prevent potential spectre v1 gadget
    049072749a5e ipv4: Invalidate neighbour for broadcast address upon address addition
    e45d1d19a0bb drm/msm/dsi: Remove spurious IRQF_ONESHOT flag
    e1b5aae5b6b0 iwlwifi: mvm: move only to an enabled channel
    6f215801c302 iwlwifi: mvm: Correctly set fragmented EBS
    d353d3b27af4 usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks()
    c64f3707cdf9 net/mlx5e: Disable TX queues before registering the netdev
    83efc05c8579 power: supply: axp288-charger: Set Vhold to 4.4V
    6def4eaf0391 powerpc/set_memory: Avoid spinlock recursion in change_page_attr()
    5d76a88b8536 scsi: mpi3mr: Fix memory leaks
    248ead78f346 scsi: mpi3mr: Fix reporting of actual data transfer size
    53643a112dd6 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    aa9c9fd0ef9d tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    bd21b9607bd7 PCI: endpoint: Fix alignment fault error in copy tests
    2aa10e2fa2ab usb: ehci: add pci device support for Aspeed platforms
    99073052f45b iommu/arm-smmu-v3: fix event handling soft lockup
    60eabd66d17f PCI: aardvark: Fix support for MSI interrupts
    330c4e1b4ec4 scsi: smartpqi: Fix kdump issue when controller is locked up
    0a922366d6d9 drm/amdgpu: Fix recursive locking warning
    06ee48a4fc25 powerpc: Set crashkernel offset to mid of RMA region
    9c1ace066f22 net: initialize init_net earlier
    4790998fdd0d ipv6: make mc_forwarding atomic
    e9da1df2c021 libbpf: Fix build issue with llvm-readelf
    19d067c10b71 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    55c93a89e31d mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    38fbe8066450 mt76: mt7921: fix crash when startup fails.
    793a37045893 power: supply: axp20x_battery: properly report current when discharging
    a0f8220ce934 drm/v3d: fix missing unlock
    0f8ec114029a scsi: bfa: Replace snprintf() with sysfs_emit()
    1378075fa5bc scsi: mvsas: Replace snprintf() with sysfs_emit()
    1c6ffdf4cc45 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    ff13c90d7f7a drm/bridge: Add missing pm_runtime_put_sync
    35380262304f net/smc: Send directly when TCP_CORK is cleared
    20d01a11efde ath11k: mhi: use mhi_sync_power_up()
    fed4cef115ab ath11k: pci: fix crash on suspend if board file is not found
    c4b7653af62a ath11k: fix kernel panic during unload/load ath11k modules
    910ee99d47d3 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    e84b0438010d drm/amdkfd: Don't take process mutex for svm ioctls
    1eb598045326 ptp: replace snprintf with sysfs_emit
    052fb1c9ddfb usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value
    c27576bbbe77 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    111a63235001 usb: gadget: tegra-xudc: Do not program SPARAM
    6040c99cb1a1 drm/amd/display: Use PSR version selected during set_psr_caps
    7e10369c72db drm/amd/display: Fix memory leak
    3edd8646cb7c drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    c4b64a80554e drm/amd/display: Add signal type check when verify stream backends same
    be2f81024e79 ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    b3ca02c1ee93 drm: Add orientation quirk for GPD Win Max
    d5f6f44e04c3 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    a997e0f5aa55 KVM: x86/pmu: Fix and isolate TSX-specific performance event logic
    e7bab9898249 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    5483640f8efb KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode()
    a82fe0ba1c52 KVM: x86/pmu: Use different raw event masks for AMD and Intel
    105b50d9bb82 kfence: limit currently covered allocations when pool nearly full
    44b44b64b4da kfence: move saving stack trace of allocations into __kfence_alloc()
    72d2d94a981d kfence: count unexpectedly skipped allocations
    5142720dbe51 nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
    64742cf82dec nbd: Fix hungtask when nbd_config_put
    694b5a32c162 nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add
    3e526e9ae0e4 nbd: add error handling support for add_disk()
    f8008f42d463 rtc: wm8350: Handle error for wm8350_register_irq
    b257272f5483 um: fix and optimize xor select template for CONFIG64 and timetravel mode
    2be1a7f09635 lib/logic_iomem: correct fallback config references

(From OE-Core rev: 2104966bb02100e661ce77887470b0df7a877ff2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39e9635c34b773f671870dec4c1953daef576b16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
dd1d4a5f70 linux-yocto/5.15: netfilter: conntrack: avoid useless indirection during conntrack destruction
Integrating the following commit(s) to linux-yocto/5.15:

    07a63f760793 netfilter: conntrack: avoid useless indirection during conntrack destruction

(From OE-Core rev: abf7178c03248f58caf403b6f80039ae23ed9bdf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2aaf2429474da762d305d6fb70996b5502c879c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
304e8e2496 linux-yocto/5.15: fix ppc boot
The 5.15-stable series pulled in the following commit:

   commit c894ac44786cfed383a6c6b20c1bfb12eb96018a
   Author: Thomas Zimmermann <tzimmermann@suse.de>
   Date:   Tue Jan 25 10:12:18 2022 +0100

    fbdev: Hot-unplug firmware fb devices on forced removal

    commit 27599aacbaefcbf2af7b06b0029459bbf682000d upstream.

    Hot-unplug all firmware-framebuffer devices as part of removing
    them via remove_conflicting_framebuffers() et al. Releases all
    memory regions to be acquired by native drivers.

    Firmware, such as EFI, install a framebuffer while posting the
    computer. After removing the firmware-framebuffer device from fbdev,
    a native driver takes over the hardware and the firmware framebuffer
    becomes invalid.

    Firmware-framebuffer drivers, specifically simplefb, don't release
    their device from Linux' device hierarchy. It still owns the firmware
    framebuffer and blocks the native drivers from loading. This has been
    observed in the vmwgfx driver. [1]

    Initiating a device removal (i.e., hot unplug) as part of
    remove_conflicting_framebuffers() removes the underlying device and
    returns the memory range to the system.

    [1] https://lore.kernel.org/dri-devel/20220117180359.18114-1-zack@kde.org/

    v2:
            * rename variable 'dev' to 'device' (Javier)

    Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
    Reported-by: Zack Rusin <zackr@vmware.com>
    Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
    Reviewed-by: Zack Rusin <zackr@vmware.com>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    CC: stable@vger.kernel.org # v5.11+
    Link: https://patchwork.freedesktop.org/patch/msgid/20220125091222.21457-2-tzimmermann@suse.de
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

And this is causing qemuppc to panic during boot when manipulating
the fbdev.

Reverting it fixes the problem, and won't cause issues for other
platforms, so we revert it.

(From OE-Core rev: 99d112f2d8f0c8b99ac8057bac93629284e0c5e2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f69fca36ef10f7345bba08c55d8af2628d250a32)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
74dbe8d878 linux-yocto/5.15: kasan: fix BUG: sleeping function called from invalid context
Integrating the following commit(s) to linux-yocto/5.15:

    7ba4cb36fd4f rcu: Avoid alloc_pages() when recording stack
    f78574dee71e kasan: test: silence intentional read overflow warnings
    d313cb89b6b1 kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOC
    5e279d5647cc arm64: support page mapping percpu first chunk allocator
    e5bf16752dca vmalloc: choose a better start address in vm_area_register_early()
    660b3d21b46f kasan: test: bypass __alloc_size checks
    00aa7573e53a kasan: test: add memcpy test that avoids out-of-bounds write
    67becf0b1bd4 kasan: fix tag for large allocations when using CONFIG_SLAB
    bedf1e033213 workqueue, kasan: avoid alloc_pages() when recording stack
    7195b67ce69b kasan: generic: introduce kasan_record_aux_stack_noalloc()
    bdff763f0e29 kasan: common: provide can_alloc in kasan_save_stack()
    51423ebb36ad lib/stackdepot: introduce __stack_depot_save()
    85373e66d847 lib/stackdepot: remove unused function argument
    5b6cc9b251f3 lib/stackdepot: include gfp.h

Link: https://lkml.kernel.org/r/20210913112609.2651084-1-elver@google.com
Link: https://lkml.kernel.org/r/20210913112609.2651084-2-elver@google.com

(From OE-Core rev: 65126f10d8483f7e8a41c66a2377687601c27e13)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9075595074609c80af3530d4660b88ce0f76744)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
f31412cd99 linux-yocto/5.15: base: enable kernel crypto userspace API
Integrating the following commit(s) to linux-yocto/.:

    645b337371e base.cfg: enable kernel crypto userspace API

(From OE-Core rev: 0b6d826557cb395a9d4ed5bab85145314707071f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c769807e3a150496f62be88bec9678c9f9dce211)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
635c414737 linux-yocto/5.15: update to v5.15.33
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    06f50ca83ace Linux 5.15.33
    541b7456fc4d PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
    39fd0cc079c9 coredump: Use the vma snapshot in fill_files_note
    cabd69640957 coredump/elf: Pass coredump_params into fill_note_info
    7ba958df6449 coredump: Remove the WARN_ON in dump_vma_snapshot
    f6ca862806df coredump: Snapshot the vmas in do_coredump
    57c04fac8023 iommu/dma: Account for min_align_mask w/swiotlb
    3e44e136560c swiotlb: Support aligned swiotlb buffers
    52d23f5f0915 iommu/dma: Check CONFIG_SWIOTLB more broadly
    bc05d84824c0 iommu/dma: Fold _swiotlb helpers into callers
    c3841d020b82 iommu/dma: Skip extra sync during unmap w/swiotlb
    8771d9673e0b KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
    b0e8e828acb5 mmc: rtsx: Fix build errors/warnings for unused variable
    8af04b6aa02b mmc: rtsx: Let MMC core handle runtime PM
    a9bbdeef768f n64cart: convert bi_disk to bi_bdev->bd_disk fix build
    2a710a5c59e9 torture: Make torture.sh help message match reality
    acabfc943245 openvswitch: Fixed nd target mask field in the flow dump.
    3fc38521fc30 docs: sysctl/kernel: add missing bit to panic_print
    166abd13eab0 um: Fix uml_mconsole stop/go
    94a53804ec3a arm64: dts: ls1046a: Update i2c node dma properties
    32820c358d1b arm64: dts: ls1043a: Update i2c dma properties
    28a020859c00 ARM: dts: spear13xx: Update SPI dma properties
    7aa9bba18f80 ARM: dts: spear1340: Update serial node properties
    dd8772224c19 spi: mediatek: support tick_delay without enhance_timing
    2a6e0695ddd5 media: ov6650: Fix crop rectangle affected by set format
    3995d4cf529c media: ov6650: Add try support to selection API operations
    8f5e6110e108 perf vendor events: Update metrics for SkyLake Server
    b0e5c18317f7 ASoC: topology: Allow TLV control to be either read or write
    678b6901d00b ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV
    ba8260872dd5 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
    666176d0f9bb dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix example
    e918b36600d6 dt-bindings: memory: mtk-smi: No need mediatek,larb-id for mt8167
    b2b85196a31a dt-bindings: spi: mxic: The interrupt property is not mandatory
    c19a9d307844 dt-bindings: mtd: nand-controller: Fix a comment in the examples
    716a77f8460d dt-bindings: mtd: nand-controller: Fix the reg property description
    8ec990990be3 mmc: rtsx: Use pm_runtime_{get,put}() to handle runtime PM
    50c906a6977f bpf: Fix comment for helper bpf_current_task_under_cgroup()
    398ac11f4425 bpf: Adjust BPF stack helper functions to accommodate skip > 0
    21b6b8d43d87 af_unix: Support POLLPRI for OOB.
    260daa256d30 mm/usercopy: return 1 from hardened_usercopy __setup() handler
    c9acbcd636ab mm/memcontrol: return 1 from cgroup.memory __setup() handler
    48ddbd8b4e42 ARM: 9187/1: JIVE: fix return value of __setup handler
    6795b20d4b2c mm/mmap: return 1 from stack_guard_gap __setup() handler
    23629b673b78 net: preserve skb_end_offset() in skb_unclone_keeptruesize()
    51e458fc0ca6 net: add skb_set_end_offset() helper
    14d552ab31ed tracing: Have type enum modifications copy the strings
    7007c894631c Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    63351e2e1362 ASoC: soc-compress: Change the check for codec_dai
    7ed3cce2fe68 arm64: mm: Drop 'const' from conditional arm64_dma_phys_limit definition
    5ab0f5e238b9 staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
    0e39097efcb5 scsi: qla2xxx: Add qla2x00_async_done() for async routines
    b9cf1208af36 drm/connector: Fix typo in documentation
    5b422da35c15 proc: bootconfig: Add null pointer check
    f78f56488cd3 can: isotp: restore accidentally removed MSG_PEEK feature
    3fc81968625a platform/chrome: cros_ec_typec: Check for EC device
    8c1c3c00dceb spi: Fix Tegra QSPI example
    7480cc0240eb vhost: handle error while adding split ranges to iotlb
    97b5593fd1b1 ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
    dae252901378 riscv module: remove (NOLOAD)
    0853bd6885c2 io_uring: fix memory leak of uid in files registration
    5b9ac3727e4a block: Fix the maximum minor value is blk_alloc_ext_minor()
    21cfddd5e0f6 ARM: iop32x: offset IRQ numbers by 1
    1a3f1cf87054 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
    619709f0c608 ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
    d509d41d89c5 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
    3e51c3023228 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
    b603cbe08b0b net: sparx5: uses, depends on BRIDGE or !BRIDGE
    84817c83c0e7 watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
    d02ca80ec735 pinctrl: pinconf-generic: Print arguments for bias-pull-*
    4913daecd04a watch_queue: Free the page array when watch_queue is dismantled
    210891d81b9c crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
    c78d23ea7506 mailbox: imx: fix wakeup failure from freeze mode
    8cbf4ae7a283 rxrpc: Fix call timer start racing with call destruction
    432297011caf rxrpc: fix some null-ptr-deref bugs in server_key.c
    88570bda6e48 net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
    a0817ad3f283 net: hns3: fix the concurrency between functions reading debugfs
    5c3c9bce1c99 gfs2: Make sure FITRIM minlen is rounded up to fs block size
    1d8195349742 gfs2: gfs2_setattr_size error path fix
    50ed32e67c5c rtc: check if __rtc_read_time was successful
    9f20ce95db3d modpost: restore the warning message for missing symbol versions
    7aae60df6782 XArray: Update the LRU list in xas_split()
    be8ebbabac94 can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
    fa9c1f14002d can: mcba_usb: properly check endpoint type
    37f07ad24866 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
    7521a97b1929 XArray: Fix xas_create_range() when multi-order entry present
    9af42a4f6d81 wireguard: socket: ignore v6 endpoints when ipv6 is disabled
    402991a97715 wireguard: socket: free skb in send6 when ipv6 is disabled
    6a7245252fdc wireguard: queueing: use CFI-safe ptr_ring cleanup function
    c98f792a1468 nvme: fix the read-only state for zoned namespaces with unsupposed features
    7d18d6c71372 nvme: allow duplicate NSIDs for private namespaces
    578bf41d9443 ubifs: rename_whiteout: correct old_dir size computing
    4f75bab98565 ubifs: Fix to add refcount once page is set private
    a7054aaf1909 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
    56cf8b26b18e ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
    489c3a2577b3 ubifs: Rectify space amount budget for mkdir/tmpfile operations
    a9662bec5a4d ubifs: Fix 'ui->dirty' race between do_tmpfile() and writeback work
    c67bc98d1f08 ubifs: Rename whiteout atomically
    ff846f2c5d1d ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
    c58af8564a7b ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
    2ad07009c459 ubifs: rename_whiteout: Fix double free for whiteout_ui->data
    3fa2d7479605 KVM: SVM: fix panic on out-of-bounds guest IRQ
    63961ac1359e KVM: x86: fix sending PV IPI
    43637ee17092 KVM: Prevent module exit until all VMs are freed
    ba6e8c2df520 KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
    0e5dbc0540ba KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
    569a229142e9 KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
    81e5b16de862 platform: chrome: Split trace include file
    89dad346c241 scsi: qla2xxx: Use correct feature type field during RFF_ID processing
    f63fde0d16a4 scsi: qla2xxx: Reduce false trigger to login
    20909563bd50 scsi: qla2xxx: Fix stuck session of PRLI reject
    2b612191f9d3 scsi: qla2xxx: Fix N2N inconsistent PLOGI
    c9d6081a5f18 scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
    d6f691a133f0 scsi: qla2xxx: Fix hang due to session stuck
    7ccd6063874d scsi: qla2xxx: Fix incorrect reporting of task management failure
    c0300beb313f scsi: qla2xxx: Fix disk failure to rediscover
    9c33d49ab9f3 scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
    d1b7d23cd462 scsi: qla2xxx: Check for firmware dump already collected
    812afc2b8ec0 scsi: qla2xxx: Add devids and conditionals for 28xx
    d70d86f7a6ea scsi: qla2xxx: Fix T10 PI tag escape and IP guard options for 28XX adapters
    2df59f3bb240 scsi: qla2xxx: edif: Fix clang warning
    fbc1aa41269a scsi: qla2xxx: Fix device reconnect in loop topology
    b6c95db6d2e8 scsi: qla2xxx: Fix warning for missing error code
    67b1be130861 scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
    5ef6319f9882 scsi: qla2xxx: Fix premature hw access after PCI error
    826a9d4a00d1 scsi: qla2xxx: Fix scheduling while atomic
    7a3457777c4f scsi: qla2xxx: Fix warning message due to adisc being flushed
    5fb0a488028e scsi: qla2xxx: Fix stuck session in gpdb
    e17111dd2fda scsi: qla2xxx: Implement ref count for SRB
    24e86eae3f7b scsi: qla2xxx: Refactor asynchronous command initialization
    f5a0cf225f8d drm/i915: Reject unsupported TMDS rates on ICL+
    beeebae6ea82 drm/i915: Fix PSF GV point mask when SAGV is not possible
    102cba6d5ae2 drm/i915: Treat SAGV block time 0 as SAGV disabled
    e912d697400c drm/dp: Fix off-by-one in register cache size
    2d67222b2380 powerpc: Fix build errors with newer binutils
    f4b0b5a0f3c1 powerpc: Add set_memory_{p/np}() and remove set_memory_attr()
    a29341e48601 powerpc/lib/sstep: Fix build errors with newer binutils
    d25efd904271 powerpc/lib/sstep: Fix 'sthcx' instruction
    5a3d8f3192a4 powerpc/kasan: Fix early region not updated correctly
    cb188e07105f KVM: x86: hyper-v: HVCALL_SEND_IPI_EX is an XMM fast hypercall
    5c3d0dbe200f KVM: x86: hyper-v: Fix the maximum number of sparse banks for XMM fast TLB flush hypercalls
    72eae60bfe83 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_flush_tlb()
    dbec906dbef6 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_send_ipi()
    f4fd34eaa767 KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
    af47248407c0 KVM: x86/mmu: Zap _all_ roots when unmapping gfn range in TDP MMU
    31a70b170e06 KVM: x86/mmu: Move "invalid" check out of kvm_tdp_mmu_get_root()
    48306afcac2a KVM: x86: Reinitialize context if host userspace toggles EFER.LME
    273ad0cf5684 ALSA: hda/realtek: Add alc256-samsung-headphone fixup
    fe440221ca0f media: atomisp: fix bad usage at error handling logic
    251a11699fe5 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
    7c6bd60999f3 tracing: Have TRACE_DEFINE_ENUM affect trace event types as well
    ae2b93b0a6a7 ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13"
    f90db7cca4d4 media: hdpvr: initialize dev->worker at hdpvr_register_videodev
    deb1f0453198 media: Revert "media: em28xx: add missing em28xx_close_extension"
    96a7522c72c4 media: i2c: ov5648: Fix lockdep error
    eae90015d10f video: fbdev: sm712fb: Fix crash in smtcfb_write()
    a07c7b64eadf ASoC: amd: vg: fix for pm resume callback sequence
    4ab0293c961b ARM: mmp: Fix failure to remove sram device
    f8ef3b979bfa ARM: tegra: tamonten: Fix I2C3 pad setting
    6a1c70de40b5 lib/test_lockup: fix kernel pointer check for separate address spaces
    8b2a6074b981 uaccess: fix type mismatch warnings from access_ok()
    cb5bd93ad218 media: cx88-mpeg: clear interrupt status register before streaming video
    02f9f97d54ff media: imx-jpeg: fix a bug of accessing array out of bounds
    0b620fce5eae ASoC: soc-core: skip zero num_dai component in searching dai name
    80e6bbe4e193 ARM: dts: bcm2711: Add the missing L1/L2 cache information
    2d5c47df8e21 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
    e7f5b1c56921 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
    509bc99aba95 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
    79045b61875d arm64: defconfig: build imx-sdma as a module
    c7129c401f55 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
    330de92eb10f ARM: ftrace: avoid redundant loads or clobbering IP
    3f887cb763a0 media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
    8b6b38083a29 media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
    1c17870f26d9 ASoC: madera: Add dependencies on MFD
    35a2aeb70fe6 ARM: dts: bcm2837: Add the missing L1/L2 cache information
    93b85b6e8358 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
    521796018815 video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
    6fe23ff94e78 video: fbdev: cirrusfb: check pixclock to avoid divide by zero
    9522e11e8636 video: fbdev: w100fb: Reset global state
    9ff2f7294ab0 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
    77fbe028d5a3 media: iommu/mediatek: Add device_link between the consumer and the larb devices
    4dd3e2d1bd70 media: iommu/mediatek: Return ENODEV if the device is NULL
    1515d1414967 media: iommu/mediatek-v1: Free the existed fwspec if the master dev already has
    eff76b180751 media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers
    47b45e08e5ad ASoC: SOF: Intel: match sdw version on link_slaves_found
    205db54b159f ASoC: sh: rz-ssi: Make the data structures available before registering the handlers
    2011363c1968 media: ir_toy: free before error exiting
    0b2313042634 media: atmel: atmel-isc-base: report frame sizes as full supported range
    3681eb1fd45c media: staging: media: zoran: fix various V4L2 compliance errors
    7e76f3ed7ab2 media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
    ff3357bffd9f media: staging: media: zoran: move videodev alloc
    24ab2d4ef52c ntfs: add sanity check on allocation size
    9dd6bb11df64 Adjust cifssb maximum read size
    1a55c48bba81 f2fs: compress: fix to print raw data size in error path of lz4 decompression
    2eff60346e7a f2fs: use spin_lock to avoid hang
    c78bada18aa1 btrfs: make search_csum_tree return 0 if we get -EFBIG
    40d006dfedd6 btrfs: harden identification of a stale device
    58d3aa672d13 f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs
    7260793c13e9 NFSD: Fix nfsd_breaker_owns_lease() return values
    f68caedf264a f2fs: fix to do sanity check on curseg->alloc_type
    a0856764dc12 ext4: don't BUG if someone dirty pages without asking ext4 first
    7cca463f1030 sched/tracing: Report TASK_RTLOCK_WAIT tasks as TASK_UNINTERRUPTIBLE
    6a6beb074186 ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
    572d14e6cec4 ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
    1388c10b3257 locking/lockdep: Iterate lock_classes directly when reading lockdep files
    95bc0ba6bef8 atomics: Fix atomic64_{read_acquire,set_release} fallbacks
    75fe5dcb1653 spi: tegra20: Use of_device_get_match_data()
    ffe0c4916795 nvme-tcp: lockdep: annotate in-kernel sockets
    b3ea76bda7f7 parisc: Fix handling off probe non-access faults
    c29642ba72f8 PM: core: keep irq flags in device_pm_check_callbacks()
    c02f2d420a44 ACPI/APEI: Limit printable size of BERT table data
    65d8a737452e Revert "Revert "block, bfq: honor already-setup queue merges""
    5b8d69c8c107 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
    33ccf4f81785 ACPICA: Avoid walking the ACPI Namespace if it is not there
    080665e2c3cb bfq: fix use-after-free in bfq_dispatch_request
    e0943c456b60 fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
    757322b5aba9 irqchip/nvic: Release nvic_base upon failure
    dabfc878ef6f irqchip/qcom-pdc: Fix broken locking
    05ba7d0c639f Fix incorrect type in assignment of ipv6 port for audit
    860d36424d1b loop: use sysfs_emit() in the sysfs xxx show()
    55d192691b4b selinux: allow FIOCLEX and FIONCLEX with policy capability
    e48c260b0b2a arm64: module: remove (NOLOAD) from linker script
    15bb7a467b2b selinux: use correct type for context length
    8f34dea99cd7 block, bfq: don't move oom_bfqq
    69d41c77aadf crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3
    f84b1633004d crypto: xts - Add softdep on ecb
    e11293de5cf6 block/bfq_wf2q: correct weight to ioprio
    e34806c6c29d rcu: Mark writes to the rcu_segcblist structure's ->flags field
    99780fcb5494 pinctrl: npcm: Fix broken references to chip->parent_device
    999ee266531b gcc-plugins/stackleak: Exactly match strings instead of prefixes
    ca97dfbda510 crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos
    4941c21090c3 regulator: rpi-panel: Handle I2C errors/timing to the Atmel
    f3f93a1aaafc LSM: general protection fault in legacy_parse_param
    c331c9d1d2b7 fs: fix fd table size alignment properly
    611170142b42 lib/test: use after free in register_test_dev_kmod()
    136736abcd35 fs: fd tables have to be multiples of BITS_PER_LONG
    fd3f70b90772 net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
    a738ff8143d8 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
    bcbf4e5c3b5b net/sched: act_ct: fix ref leak when switching zones
    72dd9e61fa31 net: prefer nf_ct_put instead of nf_conntrack_put
    6b663fa23c7e octeontx2-af: initialize action variable
    b375ea083fa6 net: sparx5: switchdev: fix possible NULL pointer dereference
    409570a619c1 net/x25: Fix null-ptr-deref caused by x25_disconnect
    c416e9bb85a6 qlcnic: dcb: default to returning -EOPNOTSUPP
    e87c47df2193 net: sparx5: depends on PTP_1588_CLOCK_OPTIONAL
    34a5c64951c3 net: hns3: clean residual vf config after disable sriov
    c95578235888 NFS: Don't loop forever in nfs_do_recoalesce()
    667760fe01e9 selftests: test_vxlan_under_vrf: Fix broken test case
    2d05a007096e net: phy: broadcom: Fix brcm_fet_config_init()
    2dc73ba93202 net: hns3: refine the process when PF set VF VLAN
    ee7e9a9d73d9 net: hns3: format the output of the MAC address
    30f0ff7176ef net: hns3: add vlan list lock to protect vlan list
    02948e5782ce net: hns3: fix port base vlan add fail when concurrent with reset
    5e528c0e0618 net: hns3: fix bug when PF set the duplicate MAC address for VFs
    be6937a11b1c net: enetc: report software timestamping via SO_TIMESTAMPING
    af884b276b08 xen: fix is_xen_pmu()
    6c17fd7a6f5d clk: Initialize orphan req_rate
    8b320893461c vsock/virtio: enable VQs early on probe
    b64bf5464ad5 vsock/virtio: read the negotiated features before using VQs
    10c6cb867ffa vsock/virtio: initialize vdev->priv before using VQs
    c07a9d2a1d1d clk: qcom: gcc-msm8994: Fix gpll4 width
    e16b5f077980 perf stat: Fix forked applications enablement of counters
    c532caa7df8c kdb: Fix the putarea helper function
    0445609a7ace NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
    4ee7a4b67770 SUNRPC don't resend a task on an offlined transport
    6195af5ad801 netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
    6bbfe9a715ea jfs: fix divide error in dbNextAG
    104852921ff6 driver core: dd: fix return value of __setup handler
    20fab30930f3 firmware: google: Properly state IOMEM dependency
    af6e1b06d0ba kgdbts: fix return value of __setup handler
    1d5103d9bb7d virt: acrn: fix a memory leak in acrn_dev_ioctl()
    b9c43aa0b18d virt: acrn: obtain pa from VMA with PFNMAP flag
    16e323804732 serial: 8250: fix XOFF/XON sending when DMA is used
    a885e17cf5f2 kgdboc: fix return value of __setup handler
    e1338178f35e tty: hvc: fix return value of __setup handler
    e35a555b5a9d pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
    c52703355766 pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
    84940deb8dd3 pinctrl: microchip-sgpio: lock RMW access
    c6f009fe90f1 pinctrl: microchip sgpio: use reset driver
    a843ba2e9c87 pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
    070d46aee151 pinctrl: mediatek: paris: Fix pingroup pin config state readback
    1190c1a5828a pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
    a8d236a32934 pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
    3ddbb9ba7579 pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
    127a5d3e732d staging: mt7621-dts: fix GB-PC2 devicetree
    b24dfa54d6e8 staging: mt7621-dts: fix pinctrl properties for ethernet
    97d01fabee69 staging: mt7621-dts: fix formatting
    1293b7481d73 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
    75ee75cc360a NFS: remove unneeded check in decode_devicenotify_args()
    8bddc0227e78 mailbox: imx: fix crash in resume on i.mx8ulp
    613e1b253f6d clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
    4be3e4c05d8d clk: Fix clk_hw_get_clk() when dev is NULL
    071c958f8e1b clk: clps711x: Terminate clk_div_table with sentinel element
    0415dce6228c clk: hisilicon: Terminate clk_div_table with sentinel element
    f4aee7714a1c clk: loongson1: Terminate clk_div_table with sentinel element
    7608a654a294 clk: actions: Terminate clk_div_table with sentinel element
    be8ab90a3a77 nvdimm/region: Fix default alignment for small regions
    bd4771ba2cf9 remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
    9c28309d6a5e remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
    9a809b902e1d remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
    95deff8996fb dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
    2a9b575627fc clk: qcom: clk-rcg2: Update the frac table for pixel clock
    34dca60982e9 clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
    7a778371f9f2 clk: at91: sama7g5: fix parents of PDMCs' GCLK
    4b8a71f206c9 clk: imx: off by one in imx_lpcg_parse_clks_from_dt()
    4bd979ee9927 clk: imx7d: Remove audio_mclk_root_clk
    c39a750b61f7 dma-debug: fix return value of __setup handlers
    872a7b12af43 staging: r8188eu: fix endless loop in recv_func
    18dc19571210 NFS: Return valid errors from nfs2/3_decode_dirent()
    8a842f88d0e2 habanalabs: Add check for pci_enable_device
    82546d91d588 iio: adc: Add check for devm_request_threaded_irq
    3e843460fb42 serial: 8250: Fix race condition in RTS-after-send handling
    ba3a3390c9b1 NFS: Use of mapping_set_error() results in spurious errors
    b59173ff16fb serial: 8250_lpss: Balance reference count for PCI DMA device
    3a1131f7d2a8 serial: 8250_mid: Balance reference count for PCI DMA device
    675216a820ec phy: phy-brcm-usb: fixup BCM4908 support
    d9a3c2949d04 phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
    ca3d7cf53d8f clk: qcom: ipq8074: Use floor ops for SDCC1 clock
    8c54f6c900d1 pinctrl: renesas: checker: Fix miscalculation of number of states
    d19fb1d659ba pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
    157a22ca80c5 staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
    d6c4fc0d903f serial: 8250_aspeed_vuart: add PORT_ASPEED_VUART port type
    011e841cd11b iio: mma8452: Fix probe failing when an i2c_device_id is used
    cad1a3b1f481 dmaengine: idxd: restore traffic class defaults after wq reset
    7bebc9519691 dmaengine: idxd: change bandwidth token to read buffers
    e509584b079a dmaengine: idxd: check GENCAP config support for gencfg register
    41e360fa73a4 clk: qcom: ipq8074: fix PCI-E clock oops
    9a5f4da1ea27 soundwire: intel: fix wrong register name in intel_shim_wake
    251aabcb0b09 cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
    2d7a9c09be64 misc: alcor_pci: Fix an error handling path
    72c4f4200f98 fsi: Aspeed: Fix a potential double free
    8adfd166fb32 pps: clients: gpio: Propagate return value from pps_gpio_probe
    6f4f778f2747 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
    28a886a308ed fsi: scom: Remove retries in indirect scoms
    9fdc543b0e2a fsi: scom: Fix error handling
    b125b08dbee3 mxser: fix xmit_buf leak in activate when LSR == 0xff
    7a68abde36e1 staging: r8188eu: release_firmware is not called if allocation fails
    1768384f61d1 staging: r8188eu: convert DBG_88E_LEVEL call in hal/rtl8188e_hal_init.c
    a9e88c2618d2 kernel/resource: fix kfree() of bootmem memory again
    585dc196a08f drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool
    eec20eea27a0 ice: don't allow to run ice_send_event_to_aux() in atomic ctx
    9b77c8cf69a4 ice: fix 'scheduling while atomic' on aux critical err interrupt
    c64223a8d188 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
    21a2b4ab48a4 tipc: fix the timer expires after interval 100ms
    95df5cd5a446 net: dsa: fix panic on shutdown if multi-chip tree failed to probe
    894347d4d29b openvswitch: always update flow key after nat
    862002402333 tcp: ensure PMTU updates are processed during fastopen
    06d836801cd8 net: bcmgenet: Use stronger register read/writes to assure ordering
    40092a8ac089 PCI: Avoid broken MSI on SB600 USB devices
    dd1043342e45 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
    33d39efb61a8 powerpc/pseries: Fix use after free in remove_phb_dynamic()
    226ec1997de7 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
    0ee072f91326 netfilter: conntrack: Add and use nf_ct_set_auto_assign_helper_warned()
    9b2bbf36b9cf i2c: meson: Fix wrong speed use from probe
    7409ff6393a6 af_netlink: Fix shift out of bounds in group mask calculation
    9151982547ee ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
    770a97d3f34b Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
    60283d3ad395 Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
    7235485433d2 Bluetooth: hci_uart: add missing NULL check in h5_enqueue
    292e8478ae0a selftests/bpf: Fix error reporting from sock_fields programs
    48e785075f9e af_unix: Fix some data-races around unix_sk(sk)->oob_skb.
    1bd58abf595b ibmvnic: fix race between xmit and reset
    3f798111077a bareudp: use ipv6_mod_enabled to check if IPv6 enabled
    b184a8fa7dd4 can: isotp: support MSG_TRUNC flag when reading from socket
    05e4e7d9bbb3 can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
    f343dbe82314 can: isotp: sanitize CAN ID checks in isotp_bind()
    9265c09b2415 mt76: mt7921: fix mt7921_queues_acq implementation
    2a85c4cb3b15 netfilter: flowtable: Fix QinQ and pppoe support for inet table
    7ff346ee019b drm/i915/display: Fix HPD short pulse handling for eDP
    5d48ddbcafdf USB: storage: ums-realtek: fix error code in rts51x_read_mem()
    bc2c4dc5b566 samples/bpf, xdpsock: Fix race when running for fix duration of time
    cb6f141ae705 bpf, sockmap: Fix double uncharge the mem of sk_msg
    168ff181f5b6 bpf, sockmap: Fix more uncharged while msg has more_data
    de3a8d8fab07 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
    ef9785f42979 bpf, sockmap: Fix memleak in sk_psock_queue_msg
    8dd392e352d3 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
    b089f7fc89f9 Revert "RDMA/core: Fix ib_qp_usecnt_dec() called when error"
    d52dab6e0355 RDMA/irdma: Prevent some integer underflows
    18e65ab351cf power: ab8500_chargalg: Use CLOCK_MONOTONIC
    fe0e2ce5c87e mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
    d29cda15cab0 MIPS: pgalloc: fix memory leak caused by pgd_free()
    d5e41310bd72 MIPS: RB532: fix return value of __setup handler
    69155dc2e047 mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
    32939187f254 ath10k: Fix error handling in ath10k_setup_msa_resources
    9d04f4a15fe0 vxcan: enable local echo for sent CAN frames
    45962427aca2 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
    88242bd033e2 scsi: mpt3sas: Fix incorrect 4GB boundary check
    ee773b7018d6 platform/x86: huawei-wmi: check the return value of device_create_file()
    fdee6b347cb8 selftests/bpf: Make test_lwt_ip_encap more stable and faster
    adc4a1ed139e libbpf: Unmap rings when umem deleted
    0a0c75ce5e26 mfd: mc13xxx: Add check for mc13xxx_irq_request
    4a852ff9b7be powerpc/64s: Don't use DSISR for SLB faults
    b55697c2a274 powerpc/sysdev: fix incorrect use to determine if list is empty
    804338913d27 MIPS: Sanitise Cavium switch cases in TLB handler synthesizers
    be48780b4dec mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
    f23b4c9c6a5a drm/msm/a6xx: Fix missing ARRAY_SIZE() check
    62f44f554d1c net: axienet: fix RX ring refill allocation failure handling
    e37d269734ee PCI: Reduce warnings on possible RW1C corruption
    4c3c666ecc6a RDMA/core: Fix ib_qp_usecnt_dec() called when error
    c5505076073b IB/hfi1: Allow larger MTU without AIP
    4124966fbd95 power: supply: wm8350-power: Add missing free in free_charger_irq
    1318caf07507 power: supply: wm8350-power: Handle error for wm8350_register_irq
    8659aba5cab3 i2c: xiic: Make bus names unique
    383798d13aea hv_balloon: rate-limit "Unhandled message" warning
    5baa1283d698 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
    468b136c2ca1 KVM: x86: Fix emulation in writing cr8
    29322cd03678 powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
    451472dc178f powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
    6792c0b56252 libbpf: Skip forward declaration when counting duplicated type names
    c06577a80485 gpu: host1x: Fix a memory leak in 'host1x_remove()'
    2154f7cadd88 RDMA/irdma: Remove incorrect masking of PD
    a0051c05312e RDMA/irdma: Fix Passthrough mode in VM
    5e96bb45c936 RDMA/irdma: Fix netdev notifications for vlan's
    ad7219cd8751 xsk: Fix race at socket teardown
    c08f23081c9b bpf, arm64: Feed byte-offset into bpf line info
    c301772c219d bpf, arm64: Call build_prologue() first in first JIT pass
    ffe0526c2e17 drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    849e6be7d66d scsi: hisi_sas: Change permission of parameter prot_mask
    1003a85d0a30 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
    852c1f5f3119 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
    3813591bc046 ext2: correct max file size computing
    0c80fe5ea1b3 power: supply: sbs-charger: Don't cancel work that is not initialized
    c2554b47644f TOMOYO: fix __setup handlers return values
    bd443887ed2a drm/amd/display: Remove vupdate_int_entry definition
    847f8677e367 RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
    c8db786858d8 scsi: pm8001: Fix abort all task initialization
    c6c95cdd5138 scsi: pm8001: Fix NCQ NON DATA command completion handling
    e4fce9af88ec scsi: pm8001: Fix NCQ NON DATA command task initialization
    03865ae38771 scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
    b453d71af756 scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
    d14d1f88d8c2 scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
    fc1d7c820287 scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
    e332a97c4358 scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
    3a9bb3afd0cb scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
    4e878e41e900 scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
    08f0b58e2a5f scsi: fnic: Fix a tracing statement
    aed99c7648cb vfio/pci: wake-up devices around reset functions
    4319f17fb826 vfio/pci: fix memory leak during D3hot to D0 transition
    5f3856f3ba10 dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
    590bc324ac4e drm/msm/dpu: fix dp audio condition
    9b625cee90a9 drm/msm/dpu: add DSPP blocks teardown
    ea009273d0c2 drm/msm/dsi/phy: fix 7nm v4.0 settings for C-PHY mode
    04ed3cd92999 drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent
    47e2060f2366 drm/msm/dp: always add fail-safe mode into connector mode list
    740d2330760e drm/msm/dp: stop link training after link training 2 failed
    9525b8bcae8b drm/msm/dp: populate connector of struct dp_panel
    2c4de9b94227 mtd: rawnand: pl353: Set the nand chip node as the flash node
    a2095c3e0309 iwlwifi: mvm: Fix an error code in iwl_mvm_up()
    01e36bdb95e7 iwlwifi: Fix -EIO error code that is never returned
    a3bb5cda4fed iwlwifi: yoyo: remove DBGI_SRAM address reset writing
    06511eed8177 iwlwifi: mvm: align locking in D3 test debugfs
    ec9b77481aaf iwlwifi: mvm: don't iterate unadded vifs when handling FW SMPS req
    21053d707480 iwlwifi: mvm: Don't call iwl_mvm_sta_from_mac80211() with NULL sta
    2de35ae362f3 selftests: mptcp: add csum mib check for mptcp_connect
    e2951eaa9398 dax: make sure inodes are flushed before destroy cache
    c08208f2635c IB/cma: Allow XRC INI QPs to set their local ACK timeout
    d85baefc858f libbpf: Fix memleak in libbpf_netlink_recv()
    0f47edc22c2b drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
    ac98fdec1114 drm/amd/pm: enable pm sysfs write for one VF mode
    28093e78e0f2 bpftool: Fix the error when lookup in no-btf maps
    64c06df2428b drm/bridge: anx7625: Fix overflow issue on reading EDID
    d6c7f46b8f05 iommu/ipmmu-vmsa: Check for error num after setting mask
    b5b285818754 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
    ffb8e92b4cef power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
    9dea119df0fa libbpf: Use dynamically allocated buffer when receiving netlink messages
    f2a19db2a941 drm/bridge: dw-hdmi: use safe format when first in bridge chain
    2f0949db6e2c libbpf: Fix compilation warning due to mismatched printf format
    0255e93dce7a net:enetc: allocate CBD ring data memory using DMA coherent methods
    721992163e0c cxl/regs: Fix size of CXL Capability Header Register
    0e348f94787f cxl/core: Fix cxl_probe_component_regs() error message
    855f1c64e21e libbpf: Fix signedness bug in btf_dump_array_data()
    cdb2150050c7 RDMA/rxe: Check the last packet by RXE_END_MASK
    ed750e22e443 PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
    0fe94b84c43c PCI: aardvark: Fix reading MSI interrupt number
    1f0add37ac5c igb: refactor XDP registration
    ab8c107470d1 igc: avoid kernel warning when changing RX ring parameters
    ea6b04796c87 mtd: mchp48l640: Add SPI ID table
    21e78798b206 mtd: mchp23k256: Add SPI ID table
    0eec5e2748f1 i2c: bcm2835: Fix the error handling in 'bcm2835_i2c_probe()'
    0b01811fc193 i2c: bcm2835: Use platform_get_irq() to get the interrupt
    b96a7265f763 net: asix: add proper error handling of usb read errors
    b997cfdc3f98 livepatch: Fix build failure on 32 bits processors
    34bed8dae12a scripts/dtc: Call pkg-config POSIXly correct
    0aec294f2d2f mac80211: limit bandwidth in HE capabilities
    a41efae062bf mac80211: Remove a couple of obsolete TODO
    5ad6b337e4ac net: dsa: mv88e6xxx: Enable port policy support on 6097
    b2dea2a696d0 ptp: unregister virtual clocks when unregistering physical clock.
    a53c147ac496 mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
    fd1fcad5c053 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
    443cb1bc8a96 mt76: mt7615: fix a leftover race in runtime-pm
    421cb64c91dd mt76: mt7921: fix a leftover race in runtime-pm
    0f3d76144b9c mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
    60d815fd4338 mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
    203a1e1230cf mt76: connac: fix sta_rec_wtbl tag len
    94fd8a2a47c8 powerpc/perf: Don't use perf_hw_context for trace IMC PMU
    0dc750479a5f KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
    10686b028059 powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
    9acf7c2f3145 ray_cs: Check ioremap return value
    3a4bcc4cb612 power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
    cb42b6cfc5b0 ixgbe: respect metadata on XSK Rx to skb
    8c072b8e3226 ixgbe: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    6dc18226976c ixgbe: pass bi->xdp to ixgbe_construct_skb_zc() directly
    28e561f3660d igc: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    0e2f6a7f59f1 i40e: respect metadata on XSK Rx to skb
    968c76e96afd i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    7ad4f7729f0e selftests/net: timestamping: Fix bind_phc check
    5bedd66a59e5 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
    72c179f650f6 RDMA/core: Set MR type in ib_reg_user_mr
    0b700f7d0649 ath9k_htc: fix uninit value bugs
    c41832e7dadd selftests/bpf/test_xdp_redirect_multi: use temp netns for testing
    a5c1c0920cf6 selftests/bpf: Normalize XDP section names in selftests
    f00346b30a7c net: phy: at803x: move page selection fix to config_init
    b175bc586410 drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
    bdc7429708a0 drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
    408ab78ca138 drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
    2e05de23052d ionic: Don't send reset commands if FW isn't running
    4f69a923a388 ionic: start watchdog after all is setup
    76624b5a61c7 ionic: fix type complaint in ionic_dev_cmd_clean()
    da491fc54e4e drm/edid: Split deep color modes between RGB and YUV444
    19da408ab41c drm/edid: Don't clear formats if using deep color
    8480efe815e5 mtd: rawnand: gpmi: fix controller timings setting
    5b1f32593955 mtd: onenand: Check for error irq
    041e5b8a62e6 Bluetooth: hci_serdev: call init_rwsem() before p->open()
    9d42e744685c Bluetooth: btintel: Fix WBS setting for Intel legacy ROM products
    0b96610a7b74 selftests: bpf: Fix bind on used port
    0728ccb66468 drm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_encode_decode
    51b82141fffa bpf: Fix UAF due to race between btf_try_get_module and load_module
    811b667cefbe udmabuf: validate ubuf->pagecount
    e5f642c55f4c bpftool: Only set obj->skeleton on complete success
    b385ebe91ae9 libbpf: Fix possible NULL pointer dereference when destroying skeleton
    34d0a99fa09a drm/panfrost: Check for error num after setting mask
    2ff993b3daa4 drm/v3d/v3d_drv: Check for error num after setting mask
    982d824a9b27 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
    66b805b63527 drm: bridge: adv7511: Fix ADV7535 HPD enablement
    c43b4106cfc5 drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
    4db8e14ce478 drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
    f20a990784ee drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
    461656a5e9be drm/meson: Fix error handling when afbcd.ops->init fails
    1c5439a71612 drm/meson: split out encoder from meson_dw_hdmi
    ffcfa1669316 drm/meson: Make use of the helper function devm_platform_ioremap_resourcexxx()
    d2a0678dff46 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
    d81d72b912dc ARM: configs: multi_v5_defconfig: re-enable DRM_PANEL and FB_xxx
    c4d2a100f104 ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
    c2e5f5d23718 ASoC: amd: Fix reference to PCM buffer address
    2f44eca78cc6 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
    e2aeafc6509c ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
    f589063b585a ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
    f2b0fc2a46a6 mmc: davinci_mmc: Handle error for clk_enable
    9668c6bca12a ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
    42735eae94ee ASoC: SOF: Intel: enable DMI L1 for playback streams
    b23b524b8bbd ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
    06e6f4ba2534 ASoC: fsl_spdif: Disable TX clock when stop
    44acdaf7acb6 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
    1ecf9dcf2868 ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
    39c2894dfc08 ASoC: rk817: Fix missing clk_disable_unprepare() in rk817_platform_probe
    87e04a89c31e ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe
    56e0f1696a96 ASoC: mediatek: use of_device_get_match_data()
    5441ab46dd43 ASoC: SOF: Add missing of_node_put() in imx8m_probe
    6724217bfbfd ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
    f32ac9bf5e3f ASoC: atmel: Fix error handling in snd_proto_probe
    1e77cab218e4 ivtv: fix incorrect device_caps for ivtvfb
    a8523efdc946 media: saa7134: fix incorrect use to determine if list is empty
    a41fc6d02d82 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
    c19312809931 ASoC: fsi: Add check for clk_enable
    0bdb861b7d1b ASoC: wm8350: Handle error for wm8350_register_irq
    a0bc36b247dc ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
    9dd2fd7a1f84 media: vidtv: Check for null return of vzalloc
    a09e9882800f media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
    ea2258664ffc m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
    178b32112be1 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
    eab74c416120 ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
    2883fb9838fc memory: emif: check the pointer temp in get_device_details()
    50d934cea574 memory: emif: Add check for setup_interrupts
    fc237b8d624f ASoC: soc-compress: prevent the potentially use of null pointer
    d70d4a3ff5f2 ASoC: dwc-i2s: Handle errors for clk_enable
    58b64ee38637 ASoC: atmel_ssc_dai: Handle errors for clk_enable
    152d62d80960 ASoC: mxs-saif: Handle errors for clk_enable
    f64c5b235b47 printk: fix return value of printk.devkmsg __setup handler
    0fbd610e68c2 arm64: dts: broadcom: Fix sata nodename
    de64846df9fe arm64: dts: ns2: Fix spi-cpol and spi-cpha property
    b98940965daf ALSA: spi: Add check for clk_enable()
    89676d9e8c84 ASoC: ti: davinci-i2s: Add check for clk_enable()
    0a96bff46a5e mmc: sdhci_am654: Fix the driver data of AM64 SoC
    7c31acd9ca79 soc: mediatek: pm-domains: Add wakeup capacity support in power domain
    9db742370304 ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
    3fa8114be4a2 uaccess: fix nios2 and microblaze get_user_8()
    469277ff5ac8 vsprintf: Fix %pK with kptr_restrict == 0
    8611161ea715 lib: uninline simple_strntoull() as well
    34dd193d2329 selftests/lkdtm: Add UBSAN config
    f58159509b62 media: ov5640: Fix set format, v4l2_mbus_pixelcode not updated
    b1b91b31627d media: v4l2-core: Initialize h264 scaling matrix
    7399b9b62277 ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
    c42e96af49ef ASoC: codecs: wcd934x: fix kcontrol max values
    363490abe0be ASoC: codecs: wcd938x: fix kcontrol max values
    adafea71b49e ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
    966408e37d84 ASoC: codecs: va-macro: fix accessing array out of bounds for enum type
    eb15c6ea692f ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type
    9208ecc703b5 ASoC: codecs: rx-macro: fix accessing compander for aux
    56dcb5480687 media: cedrus: h264: Fix neighbour info buffer size
    dd6454742581 media: cedrus: H265: Fix neighbour info buffer size
    895364fa97e6 media: usb: go7007: s2250-board: fix leak in probe()
    332d45fe51d7 media: em28xx: initialize refcount before kref_get
    aa613ac27029 media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats()
    12cb301cc5cb media: video/hdmi: handle short reads of hdmi info frame.
    0d05a58ea3b9 media: mexon-ge2d: fixup frames size in registers
    498ab2d70a9d ARM: dts: imx: Add missing LVDS decoder on M53Menlo
    2305e3460b42 vsprintf: Fix potential unaligned access
    b4c8675a710a ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
    49db8d166d7b soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
    42dab81e9309 firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
    19e4c3b037ff arm64: dts: qcom: sm8350: Correct TCS configuration for apps rsc
    8026415d7f54 arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
    17790ef9ad1f arm64: dts: broadcom: bcm4908: use proper TWD binding
    cc3a67e4147e arm64: dts: qcom: sm8250: fix PCIe bindings to follow schema
    4514dc92a353 arm64: dts: qcom: sdm845: fix microphone bias properties and values
    15565049d729 soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
    1874365f3c17 soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
    724376c30af5 soc: qcom: rpmpd: Check for null return of devm_kcalloc
    d761d62022bb ARM: dts: qcom: ipq4019: fix sleep clock
    b14f6a7d3608 firmware: qcom: scm: Remove reassignment to desc following initializer
    6c4cc4d36966 ARM: dts: Fix OpenBMC flash layout label addresses
    c3364cbc3762 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
    f3ef254c840d video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
    c420b540db4b video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
    24cfeb466146 video: fbdev: controlfb: Fix COMPILE_TEST build
    02684dd83332 video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
    96eb48f017cd media: aspeed: Correct value for h-total-pixels
    4a3051977327 media: ov5648: Don't pack controls struct
    26b1865f1fd4 media: v4l: Avoid unaligned access warnings when printing 4cc modifiers
    ef35afc268c5 media: ov6650: Fix set format try processing path
    4ea548312052 media: hantro: Fix overfill bottom register field name
    b0b890dd8df3 media: meson: vdec: potential dereference of null pointer
    c3590ec1161d media: coda: Fix missing put_device() call in coda_get_vdoa_data
    f0344f0aee4d ASoC: simple-card-utils: Set sysclk on all components
    bb0a0e23dd00 ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
    1179081ba5fa ASoC: codecs: Check for error pointer after calling devm_regmap_init_mmio
    e48b189799d3 ASoC: sh: rz-ssi: Drop calling rz_ssi_pio_recv() recursively
    f7d07ad8bc03 media: atmel: atmel-sama7g5-isc: fix ispck leftover
    25b925f94a36 media: bttv: fix WARNING regression on tunerless devices
    e1854a6c3a68 media: imx: imx8mq-mipi_csi2: fix system resume
    72d79cd3c3ad media: imx: imx8mq-mipi-csi2: remove wrong irq config write operation
    0022dc8cafa5 media: mtk-vcodec: potential dereference of null pointer
    48d00e24822e media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
    1fbc023f8173 media: staging: media: imx: imx7-mipi-csis: Make subdev name unique
    74cbe85fa044 media: camss: vfe-170: fix "VFE halt timeout" error
    9af4e473668a media: camss: csid-170: set the right HALT_CMD when disabled
    a3b104487f74 media: camss: csid-170: don't enable unused irqs
    20d5934825b9 media: camss: csid-170: fix non-10bit formats
    0ac903a7bde9 media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
    b84343a9d676 pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios
    9a24d035c5eb kunit: make kunit_test_timeout compatible with comment
    9ca7b59e7877 drivers/base/memory: add memory block to memory group after registration succeeded
    5bed6c2c1ffe selftests, x86: fix how check_cc.sh is being invoked
    0f42a02e4773 f2fs: fix compressed file start atomic write may cause data corruption
    1a97987f76b4 btrfs: fix unexpected error path when reflinking an inline extent
    2911ad0249c5 f2fs: fix to avoid potential deadlock
    1e0e63ad6243 sched/rt: Plug rt_mutex_setprio() vs push_rt_task() race
    b7aec0843e28 sched/cpuacct: Fix charge percpu cpuusage
    cc91880f0417 nfsd: more robust allocation failure handling in nfsd_file_cache_init
    d1eaaf6caded f2fs: fix missing free nid in f2fs_handle_failed_inode
    ec5884cbbfd3 sched/fair: Improve consistency of allowed NUMA balance calculations
    df5e0a0b3a4e perf/x86/intel/pt: Fix address filter config for 32-bit kernel
    929d8a87f709 perf/core: Fix address filter parser for multiple filters
    3bb11f3f6872 rseq: Remove broken uapi field layout on 32-bit little endian
    d2c741290f7e sched/uclamp: Fix iowait boost escaping uclamp restriction
    6c7276622393 sched/core: Export pelt_thermal_tp
    8bc68c44d97f sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
    d8c8dd97bb8c f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
    f69aecb49968 watch_queue: Actually free the watch
    695c47cea02b watch_queue: Fix NULL dereference in error cleanup
    109dda451021 io_uring: terminate manual loop iterator loop correctly for non-vecs
    1323976e9448 io_uring: don't check unrelated req->open.how in accept request
    657edec8987a clocksource: acpi_pm: fix return value of __setup handler
    9b181ad309c6 hwmon: (pmbus) Add Vin unit off handling
    41887c82e76f hwrng: nomadik - Change clk_disable to clk_disable_unprepare
    335bf1fc74f7 crypto: ccree - Fix use after free in cc_cipher_exit()
    20550eb187e8 crypto: ccp - ccp_dmaengine_unregister release dma channels
    166b2478152c ACPI: APEI: fix return value of __setup handlers
    bfa4a733aeaa KEYS: trusted: Avoid calling null function trusted_key_exit
    b0efbe7e88c7 KEYS: trusted: Fix trusted key backends when building as module
    d362998e8df9 arm64: prevent instrumentation of bp hardening callbacks
    df04ef63347f clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
    abc6b2a12a3e clocksource/drivers/timer-microchip-pit64b: Use notrace
    a81de4315ecf clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
    e34ba9ff04ee clocksource/drivers/exynos_mct: Refactor resources allocation
    97e3aaace46e clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
    58c9d407ce82 crypto: vmx - add missing dependencies
    f9474039df09 crypto: gemini - call finalize with bh disabled
    6ce48276d736 crypto: amlogic - call finalize with bh disabled
    67bc6890b981 crypto: sun8i-ce - call finalize with bh disabled
    05e13c5e4f8e crypto: sun8i-ss - call finalize with bh disabled
    2684f459f919 hwrng: atmel - disable trng on failure path
    f8a1392c099b spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
    7e45fc93dde2 PM: suspend: fix return value of __setup handler
    d0cd9da501f6 PM: hibernate: fix __setup handler error handling
    efaa0e969261 block: don't delete queue kobject before its children
    b9070c866aa3 nvme: fix the check for duplicate unique identifiers
    2340a15d3914 nvme: cleanup __nvme_check_ids
    a015dd1b8a54 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
    3a70165fc788 hwmon: (pmbus) Add mutex to regulator ops
    f2757af27bf3 spi: pxa2xx-pci: Balance reference count for PCI DMA device
    40dba7c26e89 crypto: hisilicon/sec - fix the aead software fallback for engine
    c71e4d45dcc4 crypto: ccree - don't attempt 0 len DMA mappings
    0c366ade8606 EVM: fix the evm= __setup handler return value
    3a10df731516 audit: log AUDIT_TIME_* records only from rules
    8e8724b87afe crypto: rockchip - ECB does not need IV
    4d6e00474872 selftests/sgx: Treat CC as one argument
    d9172393f0f6 selftests/x86: Add validity check and allow field splitting
    e129fb065106 blk-cgroup: set blkg iostat after percpu stat aggregation
    c17eb1586c94 arm64/mm: avoid fixmap race condition when create pud mapping
    8550c9b846c5 stack: Constrain and fix stack offset randomization with Clang builds
    8effc4dc79a5 spi: tegra210-quad: Fix missin IRQ check in tegra_qspi_probe
    906315cb82d6 spi: tegra114: Add missing IRQ check in tegra_spi_probe
    e6374086f249 crypto: octeontx2 - remove CONFIG_DM_CRYPT check
    9ada174f47b3 thermal: int340x: Check for NULL after calling kmemdup()
    486d4c18f207 selinux: Fix selinux_sb_mnt_opts_compat()
    c111b3c1a257 crypto: mxs-dcp - Fix scatterlist processing
    af3c34eb9410 crypto: authenc - Fix sleep in atomic context in decrypt_tail
    8f10a38c9212 crypto: sun8i-ss - really disable hash on A80
    046f1499aef8 hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    7919dfd84b35 hwrng: cavium - Check health status while reading random data
    0e67b3e1f93a crypto: ccp - Ensure psp_ret is always init'd in __sev_platform_init_locked()
    01d508417055 selinux: check return value of sel_make_avc_files
    aeeb944e7f91 selinux: access superblock_security_struct in LSM blob way
    ae2ff8d991b6 regulator: qcom_smd: fix for_each_child.cocci warnings
    9bbe88d1023f PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
    920facf23305 PCI: pciehp: Clear cmd_busy bit in polling mode
    86ca87591870 PCI: imx6: Allow to probe when dw_pcie_wait_for_link() fails
    312d3d4f49e1 drm/i915/gem: add missing boundary check in vm_access
    d8b8bd1d03ee drm/i915/opregion: check port number bounds for SWSCI display power state
    2b08e0189b02 brcmfmac: pcie: Fix crashes due to early IRQs
    a7ea6de3bdd5 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
    b6957a10747c brcmfmac: pcie: Declare missing firmware files in pcie.c
    a88337a06966 brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
    6e2dfa829026 brcmfmac: firmware: Allocate space for default boardrev in nvram
    51f0af904fb6 drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB
    713f1fefb6c6 drm/nouveau/backlight: Just set all backlight types as RAW
    80de94c4ab4e drm/nouveau/backlight: Fix LVDS backlight detection on some laptops
    7585d0f56f29 drm/syncobj: flatten dma_fence_chains on transfer
    85814e6461b8 xtensa: fix xtensa_wsr always writing 0
    821907e8f516 xtensa: fix stop_machine_cpuslocked call in patch_text
    e28bace5e7dc xtensa: define update_mmu_tlb function
    00c6bb4cea62 btrfs: verify the tranisd of the to-be-written dirty extent buffer
    f85ee0c845fd btrfs: extend locking to all space_info members accesses
    68a8120e1647 btrfs: zoned: mark relocation as writing
    2bd666b0fd28 media: davinci: vpif: fix unbalanced runtime PM enable
    12159871e1b4 media: davinci: vpif: fix unbalanced runtime PM get
    992af22dab9c media: venus: venc: Fix h264 8x8 transform control
    d5fcfc4af806 media: venus: hfi_cmds: List HDR10 property as unsupported for v1 and v3
    0a45148635f8 media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
    3e3c8d88e0ca DEC: Limit PMAX memory probing to R3k systems
    2039163c30f8 PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()
    74e2d61e4faa bcache: fixup multiple threads crash
    2221a0f6c90c crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
    dc7cacd209c8 crypto: rsa-pkcs1pad - restore signature length check
    5013dbd89101 crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
    9c8d8f87c213 crypto: rsa-pkcs1pad - only allow with rsa
    1290eb4412aa exec: Force single empty string when argv is empty
    d342786a0e94 lib/raid6/test: fix multiple definition linking error
    137c66d5f915 thermal: int340x: Increase bitmap size
    bc5f440e1c5c pstore: Don't use semaphores in always-atomic-context code
    10a15d91bcba carl9170: fix missing bit-wise or operator for tx_params
    1d89cb2c72d6 mgag200 fix memmapsl configuration in GCTL6 register
    bd0cc79722df ARM: dts: exynos: add missing HDMI supplies on SMDK5420
    661016b895e6 ARM: dts: exynos: add missing HDMI supplies on SMDK5250
    d4577ac55725 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
    cc7c9d207fce ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
    64b3bc9050d8 ARM: dts: at91: sama7g5: Remove unused properties in i2c nodes
    cdcaec46a6b2 rfkill: make new event layout opt-in
    677a5f6c81b5 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
    46cdbff26c88 video: fbdev: sm712fb: Fix crash in smtcfb_read()
    c894ac44786c fbdev: Hot-unplug firmware fb devices on forced removal
    6e72980d588e drm/edid: check basic audio support on CEA extension block
    2e76c69c85f9 block: don't merge across cgroup boundaries if blkcg is enabled
    6a11b52b498d block: limit request dispatch loop duration
    f1dd8c1186be mailbox: tegra-hsp: Flush whole channel
    3d4b396a616d landlock: Use square brackets around "landlock-ruleset"
    20fbf100f84b samples/landlock: Fix path_list memory leak
    3eb18f8a1d02 drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
    3c65b7309d2e ext4: make mb_optimize_scan performance mount option work with extents
    597393cde841 ext4: fix fs corruption when tring to remove a non-empty directory with IO error
    73fa1798233c ext4: fix ext4_fc_stats trace point
    6cdb84dd0c8d coredump: Also dump first pages of non-executable ELF libraries
    8a7f9d9c3f6a ACPI: properties: Consistently return -ENOENT if there are no more references
    2e2eb55823df Revert "ACPI: Pass the same capabilities to the _OSC regardless of the query flag"
    b6094744e261 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
    5e3bd996d2c8 arm64: dts: ti: k3-am64: Fix gic-v3 compatible regs
    96181539a521 arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
    e931b8494a51 arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
    146ad3e0177d arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
    393a8a0f971e arm64: dts: qcom: sm8250: Fix MSI IRQ for PCIe1 and PCIe2
    a01e1eaf5407 arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
    556e8e0a27c8 arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
    e04a1de51cf6 PCI: fu740: Force 2.5GT/s for initial device probe
    ec5ebfd1ce35 powerpc/kvm: Fix kvm_use_magic_page
    024c2a0db53a drbd: fix potential silent data corruption
    39483fd3b2d2 tracing: Have trace event string test handle zero length strings
    12ea1f73690b dm integrity: set journal entry unused when shrinking device
    737d5e25e28d dm: fix double accounting of flush with data
    dc77afd7491e dm: interlock pending dm_io and dm_wait_for_bios_completion
    0987f00a76a1 dm: fix use-after-free in dm_cleanup_zoned_dev()
    d3444138ff0d dm stats: fix too short end duration_ns when using precise_timestamps
    7d3bd683e084 mm/kmemleak: reset tag when compare object pointer
    7d04d6d5c114 mm,hwpoison: unmap poisoned page before invalidation
    d4835551fd9f Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
    a07a4b75cccb mm: madvise: return correct bytes advised with process_madvise
    27d96f11b0a2 mm: madvise: skip unmapped vma holes passed to process_madvise
    476df5994878 drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels
    7c5312fdb1dc ocfs2: fix crash when mount with quota enabled
    cd2722e411e8 rtc: pl031: fix rtc features null pointer dereference
    8e167fdd4f62 rtc: mc146818-lib: fix locking in mc146818_set_time
    0cc320929ac6 ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
    7777744e92a0 ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
    f9f37a956de1 ALSA: hda: Avoid unsol event during RPM suspending
    cf4cd2a5d0ae ALSA: cs4236: fix an incorrect NULL check on list iterator
    39a4bf7d1a23 cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
    f143f8334fb9 cifs: prevent bad output lengths in smb2_ioctl_query_info()
    665cf5507470 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
    305a5303d1da riscv: Increase stack size under KASAN
    ee29fe27818e riscv: Fix fill_callchain return value
    3c4a1c81900c riscv: dts: canaan: Fix SPI3 bus width
    876a9bdfd9af qed: validate and restrict untrusted VFs vlan promisc mode
    4d8323922ea9 qed: display VF trust config
    59a4bc52f111 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
    cbf4e2f4f700 scsi: scsi_transport_fc: Fix FPIN Link Integrity statistics counters
    64b0fe4808bd scsi: ufs: Fix runtime PM messages never-ending cycle
    6ade94e6afc6 scsi: core: sd: Add silence_suspend flag to suppress some PM messages
    5e217aa2c825 mempolicy: mbind_range() set_policy() after vma_merge()
    3bae72c2db69 mm: invalidate hwpoison page cache page in fault path
    a74bb0eeabcd mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
    ab657a29c3e9 mm: fs: fix lru_cache_disabled race in bh_lru
    52ba0ab4f0a6 jffs2: fix memory leak in jffs2_scan_medium
    4392e8aeebc5 jffs2: fix memory leak in jffs2_do_mount_fs
    7a75740206af jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
    f2ce5238904f can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
    f43e64076ff1 can: m_can: m_can_tx_handler(): fix use after free of skb
    459b19f42fd5 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
    31d7d7f35045 mtd: rawnand: protect access to rawnand devices while in suspend
    7d94d25c7972 spi: mxic: Fix the transmit path
    48254561bd04 net: bnxt_ptp: fix compilation error
    89d369454267 pinctrl: samsung: drop pin banks references on error paths
    1db1639d955b pinctrl: ingenic: Fix regmap on X series SoCs
    025a7ccfb7a5 mm/mlock: fix two bugs in user_shm_lock()
    34afac3c75fa remoteproc: Fix count check in rproc_coredump_write()
    b065f398c860 f2fs: fix to do sanity check on .cp_pack_total_block_count
    f9156db0987f f2fs: quota: fix loop condition at f2fs_quota_sync()
    e98ae961b334 f2fs: fix to unlock page correctly in error path of is_alive()
    303cd6173dce NFSD: prevent integer overflow on 32 bit systems
    614a61e15920 NFSD: prevent underflow in nfssvc_decode_writeargs()
    253a9533941e NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR
    518a7d6be1ed SUNRPC: avoid race between mod_timer() and del_timer_sync()
    19c82681db26 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
    b3e38f939ab4 firmware: sysfb: fix platform-device leak in error path
    0dff5664b867 firmware: stratix10-svc: add missing callback parameter on RSU
    72403d1c04bb Documentation: update stable tree link
    8259235ab46e Documentation: add link to stable release candidate tree
    a1e55db51a88 KEYS: asymmetric: properly validate hash_algo and encoding
    255921f63a9e KEYS: asymmetric: enforce that sig algo matches key algo
    fe8df4489240 KEYS: fix length validation in keyctl_pkey_params_get_2()
    512bde642087 cifs: we do not need a spinlock around the tree access during umount
    2fafbc198613 cifs: fix handlecache and multiuser
    b6d75218ff65 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
    42606add50f9 clk: uniphier: Fix fixed-rate initialization
    5aa6d84a0b07 clk: rockchip: re-add rational best approximation algorithm to the fractional divider
    ab67122003b1 greybus: svc: fix an error handling bug in gb_svc_hello()
    9e97f6641c87 iio: inkern: make a best effort on offset calculation
    b378d3f585e3 iio: inkern: apply consumer scale when no channel scale is available
    e38582362101 iio: inkern: apply consumer scale on IIO_VAL_INT cases
    1cb35faea3c3 iio: afe: rescale: use s64 for temporary scale calculations
    c61e2fc87f24 coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
    ba81399402b7 coresight: Fix TRCCONFIGR.QE sysfs interface
    f1d936537155 docs: sphinx/requirements: Limit jinja2<3.1
    c1013a5ba4c9 bus: mhi: Fix MHI DMA structure endianness
    fe66a11af28c bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series
    84bb0ac6c86f mei: avoid iterator usage outside of list_for_each_entry
    6d2ec095176c mei: me: add Alder Lake N device id.
    7c2422748463 mei: me: disable driver on the ign firmware
    f6121a746fae xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    7c2a317703c6 xhci: make xhci_handshake timeout for xhci_reset() adjustable
    4f2ab7e93b37 xhci: fix runtime PM imbalance in USB2 resume
    75bbc2b9748b xhci: fix garbage USBSTS being logged in some cases
    f5dc00496f76 USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    c94138ae4000 usb: typec: tipd: Forward plug orientation to typec subsystem
    662893b4f6bd tpm: fix reference counting for struct tpm_chip
    5a0735b0bcf9 virtio-blk: Use blk_validate_block_size() to validate block size
    8a4521456b54 iommu/iova: Improve 32-bit free space estimate
    fe953e0f77e5 drm/amdgpu: only check for _PR3 on dGPUs
    0884abb259f1 drm/amdgpu: move PX checking into amdgpu_device_ip_early_init
    03f836fcb655 locking/lockdep: Avoid potential access of invalid memory in lock_class
    9f93d46a63d5 selftests: vm: fix clang build error multiple output files
    2ea395dc1327 net: dsa: microchip: add spi_device_id tables
    d06ee4572fd9 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
    f868ffd1ead3 Input: zinitix - do not report shadow fingers
    8745973cdfc6 spi: Fix erroneous sgs value with min_t()
    20f46b12162c Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    13b570f365b8 net:mcf8390: Use platform_get_irq() to get the interrupt
    526a46a5f479 spi: Fix invalid sgs value
    a28571fcc422 gpio: Revert regression in sysfs-gpio (gpiolib.c)
    cd3121310e33 ethernet: sun: Free the coherent when failing in probing
    afffb79a2dd5 tools/virtio: fix virtio_test execution
    f8f8e96048ad vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    32aef620e650 virtio_console: break out of buf poll on remove
    3d39860bea5e ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    189bdde30b55 xfrm: fix tunnel model fragmentation behavior
    3a2914bc3e62 HID: Add support for open wheel and no attachment to T300
    a3248ecf0724 HID: logitech-dj: add new lightspeed receiver id
    d5aad7d63b1b hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
    dd84d71bcbcb mm: kfence: fix missing objcg housekeeping for SLAB
    3d7df3f83f67 USB: serial: simple: add Nokia phone driver
    33325a62249e USB: serial: pl2303: fix GS type detection
    1dd64317e785 dt-bindings: usb: hcd: correct usb-device path
    2241e42f6c71 USB: serial: pl2303: add IBM device IDs
    890f78e54b74 Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""

(From OE-Core rev: 79790e0aa5cc637fa4572e2894989c0000ec8ef7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 079cf4b9edb0a40f40135b7ae761254823051393)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
c115a5d6c9 linux-yocto/5.15: arm: poky-tiny cleanup and fixes
Integrating the following commit(s) to linux-yocto/.:

    20dcef87913 versatile: restore explicit CONFIG_ARM
    8e63ec2fc66 qemuarm64: cleanup for tiny enablement
    fa720c009a8 arm-versatile-926ejs: reorg for tiny and preempt-rt
    7febff689a8 qemuarma15: fix tiny and preempt-rt
    7720c50d622 tiny: make more generic
    f052e84eafa pci: remove CONFIG_PCI_MMCONFIG
    917043019b4 virtio: Add prereqs for tiny
    da919d67b1a common-pc: add CONFIG_ISA_DMA_API for tiny
    1a3a497c472 x2apic: enable iommu for tiny
    63e25b57177 features/security: Move x86_64 configs to separate file

(From OE-Core rev: 74f2af2010e133e0cc1f8767bd3bcabbfca7c784)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3e966df4f2d3236a259e6057f2deb22823fca173)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Jon Mason
3b78842c32 poky-tiny: enable qemuarmv5/qemuarm64 and cleanups
Add support for qemuarmv5 and qemuarm64, and remove qemuarm specific
entries, as it should be generic now.

(From OE-Core rev: 617e13b1af686f0713589b10b2f094a34f588b9d)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bd21e1130155ad1ec704e0151a22e9f84bfaa78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
bd83f437b2 linux-yocto/5.10: update to v5.10.112
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    1052f9bce629 Linux 5.10.112
    5c62d3bf1410 ax25: Fix UAF bugs in ax25 timers
    f934fa478dd1 ax25: Fix NULL pointer dereferences in ax25 timers
    145ea8d213e8 ax25: fix NPD bug in ax25_disconnect
    a4942c6fea87 ax25: fix UAF bug in ax25_send_control()
    b20a5ab0f5fb ax25: Fix refcount leaks caused by ax25_cb_del()
    57cc15f5fd55 ax25: fix UAF bugs of net_device caused by rebinding operation
    5ddae8d06441 ax25: fix reference count leaks of ax25_dev
    5ea00fc60676 ax25: add refcount in ax25_dev to avoid UAF bugs
    361288633bfa scsi: iscsi: Fix unbound endpoint error handling
    129db30599bc scsi: iscsi: Fix endpoint reuse regression
    26f827e095ab dma-direct: avoid redundant memory sync for swiotlb
    9a5a4d23e24d timers: Fix warning condition in __run_timers()
    84837f43e56f i2c: pasemi: Wait for write xfers to finish
    89496d80bf84 smp: Fix offline cpu check in flush_smp_call_function_queue()
    cd02b2687d66 dm integrity: fix memory corruption when tag_size is less than digest size
    0a312ec66a03 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    0806f1930562 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    0275c75955d1 genirq/affinity: Consider that CPUs on nodes can be unbalanced
    1fcfe37d170a drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    68ae52efa132 drm/amd/display: don't ignore alpha property on pre-multiplied mode
    a263712ba8c9 ipv6: fix panic when forwarding a pkt with no in6 dev
    659214603bf2 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    912797e54c99 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    48d070ca5e7e ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    163e16247130 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    5e4dd1799883 btrfs: mark resumed async balance as writing
    1d2eda18f6ff btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b7ec35253c9 ath9k: Fix usage of driver-private space in tx_info
    0f65cedae500 ath9k: Properly clear TX status area before reporting to mac80211
    cc21ae932656 gcc-plugins: latent_entropy: use /dev/urandom
    c089ffc846c8 memory: renesas-rpc-if: fix platform-device leak in error path
    342454231ee5 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    06c348fde545 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    20ed94f8181a mm: fix unexpected zeroed page mapping with zram swap
    192e507ef894 mm, page_alloc: fix build_zonerefs_node()
    000b3921b4d5 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    ca24c5e8f0ac drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e8cf1e4d953d scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    5b7ce74b6bc8 scsi: mvsas: Add PCI ID of RocketRaid 2640
    4b44cd584057 drm/amd/display: Fix allocate_mst_payload assert on resume
    34ea097fb63d drm/amd/display: Revert FEC check in validation
    fa5ee7c4232c myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    d90df6da50c5 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    9c12fcf1d864 net: axienet: setup mdio unconditionally
    b643807a735e tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    98973d2bdd4a arm64: alternatives: mark patch_alternative() as `noinstr`
    2462faffbfa5 regulator: wm8994: Add an off-on delay for WM8994 variant
    aa8cdedaf760 gpu: ipu-v3: Fix dev_dbg frequency output
    150fe861c57c ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    1ff5359afa5e net: micrel: fix KS8851_MLL Kconfig
    d3478709edf2 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    b9a110fa755b scsi: lpfc: Fix queue failures when recovering from PCI parity error
    aec36b98a1bb scsi: target: tcmu: Fix possible page UAF
    43666798059c Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    1d7a5aae884c drm/amdkfd: Check for potential null return of kmalloc_array()
    e5afacc826a8 drm/amdgpu/vcn: improve vcn dpg stop procedure
    d2e0931e6d84 drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7fc0610ad818 drm/amd/display: Update VTEM Infopacket definition
    6906e05cf3ad drm/amd/display: FEC check in timing validation
    756c61c1680f drm/amd/display: fix audio format not updated after edid updated
    76e086ce7b2d btrfs: do not warn for free space inode in cow_file_range
    217190dc66ef btrfs: fix fallocate to use file_modified to update permissions consistently
    9b5d1b3413d7 drm/amd: Add USBC connector ID
    6f9c06501d28 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    504c15f07f54 dm mpath: only use ktime_get_ns() in historical selector
    4e166a41180b cifs: potential buffer overflow in handling symlinks
    67677050cecb nfc: nci: add flush_workqueue to prevent uaf
    bfba9722cf2e perf tools: Fix misleading add event PMU debug message
    280f721edc54 testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    eb8873b324d9 sctp: Initialize daddr on peeled off socket
    45226fac4d31 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    73805795c99f scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    699bd835c36e scsi: iscsi: Move iscsi_ep_disconnect()
    46f37a34a53d scsi: iscsi: Fix in-kernel conn failure handling
    812573896711 scsi: iscsi: Rel ref after iscsi_lookup_endpoint()
    22608545b834 scsi: iscsi: Use system_unbound_wq for destroy_work
    4029a1e992fc scsi: iscsi: Force immediate failure during shutdown
    17d14456f626 scsi: iscsi: Stop queueing during ep_disconnect
    da9cf24aa739 scsi: pm80xx: Enable upper inbound, outbound queues
    e08d26971237 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    35b91e49bc80 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    98a7f6c4ada4 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    5f78ad93837c drm/msm: Fix range size vs end confusion
    5513f9a0b068 cfg80211: hold bss_lock while updating nontrans_list
    a44938950e5e net/sched: taprio: Check if socket flags are valid
    08d5e3e95453 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    2ad9d890d850 net: dsa: felix: suppress -EPROBE_DEFER errors
    f2cc341fcc42 net/sched: fix initialization order when updating chain 0 head
    7a7cf8414841 mlxsw: i2c: Fix initialization error flow
    43e58e119a2b net: mdio: Alphabetically sort header inclusion
    9709c8b5cdc8 gpiolib: acpi: use correct format characters
    d67c900f1947 veth: Ensure eth header is in skb's linear part
    845f44ce3d9f net/sched: flower: fix parsing of ethertype following VLAN header
    85ee17ca21cf SUNRPC: Fix the svc_deferred_event trace class
    af12dd71235c media: rockchip/rga: do proper error checking in probe
    563712971202 firmware: arm_scmi: Fix sorting of retrieved clock rates
    16c628b0c6fa memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    cb66641f8106 drm/msm: Add missing put_task_struct() in debugfs path
    921fdc45a084 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    5d131318bb87 ACPI: processor idle: Check for architectural support for LPI
    503934df3108 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    cfa98ffc42f1 hamradio: remove needs_free_netdev to avoid UAF
    80a4df14643f hamradio: defer 6pack kfree after unregister_netdev
    f0c31f192f38 drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu
    6c8e5cb264df Linux 5.10.111
    d36febbcd537 powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    5c672073bcca mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    5973f7507a73 irqchip/gic, gic-v3: Prevent GSI to SGI translations
    000e09462f85 Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    e1f540b752cb arm64: module: remove (NOLOAD) from linker script
    919823bd6738 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    637eca44b8f7 selftests: cgroup: Test open-time credential usage for migration checks
    9dd39d2c6572 selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    e74da71e6614 selftests/cgroup: Fix build on older distros
    4665722d36ad cgroup: Use open-time credentials for process migraton perm checks
    f089471d1b75 mm: don't skip swap entry even if zap_details specified
    58823a9b097c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    03b39bbbec8b dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    40e00885a61f tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    75c8558d410f tools build: Filter out options and warnings not supported by clang
    6374faf49e89 perf python: Fix probing for some clang command line options
    79abc219bafd perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    82e43950143c drm/amdkfd: Create file descriptor after client is added to smi_clients list
    326b408e7ec7 drm/nouveau/pmu: Add missing callbacks for Tegra devices
    786ae8de3a5e drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    ff24114bb08d irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    451214b266e9 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    fc629224aa62 ata: sata_dwc_460ex: Fix crash due to OOB write
    7e88a50704b0 gpio: Restrict usage of GPIO chip irq members before initialization
    5f54364ff6cf RDMA/hfi1: Fix use-after-free bug for mm struct
    8bb41682911f arm64: patch_text: Fixup last cpu should be master
    a044bca8ef31 btrfs: prevent subvol with swapfile from being deleted
    82ae73ac963c btrfs: fix qgroup reserve overflow the qgroup limit
    fc4bdaed4d4e x86/speculation: Restore speculation related MSRs during S3 resume
    8c9e26c890ba x86/pm: Save the MSR validity status at context setup
    2827328e646d io_uring: fix race between timeout flush and removal
    f7e183b0a713 mm/mempolicy: fix mpol_new leak in shared_policy_replace
    7d659cb1763f mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    6adc01a7aa37 lz4: fix LZ4_decompress_safe_partial read out of bound
    8b6f04b4c9d9 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    029b4170737f mmc: mmci: stm32: correctly check all elements of sg list
    41a519c05bee Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    9de98470db6e arm64: Add part number for Arm Cortex-A78AE
    4604b5738d5b perf session: Remap buf if there is no space for event
    362ced37690d perf tools: Fix perf's libperf_print callback
    65210fac639e perf: arm-spe: Fix perf report --mem-mode
    bd905fed87ce iommu/omap: Fix regression in probe for NULL pointer dereference
    b3c00be2ff8b SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    9a45e08636bb SUNRPC: Handle low memory situations in call_status()
    132cbe2f182a SUNRPC: Handle ENOMEM in call_transmit_status()
    aed30a205406 io_uring: don't touch scm_fp_list after queueing skb
    594205b49367 drbd: Fix five use after free bugs in get_initial_state
    970a6bb72912 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    6c17f4ef3c4f spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    8928239e5e2e qede: confirm skb is allocated before using
    b7893388bb88 net: phy: mscc-miim: reject clause 45 register accesses
    08ff0e74fab5 rxrpc: fix a race in rxrpc_exit_net()
    5ae05b5eb587 net: openvswitch: fix leak of nested actions
    42ab401d22de net: openvswitch: don't send internal clone attribute to the userspace.
    e54ea8fc51ca ice: synchronize_rcu() when terminating rings
    e3dd1202ab2e ipv6: Fix stats accounting in ip6_pkt_drop
    ffce126c952e ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    b003fc4913ea ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    ebd1e3458dbf dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    43c2d7890eca IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3a57babfb6e9 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d8992b393f97 sfc: Do not free an empty page_ring
    0ac74169ebc3 bnxt_en: reserve space inside receive page for skb_shared_info
    f8b0ef0a5889 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    25bc9fd4c8d1 drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    02ab4abe5bbf net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    63ea57478aaa net: ipv4: fix route with nexthop object delete warning
    4be6ed03107b ice: Clear default forwarding VSI during VSI release
    589154d0f189 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    c5f77b595379 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    45b9932b4daa NFSv4: fix open failure with O_ACCMODE flag
    c688705a3978 Revert "NFSv4: Handle the special Linux file open access mode"
    cf580d2e3884 Drivers: hv: vmbus: Fix potential crash on module unload
    0c122eb3a109 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    84e5dfc05f37 Revert "hv: utils: add PTP_1588_CLOCK to Kconfig to fix build"
    3c3fbfa6dddb mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    1753a49e266d parisc: Fix patch code locking and flushing
    f7c35220305f parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    c74e2f6ecc51 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    34681aeddcfc NFS: nfsiod should not block forever in mempool_alloc()
    7a506fabcfe1 SUNRPC: Fix socket waits for write buffer space
    b9c5ac0a15f2 jfs: prevent NULL deref in diFree
    c69b442125bf virtio_console: eliminate anonymous module_init & module_exit
    3309b3221711 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    9cb90f9ad597 x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    b3882e78aa0a NFS: swap-out must always use STABLE writes.
    d4170a28217a NFS: swap IO handling is slightly different for O_DIRECT IO
    4b6f122bdfdc SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    f4fc47e71e32 SUNRPC/xprt: async tasks mustn't block waiting for memory
    f9244d31e05a SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    e2b2542f7452 clk: Enforce that disjoints limits are invalid
    1e9b5538cf16 clk: ti: Preserve node in ti_dt_clocks_register()
    a2a0e04f6478 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    4a2544ce244b NFSv4: Protect the state recovery thread against direct reclaim
    9b9feec97c1f NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    2e16895d06e6 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    93498c6e775a staging: wfx: fix an error handling in wfx_init_common()
    8f1d24f85ffd phy: amlogic: meson8b-usb2: Use dev_err_probe()
    aa0b72967853 staging: vchiq_core: handle NULL result of find_service_by_handle
    be4ecca95819 clk: si5341: fix reported clk_rate when output divider is 2
    c9cf6baabf78 minix: fix bug when opening a file with O_DIRECT
    8d9efd4434e3 init/main.c: return 1 from handled __setup() functions
    f44297861296 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    d745512d54fd netlabel: fix out-of-bounds memory accesses
    2cc803804ec9 Bluetooth: Fix use after free in hci_send_acl
    789621df1963 MIPS: ingenic: correct unit node address
    61e25021e67a xtensa: fix DTC warning unit_address_format
    f6b9550f5367 usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    a4dd3e9e5ae8 net: sfp: add 2500base-X quirk for Lantech SFP module
    278b652f0ad9 net: limit altnames to 64k total
    423e7107f61f net: account alternate interface name memory
    74c4d5025551 can: isotp: set default value for N_As to 50 micro seconds
    1d7effe5fff9 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    02222bf4f0a2 powerpc/secvar: fix refcount leak in format_show()
    fd416c3f5a4c MIPS: fix fortify panic when copying asm exception handlers
    7c657c0694ff PCI: endpoint: Fix misused goto label
    79cfc0052f39 bnxt_en: Eliminate unintended link toggle during FW reset
    9567d54e70ff Bluetooth: use memset avoid memory leaks
    f9b183f1332a Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    647b35aaf454 tuntap: add sanity checks about msg_controllen in sendmsg
    797b4ea9515e macvtap: advertise link netns via netlink
    142ae7d4f215 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    f2565cb40e9b net/smc: correct settings of RMB window update limit
    224903cc60d0 scsi: hisi_sas: Free irq vectors in order for v3 HW
    f49ffaa85d2c scsi: aha152x: Fix aha152x_setup() __setup handler return value
    91ee8a14efb6 mt76: mt7615: Fix assigning negative values to unsigned variable
    d83574666bac scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    a0bb65eadbf9 scsi: pm8001: Fix tag leaks on error
    2051044d7901 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    3bd9a28798ca scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    ef969095c442 scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    fe4b6d5a0dd7 drm/amdkfd: make CRAT table missing message informational only
    2f2f017ea873 dm: requeue IO if mapping table not yet available
    71c8df33fd77 dm ioctl: prevent potential spectre v1 gadget
    f655b724b440 ipv4: Invalidate neighbour for broadcast address upon address addition
    bae03957e8ca iwlwifi: mvm: Correctly set fragmented EBS
    9538563d31a2 power: supply: axp288-charger: Set Vhold to 4.4V
    c66cc0404367 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    b1b27b0e8d48 tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    b02a1a65023f PCI: endpoint: Fix alignment fault error in copy tests
    4820847e8bc2 usb: ehci: add pci device support for Aspeed platforms
    0b9cf0b59925 iommu/arm-smmu-v3: fix event handling soft lockup
    e07e420a0056 PCI: aardvark: Fix support for MSI interrupts
    6694b8643bde drm/amdgpu: Fix recursive locking warning
    ea21eaea7f5f powerpc: Set crashkernel offset to mid of RMA region
    fb5ac62fbe16 ipv6: make mc_forwarding atomic
    5baf92a2c46c libbpf: Fix build issue with llvm-readelf
    26a1e4739e44 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    9a56e2b271bc mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    b42b6d0ec358 power: supply: axp20x_battery: properly report current when discharging
    de9505936c47 scsi: bfa: Replace snprintf() with sysfs_emit()
    ed7db959203e scsi: mvsas: Replace snprintf() with sysfs_emit()
    995f51788868 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    339bd0b55ecd ath11k: mhi: use mhi_sync_power_up()
    c6a815f5abdf ath11k: fix kernel panic during unload/load ath11k modules
    e4d2d7201356 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    02e2ee861984 ptp: replace snprintf with sysfs_emit
    9ea17b9f1dd0 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    07971b818e18 usb: gadget: tegra-xudc: Do not program SPARAM
    927beb05aaa4 drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    85313d9bc7bd drm/amd/display: Add signal type check when verify stream backends same
    9d7d83d0399e ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    850c4351e895 drm: Add orientation quirk for GPD Win Max
    a24479c5e9f4 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    66b0fa6b2218 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    2e52a294700b rtc: wm8350: Handle error for wm8350_register_irq
    0777fe98a44c gfs2: gfs2_setattr_size error path fix
    f349d7f9ee6d gfs2: Fix gfs2_release for non-writers regression
    3f53715fd55c gfs2: Check for active reservation in gfs2_release
    2dc49f58a29c ubifs: Rectify space amount budget for mkdir/tmpfile operations

(From OE-Core rev: cfea7f69f780502899925df374e6ad9f73e219d1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a5b51284c28013563bf654aa41287b1288684fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
086152f286 linux-yocto/5.10: base: enable kernel crypto userspace API
Integrating the following commit(s) to linux-yocto/.:

    bddb0e4921f base.cfg: enable kernel crypto userspace API

(From OE-Core rev: 372ee7fac31aa8ebf6f5c38550ecd8de190c40c9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a08c1c7dba66a1d12e029906d86f4f84e9166232)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
14d4c55592 linux-yocto/5.10: update to v5.10.110
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3238bffaf992 Linux 5.10.110
    cf342cbfb37f PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
    a25864c5bc20 arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
    558564db4475 coredump: Use the vma snapshot in fill_files_note
    b7933f145ad3 coredump/elf: Pass coredump_params into fill_note_info
    b043ae637a83 coredump: Remove the WARN_ON in dump_vma_snapshot
    936c8be4d144 coredump: Snapshot the vmas in do_coredump
    5318cdf4fd83 can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
    869016a2938a can: m_can: m_can_tx_handler(): fix use after free of skb
    e90518d10c7d KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
    e36c45263a30 openvswitch: Fixed nd target mask field in the flow dump.
    415edc68b652 docs: sysctl/kernel: add missing bit to panic_print
    272c74323dcc um: Fix uml_mconsole stop/go
    c0a6a547388e ARM: dts: spear13xx: Update SPI dma properties
    ea3912af8b8a ARM: dts: spear1340: Update serial node properties
    74f7971985bd ASoC: topology: Allow TLV control to be either read or write
    3ca47556d920 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
    7704f243cbbd dt-bindings: spi: mxic: The interrupt property is not mandatory
    648ab1dcc119 dt-bindings: mtd: nand-controller: Fix a comment in the examples
    71917e45e1aa dt-bindings: mtd: nand-controller: Fix the reg property description
    73f2f37417b0 bpf: Fix comment for helper bpf_current_task_under_cgroup()
    90805175a206 bpf: Adjust BPF stack helper functions to accommodate skip > 0
    86489492e876 mm/usercopy: return 1 from hardened_usercopy __setup() handler
    81a04b9a32e4 mm/memcontrol: return 1 from cgroup.memory __setup() handler
    f321621f5c84 ARM: 9187/1: JIVE: fix return value of __setup handler
    d57feed3b114 mm/mmap: return 1 from stack_guard_gap __setup() handler
    73f7cbb15191 batman-adv: Check ptr for NULL before reducing its refcnt
    f6da750bfaf4 ASoC: soc-compress: Change the check for codec_dai
    d3f786b7cf81 staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
    12e380bb6f16 proc: bootconfig: Add null pointer check
    90ec1b1538d4 can: isotp: restore accidentally removed MSG_PEEK feature
    16960ac92b84 platform/chrome: cros_ec_typec: Check for EC device
    e5b681822cac ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
    785a53373c22 riscv module: remove (NOLOAD)
    b27de7011cb3 io_uring: fix memory leak of uid in files registration
    20499ed3c041 ARM: iop32x: offset IRQ numbers by 1
    432b057f8e84 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
    f28a857a61eb ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
    ecfc3f8a6350 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
    503868a7c006 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
    d9afc5146bd3 watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
    402b53dc7c46 pinctrl: pinconf-generic: Print arguments for bias-pull-*
    7169f6011091 watch_queue: Free the page array when watch_queue is dismantled
    e64dc94990fd crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
    a16f5ae8ade1 mailbox: imx: fix wakeup failure from freeze mode
    051360e51341 rxrpc: Fix call timer start racing with call destruction
    a94d98e06eba net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
    c73af4bc8a91 gfs2: Make sure FITRIM minlen is rounded up to fs block size
    33c204266c12 rtc: check if __rtc_read_time was successful
    381636f33fe4 XArray: Update the LRU list in xas_split()
    3b9fabe8f6e8 can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
    ef0acc514123 can: mcba_usb: properly check endpoint type
    0801a51d7938 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
    1ac49c8fd49f XArray: Fix xas_create_range() when multi-order entry present
    49f77ab50a31 wireguard: socket: ignore v6 endpoints when ipv6 is disabled
    096f9d35cac0 wireguard: socket: free skb in send6 when ipv6 is disabled
    cd032f218c02 wireguard: queueing: use CFI-safe ptr_ring cleanup function
    8a0c70c238c5 ubifs: rename_whiteout: correct old_dir size computing
    c34ae24a2590 ubifs: Fix to add refcount once page is set private
    07a209fadee7 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
    d07a24216931 ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
    13b2a8151e3b ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
    83e42a78428f ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
    a90e2dbe66d2 ubifs: rename_whiteout: Fix double free for whiteout_ui->data
    0c307349fe06 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
    0fb470eb4889 KVM: SVM: fix panic on out-of-bounds guest IRQ
    cd8c2d7c7c49 KVM: x86: fix sending PV IPI
    eccfee44949d KVM: Prevent module exit until all VMs are freed
    09c771c45c12 KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
    aea4ffdcf30f platform: chrome: Split trace include file
    d3a913ba1fea scsi: qla2xxx: Use correct feature type field during RFF_ID processing
    633450063c10 scsi: qla2xxx: Reduce false trigger to login
    dd48727cabe5 scsi: qla2xxx: Fix N2N inconsistent PLOGI
    0910a791a6d7 scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
    f296e888e921 scsi: qla2xxx: Fix hang due to session stuck
    edea037716ff scsi: qla2xxx: Fix incorrect reporting of task management failure
    9dc104edd729 scsi: qla2xxx: Fix disk failure to rediscover
    f97316dd393b scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
    0e4a89efc223 scsi: qla2xxx: Check for firmware dump already collected
    ef10a7530c34 scsi: qla2xxx: Add devids and conditionals for 28xx
    bad77c9a47b4 scsi: qla2xxx: Fix device reconnect in loop topology
    8b52e20c22c2 scsi: qla2xxx: Fix warning for missing error code
    7c9745421d43 scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
    7fef50214dd0 scsi: qla2xxx: Fix scheduling while atomic
    c45147018d7e scsi: qla2xxx: Fix stuck session in gpdb
    031547f4c603 powerpc: Fix build errors with newer binutils
    68fa67e939d8 powerpc/lib/sstep: Fix build errors with newer binutils
    ad806b402268 powerpc/lib/sstep: Fix 'sthcx' instruction
    f39a3309393a powerpc/kasan: Fix early region not updated correctly
    89e5a4268760 KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
    a3ad4530088d ALSA: hda/realtek: Add alc256-samsung-headphone fixup
    aa2ad067cd74 media: atomisp: fix bad usage at error handling logic
    2412a5d29411 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
    808990afd855 media: hdpvr: initialize dev->worker at hdpvr_register_videodev
    32582f82df2b media: Revert "media: em28xx: add missing em28xx_close_extension"
    b1c28577529c video: fbdev: sm712fb: Fix crash in smtcfb_write()
    e7bb29df2a14 ARM: mmp: Fix failure to remove sram device
    add823a9a5e2 ARM: tegra: tamonten: Fix I2C3 pad setting
    08ec8450f3e5 lib/test_lockup: fix kernel pointer check for separate address spaces
    40a5c93a7473 uaccess: fix type mismatch warnings from access_ok()
    a49b687a75d2 media: cx88-mpeg: clear interrupt status register before streaming video
    460635026801 ASoC: soc-core: skip zero num_dai component in searching dai name
    a840fc067e8c ARM: dts: bcm2711: Add the missing L1/L2 cache information
    681a317034b2 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
    a7c624abf694 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
    543dae0a46b0 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
    910715c4b494 arm64: defconfig: build imx-sdma as a module
    14df2556a190 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
    c241cfd0a55f ARM: ftrace: avoid redundant loads or clobbering IP
    41082d6432e5 media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
    b554196e6d39 media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
    370b50492e54 ASoC: madera: Add dependencies on MFD
    0020667edc06 ARM: dts: bcm2837: Add the missing L1/L2 cache information
    f040c0810291 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
    da210b1b551c video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
    8c7e2141fb89 video: fbdev: cirrusfb: check pixclock to avoid divide by zero
    1e33f197468f video: fbdev: w100fb: Reset global state
    08dff4820127 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
    99e3f83539ca media: ir_toy: free before error exiting
    d658178b5ac2 media: staging: media: zoran: fix various V4L2 compliance errors
    bafec1a6ba4b media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
    bd01629315ff media: staging: media: zoran: move videodev alloc
    b230f2d9441a ntfs: add sanity check on allocation size
    f7e8aff06262 f2fs: compress: fix to print raw data size in error path of lz4 decompression
    d91d1e681c99 NFSD: Fix nfsd_breaker_owns_lease() return values
    498b7088db71 f2fs: fix to do sanity check on curseg->alloc_type
    330d0e44fc5a ext4: don't BUG if someone dirty pages without asking ext4 first
    cd6d719534af ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
    69d2421b5527 ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
    ecd384c436fd locking/lockdep: Iterate lock_classes directly when reading lockdep files
    3ad817f1bd62 spi: tegra20: Use of_device_get_match_data()
    1c200c8bce08 nvme-tcp: lockdep: annotate in-kernel sockets
    7e4967e913ab parisc: Fix handling off probe non-access faults
    ede1ef1a7de9 PM: core: keep irq flags in device_pm_check_callbacks()
    227718c8bbd5 ACPI/APEI: Limit printable size of BERT table data
    cc051f497eac Revert "Revert "block, bfq: honor already-setup queue merges""
    1b69302bfae3 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
    1b87ce6a778e ACPICA: Avoid walking the ACPI Namespace if it is not there
    df6e00b1a53c bfq: fix use-after-free in bfq_dispatch_request
    dd85ed4af8f5 fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
    9fc899ce5a20 irqchip/nvic: Release nvic_base upon failure
    4bbd910de18b irqchip/qcom-pdc: Fix broken locking
    f038185b6a62 Fix incorrect type in assignment of ipv6 port for audit
    012c572007c2 loop: use sysfs_emit() in the sysfs xxx show()
    448857f58009 selinux: allow FIOCLEX and FIONCLEX with policy capability
    4b9b60b5bfc8 selinux: use correct type for context length
    7507ead1e9d4 block, bfq: don't move oom_bfqq
    79b16d00de17 pinctrl: npcm: Fix broken references to chip->parent_device
    9d1d8e5e4294 gcc-plugins/stackleak: Exactly match strings instead of prefixes
    b0f2f89d741a regulator: rpi-panel: Handle I2C errors/timing to the Atmel
    2784604c8c6f LSM: general protection fault in legacy_parse_param
    e600b5973e80 fs: fix fd table size alignment properly
    327f07e3704c lib/test: use after free in register_test_dev_kmod()
    00d2b9fe5e02 fs: fd tables have to be multiples of BITS_PER_LONG
    1752fcd4045b net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
    edb91a475da5 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
    5c94b6205e87 net/x25: Fix null-ptr-deref caused by x25_disconnect
    4896c308a57d qlcnic: dcb: default to returning -EOPNOTSUPP
    2165d0ebfbac selftests: test_vxlan_under_vrf: Fix broken test case
    f98dc124a482 net: phy: broadcom: Fix brcm_fet_config_init()
    3e7a483af3bb net: hns3: fix bug when PF set the duplicate MAC address for VFs
    3eb92660e69a net: enetc: report software timestamping via SO_TIMESTAMPING
    e9445a7a59d8 xen: fix is_xen_pmu()
    af0c3ced2468 clk: Initialize orphan req_rate
    845e734f975f clk: qcom: gcc-msm8994: Fix gpll4 width
    e2a262539219 kdb: Fix the putarea helper function
    a9fa7d48a1cd NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
    8cd30d28da01 netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
    fbd56a61ceee jfs: fix divide error in dbNextAG
    acb96e62e690 driver core: dd: fix return value of __setup handler
    89748be18f77 firmware: google: Properly state IOMEM dependency
    3d934d7b9019 kgdbts: fix return value of __setup handler
    f65ba8b98846 serial: 8250: fix XOFF/XON sending when DMA is used
    45e95a7bf8c4 kgdboc: fix return value of __setup handler
    96038b1cf45e tty: hvc: fix return value of __setup handler
    566e30289d04 pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
    669b05ff43bd pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
    9d095fe2fb8a pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
    861946289d4a pinctrl: mediatek: paris: Fix pingroup pin config state readback
    7675fb2aaf88 pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
    901e192ac91e pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
    72ea0fefea18 pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
    fddbfe43bf07 staging: mt7621-dts: fix GB-PC2 devicetree
    00e0739ca126 staging: mt7621-dts: fix pinctrl properties for ethernet
    47c31fe8ca78 staging: mt7621-dts: fix formatting
    59ec187d7c08 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
    942f68bf2950 NFS: remove unneeded check in decode_devicenotify_args()
    e025c6638720 clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
    54c812829741 clk: clps711x: Terminate clk_div_table with sentinel element
    9ff533033d8e clk: loongson1: Terminate clk_div_table with sentinel element
    bb680cabf242 clk: actions: Terminate clk_div_table with sentinel element
    431f8a9cec07 nvdimm/region: Fix default alignment for small regions
    f7210ca29a78 remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
    7a494580a89b remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
    5c1d484d9661 remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
    f95fd61dd85a dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
    d047d68ff031 clk: qcom: clk-rcg2: Update the frac table for pixel clock
    334720f418f5 clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
    639744b2429f clk: at91: sama7g5: fix parents of PDMCs' GCLK
    0553ecbce95e clk: imx7d: Remove audio_mclk_root_clk
    867258d3f37d dma-debug: fix return value of __setup handlers
    2f3885514e41 NFS: Return valid errors from nfs2/3_decode_dirent()
    7b59afe84ad9 habanalabs: Add check for pci_enable_device
    afcbc6375233 iio: adc: Add check for devm_request_threaded_irq
    df2dc4cf71fa serial: 8250: Fix race condition in RTS-after-send handling
    469ce5119f22 NFS: Use of mapping_set_error() results in spurious errors
    659fe4d653a2 serial: 8250_lpss: Balance reference count for PCI DMA device
    0aebb3944ab1 serial: 8250_mid: Balance reference count for PCI DMA device
    c92bd51313bf phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
    80805f555e22 clk: qcom: ipq8074: Use floor ops for SDCC1 clock
    fd2601e3665e pinctrl: renesas: checker: Fix miscalculation of number of states
    c5cf977515b5 pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
    b5db33a81ee7 staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
    f5b01abf5f65 iio: mma8452: Fix probe failing when an i2c_device_id is used
    8b89c9e68a01 clk: qcom: ipq8074: fix PCI-E clock oops
    a70d5dbe2e4e soundwire: intel: fix wrong register name in intel_shim_wake
    091704a9a7f4 cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
    f90ad943221a misc: alcor_pci: Fix an error handling path
    553541c4531e fsi: Aspeed: Fix a potential double free
    cb212c3f0de7 fsi: aspeed: convert to devm_platform_ioremap_resource
    c0b3c06414c3 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
    2cd05c38a27b mxser: fix xmit_buf leak in activate when LSR == 0xff
    8513c93eadc6 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
    084be6309f4f tipc: fix the timer expires after interval 100ms
    5d8162371ce8 openvswitch: always update flow key after nat
    4593c76a659d tcp: ensure PMTU updates are processed during fastopen
    b26091a02093 net: bcmgenet: Use stronger register read/writes to assure ordering
    9088614323f0 PCI: Avoid broken MSI on SB600 USB devices
    75a4a97b7463 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
    0d3ad6142a05 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
    c483f8002d17 i2c: meson: Fix wrong speed use from probe
    b0898362188e af_netlink: Fix shift out of bounds in group mask calculation
    40f3b8dadae8 ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
    70a6cf749d9f Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
    b441fcdff2eb Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
    876cfe1380c3 selftests/bpf: Fix error reporting from sock_fields programs
    ac1ec6f319c0 bareudp: use ipv6_mod_enabled to check if IPv6 enabled
    c037e135391c can: isotp: support MSG_TRUNC flag when reading from socket
    f402c4986519 can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
    8a9d996d4edd USB: storage: ums-realtek: fix error code in rts51x_read_mem()
    f9a666100955 samples/bpf, xdpsock: Fix race when running for fix duration of time
    cd84ea3920ae bpf, sockmap: Fix double uncharge the mem of sk_msg
    7b812a369e64 bpf, sockmap: Fix more uncharged while msg has more_data
    bec34a91eba3 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
    c98d903ff9e7 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
    a3587259ae55 mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
    fa3d44424579 MIPS: pgalloc: fix memory leak caused by pgd_free()
    8c4808ff9e10 MIPS: RB532: fix return value of __setup handler
    ef1728e3cb9e mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
    315772133a4b ath10k: Fix error handling in ath10k_setup_msa_resources
    71f311b12380 vxcan: enable local echo for sent CAN frames
    3c2a39784974 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
    956fab99ad26 platform/x86: huawei-wmi: check the return value of device_create_file()
    1ba28cb69218 selftests/bpf: Make test_lwt_ip_encap more stable and faster
    08ab4067815e libbpf: Unmap rings when umem deleted
    6fa8edfc9020 mfd: mc13xxx: Add check for mc13xxx_irq_request
    bcf93175ed84 powerpc/sysdev: fix incorrect use to determine if list is empty
    ab0a335b546e mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
    bbd91cdb620e net: axienet: fix RX ring refill allocation failure handling
    9ec698984db2 PCI: Reduce warnings on possible RW1C corruption
    a84cb039d282 IB/hfi1: Allow larger MTU without AIP
    48d23ef90116 power: supply: wm8350-power: Add missing free in free_charger_irq
    9d3dab40af71 power: supply: wm8350-power: Handle error for wm8350_register_irq
    5cf1371628a4 i2c: xiic: Make bus names unique
    f01e08083c94 hv_balloon: rate-limit "Unhandled message" warning
    ba2c6e353b11 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
    fa9089949dac KVM: x86: Fix emulation in writing cr8
    3e7e73ae2bbd powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
    05abd49972e1 powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
    3e04a837dba7 libbpf: Skip forward declaration when counting duplicated type names
    6bb107332db2 gpu: host1x: Fix a memory leak in 'host1x_remove()'
    d1c7759304a1 bpf, arm64: Feed byte-offset into bpf line info
    694398af5fea bpf, arm64: Call build_prologue() first in first JIT pass
    06a0001366ac drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    a3d53f000561 scsi: hisi_sas: Change permission of parameter prot_mask
    705c70399e06 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
    1e06710c43a0 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
    9ffa07c699a7 ext2: correct max file size computing
    60605acf5bf8 TOMOYO: fix __setup handlers return values
    adb7c8d1de05 drm/amd/display: Remove vupdate_int_entry definition
    e462b0f518e9 RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
    279f318bd7d6 scsi: pm8001: Fix abort all task initialization
    780c668a2dd4 scsi: pm8001: Fix NCQ NON DATA command completion handling
    f7a3f9e4e81b scsi: pm8001: Fix NCQ NON DATA command task initialization
    f76bbee39eda scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
    6bc86bca3502 scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
    27ccdcaa015d scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
    6c0e850c2289 scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
    edde1ede761e scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
    257a55622cc6 scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
    f55a7bc38f74 scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
    5349cde1dfaa dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
    d4862bea088c drm/msm/dpu: fix dp audio condition
    7b52fb813cd1 drm/msm/dpu: add DSPP blocks teardown
    413c62697b61 drm/msm/dp: populate connector of struct dp_panel
    441a83ff270e iwlwifi: mvm: Fix an error code in iwl_mvm_up()
    c12692c3e979 iwlwifi: Fix -EIO error code that is never returned
    ec376f5c11c8 dax: make sure inodes are flushed before destroy cache
    5e6b030ac345 IB/cma: Allow XRC INI QPs to set their local ACK timeout
    9c384e1afa55 drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
    80b96ac9d2fb drm/amd/pm: enable pm sysfs write for one VF mode
    06e778d1849d iommu/ipmmu-vmsa: Check for error num after setting mask
    ab63b24ae632 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
    879356a6a055 power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
    f03ef518c1c1 drm/bridge: dw-hdmi: use safe format when first in bridge chain
    e0e25e131d18 PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
    b1af8b9ec032 livepatch: Fix build failure on 32 bits processors
    6f095441f808 scripts/dtc: Call pkg-config POSIXly correct
    080822563b35 net: dsa: mv88e6xxx: Enable port policy support on 6097
    2ac4f049db6e mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
    2430af124125 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
    232c1cc98611 mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
    253cc4aafc21 mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
    b5d363ff171e powerpc/perf: Don't use perf_hw_context for trace IMC PMU
    c18b53861796 KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
    8b64c158a07b powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
    be703360ed35 ray_cs: Check ioremap return value
    43f2fe2a6995 power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
    da71a1483b6c i40e: respect metadata on XSK Rx to skb
    b2e48cd14110 i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    e8fe653fa7c6 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
    11cb9eba06c8 RDMA/core: Set MR type in ib_reg_user_mr
    11f11ac281f0 ath9k_htc: fix uninit value bugs
    6e669baa3363 drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
    19a7eba28479 drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
    9abee5153411 drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
    47402eaf888e ionic: fix type complaint in ionic_dev_cmd_clean()
    1ba10e5c39d4 drm/edid: Don't clear formats if using deep color
    d99e7feaed4c mtd: rawnand: gpmi: fix controller timings setting
    364b2eee6233 mtd: onenand: Check for error irq
    96ea88eb9ba3 Bluetooth: hci_serdev: call init_rwsem() before p->open()
    b267a8118c2b udmabuf: validate ubuf->pagecount
    56722aa77b3b libbpf: Fix possible NULL pointer dereference when destroying skeleton
    4a9c268a4044 drm/panfrost: Check for error num after setting mask
    5d1114ede5a1 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
    fb2be762a49b drm: bridge: adv7511: Fix ADV7535 HPD enablement
    d9d61beb21d7 drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
    064e7f75325c drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
    d8db734df6e6 drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
    ec3924eab533 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
    a1c665f5b7f9 ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
    1f24716e3822 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
    abefbf602c6a ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
    90ac679aa6a0 ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
    ec26e3ce3c71 ASoC: atmel: sam9x5_wm8731: use devm_snd_soc_register_card()
    541251b90338 mmc: davinci_mmc: Handle error for clk_enable
    19eb5c7957e6 ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
    42042c7a3ddb ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
    fe4db4ea2104 ASoC: fsl_spdif: Disable TX clock when stop
    86b6cf989437 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
    c8c981cfc06d ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
    f452cff02531 ASoC: SOF: Add missing of_node_put() in imx8m_probe
    0d82401d4650 ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
    7e8b0fd0ebe0 ASoC: rockchip: i2s: Use devm_platform_get_and_ioremap_resource()
    b5664a584ea2 ivtv: fix incorrect device_caps for ivtvfb
    ebd4f1501e0b media: saa7134: fix incorrect use to determine if list is empty
    dd67315994c4 media: saa7134: convert list_for_each to entry variant
    066d9b48f949 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
    20da8404e464 ASoC: fsi: Add check for clk_enable
    db1c00a025c6 ASoC: wm8350: Handle error for wm8350_register_irq
    662ee5ac6b45 ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
    663e7a72871f media: vidtv: Check for null return of vzalloc
    4d68603cc438 media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
    b02752d75300 m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
    9ca3635a0af4 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
    7e6f5786621d ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
    64eee4127c23 memory: emif: check the pointer temp in get_device_details()
    330a9b0d38e6 memory: emif: Add check for setup_interrupts
    4639c1d97f38 ASoC: soc-compress: prevent the potentially use of null pointer
    a6ee60d4a98f ASoC: dwc-i2s: Handle errors for clk_enable
    39bee81e3083 ASoC: atmel_ssc_dai: Handle errors for clk_enable
    dc947d175c17 ASoC: mxs-saif: Handle errors for clk_enable
    a754ea0de369 printk: fix return value of printk.devkmsg __setup handler
    87a265e292f8 arm64: dts: broadcom: Fix sata nodename
    f63122803d66 arm64: dts: ns2: Fix spi-cpol and spi-cpha property
    5d6a0dc6bad4 ALSA: spi: Add check for clk_enable()
    039fae34f8cd ASoC: ti: davinci-i2s: Add check for clk_enable()
    94cb9fe5d86e ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
    7ce3e6e1036e uaccess: fix nios2 and microblaze get_user_8()
    19894751f657 ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
    f126dcbe7074 media: cedrus: h264: Fix neighbour info buffer size
    c011ae1665f8 media: cedrus: H265: Fix neighbour info buffer size
    44973633b006 media: usb: go7007: s2250-board: fix leak in probe()
    ec8a37b2d9a7 media: em28xx: initialize refcount before kref_get
    1b46f57d516f media: video/hdmi: handle short reads of hdmi info frame.
    170ad3942b7b ARM: dts: imx: Add missing LVDS decoder on M53Menlo
    2a0eb50d9afd ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
    77406ac6efe4 soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
    18b2ec361a68 firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
    8395a17ef6ba arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
    d19248e23fbe arm64: dts: qcom: sdm845: fix microphone bias properties and values
    2042c6fbfb0f soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
    5a990a65d4a3 soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
    b5d6eba71997 soc: qcom: rpmpd: Check for null return of devm_kcalloc
    0c11cb8db49a ARM: dts: qcom: ipq4019: fix sleep clock
    22474dfd0c17 firmware: qcom: scm: Remove reassignment to desc following initializer
    bf4bad1114a3 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
    6de6a64f23a6 video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
    64ec3e678d76 video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
    0dff86aeb191 video: fbdev: controlfb: Fix COMPILE_TEST build
    ec1c20b02ae0 video: fbdev: controlfb: Fix set but not used warnings
    f8bf19f7f311 video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
    3187a1d4d5c5 media: aspeed: Correct value for h-total-pixels
    245561612b49 media: hantro: Fix overfill bottom register field name
    032b141a91a8 media: meson: vdec: potential dereference of null pointer
    d3e5106c6768 media: coda: Fix missing put_device() call in coda_get_vdoa_data
    c9f4586d9935 ASoC: generic: simple-card-utils: remove useless assignment
    2c357e027725 ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
    712dd2ac267a media: bttv: fix WARNING regression on tunerless devices
    bc2573abc691 media: mtk-vcodec: potential dereference of null pointer
    8a83731a09a5 media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
    c76188715dfc media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
    f622bd0758bd kunit: make kunit_test_timeout compatible with comment
    9e63bcb71df9 selftests, x86: fix how check_cc.sh is being invoked
    d2c53e77b043 f2fs: fix compressed file start atomic write may cause data corruption
    1c4d94e4f0b1 f2fs: compress: remove unneeded read when rewrite whole cluster
    2c4741d1b0d2 btrfs: fix unexpected error path when reflinking an inline extent
    3ef3bc75cd3e f2fs: fix to avoid potential deadlock
    85cc399b650f nfsd: more robust allocation failure handling in nfsd_file_cache_init
    1a11a873749c f2fs: fix missing free nid in f2fs_handle_failed_inode
    c0cffc1fb38d perf/x86/intel/pt: Fix address filter config for 32-bit kernel
    13c8e37e1faf perf/core: Fix address filter parser for multiple filters
    a9faa5beda6b rseq: Remove broken uapi field layout on 32-bit little endian
    f0250e05e574 rseq: Optimise rseq_get_rseq_cs() and clear_rseq_cs()
    ecc17de4b99a sched/core: Export pelt_thermal_tp
    40732cab515d sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
    2b5d41bcf28f f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
    9d92be1a09fb watch_queue: Actually free the watch
    5ae75b4ed303 watch_queue: Fix NULL dereference in error cleanup
    509565faed7e io_uring: terminate manual loop iterator loop correctly for non-vecs
    44a77e52bd79 clocksource: acpi_pm: fix return value of __setup handler
    d678f002f0bc hwmon: (pmbus) Add Vin unit off handling
    7ca525b4cc65 hwrng: nomadik - Change clk_disable to clk_disable_unprepare
    e4c777fd8c37 amba: Make the remove callback return void
    1c6ac39763bc vfio: platform: simplify device removal
    c93017c8d5eb crypto: ccree - Fix use after free in cc_cipher_exit()
    78622926fe01 crypto: ccp - ccp_dmaengine_unregister release dma channels
    9eeee6f684e0 ACPI: APEI: fix return value of __setup handlers
    0b45bf165932 clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
    b33c753cff6c clocksource/drivers/timer-microchip-pit64b: Use notrace
    db9d00461bdf clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
    d4e13c4a6f41 clocksource/drivers/exynos_mct: Refactor resources allocation
    42d331a279d0 clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
    aedff03da4a5 crypto: vmx - add missing dependencies
    51939008ca5f crypto: amlogic - call finalize with bh disabled
    24857d87cc74 crypto: sun8i-ce - call finalize with bh disabled
    bf4814d58b1b crypto: sun8i-ss - call finalize with bh disabled
    a4067ccb97e5 hwrng: atmel - disable trng on failure path
    b7940bef6f21 spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
    3928a04bc65a PM: suspend: fix return value of __setup handler
    052a218db0cb PM: hibernate: fix __setup handler error handling
    0b5924a14d64 block: don't delete queue kobject before its children
    40b288a86186 nvme: cleanup __nvme_check_ids
    32c4db2a5296 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
    ec8536f7012e hwmon: (pmbus) Add mutex to regulator ops
    18a18594ae69 spi: pxa2xx-pci: Balance reference count for PCI DMA device
    55259cb37415 crypto: ccree - don't attempt 0 len DMA mappings
    d788ad472f83 EVM: fix the evm= __setup handler return value
    a137f93ae581 audit: log AUDIT_TIME_* records only from rules
    5e9501e60b8d crypto: rockchip - ECB does not need IV
    8265bea7d8cd selftests/x86: Add validity check and allow field splitting
    f7d9249af33c arm64/mm: avoid fixmap race condition when create pud mapping
    99a8dfce7c0b spi: tegra114: Add missing IRQ check in tegra_spi_probe
    71dba67138f6 thermal: int340x: Check for NULL after calling kmemdup()
    8e57117142bb crypto: mxs-dcp - Fix scatterlist processing
    ec1d372974ec crypto: authenc - Fix sleep in atomic context in decrypt_tail
    fdfaafeb4bf8 crypto: sun8i-ss - really disable hash on A80
    19693838c82f hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    bc20294cc8da hwrng: cavium - Check health status while reading random data
    962d1f59d5f7 selinux: check return value of sel_make_avc_files
    1ae9b020ddfc regulator: qcom_smd: fix for_each_child.cocci warnings
    c20975954e96 PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
    0f56f240157d PCI: pciehp: Clear cmd_busy bit in polling mode
    89ddcc81914a drm/i915/gem: add missing boundary check in vm_access
    b84857c06ef9 drm/i915/opregion: check port number bounds for SWSCI display power state
    88975951d4e0 brcmfmac: pcie: Fix crashes due to early IRQs
    1cbcf93a93e5 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
    f3820ddaf4f3 brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
    daa07f29027c brcmfmac: firmware: Allocate space for default boardrev in nvram
    1dd031eb9910 xtensa: fix xtensa_wsr always writing 0
    dac518bbcebf xtensa: fix stop_machine_cpuslocked call in patch_text
    20f974dce5df media: davinci: vpif: fix unbalanced runtime PM enable
    7c9b915b9463 media: davinci: vpif: fix unbalanced runtime PM get
    cde90e829190 media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
    785ffce44a1f DEC: Limit PMAX memory probing to R3k systems
    8dde2296eca1 bcache: fixup multiple threads crash
    37d2b4fa5cdd crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
    b89fb8b88242 crypto: rsa-pkcs1pad - restore signature length check
    f38c318068ee crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
    c1db3f44f252 crypto: rsa-pkcs1pad - only allow with rsa
    27a6f495b63a exec: Force single empty string when argv is empty
    b02d33171dfb lib/raid6/test: fix multiple definition linking error
    bf057eac9a34 thermal: int340x: Increase bitmap size
    86a926c3f00e pstore: Don't use semaphores in always-atomic-context code
    b26f400e4fe4 carl9170: fix missing bit-wise or operator for tx_params
    3aef4df6e1cc mgag200 fix memmapsl configuration in GCTL6 register
    ef1df9168532 ARM: dts: exynos: add missing HDMI supplies on SMDK5420
    3cde68a1ebbc ARM: dts: exynos: add missing HDMI supplies on SMDK5250
    5ac205c414c5 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
    7187c9beb702 ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
    2ca2a5552a83 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
    72af8810922e video: fbdev: sm712fb: Fix crash in smtcfb_read()
    ba09b0417324 drm/edid: check basic audio support on CEA extension block
    ce1927b8cfed block: don't merge across cgroup boundaries if blkcg is enabled
    6e0d24598ca0 block: limit request dispatch loop duration
    958e9b56de7b mailbox: tegra-hsp: Flush whole channel
    f67a1400788f drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
    b35eb4847182 ext4: fix fs corruption when tring to remove a non-empty directory with IO error
    a1e6884b2d28 ext4: fix ext4_fc_stats trace point
    c119fb65f6ab coredump: Also dump first pages of non-executable ELF libraries
    7ad5ccc3da7a ACPI: properties: Consistently return -ENOENT if there are no more references
    ef3a87e0c4b0 arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
    18864e8b837a arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
    e85fa9f4e925 arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
    7ce550a01b83 arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
    210e7b43d4da udp: call udp_encap_enable for v6 sockets when enabling encap
    e1a58498ef91 powerpc/kvm: Fix kvm_use_magic_page
    d72866a7f532 can: isotp: sanitize CAN ID checks in isotp_bind()
    fde8c5cad088 drbd: fix potential silent data corruption
    b101e74f9a72 dm integrity: set journal entry unused when shrinking device
    d5d5804acc16 mm/kmemleak: reset tag when compare object pointer
    bc2f58b8e47c mm,hwpoison: unmap poisoned page before invalidation
    608c501d70bf Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
    8b354e303260 mm: madvise: return correct bytes advised with process_madvise
    928c06c11408 mm: madvise: skip unmapped vma holes passed to process_madvise
    51f7557c3cb9 ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
    9017201e8d8c ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
    7b7a03d8b5f8 ALSA: hda: Avoid unsol event during RPM suspending
    a55e2d74232f ALSA: cs4236: fix an incorrect NULL check on list iterator
    edefc4b2a8e8 cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
    9963ccea6087 cifs: prevent bad output lengths in smb2_ioctl_query_info()
    b75198eddab1 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
    34bc1f69bf56 riscv: Increase stack size under KASAN
    24b9b8e95ca1 riscv: Fix fill_callchain return value
    0f8c0bd0a4cb qed: validate and restrict untrusted VFs vlan promisc mode
    a3af3d431920 qed: display VF trust config
    aa28075f06b8 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
    4bcefc78c874 mempolicy: mbind_range() set_policy() after vma_merge()
    fa37c1714367 mm: invalidate hwpoison page cache page in fault path
    7188e7c96f39 mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
    51dbb5e36d59 jffs2: fix memory leak in jffs2_scan_medium
    607d3aab7349 jffs2: fix memory leak in jffs2_do_mount_fs
    7bb7428dd739 jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
    b417f9c50586 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
    3a21ee89bc22 mtd: rawnand: protect access to rawnand devices while in suspend
    145a63201d00 spi: mxic: Fix the transmit path
    be22ebe79e64 pinctrl: samsung: drop pin banks references on error paths
    b97b305656a7 remoteproc: Fix count check in rproc_coredump_write()
    784630df174f f2fs: fix to do sanity check on .cp_pack_total_block_count
    e58ee6bd939b f2fs: quota: fix loop condition at f2fs_quota_sync()
    ec67040703c8 f2fs: fix to unlock page correctly in error path of is_alive()
    7af164fa2f1a NFSD: prevent integer overflow on 32 bit systems
    65e21cc042f4 NFSD: prevent underflow in nfssvc_decode_writeargs()
    b7b430104a14 SUNRPC: avoid race between mod_timer() and del_timer_sync()
    f51ab2f60a44 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
    a1df8e60f25a firmware: stratix10-svc: add missing callback parameter on RSU
    e94f5fbe7ab3 Documentation: update stable tree link
    f4bab992ee25 Documentation: add link to stable release candidate tree
    10ee5662d5a6 KEYS: fix length validation in keyctl_pkey_params_get_2()
    5a41a3033a93 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
    2775d8e36436 clk: uniphier: Fix fixed-rate initialization
    25cd5872d9a7 greybus: svc: fix an error handling bug in gb_svc_hello()
    9f0cd8117457 iio: inkern: make a best effort on offset calculation
    19e533452fbe iio: inkern: apply consumer scale when no channel scale is available
    e10dbe7f6ac1 iio: inkern: apply consumer scale on IIO_VAL_INT cases
    9f4fffc2ab26 iio: afe: rescale: use s64 for temporary scale calculations
    9cd1b02655c7 coresight: Fix TRCCONFIGR.QE sysfs interface
    7b478cb67b8c mei: avoid iterator usage outside of list_for_each_entry
    ec8975417d71 mei: me: add Alder Lake N device id.
    0a0c61dd071d xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    811f40351949 xhci: make xhci_handshake timeout for xhci_reset() adjustable
    3a820d1ca123 xhci: fix runtime PM imbalance in USB2 resume
    c41387f96a22 xhci: fix garbage USBSTS being logged in some cases
    1e0f089f70db USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    39a70732eb52 virtio-blk: Use blk_validate_block_size() to validate block size
    290e05f346d1 tpm: fix reference counting for struct tpm_chip
    fcd3c31dd160 iommu/iova: Improve 32-bit free space estimate
    68c80088f52b locking/lockdep: Avoid potential access of invalid memory in lock_class
    f19d8dfad67b net: dsa: microchip: add spi_device_id tables
    8d3f4ad43054 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
    ef1a6ab36dc3 Input: zinitix - do not report shadow fingers
    21680aabc4d3 spi: Fix erroneous sgs value with min_t()
    8fb7af1b5a83 Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    18a4417a192f net:mcf8390: Use platform_get_irq() to get the interrupt
    102d7f6c2eff spi: Fix invalid sgs value
    a4f4ce3deedb gpio: Revert regression in sysfs-gpio (gpiolib.c)
    fc9a35627c3d ethernet: sun: Free the coherent when failing in probing
    3c8447192532 tools/virtio: fix virtio_test execution
    6d98dc2369b1 vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    c97ffb4184f0 virtio_console: break out of buf poll on remove
    0c00d38337ec ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    a7e75e5ed417 xfrm: fix tunnel model fragmentation behavior
    e05ae08ea82f HID: logitech-dj: add new lightspeed receiver id
    ff919a7ad90c netdevice: add the case if dev is NULL
    c4dc584a2d4c hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
    d136a2574a45 USB: serial: simple: add Nokia phone driver
    38e3d48ffebf USB: serial: pl2303: add IBM device IDs
    d4d975e79210 swiotlb: fix info leak with DMA_FROM_DEVICE

(From OE-Core rev: ce4b8288374646563cc885842cf946ce43abf1f4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f7e9526058bec6eafce8b1f62a1af798a0998bf4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Khem Raj
02d6a8fd27 qemu: Add packageconfig for libbpf support
its in auto mode, which is troublesome particularly on native recipe
where it pokes at build host to find this library if its not in native
sysroot and when build host has libbpf installed it enables it silently
otherwise disables the support. so lets make it deterministic, and if
one needs to enable this feature then enable the packageconfig
intentionally, It was found when trying to solve this QA warning

Skipping RPATH /usr/lib64 as is a standard search path for /mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0-
r0/sysroot-destdir/mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0-r0/recipe-sysroot-native/usr/bin/qemu-system-x86_64

This is becasue qemu's build system adds the needed flags to -rpath for
the libraries it needs and in this case it has found libbpf.so in
/usr/lib64 on build host.

(From OE-Core rev: 2f97e2d92982b9cffaccdf251c1b6d47de0258c2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d493928b7c98ab11b5d8c50924b1a2c464bf7f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Robert Joslyn
c0cbd7c572 powerpc: Remove invalid GLIBC_EXTRA_OECONF
OE-core previously carried patches to glibc that added optimized sqrt
implementations for various PowerPC chips. These were recently removed,
which now results in errors when compiling glibc with certian PowerPC
machine tunes:

	checking sysdep dirs... configure: error: The 603e subspecies of powerpc is not supported.

Remove setting GLIBC_EXTRA_OECONF with parameters that are no longer
valid. Also remove a commented out setting of the variable that probably
isn't vaild anyway.

Fixes: 2511e937f445 ("glibc: Drop ppc sqrt optimisations")

(From OE-Core rev: 76ccd9914c47aebf2c4c211abc089d9b8acc6c66)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 40f15066c24720aae36713c9856ffb4fae146a45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Portia
d19e723ec2 volatile-binds: Change DefaultDependencies from false to no
The systemd-unit parameter DefaultDependencies changed from true/false
to yes/no. This changed in systemd in v242.

(From OE-Core rev: 371a8e2b0b0a3a2febe1d8d6ce65f258a15f6b1f)

Signed-off-by: Portia Stephens <stephensportia@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit add4dcb03dc7b034253db05f0023cb97cab8b26d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Steve Sakoman
4280a7dd25 scripts/contrib/oe-build-perf-report-email.py: remove obsolete check for phantomjs and optipng
Use of those tools was removed in b5c131006e3fad0a15e6cdf81f71dc1e96647028
perf-build-test/report: Drop phantomjs and html email reports support

(From OE-Core rev: 1063525be9b040ece8636c03ac8bab13952eb561)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33df447affa7a3a360b1da028e6b12fbcd388db6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Chen Qi
4df837b96f go-helloworld: remove unused GO_WORKDIR
The GO_WORKDIR is used only in go-mod.bbclass. As this recipe does
not inherit go-mod.bbclass, this variable is useless here.

This go-helloworld recipe was made to inherit go-mod.bbclass and build
in module-aware mode. However, it was found that we need to build go
recipes in GOPATH mode in order to support offline build. As a result,
this recipe was changed back to only inherit go.bbclass. But the GO_WORKDIR
setting was not cleaned up.

(From OE-Core rev: 2b5c773637317b812f5bfa167a70d858ad5274ad)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 70bc5b6d40f94bde82415fb87db37fdf2606c2fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Richard Purdie
983c257517 lib/sstatesig: Fix find_siginfo to match sstate filename generation
sstate filename generation was changed a while ago and taskname has to be
passed into core functions for the correct filename to be generated. Update
find_siginfo to match those changes and pass in taskname via SSTATE_CURRTASK.

Thanks to Gregory Lumen <gregorylumen@microsoft.com> for spotting.

[YOCTO #14774]

(From OE-Core rev: 3230134c0e5654afccf4f8831ab1101615502162)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 51d7310b6cf8ef9033d461868c07f686656070ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Khem Raj
5e0de3463e kmod: Enable xz support by default
RPi kernel has started building compressed kernel modules by default
starting 5.15, currenrly therefore meta-raspberrypi kernels are unable
to load kernel modules since kmod and kmod-native do not entertain xz
compressed modules. There is a fix proposed in meta-raspberrypi [1]
but the fix is needed for native and nativesdk recipes as well, perhaps
its best to enable it here for best out of box experience with
meta-raspberrypi

[1] https://github.com/agherzan/meta-raspberrypi/pull/1056

(From OE-Core rev: 4c8be443515deadaee97ef4ed470a167594e8102)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20e9917b8d40f576b3661bc29e13602a24e86b7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Justin Bronder
681ae51e6e pulseaudio: conditionally depend on alsa-plugins-pulseaudio-conf
The alsa-plugins-pulseaudio-conf package is only enabled when
DISTRO_FEATURES contains pulseaudio.

(From OE-Core rev: 1800c06e254d44b6439dee82b7a4f4b678479b62)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54e9b8f308f28bb2db37f5ea5b85e6a1608c0516)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Peter Marko
1c65a77b39 openssl: extract legacy provider module to a separate package
This module contains legacy cipher suites from libcrypto.
We should not need to include base package because we want
  to use this part of libcrypto.

(From OE-Core rev: f44368f58645715f210b46ca3f747d064b872b20)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1537ebc3f6ae2aec9a3864b03704ab4dbc0e971b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Richard Purdie
0d81d82645 bitbake: fetch/git : Use cat as pager
We don't have less in HOSTTOOLS in OE and this can confuse git. Force the
pager to cat to be consistent and minimal everywhere.

(Bitbake rev: 59c16ae6c55c607c56efd2287537a1b97ba2bf52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3d406e8552fdd865dc58b419a84411736475ad2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Roland Hieber
fe1a4d1240 bitbake: cache: correctly handle file names containing colons
File names containing colons cause split() to return a list with more
than two elements, which will lead to a stack trace ending in:

    ValueError: too many values to unpack (expected 2)

Split only once at the last colon, thereby making sure that only two
elements are returned.

(Bitbake rev: e14ed7dd866334ab40cd335d9c006e5d7b447abd)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a70a7376a8708bde07959deb5d5842d7f84ee5f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
dc41a59eaa bitbake: runqueue: Fix sig file location when using multiconfig
We're using the wrong data store when trying to locate siginfo files,
fix this. Thanks to Gregory Lumen <gregorylumen@microsoft.com> for
spotting.

[YOCTO #14774]

(Bitbake rev: 7eb0ef75fd08b6e4ca1e9dca9c96a7b590e5147b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ed800e19a3197f8e622c8d3b630aae384e60aba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Robert Yang
b34c299467 bitbake: fetch2/ssh.py: decode path back for ssh
The path has been encoded by urllib.parse.quote(), so decode it back for ssh.

Fixed when fetch from PREMIRRORS via ssh:
$ bitbake bonnie++ libsigc++-2.0 -cfetch

scp: /path/to/downloads/libsigc%2B%2B-2.10.7.tar.xz: No such file or directory

(Bitbake rev: 3969786a787eea34e096b932d52cd02978aacb8e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1c8fc678eb4783cea3974328a5fa8d1b79f1266)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
b6df0485bc bitbake: fetch2/osc: Add missing parameter
This probably means the osc fetcher isn't being used but fix the missing
parameter.

(Bitbake rev: 73fbb743a2def2037d4053605e77e09d2d8a9fd0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a23c201cb6efc5c0abf763c26f905442f0eebb68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
719b4e733b bitbake: buildinfohelper: Drop unused variables
(Bitbake rev: 97e150550a3807c60cfa685abda8dccafc0a1268)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d720dfa40620e64a557edef527148d58fcb1d858)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
455c7b4393 bitbake: runqueue: Drop pointless variable assignment
This is set at the start of the loop anyway so it does nothing. Drop
the pointless code.

(Bitbake rev: dcf78788daa177bf5c438f33b3c9f7ced7aea8ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e6a3173c9cdf349ccbd4cf612868f92cce8717c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
2de11757c4 bitbake: persist_data: Use a valid exception for missing implementation
(Bitbake rev: 1e5c5efa6fe9175b27b21cd7a5b833bd3af55238)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7254eb6b3e8ef504ef2274541dcc55f1d42238c6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
1d847bb2cf bitbake: ui/knotty: Drop pointless pass statement
(Bitbake rev: 00f10fe95393728e94339f3512171ebab96f1900)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 625565087d8c9e7a6a79b0b4f3e5be2d77d5f100)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
5eb655e42b bitbake: siggen: Drop pointless break statement
(Bitbake rev: f9b563dc02535b594975ac0f5dab8e12d11a6ce0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 42809f6acb79e39042e81d54c28efb92b7481e44)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
08ee5cf2ea bitbake: fetch2/crate: Drop unused import
(Bitbake rev: 43bb92a2728832eeb1a207809e21404c86ff1710)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 879f17ecd5ba09e217cef74f6a51339b145e8ef5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
98472efbca bitbake: buildinfohelper: Drop unused function
The function has a loop where the variable is never used which I was going
to fix but the entire function never seems to be called so remove it entirely.

(Bitbake rev: d739799a1e68dc2ad0414d4ae7d9e079cedcee3c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3bcb20f025907f4e88bbe3d14f5638d5f01010cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
2c3009eb3a bitbake: msg: Drop unused local variable
(Bitbake rev: 609d50a6ccb6f794a3ba6d73a820927eba68891c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 140929b404ee1e2f5e0e1a3a1d3aa49fb3759ade)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
ba1a9588f0 bitbake: cooker: Drop unused loop
(Bitbake rev: c6df0e68ef52c10be9e8773e660c3bb5c9d1e915)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c811ad6f10560e7a7fb6830cf83707551ba04bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
91cca6ad72 bitbake: ui/buildinfohelper: Drop unused import
(Bitbake rev: bf221631e4b591c80aadd26c2328586b6a4c9eac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aca0ff85109f4b0f3c201c02c3f59cad7ee2e787)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
e62e1284a0 bitbake: server/process: Drop unused import
(Bitbake rev: 65413c1cecc7e667b04d73b95de9159c688f7ce3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 543315e6463f15ca7ab2b4ef3e8ed41bb4207ccf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
6cb50fc2a1 bitbake: tests/parse: Fix one test overwriting another
Fix an issue where two tests have the same name with one overwriting the
other.

(Bitbake rev: 38842a8150f44f5d31d9bd2b0b6ec0502acc971d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da812d938fd79e2cc7bdf355ccf5b0f9ead684c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Matt Madison
a550f8333f bitbake: providers: use local variable for packages_dynamic pattern
During parsing, Python raises

   RuntimeError: dictionary changed size during iteration

in getRuntimeProviders, if you happen to have a recipe
with an explicit RDEPENDS on a dynamic package containing a '+'
character, such as 'gtk+3-locale-en'.

This is because we're using the modified pattern as the
key into the packages_dynamic dict to append to rproviders,
and since that key doesn't exist, the dict is getting modified
to add a new, empty, entry for it. So even without the runtime
error, we'd be generating an incorrect result.

Fix this by using a local variable for modifying the pattern
and using the original key to retrieve the value on a match.

(Bitbake rev: 69d3b86449be23b07f794e302f6e18f3a2c46424)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07de375c3e57f17ab7b47569186f24ecd9896825)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Alexander Kanavin
d84c73d1ef libxml2: update patch status
(From OE-Core rev: 87d7383989a1ef6deaeff85739e622d8175ae9b6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e21e1e5e2659b02a771ce986fc3194deeda9f4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Richard Purdie
5077019ae1 staging: Ensure we filter out ourselves
Adding a dependency on ourselves in this function doesn't make sense, the hash
may change after hash equivalence is applied. Other code using BB_TASKDEPDATA does
handle the self reference correctly (which is there for a reason), update this
code to do likewise.

(From OE-Core rev: a1eba0f2d36f3bb03323a65c66dd2a83c5dd2c05)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d98b06c9c6f480de1e5167bfe8392e39300fc02c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Khem Raj
dfe1dd65e3 util-linux: Create u-a symlink for findfs utility
busybox also installs findfs but into base_sbindir which works out to be
ok when sbindir != base_sbindir but with usrmerge distro feature enabled
this starts to cause trouble because busybox's postinst is trying to
create a symlink for findfs applet in base_sbindir which is same as
sbindir now and there already is binary from util-linux and image fails
to build

do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().

The real reason is burried in do_rootfs logs

update-alternatives: Error: not linking /mnt/b/yoe/master/build/tmp/work/beaglebone-yoe-linux-gnueabi/yoe-sdk-image/1.0-r0/rootfs/usr/sbin/findfs to /usr/bin/busybox.suid since /mnt/b/yoe/master/build/tmp/work/beaglebone-yoe-linux-gnueabi/yoe-sdk-image/1.0-r0/rootfs/usr/sbin/findfs exists and is not a link

Creating proper u-a for findfs in util-linux fixes the issue

(From OE-Core rev: 04e03fa3acde7a23825fb9a17de98f1cecaae097)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 211ae2db1ab8fec1ed678170f9d8cbca2cc27ef3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Nicolas Dechesne
646a590310 sanity: skip make 4.2.1 warning for debian
This is a follow up patch of:
ad5829aa1f8a (sanity: Show a warning that make 4.2.1 is buggy on non-ubuntu systems)

Debian10 has the exact same version/sources for make as Ubuntu
(focal), e.g. https://packages.debian.org/source/buster/make-dfsg and
https://packages.ubuntu.com/source/focal/make-dfsg.

As per the corresponding changelog, the patch mentioned in
ad5829aa1f8a, is included in both Debian and Ubuntu in make
4.2.1-1.1. So it's safe to use make 4.2.1 in Debian10.

(From OE-Core rev: 3744d06135a76d0170141dc02ead3704a089a427)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d5d5278ff4f620cd786b85e880e8429a04a1548)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Rahul Kumar
6644b3e9b6 neard: Switch SRC_URI to git repo
The tarball (neard-0.16.tar.xz) fetched by the recipe is incomplete.
Few plugins (e.g. tizen) and tests scripts (e.g. Test-channel, test-see,
neard-ui.py, ndef-agent etc) are missing.

Since neard did not release latest tarballs, so as per community
recommendation switching the recipe SRC_URI to git repo.

Community Discussion:
https://lists.openembedded.org/g/openembedded-core/topic/90058043#163681

(From OE-Core rev: ed3fafcb99c1d9f06c8cac65524aedbc52c6c199)

Signed-off-by: Rahul Kumar <rahul.kumar_3@philips.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b563f40ebf4461d9c35df72bd7599ea11e97da9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Ross Burton
d4a5862ce8 bitbake.conf: mark all directories as safe for git to read
Recent git releases containing [1] have an ownership check when opening
repositories, and refuse to open a repository if it is owned by a
different user.

This breaks any use of git in do_install, as that is executed by the
(fake) root user. Whilst not common, this does happen.

Setting the git configuration safe.directories=* disables this check, so
that git is usable in fakeroot tasks.  This can be set globally via the
internal environment variable GIT_CONFIG_PARAMETERS, we can't use
GIT_CONFIG_*_KEY/VALUE as that isn't present in all the releases which
have the ownership check.

We already set GIT_CEILING_DIRECTORIES to ensure that git doesn't
recurse up out of the work directory, so this isn't a security issue.

[1] 8959555cee

(From OE-Core rev: 204cc2fdd75631ab0a84a3a090f5cd7dcfc13856)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8bed8e6993e7297bdcd68940aa0d47ef47120117)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Richard Purdie
5984100237 base: Drop git intercept
We're going to use the environment approach for solving this issue.

(From OE-Core rev: 1b807a0ad9cf5acdbe7fce588544f7eb8cbbd80d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0982977dc052ad4e65608f6853f930121d08837a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Paul Gortmaker
f6eb720890 install/devshell: Introduce git intercept script due to fakeroot issues
In a devshell, recent versions of git will complain if the repo is owned
by someone other than the current UID - consider this example:

 ------
  bitbake -c devshell linux-yocto

  [...]

  kernel-source#git branch
  fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else)
  To add an exception for this directory, call:

        git config --global --add safe.directory /home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source
  kernel-source#
 ------

Of course the devshell has UID zero and the "real" UID is for "paul" in
this case.  And so recent git versions complain.

As the whole purpose of the devshell is to invoke a shell where development
can take place, having a non-functional git is clearly unacceptable.

Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I
suggested we probably will see other similar instances like this and should
make use of PATH to intercept via devshell wrappers - conveniently we already
have examples of this.

Here, we copy the existing "ar" example and tune it to the needs of git to
combine Richard's suggestion and mine.

As such we now also can store commit logs and use send-email with our user
specific settings, instead of "root", so in additon to fixing basic
commands like "git branch" it should also increase general usefulness.

RP: Tweaked the patch so the PATH change only applies to the devshell task
and is a generic git intercept rather than devshell specific.

RP: Also apply the PATH change to do_install tasks since that also runs under
fakeroot and several software projects inject "git describe" output into
their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing
reproducibility issues from systems with different git versions.

(From OE-Core rev: 3a320c1555bf39b2d3c218ffc36827d9dda60fe1)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3266c327dfa186791e0f1e2ad63c6f5d39714814)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Chen Qi
5c91954b7d go.bbclass: disable the use of the default configuration file
We need to disable the use the default configuration file. This is
to ensure that user settings do not mess things up when building go
recipes.

For example, if I set 'GOBIN=./relative/path' in $HOME/.config/go/env,
then go-runtime fails to build with error like below:

  cannot install, GOBIN must be an absolute path

According to `go help environment',
"""
Setting GOENV=off in the environment disables the use of the default
configuration file.
"""

We can explicitly disable the configuration file by setting GOENV to off.

(From OE-Core rev: 00f794aeaaa660851f3a8464ee89c553195dd3dd)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 711b41744ab08ee62c71cdccca335a7828ec0ba1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Davide Gardenal
04ab58c85d create-spdx: delete virtual/kernel dependency to fix FreeRTOS build
When building FreeRTOS this dependency generates an error because
bitbake cannot find any provider for "virtual/kernel".
>From a dependency analysis the task is executed independently from
this so it can be safely removed.

This patch has been discussed in this ML thread:
https://lists.openembedded.org/g/openembedded-core/topic/90602531

(From OE-Core rev: ec31ce4751e45e98730165d64eb74fc98eab8c85)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c02b768a71ec88bfe1cc0c4443683de8b66056e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Chen Qi
b11e684951 cases/buildepoxy.py: fix typo
(From OE-Core rev: ca92de4c2181cb4b93f0adfe7c2fde759f295cb7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a9b6e71d1e7e8e2ebc0ed047841e36f09300387)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Peter Kjellerstedt
7f91e5a7d8 devshell.bbclass: Allow devshell & pydevshell to use the network
Otherwise it will fail if using OE_TERMINAL = "xterm" with the not so
helpful error:

  xterm: Xt error: Can't open display: localhost:0.0

(From OE-Core rev: 147d4cc12cd0ac2680bffa4112cef2d2447d34e1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba53fc3bcecfe32401471dc1008c7ead96504150)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Peter Kjellerstedt
f8a450a39d terminal.py: Restore error output from Terminal
In bitbake commit 1ecc1d94 (process: Do not mix stderr with stdout),
bb.process.Popen() was changed to no longer combine stdout and stderr by
default. However, the Terminal class was not updated to reflect this and
subsequently only output stdout in case of failures.

(From OE-Core rev: f8f8e2e159a5ac03f619e6d0882011445e6a2545)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 116d0bb07ba044cf8847bf3d5c3996ad7e58b7ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Naveen Saini
c99977a517 gstreamer1.0-plugins-bad: drop patch
With latest gstreamer version pkg-config able to find header
path with msdk enabled.

Drop this patch as its not require anymore.

(From OE-Core rev: aaea86534127b1c78d78ffe3a98bacec63d2d8a2)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eaa3b31247b4d3cc47428f4d80ae31f232e344d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Carlos Rafael Giani
ce24cf8f2c gstreamer1.0: Minor documentation addition
This clears up some confusing packageconfigs.

(From OE-Core rev: a7163c07186ab98b903bf11104e5c8a3baeba6d3)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5b682f80fba4a62cb1ff7050c97f5b1e204d5a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Carlos Rafael Giani
42b8797084 gstreamer1.0-plugins-good: Fix libsoup dependency
(From OE-Core rev: 5820e01f5b1f9ac5f1a803820258e92e7214ad31)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7f66a3123c9ce77e9af538009fc51bf190703433)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
47f2e75837 busybox: Use base_bindir instead of hardcoding /bin path
This symlink is not valid when using usrmerge and ptest packaging would fail

Exception: FileExistsError: [Errno 17] File exists: '/usr/bin/busybox.suid' -> '/mnt/b/yoe/master/build/tmp/work/ppc64p9le-yoe-linux-musl/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'

(From OE-Core rev: 592464cb64a8eedf2ee1537934ba714059c2e0ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 238fd30689054c7b44176dce7180fb6dac4e1b6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
4c098bd8ae qemu.bbclass: Extend ppc/ppc64 extra options
Some recipes are marked machine specific which need qemu usermode during
build eg. if they use meson build system, which means they wont get
right -cpu settings to run qemu-ppc/qemu-ppc64 and build fails, this
ensures that we set the right options when PACKAGE_ARCH is set to
MACHINE_ARCH on ppc/ppc64 qemu

(From OE-Core rev: 05caadbfb940e236dcdc41620cf20de5809e8f40)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f71bbe65a458f08cd8ede6522c8b988603202a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
50d24a763f libc-glibc: Use libxcrypt to provide virtual/crypt
Fixes
NOTE: Multiple providers are available for virtual/crypt (libxcrypt, musl)
Consider defining a PREFERRED_PROVIDER entry to match virtual/crypt

(From OE-Core rev: bdccfa48f2dc58d716bd2ddd9c6279584fd6515b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4417dbf6fcb1f067705c8bd2220f4093ba899cc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Henning Schild
c5ca6110ce wic: do not use PARTLABEL for msdos partition tables
When using "msdos" partition tables and "--label" but not "--use-uuid"
one can generate images which will not find their root, because
PARTLABEL does not work for "msdos".

Fix that by simply not going the PARTLABEL path in case of "msdos".

Fixes: 2fb247c5ecf0 ("wic: support rootdev identified by partition label")
(From OE-Core rev: 354ef6b723f50b5f0b46a2bf5797e5b982c6ea73)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9ea1a838b946020e026edc032039552b723fcaa4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
25a6012a1e gcompat: Fix build when usrmerge distro feature is enabled
(From OE-Core rev: 34a710cc8ebb18bb8443d635e06fefb7f6a003c2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1154d5fe7e75bb46132165b13ed76ce95413b25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
6b96b3c0cc musl: Fix build when usrmerge distro feature is enabled
(From OE-Core rev: 8a9f1d5a11b01de3145b16c19d98c3f030473326)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02fd8e760cac1d2e0e25a4e3dbea3f2844b9fd01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Dmitry Baryshkov
6107518b42 arch-armv8-2a.inc: fix a typo in TUNEVALID variable
Fix a typo in the TUNEVALID[armv8-2a]: It enables instructions for
ARMv8.2-a, not just ARMv8-a.

(From OE-Core rev: 92e52e0bb7497a701a0a26305a1a1bed0f4a60ce)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 0a4404c117ef8733713962767c1d2c9f87c2c990)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Dmitry Baryshkov
9a06759aef linux-firmware: correct license for ar3k firmware
According to the WHENCE file, some a3k firmware files are licensed
under the special ar3k license, while others are licensed under the more
generic Atheros license. Document this by adding extending the
LICENSE:${PN}-ar3k and depending on both of them.

(From OE-Core rev: eff0cd8854f18b9ead2aaf7850d33d300cff2960)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8e651814af706285d64b532095fcd6f5f02629ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Russ Dill
6adc3aa634 kernel-yocto.bbclass: Fixup do_kernel_configcheck usage of KMETA
The do_kernel_configcheck task requires a meta directory, normally
set by ${KMETA}. The meta directory is taken as a relative path
from ${S}:

        outfile = "{}/{}/cfg/mismatch.txt".format( s, kmeta )

However, when checking for the presence of ${KMETA} the current
working directory is searched. This will almost always fail and
"kgit --meta" is used instead. If the user does have a path in
their current working directory that matches the ${KMETA}
variable but the path is not present within the kernel source
directory, the build will fail if it tries to write config errors/
warnings to that path.

If ${KMETA} is not set, the same problem exists with the hard-coded
"meta" directory.

Fix these issues by checking for ${KMETA} within ${S} rather than
the current working directory. Additionally, drop the hardcoded
backup directory "meta" as it hasn't been functioning and
probably has no users

(From OE-Core rev: c322272a51d923cda9b0e5e388e32b7dd3a6bd22)

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f4a3e80a4a6f4f709d09940dcaf45b2b00654496)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Russ Dill
ef36e735ae package.bbclass: Prevent perform_packagecopy from removing /sysroot-only
The files in /sysroot-only are intended to make it into the
recipes sysroot output, but not into the package. However, if
do_package is run before do_populate_sysroot, the files are
removed.

Use a smaller hammer to avoid copying the files into the package so
they are still around when do_populate_sysroot runs.

(From OE-Core rev: acc0a31305cb1f799e8a6b3ea2d2c5ac5a9f67ee)

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 493145c6f1bc92ab2b7a23e181641b09df87c9ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
80adcbf1f4 seatd: Disable overflow warning as error on ppc64/musl
Disabling the warning is easier fix then trying to fix it
in musl which results in ABI breakage and disabling the Werror
gets us along by doing minimal change, also see [1]

[1] https://todo.sr.ht/~kennylevinsen/seatd/10

(From OE-Core rev: d97c8462b364946ac3172fc09a2398e8246a20b2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 381cf11b994d2bf40ac8781e18b5eac17b3b6cb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Pgowda
da4096dfb9 glibc: ptest: Fix glibc-tests package issue
Run glibc-tests only when its enabled in the DISTRO_FEATURES.

(From OE-Core rev: 2447c5abd7629af24bab5fccec8669f9ca676873)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5555e7cf935b047a3dc3228d26bf0fd52eb425e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Alexander Kanavin
bdbca4b3af glib: upgrade 2.72.0 -> 2.72.1
Bug fix release

Overview of changes in GLib 2.72.1

Fix building projects which use g_warning_once() with clang++ (#2625)
Fix g_file_trash() not deleting directories via the portals backend (work by Matthias Clasen) (#2629)
A number more compiler warnings fixed for MSVC (work by Loïc Le Page) (!2495)
Fix detection of broken poll() function on macOS (work by Haruka Ma) (!2571)
Fix spawning subprocesses from GUI programs on Windows (work by Marc-André Lureau) (!2582)

Bugs fixed:

2312 gdbus-test-codegen tests leak GWeakRef objects
2625 g_warning_once fails to build with clang++
2629 g_file_trash() does not work on directories inside a sandbox
2495 Cleanup warnings split 6
2499 Various contenttype-related test fixes on win32
2534 gpowerprofilemonitor: Tweak wording of documentation to make more sense
2540 Various win32 tests skip & fixes
2541 meson: simplify lookup of python command
2543 ci: Update the Fedora CI image to Fedora 34
2556 gdbusconnection: Use g_strv_contains() rather than a home-grown version
2557 gdbusmethodinvocation: Fix a leak on an early return path
2558 Move unit test on g_basename() function to glib/tests/fileutils.c
2559 Move tests/relation-test.c to glib/tests/relation.c
2560 ci: Update Coverity, mingw and Android CI images to Fedora 34
2563 glib: Format GDateTime ISO8601 years as %C%y
2564 Move test files on slices from tests/ to glib/tests/
2566 tests: Add more tests for GResolver response parsing
2573 Backport translation fixes and !2571 “meson: Set BROKEN_POLL in macOS builds” to glib-2-72
2574 Backport !2565 “Revert "meson: simplify lookup of python command"” to glib-2-72
2587 Backport !2583 “Fix trashing sandboxed directories” to glib-2-72
2588 Backport !2582 “glib/win32: fix spawn from GUI regression” to glib-2-72
2590 Backport !2589 “tests: Don’t exit gdbus-method-invocation test early on connection close” to glib-2-72
2593 Backport !2578 “gatomic: Add a C++ variant of g_atomic_int_compare_and_exchange()” to glib-2-72

Translation updates:

Bulgarian
Catalan
Indonesian
Italian
Lithuanian
Polish
Portuguese
Russian
Slovenian
Swedish
Turkish
Ukrainian

(From OE-Core rev: d8222529a1caa2703ed296d8a8274983e738cefc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e167060bfb105799e0931c06a6aa1275163bf261)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Ross Burton
275c29d930 subversion: upgrade to 1.14.2
This release is primarily to fix two CVEs:
- CVE-2021-28544
- CVE-2022-24070

It also rewrites the macOS autoconf macros to be cross-compile friendly,
so we don't need to delete them anymore.

(From OE-Core rev: 76a74a8f22021e60326c001ccdd9b6ca200cd28e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ecfbc2ef45a76ab96d215954ca0a109545e6ff02)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
wangmy
a869054e4e apt: upgrade 2.4.4 -> 2.4.5
apt (2.4.5) release notes:

  * Only protect two kernels, not last installed one (LP: #1968154)
  * Fix segfault in CacheSetHelperAPTGet::tryVirtualPackage()

(From OE-Core rev: 76f4471a26bf457d1f0816b2b5ba92d0d6474e14)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a6462fd0ab140b554f4bda260e26b938cd44dc2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Ross Burton
498bbee789 cve_check: skip remote patches that haven't been fetched when searching for CVE tags
If a remote patch is compressed we need to have run the unpack task for
the file to exist locally.  Currently cve_check only depends on fetch so
instead of erroring out, emit a warning that this file won't be scanned
for CVE references.

Typically, remote compressed patches won't contain our custom tags, so
this is unlikely to be an issue.

(From OE-Core rev: b52a508bd7693c40e6416db9c9076a8789499501)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cefc8741438c91f74264da6b59dece2e31f9e5a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:31 +01:00
Ross Burton
ed9500ddb6 python3: ignore CVE-2015-20107
CVE-2015-20107 describes an arbitrary command execution in the mailcap
module, but this is by design in mailcap and needs to be worked around
by the calling application.

Upstream Python will be documenting this flaw in the library reference,
and it is likely that the mailcap module will be deprecated and removed
in the future.

(From OE-Core rev: f525745af38b0e5ea26693849cd4f19c627efd46)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85fac8408baf92d8b71946f5bfea92952b7eab01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:31 +01:00
Ross Burton
881a9d82e7 e2fsprogs: fix CVE-2022-1304
Backport a submitted patch to fix CVE-2022-1304.

(From OE-Core rev: 6b31ebb379369cfd9448f64fca6a664b72a7f4fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31fd4ca6fa85ed1e62faf37e6d7bed5b558cb309)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:31 +01:00
Michael Opdenacker
27de52e402 migration-guides: release-notes-4.0: mention LTS release
(From yocto-docs rev: 4ec9df3336a425719a9a35532504731ce56984ca)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-29 19:10:10 +01:00
Nicolas Dechesne
c77f0ce695 migration-guides: stop including documents with ".. include"
This prevented variables from being substituted through the
code in yocto-vars.py, at least in the files included this way.

Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: ac4e4b167964dd4548fb3d90cf9c63580a70b6e3)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-29 19:10:10 +01:00
zhengruoqin
4ec7cb8202 ruby: upgrade 3.1.1 -> 3.1.2
Ruby 3.1.2 has been released.

This release includes security fixes.

CVE-2022-28738: Double free in Regexp compilation
CVE-2022-28739: Buffer overrun in String-to-Float conversion

(From OE-Core rev: ca1c990df62f1b3d53b2114a387f192efe7e38e8)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1306c732a39070e12306b0b7a393e2a482c8b326)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
zhengruoqin
ec5dc1ca0e git: upgrade 2.35.2 -> 2.35.3
Bug fix release:

0f85c4a30b setup: opt-out of check with safe.directory=*
bb50ec3cc3 setup: fix safe.directory key not being checked
e47363e5a8 t0033: add tests for safe.directory

(From OE-Core rev: c3b96e04e91eb9e28bcfe1c84e159193a82d302c)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 457b5d4dad3e6fa77e80bed66666c36caa452380)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
1d045cfddf libgit2: upgrade 1.4.2 -> 1.4.3
Changelog:
=========
Validate repository directory ownership (v1.4)
midx: Fix an undefined behavior (left-shift signed overflow)
fetch: support OID refspec without dst
Fix crash when regenerating a patch with unquoted spaces in filename

(From OE-Core rev: e6541bd09289abc87b7e81716bea774c80285bc0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bef09c61ee32df214fb8cf6000e0314ff3a38156)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
d1804e004e libusb1: upgrade 1.0.25 -> 1.0.26
Changelog:
==========
* Fix regression with transfer free's after closing device
* Fix regression with destroyed context if API is misused
* Workaround for applications using missing default context
* Fix hotplog enumeration regression
* Fix Windows isochronous transfer regression since 1.0.24
* Fix macOS exit crash in some multi-context cases
* Build fixes for various platforms and configurations
* Fix Windows HID multi-interface product string retrieval
* Update isochronous OUT packet actual lengths on Windows
* Add interface bound checking for broken devices
* Add umockdev tests on Linux

(From OE-Core rev: 0c5828713ad1716d2032986f4156cfbc83a53674)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7353489980600af07d0771654da6a8a3b0df7572)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
1c35936495 apt: upgrade 2.4.3 -> 2.4.4
apt (2.4.4)

  * Recognize Static-Built-Using and order it below Built-Using
    (Closes: #1008759)

(From OE-Core rev: aa269a4f9808d1feadad926a2926165a5b6ed84e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c63741294c6322e6657f485034e434aab9fe2d8d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
7eada90a66 libsoup: upgrade 3.0.5 -> 3.0.6
Changelog:
=========
* Misc HTTP/2 fixes
* Add PUT/POST support to examples/get
* Add `--user-agent` option to examples/get
* Misc meson improvements
* Fix build with Visual Studio

(From OE-Core rev: 11beef012a0c7605b5ede04b9135692a993e0038)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ee1c748af7520f50275b8dfb32f41de7f5e14c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
zhengruoqin
dac7a15058 wireless-regdb: upgrade 2022.02.18 -> 2022.04.08
(From OE-Core rev: d5f538c1f2faa943cf97647197aac62cc8863d02)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6ea7450a919f2b571746e7af350c1362e41f8e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
e4b14a8335 linux-firmware: upgrade 20220310 -> 20220411
License-Update:
    Version of driver files updated
    Added files for some drivers

(From OE-Core rev: 332dcf0fbce5d851e4d75216ed204ba6b7bd6a21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01684df3a51be476081ee21eb54c24fef00acb3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Kai Kang
09d2ca20cb update_udev_hwdb: fix multilib issue with systemd
It duplicates udevadm in systemd recipe to make it could run
update_udev_hwdb with multilib enabled. Since systemd last update,
it deploys a shared library libsystemd-shared-250.so in /lib/systemd/.
The library will be overwritten when multilib enabled. Then if both
udev-hwdb and lib32-udev-hwdb are installed, it fails to run the
multilib version postinstall intercept update_udev_hwdb:

| /path/to/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-small/1.0-r1/rootfs/usr/libexec/lib32-udevadm:
    error while loading shared libraries: libsystemd-shared-250.so: wrong ELF class: ELFCLASS64

`udevadm hwdb --update` just concatenates .hwdb files in dirs
/etc/udev/hwdb.d and /lib/udev/hwdb.d. The output file hwdb.bin is
identical with the one created by lib32-udevadm. So do NOT duplicate
lib32-udevadm in systemd and eudev. And update intercept script
update_udev_hwdb that re-run udevadm with same arch qemuwrapper if run
${binprefix}qemuwrapper failed.

(From OE-Core rev: 74fe1b5af064f644a7d555b61527bb7d02cc30b8)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3dba872a42c2be7d0865a30118984ab013850292)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Peter Kjellerstedt
9c2e7b1261 u-boot: Inherit pkgconfig
pkg-config is used by the Makefiles, and thus pkgconfig needs to be
inherited.

(From OE-Core rev: 91bfc749de1530065d2cd8ecb4c8d16c458ade56)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6148ac9bc5d3e0d0ffdbbd6695acd96ca1836b78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Peter Kjellerstedt
fe61e4ff27 u-boot: Correct the SRC_URI
This avoids a redirect.

(From OE-Core rev: 4e4c668960414818b312d689d203897edd556a6f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 879bc5098943cf6977c32555ac31cb21be7b46ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Davide Gardenal
69d0235bb2 create-spdx: fix error when symlink cannot be created
If IMAGE_NAME and IMAGE_LINK_NAME are the same an
exception is raised in image_combine_spdx because
it cannot create a symlink with the same exact
path of the original file. In that case there is
no point in creating a link in the first place.

Refactor image_combine_spdx to avoid code duplication

(From OE-Core rev: dfb49be6b586e3901a4398b46c914d80dcdd029b)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88f76bba705007a7fcda506c79f743060d8f2e52)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Alexander Kanavin
65fd03e480 webkitgtk: adjust patch status
(From OE-Core rev: 1b2b4d426a65b0b79589f07fd1c01326baed9572)

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>
(cherry picked from commit e43558d5357aadf08521e7fb6170ad0bfd69f3f3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Konrad Weihmann
8c3071e5cb ncurses: use COPYING file
which has the same info as the in-file header used in before

(From OE-Core rev: 845be07aef7f9f8e6cf16760402327fba404cfc6)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8618589c10f85b7a92de01d93180751a804837ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Konrad Weihmann
0f16595276 git: correct license
by default git pulls in several code fragments not being licensed
under just GPL-2.0-only.

obstack and poll are licensed under GPL-2.0-or-later
reftable being BSD-3-Clause
sha1dc and inet_ntop being MIT
netmalloc being Bosst-1.0 aka BSL-1.0
regex being LGPL-2.1-or-later

(From OE-Core rev: d12513f066baca13a5be0c00792b1bd7d8b07c17)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5184e651651ed949d198882a10f406cef5939b7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Ferry Toth
c1c6132078 package_manager: fix missing dependency on gnupg when signing deb package feeds
When signing the deb package feed gpg tools are a soft requirement. If gnupg-native
is not declared a dependancy the version from hosttools is used. Unfortunately the
gpg-agent version from Ubuntu 16.04 on the autobuilders is incompatible with the package_index task
and fails during oe-selftest. Fix by making gnupg-native a dependency.

Fixes: 0b4231b5 "package_manager: sign DEB package feeds"
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 74725c9f7e7ed4172781891001e85b64bfb206b8)

Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c063b658e30a24be9214abc23cd2a16c0260e93e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Ferry Toth
15d0cc7db5 apt: add apt selftest to test signed package feeds
Since Gatesgarth apt (1.8.2) has become more strict and doesn’t allow unsigned repositories by default.
Currently when building images this requirement is worked around by using [allow-insecure=yes] and
equivalently when performing selftest.

Patches "gpg-sign: Add parameters to gpg signature function" and "package_manager: sign DEB package feeds"
enable signed DEB package feeds. This patch adds a runtime test for apt derived from the test_testimage_dnf
test. It creates a signed deb package feed, runs a qemu image to install the key and performs some package
management. To be able to install the key the gnupg package is added to the testimage.

(From OE-Core rev: 10fd76e6dfd97b57a9e2f592677c7e47b622e6b5)

Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ec30490d09d6639eea2638cf12a323948f221cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
3bc9b46bd9 mdadm: Drop clang specific cflags
This option is no longer needed

(From OE-Core rev: f6ad22d94fa14d15a6229a6977354b19bebdbb3d)

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>
(cherry picked from commit 8d7130937ea4e47f0fa4d23c1c8394e3ca3f939b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
d94222a7a9 gnupg: Disable FORTIFY_SOURCES on mips
This is a workaround for issue reported with gcc12 [1]

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234

(From OE-Core rev: 21f2723c84c37a0aaa1a27bc4b738f82507321e8)

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>
(cherry picked from commit 8b8259e070c582d0c566535a3559aa712148efc0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
34907af7e6 systemtap: Fix build with gcc-12
Backport a patch to fix
| ../git/util.cxx:1766:56: error: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = int; _Result = int]' is deprecated: use 'std::function' instea
d [-Werror=deprecated-declarations]
|  1766 |                        std::not1(std::ptr_fun<int, int>(std::isspace))));
|       |                                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~

(From OE-Core rev: fdca03e098cbac0405d9618641a3ab8862f5a8f8)

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>
(cherry picked from commit 0b360d12203aafd8bf96433d11221a6ed910a11f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
8a2dadf39f xserver-xorg: Fix build with gcc12
backport patch to silence new array-bounds warnings

(From OE-Core rev: c17679c1e5e4ba18ee634a9f3b74c438f727270a)

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>
(cherry picked from commit 54fa74e6e60472e10f1a11b3daa8ee9f00f0c9d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
2c10ea757c babeltrace: Disable warnings as errors
These settings are good for developers/maintainers but for distributions
generally disabling them turns out to be better especially when there is
a knob to do so. This fixes build with gcc-12 which find additional
warnings

    inlined from 'bt_ctf_object_set_parent' at ../../../git/src/ctf-writer/object.h:120:6,
    inlined from 'bt_ctf_trace_common_add_stream_class' at ../../../git/src/ctf-writer/trace.c:1243:3:
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
  141 |                 if (child->parent) {
      |                     ~~~~~^~~~~~~~
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
cc1: all warnings being treated as errors

(From OE-Core rev: bdf428b3b91d43eb61a6a4b83fc0f108745d45b7)

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>
(cherry picked from commit 1898d10dd4d4372823e6c8b8c4ed28604e692365)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Richard Purdie
a5fc3332ac buildtools-tarball: Only add cert envvars if certs are included
Users may or may not include the certificates in buildtools. Only set the
appropriate variables if they're present.

(From OE-Core rev: f3b1699afcd35494e972e7b5b575c318a196909f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0945a2a5d7c41af22e222a116aafacb4beee54d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Paulo Neves
5a52e76f15 selftest/lic_checksum: Add test for filename containing space
A fix is being added to bitbake to correctly handle spaces inside
checksum filenames. Add a test to oe-selftest to ensure this is
tested and doesn't regress in future.

(From OE-Core rev: 4146d30d06233c299b280d0e99ac5f51aab63ad4)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 324109f034f069ee3e91a1a705b3449911a448de)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Jon Mason
f5a94fd31e qemuarm64: use virtio pci interfaces
The virtio PCI devices seemed to be required for this machine for some
versions of qemu (based on errors from running qemu saying that the
devices don't exist).  Changes to the entries here is all that is needed
to get it working.

(From OE-Core rev: 291940f12c319e74351ff97811919c8c03477c27)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 217deeb43036d1a046d6c5ea2c1ccdb94d3d605a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Martin Jansa
a5fca80441 systemd-boot: remove outdated EFI_LD comment
* efi-ld meson option was changed in systemd 250:
  fe330f02df

  the value was changed with the systemd upgrade in:
  https://git.openembedded.org/openembedded-core/commit/?id=e22188e47d2fce2406d9db9c95289b3878eda69f
  but the comment originally from:
  https://git.openembedded.org/openembedded-core/commit/?id=603e50f3db224a0e36a65decb9a98df41b9e22b3
  no longer makes any sense, remove it

(From OE-Core rev: c7c9e106614473e41cab108cbda9ef959864bacc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c14dbe3d3c1abf5f95310162288f861bfd312900)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Michael Halstead
d53ac6e956 set_versions: update for 4.0 release
Uncomment langdale lines to bump the version.

(From yocto-docs rev: b4cf85ac951b1d09b8698effaf62ba052e772eac)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 10:56:52 +01:00
Michael Halstead
3fbc631a44 releases: update for yocto 4.0
Bump various versions and names.

(From yocto-docs rev: bfb8b2cf4a79f898cdc97c6be7f3b47a5a411d84)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 10:56:52 +01:00
Lee Chee Yang
c68b8e1770 migration-guides: release-notes-4.0: update 'Repositories / Downloads' section
(From yocto-docs rev: e814a998cc0a7c451a77df0304d0a69a27ac08ae)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
02dc699d23 docs: migration-guides: release-notes-4.0: replace kernel placeholder with correct recipe name
If I am not mistaken, the only kernel recipe to have a new PACKAGECONFIG
option is linux-yocto-dev, in commit 1bac831fba
"linux-yocto-dev: introduce dt-validation PACKAGECONFIG".

Therefore, let's replace (kernel) by the one kernel recipe that has this
change.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 1882954924cef9f17caad0f83973afe08f4db764)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
b43d659260 docs: migration-guides: release-notes-4.0: fix risc-v typo
It's RISC-V and not RiscV, c.f. https://riscv.org/ (yes, no dash in the
domain name...).

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 1a5fd51a50fe39d8095bb5a4f34d6b953e59c58f)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
3f5365d11a docs: migration-guides: migration-3.4: mention that hardcoded password are supported if hashed
Plaintext/clear passwords are not supported anymore but hashed passwords
still are. Mention that in the migration guide and point to the
appropriate location of documentation.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: f8b9697ec7bcc188db5ce9e5067bc82c023b79d9)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
8c7145a12d docs: ref-manual: variables: add hashed password example in EXTRA_USERS_PARAMS
Add examples for hashed hardcoded passwords from extrausers.bbclass so
that this feature is not hidden away.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 5db73c7c5668144ed4629f95378e44f0bd8c8256)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
4c2ea34b3e docs: conf.py: fix cve extlinks caption for sphinx <4.0
extlinks captions support using %s substitution but only from sphinx 4.0
onwards.
c.f. https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#confval-extlinks

Weirdly enough, on older sphinx versions, the caption is just a prefix
to the actual text passed to the extlink. Therefore, in that specific
case, CVE- or CVE-%s are identical in meaning for sphinx >=4.0 and since
only CVE- caption works on sphinx <4.0, let's go with CVE- caption
prefix.

Fixes: b311070d866cf "manuals: add 3.4 and 3.4.1 release notes after migration information"
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: c9922076f5c1285d9cfd6aff8ce5b6635d88222f)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
5cad452c85 ref-manual: add ZSTD_THREADS
ZSTD_THREADS is new for kirkstone.

(From yocto-docs rev: b970936b89bebb184c82be3a9514a9eba7c04f9b)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Richard Purdie
47fab8caa8 ref-manual: Add XZ_THREADS and XZ_MEMLIMIT
XZ_THREADS and XZ_MEMLIMIT were introduced in dunfell.

[RP improved an original patch from Paul]
(From yocto-docs rev: 96defb66b775093b5270bd1ebad0461c2bba1e5b)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
eee7bbc16a migration-guides: add release notes for 4.0
Generated from commits in the kirkstone branch, as well as a few entries
from the migration guide.

(Note that the "Repositories / Downloads" section still needs to be
filled in.)

(From yocto-docs rev: 0c66638e61d3e16ac8d4b7ebc4ec6fb35625bf4f)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
97bfd780ad migration-guides: complete migration guide for 4.0
* Make some corrections to preliminary set of entries
* Move out entries that were more appropriate for the release notes
  (i.e. that are more additions rather than changes that require the
  user to make changes)
* Add new entries based on commits in the kirkstone branch

(From yocto-docs rev: bea2da80e7c5338dc5abefe95ce27b80ed4ee98a)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
445d91575d ref-manual: add empty-dirs QA check and QA_EMPTY_DIRS*
This check is new in kirkstone.

(From yocto-docs rev: baa483e75538013be3261f8c115b8a5364b24c60)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
9e75211b3a ref-manual: add KERNEL_DEBUG_TIMESTAMPS
New variable in kirkstone.

(From yocto-docs rev: 2c5d4938a09fd35f9e86f682cde89d4693762725)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
b3f040b4a5 ref-manual: add mention of vendor filtering to CVE_PRODUCT
Mention the vendor filtering functionality - prompted by OE-Core
revision 45d1a0bea0c628f84a00d641a4d323491988106f.

(From yocto-docs rev: 13ff5a49f14a26772b4775d9ecd08627e6becd4d)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
8da3055567 ref-manual: mention wildcarding support in INCOMPATIBLE_LICENSE
Add this since the INCOMPATIBLE_LICENSE wildcard support has changed in
the 4.0 release.

(From yocto-docs rev: c7946863e5a9d62a49131b92cc9549da9b799bbd)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
ad8d1e6228 ref-manual: add a note about hard-coded passwords
It seems prudent to point out that hard-coding passwords in the manner
detailed in the example is not a good idea in production. This type of
mistake has unfortunately been made by many device vendors (outside of
the Yocto Project context) leading to security vulnerabilities.

(From yocto-docs rev: 1d07dba9423ae0a841eccb58c297e31b63c3965d)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
b80972f3ad migration-3.4: add missing entry on EXTRA_USERS_PARAMS
We missed noting this in 3.4 but I noticed the documentation was
recently updated, so note the removal.

(From yocto-docs rev: f661e62d6faf48dbb6c6fd9a61a6448ec339d2bf)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
273fe4b6af docs: sphinx-static: switchers.js.in: do not mark branches as outdated
Branches can never be outdated so let's check the release is not a
branch (branches end with .999).

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 4755961bbb5f674a7532b91cca20ea44a1e22ae7)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
3947a5f18b docs: sphinx-static: switchers.js.in: fix broken switcher for branches
The switcher expects URL subpath to match the "release" used by sphinx
to build the documentation. Branches, however, are put in a subpath
after their name (e.g. dunfell) while sphinx sets the "release" to
X.Y.999. This means the switcher cannot replace correctly the path to
switch between releases/versions.

Let set_versions.py inject the list of release names into the
switchers.js.in file so it can check whether the subpath is one of the
release names in which case it needs to be stripped.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 5ef3d129b8d0d8ae98a694103930988a46285525)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
4b8010810a docs: sphinx-static: switchers.js.in: rename all_versions to switcher_versions
This array only contains versions that can be selected through the
dropdown menu for switching between supported versions.

Therefore, let's rename it to switcher_versions to make its usecase
clearer.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 5c3d67751bf3f572a0788d3a4734b80e3453d084)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
8096431d58 docs: set_versions.py: mark as obsolete only branches and old tags from obsolete releases
Branches are identified by their .999 version suffix which means they
will never be matched in the forloop above this git context. Therefore,
branches will match the condition. However, branches are not necessarily
obsolete (e.g. dunfell, honister and kirkstone today), so let's mark as
obsolete the branches which are from obsolete releases.

Old tags of currently supported releases are not defined as obsolete but
outdated, therefore using the series to which they belong like it is
done for branches is enough for obsolescence detection.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 7181a432da18b47608784363d243ea39b80be1ed)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
ea99def6bf docs: update Bitbake objects.inv location for master branch
master branch of Bitbake is now located at docs.yoctoproject.org/dev
instead of docs.yoctoproject.org so let's update the switchers and
set_versions.py to reflect that change.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 18338292d99ed236e2bac6e73a5152ef11c4a9e5)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
ee6d170d87 docs: set_versions.py: fix latest version of an active release shown as obsolete
ourseries can be an active release and therefore shouldn't be marked as
obsolete. By adding ourseries to activereleases, it is impossible to
know if ourseries is actually an active release or not. Instead let's
loop on the active releases with ourseries too (only if it's not active
release, otherwise it'd appear twice).

Fixes: 6f40ef56054ec "docs: set_versions.py: add information about obsolescence of a release"
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: f16b633211b97b2cdf2c65d83c99cd3853d2bb5c)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
4a0acaf3cc docs: set_versions.py: fix latest release of a branch being shown twice in switchers.js
versions array is supposed to store the latest version of all active
releases. However, in the loop it is reassigned and therefore, the check
on whether our version is already in the versions array will always
return false (except for the latest version of the last active release)
and write our version again in the list.

By using a local variable for the logic instead of versions array, the
check now works properly.

Fixes: f2b069be8c307 "set_versions: Various improvements"
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 36a088c8c99dd37f5ca07ec8f90f2c51ef8b36f2)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Richard Purdie
a2acea4633 build-appliance: Switch to kirkstone branch
(From OE-Core rev: 741064d6e9001c1cc933fea192c8c99a6892bd83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 08:28:22 +01:00
Steve Sakoman
91e14d3a8e lua: fix CVE-2022-28805
singlevar in lparser.c in Lua through 5.4.4 lacks a certain luaK_exp2anyregup
call, leading to a heap-based buffer over-read that might affect a system that
compiles untrusted Lua code.

https://nvd.nist.gov/vuln/detail/CVE-2022-28805

(From OE-Core rev: d2ba3b8850d461bc7b773240cdf15b22b31a3f9e)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:02:13 +01:00
Steve Sakoman
8f48f1014f busybox: fix CVE-2022-28391
BusyBox through 1.35.0 allows remote attackers to execute arbitrary code
if netstat is used to print a DNS PTR record's value to a VT compatible
terminal. Alternatively, the attacker could choose to change the terminal's colors.

https://nvd.nist.gov/vuln/detail/CVE-2022-28391

(From OE-Core rev: 3e17df4cd17c132dc7732ebd3d1c80c81c85bcc4)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:02:13 +01:00
Quentin Schulz
57a32692b7 docs: sphinx-static: switchers.js.in: improve obsolete version detection
Based on additional information per release, specifically with the
obsolescence status of a release, the obsolescence detection can now be
much smarter than just checking if the release is older than dunfell.

This is required because with LTS (dunfell for example) releases, it is
now possible to have LTS releases that are older than obsolete releases.

This means obsolete releases need to be tracked and only the release
version cannot be used as an indicator of obsolescence.

Let's use the obsolete field of the per-release data in the all_versions
dictionary to display correct warning messages.

The warning message is first about outdated version if there's a newer
one available (*even* if it is for an obsolete release, e.g. 3.0.1 will
say it's outdated and should select 3.0.4 version instead), then if the
version is the last of the release, show a warning message if the
release is obsolete.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 6986baa0d3b544bbad8a7e23ee447abc6f2769f6)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Quentin Schulz
8643342d80 docs: set_versions.py: add information about obsolescence of a release
This adds support for marking releases as obsolete to make the
detection algorithm smarter (in a later commit) than just checking if
it's older than dunfell.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 6f40ef56054ecbd3d8b7310d748c1af78a689add)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Quentin Schulz
7b3a83f736 docs: sphinx-static: switchers.js.in: remove duplicate for outdated versions
Since commit f2b069be8c307 "set_versions: Various improvements", an
outdated version will always appear in all_versions, meaning there'll
always be an exact match in the loop (just above the git context of this
patch) so there's no need to add the current_version to the dropdown
menu manually.

This issue showed up only for outdated versions of obsolete releases,
e.g. 3.2.3. In that case, 3.2.4 (latest version of the obsolete release)
will appear in the all_versions array in addition to 3.2.3, which means
the check on release series (3.2) will be matched twice, and 3.2.3 will
be printed once in the 3.2.4 loop because version != current_version and
once in the 3.2.3 because it is an exact match to an entry in
all_versions.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 05065fa1f3855e8b7d9e8af0502b4ae402273400)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Abongwa Amahnui Bonalais
c6421fce9d dev-manual: add command used to add the signed-off-by line.
(From yocto-docs rev: 0520831118ab0f3287d1a6cde4fa26062e55ee74)

Signed-off-by: Abongwa Bonalais Amahnui <abongwabonalais@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Abongwa Amahnui Bonalais
0e27bdf640 documentation/brief-yoctoprojectqs: add directory for local.conf
Replacing local.conf by conf/local.conf

(From yocto-docs rev: 0f8c773d4ef79f7a8281c5743337c0504d7a786e)

Signed-off-by: Abongwa Bonalais Amahnui <abongwabonalais@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Richard Purdie
00cfdde791 build-appliance-image: Update to master head revision
(From OE-Core rev: 92fcb6570bddd0c5717d8cfdf38ecf3e44942b0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-16 14:31:04 +01:00
Richard Purdie
0674ae7bc4 git: Upgrade 2.35.1 -> 2.35.2
This includes a fix for CVE-2022-24765

(From OE-Core rev: a17dc42d82b12d7f891c903a02a0302b31829c88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Richard Purdie
f3424b58e9 bitbake.conf: Correct BB_SIGNATURE_EXCLUDE_FLAGS
Some of the flags listed here do change the output and hence do need to
be included in task checksums.

This means we start including the following flags in function/task/variable
checksums:

type, func, export, unexport, noexec, dirs, cleandirs

(From OE-Core rev: 54e8b744bb7e7aa03277a42b0c5cf707440f8b8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Richard Purdie
5d6dff5947 libxshmfence: Correct LICENSE to HPND
The license in this code is listed as MIT and whilst it is compatible with and
usable as MIT, it actually looks like HPND. Clarify the license field accordingly.

(From OE-Core rev: 922b645f443c33060a8990d32e6b7b62ea5497c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Richard Purdie
3f8fd96cfd alsa-tools: Ensure we install correctly
With the fix for #8621, cleandirs is now applied to autotools_do_install
and this results in a lot of the install targets to be removed. Ensure
cleandirs isn't set for autotools_do_install.

(From OE-Core rev: 72299395b06fc3fdaca5f7b8b87a6ea32a6267ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Scott Murray
d3f246413b runqemu: Do not auto detect graphics if publicvnc is specified
The graphics option auto detection logic added in 7f78bb7a was not
checking if the publicvnc option had been specified, meaning that
it would be ignored and the auto detection result used instead.
Add setting a flag variable in the argument parsing and check
it along with the ones for the other graphics backend options.

(From OE-Core rev: 4b73b55c2d258768cda2bf7262ebb36bcb7fed5b)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Peter Kjellerstedt
24c743fe66 shadow: Disable the use of syslog() for the native tools
An attempt to disable the use of syslog() was made in commit 8f181686
(shadow-native: Simplify and fix syslog disable patch). However,
because the code checks if USE_SYSLOG is defined rather than checking
if it evaluates to TRUE the patch did not work as intended.

(From OE-Core rev: e1f21d0d3385f9d9f4316bf0039b287fd4b37fc8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Ricardo Salveti
af5cb9d6fe bitbake: fetch2/crate: fix logger.debug line
logger.debug was giving an integer value (2) as event message, causing
knotty to crash when running with debug enabled.

bitbake/lib/bb/ui/knotty.py", line 685, in main
  event.msg = taskinfo['title'] + ': ' + event.msg
TypeError: can only concatenate str (not "int") to str

Same issue also happens in the original code that was taken from
oe-core (openembedded-core/meta/lib/crate.py honister) / meta-rust.

(Bitbake rev: c212b0f3b542efa19f15782421196b7f4b64b0b9)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Richard Purdie
81b4d8bc6b build-appliance-image: Update to master head revision
(From OE-Core rev: 24e3b2ee56e0b59aa280191bd00fdfc773f0a973)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 21:58:19 +01:00
Richard Purdie
155295c109 bluez5: Add fix for startup issues under systemd
The systemd bluetooth service failed to start. Add a workaround for this whilst the
final fix is discussed upstream, https://github.com/bluez/bluez/issues/329.

(From OE-Core rev: 3e85ce436699a2b5b7751f671e4a6eabb4ca5404)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 21:58:10 +01:00
Richard Purdie
3a694070f7 build-appliance-image: Update to master head revision
(From OE-Core rev: d5585ff062099412074901eeab9f44b7c7f8e351)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 16:46:41 +01:00
Bruce Ashfield
b3ea0a07d4 lttng-modules: support kernel 5.18+
Backporting changes from lttng master to support building against
the 5.18+ kernel. No changes required to the patches. Once a new
-stable 2.13.x is released, we can drop these patches. To enable
newer kernel development against the LTS, it is worth pulling these
in while we wait for an upstream release.

(From OE-Core rev: 8a7237a47488442513741930ea55d69dd6bd7be4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 16:46:35 +01:00
Bruce Ashfield
09fdbbcd19 linux-yocto-dev: update to v5.18+
5.18-rc2 has been released, so we bump the -dev kernel to allow
easier testing of our components against the latest korg.

(From OE-Core rev: 091f1356d0245dcafe2f01bd5dcccf3802aaccfb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 16:46:34 +01:00
Richard Purdie
564ff25c7c build-appliance-image: Update to master head revision
(From OE-Core rev: c6ebc3ef3045ecd7cb66b5a94777eb7a3c9f48a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 15:24:59 +01:00
Richard Purdie
76f23d1d58 puzzles: Drop broken icon
The renaming left a broken desktop file behind (the others are overwritten).
Fix this by removing it.

(From OE-Core rev: 60925ef384f8c9966499b0d7e67927f1906be495)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 12:44:34 +01:00
Richard Purdie
a0ae56410c rxvt-unicode: Fix icon name
There was no icon being displayed for this, fix the name so that
is corrected.

(From OE-Core rev: 3bf3d123e1c62d1811039328f1f557ae35dec3fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 12:44:34 +01:00
Peter Kjellerstedt
c679713a72 bitbake: pyinotify.py: Simplify identification of which event has occurred
Use bitwise operators to manipulate the received event mask in
_ProcessEvent.

Also minor clarification & clean up of the related comments.

(Bitbake rev: 2ab60c7be124d928d304ab1fb73f0dbff29964ae)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Schmidt, Adriaan
33b929192e bitbake: bitbake-diffsigs: make finding of changed signatures more robust
In `runtaskhashes`, the keys contain the absolute paths to the recipe. When
working with shared sstate caches (where these absolute paths can be different)
we see that compare_sigfiles does not identifiy a changed hash of a dependent
task as "changed", but instead as "removed"&"added", preventing the function
from recursing and continuing the comparison.

By calling `clean_basepaths` before comparing the `runtaskhashes` dicts, we
avoid this.

(Bitbake rev: 7358378b90b68111779e6ae72948e5e7a3de00a9)

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Richard Purdie
73fa855f6a bitbake: ast: Improve function flags handling for EXPORT_FUNCTIONS
Currently, if you use one of the functions from EXPORT_FUNCTIONS,
the meaning of cleandirs and fakeroot are lost. This leads to the function
changing in behaviour depending upon it's caller context. This isn't intended
so add mapping for the cleandirs and fakeroot flags too.

This does break devtool in OE-Core and there is a separate fix for that.

[YOCTO #8621]

(Bitbake rev: b074f4aff00923acc5bf6649d204d541a79fd2b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Pavel Zhukov
6ec07ea632 bitbake: fetch2: Add GIT_SSH_COMMAND to the list of exports
GIT_SSH_COMMAND is more convinient to use if arguments have to be passed
and the user doesn't want to create a wrapper script around ssh.

(Bitbake rev: 5e746cb9d26ce87d6c9d52d9022122081a9811c5)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Olaf Mandel
d1f254d56f bitbake: fetch2/git: canonicalize ids in generated tarballs
Change the owner information in the mirror tarballs generated using
BB_GENERATE_MIRROR_TARBALLS="1". This is an extension of commit
0178ab83, which used the original pokybuild:user information, but failed
to clean up the numerical user and group ids. Now set the more canonical
values of oe:oe and 0:0.

(Bitbake rev: 37437115d3fb1a9f5d8ed7356a0fc01a408e4f8c)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
CC: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Richard Purdie
73d0fcf5d5 bitbake: checksum: Allow spaces in URI filenames
If there are spaces in the URI filenames it can break the code.
We already solved this issue once somewhere else in the code so
use the same regex trick here as well.

We should ultimately refactor this code but at least fix the issue
for now.

(Bitbake rev: 57e2fc4d7f60afea4d4b2c84761324dd99e74a87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Richard Purdie
0be2abfe7c runqemu: Allow auto detection of the correct graphics options
Running "runqemu qemux86 kvm" when qemu is configured for sdl and/or gtk
display output currently leads to a poor user experience with no cursor
and corrupted fonts in the gtk case. This is due to no options being
passed to qemu which leads to the loss of the font envirornment variable
and the show-cursor option.

If the user hasn't specified a display type, grep the output of
"qemu-system-xxx --help" for the display types and pick the "best"
which ensures our config is passed in. That resolves the gtk font issue
and the cursor issue with both sdl and gtk.

(From OE-Core rev: 7f78bb7a7baf67b9226fb460ca9e12fde6ef40c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
4f7717ae09 cmake: add missing licenses
in target and native variant a different set of vendored libraries
is pulled from the cmake sources.
Add those licenses and there texts

(From OE-Core rev: fc6c1951dd7e53791a9d92610dfc2eefab4c2a4a)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
4e485ea7f2 python3-pip: correct license
as described in src/pip/_vendor/README.rst pip ships plenty
of vendored copies of other python modules.
Correct the license of the resulting package and
reference all the vendor copy license files correctly

(From OE-Core rev: 1c192304b2b2ff8c909836d2c78826192e7d21ca)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
bd9defc50d gettext: add MIT conditional as license
depending on the actual PACKAGECONFIG some
internal vendor copies of libxml, libcroco and glib will
be used.
In the case of libxml this adds MIT to the license.
Reference the license statements based on the actual choosen
PACKAGECONFIG

(From OE-Core rev: faa513a5270b376508fe8d3553020d58460d0d05)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
dd360004e0 libidn2: add Unicode-DFS-2016 license
as COPYING clearly states that unicode data is baked into
the lib.
Add the license and reference the COPYING file for that

(From OE-Core rev: 1f5fd6a0f3053d1d006ff198b0bc1e58251d021d)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
1e3bda0517 libsdl2: fix license
by default libsdl2 is build with code from src/video/yuv2rgb, which
is licensed under BSD-2-Clause.
Additional by default hidapi is build, which is licensed under
GPL3 | BSD-2-Clause | HIDAPI license, pick the least restrictive
and best matching BSD-2-Clause.

(From OE-Core rev: a97f7975edaf0ed833950f87c3d880a8897c67df)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
2e3513e7cc libcap: add pam_cap license
If libcap is compiled with pam in PACKAGECONFIG
one additional license text becomes effective,
add that as a conditional

(From OE-Core rev: 1ea595d5fe24f4ba5e648b5591d5e2a442f57ca4)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
39becfe534 itstool: add missing COPYING.GPL3
to LIC_FILES_CHKSUM.
Format the list for better readability.
Remove useless line continuation from SRC_URI

(From OE-Core rev: ab25d08e16590c0b1e57a165b8a6db8dc263be7e)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
ccfb5372c9 gmp: add missing COPYINGv3
add COPYINGv3 license text to LIC_FILES_CHKSUM

(From OE-Core rev: 8e8cf07a58a6bf5412572e76e2a7ab27df8af01f)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
1186f02363 kern-tools-native: add missing license
add the Kconfiglib license, as this was missing in before.
Add MIT identifier to LICENSE

(From OE-Core rev: 8e337904b1f612dc461e64a57bcd7c2dff2a309b)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Alex Kiernan
7973b38018 kernel: Delete unused KERNEL_LOCALVERSION variable
This has been unused since:

  commit fb61dc1430
  Author: Richard Purdie <richard@openedhand.com>
  Date:   Mon Jan 8 21:05:18 2007 +0000

      kernel.bbclass: Drop KERNEL_RELEASE variable

      git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1123 311d38ba-8fff-0310-9ca6-ca027cbcb966

(From OE-Core rev: 320da1c2b9add9fecd74e7f33ddc5418b326c786)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Khem Raj
32276b968e kernel-devsrc: Check for gen_vdso_offsets.sh before copying on riscv
This file is introduced in newer kernels >= 5.15 but some RISCV machines
still use 5.13 kernels, this ensures that kernel-devsrc can build on
older kernels for RISCV

(From OE-Core rev: b4d3c2c03495730a2253669ad8a438288629a1c8)

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>
2022-04-14 09:47:00 +01:00
Alexander Kanavin
4dbd32ccee itstool: correct upstream version check
(From OE-Core rev: 62a81447d7b1859c7f8df9958bfa889ccc48674f)

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>
2022-04-14 09:46:59 +01:00
Richard Purdie
6bef16bde3 sanity: Show a warning that make 4.2.1 is buggy on non-ubuntu systems
We keep seeing hangs on the autobuilder with make 4.2.1 on Centos8, Alma8
and OpenSuse workers. The hang occurs in perl and kernel builds in particular.
The issue is fixed in 4.3 and has been patched on Ubuntu systems:

https://git.savannah.gnu.org/cgit/make.git/commit/?id=78b5fec6898c26956d00548427cda1101cb80f8a
https://savannah.gnu.org/bugs/?51400

Add a sanity test for make 4.2.1 and error for non-ubuntu systems. We're
making a buildtools-make-tarball available which can be used to
allow systems with the broken version to use the project.

(From OE-Core rev: ad5829aa1f8a7369509542b913bfd8d21d1b1bc3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:46:59 +01:00
Richard Purdie
9dff569a07 externalsrc/devtool: Fix to work with fixed export funcition flags handling
If we fix bitbake to correctly handle the cleandirs and fakeroot flags
for tasks handled by EXPORT_FUNCTIONS, we break devtool since it only
considers these for top level functions. Add in extra code to intercept
the cleandirs flags for commonly used sub functions too.

[YOCTO #8621]

(From OE-Core rev: 67fad829f37ed0a8e20c599d2b65635158591d06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:46:59 +01:00
Jon Mason
9fc670b6a1 linux-yocto: Remove unnecessary, commented out qemuarm entry
The line in question is already in place in qemuarm.conf.  Remove it
from here, as it is not necessary and references an older kernel.

(From OE-Core rev: c8350634a9aba9080939af55d8fe91819fb83cc8)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:46:59 +01:00
Richard Purdie
3b2edd473e local.conf.sample: Update for 4.0 in sstate url
(From meta-yocto rev: fa0884372892d43e76c4d3b4486f1851e39edac3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 21:22:52 +01:00
Richard Purdie
5fc8dd16f2 migration-guide: Kirkstone is now 4.0
Update the docs to reflect that kirkstone is 4.0, not 3.5.

(From yocto-docs rev: a6f571ad5b087385cad8765ed455c4b4eaeebca6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:54:32 +01:00
Richard Purdie
5c63147e31 Revert "adwaita-icon-theme: upgrade 41.0 -> 42.0"
This reverts commit 131b143b6e.

Upstream dropped many 'legacy' low res bitmap icons and also plans to
phase out 'generic app' icons in the svg format, saying that all apps
must carry their own icons. This breaks the icons displayed in sato
so revert for now until we have a plan to mitigate that.

[YOCTO #14782]

(From OE-Core rev: 04603905991ba7e703b07abc16c8a689d94be95d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Richard Purdie
c362c7feef git: Ignore CVE-2022-24975
Everyone I've talked to doesn't see this as a major issue. The CVE
asks for a documentation improvement on the --mirror option to
git clone as deleted content could be leaked into a mirror. For OE's
general users/use cases, we wouldn't build or ship docs so this wouldn't
affect us.

(From OE-Core rev: 5dfe2dd5482c9a446f8e722fe51903d205e6770d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Richard Purdie
45afc335d3 tiff: Add marker for CVE-2022-1056 being fixed
As far as I can tell, the patches being applied also fix CVE-2022-1056 so
mark as such.

(From OE-Core rev: 256d212fd1eb9b6d4b87c2c84b1ea2a3afdeb843)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Richard Purdie
d3544320ec qemu: Add fix for CVE-2022-1050
Add a fix queued upstream for the issue in this CVE:

"""
Guest driver might execute HW commands when shared buffers are not yet
allocated.
This might happen on purpose (malicious guest) or because some other
guest/host address mapping.
We need to protect againts such case.
"""

(From OE-Core rev: 1b8513c1abdcd6430f9311efd04d785488f79d7d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Khem Raj
dbe3a77e0d python3: Do not detect multiarch when cross compiling
This was a long standing problem seen on aarch64 build hosts when
compiling python3 with clang cross compiler. The issue is not seen with
gcc because native glibc headers are still compatible with gcc cross compiler

(From OE-Core rev: 407744b00d702e3133304e1b43064a5634ca02cf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Khem Raj
c1c263eba2 webkitgtk: Add missing header locale.h
This fixes build issues seen on mips, but problem is generic

(From OE-Core rev: 08c06980648d3f72cddbf62a96d6915f5d54b94e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Alexander Kanavin
40d55d80ca epiphany: upgrade 41.3 -> 42.0
The new version uses printenv from coreutils during builds.

(From OE-Core rev: 1d46d4c1150743a04ddf3d9936e431b487676043)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:23 +01:00
Alexander Kanavin
54fddf8d0a webkitgtk: update 2.34.6 -> 2.36.0
Drop patches:
0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
(both merged upstream)

reduce-memory-overheads.patch
(rejected by upstream, there's no use case - see the discussion)

Rebase to version submitted upstream:
0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch

Add:
0001-When-building-introspection-files-do-not-quote-CFLAG.patch

angle is no longer needed for x11-less setups.

(From OE-Core rev: 05582e9e6583126879977b0bbb88b691d625056b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:23 +01:00
Khem Raj
30b38d9cb9 musl: Move to 1.2.3 release tag
This actually are just 2 patches on top of what we have thus far

* 7a43f6fe release 1.2.3
* 01b14242 accept null pointer as message argument to gettext functions

(From OE-Core rev: bb0d9815a8e47b28836ab0eb13ebe236d745b253)

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>
2022-04-12 09:43:44 +01:00
Kevin Hao
d429e927d8 kernel.bbclass: Fix the do_strip() malfunction
The BB variable can't be referenced directly in a python function,
this misusage of the variable reference causes strip function to be
always skipped.

Fixed: b9c3db4953e4 ("kernel.bbclass: Use KERNEL_IMAGEDEST instead of hardcoded boot path")
(From OE-Core rev: c405cb4f421a8c964fa59123ee41879ebd5f829c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-12 09:43:43 +01:00
Khem Raj
b2fb36fead libarchive: Upgrade to 3.6.1
Changes in this release [1]

[1] https://github.com/libarchive/libarchive/releases/tag/v3.6.1
(From OE-Core rev: 8d33be8421e36605a5d59caf3f4956a7df8949e4)

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>
2022-04-12 09:11:09 +01:00
Martin Jansa
632c83ab78 license_image.bbclass: close package.manifest file
* fixes:
  NOTE: Executing write_package_manifest ...
  DEBUG: Executing python function write_package_manifest
  /OE/build/oe-core/openembedded-core/meta/classes/license_image.bbclass:23: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/tmp-glibc/deploy/licenses/core-image-minimal-qemux86-64/package.manifest' mode='w+' encoding='UTF-8'>
    'w+').write(output)
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function write_package_manifest finished

[YOCTO #14772]

(From OE-Core rev: b3114d5d438b7a63a276b4e825b62f3b1ebceed6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Chen Qi
d281f68273 spirv-tools: fix to use sdk-1.3.204 branch
Just as pointed out in a previous commit:
"""
We'll continue tagging the repos contributing with SDK releases, as
that is when all the testing of the various projects is performed
together.
"""

Now the repo has updated and the 'stable' branch is forcely overriden.
We need to use the 'sdk-1.3.204' branch.

(From OE-Core rev: df6d96cc5e376c15a7c3416f3aaf306db3c15f42)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Ross Burton
8b4a654641 python3-cryptography: backport fix for leaky test
The leaking test case has been fixed upstream, so backport the patch.

(From OE-Core rev: 4705b8a724fe288a20f1a080e2796ea90f46c9fb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Richard Purdie
21f0318abc package_ipk/deb: Fix specific version handling
We recently added a "xxx (= 1.2.3)" style dependency to a recipe and have
been having trouble with the opkg and debian backends with it.

The issues is that for debian, "=" really does mean equals and includes the
PR field. One bitbake recipe does not know the PR of another, nor shoud it.
In other words 1.2.3 != 1.2.3-r0. Debian defaults to a PR of "0", not our
"r0".

The only way I can think of to make this work is to change "=" dependencies
without revision information (no "-r" in the version) into things like:
"xxx (>= 1.2.3), xxx (<< 1.2.3.0)". This appears to work even if it is a
pretty horrible workaround.

(From OE-Core rev: 3ba177a1b8e553716f45606aa65b0a74e55d94c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Richard Purdie
3d4e5a0b7f uninative: Upgrade to 3.6 with gcc 12 support
There are reports of issues with the new libstdc++ from gcc 12. This upgrades
to a gcc 12 version of uninative to allow builds on those systems. Gcc 12 isn't
finalised so we may need to add a new version of this if/as appropriate when it
is.

(From OE-Core rev: e3da4da7e5da5bb9e1d360e2be2fdd5132e69320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Ralph Siemsen
55bed213cf gzip: upgrade 1.11 -> 1.12
This includes a fix for CVE-2022-1271.

The existing "wrong path" patch needed to be refreshed, because the
context changed due to the following upstream change:
https://git.savannah.gnu.org/cgit/gzip.git/commit/?id=31193bbd13cd2807d8ccaa2ba5b072303d5425e7

(From OE-Core rev: ada1a900b022f0330a9812e4f4c0248961de1048)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Ralph Siemsen
30eb28dd02 xz: fix CVE-2022-1271
Malicious filenames can make xzgrep to write to arbitrary files
or (with a GNU sed extension) lead to arbitrary code execution.

Upstream-Status: Backport [https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch]
CVE: CVE-2022-1271

(From OE-Core rev: 97bf86ccde4417daec8ef3945071a50a09134bc6)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Alexander Kanavin
89efab2850 connman-conf: ignore eth0 in qemu in a way that is not sysvinit-specific
(From OE-Core rev: 9e2cb139fabf302fb85c292a8848d6fb66851d07)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-08 17:49:58 +01:00
Richard Purdie
ed98f1a1ae build-appliance-image: Update to master head revision
(From OE-Core rev: 62851965fc180f33ed6feb62ff5ac14706e4732a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:28:11 +01:00
Ferry Toth
0b4231b597 package_manager: sign DEB package feeds
Implement debian package repository signature.
For each Release file created in repository subdirectory, a signature
Release.gpg is created.

Signature is performed using gpg backend when the following variables
are set in local.conf:
PACKAGE_CLASSES += "sign_package_feed"
PACKAGE_FEED_GPG_NAME = "<Id of GPG key>"
PACKAGE_FEED_GPG_PASSPHRASE_FILE="<path to password file>"

(From OE-Core rev: fcc3cee276999efe6402959eb295e7a0e1e96f96)

Signed-off-by: Xavier Berger <xavier.berger@bio-logic.net>
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:25:13 +01:00
Xavier Berger
bd8f1f7787 gpg-sign: Add parameters to gpg signature function
output_suffix: If defined, add output_suffix as file name extension.
use_sha256: If True, use sha256 for gpg as digest algorithm

(From OE-Core rev: cfcaa54dc73925df448099fb60f75b18350b2a3b)

Signed-off-by: Xavier Berger <xavier.berger@bio-logic.net>
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:25:13 +01:00
Carlos Rafael Giani
ee994c89b6 libsdl2: Disable libunwind dependency in native builds
libunwind-native currently cannot be added to the class-native DEPENDS
due to the following problem:

https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/5624/steps/12/logs/stdio

And without libunwind-native, libsdl2-native config fails errors like:

| -- Checking for one of the modules 'libunwind'
| CMake Error at [...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
|   None of the required 'libunwind' found
| Call Stack (most recent call first):
|   CMakeLists.txt:1367 (pkg_search_module)

Ideally, the libunwind issue would be fixed, and then this could be added
to the libsdl2 recipe:

DEPENDS:append:class-native = " libunwind-native"

However, the libunwind problem is not trivial to fix, and requires a
specific setup to reproduce. As an alternative workaround, turn off
libunwind support in the native SDL2 build by disabling the unwind.h
check in the CMake script (this subsequently turns off all the other
libunwind checks). The main user of libsdl2-native is qemu-native, which
does not need libunwind support in SDL2.

(From OE-Core rev: ecd044b09f8715353cbf20b39ce2b1fe9e620631)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:24:33 +01:00
Sean Anderson
91d6c03464 u-boot: Fix condition for install_spl_helper
The condition for calling install_spl_helper when compiling multiple
configs does not match the condition for a single config. This causes
compilation failures when ${UBOOT_FITIMAGE_ENABLE} is 1 but
${SPL_SIGN_ENABLE} is not.

Fixes: 5af4dfe83c2 ("u-boot: Add infrastructure to SPL verified boot")

(From OE-Core rev: 7dc155961649c022d33cf7c6a5155cdfa5dc2969)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Abongwa Amahnui Bonalais
13eda43533 oe-init-build-env: add quotes around variables to prevent word splitting
Used shellcheck to add quotes to the variables. This is to make sure that
directories with names that have space between, such as
"Desktop/projects/test repo/poky" will not be considered as 2 separate
words. With this modification, running the command "source
oe-init-build-env" will not give the error "bash: oe-init-build-env: No
such file or directory"

(From OE-Core rev: b07a70fbf78f2beba639580e37dffbc0a73bc99f)

Signed-off-by: Abongwa Bonalais Amahnui <abongwabonalais@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Sundeep KOKKONDA
601befb6c7 meta: scripts - relocation script adapted to support big-endian machines
relocate_sdk.py was developed for little-endian architures and when tries
to install SDK for big-endian machines errors like below will be shown.
Error: struct.error: unpack requires a string argument of length 32. SDK could
not be set up. Relocate script failed. Abort!
Error: IOError: [Errno 22] Invalid argument. SDK could not be set up. Relocate
script failed. Abort!

To fix this, script is modified to support big-endian architecture.

(From OE-Core rev: 7d6f4b1373e4dfafc63702ef2426cd45100f18a3)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Claudius Heine
498f9c58c8 os-release: add os-release-initrd package
When systemd is used inside an initramfs, it uses the presence of
`/etc/initrd-release` to detect when the system is in the initrd phase.
Otherwise `/etc/initrd-release` has the same format as
`/etc/os-release`.

Add `os-release-initrd` package to provide `/etc/initrd-release` as a
symlink to the os-release file. To avoid adding this file to the
`os-release` package, explicitly only add `/etc/os-release` to the
`os-release` package.

(From OE-Core rev: 6311fb6f412ef923cc0b34a821e875990fc043f5)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Alexandre Belloni
4a77431efc pseudo: Fix handling of absolute links
Update to a version of pseudo which has a fix for absolute links,
evaluating them from the chroot path.

(From OE-Core rev: 33147b89bc3c9e9bdd53a942a5551d8a1d06130c)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Saul Wold
a2b9eea5b0 depmodwrapper-cross: Fix missing $
(From OE-Core rev: 8c95be7dd3940d7c513f3d8a9071ac173a6528d5)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Richard Purdie
0bf2fd1627 Revert "meta: rust: Bug fix for target definitions returning 'NoneType'"
This reverts commit ef49f89c89889466ee3696ab680f8e10c961a677.

This appears to cause build failures which didn't originally show up in
testing, reverting for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 17:41:09 +01:00
Peter Kjellerstedt
12b4074675 bitbake: knotty.py: Show elapsed time also for tasks with progress bars
While the progress bar is good at conveying information about how much
of a task has executed, the elapsed time of the task is still very
much relevant to show.

(Bitbake rev: 41eeb4f34fb2306303f7688ec5e0ae965a573aa4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:50:08 +01:00
Sundeep KOKKONDA
e4c16d1112 meta: rust: Bug fix for target definitions returning 'NoneType'
The build shows below error while building for arm machines.
Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Detailed error info : https://lists.openembedded.org/g/openembedded-core/message/164004

All the target definitions within tspec dictionary are generted as
NoneType. The changes will fix this issue.

(From OE-Core rev: ef49f89c89889466ee3696ab680f8e10c961a677)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
fd22b5e488 linux-yocto/5.10: features/security: Move x86_64 configs to separate file
Integrating the following commit(s) to linux-yocto/.:

    2278ed571c1 features/security: Move x86_64 configs to separate file

(From OE-Core rev: 294b49c51fbd775c712939c79ecfee219db2a405)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
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>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
5979a3928f linux-yocto/5.15: features/security: Move x86_64 configs to separate file
Integrating the following commit(s) to linux-yocto/.:

    63e25b57177 features/security: Move x86_64 configs to separate file

(From OE-Core rev: 1927094f0daed50274eacb5a18f58960196119e0)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
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>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
3a2b9dfa75 linux-yocto-rt/5.15: aufs: compile fix
Integrating the following commit(s) to linux-yocto-rt/5.15:

    29d051cc421a aufs: update compile fix for v5.15+ preempt-rt kernels

(From OE-Core rev: 11d560625541757beff331ef13d372e6d73c0584)

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>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
7d45877e26 linux-yocto/5.15: aufs: fixes and optimization
Integrating the following commit(s) to linux-yocto/5.15:

    b98d189df02c aufs: bugfix, umount passes NULL to ->parse_monolithic()
    13b883cbbbd9 aufs standalone: cosmetic, missing copyright sentence
    21f8b0d81898 aufs: 5.15.5-20220117 ---> 5.15.5-20220221
    6199fd896645 aufs: tiny, headers after fs_context
    8ddb40e31c29 aufs: fs_context 7/7, finally remount
    69035f71c6fd aufs: fs_context 6/7, now mount
    bc841b970697 aufs: fs_context 5/7, parse all other mount options
    435188053da2 aufs: fs_context 4/7, parse xino options
    9af1f1825cbd aufs: fs_context 3/7, parse the branch-management options
    1c05eb767f8c aufs: fs_context 2/7, parse "br" mount option
    a8488f603134 aufs: fs_context 1/7, skelton of the new shceme
    8e32e0015564 aufs: pre fs_context, convert a static flag to a macro
    f90cb4144aec aufs: pre fs_context, support the incomplete sb and sbinfo case
    948762ef859c aufs: pre fs_context, convert the type of alloc_sbinfo()
    77151a08776b aufs: 5.15.5-20211129 ---> 5.15.5-20220117
    2539adbbbe1e aufs: 5.14-20211018 ---> 5.15.5-20211129
    7d32b25193c4 aufs: for v5.15-rc1, sync_inode() is gone
    66ec0c509225 aufs: for v5.15-rc1, new param 'rcu' for ->get_acl()
    69709dc518cd aufs: for v5.15-rc1, no mand-lock anymore
    ada8fe9543e5 aufs: 5.14-20210906  ---> 5.14-20211018
    b77f7f3f394a Revert "aufs: adjust to v5.15 fs changes"

(From OE-Core rev: fda812765b9e88d5bdf0fa5684ff968f413ef35c)

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>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
ade78510bd linux-yocto/5.10: update to v5.10.109
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    d9c5818a0bc0 Linux 5.10.109
    163960a7de13 llc: only change llc->dev when bind() succeeds
    2b5a6d771450 nds32: fix access_ok() checks in get/put_user
    c064268eb8ed wcn36xx: Differentiate wcn3660 from wcn3620
    95193d12f10a tpm: use try_get_ops() in tpm-space.c
    5d3ff9542a40 mac80211: fix potential double free on mesh join
    fcc9797d0d13 rcu: Don't deboost before reporting expedited quiescent state
    87f7ed7c3659 Revert "ath: add support for special 0x0 regulatory domain"
    c971e6a1c8fa crypto: qat - disable registration of algorithms
    9f4e64611ebe ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU
    0b2ffba2de50 ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
    2724b72b225d ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
    2c74374c2e88 netfilter: nf_tables: initialize registers in nft_do_chain()
    eb1ba8d1c3e2 drivers: net: xgene: Fix regression in CRC stripping
    a2368d10b7fb ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec
    6936d2ecf822 ALSA: cmipci: Restore aux vol on suspend/resume
    cbd27127af5f ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB
    0ae81ef3ea0e ALSA: pcm: Add stream lock during PCM reset ioctl operations
    b560d670c87d ALSA: pcm: Fix races among concurrent prealloc proc writes
    a38440f00697 ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls
    8527c8f052fb ALSA: pcm: Fix races among concurrent read/write and buffer changes
    0f6947f5f520 ALSA: pcm: Fix races among concurrent hw_params and hw_free calls
    014c81dfb319 ALSA: hda/realtek: Add quirk for ASUS GA402
    05256f3fd6c9 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    ca8247b4dfb8 ALSA: hda/realtek: Add quirk for Clevo NP50PNJ
    26fe8f31033b ALSA: hda/realtek: Add quirk for Clevo NP70PNJ
    80eab86a86d2 ALSA: usb-audio: add mapping for new Corsair Virtuoso SE
    5ce74ff70593 ALSA: oss: Fix PCM OSS buffer allocation overflow
    db03abd0dae0 ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call
    571df3393f52 llc: fix netdevice reference leaks in llc_ui_bind()
    56dc187b35d5 staging: fbtft: fb_st7789v: reset display before initialization
    351493858ebc tpm: Fix error handling in async work
    ea21245cdcab cgroup-v1: Correct privileges check in release_agent writes
    824a950c3f11 cgroup: Use open-time cgroup namespace for process migration perm checks
    f28364fe384f cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv
    9eeaa2d7d58a exfat: avoid incorrectly releasing for root inode
    ae8ec5eabb1a net: ipv6: fix skb_over_panic in __ip6_append_data
    25c23fe40e6e nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
    9940314ebfc6 Linux 5.10.108
    37119edab8f4 Revert "selftests/bpf: Add test for bpf_timer overwriting crash"
    9248694dac20 esp: Fix possible buffer overflow in ESP transformation
    96340cdd5526 smsc95xx: Ignore -ENODEV errors when device is unplugged
    e27b51af5449 net: usb: Correct reset handling of smsc95xx
    b54daeafc1b0 net: usb: Correct PHY handling of smsc95xx
    204d38dc6a81 perf symbols: Fix symbol size calculation condition
    f0d43d22d241 Input: aiptek - properly check endpoint type
    98e7a654a5be scsi: mpt3sas: Page fault in reply q processing
    10a805334a11 usb: usbtmc: Fix bug in pipe direction for control transfers
    00bdd9bf1ac6 usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
    28bc0267399f usb: gadget: rndis: prevent integer overflow in rndis_set_response()
    2c010c61e614 arm64: fix clang warning about TRAMP_VALIAS
    277b7f63948b net: mscc: ocelot: fix backwards compatibility with single-chain tc-flower offload
    2550afba2a30 net: bcmgenet: skip invalid partial checksums
    bf5b7aae86d3 bnx2x: fix built-in kernel driver load failure
    c07fdba12fb0 net: phy: mscc: Add MODULE_FIRMWARE macros
    ba50073cf4af net: dsa: Add missing of_node_put() in dsa_port_parse_of
    a630ad5e8b2d net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit()
    336b6be6ad09 drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings
    9d45aec02f7b drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()
    9b763ceda6f8 hv_netvsc: Add check for kvmalloc_array
    09a7264fb0d0 atm: eni: Add check for dma_map_single
    70b7b3c055fd net/packet: fix slab-out-of-bounds access in packet_recvmsg()
    169add82d201 net: phy: marvell: Fix invalid comparison in the resume and suspend functions
    01fac1ca8ab9 esp6: fix check on ipv6_skip_exthdr's return value
    d9fe590970c4 vsock: each transport cycles only on its own sockets
    ac7dd60946c0 efi: fix return value of __setup handlers
    fa3aa103e79c mm: swap: get rid of livelock in swapin readahead
    df3301dc60a3 ocfs2: fix crash when initialize filecheck kobj fails
    0f9b7b8df175 crypto: qcom-rng - ensure buffer for generate is completely filled

(From OE-Core rev: db6a636319ffd2b12c54b6ec1b3fdd670f9b6704)

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>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
5610408402 linux-yocto/5.15: update to v5.15.32
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    e29be6724adb Linux 5.15.32
    60981bb5ce18 llc: only change llc->dev when bind() succeeds
    22ac37c53065 nds32: fix access_ok() checks in get/put_user
    110dea31d48f m68k: fix access_ok for coldfire
    cdb96445297b wcn36xx: Differentiate wcn3660 from wcn3620
    476ddd23f818 tpm: use try_get_ops() in tpm-space.c
    12e407a8ef17 mac80211: fix potential double free on mesh join
    e65d28d4e9bf uaccess: fix integer overflow on access_ok()
    058d62a03e7d rcu: Don't deboost before reporting expedited quiescent state
    b094fece3810 drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()
    5023652cc6e4 Revert "ath: add support for special 0x0 regulatory domain"
    4b6a48f87d03 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
    cb807cb52a8e crypto: qat - disable registration of algorithms
    57a2b3f8bf1c ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU
    a01ac2411489 ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
    8942aac69016 ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
    1bd57dea4561 netfilter: nf_tables: validate registers coming from userspace.
    fafb904156fb netfilter: nf_tables: initialize registers in nft_do_chain()
    3e27eafac659 drivers: net: xgene: Fix regression in CRC stripping
    c2052ad0c74f ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec
    9abaacd6491e ALSA: cmipci: Restore aux vol on suspend/resume
    099a1cc21b16 ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB
    f4827c62b649 ALSA: pcm: Add stream lock during PCM reset ioctl operations
    51fce708ab89 ALSA: pcm: Fix races among concurrent prealloc proc writes
    cb6a39c5ebd0 ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls
    47711ff10c7e ALSA: pcm: Fix races among concurrent read/write and buffer changes
    33061d0fba51 ALSA: pcm: Fix races among concurrent hw_params and hw_free calls
    3b1bacd00ac3 ALSA: hda/realtek: Add quirk for ASUS GA402
    0e7cdc8059a0 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    8e6ea2176222 ALSA: hda/realtek: Add quirk for Clevo NP50PNJ
    85060f4868db ALSA: hda/realtek: Add quirk for Clevo NP70PNJ
    10cdffd4854a ALSA: usb-audio: add mapping for new Corsair Virtuoso SE
    7a40cbf3579a ALSA: oss: Fix PCM OSS buffer allocation overflow
    5e431799c35b ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call
    e90729961083 llc: fix netdevice reference leaks in llc_ui_bind()
    5b2ca3b8213a Bluetooth: btusb: Add another Realtek 8761BU
    42b9f6d19faa tpm: Fix error handling in async work
    2317fd3b126c net: ipv6: fix skb_over_panic in __ip6_append_data
    a34c47b1ab07 nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
    96e48ac9a685 Linux 5.15.31
    4c5d94990fa2 btrfs: skip reserved bytes warning on unmount after log cleanup failure
    23775775b9a6 perf symbols: Fix symbol size calculation condition
    e762f57ff255 Input: aiptek - properly check endpoint type
    0cd2dd4bcf4a scsi: mpt3sas: Page fault in reply q processing
    c69aef9db878 usb: usbtmc: Fix bug in pipe direction for control transfers
    2015c23610cd usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
    56b38e3ca406 usb: gadget: rndis: prevent integer overflow in rndis_set_response()
    222f5e2d7f20 arm64: fix clang warning about TRAMP_VALIAS
    80974bb73027 iavf: Fix hang during reboot/shutdown
    800a17adb531 net: mscc: ocelot: fix backwards compatibility with single-chain tc-flower offload
    2d7cff7e1fee net: bcmgenet: skip invalid partial checksums
    6840fdeab423 bnx2x: fix built-in kernel driver load failure
    f07e0b020f7a net: phy: mscc: Add MODULE_FIRMWARE macros
    e396fda10ddf net: dsa: Add missing of_node_put() in dsa_port_parse_of
    11dab4a800a4 drm: Don't make DRM_PANEL_BRIDGE dependent on DRM_KMS_HELPERS
    a1adf00e1728 net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit()
    8ee52c302191 drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings
    43dcd410809e drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()
    ab0ab1761831 hv_netvsc: Add check for kvmalloc_array
    735f918cc2c8 iavf: Fix double free in iavf_reset_task
    b2bc45327e8c atm: eni: Add check for dma_map_single
    a055f5f2841f net/packet: fix slab-out-of-bounds access in packet_recvmsg()
    a296f3ae8009 net: phy: marvell: Fix invalid comparison in the resume and suspend functions
    b9820bf09f59 esp6: fix check on ipv6_skip_exthdr's return value
    093f11b49609 vsock: each transport cycles only on its own sockets
    1dcc1b888223 alx: acquire mutex for alx_reinit in alx_change_mtu
    4b49ba22a253 efi: fix return value of __setup handlers
    16ac5dca1e13 drm/mgag200: Fix PLL setup for g200wb and g200ew
    d4ad8736ac98 block: release rq qos structures for queue without disk
    6829aa17ca55 mm: swap: get rid of livelock in swapin readahead
    b786b64dcb31 ocfs2: fix crash when initialize filecheck kobj fails
    ab9337c7cb6f crypto: qcom-rng - ensure buffer for generate is completely filled

(From OE-Core rev: 957846679384179fdd04727cde2231ccc4137c1f)

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>
2022-04-05 10:49:36 +01:00
Saul Wold
daafcdfb16 kmod: Update exclude patch to Accepted
Upstream made a few tweaks and accepted the patch.

(From OE-Core rev: 28b79449ed6d0a9920c252f75d0b40da5faa0fd7)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Richard Purdie
ca405e4529 vim: Upgrade 8.2.4524 -> 8.2.4681
License change is a date in the license file only.

This includes a fix for CVE-2022-0943.

(From OE-Core rev: 69bc2f37d6ca7fa4823237b45dd698b8debca0a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Richard Purdie
4b15ff6efb bitbake.conf: Drop unexports from a different era
A long time ago, we used to pass our parent execution environment into our task
environments during build. We stopped doing that for reproducibility and consistency
of builds. The variables TARGET_ARCH, DISTRO and MACHINE are not exported into
tasks and hence we don't need to unexport them. The resasons these exist is
therefore no longer relavent and they can be removed. This happens to improve
bitbake -e output from a user commandline perspective.

(From OE-Core rev: 8e97ff1560bd563251405cd92b6ccf5c9fcecf4b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Joe Slater
6459a06f2e unzip: fix CVE-2021-4217
Avoid a null pointer dereference.

(From OE-Core rev: 36db85b9b127e5a9f5d3d6e428168cf597ab95f3)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-04 13:00:16 +01:00
Richard Purdie
6b2ca96434 bitbake: data: Fix accidentally added parameter
This was only meant to be added for the handle_contains function in
a previous commit, fix it.

(Bitbake rev: 7399be398df39bc29e1b5eaac23b29cfae017abd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-04 10:59:56 +01:00
Robert Yang
939142ff9c waffle: The surfaceless-egl and gbm requires opengl
Fixed when opengl is not in DISTRO_FEATURES:
ERROR: Nothing PROVIDES 'virtual/libgbm' (but /path/to/waffle/waffle_1.7.0.bb DEPENDS on or otherwise requires it)

(From OE-Core rev: a762162fa0f51b9c6187fd1fcfaad2f317f8762e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 20:47:14 +01:00
Oleksandr Kravchuk
9646dae4b2 tzdata: update to 2022a
(From OE-Core rev: b280aecd79e95811f8baec6c4479c5752c54d9e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 20:47:14 +01:00
Peter Kjellerstedt
67cbfc8494 bitbake.conf: Remove ERROR_QA from BB_HASHEXCLUDE_COMMON
If a QA test is added to ERROR_QA, all package_qa tasks should rerun
to make sure any already existing errors are caught.

(From OE-Core rev: de7b559e4f5845e2b06d20836223f7d237322236)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:52:24 +01:00
Peter Kjellerstedt
decda506b3 insane.bbclass: Make changes to QA_EMPTY_DIRS trigger package_qa to rerun
If "empty-dirs" is in ERROR_QA, then changes to QA_EMPTY_DIRS should
trigger the package_qa tasks to be rerun.

(From OE-Core rev: 9f21f9b613c5aaf1883b3ad6eb6463014c2764cd)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:52:24 +01:00
Peter Kjellerstedt
8c9503880e insane.bbclass: Make do_qa_patch() depend on if patch-fuzz is in ERROR_QA
Adding "patch-fuzz" to ERROR_QA should trigger the patch tasks to
rerun to make sure any already existing fuzz is caught. This is
achieved by using bb.utils.filter() to see if "patch-fuzz" is in
ERROR_QA/WARN_QA as it adds whether the filtered strings are set or
not to the task hash.

(From OE-Core rev: 19a88df166862eb04fe6bee487796ef460d08771)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:52:24 +01:00
Richard Purdie
61d38cd3a2 mirrors: Switch glibc and binutils to use shallow mirror tarballs
These two repositories are large and overload our downloads server as a
premirror but the recipes are easier to maintain as git urls. Compromise
and use shallow clones for them.

In order to be effective, we need premirror entries on where to find
the shallow mirror tarballs.

(From OE-Core rev: 757c09a687a30063041a83dd756f5be769631eee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:52:24 +01:00
Richard Purdie
dfc910bdc2 bitbake: pyinotify: Handle potential latent bug
The kernel inotify code can set more than one of the bits in the mask,
fsnotify_change() in linux/fsnotify.h is quite clear that IN_ATTRIB,
IN_MODIFY and IN_ACCESS can arrive together. We don't care about two
of these from a bitbake perspective but it probably explains why in
real world builds, we've seen:

pyinotify.ProcessEventError: Unknown mask 0x00000006

This module code assumes only one mask bit can be present. Since we
don't care about two of these events, just mask them out for now.
The "upstream" code is unmainained since 2015.

(Bitbake rev: 7fb93c2ce6dacd9b53fc3a227133a3493e6a6a1d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Richard Purdie
d0082265d5 bitbake: cooker: Reset and rebuild inotify watches
The recent inotify changes can cause entire build trees to be monitored
which is suboptimal for performance.

Rather than trying increasingly convoluted tricks to try and handle add/removed
directories, rebuild the inotify watch when we reparse the configuration or
metadata.

(Bitbake rev: 3df322a200c28b45af1f2c92478c85eb7d20c38b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Richard Purdie
496cbc01ca bitbake: server/process: Disable gc around critical section
The python gc can trigger whilst we're holding the event stream lock
and when cleaning up objects, they can trigger warnings. This translates
into a new event which would then need the lock and we can deadlock.

Disable gc whilst we hold that lock to avoid this unfortunate and
problematic situation.

(Bitbake rev: 96a6303949cefd469bcf5ed250ff512271354357)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Richard Purdie
70d6360602 bitbake: data: Ensure vardepsexclude or BB_BASEHASH_IGNORE_VARS covers contains items
Adding bb.utils.filter('WARN_QA', 'patch-fuzz', d) when WARN_QA is in
BB_BASEHASH_IGNORE_VARS or in vardepsexclude should not add a dependency
on WARN_QA.

Fix it and add some tests.

(Bitbake rev: 6aecc2fe51a52020f6f13be08449e18d42e7a6b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Richard Purdie
b868387c42 bitbake: parse: Ensure any existing siggen is closed down first
We're still seeing issues with unclosed asyncio event loops. At the
init site, make sure any existing one is closed first to try and avoid
this.

(Bitbake rev: 78dee3c03c75a27531fcff26f9298fce2519bdde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Sundeep KOKKONDA
99bcad583a gcc: sanitizer: Fix tsan against glibc 2.34
The patch is needed in order to support recent glibc (2.34).

libsanitizer/ChangeLog:
	PR sanitizer/101749
        * sanitizer_common/sanitizer_posix_libcdep.cpp: Prevent
	generation of dependency on _cxa_guard for static
	initialization.

(From OE-Core rev: c44c4e7fb3c860d9fcb2aada0c9d4acb1e1e8101)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 11:29:05 +01:00
Alessio Igor Bogani
fb1291ea5f kernel.bbclass: Use KERNEL_IMAGEDEST instead of hardcoded boot path
The behaviour doesn't change because KERNEL_IMAGEDEST is defined as
'boot' in the same file (line 215).

(From OE-Core rev: b9c3db4953e4e7b423ba9ec5b618fd990c378bc1)

Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Simone Weiss
ffbf7d2b97 popt: add ptest
Add a ptest for popt to core-image-ptest-all. Provide a patch to popt to
adopt the test format to "simple test" and a script for running the test.
All tests passed on a trial run.

(From OE-Core rev: ffae118e7b1bdf704d9af0ad47809c3791b672b4)

Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com>
Signed-off-by: David Niederpruem <david.niederpruem@elektrobit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Peter Kjellerstedt
7e8d8b0dca python3-jinja2: Correct HOMEPAGE
(From OE-Core rev: 261778c1e3665b34c0d4e49bda63b520d5335587)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Khem Raj
1459f495ba glib-2.0: Backport patches C++ variant of g_atomic_int_compare_and_exchange()
This fixes a regression when glib-2.0 was used with clang.

(From OE-Core rev: a963f71e882e11c8e41dadf77944de408ad12acb)

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>
2022-04-03 10:40:31 +01:00
Saul Wold
2a02a178af depmodwrapper: Use nonarch_base_libdir for depmod.d
This ensure that when depmod-native runs we can find the correct
exclude.conf information, in this case adding .debug to ignore
the .debug kernell modules. The kmod utilities like depmod can use
either /etc/depmod.d or /lib/depmod.d. The kmod recipe is installing
the existing search.conf to /lib/depmod.d (nonarch_base_lib)

When the busybox modutils are used, /lib/depmod.d is not used, so
it's safe add the exclude.conf file to /lib/depmod.d.

(From OE-Core rev: af3a8c11a0561c9f0a8055d4b1c7703ce56205af)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Saul Wold
708cbdf3c9 kmod: Add an exclude directive to depmod
This adds a new configuration directive to depmod that causes
depmod to exclude a give path entry like .debug.

kernel-dbg provides the modules .debug/<module>.ko files and
when installed either directly or when dbg-pkgs are selected
this can cause depmod to fail.

(From OE-Core rev: 5e7d09142da82c37aeab22c34d5314187c90bd84)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Saul Wold
d0a05c2cf9 busybox: Exclude .debug from depmod
As with the kmod version of depmod, exclude .debug from being
searched. Since busybox does not use the depmod.d and any
configuration file option is ignored we just hardcode it.

(From OE-Core rev: c082752c06d5723433886cbf7ce2d88a51fb64f1)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Richard Purdie
1976521190 bitbake: cooker: Avoid error if siggen wasn't setup
In some cases we'd never have setup a siggen so don't error in that case.

(Bitbake rev: bbaaf2cf7b5a9339d3790610e622020c19d52f5a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:14:01 +01:00
Richard Purdie
9b8eda7eb3 bitbake: cooker: Ensure any existing hashserv connection is closed
Ensure any exiting hash server connection is terminated before we start
a new bitbake session. This avoids errors seen with memory resident bitbake
when the asyncio event loop isn't closed correctly.

(Bitbake rev: 42ff9de77f24e2a0bec48a14b64c4b538e00b4af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:14:01 +01:00
Richard Purdie
b731e47eeb bitbake: cooker: Restore sys.path and sys.modules between parses
When memory resident bitbake is active and we re-parse, the old module
configuration is present which can lead to strange errors. Reset this
when reparsing so the state is consistent. This fixes memory resident
bitbake errors.

(Bitbake rev: 951942c3c284ec2c62e730e145688033190af9b2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:14:01 +01:00
Richard Purdie
fd1a6bad77 bitbake: cooker: Further fixes to inotify to fix memres bitbake issues
The previous fix for inotify wasn't quite correct as we need to modify
bbseen before calling add_filewatch(). We also need to ensure the parse
mtime cache is cleared when directories are added/removed. There was also
a typo in the original fix and the wrong watcher was being changed. Fix
the various issues which improves memory resident bitbake testing results.

(Bitbake rev: 66cadd6be58bce5f7a56556cf92efd8159fb0b0e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:14:01 +01:00
Khem Raj
3fdbeb0895 meson: Robustify compiler detection logic
meson would fail to detect compiler type in some rare care where
specific substring '-xt' is detected in compiler --version output and
it so happens that this string can be generated by clang --version if
clang is installed into a directory containing 'xt-' in its name. with
recipe specific sysroots, this is quite likely to happen in OE build
system as we are seeing the issue with newly proposed gnome-text-editor
recipe

https://lists.openembedded.org/g/openembedded-devel/topic/90150031#96301

(From OE-Core rev: ff75909f2a9e970aaf389e0012888c29f02376e3)

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>
2022-04-01 23:11:38 +01:00
Oleksandr Kravchuk
2802ea07a8 python3: update to 3.10.4
(From OE-Core rev: 17e7d71ca8972b971156e83d14a89a7fe5e0f4e5)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
9bcf56e6e7 oeqa/selftest: generalise test_devtool_virtual_kernel_modify
Generalise this test so that it works on more than qemux86-64:

- Don't edit a file in arch/x86 to cause a rebuild, instead use init/
- Look for the edits in the build tree, as the deployed kernel could be
  of any type (zImage/bzImage/etc) and edits may be in the compressed
  part.

Also remove redundant checks on the result of runCmd(), as this will
raise AssertionError exceptions itself so the explicit asserts will
never trigger.

(From OE-Core rev: f1d2b2ec51f748a28d1bca6615558d553876e5c3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
c4436040eb oeqa/selftest/wic: use self.td instead of get_bb_var to save on bitbake calls
When a test case starts, self.td is populated with all the variables in
the data store.  Typically this can be used instead of get_bb_var(),
which saves a bitbake call per variable lookup.

The only catch is that in parallel runs the build directory is moved
after td is populated, so paths in the build directory are wrong: these
still need to be fetched in the test.

(From OE-Core rev: 884201c6c1bbf7c1b958bab7d7c91e27577eeaac)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
12a1456b06 oeqa/selftest/wic: use os.path.join to join paths
Instead of using string concatenation, use os.path.join.

(From OE-Core rev: 73d1b7163792ec089ffb3bf99f1b4f8760beaea7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
ada2cbb682 oeqa/selftest/wic: rearrange tests
Split the tests into further classes: one which exercises the CLI and
doesn't need to build images at all, and another which is just the
tests that manipulate existing images.

(From OE-Core rev: c9bc4def71325dba7b7ad93001f7fe1acced0bea)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
443d557ba0 oeqa/selftest/wic: cleanup WicTestCase.setUpLocal
Use os.path.join to construct paths, and invoke bitbake once instead of
three times.

(From OE-Core rev: 27953d4cf6edc86cd505826c3da21222864c7760)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
679917f98f oeqa/selftest/oescripts: refactor skipping logic
OEScriptTests currently skips if cairo isn't present, and does a build
of core-image-minimal.  This is only required for the
OEPybootchartguyTests tests, so move that logic there so that the
OEListPackageconfigTests run even if cairo isn't available.

This leaves OEScriptTests as a simple class containing the scripts_dir
assignment, which can then be reused by other tests to avoid code
duplication.

(From OE-Core rev: fe3ee517772ad8396fcac21ae7eb8d1c8b68fbdb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
fcc9c0ab37 oeqa: rationalise skipifqemu decorators
(From OE-Core rev: 1a3a37cc2b16a8d5cd2258b0b35be43baa363f67)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
416cce968d oeqa/selftest: tag tests that use runqemu
There may be environments or machines which don't have working runqemu,
so tag all of the tests which use runqemu() so that they can be skipped.

(From OE-Core rev: 3f45ce6d2b1dfde8bc3d554397d55f81846c52d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
4e5f84902e oeqa/core/decorators/data: improve has_* logic
has_feature() should be splitting the feature string into substrings and
then looking for membership instead of looking for simple substrings.

has_machine() should be using equality instead of substrings.

(From OE-Core rev: a4c63819234e252c58e040af8bbdbfb96b6feccf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
668753b8ed oeqa/selftest: remove unused imports
(From OE-Core rev: 7ef7b03eeefc0a9911fd62c73e346fa5aeeb09eb)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
f4205dcf3d oeqa/core/utils/misc: remove redundant file
This file dates back to 2016. Half of the functions have never been used,
the rest are used in one place and have now been replaced.

(From OE-Core rev: 5a053b2a84e7a671925fb4a78005145786c57f6a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
da6930c6f4 testimage: inline updateTestData()
updateTestData() is just a simple loop that is only used here, so just
inline it.

(From OE-Core rev: 2dfe2f68307a441fff2f5018408558bca63f7d03)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
ccc03581f5 oeqa/core/decorator: remove redundant code
There's no need to wrap *tags in a potential list, as *tags will always
be a tuple.

(From OE-Core rev: 54210c518bcb76d80c8ec9564d1ddf344e9d8924)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
b9df97f59c oeqa/runtime/decorator/package.py: remove use of strToSet
There's no need to use a series of over-generalised functions to just
wrap a string in a tuple.

(From OE-Core rev: 080854fe346a76f5fbe25058ba1b2425a0459b5e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
dd6987f49b oeqa/selftest/buildoptions: set PACKAGE_CLASSES in test_arch_work_dir_and_export_source
test_arch_work_dir_and_export_source uses the archiver to generate SRPMS,
so explicitly set PACKAGE_CLASSES to ensure that package_rpm is used.

(From OE-Core rev: 030157fa8dd405be60c55523e074b2ec950d36ad)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
1985249632 oeqa/selftest/wic: add more arch-specific annotations
Some tests which are marked as x86-specific will actually work on
aarch64 (e.g. use EFI), whilst some other tests really are x86-specific
(e.g. use syslinux).

(From OE-Core rev: 1285bdaa4f472519083c03946ee34c7d8c204e27)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
e2d112b471 oeqa/selftest/wic: don't hardcode kernel image type in test_wic_rm
Don't assume bzImage, resepct KERNEL_IMAGETYPE.

(From OE-Core rev: f03d47833593734489e73f054f41c3dbbe423204)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
e9c8d638f9 oeqa/selftest/wic: clean up only_for_arch decorator
There's no need to pass a recipe name when determining the target
architecture, there's no need to cap the size of the lru_cache as it
will only have one entry, and __name__ is set by @wraps.

(From OE-Core rev: e8e6c679f6eb74cb25c124a18af88dd5c2e2c833)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
8d01207fd7 oeqa/selftest/wic: remove redundant asserts
By default bitbake() will raise an assertion if it fails, so there's no
need to wrap it in a further assert.

(From OE-Core rev: de3c8994dc482cf5e9f3317c4762fe4ac35d9f31)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
6cd1a31bef oeqa/selftest/wic: use os.rename instead of bb.utils.rename
bb.utils.rename() only exists to handle moves across filesystems. As
these moves are within the same directory we can just use os.rename().

(From OE-Core rev: 450e09b6d4ca019848aec4c62fce280a09395b97)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
13a1e484c3 oeqa/selftest/devtool: ensure Git username is set before upgrade tests
The 'devtool upgrade' tests fail if Git doesn't know the user's name or
email, so verify this before the tests start and skip if it is not.

(From OE-Core rev: b4d8aca97a1ead38ce55f3bb5859d3d05d9dd84f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
c580bc6008 image_types: hddimg and iso only work on x86
These image types use syslinux which is only available on x86, so only
add them to IMAGE_TYPES on x86.

(From OE-Core rev: 2ea047a026dd61a8e0a24c6bbe278849485a2c27)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
3087e2f2e6 buildtools-tarball: include nativesdk-python3-pyyaml
BitBake can optionally 'import yaml' if BB_LOGCONFIG specifies a yaml
file.  This is a 3rd party module, so that this works out of the box
when buildtools is used -- either explicitly via buildtools-tarball or
implicitly via eSDK --  we can add pyyaml to the buildtools.

(From OE-Core rev: 6be90f884bb3fc87d9aa21cb882a835d6bc583a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
d677826f85 initscripts: Clean up license handling/identifiers
The license is clear, add an SPDX license identification headers to the scripts
and drop the weird patch, we don't need it.

(From OE-Core rev: 540041ac80cfc91df61b45d48f9c9ebbc9b2e71e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
7431f7766d keymaps: Clean up license handling
The license is clear, add an SPDX license identification header to the script
and drop the weird patch, we don't need it.

(From OE-Core rev: 17d981005a0c0c97702ad88602b7181b69bcc9eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
21c3f09880 modutils-initscripts: Change license PD -> MIT
The file was originally added to OE here:
https://git.openembedded.org/openembedded/commit/modutils/files/modutils.sh?id=3b3989442075d0a4c6c32cb187de17d87bf65fbd

and the license added here as "PD":
https://git.openembedded.org/openembedded/commit/modutils/modutils-initscripts.oe?id=4f7d2b1b63d166e5de146d71e5c942419424446e

As "Public Domain", we can re-license it to MIT, which fits in with the rest of
our metadata and has an SPDX identifier, so lets do that and try and keep our
licenses simpler.

This also them removes the need for a weird license patch in SRC_URI.

(From OE-Core rev: d00628aac051cfc2ceffbc42f896a4672fdbcab1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
e00f9ea165 base: Clean up module import compatibility code
This code was for old versions of bitbake which we're now long past. Drop it
and simplify the code.

(From OE-Core rev: d5301d008a5cc02a08d660691fce2c18ed8028d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
61c7c8f175 base: Don't add duplicates to sys.path
We can re-trigger this code and there is little point in stacking a ton of duplicate
paths which just waste time during searches for modules. This could in theory alter
layer module search order but that seems unlikely in common use.

(From OE-Core rev: dadce8468db1c0fd0e04801cdc6cf287c2808477)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Jagadeesh Krishnanjanappa
ee5f9d9fdd cmake: support to create per-toolchain cmake file in SDK
The patch creates ${MULTIMACH_TARGET_SYS}-toolchain.cmake file
at ${SDK_INSTALL_DIR}/sysroots/${SDK_SYS}/usr/share/cmake/, which is
per-toolchain CMake toolchain file containing arch-specific values
and independent of OE environment variables.
The file gets created after installing SDK toolchain installer
ined by running "bitbake -c populate_sdk <image>".

The changes are similar to meson-setup.py which is used to
create arch-specific
${SDK_INSTALL_DIR}/sysroots/${SDK_SYS}/usr/share/meson/*-meson.cross

[YOCTO #14644]

Tested-by: Jan Dorniak <jaskij@gmail.com>
(From OE-Core rev: 42e68397ec74b3cd8ae5df45355c8f6254b48cd8)

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:59 +01:00
Khem Raj
90862733ed weston: Add a knob to control simple clients
Some graphics driver implementations ( e.g sgx ) do not yet support APIs from mesa
21.x, and some portions of weston simple clients depend on these APIs,
therefore introduce a way to specify all or a selection fo clients to
build

Fixes

clients/weston-simple-dmabuf-feedback.p/simple-dmabuf-
feedback.c.o: in function `create_dmabuf_buffer':
| simple-dmabuf-feedback.c:(.text+0x1076): undefined reference to `gbm_bo_get_fd_for_plane'

(From OE-Core rev: 400aae43d08f0b9f787ac0d21cb3c97058d76748)

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>
2022-03-31 17:52:59 +01:00
Rasmus Villemoes
767a6fb133 git: make expat and curl into PACKAGECONFIG items
It can be useful to use git on target (e.g. with some wrapper like
etckeeper for keeping track of changes to /etc), and for such cases,
it is likely one has no need for pulling from/pushing to http[s]
repositories. From the INSTALL file:

    - "libcurl" library ... If you do not use http:// or https://
      repositories, and do not want to put patches into an IMAP
      mailbox, you do not have to have them (use NO_CURL).

    - "expat" library; git-http-push uses it for remote lock
      management over DAV.  Similar to "curl" above, this is
      optional (with NO_EXPAT).

Setting --without-expat and --without-curl reduces the size of the
installed "git" package from 18M to 12M, in addition to avoiding
pulling those libraries into the rootfs.

(From OE-Core rev: 49f81198c5d233a9a2612c3b8366681dd85bea59)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:58 +01:00
Richard Purdie
65c43b6894 mirrors: Add missing gitsm entries for yocto/oe mirrors
The missing gitsm:// mappings looks like an oversight, add them.

(From OE-Core rev: 6600b9fca7888fb41647cd000b9efb7f0762dfde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:58 +01:00
Simon Kuhnle
5b5a7567bc convert-variable-renames: Fix typo in description
(From OE-Core rev: 8e3aa9638691709e136bf2005541bdfd4bb1a6f7)

Signed-off-by: Simon Kuhnle <simon.kuhnle@methodpark.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:58 +01:00
Chen Qi
adb7ff6a26 gobject-introspection: fix default search path for girdir
When running g-ir-scanner, we get the following error:

  Couldn't find include 'GObject-2.0.gir' (search path:
  '['/usr/lib64', 'gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0',
  '/usr/share/gir-1.0', '/usr/share/gir-1.0']')

This is because g-ir-tool-template.in is not setting girdir correctly.
It's using the prefix instead of the actual girdir.

Note that we don't get such error at do_rootfs time because the extra
directories are speicified. But we will get such error at runtime when
multilib is enabled.

(From OE-Core rev: 4bc68b6a8187947516615e47f22a6b16d71c3b37)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:58 +01:00
Michael Opdenacker
a64ca37a13 migration-guides: preliminary description for 3.5
(From yocto-docs rev: 2c24dd801b8d9fa4b81726dcde34a69fde309e4a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Michael Opdenacker
325c23cd0f manuals: fix quoting of double dashes
Otherwise rendered as "en" dashes by sphinx, for example:
git pull –rebase
instead of
git pull --rebase

Readers could confuse them with normal dashes.

Exception: replace by \-\- in italic text (*text*)
as Sphinx cannot nest italic and quoted text.

For consistency, also update quoting in strings in the same code hunks.

(From yocto-docs rev: 4e7ce372e37f76148f623a5295a15e08bc2603ff)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Michael Opdenacker
ecab5f3655 docs: add poky.yaml and sphinx-static/switchers.js to "make clean"
(From yocto-docs rev: 36d1be3db5f0c9c72aafdb414916ce5abc483f43)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Michael Opdenacker
01d846f21b overview-manual: add missing upper case
(From yocto-docs rev: 9de52ac713c89e3e7023148889c234d4ec4c6246)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Marta Rybczynska
54b7b0561e doc: migration-3.5: extend the section on inclusive language
Add the list of renamed and removed variables, show how the renaming
script works. Also mention the change in cve-check output.

(From yocto-docs rev: a0b55789035c8d44426b6ff8267b4042ef0a58ba)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Daniel Ammann
e16ad94999 ref-manual: Add vfat in list of filesystems supported by kickstart
(From yocto-docs rev: 6e09a7eb190c412fa282bde128a6f8f1b24fd713)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Daniel Ammann
b60b432d2c overview-manual: Fix reference
(From yocto-docs rev: 623bcfc66f42c334963bf51c262ef2fc5f9bbd91)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Peter Kjellerstedt
c3b7982d20 ref-manual: Remove references to AVAILABLE_LICENSES
The AVAILABLE_LICENSES variable has been removed from OE-Core.

(From yocto-docs rev: dd687b10e1a21222e8dcc3be29635fd3200a205b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Ross Burton
f4549231b2 ref-manual: update Python class documentation
Add new PEP517_* variables, remove obsolete variables, and update for
renamed classes.

(From yocto-docs rev: 3984d4d0804125ba6fba7bf712edb81f97b4bec7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Richard Purdie
28f2442520 set_versions/switchers: Drop versions shown to the active releases
I believe we should only be showing the "active" versions in the switchers
base list of releases to show. Zeus and warrior are old and no longer actively
maintained and we don't suggest new users use them. gatesgarth is also
outside it's support window.

I therefore propose removing these leaving us with dev, honister, hardknott,
dunfell (LTS). In addition, any release that is selected will be shown, along
with any later release in that release series.

People can still navigate to the older docs using the releases list or by
direct URL but this highlights to users which releases we'd expect/encourage
them to be using.

(From yocto-docs rev: 5bcd6a632ba2ebace9c65fe8529f8f1de40226ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Michael Halstead
1c4b8ba2eb releases: update to include 3.4.3
Build scripts now only require updates in master.

(From yocto-docs rev: af6a15e376733727eb26c9c2a6b6a85f6faea437)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Richard Purdie
5fe3689f4f poky: Drop PREMIRRORS entries for scms
The reasons for this are lost in the mists of time. These are already
in OE-Core as MIRRORS and we should be falling back to the project as
a backup, not a default. Update accordingly.

(From meta-yocto rev: 1b71a3b9418fd928fb72bd23898cffe70c43d9d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 17:17:41 +01:00
Marta Rybczynska
b3f96e6fea cve-check: add coverage statistics on recipes with/without CVEs
Until now the CVE checker was giving information about CVEs found for
a product (or more products) contained in a recipe. However, there was
no easy way to find out which products or recipes have no CVEs. Having
no reported CVEs might mean there are simply none, but can also mean
a product name (CPE) mismatch.

This patch adds CVE_CHECK_COVERAGE option enabling a new type of
statistics. Then we use the new JSON format to report the information.
The legacy text mode report does not contain it.

This option is expected to help with an identification of recipes with
mismatched CPEs, issues in the database and more.

This work is based on [1], but adding the JSON format makes it easier
to implement, without additional result files.

[1] https://lists.openembedded.org/g/openembedded-core/message/159873

(From OE-Core rev: d1849a1facd64fa0bcf8336a0ed5fbf71b2e3cb5)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
Marta Rybczynska
777f1d42b6 cve-check: add json format
Add an option to output the CVE check in a JSON-based format.
This format is easier to parse in software than the original
text-based one and allows post-processing by other tools.

Output formats are now handed by CVE_CHECK_FORMAT_TEXT and
CVE_CHECK_FORMAT_JSON. Both of them are enabled by default.

The JSON output format gets generated in a similar way to the
text format with the exception of the manifest: appending to
JSON arrays requires parsing the file. Because of that we
first write JSON fragments and then assemble them in one pass
at the end.

(From OE-Core rev: df567de36ae5964bee433ebb97e8bf702034994a)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
Ross Burton
bbdf96885d zlib: backport the fix for CVE-2018-25032
(From OE-Core rev: 6dd0012846c22478c96655216a8bce44147956f8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
eb9356d391 python3-urllib3: upgrade 1.26.8 -> 1.26.9
Changelog:
==========
- Changed urllib3[brotli] extra to favor installing Brotli libraries that are
  still receiving updates like brotli and brotlicffi instead of brotlipy.
  This change does not impact behavior of urllib3, only which dependencies are
  installed.
- Fixed a socket leaking when HTTPSConnection.connect() raises an exception.
- Fixed server_hostname being forwarded from PoolManager to HTTPConnectionPool
  when requesting an HTTP URL. Should only be forwarded when requesting an HTTPS URL.

(From OE-Core rev: 1c44078db4e8fc3ed992ede38708bea0dcf87f11)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
6e3e008831 python3-pytz: upgrade 2021.3 -> 2022.1
(From OE-Core rev: 6099720d01aaab4fd9c878e6026ab4fbb862421c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
aedb0e59f3 python3-pytest-subtests: upgrade 0.6.0 -> 0.7.0
Changelog:
=========
Fixed support for pytest 7.0, and pytest>=7.0 is now required.

(From OE-Core rev: 34f6bc8ca0cfc310fd6ba494b995fa86d28b5a6e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
1a32c6d7c7 python3-pytest-runner: upgrade 5.3.1 -> 6.0.0
Add dependency python3-distutils.

Changelog:
=========
- #49: Dropped workaround for older setuptools versions.
- Require Python 3.7.
- #58: Fixed syntax issue in changelog.

(From OE-Core rev: 06162fbbbacbfd705755b5898fb3343483807904)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
12be0d3efb python3-jinja2: upgrade 3.0.3 -> 3.1.1
(From OE-Core rev: 768de8fa99336f6232110cf4158b6bab36ec3c54)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
a4f7b5df01 python3-imagesize: upgrade 1.2.0 -> 1.3.0
Add dependency python3-xml.

(From OE-Core rev: ab1439ec24077461c92d2d150131aee81b2cfe66)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
50e0ff3d8f python3-hypothesis: upgrade 6.39.2 -> 6.39.5
Changelog:
=========
Improve error detection and message when Hypothesis is
run on a Python implementation without support for "-0.0", which is
required for the "floats()" strategy but can be disabled by unsafe
compiler options (issue #3265).

If the "shrink" phase is disabled, stop the "generate" phase as
soon as an error is found regardless of the value of the
"report_multiple_examples" setting, since that's probably what you
wanted (issue #3244).

(From OE-Core rev: 56702a6c8e066d3730dd336eeb98d10534226601)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
8622b07167 python3-dbusmock: upgrade 0.26.1 -> 0.27.3
Changelog:
=========
packit: Fix file name to sync

(From OE-Core rev: 2867273089a46a9d331df4cb11e97066e31a2169)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
5215dd41bd python3-asn1crypto: upgrade 1.4.0 -> 1.5.1
License-Update: year updated to 2022

Changelog:
=========
- Handle RSASSA-PSS in keys.PrivateKeyInfo.bit_size and
  keys.PublicKeyInfo.bit_size
- Handle RSASSA-PSS in keys.PrivateKeyInfo.wrap and keys.PublicKeyInfo.wrap
- Updated docs for keys.PrivateKeyInfo.algorithm and
  keys.PublicKeyInfo.algorithm to reflect that they can return "rsassa_pss"

(From OE-Core rev: 8fbe3bd4aca7a8906e342bcc9f27e205398919c3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
Michael Opdenacker
6d668da030 bitbake: bitbake: bitbake-user-manual: punctuation fixes
- Replace hyphens by em dashes when necessary
  See https://www.grammarly.com/blog/hyphens-and-dashes/
- No uppercase after em dashes
- No uppercase after colons if what follows is not a
  complete sentence.
- Fix spacing before colons ":"
- Replace em-dashes with colons for consistency in a section

(Bitbake rev: 72230d6a9976b3bfca1f1e6fb09736fec195e2fe)

(Bitbake rev: f1c4ac816e927f490fb9852c12aa408e8c9403b1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
f6cdd19553 bitbake: build: Add missing parameter to TaskInvalid
Fixes:

File "bitbake/lib/bb/build.py", line 585, in _exec_task
  event.fire(TaskInvalid(task, d), d)
TypeError: __init__() missing 1 required positional argument: 'metadata'

(Bitbake rev: 16ea4429344e36ff022616abd7fa74e5964b6d6a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
4a5a2e67a8 bitbake: cooker: Rework force parser shutdown
The "force" option to parser shutdown was often the cause of lockups and
there is no good reason we should have two different behaviours.

Change and unify the codepaths to always:
  * Wait for longer for a controlled shutdown of a process (0.5s). Usually
    it will be much faster if it has finished so the delay doesn't really matter.
  * Send processes a SIGINT
  * Failing that, send a SIGTERM
  * Call .close() if available to release zombies

This means we no longer need the "force" parameter to the function so it is removed.

(Bitbake rev: de88c62ef873e9fce78ba162f5311d846de96f2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
928bcb10a4 bitbake: cooker/process: Fix signal handling lockups
If a parser process is terminated while holding a write lock, then it
will lead to a deadlock (see
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Process.terminate).

With SIGTERM, we don't want to terminate holding the lock. We also don't
want a SIGINT to cause a partial write to the event stream.

I tried using signal masks to avoid this but it doesn't work, see
https://bugs.python.org/issue47139

Instead, add a signal handler and catch the calls around the critical section.
We also need a thread lock to ensure other threads in the same process don't
handle the signal until all the threads are not in the lock.

(Bitbake rev: a40efaa5556a188dfe46c8d060adde37dc400dcd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
c0ff6c75ee bitbake: cooker: Simplify parser init function handling
Not sure why this is so convoluted but we should simplify it!

(Bitbake rev: 6195343c46ba9d2685fc2d42366922f88ff3f369)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
849e26181d bitbake: cooker: Improve exception handling in parsing process
If an exception occurs in the parsing process, ensure the cleanup
is called via all codepaths using a try/finally.

(Bitbake rev: e1ba2a69f1fc02f01a851bce20b1badf0b991f03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
af5c7cf95f bitbake: cooker: Fix main loop starvation when parsing
When parsing, the parser isn't servicing the main loop so a Ctrl+C in the
UI won't be seen on the cooker/server side. Fix this by returning when queue
timeouts occur. This helps where there is a hung or slow parsing thread.

(Bitbake rev: a2cde38311a51112dca5e7bb4e7feaf4e6a281b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
99f9b9b439 bitbake: cooker: Fix exception handling in parsers
We shouldn't be generating exception inside a generator. Rearrange the
code to improve the handling of this. Also fix the misconverted code
from when multiconfig was added and pass the exception as "result".

(Bitbake rev: ae89e23696de2f27c00ae00922933395171de5d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Luca Boccassi
259c30621f volatile-binds: add recipe variable to allow disabling OverlayFS
Use the new MOUNT_COPYBIND_AVOID_OVERLAYFS flag provided by mount-copybind.
When SELinux is enabled, processes accessing OverlayFS mounts will get a denial
if the process setting up the mount doesn't have all the permissions that
the accessor has.

(From OE-Core rev: 6002bdc77643c363a8326bf163baecba8b36e3e0)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Ming Liu
240e5ab3c4 kernel-fitimage.bbclass: introduce FIT_SUPPORTED_INITRAMFS_FSTYPES
It was found when a end user wants to build a squashfs type initramfs
into fitimage, it just fails without printing out any error or warning
messages, which is not right.

Introduce a FIT_SUPPORTED_INITRAMFS_FSTYPES variable to avoid
hard-coding the supported initramfs types, and it could be overridden
in config files. Also break the build when none of a supported
initramfs type is found.

(From OE-Core rev: b0f8d8a4c063936b50d3ec7c066b29157b3c3544)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Ming Liu
dbedfdeed2 kernel-fitimage.bbclass: change 'echo' to 'bbnote'
Change 'echo' usages to 'bbnote' for better logging.

(From OE-Core rev: 3d05ba04824c7f08e42b1972bc0de538164b61ea)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Richard Purdie
c80a6a6e66 create-spdx: Avoid regex warning by quoting correctly
create-spdx.bbclass:43: DeprecationWarning: invalid escape sequence \W
  lic_regex = re.compile(b'^\W*SPDX-License-Identifier:\s*([ \w\d.()+-]+?)(?:\s+\W*)?$', re.MULTILINE)

(From OE-Core rev: 5dfb26d45f69c4d5dc4b6fcef084b830ef9dbf4c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Ross Burton
362c829ba1 qemu: backport fixes for CVE-2022-26353 and CVE-2022-26354
(From OE-Core rev: 73d3cb8cf089b66292c305973d85e14324f2022c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Ross Burton
ee6f9706de grub: ignore CVE-2021-46705
This is specific to SUSE Linux.

(From OE-Core rev: 594baef3b08d40fbbf1899f4cadeb9931c035c1a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
c84efb8750 sqlite3: upgrade 3.38.1 -> 3.38.2
(From OE-Core rev: a285f31f2ca2e8f71d5939862d09211b53adeefb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
af6c5e1e22 msmtp: upgrade 1.8.19 -> 1.8.20
(From OE-Core rev: daf59ec209b1b7ca0ff62d0be1892781a3efd32b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
1eb9143adc lttng-ust: upgrade 2.13.1 -> 2.13.2
(From OE-Core rev: bdde01d83f52103c9a93a90f481bcf8f2e7b301f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
a18c050e1b lttng-modules: upgrade 2.13.2 -> 2.13.3
(From OE-Core rev: f9b3727b9f4014a8b08c2ba9c03b8b5f96f01083)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
55ccfd804f libsoup: upgrade 3.0.4 -> 3.0.5
(From OE-Core rev: 8f71ba57db3eb7ba7e6a4e835751a3329bde114d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
e12ca44a67 libevdev: upgrade 1.12.0 -> 1.12.1
(From OE-Core rev: 531207205d5c3faf683fb262fc76bcba07c26955)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
94462c3df9 iproute2: upgrade 5.16.0 -> 5.17.0
0001-lib-fix-ax25.h-include-for-musl.patch
removed since it's included in 5.17.0

(From OE-Core rev: 4b0b5fa9dd82fe9492e1eba440f3dcee40572fb6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
5bf17c55b2 glib-networking: upgrade 2.70.1 -> 2.72.0
(From OE-Core rev: 17e15809a0689eb4ce99e950d4e088ddb09435eb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
e7b19130e1 dpkg: upgrade 1.21.2 -> 1.21.4
(From OE-Core rev: cddde2f9f6e229b750dc0bca8109f6a1f57d9dcd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
eb2f29d6f8 diffoscope: upgrade 207 -> 208
(From OE-Core rev: 9befbe17c1ff8222c782489cead17e441a927ae1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
wangmy
cd22066284 cronie: upgrade 1.5.7 -> 1.6.0
(From OE-Core rev: 7a76c815d7204d098ac99bc6738b38adaf8cae5b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
wangmy
82a92d0b70 atk: upgrade 2.36.0 -> 2.38.0
(From OE-Core rev: 92fbc8cbbed2f7d7b43f73b80b236eb31a3c4da6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
wangmy
b8016ddbea apt: upgrade 2.4.0 -> 2.4.3
0001-aptwebserver.cc-Include-array.patch
refreshed for new version.

(From OE-Core rev: e147934d8dcb31a33ec3396d31a09aa9cdae2a90)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Stefan Herbrechtsmeier
04af73b8ba zstd: add libzstd package
Add a libzstd package to remove libstdc++ runtime dependency from
library users and reduce the dependencies and size of the library
package.

Add a lib package instead of a bin package to use a similar name as
other buildtools and be backward compatible.

(From OE-Core rev: 59041a5f945d480503e391f5f210f383412646b9)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Khem Raj
ff366d5949 qemu: Disable for ppc32
qemu no longer supports building for ppc32 hosts, therefore reflect this
in recipe

(From OE-Core rev: b94bf9d17d8157907d4b96f29276a7b58707124e)

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>
2022-03-29 15:59:28 +01:00
Peter Kjellerstedt
a58cc124c1 python3: Add a dependency on ncurses
This avoids the following configuration error:

  The necessary bits to build these optional modules were not found:
  _curses               _curses_panel

which happens if the "readline" PACKAGECONFIG is disabled.

(From OE-Core rev: 70e0641069ca1e0e460000fe19662d6b3753b2ba)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Peter Kjellerstedt
9f6a6a5550 libdnf: Add a dependency on util-linux
This avoids the following configuration error:

  -- Checking for module 'smartcols'
  --   No package 'smartcols' found
  CMake Error at .../usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message):
   A required package was not found

which happens if glib-2.0 is configured without the libmount
PACKAGECONFIG that otherwise depends on util-linux.

(From OE-Core rev: e9bbbe72221e56a82892981a5ff254e559795ac6)

Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Peter Kjellerstedt
4ca073b9c0 glib-2.0: Remove a leftover comment
The system-pcre PACKAGECONFIG was removed in commit e359ee75 (glib-2.0:
update 2.68.4 -> 2.70.0), but a comment was left behind.

(From OE-Core rev: a08655f3d97d947fb29c4b669790f68d661aae96)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Khem Raj
2ac59abcd4 grep: Fix build on ppc/musl
Backport a patch from libsigsegv

(From OE-Core rev: 59b55dd8cf87d5657061da32cec3506bb83ca1b0)

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>
2022-03-29 15:59:28 +01:00
Khem Raj
9fa7faefc7 diffutils: Fix build on ppc/musl
Backport a patch from libsigsegv

(From OE-Core rev: 2115602f898f915c8e20358b5523da10d3b611f3)

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>
2022-03-29 15:59:28 +01:00
Peter Kjellerstedt
279e754d86 bitbake: server/process: Correct a typo in a comment
(Bitbake rev: b4a157b2fe2fb481ffa40e0f32659d05dd6320c2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-28 13:33:28 +01:00
Luca Boccassi
52cad1fe64 mount-copybind: add MOUNT_COPYBIND_AVOID_OVERLAYFS env var to skip OverlayFS
In some cases we don't want to even attempt to set up OverlayFS, for
example because SELinux in enforcing mode would kill the process
attempting to use the mount. See:

https://lore.kernel.org/all/CA+FmFJBDwt52Z-dVGfuUcnRMiMtGPhK4cCQJ=J_fg0r3x-b6ng@mail.gmail.com/T/#mef98aa406324096d1889d3d467251f30456f403c

If MOUNT_COPYBIND_AVOID_OVERLAYFS=1 is set, skip directly to copy and
bind mount.

(From OE-Core rev: a8e7dca69054798b1c9843a0de889cef3e261c4f)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Luca Boccassi
23ef894641 mount-copybind: fix shellcheck warning
$ shellcheck meta/recipes-core/volatile-binds/files/mount-copybind

In meta/recipes-core/volatile-binds/files/mount-copybind line 54:
            mountcontext=",rootcontext=$(matchpathcon -n $mountpoint)"
                                                         ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean:
            mountcontext=",rootcontext=$(matchpathcon -n "$mountpoint")"

For more information:
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...

(From OE-Core rev: 56c7962a6c31acfe0e118f713954aeafd7e2d9c0)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Ross Burton
596fcd883f oeqa/runtime/context: remove duplicate sys.path entries when looking for modules
sys.path can contain duplicate entries for each layer, which means that
the search in add_controller_list() will find the same name twice and
abort.

As duplicate directories should be harmless, remove any duplicates before
iterating through the entries.

(From OE-Core rev: e478381ac1cccc5f882198fd11c8757db7e3741a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
02b01be41f librsvg: reenable nativesdk
Rust is now available for nativesdk. So the nativesdk build for librsvg
can be enabled again.

(From OE-Core rev: 96eac366b7b2ba3a826227f9bfe2c1bedea6943e)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
025c49b3cf rust-crosssdk: use ${RUST_LIBC} in ${PN}
TCLIBC is only valid for TARGET, not for HOST or NATIVESDK.
Fixes build of rust-crosssdk if TCLIBC is set to musl.

(From OE-Core rev: c0b353d19d4cd796e5e63c6bec72962854fe81f4)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
ab3f69296d machine-sdk: clear ABIEXTENSION for class-crosssdk
For nativesdk/crosssdk, we have no ABIEXTENSION. Fixes build of
rust-crosssdk if ABIEXTENSION is set toe something like "eabi".

(From OE-Core rev: adc1c99abaab3d6046edd3a26dd53a31181f97ca)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
ccef909c56 rust-common: override RUST_LIBC for crosssdk
For nativesdk/crosssdk, always glibc is used. Fixes build of
rust-crosssdk if TCLIBC is set to musl.

(From OE-Core rev: 67b4e0fdb13c81ab7e79109b6366fd7705b253ba)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
40d6b6baae glib-2.0: upgrade 2.70.4 -> 2.72.0
- 0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch:
  dropped (integrated upstream)

News
====

* Bugs fixed:
 - #2620 g_time_zone_new_offset() assertion failure if offset >= 25 hours
 - #2538 Various unit test fixes
 - #2542 fuzzing: Fix test failure with G_DISABLE_ASSERT
 - #2547 gprintf: Fix a memory leak with an invalid format in g_vasprintf()
 - #2548 tests: Various fixes to gdbus-auth, gdbus-non-socket, gdbus-connection-flush, spawn-multithreaded tests
 - #2551 tests: More flaky test fixes to converter-stream and test-printf
 - #2552 gtlsconnection: fix typo in docs

* Translation updates:
 - Czech
 - French
 - Friulian
 - Hebrew
 - Hungarian
 - Italian
 - Kazakh
 - Polish
 - Romanian
 - Serbian
 - Swedish

(From OE-Core rev: bf088d1e9d13eca5b0fb1a4ab1cb689daaf1ff80)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Khem Raj
e43cfbc69e musl: Update to latest master
brings following fixes

* 6d8a5157 fix invalid free of duplocale object when malloc has been replaced
* 760f5d7e fix __WORDSIZE on x32 sys/user.h
* bdb54540 sys/ptrace.h: add PTRACE_GET_RSEQ_CONFIGURATION from linux v5.13
* aa3bab6c sys/prctl.h: add PR_PAC_{SET,GET}_ENABLED_KEYS from linux v5.13
* a8300f5d elf.h: add NT_ARM_PAC_ENABLED_KEYS from linux v5.13
* dda21f10 netinet/in.h: add INADDR_DUMMY from linux v5.13
* ee05b11b bits/syscall.h: add landlock syscalls from linux v5.13
* 1ee8109e netinet/tcp.h: add tcp_zerocopy_receive fields from linux v5.12
* bc89c311 netinet/tcp.h: add TCP_NLA_* values up to linux v5.12
* 9ffd1454 s390x: add ptrace requests from linux v5.12
* f7d3db5b bits/syscall.h: add mount_setattr from linux v5.12
* e99c4258 signal.h: add new sa_flags from linux v5.11
* 993cccce signal.h: add SYS_USER_DISPATCH si_code value from linux v5.11
* 3dcbd896 signal.h: add si_code values for SIGSYS
* 30c8a145 netinet/tcp.h: add tcp zerocopy related changes from linux v5.11
* b54f481f netinet/if_ether.h: add ETH_P_CFM from linux v5.11
* c5ecaca7 sys/socket.h: add new SO_ socket options from linux v5.11
* f35b99b3 sys/prctl.h: add PR_SET_SYSCALL_USER_DISPATCH from linux v5.11
* b21f3ded bits/syscall.h: add epoll_pwait2 from linux v5.11
* 3aba2150 nice: return EPERM instead of EACCES
* 74a28a8a protect stack canary from leak via read-as-string by zeroing second byte
* 7c0c7a75 math: avoid runtime conversions of floating-point constants

(From OE-Core rev: 56c0629caebd7f22a09925333c2dc800901d7794)

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>
2022-03-26 09:33:32 +00:00
Joe Slater
1e94dfcb04 libxml2: fix CVE-2022-23308 regression
The fix for the CVE in 2.9.13 caused a regression which
was addressed after 2.9.13.  We import that patch here.

(From OE-Core rev: f7fd194feb4f7993518388160acd5199fcfc3b26)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Richard Purdie
075aeeff2b oeqa/selftest/tinfoil: Fix intermittent event loss issue in test
We've been seeing occasional test failures on the autobuilder where
we don't see the expected events. It turns out this is due to
run_command being helpful and eating them if the server is fast and
the client slow. Adding a sleep into the run_command code makes the
failure consistent.

Use a new "handle_events" argument to allow us to handle all the
events which is what this test requires.

[YOCTO #14585]

(From OE-Core rev: 2292983c717b8cadcf0c443bb7b649a84ea5ad57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Michael Olbrich
aceec5ee12 kernel.bbclass: avoid config changes based on the availability of pahole
CONFIG_PAHOLE_HAS_SPLIT_BTF shows up in the config only when pahole is
installed on the host system. As a result, the config changes depending on
whether pahole is installed or not.

Set PAHOLE=false to ensure that it is never found.

If this is actually needed in the future, then we can add an option for
it and create a host package for pahole.

(From OE-Core rev: 43b0eca2f3fc41a0d2ba7c7679687a3e0eb54b45)

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
[afa: ported from PTXdist 0c0cec2288 to OE-core]
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Khem Raj
981cb14b42 qemu: Depend on libepoxy instead of virtual/libgl
- This abstracts on GL/GLES implementations
- Rename packageconfig to epoxy to match what code it doing underneath

(From OE-Core rev: 0ded646a83768868a1cc4dceb962ee707348af1b)

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>
2022-03-26 09:33:32 +00:00
Richard Purdie
fe7b07476b perl: Add missing RDEPENDS
This allows quilt-ptest to work in an otherwise bare image. Without
this there are broken modules.

(From OE-Core rev: 0e359ba5134d8071c590936e0348e5bf97919845)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Michael Opdenacker
116cf79f2b bitbake: doc: bitbake-user-manual: branch parameter now mandatory in git SRC_URIs
(Bitbake rev: 981d1929937519cd98200a6ef291d97a16d358ad)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Michael Opdenacker
336b89ecd8 bitbake: doc: bitbake-user-manual: add branch parameter to git SRC_URI examples
This parameter is now required by the git fetcher module

(Bitbake rev: d61b349581c219e7f9d50f683177184fa473cb83)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Olaf Mandel
5cbdd2b483 bitbake: fetch2/git: stop generated tarballs from leaking info
When using BB_GENERATE_MIRROR_TARBALLS="1" to generate mirror tarballs
of git repositories, they leaked local information: username, group and
time of the last fetch. Remove all these by setting fixed information:

 * uname = pokybuild
 * gname = users
 * mtime = committer time of newest commit in repo

The username and group value were taken from the archives available on
the downloads.yoctoproject.org mirror. The modification time is chosen
so it still retains some relationship to the contents of the archive.

(Bitbake rev: 0178ab83e6312e97e528aa8c5e12105f5165d896)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
7e273d09d0 bitbake: cooker: Fix inotify watches causing memory resident bitbake corruption
Thanks to great debugging from pavel@zhukoff.net we had a simpler reproducer
for the corruption see in oe-selftest when using BB_SERVER_TIMEOUT=60, i.e.
with bitbake in memory resident mode. This was effectively:

oe-selftest -r devtool.DevtoolUpgradeTests.test_devtool_upgrade devtool.DevtoolUpgradeTests.test_devtool_upgrade_git -j 1 -K

The issue is that if directories are removed (such as workspace), if
they are added again, we don't have the watches in place any more. This
patch adds some slightly paranoid checks to ensure we do the correct things
for directory additions and removals (we track directories, not files
specifically to avoid running out of watches).

[YOCTO #14023]

(Bitbake rev: 2c414f659d793d732041614caedd773959eb4f27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
cff6c1a18d bitbake: server/process: Move threads left debug to after cooker shutdown
This debug is useful but the cooker shutdown or post_serve() may have cleanup
left so run after those.

(Bitbake rev: 1463fc0448d1a6a7265806a4a8b165b610dfb43f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
f0c28dddbe bitbake: siggen: Add missing reset handler to hashserv signature generator
When we have a client connection, we should close that connection when reset()
is called on the siggen. Add the missing function.

(Bitbake rev: 770b4ea81b6126b0830e51649c40f7a46c64132a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
88fcf8422d bitbake: cooker/siggen: Support exit calls and use for hashserv client
We have shutdown functions within the async client code but the siggen
doesn't currently call them. We notice on python 3.10 (such as on fedora35)
that at exit, there is a stray asyncio process left behind. Usually this
doesn't cause problems but it could potentially be a cause of a hang.

For general cleanliness and completness, add in hooks to call the exit handler.

(Bitbake rev: 9ee3fb95330003878fbd64b3ce8897aad96fcd0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
a10ac380b7 bitbake: tinfoil: Allow run_command not to wait on events
There are some commands where we want to see the events returned so allow
the caller to request this. This also allows us to fix an infamous bug in
the tinfoil testsuite in OE-Core.

(Bitbake rev: 0e8421c41d97d5d50a553d70c8f775d521f1a199)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Peter Kjellerstedt
cd369a732e license.bbclass: Remove the available_licenses() function
It is no longer used in OE-Core.

(From OE-Core rev: aa662aae352c65cb5d13172bf98ed4ae3cb46c26)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Peter Kjellerstedt
fb0a43cd2f create-spdx.bbclass: Simplify extraction of license text
There is no reason to first search for all available licenses using
avail_licenses() and then search through the same paths looking for
the actual license texts. Just look for the license texts directly
instead.

(From OE-Core rev: 59eb405a80f0a0acf9b754b2b78399bacb0094ae)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Joe Slater
1f1fcb41b4 weston: use same distro features for weston and westion-init
We want to avoid situations (like world builds) where
weston-init will build, but weston won't.  This could
cause "nothing RPROVIDES..." dependency errors.  We set
required distro features in a common include file.

(From OE-Core rev: 1c7802f025eb3d9ee3310e083a5d8bef7178de9c)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Peter Kjellerstedt
d01b1919dc selftest/incompatible_lic: Remove references to AVAILABLE_LICENSES
The AVAILABLE_LICENSES variable has been removed from OE-Core.

(From OE-Core rev: bf4a7eee09245c0f7f8939f4cd522646fec6e507)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
wangmy
e3c002527a libjitterentropy: upgrade 3.3.1 -> 3.4.0
License-Update: year updated to 2022

(From OE-Core rev: a70aac53da893c681b2a8a56753faa88e3059aeb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
wangmy
fe230e1bbf rng-tools: enable macro JENT_CONF_ENABLE_INTERNAL_TIMER
do_compile error :
| ../git/rngd_jitter.c: In function 'rngd_notime_start':
| ../git/rngd_jitter.c:56:45: error: invalid use of undefined type 'struct jent_notime_ctx'
|    56 |         ret = -pthread_attr_init(&thread_ctx->notime_pthread_attr);

enable macro JENT_CONF_ENABLE_INTERNAL_TIMER to use struct jent_notime_ctx

(From OE-Core rev: e9fac3b6d32262e489992b116275d3eabcc35b4a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Richard Purdie
7bea963eed sanity: Add warning for local hasheqiv server with remote sstate mirrors
We're seeing a lot of users configuring an sstate mirror but not realising that
the default hash equivalenve setting will make this ineffective. Add a warning
to highlight this to the user for the common case.

(From OE-Core rev: ae4eb33b5a6a037348e8f66e3d4f19b58dba8fa2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Minjae Kim
a03c6b912b virglrenderer: update SRC_URI
The git repo for virglrenderer was changed, so update the
SRC_URI accordingly with the new link.

(From OE-Core rev: 284ffefcb7731dfd317d535d3b1e363751aead01)

Signed-off-by:Minjae Kim <flowergom@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Minjae Kim
f59d1f19fc gnu-config: update SRC_URI
The git repo for gnu-config was changed, so update the
SRC_URI accordingly with the new link.

(From OE-Core rev: 6d0133c38fcb9b5ac3bdeaf65ef4d2cca2fc0586)

Signed-off-by:Minjae Kim <flowergom@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
f1b8aefc15 linux-yocto/5.10: update to v5.10.107
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    4c8814277b5d Linux 5.10.107
    7a0d13ef67a1 arm64: kvm: Fix copy-and-paste error in bhb templates for v5.10 stable
    dc1163203ae6 io_uring: return back safer resurrect
    8fdaab341bad kselftest/vm: fix tests build with old libc
    2490695ffdba sfc: extend the locking on mcdi->seqno
    2fad5b694896 tcp: make tcp_read_sock() more robust
    3f9a8f8a952c nl80211: Update bss channel on channel switch for P2P_CLIENT
    0ba557d33094 drm/vrr: Set VRR capable prop only if it is attached to connector
    9a8e4a5c5b73 iwlwifi: don't advertise TWT support
    c5ea0221c816 atm: firestream: check the return value of ioremap() in fs_init()
    efdd92c18ed4 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
    ebe106eac686 ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
    e8ad9ecc4069 MIPS: smp: fill in sibling and core maps earlier
    8c70b9b47004 mac80211: refuse aggregations sessions before authorized
    d687d7559e24 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller
    6f0a94931c47 ARM: dts: rockchip: reorder rk322x hmdi clocks
    6493c6aa8b44 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg"
    c5c8c649fee0 arm64: dts: rockchip: reorder rk3399 hdmi clocks
    f7f062919f41 arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity
    ca142038a54f xfrm: Fix xfrm migrate issues when address family changes
    d8889a445b53 xfrm: Check if_id in xfrm_migrate
    6056abc99b58 sctp: fix the processing for INIT chunk
    bdf0316982f0 Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
    327f1e7d813c Linux 5.10.106
    648895da69ce watch_queue: Fix filter limit check
    8bb5b72dbd9a ARM: fix Thumb2 regression with Spectre BHB
    6b1249db9e1c ext4: add check to prevent attempting to resize an fs with sparse_super2
    b297cf764d8c x86/traps: Mark do_int3() NOKPROBE_SYMBOL
    29f6f3500127 x86/boot: Add setup_indirect support in early_memremap_is_setup_data()
    b3444e5b640a x86/boot: Fix memremap of setup_indirect structures
    24d268130e3c watch_queue: Make comment about setting ->defunct more accurate
    ec03510e0a77 watch_queue: Fix lack of barrier/sync/lock between post and read
    06ab8444392a watch_queue: Free the alloc bitmap when the watch_queue is torn down
    880acbb718e1 watch_queue: Fix the alloc bitmap size to reflect notes allocated
    e2b52ca4988e watch_queue: Fix to always request a pow-of-2 pipe ring size
    2039900aadba watch_queue: Fix to release page in ->release()
    d729d4e99fb8 watch_queue, pipe: Free watchqueue state after clearing pipe ring
    573a3228ca32 virtio: acknowledge all features before access
    bf52b627cf47 virtio: unexport virtio_finalize_features
    8bfb959ea28d arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
    1ef5fe3dba2a riscv: Fix auipc+jalr relocation range checks
    a69aa422b478 mmc: meson: Fix usage of meson_mmc_post_req()
    0c6eeaf8c168 net: macb: Fix lost RX packet wakeup race in NAPI receive
    6d9700b44509 staging: gdm724x: fix use after free in gdm_lte_rx()
    8c1bc04c8c82 staging: rtl8723bs: Fix access-point mode deadlock
    ab5595b45f73 fuse: fix pipe buffer lifetime for direct_io
    f2c52a4baf56 ARM: Spectre-BHB: provide empty stub for non-config
    f1f5d089fcc6 selftests/memfd: clean up mapping in mfd_fail_write
    71013d071b50 selftest/vm: fix map_fixed_noreplace test failure
    8d276f10e84a tracing: Ensure trace buffer is at least 4096 bytes large
    ae7597b47dda ipv6: prevent a possible race condition with lifetimes
    8c0c50e9fcff Revert "xen-netback: Check for hotplug-status existence before watching"
    625c04b523ca Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
    a0e2768fb901 gpio: Return EPROBE_DEFER if gc->to_irq is NULL
    65d4e9d130fb hwmon: (pmbus) Clear pmbus fault/warning bits after read
    d15c9f6e3335 net-sysfs: add check for netdevice being present to speed_show
    8c023c303978 spi: rockchip: terminate dma transmission when slave abort
    889254f98e99 spi: rockchip: Fix error in getting num-cs property
    4fb9be675be8 selftests/bpf: Add test for bpf_timer overwriting crash
    dc1c2b47b539 net: bcmgenet: Don't claim WOL when its not available
    b7e4d9ba2ddb sctp: fix kernel-infoleak for SCTP sockets
    3cf533f12001 net: phy: DP83822: clear MISR2 register to disable interrupts
    21044e679ed5 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
    3a4cd1c51eea gpio: ts4900: Do not set DAT and OE together
    7702e7e9e396 selftests: pmtu.sh: Kill tcpdump processes launched by subshell.
    2b1c85f56512 NFC: port100: fix use-after-free in port100_send_complete
    1fdabf2cf42b net/mlx5e: Lag, Only handle events from highest priority multipath entry
    f3331bc17449 net/mlx5: Fix a race on command flush flow
    5f1340963b11 net/mlx5: Fix size field in bufferx_reg struct
    e2201ef32f93 ax25: Fix NULL pointer dereference in ax25_kill_by_device
    cc7679079c7e net: ethernet: lpc_eth: Handle error for clk_enable
    b3e4fcb53921 net: ethernet: ti: cpts: Handle error for clk_enable
    5e42f90d7220 tipc: fix incorrect order of state message data sanity check
    979b418b96e3 ethernet: Fix error handling in xemaclite_of_probe
    506d61bc1b50 ice: Fix curr_link_speed advertised speed
    852a9e97d396 ice: Rename a couple of variables
    b21ffd5469a9 ice: Remove unnecessary checker loop
    875967aff5a6 ice: Align macro names to the specification
    8c613f7cd3ca ice: stop disabling VFs due to PF error responses
    d9ee2cbff2e9 i40e: stop disabling VFs due to PF error responses
    965070a2b71d ARM: dts: aspeed: Fix AST2600 quad spi group
    96b01b854151 net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate()
    ed5bb00d8604 drm/sun4i: mixer: Fix P010 and P210 format numbers
    93223495bce5 qed: return status of qed_iov_get_link
    5bee2ed0508b esp: Fix BEET mode inter address family tunneling on GSO
    16386479ef59 net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
    33c74f808596 isdn: hfcpci: check the return value of dma_set_mask() in setup_hw()
    cca9d5035bd0 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
    a3d5fcc6cf2e mISDN: Fix memory leak in dsp_pipeline_build()
    f97ad179d12f mISDN: Remove obsolete PIPELINE_DEBUG debugging information
    2de76d37d4a6 tipc: fix kernel panic when enabling bearer
    ea3a5e6df512 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias
    2c6a75ea32f9 HID: vivaldi: fix sysfs attributes leak
    2a18a38cbc3b clk: qcom: gdsc: Add support to update GDSC transition delay
    0d6882dd158e ARM: boot: dts: bcm2711: Fix HVS register range
    67c781d938b8 Linux 5.10.105
    561e91e5fee8 Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"
    206c8e271ba2 xen/netfront: react properly to failing gnttab_end_foreign_access_ref()
    39c00d09286c xen/gnttab: fix gnttab_end_foreign_access() without page specified
    c4b16486d602 xen/pvcalls: use alloc/free_pages_exact()
    8357d75bfdb8 xen/9p: use alloc/free_pages_exact()
    17f01b7206af xen: remove gnttab_query_foreign_access()
    5f36ae75b847 xen/gntalloc: don't use gnttab_query_foreign_access()
    304725518277 xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
    f6690dd9446a xen/netfront: don't use gnttab_query_foreign_access() for mapped status
    96219af4e504 xen/blkfront: don't use gnttab_query_foreign_access() for mapped status
    3d81e85f30a8 xen/grant-table: add gnttab_try_end_foreign_access()
    5c600371b8fd xen/xenbus: don't let xenbus_grant_ring() remove grants in error case
    90f59cc2f2cc ARM: fix build warning in proc-v7-bugs.c
    8c4192d126ba ARM: Do not use NOCROSSREFS directive with ld.lld
    1749b553d73b ARM: fix co-processor register typo
    a330601c637b ARM: fix build error when BPF_SYSCALL is disabled
    b65b87e718c3 arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    551717cf3b58 arm64: Use the clearbhb instruction in mitigations
    38c26bdb3cc5 KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
    e192c8baa69a arm64: Mitigate spectre style branch history side channels
    192023e6baf7 KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A
    13a807a0a080 arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
    1f63326a5211 arm64: Add percpu vectors for EL1
    56cf5326bdf9 arm64: entry: Add macro for reading symbol addresses from the trampoline
    3f21b7e35523 arm64: entry: Add vectors that have the bhb mitigation sequences
    49379552969a arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
    26211252c1c1 arm64: entry: Allow the trampoline text to occupy multiple pages
    73ee716a1f63 arm64: entry: Make the kpti trampoline's kpti sequence optional
    8c691e5308c5 arm64: entry: Move trampoline macros out of ifdef'd section
    e55025063276 arm64: entry: Don't assume tramp_vectors is the start of the vectors
    5275fb5ea5f5 arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
    bda89602814c arm64: entry: Move the trampoline data page before the text page
    d93b25a66548 arm64: entry: Free up another register on kpti's tramp_exit path
    5242d6971e10 arm64: entry: Make the trampoline cleanup optional
    7048a21086fb arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
    dc5b630c0d53 arm64: entry.S: Add ventry overflow sanity checks
    97d8bdf33182 arm64: cpufeature: add HWCAP for FEAT_RPRES
    162aa002ec1a arm64: cpufeature: add HWCAP for FEAT_AFP
    dbcfa9853953 arm64: add ID_AA64ISAR2_EL1 sys register
    7ae8127e4123 arm64: Add HWCAP for self-synchronising virtual counter
    b19eaa004f2e arm64: Add Cortex-A510 CPU part definition
    86171569312b arm64: Add Cortex-X2 CPU part definition
    fc8070a9c5ad arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
    f3c12fc53e0a arm64: cputype: Add CPU implementor & types for the Apple M1 cores
    302754d023a0 ARM: include unprivileged BPF status in Spectre V2 reporting
    3f9c958e3572 ARM: Spectre-BHB workaround
    29d9b56df1e1 ARM: use LOADADDR() to get load address of sections
    46deb224680b ARM: early traps initialisation
    b7f1e73c4ddf ARM: report Spectre v2 status through sysfs
    d04937ae9490 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT
    cc9e3e55bde7 x86/speculation: Warn about Spectre v2 LFENCE mitigation
    e335384560d1 x86/speculation: Update link to AMD speculation whitepaper
    2fdf67a1d215 x86/speculation: Use generic retpoline by default on AMD
    afc2d635b5e1 x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    071e8b69d780 Documentation/hw-vuln: Update spectre doc
    a6a119d647ad x86/speculation: Add eIBRS + Retpoline options
    f38774bb6e23 x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
    206cfe2dac3e x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
    97581b56b59f Linux 5.10.104
    dbbe09d95377 hamradio: fix macro redefine warning
    dcd03efd7e8d Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
    292e1c88b8a5 btrfs: add missing run of delayed items after unlink during log replay
    41712c5fa518 btrfs: qgroup: fix deadlock between rescan worker and remove qgroup
    6e0319e77083 btrfs: fix lost prealloc extents beyond eof after full fsync
    827172ffa999 tracing: Fix return value of __setup handlers
    78059b1cfcd9 tracing/histogram: Fix sorting on old "cpu" value
    0e188fde82d7 HID: add mapping for KEY_ALL_APPLICATIONS
    f276ea5035aa HID: add mapping for KEY_DICTATE
    3b8f2a7aed80 Input: samsung-keypad - properly state IOMEM dependency
    a621ae6394ce Input: elan_i2c - fix regulator enable count imbalance after suspend/resume
    1397bbcd817f Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
    988f4f29cc44 net: dcb: disable softirqs in dcbnl_flush_dev()
    6828da5dea53 drm/amdgpu: fix suspend/resume hang regression
    f5e496ef73f3 nl80211: Handle nla_memdup failures in handle_nan_filter
    64e4305a03d0 iavf: Refactor iavf state machine tracking
    e6bc597fbcb2 net: chelsio: cxgb3: check the return value of pci_find_capability()
    320980b2496d ibmvnic: complete init_done on transport events
    86027004bb9d ARM: tegra: Move panels to AUX bus
    fbb810825aff soc: fsl: qe: Check of ioremap return value
    2824f6939e26 soc: fsl: guts: Add a missing memory allocation failure check
    3afe488d5c9c soc: fsl: guts: Revert commit 3c0d64e867ed
    44709130793b ARM: dts: Use 32KiHz oscillator on devkit8000
    298f6fae544f ARM: dts: switch timer config to common devkit8000 devicetree
    8b20c1999d3a s390/extable: fix exception table sorting
    49aa9c9c7fa7 memfd: fix F_SEAL_WRITE after shmem huge page allocated
    6acbc8875282 ibmvnic: free reset-work-item when flushing
    9d8a11d74de5 igc: igc_write_phy_reg_gpy: drop premature return
    223744f52133 pinctrl: sunxi: Use unique lockdep classes for IRQs
    2851b76e5fd0 selftests: mlxsw: tc_police_scale: Make test more robust
    85bf489c5c01 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
    6b6341049086 ARM: Fix kgdb breakpoint for Thumb2
    fefe4cb4a640 igc: igc_read_phy_reg_gpy: drop premature return
    0632854fb171 arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output
    43eaf1b17845 can: gs_usb: change active_channels's type from atomic_t to u8
    daaed6ced88c ASoC: cs4265: Fix the duplicated control name
    8b8ac465bf52 firmware: arm_scmi: Remove space in MODULE_ALIAS name
    667df6fe3ece efivars: Respect "block" flag in efivar_entry_set_safe()
    283c37e5429e ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
    5f394102ee27 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
    92b791771abd ibmvnic: register netdev after init of adapter
    6e0f986032c5 net: sxgbe: fix return value of __setup handler
    e1a82db1ebaf iavf: Fix missing check for running netdev
    c9a066fe4593 mac80211: treat some SAE auth steps as final
    e6d7f57f919f net: stmmac: fix return value of __setup handler
    fa65989a4867 mac80211: fix forwarded mesh frames AC & queue selection
    dcc3423c1dca ia64: ensure proper NUMA distance and possible map initialization
    1312ef5ad0a5 sched/topology: Fix sched_domain_topology_level alloc in sched_init_numa()
    d753aecb3d4b sched/topology: Make sched_init_numa() use a set for the deduplicating sort
    05ae1f0fe9c6 ice: fix concurrent reset and removal of VFs
    41edeeaae51a ice: Fix race conditions between virtchnl handling and VF ndo ops
    0c145262ac99 rcu/nocb: Fix missed nocb_timer requeue
    9bb7237cc740 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server
    d7eb662625eb net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client
    2e8d465b83db net/smc: fix connection leak
    6a8a4dc2a279 net: dcb: flush lingering app table entries for unregistered devices
    f4c63b24dea9 net: ipv6: ensure we call ipv6_mc_down() at most once
    a9c4a74ad5ae batman-adv: Don't expect inter-netns unique iflink indices
    3dae11d21fc8 batman-adv: Request iflink once in batadv_get_real_netdevice
    dcf10d78ff2c batman-adv: Request iflink once in batadv-on-batadv check
    81f817f3e559 netfilter: nf_queue: handle socket prefetch
    4d05239203fa netfilter: nf_queue: fix possible use-after-free
    3b9ba964f77c netfilter: nf_queue: don't assume sk is full socket
    4e178ed14bda net: fix up skbs delta_truesize in UDP GRO frag_list
    eb5e444fe37d e1000e: Correct NVM checksum verification flow
    b53d4bfd1a68 xfrm: enforce validity of offload input flags
    2f0e6d80e8b5 xfrm: fix the if_id check in changelink
    24efaae03b0d bpf, sockmap: Do not ignore orig_len parameter
    8b0142c4143c netfilter: fix use-after-free in __nf_register_net_hook()
    4952faa77d8d xfrm: fix MTU regression
    e93f2be33d4f mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls
    912186db092c ntb: intel: fix port config status offset for SPR
    1c0b51e62a50 thermal: core: Fix TZ_GET_TRIP NULL pointer dereference
    a1753d5c29a6 xen/netfront: destroy queues before real_num_tx_queues is zeroed
    ce41d8039196 drm/i915: s/JSP2/ICP2/ PCH
    61a895da4844 iommu/amd: Recover from event log overflow
    6951a5888165 ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
    dd9dd24fd7cb riscv: Fix config KASAN && DEBUG_VIRTUAL
    7211aab2881b riscv: Fix config KASAN && SPARSEMEM && !SPARSE_VMEMMAP
    00fb385f0ac4 riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value
    336872601cb8 ALSA: intel_hdmi: Fix reference to PCM buffer address
    e57dfaf66f2b tracing: Add ustring operation to filtering string pointers
    4a9d2390f3e2 drm/amdgpu: check vm ready by amdgpu_vm->evicting flag
    67e25eb1b474 ata: pata_hpt37x: fix PCI clock detection
    335f11ff74f2 serial: stm32: prevent TDR register overwrite when sending x_char
    c999c5927e96 tracing: Add test for user space strings when filtering on string pointers
    db36a94ed66b exfat: fix i_blocks for files truncated over 4 GiB
    1b810d5cb6ce exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()
    fdd64084e405 usb: gadget: clear related members when goto fail
    c13159a58881 usb: gadget: don't release an existing dev->buf
    00d5ac05af3a net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
    16f903afbafb i2c: qup: allow COMPILE_TEST
    57c333ad8c28 i2c: cadence: allow COMPILE_TEST
    9d6285e63241 dmaengine: shdma: Fix runtime PM imbalance on error
    37b06d5ebf5c selftests/seccomp: Fix seccomp failure by adding missing headers
    df9db1a2af37 cifs: fix double free race when mount fails in cifs_get_root()
    e3850e211df6 tipc: fix a bit overflow in tipc_crypto_key_rcv()
    6d4985b8a0bf KVM: arm64: vgic: Read HW interrupt pending state from the HW
    5d4b00e053fc Input: clear BTN_RIGHT/MIDDLE on buttonpads
    6e7015d982ee regulator: core: fix false positive in regulator_late_cleanup()
    467d664e5fff ASoC: rt5682: do not block workqueue if card is unbound
    0b050b7a0d73 ASoC: rt5668: do not block workqueue if card is unbound
    11956c6eeb5a i2c: bcm2835: Avoid clock stretching timeouts
    13f0ea8d1193 mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
    46f6d66219b5 mac80211_hwsim: report NOACK frames in tx_status

(From OE-Core rev: 1e600731a459c1dfe14032e5242806a25f091b41)

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>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
1c7042db25 linux-yocto/5.15: update to v5.15.30
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    0464ab17184b Linux 5.15.30
    a9bbacc53d1f ice: Fix race condition during interface enslave
    df3817ab226f x86/module: Fix the paravirt vs alternative order
    ff2e93a03f8d kselftest/vm: fix tests build with old libc
    d99db3b935b7 bnx2: Fix an error message
    ff7dfcd47a7e sfc: extend the locking on mcdi->seqno
    ff17119dceef tcp: make tcp_read_sock() more robust
    f5a425f5d5fc nl80211: Update bss channel on channel switch for P2P_CLIENT
    3534c5c005ef drm/vrr: Set VRR capable prop only if it is attached to connector
    46c02c5051aa iwlwifi: don't advertise TWT support
    4051516d4b79 atm: firestream: check the return value of ioremap() in fs_init()
    76e0b8e12c64 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
    3679ccc09d88 Bluetooth: hci_core: Fix leaking sent_cmd skb
    c2924e9143c2 ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
    be538b764a46 MIPS: smp: fill in sibling and core maps earlier
    c98afa0db3a3 mac80211: refuse aggregations sessions before authorized
    84ecddbc9888 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller
    8ad1b44f2d2e ARM: dts: rockchip: reorder rk322x hmdi clocks
    4744e1df7268 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg"
    f5743453365b arm64: dts: rockchip: reorder rk3399 hdmi clocks
    f9a510bb024d arm64: dts: rockchip: align pl330 node name with dtschema
    e90da30175cb arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity
    0f06f953aac5 xfrm: Fix xfrm migrate issues when address family changes
    e6d7e51e1092 xfrm: Check if_id in xfrm_migrate
    8918ae97417a arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode
    e901c9212457 Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
    b9a0208cb3e3 Linux 5.15.29
    f83c85ee73df vhost: allow batching hint without size
    caf18e4da9bf Revert "net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN"
    69b80587f650 block: drop unused includes in <linux/genhd.h>
    cd072bf2dcbd riscv: dts: k210: fix broken IRQs on hart1
    074c88751dc1 drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL
    a1ce40f8aeb1 btrfs: make send work with concurrent block group relocation
    342783ba9c3c drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP
    1fbafa9a5b42 x86/traps: Mark do_int3() NOKPROBE_SYMBOL
    ce91f0f023ad x86/sgx: Free backing memory after faulting the enclave page
    e946556d3665 x86/boot: Add setup_indirect support in early_memremap_is_setup_data()
    19503d381aab x86/boot: Fix memremap of setup_indirect structures
    ffb8fd39c84c watch_queue: Make comment about setting ->defunct more accurate
    eb38c2e9fc74 watch_queue: Fix lack of barrier/sync/lock between post and read
    82ff8a2243f7 watch_queue: Free the alloc bitmap when the watch_queue is torn down
    d453d0e5a15d watch_queue: Fix the alloc bitmap size to reflect notes allocated
    b022b6a0586f watch_queue: Fix to always request a pow-of-2 pipe ring size
    ccd03c30f103 watch_queue: Fix to release page in ->release()
    8275b6699c6d watch_queue, pipe: Free watchqueue state after clearing pipe ring
    1b09f28f70a5 watch_queue: Fix filter limit check
    52445030f135 ARM: fix Thumb2 regression with Spectre BHB
    4a8e7f9dae4a net/mlx5: Fix offloading with ESWITCH_IPV4_TTL_MODIFY_ENABLE
    cbb726e6c652 virtio: acknowledge all features before access
    22823b1a0dc9 virtio: unexport virtio_finalize_features
    a633bc013333 KVM: x86/mmu: kvm_faultin_pfn has to return false if pfh is returned
    2c1f97af38be swiotlb: rework "fix info leak with DMA_FROM_DEVICE"
    0349c79c5508 arm64: kasan: fix include error in MTE functions
    61d32defc00f arm64: Ensure execute-only permissions are not allowed without EPAN
    72ea28d88d30 arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
    42aaf726c9e9 tracing/osnoise: Force quiescent states while tracing
    eae073d854c5 riscv: Fix auipc+jalr relocation range checks
    b515552d41ee mmc: meson: Fix usage of meson_mmc_post_req()
    9b3cdf5e8ad9 riscv: alternative only works on !XIP_KERNEL
    b5e792187f50 net: macb: Fix lost RX packet wakeup race in NAPI receive
    1fb9dd378749 staging: gdm724x: fix use after free in gdm_lte_rx()
    441bc1e3d7e0 staging: rtl8723bs: Fix access-point mode deadlock
    ca62747b38f5 fuse: fix pipe buffer lifetime for direct_io
    d60d34b4d6d1 fuse: fix fileattr op failure
    64147ce85e2f ARM: Spectre-BHB: provide empty stub for non-config
    5c237251421d selftests/memfd: clean up mapping in mfd_fail_write
    e22807ee679f selftest/vm: fix map_fixed_noreplace test failure
    9d95b7e239a1 tracing/osnoise: Make osnoise_main to sleep for microseconds
    4d2889691570 tracing: Ensure trace buffer is at least 4096 bytes large
    041616a22c40 ipv6: prevent a possible race condition with lifetimes
    2708ceb4e5cc Revert "xen-netback: Check for hotplug-status existence before watching"
    fe39ab30dcc2 Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
    fcd1d79aa943 drm/amdgpu: bypass tiling flag check in virtual display case (v2)
    5cf4dd01efe0 gpio: Return EPROBE_DEFER if gc->to_irq is NULL
    94b568a9d2a5 PCI: Mark all AMD Navi10 and Navi14 GPU ATS as broken
    bb9795b6da22 hwmon: (pmbus) Clear pmbus fault/warning bits after read
    8d5e69d8fbf3 net-sysfs: add check for netdevice being present to speed_show
    1280c8ae9745 x86/kvm: Don't use pv tlb/ipi/sched_yield if on 1 vCPU
    ee22082c3e2f drm/vc4: hdmi: Unregister codec device on unbind
    5bef4e5089d3 spi: rockchip: terminate dma transmission when slave abort
    1f04bbd2935c spi: rockchip: Fix error in getting num-cs property
    bcd4279b989f kvm: x86: Disable KVM_HC_CLOCK_PAIRING if tsc is in always catchup mode
    e160ee96d03f KVM: Fix lockdep false negative during host resume
    302ce2946160 pinctrl: tigerlake: Revert "Add Alder Lake-M ACPI ID"
    839ddf786772 usb: dwc3: pci: add support for the Intel Raptor Lake-S
    7403f4118ab9 swiotlb: fix info leak with DMA_FROM_DEVICE
    b0028e1cc1fa selftests/bpf: Add test for bpf_timer overwriting crash
    732c7172b79c net: phy: meson-gxl: improve link-up behavior
    6c0d2f348be2 net: bcmgenet: Don't claim WOL when its not available
    1502f15b9f29 sctp: fix kernel-infoleak for SCTP sockets
    9ca50a73c98c net: phy: DP83822: clear MISR2 register to disable interrupts
    f49f646f9ec2 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
    c7f6accc6795 gpio: ts4900: Do not set DAT and OE together
    c614aad2ee9e selftests: pmtu.sh: Kill nettest processes launched in subshell.
    d4dfc94c4052 selftests: pmtu.sh: Kill tcpdump processes launched by subshell.
    0e721b8f2ee5 NFC: port100: fix use-after-free in port100_send_complete
    a2355333cf18 net/mlx5e: Lag, Only handle events from highest priority multipath entry
    7c519f769f55 net/mlx5: Fix a race on command flush flow
    b3d4a7dcb9ca net/mlx5: Fix size field in bufferx_reg struct
    46ad629e58ce ax25: Fix NULL pointer dereference in ax25_kill_by_device
    b7c2fd1d1263 net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr
    6e294d389023 net: ethernet: lpc_eth: Handle error for clk_enable
    c746fa0f54c9 net: ethernet: ti: cpts: Handle error for clk_enable
    5548c81e97ab tipc: fix incorrect order of state message data sanity check
    5e7c402892e1 ethernet: Fix error handling in xemaclite_of_probe
    06a97a7afa05 ice: Fix curr_link_speed advertised speed
    fd0ca20f1846 ice: Don't use GFP_KERNEL in atomic context
    15d1271d89b8 ice: Fix error with handling of bonding MTU
    9bda6a09e7ef ice: stop disabling VFs due to PF error responses
    49839cb40d6c i40e: stop disabling VFs due to PF error responses
    35f11aba74e2 iavf: Fix handling of vlan strip virtual channel messages
    0716607ad241 ARM: dts: aspeed: Fix AST2600 quad spi group
    9c0686caa822 net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate()
    f9ec15fc3c48 drm/sun4i: mixer: Fix P010 and P210 format numbers
    c5883d38a470 gpiolib: acpi: Convert ACPI value of debounce to microseconds
    c014efbd1c28 smsc95xx: Ignore -ENODEV errors when device is unplugged
    3acc8788febf qed: return status of qed_iov_get_link
    e5d078d21fa0 esp: Fix BEET mode inter address family tunneling on GSO
    4aaabbffc3b0 esp: Fix possible buffer overflow in ESP transformation
    4dfa7d3508bf net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
    92d97017c67c isdn: hfcpci: check the return value of dma_set_mask() in setup_hw()
    4b1743bc715a vdpa: fix use-after-free on vp_vdpa_remove
    8848b0fa9bf1 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
    f8d88e86e90e vhost: fix hung thread due to erroneous iotlb entries
    7777b1f795af mISDN: Fix memory leak in dsp_pipeline_build()
    20145e05e497 net: phy: meson-gxl: fix interrupt handling in forced mode
    90a2f4fc5b23 vduse: Fix returning wrong type in vduse_domain_alloc_iova()
    e7e118416465 vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command
    f96dc3adb9a9 tipc: fix kernel panic when enabling bearer
    0a99594d2058 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias
    e52ecbca254b HID: vivaldi: fix sysfs attributes leak
    ea45b38caf2b clk: qcom: dispcc: Update the transition delay for MDSS GDSC
    ba24eb3cc95c clk: qcom: gdsc: Add support to update GDSC transition delay
    b6c624d07bf2 ARM: boot: dts: bcm2711: Fix HVS register range
    3ffbe85cda7f HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts
    a5334502f91f HID: elo: Revert USB reference counting
    af4fcf85c88d arm64: dts: qcom: sm8350: Correct UFS symbol clocks
    8fa52df84c58 arm64: dts: qcom: sm8350: Describe GCC dependency clocks
    aa79753319d8 Linux 5.15.28
    39d332de8edb Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"
    dea18aef2021 xen/netfront: react properly to failing gnttab_end_foreign_access_ref()
    27dc69aa5568 xen/gnttab: fix gnttab_end_foreign_access() without page specified
    5bff1721c8f9 xen/pvcalls: use alloc/free_pages_exact()
    a019d26830e8 xen/9p: use alloc/free_pages_exact()
    90c5f198b923 xen: remove gnttab_query_foreign_access()
    f06e3edaeac1 xen/gntalloc: don't use gnttab_query_foreign_access()
    f1c85942314d xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
    5d5fa1d53a31 xen/netfront: don't use gnttab_query_foreign_access() for mapped status
    f9ade968df79 xen/blkfront: don't use gnttab_query_foreign_access() for mapped status
    1dd5b4b230f6 xen/grant-table: add gnttab_try_end_foreign_access()
    66cb2bbb522b xen/xenbus: don't let xenbus_grant_ring() remove grants in error case
    2b2d2a8ba2e9 ARM: fix build warning in proc-v7-bugs.c
    8836a046ef41 arm64: Do not include __READ_ONCE() block in assembly files
    431b92c3c25e ARM: Do not use NOCROSSREFS directive with ld.lld
    57a65667fbdc ARM: fix co-processor register typo
    49062ec32e79 ARM: fix build error when BPF_SYSCALL is disabled
    3317d21b84e9 arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    8979720ac64c arm64: Use the clearbhb instruction in mitigations
    fb2bb2ec137c KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
    4bbfd0c28025 arm64: Mitigate spectre style branch history side channels
    8e55b9b0e765 arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
    d7066114dcd6 arm64: Add percpu vectors for EL1
    cfd0c38125aa arm64: entry: Add macro for reading symbol addresses from the trampoline
    50e700a11766 arm64: entry: Add vectors that have the bhb mitigation sequences
    ffb8a34c0fd8 arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
    517f988ee050 arm64: entry: Allow the trampoline text to occupy multiple pages
    6895584a92ee arm64: entry: Make the kpti trampoline's kpti sequence optional
    a40472d463f9 arm64: entry: Move trampoline macros out of ifdef'd section
    be9c5526aad6 arm64: entry: Don't assume tramp_vectors is the start of the vectors
    2e09754a03a7 arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
    e25a9dced2bd arm64: entry: Move the trampoline data page before the text page
    4a691bbf56a1 arm64: entry: Free up another register on kpti's tramp_exit path
    479c9bb741bf arm64: entry: Make the trampoline cleanup optional
    368a1fd8c4a6 KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A
    44adac5908ff arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
    b7beeab84f02 arm64: entry.S: Add ventry overflow sanity checks
    e38b3c0d245b arm64: cpufeature: add HWCAP for FEAT_RPRES
    a4c234f60269 arm64: cpufeature: add HWCAP for FEAT_AFP
    912961e188dc arm64: add ID_AA64ISAR2_EL1 sys register
    ac7bc62b78de arm64: Add Cortex-X2 CPU part definition
    f0c559c38e98 arm64: Add HWCAP for self-synchronising virtual counter
    d82f489cbbdb arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
    842f2d498ee1 ARM: include unprivileged BPF status in Spectre V2 reporting
    576548846f1e ARM: Spectre-BHB workaround
    2dca61693e6c ARM: use LOADADDR() to get load address of sections
    878ad97f745e ARM: early traps initialisation
    f02cab2bed1a ARM: report Spectre v2 status through sysfs
    bf048d1921b6 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT
    074d72604639 x86/speculation: Warn about Spectre v2 LFENCE mitigation
    36fbbd78471c x86/speculation: Update link to AMD speculation whitepaper
    a56566d7a957 x86/speculation: Use generic retpoline by default on AMD
    316e4a16524a x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    eb4596417756 Documentation/hw-vuln: Update spectre doc
    d7771f380c90 x86/speculation: Add eIBRS + Retpoline options
    f150b6fccf7f x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
    e94d490a1ad6 x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
    668c821321b4 slip: fix macro redefine warning

(From OE-Core rev: dee9d13f7eeb23fe27ebb20b66d2f7dd52274591)

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>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
83abd29a5b linux-yocto-rt/5.10: update to -rt61
Integrating the following commit(s) to linux-yocto-rt/5.10:

    48b12b48c110 Linux 5.10.90-rt61
    2367f287812f aio: Fix incorrect usage of eventfd_signal_allowed()
    640f56f85c08 stop_machine: Remove this_cpu_ptr() from print_stop_info().
    38c47ed56da8 eventfd: Make signal recursion protection a task bit
    45f3f3c787e3 Linux 5.10.90-rt60
    257f82607c82 Linux 5.10.87-rt59
    7ff031bb6566 Linux 5.10.83-rt58
    03cfb1aadc5e Linux 5.10.80-rt57

(From OE-Core rev: a201b82e999d2216fc58bd8db405bb06c9f22ff5)

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>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
a98dbebf3a linux-yocto-rt/5.15: update to -rt34
Integrating the following commit(s) to linux-yocto-rt/5.15:

    931d5079b9fc Linux 5.15.26-rt34
    c5c22d2fdb7b Linux 5.15.25-rt33
    6a2e3e6c9401 staging: greybus: gpio: Use generic_handle_irq_safe().
    cb17d0820286 net: usb: lan78xx: Use generic_handle_irq_safe().
    a4040e8669d8 mfd: ezx-pcap: Use generic_handle_irq_safe().
    870d69c5f090 misc: hi6421-spmi-pmic: Use generic_handle_irq_safe().
    3718dd5011f4 i2c: cht-wc: Use generic_handle_irq_safe().
    1252887f9872 i2c: core: Use generic_handle_irq_safe() in i2c_handle_smbus_host_notify().
    5aa6ecf9212a genirq: Provide generic_handle_irq_safe().
    1c73db1779a6 Linux 5.15.25-rt32
    2e68dcd8d632 Linux 5.15.24-rt31
    5ec703bf5ccc net: Write lock dev_base_lock without disabling bottom halves.
    15bd5dea95e6 Linux 5.15.21-rt30
    88c15a185ab7 Linux 5.15.19-rt29
    a70f09a4d312 Linux 5.15.18-rt28
    771d328d2646 Linux 5.15.14-rt27
    b56e1f0d87ba Linux 5.15.13-rt26
    5e8adc085a2b Linux 5.15.12-rt25
    ea0f771b9442 Linux 5.15.10-rt24
    269b39adfb2c Linux 5.15.7-rt23

(From OE-Core rev: a4198a50971f25e3ef05c9c385c9344dfef24ba9)

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>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
7a425faa64 linux-yocto/5.15: update to v5.15.27
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    efe3167e52a5 Linux 5.15.27
    ea2bc310250d hamradio: fix macro redefine warning
    8998aa676205 KVM: x86/mmu: Passing up the error state of mmu_alloc_shadow_roots()
    416e3a0e4276 proc: fix documentation and description of pagemap
    8b893496892e Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
    6599d5e8bd75 btrfs: do not start relocation until in progress drops are done
    4aef4c900597 btrfs: add missing run of delayed items after unlink during log replay
    34146bbadcdd btrfs: qgroup: fix deadlock between rescan worker and remove qgroup
    e00077aa439f btrfs: do not WARN_ON() if we have PageError set
    725a6ac389b1 btrfs: fix relocation crash due to premature return from btrfs_commit_transaction()
    5342e9f3dac0 btrfs: fix lost prealloc extents beyond eof after full fsync
    80660a726d47 tracing: Fix return value of __setup handlers
    452f64ee0940 tracing/histogram: Fix sorting on old "cpu" value
    aa6d3eef28f3 HID: add mapping for KEY_ALL_APPLICATIONS
    b355d6a14ba7 HID: add mapping for KEY_DICTATE
    74e9545d9e25 Input: samsung-keypad - properly state IOMEM dependency
    cb19f03e5f65 Input: elan_i2c - fix regulator enable count imbalance after suspend/resume
    f74fc94691f0 Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
    7a1ee9934b14 MAINTAINERS: adjust file entry for of_net.c after movement
    7626ab3a3897 iavf: missing unlocks in iavf_watchdog_task()
    d784113217f9 iavf: do not override the adapter state in the watchdog task (again)
    d61f3737c559 net: stmmac: perserve TX and RX coalesce value during XDP setup
    d666d3363845 selftests: mlxsw: resource_scale: Fix return value
    6fe3127d3af1 net: dcb: disable softirqs in dcbnl_flush_dev()
    46eed3a37dee drm/amdgpu: fix suspend/resume hang regression
    a1e603e5f3b2 nl80211: Handle nla_memdup failures in handle_nan_filter
    a30496660634 MIPS: ralink: mt7621: use bitwise NOT instead of logical
    68c4fe2ef0bf e1000e: Fix possible HW unit hang after an s0ix exit
    9dfe6abc6c13 drm/bridge: ti-sn65dsi86: Properly undo autosuspend
    d675c05b792e drm/i915/guc/slpc: Correct the param count for unset param
    6f62bc0fc12b iavf: Fix __IAVF_RESETTING state usage
    598bc8955916 iavf: Fix race in init state
    ddc5db0bcfa2 iavf: Fix locking for VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS
    8c0e4da63385 iavf: Fix init state closure on remove
    85aa76066fef iavf: Add waiting so the port is initialized in remove
    e734c794dea3 iavf: Fix kernel BUG in free_msi_irqs
    200366d1a583 iavf: Add helper function to go from pci_dev to adapter
    23901462c301 iavf: Rework mutexes for better synchronisation
    9fedc4f86ee3 iavf: Add trace while removing device
    b4e0e00a361d iavf: Combine init and watchdog state machines
    57d2f0db2e63 iavf: Add __IAVF_INIT_FAILED state
    7e2d102501e1 iavf: Refactor iavf state machine tracking
    f8ce435f2c81 net: sparx5: Fix add vlan when invalid operation
    50948cea504c net: chelsio: cxgb3: check the return value of pci_find_capability()
    ea3d3c36a4fa ibmvnic: complete init_done on transport events
    13e3b51ffaf8 ibmvnic: define flush_reset_queue helper
    046d933c1b74 ibmvnic: initialize rc before completing wait
    bb20939bc8d1 net: stmmac: only enable DMA interrupts when ready
    e753b639363d net: stmmac: enhance XDP ZC driver level switching performance
    8cdac518eac7 can: etas_es58x: change opened_channel_cnt's type from atomic_t to u8
    04746dbd9593 ARM: tegra: Move panels to AUX bus
    9920d99cc89a netfilter: nf_tables: prefer kfree_rcu(ptr, rcu) variant
    4ed52fbeb967 soc: fsl: qe: Check of ioremap return value
    c2266d20251c soc: fsl: guts: Add a missing memory allocation failure check
    20ff0ff315cd soc: fsl: guts: Revert commit 3c0d64e867ed
    40d763efa5bf ARM: dts: Use 32KiHz oscillator on devkit8000
    50bce7f03e8c ARM: dts: switch timer config to common devkit8000 devicetree
    af143626eb85 MIPS: ralink: mt7621: do memory detection on KSEG1
    378e2fe1eb58 iommu/amd: Fix I/O page table memory leak
    f6cabb721c5b arm64: dts: juno: Remove GICv2m dma-range
    3411613611a5 sched: Fix yet more sched_fork() races
    3d76a995f646 s390/extable: fix exception table sorting
    b7c35587be23 memfd: fix F_SEAL_WRITE after shmem huge page allocated
    39738a2346b2 ibmvnic: free reset-work-item when flushing
    d4706de93cf7 igc: igc_write_phy_reg_gpy: drop premature return
    896d1b8a3612 pinctrl: sunxi: Use unique lockdep classes for IRQs
    09423ff81601 selftests: mlxsw: tc_police_scale: Make test more robust
    0c3f34beb459 mptcp: Correctly set DATA_FIN timeout when number of retransmits is large
    d7a4b54f4fc5 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
    a664bd7a0084 mips: setup: fix setnocoherentio() boolean setting
    f14a0244b1ba ARM: Fix kgdb breakpoint for Thumb2
    c9cfcdd111d7 igc: igc_read_phy_reg_gpy: drop premature return
    7c1db4a30e29 arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output
    6be5b626bec1 iommu/tegra-smmu: Fix missing put_device() call in tegra_smmu_find
    2b04bb51a9c1 can: gs_usb: change active_channels's type from atomic_t to u8
    b6149efc57bf auxdisplay: lcd2s: Use proper API to free the instance of charlcd object
    5d53cd33f425 auxdisplay: lcd2s: Fix memory leak in ->remove()
    6d6c139d1e2d ASoC: cs4265: Fix the duplicated control name
    d442f20e6daf firmware: arm_scmi: Remove space in MODULE_ALIAS name
    f9c3aa939c41 auxdisplay: lcd2s: Fix lcd2s_redefine_char() feature
    4efa386ef9e1 efivars: Respect "block" flag in efivar_entry_set_safe()
    61a303971c3c iavf: Fix deadlock in iavf_reset_task
    366f785bbba4 ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
    ea372aab5490 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
    1c09774e5ea1 ibmvnic: register netdev after init of adapter
    f58ead21dd6a net: sxgbe: fix return value of __setup handler
    23a6be260d56 iavf: Fix missing check for running netdev
    a83ebad95542 mac80211: treat some SAE auth steps as final
    b85dd0d7a503 net: stmmac: fix return value of __setup handler
    828f75c24ab8 mac80211: fix forwarded mesh frames AC & queue selection
    5afd80c393f4 btrfs: fix ENOSPC failure when attempting direct IO write into NOCOW range
    15cbeeaada70 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server
    21922d9cde88 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client
    80895b6f9154 net/smc: fix connection leak
    a559e0598ce6 net: ipa: add an interconnect dependency
    4daaf8816d60 net: dcb: flush lingering app table entries for unregistered devices
    b11781515208 net: ipv6: ensure we call ipv6_mc_down() at most once
    24e49e17cbfc batman-adv: Don't expect inter-netns unique iflink indices
    94355d99ad70 batman-adv: Request iflink once in batadv_get_real_netdevice
    58ea33965a6f batman-adv: Request iflink once in batadv-on-batadv check
    216f3cb587e0 netfilter: nf_queue: handle socket prefetch
    dd648bd1b33a netfilter: nf_queue: fix possible use-after-free
    63291e95e8ae netfilter: nf_queue: don't assume sk is full socket
    3a65b82b1ef2 net: fix up skbs delta_truesize in UDP GRO frag_list
    a47e7ac8851c e1000e: Correct NVM checksum verification flow
    4020d2e14f13 xfrm: enforce validity of offload input flags
    ce0d6bf33c35 xfrm: fix the if_id check in changelink
    00c74b587197 bpf, sockmap: Do not ignore orig_len parameter
    bd61f192a339 netfilter: fix use-after-free in __nf_register_net_hook()
    75cbedd33343 xfrm: fix MTU regression
    261eff11ade9 mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls
    5d7c23d39660 ntb: intel: fix port config status offset for SPR
    78acc7dbd84a blktrace: fix use after free for struct blk_trace
    5f298bf7f337 mac80211: fix EAPoL rekey fail in 802.3 rx path
    3dafbf915c05 thermal: core: Fix TZ_GET_TRIP NULL pointer dereference
    a63eb1e4a2e1 xen/netfront: destroy queues before real_num_tx_queues is zeroed
    dab06be16184 drm/amd/display: Reduce dmesg error to a debug print
    7508ac360d1e drm/i915: s/JSP2/ICP2/ PCH
    a8a86631f4ce iommu/amd: Recover from event log overflow
    2aaa085bd012 iommu/vt-d: Fix double list_add when enabling VMD in scalable mode
    050b1821f27c ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
    7de1ed755e1a iwlwifi: mvm: check debugfs_dir ptr before use
    728fb555882b riscv: Fix config KASAN && DEBUG_VIRTUAL
    08b22e3f150e riscv: Fix config KASAN && SPARSEMEM && !SPARSE_VMEMMAP
    e64d6a689ec5 riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value
    6c3d4da8e7a9 ucounts: Fix systemd LimitNPROC with private users regression
    3eb418122d12 ALSA: intel_hdmi: Fix reference to PCM buffer address
    9285523b4174 net: of: fix stub of_net helpers for CONFIG_NET=n
    dc75d7968901 PCI: mvebu: Fix device enumeration regression
    35afd8ae1184 drm/amd/display: For vblank_disable_immediate, check PSR is really used
    5f283e64a850 bnxt_en: Fix occasional ethtool -t loopback test failures
    10dd26349edf drm/amd/display: Fix stream->link_enc unassigned during stream removal
    aa280c04da1b cifs: fix confusing unneeded warning message on smb2.1 and earlier
    3d74c2c917e4 cifs: protect session channel fields with chan_lock
    2594dba1cd79 drm/mediatek: mtk_dsi: Reset the dsi0 hardware
    f510d6463949 net: ethernet: litex: Add the dependency on HAS_IOMEM
    3a3aa0881aeb of: net: move of_net under net/
    960dfaf3b578 ibmvnic: don't release napi in __ibmvnic_open()
    1d13e7221035 net: dsa: seville: register the mdiobus under devres
    8bfa27186e29 net: dsa: ocelot: seville: utilize of_mdiobus_register
    68c8e6d16f57 gve: Recording rx queue before sending to napi
    5c66161cceaa drm/i915: Disable DRRS on IVB/HSW port != A
    e2b3d1bf6ec3 drm/i915/display: Move DRRS code its own file
    23eb29281f1e drm/i915/display: split out dpt out of intel_display.c
    fbf6d5f8eef7 riscv/mm: Add XIP_FIXUP for phys_ram_base
    86a337bb8030 drm: mxsfb: Fix NULL pointer dereference
    9bbeba67bbbd drm: mxsfb: Set fallback bus format when the bridge doesn't provide one
    ed4488d8307f drm/amd/display: Update watermark values for DCN301
    07058fb18df8 bpf: Fix possible race in inc_misses_counter
    aa5040691cb7 bpf: Use u64_stats_t in struct bpf_prog_stats
    82a82ad92746 net/mlx5e: IPsec: Fix crypto offload for non TCP/UDP encapsulated traffic
    748438b4e62c net/mlx5e: IPsec: Refactor checksum code in tx data path
    f1c0163bb824 octeontx2-af: Add KPU changes to parse NGIO as separate layer
    63138001c961 octeontx2-af: Adjust LA pointer for cpt parse header
    ab3380a844aa octeontx2-af: cn10k: Use appropriate register for LMAC enable
    fe3eafea3907 octeontx2-af: cn10k: RPM hardware timestamp configuration
    ef33ae74bb9c octeontx2-af: Reset PTP config in FLR handler
    75279de4e392 octeontx2-af: Optimize KPU1 processing for variable-length headers
    462c5e6cb241 ethtool: Fix link extended state for big endian
    27e01f10d183 drm/amd/display: move FPU associated DSC code to DML folder
    691c0030be65 drm/amd/display: Use adjusted DCN301 watermarks
    2157e509e5b2 drm/amdgpu: filter out radeon secondary ids as well
    f724a438d986 drm/amdgpu: filter out radeon PCI device IDs
    48cf33ee6b04 drm/amdgpu/display: Only set vblank_disable_immediate when PSR is not enabled
    3f20cf3cd43f hugetlbfs: fix off-by-one error in hugetlb_vmdelete_list()
    e9737301f0df selftests/vm: make charge_reserved_hugetlb.sh work with existing cgroup setting
    1123c2fb9dc3 kasan: fix quarantine conflicting with init_on_free
    f1675103e0f3 mm: defer kmemleak object creation of module_alloc()
    013c2af6c15c tracing/probes: check the return value of kstrndup() for pbuf
    8a20fed48eb4 tracing/uprobes: Check the return value of kstrdup() for tu->filename
    1a62246c2c60 dma-buf: cma_heap: Fix mutex locking section
    8654464086a1 i3c: master: dw: check return of dw_i3c_master_get_free_pos()
    a80b13642a10 drm/amdgpu: use spin_lock_irqsave to avoid deadlock by local interrupt
    5609b7803947 drm/amdkfd: Check for null pointer after calling kmemdup
    950d17f190a4 ntb_hw_switchtec: Fix bug with more than 32 partitions
    377cbdc92716 ntb_hw_switchtec: Fix pff ioread to read into mmio_part_cfg_all
    cd07b19fbf37 drm/atomic: Check new_crtc_state->active to determine if CRTC needs disable in self refresh mode
    1796d5350cb4 drm/sun4i: dw-hdmi: Fix missing put_device() call in sun8i_hdmi_phy_get
    e209742c13d2 SUNRPC: Fix sockaddr handling in svcsock_accept_class trace points
    bdaa8c7b7189 SUNRPC: Fix sockaddr handling in the svc_xprt_create_error trace point
    d3f67ceaeb3f drm/i915: don't call free_mmap_offset when purging
    e47679c06afc x86/hyperv: Properly deal with empty cpumasks in hyperv_flush_tlb_multi()
    4425ca3677a6 nfsd: fix crash on COPY_NOTIFY with special stateid
    0f84cfb465af Revert "nfsd: skip some unnecessary stats in the v4 case"
    3abe2a70f5b4 NFSD: Fix verifier returned in stable WRITEs
    e7c433270307 PCI: mvebu: Fix support for DEVCAP2, DEVCTL2 and LNKCTL2 registers on emulated bridge
    a24745673304 PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridge
    1d4200e28436 PCI: mvebu: Fix support for PCI_EXP_DEVCTL on emulated bridge
    1ea3f69784ed PCI: mvebu: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
    9c91c755005b PCI: mvebu: Setup PCIe controller to Root Complex mode
    3d394fa375f4 PCI: mvebu: Fix configuring secondary bus of PCIe Root Port via emulated bridge
    4396c507a8f8 PCI: mvebu: Fix support for bus mastering and PCI_COMMAND on emulated bridge
    bc988b126134 PCI: mvebu: Do not modify PCI IO type bits in conf_write
    c1a027629c36 PCI: mvebu: Check for errors from pci_bridge_emul_init() call
    7c93c809e00a Input: ti_am335x_tsc - fix STEPCONFIG setup for Z2
    16ff93557d1e Input: ti_am335x_tsc - set ADCREFM for X configuration
    628761fe0588 tracing: Do not let synth_events block other dyn_event systems during create
    f35bacbb795a i3c/master/mipi-i3c-hci: Fix a potentially infinite loop in 'hci_dat_v1_get_index()'
    e5264d44f732 i3c: fix incorrect address slot lookup on 64-bit
    1adfbfaeb20d KVM: x86: Exit to userspace if emulation prepared a completion callback
    3d8468045e39 KVM: x86: Handle 32-bit wrap of EIP for EMULTYPE_SKIP with flat code seg
    00542cbacf22 KVM: X86: Ensure that dirty PDPTRs are loaded
    723053e16d55 KVM: VMX: Read Posted Interrupt "control" exactly once per loop iteration
    32b758d12c24 KVM: s390: Ensure kvm_arch_no_poll() is read once when blocking vCPU
    b63190d0203f KVM: VMX: Don't unblock vCPU w/ Posted IRQ if IRQs are disabled in guest
    f303196899f1 PCI: aardvark: Fix checking for MEM resource type
    a2f5e9a6f2a0 PCI: dwc: Do not remap invalid res
    d9fc43aab60d PCI: rcar: Check if device is runtime suspended instead of __clk_is_enabled()
    aa805236ed97 PCI: mediatek-gen3: Disable DVFSRC voltage request
    7f361266e981 signal: In get_signal test for signal_group_exit every time through the loop
    f98371d2ac83 MIPS: fix local_{add,sub}_return on MIPS64
    64b487be33b7 mtd: spi-nor: Fix mtd size for s3an flashes
    83ef63535a8a tools/resolve_btf_ids: Close ELF file on error
    1bd12b7aaee0 io_uring: fix no lock protection for ctx->cq_extra
    384d1b11382b NFSD: Fix zero-length NFSv3 WRITEs
    2de88544b3db NFSD: Have legacy NFSD WRITE decoders use xdr_stream_subsegment()
    771aca9bc707 ipv6: fix skb drops in igmp6_event_query() and igmp6_event_report()
    33e22b6c53d0 tracing: Add ustring operation to filtering string pointers
    a9c6e02d223e drm/amdgpu: check vm ready by amdgpu_vm->evicting flag
    b2a3068d5f15 ata: pata_hpt37x: fix PCI clock detection
    e0bcd6b57793 sched/fair: Fix fault in reweight_entity
    6f6ffc717b85 ext4: fast commit may miss file actions
    97abcfedc87c ext4: fast commit may not fallback for ineligible commit
    647b3f1533f4 ext4: simplify updating of fast commit stats
    5abb1d84b6db ext4: drop ineligible txn start stop APIs
    82a99bc85c0e serial: stm32: prevent TDR register overwrite when sending x_char
    1921d1fd0e60 arm64: Mark start_backtrace() notrace and NOKPROBE_SYMBOL
    60e6d58ef921 tracing: Add test for user space strings when filtering on string pointers
    c9f727219f3e exfat: fix i_blocks for files truncated over 4 GiB
    1ffc130388c5 exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()
    ab3656acb7b4 usb: gadget: clear related members when goto fail
    07de9a494b5a usb: gadget: don't release an existing dev->buf
    a1ba98731518 block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
    1148adac7781 net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
    f6fbf18d156c i2c: qup: allow COMPILE_TEST
    d65d187b51b6 i2c: imx: allow COMPILE_TEST
    d2327116861c i2c: cadence: allow COMPILE_TEST
    7b22f63b933f dmaengine: shdma: Fix runtime PM imbalance on error
    7d0214c38dca selftests/ftrace: Do not trace do_softirq because of PREEMPT_RT
    4543426cd7b8 drm/amd/pm: correct UMD pstate clocks for Dimgrey Cavefish and Beige Goby
    b628fffce58a selftests/seccomp: Fix seccomp failure by adding missing headers
    54e7951a1988 cifs: modefromsids must add an ACE for authenticated users
    18a9d6b18c2b HID: amd_sfh: Add interrupt handler to process interrupts
    852b6b0411e6 HID: amd_sfh: Add functionality to clear interrupts
    8ba9a2e72584 HID: amd_sfh: Handle amd_sfh work buffer in PM ops
    546d60859ecf cifs: fix double free race when mount fails in cifs_get_root()
    ccf46cb68859 cifs: do not use uninitialized data in the owner/group sid
    5340a0924ea9 tipc: fix a bit overflow in tipc_crypto_key_rcv()
    1ccc12f2240a block: loop:use kstatfs.f_bsize of backing file to set discard granularity
    8694330db9b0 KVM: arm64: vgic: Read HW interrupt pending state from the HW
    850a77c999b8 btrfs: get rid of warning on transaction commit when using flushoncommit
    6279c5263ded Input: clear BTN_RIGHT/MIDDLE on buttonpads
    700485846e12 regulator: core: fix false positive in regulator_late_cleanup()
    fd64f8bc0644 ASoC: rt5682: do not block workqueue if card is unbound
    4235a04ad401 ASoC: rt5668: do not block workqueue if card is unbound
    2ed390555dbc i2c: bcm2835: Avoid clock stretching timeouts
    e03ad1915ccc mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
    2d27a2bd381f mac80211_hwsim: report NOACK frames in tx_status

(From OE-Core rev: 60346625873863bbaaf4a40a6a790db63d676934)

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>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
2211855ab4 linux-yocto/5.15: cfg/debug: add configs for kcsan
Integrating the following commit(s) to linux-yocto/.:

    18436b6ebc6 cfg/debug: add scc for syzkaller fuzzing
    60e8db6f01c features/tun: add configs for Universal TUN/TAP device driver support
    bbad5927704 features/bluetooth: add configs for Bluetooth Virtual HCI device driver
    d5f51adb3d2 features/usb: add configs for USB raw gadget
    13c24c8ddbd features/usb: add configs for dummy HCD
    6f56f2a289a features/ieee802154: add configs for mac802154 hwsim
    3484d09163f features/mac80211: add configs for mac80211 hwsim
    59e608e25e2 cfg/debug: add configs for fault injection debugfs
    e80f79d4b66 cfg/debug: add configs for kcsan

(From OE-Core rev: b3abdd90378c326d317c6eacc21015f21784403e)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
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>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
1e34058101 linux-yocto/5.10: cfg/debug: add configs for kcsan
Integrating the following commit(s) to linux-yocto/.:

    b56db30a7c5 cfg/debug: add scc for syzkaller fuzzing
    c4494ad7f23 features/tun: add configs for Universal TUN/TAP device driver support
    148948c3829 features/bluetooth: add configs for Bluetooth Virtual HCI device driver
    824a7ba4dda features/usb: add configs for USB raw gadget
    0bd038864a5 features/usb: add configs for dummy HCD
    e8c765f559f features/ieee802154: add configs for mac802154 hwsim
    99aea8bc07b features/mac80211: add configs for mac80211 hwsim
    c7bf42227e3 cfg/debug: add configs for fault injection debugfs
    ae48b977f61 cfg/debug: add configs for kcsan

(From OE-Core rev: 88a761c98d3a4dbf5a8b2b623248b53077717662)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
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>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
66091728ca linux-yocto/5.15: split vtpm for more granular inclusion
Integrating the following commit(s) to linux-yocto/.:

    382f528ebc8 features/tpm: split into tpm-1.2, tpm-2.0, tpm-2.0-crb and vtpm feature

(From OE-Core rev: 7f95949a6ed23c03d11670d8fc4bceafd8e4e440)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
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>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
a5c690e9ef linux-yocto/5.10: split vtpm for more granular inclusion
Integrating the following commit(s) to linux-yocto/.:

    6ca1d510a03 features/tpm: split into tpm-1.2, tpm-2.0, tpm-2.0-crb and vtpm feature

(From OE-Core rev: b61be908468b1057a9d2baf40c1ebfbbd74732b8)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
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>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
9bc13f657b linux-yocto: nohz_full boot arg fix
Integrating the following commit(s) to linux-yocto/5.15:

    81bdce5b5876 tick/nohz: WARN_ON --> WARN_ON_ONCE to prevent console saturation
    97c963889222 sched/isolation: really align nohz_full with rcu_nocbs

(From OE-Core rev: 11de5ad0cfee5bf8bcdd28da6b27447280add2cf)

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>
2022-03-24 17:45:29 +00:00
Trevor Gamblin
1479c0da44 python3: upgrade 3.10.2 -> 3.10.3
3.10.3 includes numerous bug fixes. See:
https://docs.python.org/3/whatsnew/changelog.html

(From OE-Core rev: 6fdd19fb9ccef0bf9813e4dfe6063df1d0168359)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Tim Orling
18135315ff python3-pytest: upgrade 7.0.1 -> 7.1.1
Changes in 7.1.1:
https://docs.pytest.org/en/stable/changelog.html#pytest-7-1-1-2022-03-17

Changes in 7.1.0:
https://docs.pytest.org/en/stable/changelog.html#pytest-7-1-0-2022-03-13

(From OE-Core rev: d3403cdb262f995e47f00c015f82909652d1c36d)

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>
2022-03-24 17:45:29 +00:00
Khem Raj
43292522d6 webkitgtk: Depend on virtual/egl instead of virtual/libgl
This ensures that platforms not implementing GL ( perhaps only providing
GLES ) are able to build webkit

(From OE-Core rev: 1117a5521e18dd6f7c18c22c87fe00e867f906d7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Khem Raj
1ac90b6f8c waffle: Use the right dependencies as needed
using virtual/libgl is a broad brush, we can be more specific and ask
for dependencies which are really needed

(From OE-Core rev: d96fdf89efa95dc5e42e01ba970afd3645ced3bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Khem Raj
4466bca36e piglit: Remove virtual/libgl
virtual/libgl is usually provided by same package that provides
virtual/egl by the stacks which implement it, removing virtual/libgl
means we can build it on stacks not implementing GL

(From OE-Core rev: 8c1ce1d1d6148b6fadc88fbb8585d1169f7e938d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Khem Raj
e2184328ad libsdl2: Depend on virtual/egl
virtual/libgl may not be implemented by some non-mesa graphics in
embedded space, this ensures that libsdl2 can build on such stacks

(From OE-Core rev: 26f511bb21c01a371722caa739f4f6d079211cc2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Richard Purdie
09e826cfb0 bitbake: utils: Fix lockfile path length issues
If the path to bitbake.lock is in a deep directory, bitbake will hang. The
reason was that the max file length limiting code (to 255 chars) was including
the directory name and it should only act on the filename within the directory.
Fix it to just use the base filename.

[YOCTO #14766]

(Bitbake rev: 89d70e7b71eecfe06592202f326e566c579ba01d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:28 +00:00
Richard Purdie
e0a812b2fe set_versions: Correct devbranch comparision
Correct the previous commit since we need to compare against ourseries
rather than ourbranch since devbranch would match against the series,
not the branch.

(From yocto-docs rev: 57f5ce5fe427e5387f6ac85225137463e51e5643)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:38:30 +00:00
Richard Purdie
c9d1536777 set_versions: Handle dev branch in switchers correctly
The dev branch is being displayed in switchers under two different
headings, 4.0.999 and dev (4.0). Add an additional conditional to fix that.

(From yocto-docs rev: 569815ac290f53a17330e53fb46c4870d8d247d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:29:42 +00:00
Richard Purdie
49a411edd4 Revert "set_versions/switchers: Drop versions shown to the active releases"
This reverts commit bf4e51fe5f.
2022-03-23 12:27:50 +00:00
Richard Purdie
13217f8b82 Revert "set_versions: Handle dev branch in switchers correctly"
This reverts commit f7d8533664.
2022-03-23 12:27:40 +00:00
Richard Purdie
d303f9c6ed bitbake: siggen: Improve ambiguous use of 'dependent'
I'd never spotted this until it was pointed out but the task isn't dependent,
it is a dependency. Fix this confusing reference.

(Bitbake rev: 93395559c9dda734a3dec9ffd9bb2156a71a2c17)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:14:46 +00:00
Ross Burton
d4f430011d python3: ignore CVE-2022-26488
This CVE is specific to Microsoft Windows, so we can ignore it.

(From OE-Core rev: 2bd3c5a93988140d9927340b3af68785ae03db65)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
7f539baf01 gsettings-desktop-schemas: upgrade 41.0 -> 42.0
(From OE-Core rev: ab297f92d858960d952218d843b84d1ae1d5f9bb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
2a56186fb0 gnutls: upgrade 3.7.3 -> 3.7.4
(From OE-Core rev: ae347dd574644a168e36cb42cf0560cd18cd636d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
7a934fd808 bluez5: upgrade 5.63 -> 5.64
(From OE-Core rev: ab773a0fe4f8bc7d05b07516044dd74f27012caf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
131b143b6e adwaita-icon-theme: upgrade 41.0 -> 42.0
0001-Don-t-use-AC_CANONICAL_HOST.patch
refreshed for version 42.0

0001-Run-installation-commands-as-shell-jobs.patch
removed since it's included in 42.o

(From OE-Core rev: 17a08277854eb1e8776cf7790f6255ea68bf0568)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
913fc58c6f vala: upgrade 0.54.7 -> 0.56.0
(From OE-Core rev: 777822d7ab5b63e218973e71f6de1b05d0cdce90)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
b7d291f54f python3-markupsafe: upgrade 2.1.0 -> 2.1.1
(From OE-Core rev: 82001dbcb2afe00f3a5367bff134c63351d09fc5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
ff8eca755a man-db: upgrade 2.10.1 -> 2.10.2
(From OE-Core rev: 4a7598c926bee33124c966c6ca13ffd64df792a1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
b0d5f7fd67 libsolv: upgrade 0.7.21 -> 0.7.22
(From OE-Core rev: b4038351a2a90ef866a765a65fa0bebe83454688)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
bb771a096f libdazzle: upgrade 3.42.0 -> 3.44.0
(From OE-Core rev: 52dda7eaeeadd58a1f8fa68c04a396a94b9add6f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
df0a1871b3 gobject-introspection: upgrade 1.70.0 -> 1.72.0
0001-build-Avoid-the-doctemplates-hack.patch
removed since it's included in 1.72.0

(From OE-Core rev: db92a30a463e72833252294d693ad2a105843729)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
Khem Raj
9f29bfbe90 qemu: Fix build on systems without MAP_SYNC
some architectures like ppc/mips do not wire this in kernel since
linux/mman.h for these architectures do not use asm-generic/mman.h

(From OE-Core rev: 442fa3d9eeae100bfa97002c97671d4b540048ed)

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>
2022-03-23 12:13:50 +00:00
Ross Burton
a2b1bfd957 tiff: backport CVE fixes:
Backport fixes for the following CVEs:

- CVE-2022-0865
- CVE-2022-0891
- CVE-2022-0907
- CVE-2022-0908
- CVE-2022-0909
- CVE-2022-0924

(From OE-Core rev: 2fe35de73cfa8de444d7ffb24246e8f87c36ee8d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
Alexander Kanavin
73aa8621c5 python3-sphinx-rtd-theme: correct upstream version check
(From OE-Core rev: 975be11022f42d5e91ac82bdd253a7570a72b5a7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
Ming Liu
16d7103df1 kernel-fitimage.bbclass: introduce get_fit_replacement_type function
Avoid to set KERNEL_IMAGETYPE_REPLACEMENT in anonymous python function,
otherwise it chould not be overridden in config files, for instance,
it's being set now in meta/lib/oeqa/selftest/cases/fitimage.py.

Introduce a get_fit_replacement_type function to get the default value
of KERNEL_IMAGETYPE_REPLACEMENT, and it could be overridden in config
files.

(From OE-Core rev: 5238facb2f067b65959ac51695d100c0e849d3ee)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
Ricardo Salveti
43299607cc libpam: use /run instead of /var/run in systemd tmpfiles
/var/run in deprecated by systemd, use /run instead, as suggested by systemd.

This fixes the following systemd boot warning:

systemd-tmpfiles[340]: /etc/tmpfiles.d/pam.conf:1: Line references path
below legacy directory /var/run/, updating /var/run/sepermit →
/run/sepermit; please update the tmpfiles.d/ drop-in file accordingly.

(From OE-Core rev: 09eabeff2168c416c18b1c375e095b472830a9b0)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:49 +00:00
Richard Purdie
ff7b415738 libtool: Upgrade 2.4.6 -> 2.4.7
Libtool made a release after many years. Update to it, allowing us to drop two
backported patches. We also drop a performance optimistion patch since it is
too invasive to maintain separately.

(From OE-Core rev: b5d13cbdded0f71fd4b847066434d30e8a39c9ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:49 +00:00
Richard Purdie
3d62a6cc5c pseudo: Add patch to workaround paths with crazy lengths
Update to a version of pseudo which includes a workaround for crazy
long paths, as shown by the libfm failures from the libtool upgrade.

(From OE-Core rev: 67dfa32d82b8862e6e543c37315f211aba3ec28b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:49 +00:00
Richard Purdie
bf4e51fe5f set_versions/switchers: Drop versions shown to the active releases
I believe we should only be showing the "active" versions in the switchers
base list of releases to show. Zeus and warrior are old and no longer actively
maintained and we don't suggest new users use them. gatesgarth is also
outside it's support window.

I therefore propose removing these leaving us with dev, honister, hardknott,
dunfell (LTS). In addition, any release that is selected will be shown, along
with any later release in that release series.

People can still navigate to the older docs using the releases list or by
direct URL but this highlights to users which releases we'd expect/encourage
them to be using.

(From yocto-docs rev: fdcdc50f3abf10aa702c958b8ba7ab6b19c57bff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
f7d8533664 set_versions: Handle dev branch in switchers correctly
The dev branch is being displayed in switchers under two different
headings, 4.0.999 and dev (4.0). Add an additional conditional to fix that.

(From yocto-docs rev: 569815ac290f53a17330e53fb46c4870d8d247d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
d51fb3c8b9 set_versions: Various improvements
- Allow specifying the version from the commandline
- Add all previous release series/version mappings (to support transitions branch)
- Add poky mapping for 3.4 as some releases erronously use it
- Improve git branch 'guessing' code to work properly
- Handle poky '.0' release mappings correctly
- Only write poky.yaml if poky.yaml.in exists
- Ensure older non-active releases are shown in the switchers.js
  release list.
- Ensure current version and current release series are shown in switcher.

(From yocto-docs rev: f2b069be8c307e3efe518f5d9bb1e6e705b96554)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
8827704443 set_versions/switchers.js: Allow switchers.js version information to be autogenerated
A horrible blunt hammer approach to updating the version information in
switchers.js based on the available tag information.

To merge and work correctly, this will need a change to the autobuilder-helper
docs generation code to pull the swicthers.js and script from master, then
to run the script. That should hopefully remove the need for other patching
even on old docs branches though.

(From yocto-docs rev: dc858c8b2ffdb792fe8cef05fab3d752aa858f78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
767eb1c71c set_versions: Add support for setting POKYVERSION found in older releases
(From yocto-docs rev: 9c7a4318920d468cca10448901868bad080cd895)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
b04eda7447 conf.py/set_versions/poky.yaml: Set version in conf.py from poky.yaml
Allow conf.py to read the versions it needs from poky.yaml and have
set_versions.py write this out. This means we don't have to change as
many files when making new releases.

(From yocto-docs rev: bfe74c67f327f0c6445cb4129ee0c32db022b95a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
8d3e9aaede Makefile/set_versions: Allow poky.yaml to be autogenerated
Use a script to generate the branch/tag information inside poky.yaml.

If the branch isn't a known release branch, include git magic to find
the closest matching release branch we know about.

(From yocto-docs rev: 841e2df0e2e544b82fff9ddd0339a4e775148e3a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Ross Burton
93eb983e79 bitbake: bitbake: knotty: reduce keep-alive timeout from 5000s (83 minutes) to 10 minutes
The keep alive timeout is excessively long at 83 minutes (5000 seconds),
reduce this to 10 minutes: this should be long enough that it rarely
triggers in normal builds, but when it does it has useful information.

(Bitbake rev: 2e47346b95b09d7ab8f0603e2d62cfb549dc1f5c)

(Bitbake rev: dcf52157d3635925491783be656c6b76d1efe1a4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Ross Burton
3e314814bf bitbake: bitbake: knotty: display active tasks when printing keepAlive() message
In interactive bitbake sessions it is obvious what tasks are running
when one of them hangs or otherwise takes a long time. However, in
non-interactive sessions (such as automated builds) bitbake just prints
a message saying that it is "still alive" with no clues as to what tasks
are active still.

By simply listing the active tasks when printing the keep alive message,
we don't need to parse the bitbake log to identify which of the tasks
is still active and has presumably hung.

(Bitbake rev: f9f57fb7d2c8a13df1eb9d5b9766f15e229dcf97)

(Bitbake rev: 30f6c3f175617beea8e8bb75dcf255611e3fc2fd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Daniel Gomez
c5f5de1ad5 bitbake: contrib: Add Dockerfile for building PR service
Adds a Dockerfile for building the PR service in a container.

Based on the hash equivalence server container [hashserv].

Use the following environment variables to configure the PR service
container:
- DBFILE: database filename. Default:
  /var/lib/bbprserv/prserv.sqlite3.
- LOGFILE: log filename. Default: /var/lib/bbprserv/prserv.log.
- LOGLEVEL: logging level. Default: DEBUG.
- HOST: ip address to bind. Default: 0.0.0.0.
- PORT: port number. Default: 8585.
- DBMODE: database mode. Default: Empty (RW).
Note: DBMODE in RO: "--read-only".

[hashserv]: contrib/hashserv/Dockerfile

(Bitbake rev: a5497428b539e8598263924f63a9df8fe1ea70f9)

(Bitbake rev: 1d05abd92da56e284fcd904cf32bd12485903f10)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Michael Halstead
c41172d837 releases: update to include 3.1.15
Adding 3.1.15 to documentation switcher and release list.

(From yocto-docs rev: 355dd1e3f5bf76244a0b5862475cb06ace1c87b9)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-22 22:32:34 +00:00
Richard Purdie
3b8d67d4f0 poky.yaml: Drop unused YOCTO_DOC_VERSION_MINUS_ONE
This doesn't seem to be used anymore and doesn't make much sense,
remove it.

(From yocto-docs rev: 89176e0bd45453ebb7ac77ce6fa333cb94f0cfcc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Richard Purdie
33083dd825 poky.yaml: Drop POKYVERSION and YOCTO_POKY references
We don't publish tarballs using this version any more, it has been
removed everywhere. Remove the obsolete references in the docs,
adapting references accordingly. The tarballs now are just created
with their sha256 checksum which we don't want or need to reference
in the docs.

(From yocto-docs rev: c7a0ac88b01c48f3d9209536542bf43ae7a7937f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Michael Opdenacker
6f713552b5 doc: migration-3.5: variable changes for inclusive language
(From yocto-docs rev: a6650fd55259c5d7cf3cf9579e9ecd1184b1b155)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Michael Opdenacker
1b719e9043 doc: migration-3.5: move the distutils changes to the class changes section
(From yocto-docs rev: 2289b74b0cc4d991445ed6fbd01b7e17cb630fc3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Nicholas Sielicki
2fd4d2cb70 dev-manual: note on using journald without syslog
journald is not a syslog provider, so using journald exclusively amounts
to just preventing a syslog provider from being specified on a system
where journald is active.

Various spots where this has popped up:
* https://stackoverflow.com/q/48746397
* https://lists.yoctoproject.org/g/yocto/topic/82883035#53548

(From yocto-docs rev: aba38d5dc2db708ed6e8fc6dca4d869fe7fe855c)

Signed-off-by: Nicholas Sielicki <nicholas.sielicki@legrand.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Richard Purdie
154e69f118 toaster: Fix broken overrides usage
This fixes data corruption issues with toaster where image data wasn't
being processed correct.

(From OE-Core rev: 95cc2d041ad651cfb81b2e55251acf1b86f9ddfc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 10:07:40 +00:00
David Reyna
c71a9c89e3 bitbake: toaster: race condition for end-of-build
Force a sync point for end-of build event handler force
the build's outcome status commit, to resolve a race
condition with the build completion takedown.

[YOCTO #14765]

(Bitbake rev: f76c13536e19d2401365c0fc240ef8dbcb3ee7e8)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 10:07:40 +00:00
David Reyna
4769eaebb4 bitbake: toaster: detect when bitbake crashed
Add a polling check on tracebacks in a build's log. This
can for example indicate that bitbake crashed, which would
stop the event stream that Toaster normally uses to detect
build errors.

[YOCTO #14085]

(Bitbake rev: 32b1c0b3477e359d2e2a61a23a294e317e417f95)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 10:07:40 +00:00
Ross Burton
e5ab3817aa classes/setuptools_build_meta: rename to python_setuptools_build_meta
Rename this class to be python-prefixed to match the other new Python
build system classes.

(From OE-Core rev: 25d6bf8079797906bde7c0cf63a0466c981ba5bb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
1f46d65c46 sqlite3: upgrade 3.38.0 -> 3.38.1
(From OE-Core rev: 84b70c7d2d76af72cb6df42e0ceda66dbea49d8a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
291edb37e8 mtools: upgrade 4.0.37 -> 4.0.38
(From OE-Core rev: 2e1f35d654f0833096fb848170dca96a75a9558b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
9b8188b6a9 meson: upgrade 0.61.2 -> 0.61.3
(From OE-Core rev: e072a9b7cdd937b8976e87f1da1323859bb37c72)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
2f12806097 squashfs-tools: correct upstream version check
(From OE-Core rev: 9aaa6ee30340795c89010c61b4d30d6a7bca0f86)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
8be344a36a gtk+3: upgrade 3.24.31 -> 3.24.33
(From OE-Core rev: c1e00978b64f3f8590e73be9e59633e7b91d2322)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
ce775f77f6 diffoscope: upgrade 206 -> 207
(From OE-Core rev: 7b65b733d4771497974e66885d188f9db187901a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
4470f05bd6 perl: update 5.34.0 -> 5.34.1
(From OE-Core rev: 0e318a46ceae38a33a99f55079c463e90a15944d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
f7b8493add perl-cross: update 1.3.6 -> 1.3.7
Drop upstreamed patches.

0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch
is replaced with a tweak to configure parameters.

(From OE-Core rev: 1b2e235b5012c21939ced51e16f1305ad8dea75d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
497f76d782 bind: update 9.16.26 -> 9.18.1
Drop removed python/libtool options.

isc/platform.h is no longer installed.

Rewrite reproducibility patch to fix the problem at the source.

License-Update: copyright years

(From OE-Core rev: 8a9a5885995c77774cdafeb09f7522c50750a1e9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
30431bed25 python3-typing-extensions: fix upstream version check
(From OE-Core rev: 3adad1e0cf0ad2238e0bbc23949d3b8668d41a5c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
e45dca9df0 python3-semantic-version: fix upstream verison check
(From OE-Core rev: 6fbc555ee50f97c4b4b3e3af5eaeb23551ec4901)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Khem Raj
a3e92d3c05 weston-init: Use pixman rendering for qemuppc64
(From OE-Core rev: 2b9d8becad7abdd8c53c9f8b46082a0a445dcaf8)

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>
2022-03-20 00:02:22 +00:00
Khem Raj
4ec467a3e3 qemuriscv: Use virtio-tablet-pci for mouse
This helps in making mouse response better where transition between host
and guest mouse is abrupt and not precise and as a result its difficult
to access stuff near the edges.

(From OE-Core rev: 010287147d2205790745e6dab8e955e71bc7cac2)

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>
2022-03-20 00:02:22 +00:00
Khem Raj
afcbe82320 openssh: Default to not using sandbox when cross compiling
backport a patch to fix sandboxing issues seen on ppc32 and also on
riscv32 [1]

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=3398

(From OE-Core rev: 90895a627be5e8a4e4943fa9195b5553416086d3)

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>
2022-03-20 00:02:22 +00:00
Sakib Sajal
f8134d3692 perl: generate alternative link for streamzip
streamzip is also provided by io-compress-perl, so add
an alternative link for streamzip.

(From OE-Core rev: 8da6f165c69dae4e873de840eb454c5da1d824e2)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Trevor Gamblin
6869c34df8 iptables: use nft backend with libnftnl PACKAGECONFIG
Currently, when the libnftnl (part of meta-networking) PACKAGECONFIG is
enabled for iptables, both legacy and nft-based binaries are built and
installed in the image. However, the "iptables" symlink in this case
still points to xtables-legacy-multi, rather than xtables-nft-multi.
This patch adds a conditional check to replace the symlink to point to
the latter if iptables is built with libnftnl support, which is
consistent with other major distros (e.g. Fedora). The "iptables-legacy"
symlink remains present and unmodified.

(From OE-Core rev: bc41682ab2a259b7bc6a56fa3ba42907f4c8bf25)

Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Khem Raj
547cf5b820 weston-init: Use pixman on riscv64 qemu
Helps boot weston/wayland images

(From OE-Core rev: ed2c7c806f1a48c388282f5cbdc93f034ba2c93d)

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>
2022-03-18 23:32:46 +00:00
Alexandre Belloni
d68b2090e9 scripts/patchreview: handle Inactive-Upstream status
(From OE-Core rev: 44afce53725f59fefb0ca5df6babe2b8bec6a68b)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Zoltán Böszörményi
6a89afe156 mesa: Allow building Mesa's OpenCL through PACKAGECONFIG
(From OE-Core rev: 78d17787eb4dd65dacde785dbb47359726c22173)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Richard Purdie
12464bf798 oeqa/selftest/tinfoil: Improve tinfoil event test debugging
We still see occasional test failures for unknown reasons. Add some debugging to
show whether the matching files event was received even if the command complete wasn't.

Also ensure any commandfailed/commandexit event is shown.

This will hopefully aid debugging the next time the issue occurs.

(From OE-Core rev: 2f7a788bb51ef09ee23c94176285437ea760fab7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Ross Burton
733d5a8d36 python3-cryptography-vectors: upgrade to 36.0.2
This needs to be upgraded in lockstep with python3-cryptography.

(From OE-Core rev: 1a66c415af0b8178fdaa44ebf0d59957194e891f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Ross Burton
74d783fd79 python3-cryptography: enforce identical version for -cryptography-vectors
python3-cryptography and python3-cryptography-vectors are actually the
same project but are on Pypi as two separate modules.

The test suite validates that they're the same version and fails if they
are not:

FAIL: tests/test_utils.py::test_vector_version
    def test_vector_version():
>       assert cryptography.__version__ == cryptography_vectors.__version__
E       AssertionError: assert '36.0.2' == '36.0.1'

Catch this slightly earlier by mandating that python3-cryptography-ptest
pulls in an identically versioned python3-cryptography-vectors.

(From OE-Core rev: 7c098aac08faf5da01aafec5c5d87f563d913744)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Khem Raj
69b4cbdf05 python3-cryptography: Upgrade to 36.0.2
(From OE-Core rev: 3acf088edec6e328f4e25ddd741f967368ae5ae0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Richard Purdie
20058345e0 buildtools-docs-tarball: Add test for building documentation using sphinx
(From OE-Core rev: 26b224a1bbe27b5d9886be4552147e1d66e34519)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
153208c7e5 Add buildtools-docs-tarball recipe
(From OE-Core rev: 4f691a4ecd02dd588158b28e57f5a58a42beffea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
1d4d1fc102 maintainers.inc: Add new python recipes
(From OE-Core rev: 39e6aed362a1d4dffcd9827cea3f216a7774da43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
60154c479e python3: Add missing HOMEPAGE entries
(From OE-Core rev: 979122077165b2dcdce5bb8e9b88a764254ddef8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
6504eae346 python3-sphinx: Work around reproducibility issue
The dict used in this recipe doesn't write into the cache consistently, work
around it until this issue is resolved in python upstream (similar to frozenset
issues).

(From OE-Core rev: a0d056862c218f5fcd921905271169742cf464dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
1899e59165 python3-sphinx: Add a new recipe
Needed to build the sphinx based yocto-docs

Based on a recipe from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 15b623e74846b7c7cd2f5e5b309e1379af86cf3f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
c42747d0c1 python3-sphinx-rtd-theme: Add new recipe
Needed for building sphinx docs

Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 765772631d6f03621d1f11a79b1e3f1a464111cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
a55d5908b9 python3-sphinxcontrib-applehelp: add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: deaf4cd5af29207dc06203fbaab9bd7ab90ac789)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
e984f20894 python3-sphinxcontrib-jsmath: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 03e070b3c4a4a618bbce10a8dfe9323bf7b9973d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
bb262a928c python3-sphinxcontrib-serializinghtml: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: e8b6482f554db2c8089c57aaaaf2e0f77a065a82)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
95a9a57459 python3-sphinxcontrib-htmlhelp: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 9c73148c3956249ce6039928fdeb6865f268b4b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
7796cd0421 python3-sphinxcontrib-devhelp: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: ab23d1ec2c8c67f2808fa2e2f31e06dde2ee9772)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
130bb1e2c2 python3-sphinxcontrib-qthelp: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 9efd9322b920818a4ceff123fe244ce63aa88c8b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
c32fb70543 python3-babel: Add recipe from meta-oe/meta-python
(From OE-Core rev: 84e56f68e80b272a533646ce43a1f3bb13eed74f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
42471a31c3 python3-urllib3: Add from meta-oe/meta-python
(From OE-Core rev: cc339666f2324a68e4e1b131e5bcb442ce72a755)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
5a607e7205 python3-requests: Add from meta-oe/meta-python
(From OE-Core rev: 5971e3540763f628918992919315ec49b016c02e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
28e7b053ae python3-pytest-runner: Add from meta-oe/meta-python
(From OE-Core rev: 3b8f5c823595ea8f375f89e9c30d534c217f160a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
a939b03f04 python3-pysocks: Add from meta-oe/meta-python
(From OE-Core rev: 01106cfda226c26efed9928026af680a49f5ffcc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
b5dd960c45 python3-pyopenssl: Add from meta-oe/meta-python
(From OE-Core rev: be7d74f786065c2ad7897e572054155122946a27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
f71ffcaebd python3-ndg-httpsclient: Add from meta-oe/meta-python
(From OE-Core rev: ee9f6ee89e4c0334b75da9faec655eecec34f703)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
e93c16c88d python3-chardet: Add from meta-oe/meta-python
(From OE-Core rev: 00a9f10a539aa209ae0385e15c6b18716350e512)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
01075ddc7b python3-certifi: Add from meta-oe/meta-python
(From OE-Core rev: 663e76dc3f9d727deef6a4406a24c7f1b7ecac74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
c2c6b7b29f ptest-packagelists.inc: Add python3-pyasn1 to fast ptests list
(From OE-Core rev: 6239b6b987cec1e42b50513fd43db92dd5cdc449)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
4620af104c python3-pyasn1: Add from meta-oe/meta-python
(From OE-Core rev: eff589862d6f98845531b9870c0b727e2e7bf0d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
864e9771d6 python3-alabaster: Add new recipe
Needed for sphinx support

Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: d4072c0c320a33b5206da23846fc28fc42885177)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
211e7c06b7 python3-imagesize: Add new recipe
Needed for sphinx support.

Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: acec4a8cd3770a2242207b905716394ca8c5232f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
fb2205b919 python3-snowballstemmer: Add new recipe
Add a recipe needed for sphinx support

Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 95e0813b372b3a12c3b24731345df3db2068110b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
cf72cec468 bitbake: codeparser: Avoid log bufer overhead in cache case
Creating the new log instances triggers a lot of python logging overhead
in a commonly called function (about 600,000 for parsing OE-Core).

We only need the log functionality if we're parsing, not if we just hit
from the cache. Therefore defer the log setup overhead until we know it
is a cache miss.

Whilst this complicates the code slightly, the performance gain is worth
it as for parsing OE-Core we drop 60 million funciton calls (from 225
overall).

(Bitbake rev: ac868167ad854f9bb32dcb2e63528870547805a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 13:17:10 +00:00
Richard Purdie
b58049b4e7 bitbake: data_smart: Avoid multiple getVarFlag calls
We can call getVarFlags() instead of the multiple getVarFlag calls
which is a little more efficient. This reduces the number of overall
function calls so is good but probably isn't much faster (or slower).

(Bitbake rev: 505a4dd34e822bdf902d9b348dbcdf5b2c94e784)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 13:17:10 +00:00
Richard Purdie
c45c830800 bitbake: data_smart: Skip commonly accessed variables from variable data context lookup
The code tries to expand missing entities when they're encountered in
python expressions. Looking at traces, these are often things which
would not be in the data store such as "bb".

Optimise to skip the data store queries for things we know will never
be there. The expansion cache usually covers these but skipping
entirely cuts a few million function calls parsing OE-Core.

(Bitbake rev: 1ae712635a2eef3ecbf541e1f7cc2eeb2f3799c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 13:17:10 +00:00
Richard Purdie
e838455c34 python3-docutil: Extend to nativesdk
This is needed by the incomming buildtools-docs-tarball.

(From OE-Core rev: 8fd4de37f0e2530ef7ff6eaf176e300e0a045d21)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Neill
2dfe8c74cf systemd: Update 250.3 -> 250.4
The following security and bug-fix patches are included as part of the 250.4
update:

c6603da3ad boot: Properly check status code of console_key_read
2198c08d07 core: really skip automatic restart when a JOB_STOP job is pending
367041af81 pid1: set SYSTEMD_NSS_DYNAMIC_BYPASS=1 env var for dbus-daemon
160eeab224 virt: Fix Xen Dom0 detection logic to no longer report as VM
514a4c051c network: bridge: fix endian of vlan protocol
4dbc210124 resolve: fix possible memleak
d82bd80cf4 resolve: fix potential memleak and use-after-free
dcba78244e util: another set of CVE-2021-4034 assert()s
74dfb51f70 sd-dhcp6-client: fix sending prefix delegation request during rebind
df59c65a23 mkdir: allow to create directory whose path contains symlink
ae95ca27be sd-dhcp-lease: fix memleak
2b04d3b3fc sd-dhcp-lease: fix reading unaligned memory
1ef56ad928 network: xfrm: refuse zero interface ID
7dc0f80588 sd-dhcp-lease: fix a memory leak in dhcp_lease_parse_search_domains
426807c54b sd-dhcp-lease: fix an infinite loop found by the fuzzer
0456e3aaaa oomd: fix race with path unavailability when killing cgroups

As the following two patches:

0001-mkdir-allow-to-create-directory-whose-path-contains-.patch
0001-src-fundamental-list-fundamental_source_paths-using-.patch

have been merged in 250.4 or replaced, remove them.

(From OE-Core rev: ccf7b8948f0c02e28e8a0151c48bf169d3fc36c8)

Signed-off-by: Richard Neill <richard.neill@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Khem Raj
197c379d2b libucontext: Upgrade to 1.2 release
License-Update: Copyright years changed [1]

aarch64 implements simd register save/restore

loongarch64 supported added

[1] 9943d4f5fc
(From OE-Core rev: d51592e4eb2bc951f0c33a6e69be22aa8ea84d6f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Markus Volk
8969f056be wayland: provide wayland-client-native and wayland-protocols-native
(From OE-Core rev: 08a7551997285ce4f9568353870d5c4e76e93d95)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Markus Volk
926173678d libva: make buildable for native and nativesdk
This prevents an error if trying to add "va" to mesa PACKAGECONFIG

(From OE-Core rev: 893d2a92cb967f5896b8c7a70dbd4bffcfa3bcba)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Markus Volk
188c5ff444 mesa: align target- and native build
(From OE-Core rev: bfa40b777f08bab97263559a1f91200005eb180c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Markus Volk
a6ad1d410d xf86-video-intel: add dependencies; remove dri1
(From OE-Core rev: cb32a204a73f36dfeb83a52105fb97b2c0636b27)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Purdie
c075d00160 python3-cryptography: Fix ptest result handling
We run the tests correctly, we just don't get individual test result
reporting. Borrow the code from python3-bcrypt to handle this correctly
and ensure the test pass/fail scores and individual test results are
reported in a format we can read.

(From OE-Core rev: 17b7dfc46f75f66854c1e540480ef19df6fc43a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Purdie
b688d68c6e cargo: Add missing nativesdk support
Copy the target definition for nativesdk to allow nativesdk builds
to work.

(From OE-Core rev: 40b02f496d6bb9162f9fa36335b047c06937f2f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Purdie
da0cb26c00 rust-cross: Add rust-crosssdk variant for nativesdk use
Allow nativesdk recipes to find a correct version of the rust cross
compiler.

(From OE-Core rev: 0f5d26772abfbbae9096fa43901d8620f76aea3c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Purdie
b792bcd602 libstd-rs: Extend to nativesdk
This is needed to add the rust standard library to SDKs for use
by SDK tools.

(From OE-Core rev: 060057fa94451586e4eb47f68bc5c7c796f7d337)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
49b0a7aa45 lttng-modules: remove redundant devupstream assignments
These are set by devupstream, so they don't need to be set in the recipe.

(From OE-Core rev: 39d39c61633e229a04eec6848b5e49c9f9860fa8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
7fee41dcef classes/python_pep517: consolidate stub do_configure
As PEP517 doesn't have an explicit configure step, we can stub out the
do_configure task once instead of the calling classes doing it.

(From OE-Core rev: fd17edbd00f1583eb9e1912ab269dd4dc2631a6f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
6f5ee7fffb classes/flit_core: rename to python_flit_core
To be more uniform with the other new Python classes, rename this to
python_flit_core and update the recipes that use it.

(From OE-Core rev: c0e4ca3c7841028a658f21c11619228022d425b4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
fc364f1c55 classes/setuptools_build_meta: use python_pep517_do_compile
Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

(From OE-Core rev: 39a05e44f232775560ad79e49ffe4fb17ed6533c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
0f31b46827 classes/python_pep517: add more comments
Remove mention of prebuilt wheels, this is for the full PEP517 build
process and recipes that want to install prebuilt wheels can use
pypa/installer directly.

(From OE-Core rev: d42664a5b5fb460185be996428dbaba6bb81ec3f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
49fe9edcde classes/python_poetry_core: use python_pep517_do_compile
Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

(From OE-Core rev: e38afe528f25038f5adb7a7a94a1e007011696ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
4f22a746d8 classes/python_pep517: implement a standard do_compile
As all PEP517-compliant build systems have a universal API, we can ask
that users of this class set PEP517_BUILD_API to the class that implements
this API and call it ourselves, instead of users needing to implement
near-identical do_compile tasks themselves.

(From OE-Core rev: 862f68f3a05ce48834f4903d9f9a213684061779)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
11c36d4f1a classes/flit_core: use python_pep517_do_compile
Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

(From OE-Core rev: 0d3e07177e99d925f2807b85d16596455944d0a5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
4b5885c2a6 python3-packaging: remove duplicate python3-setuptools-native DEPENDS
setuptools_build_meta.bbclass already sets this dependency.

(From OE-Core rev: df1d4ed389f0c5f148f9940ce849e3ed64d34923)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Michael Opdenacker
d5663dd9cd ref-manual: reorder variable definitions
By alphabetical order, to get the same order as in the HTML
output, sorted thanks to the ":sorted:" directive.

That was needed after the recent variable renaming for
inclusive language, but other variables were already
out of order anyway.

(From yocto-docs rev: 371c30d2f95fa32239c82d4ad8a6329ab191acca)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:02 +00:00
Michael Opdenacker
adbd2348c4 ref-manual: sort list of variables in generated output
As already done in the BitBake manual.

Even though we're trying to keep the variable
definitions in alphabetical order, it's useful
to make sure that the variables are ordered in the
generated output.

(From yocto-docs rev: a43887858f46d2870443f7664487a36def23a90e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:02 +00:00
Michael Opdenacker
81664f1adc docs: ref-system-requirements.rst: update list of supported distros
Add AlmaLinux 8.5, Fedora 35, and OpenSUSE Leap 15.3
Remove Fedora 33, Debian 8, OpenSUSE Leap 15.1 and 15.2

Removing distros that were recently removed from SANITY_TESTED_DISTROS
in meta-poky/conf/distro/poky.conf

(From yocto-docs rev: 734d5db1f166d7722541b25718fb11a12282f0c5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Steve Sakoman <steve@sakoman.com>
Reported-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:02 +00:00
Ross Burton
4b15900ee0 Update documentation for Python packaging changes
A number of classes and variables have been renamed, so update the
documentation as needed.

(From yocto-docs rev: 35b2e1757f5f2f09bb899ed24ffea50e5041b471)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:02 +00:00
Michael Opdenacker
e3b7a5ba49 docs: brief-yoctoprojectqs: update video tutorial
Replace a 10 year-old introduction to the Yocto Project
by the most recent one from Behan Webster and Tom King (Dec. 2021).

(From yocto-docs rev: 92a573d690c82fb9ff717e68af5ee09da33cea2c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
61f3805d0e dev-manual: details about using firewalls and limiting fetch threads
Fixes [YOCTO #13235]

(From yocto-docs rev: cf76420c50f13762fb800a19931a8af5ae3567cf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
809b96e931 manuals: inclusive language updates
Changes identified by OE core's
scripts/contrib/convert-variable-renames.py script

Original variable names are kept in old migration notes,
but references to the new ones are provided.

(From yocto-docs rev: 1a35380ca80509fee036018a2bbb22ba9b44d47a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
88e368dca4 documentation/README: correct heading styles actually used in the YP manuals
Sphinx seems to offer flexibility in heading styles definitions,
but the new text matches the way subsubsections and subsubsubsections
are defined in the current manuals.

Note that it's not possible to mix different definitions, for example
by using "~~~~" and "^^^^" for subsubsections in different places.

(From yocto-docs rev: 89a9af58adaa4cf4708d0383655b992f8c7239e2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
bafbbd53c4 docs: update examples to add branch info to git URIs
Branch information is now mandatory for git:// and gitsm:// URIs

(From yocto-docs rev: b862655d812e358dd15b06c0548a276a90666423)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Christian Eggers
16831cd62b ref-manual: INCOMPATIBLE_LICENSE: use new license wildcards
This has recently been changed in expand_wildcard_licenses().
(file: OECORE/meta/classes/license.bbclass).

(From yocto-docs rev: 5121da30350a4edeef07f6722222c9e364617f0e)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Tony McDowell
d59439a3fb dev-manual: add instructions for compacting WSLv2 VHDX files
Using DiskPart for the systems which lack optimize-vhd

(From yocto-docs rev: c692b77065e6bd8eda789a88fa8fae1351a7274d)

Signed-off-by: Tony McDowell <svet.am@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Saul Wold
7c617ecb4d documentation: Update for skip_recipe rename
This change better aligns the name of the variable with its
purpose. Since we removed the older class, the associated
documentation is also removed.

(From yocto-docs rev: aa136a0fb552339db5475fff7947d2248f8af3e1)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
de54ea299b docs: migration-3.5.rst: fix "distutils" typo
(From yocto-docs rev: 76755cd4e2122a4a96b33c482c30e2bcd6ee9a7f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
d43121dac5 docs: overview-manual: formating fixes
(From yocto-docs rev: c17eb6bb35053ad89e52d41c7da75ccbc3823d1b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Joe Slater
7f736a56e9 expect: modify fixline1 script
fixline1 needs to be processed by fixline1, but we
short-circuit that.  Enter the multi-line shebang which
I am a bit queasy about, but expect loves it.

(From OE-Core rev: 0829d4f2947be2b095e7e713b5100f4e41218bec)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Khem Raj
552b8ede77 qemuppc64: Use smp = 2
Speeds up the system a bit

(From OE-Core rev: 6572225a0afb60b02702a6ab59da649386708a7f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Khem Raj
ac35918153 qemuppc64.conf: Disable huge vmalloc
This feature results in X11 crashes on Qemu since 5.13+ when it was added
disable it therefore for qemuppc64

(From OE-Core rev: 38503807e92699cb0fb1d207af73954cc953d728)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Kai Kang
eab17ad3b7 python3-pyparsing: rdepends on python3-html
It fails to import python module 'pyparsing':

| root@qemux86-64:~# python3 -c 'import pyparsing'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/usr/lib64/python3.10/site-packages/pyparsing/__init__.py", line 141, in <module>
|     from .helpers import *
|   File "/usr/lib64/python3.10/site-packages/pyparsing/helpers.py", line 2, in <module>
|     import html.entities
| ModuleNotFoundError: No module named 'html'

(From OE-Core rev: bfc76d19f3d6e3a7b2d91c3fcd97501c8b29001e)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
wangmy
74bf12dacd dpkg: upgrade 1.21.1 -> 1.21.2
The following patches refreshed for new version:
0001-build.c-ignore-return-of-1-from-tar-cf.patch
0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
noman.patch
remove-tar-no-timestamp.patch

(From OE-Core rev: d495c19b835e8e4c049b83e983487fc8de021499)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Changhyeok Bae
e4795393c4 mobile-broadband-provider-info: upgrade 20210805 -> 20220315
(From OE-Core rev: ed02ee8f20094f598448d58875cb7be8a24a019f)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Richard Purdie
10c24d7b66 license: Drop AVAILABLE_LICENSES
This variable is a performance liability and is highly dependent on which
layers are added to the configuration which can cause signature issues
for users. We have no users left in OE-Coreso remove it.

(From OE-Core rev: bf08d9ccb9cbc749a571af3d33140bcae0e252a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Richard Purdie
e03460b0bc sstate: Allow optimisation of do_create_spdx task dependencies
do_create_spdx tasks don't need their dependencies so we can optimistion
this as we do for some other tasks.

(From OE-Core rev: 6723a045c3a46537bb76111f8306b5960e532522)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Richard Purdie
0ca67e4d97 create-spdx: Use function rather than AVAILABLE_LICENSES
We can directly call the function rather than using the variable indirection.
As this is the last user of the variable, it then allows removal of it in a
followup patch.

(From OE-Core rev: 3ed84651b2f4eff9409bfecba2a080e244124880)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Richard Purdie
10d9a8ba7a perf-build-test/report: Drop phantomjs and html email reports support
phantomjs isn't reliable and we've moved to sharing the reports via a webserver.
Update the scripts to more match those being used in the autobuilder helper
where the html email support was removed.

(From OE-Core rev: b5c131006e3fad0a15e6cdf81f71dc1e96647028)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ross Burton
65d4385d46 openssl: upgrade to 3.0.2
* Fixed a bug in the BN_mod_sqrt() function that can cause it to loop forever
    for non-prime moduli ([CVE-2022-0778])

(From OE-Core rev: 30f054a1e0afaa26d16a411df2a6310104342e63)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ahmad Fatoum
1716625123 kernel-fitimage: allow overriding FIT configuration prefix
The prefix was recently changed to play ball with the CVE-2021-27138
workaround in U-Boot. Already deployed bootloaders though may still
expect a configuration name containing @ or they may not be affected
by this issue.

Also, uses may want to customize it beyond the [@-] issue: When
device trees are built from a recipe using kernel-devicetree.bbclass
the configuration nodes will contain the parent directories, e.g.

KERNEL_DEVICETREE = "freescale/imx8mm-myboard.dtb"

will become "conf-freescale_imx8mm-myboard.dtb". When moving to
devicetree.bbclass, this prefix go away. With this change here,
users can restore it easily by setting FIT_CONF_PREFIX =
"conf-freescale_", ensuring backwards compatibility.

(From OE-Core rev: 7892ee3dc37d302c8eb9c13cd8bb4b7b6e103949)

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ross Burton
11cfe07672 python3-setuptools-rust-native: use setuptools_build_meta
The wheel generation problems are solved now: a wheel is correctly built
to setuptools_rust-1.1.2-py3-none-any.whl, so we can use
setuptools_build_meta.

(From OE-Core rev: 3da6a4151ed3d69595548931a86a64268be55749)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ross Burton
e94aa1d703 linux-yocto: remove redundant devupstream assignments
These are set by devupstream, so they don't need to be set in the recipe.

(From OE-Core rev: 12f03dda0cb339be16261da205f0aa0ec976bfc8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ross Burton
f24d765a8c devupstream: fix handling of SRC_URI
As the class handler runs before overrides are actually applied we need
to check both SRC_URI:class-devupstream and SRC_URI, otherwise the
automatic assignment of S="${WORKDIR}/git" for git repositories does
not work if the base recipe uses http: but :class-devupstream has a git://
entry instead.

Also, there's no need to set S:class-devupstream, we can just assign to
S here.

(From OE-Core rev: d0edb03088d0d1c20c899daed1bb3a7110b19670)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
4b0139ba5f libuv: upgrade 1.43.0 -> 1.44.1
License-Update:
the following message removed from LICENSE:
android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design
Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement
n° 289016). Three clause BSD license.

Changes since version 1.43.0:
=============================
* process: simplify uv__write_int calls
* macos: don't use thread-unsafe strtok()
* process: fix hang after NOTE_EXIT
* darwin: remove EPROTOTYPE error workaround
* doc: fix v1.43.0 changelog entries
* win: replace CRITICAL_SECTION+Semaphore with SRWLock
* darwin: translate EPROTOTYPE to ECONNRESET
* android: use libc getifaddrs()
* unix: fix STATIC_ASSERT to check what it means to check
* unix: ensure struct msghdr is zeroed in recvmmsg
* test: test with maximum recvmmsg buffer
* unix: don't allow too small thread stack size
* bsd: ensure mutex is initialized
* doc: add gengjiawen as maintainer
* process: monitor for exit with kqueue on BSDs
* test: fix flaky uv_fs_lutime test
* build: fix cmake install locations
* thread,win: fix C90 style nit
* build: rename CFLAGS to AM_CFLAGS
* doc/guide: update content and sample code
* process,bsd: handle kevent NOTE_EXIT failure
* test: remove flaky test ipc_closed_handle
* darwin: bump minimum supported version to 10.15
* win: return fractional seconds in uv_uptime()
* build: export uv_a for cmake
* loop: add pending work to loop-alive check
* win: use GetTickCount64 for uptime again
* win: restrict system DLL load paths
* win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES
* bench: add 'uv_queue_work' ping-pong measurement
* build: fix error C4146 on MSVC
* test: fix benchmark-ping-udp
* win,fs: consider broken pipe error a normal EOF
* document the values of enum uv_stdio_flags
* win,loop: add missing uv_update_time
* win,fs: avoid closing an invalid handle
* fix oopsie from
* doc: clarify android api level
* win: fix style nits [NFC]
* test: fix flaky udp_mmsg test
* test: fix ipc_send_recv_pipe flakiness
* doc: checkout -> check out
* core: change uv_get_password uid/gid to unsigned
* hurd: unbreak build on GNU/Hurd
* freebsd: use copy_file_range() in uv_fs_sendfile()
* test: use closefd in runner-unix.c
* Reland "macos: use posix_spawn instead of fork"
* android: fix build error when no ifaddrs.h
* unix,win: add uv_available_parallelism()
* process: remove OpenBSD from kevent list
* zos: fix build breakage
* process: only use F_DUPFD_CLOEXEC if it is defined
* win,poll: add the MSAFD GUID for AF_UNIX
* unix: simplify uv__cloexec_fcntl()
* doc: add secondary GPG ID for vtjnash
* unix: remove uv__cloexec_ioctl()

(From OE-Core rev: 87fd543aa802de1c9d4b234096fff8a1cf929f9a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
3d29b42230 libcgroup: upgrade 2.0 -> 2.0.1
module.patch
musl-decls-compat.patch
removed since they're included in 2.0.1

Changelog:
==========
- Allow reading/writing from cgroup.* files in cgroup v2
- Add support for cgroup v2's cgroup.threads file
- Fix issue where libcgroup/pam wasn't working properly when
  cgrulesengd is disabled
- Fix a bug where the cgroup version wasn't initialized in a
  named cgroup v1 hierarchy
- Various automake bug fixes
- Build PAM module as unversioned DSO
- Fix build issues with musl libc
- Fix potential TOCTOU race in cgroup_get_procs()

(From OE-Core rev: 36d43237192aed532b37a52784fb91da64f54c1a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
08040f9fa7 python3-numpy: upgrade 1.22.2 -> 1.22.3
(From OE-Core rev: 0f79af7b0d76b5f2cb4d2d01f395ab60810868dd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
a8f0a8a090 lttng-modules: upgrade 2.13.1 -> 2.13.2
The following patches removed since they're included in 2.13.2
0001-fix-block-remove-GENHD_FL_SUPPRESS_PARTITION_INFO-v5.patch
0002-fix-block-remove-the-rq_disk-field-in-struct-request.patch
0003-fix-mm-compaction-fix-the-migration-stats-in-trace_m.patch
0004-fix-btrfs-pass-fs_info-to-trace_btrfs_transaction_co.patch
0005-fix-random-rather-than-entropy_store-abstraction-use.patch
0006-fix-net-skb-introduce-kfree_skb_reason-v5.17.patch
0007-fix-net-socket-rename-SKB_DROP_REASON_SOCKET_FILTER-.patch

Changelog:
=========
* Fix: incorrect in/out direction for syscall exit
* fix: net: socket: rename SKB_DROP_REASON_SOCKET_FILTER (v5.17)
* fix: net: skb: introduce kfree_skb_reason() (v5.17)
* fix: random: rather than entropy_store abstraction, use global (v5.17)
* fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17)
* fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17)
* fix: block: remove the ->rq_disk field in struct request (v5.17)
* fix: block: remove GENHD_FL_SUPPRESS_PARTITION_INFO (v5.17)
* Copyright ownership transfer

(From OE-Core rev: 093d6dba95c03911d3d7e1b3b07ceff2c1de5563)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
dd5a88907b python3-importlib-metadata: upgrade 4.11.2 -> 4.11.3
Changelog:
 #372: Removed cast of path items in FastPath, not needed.

(From OE-Core rev: be1411e6ce6ec808826b8028c704505171969f92)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
fa1a2cbe67 linux-firmware: upgrade 20220209 -> 20220310
License-Update:
 year updated to 2022
 Version of some driver files updated
 Added files for some drivers

(From OE-Core rev: be1b1d204c89035c54a626db46c5054e553b82c2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
9f09b695ed librsvg: upgrade 2.52.6 -> 2.52.7
Changelog:
=========
Backport a fix for the regression that was introduced in the last
release:

- #851 - Output filled text as text for PDF; fixes regression due to
  outputting all text as paths.

(From OE-Core rev: 2d5d331a7793e8e45da06873df75ba11ed94c0b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
9556937fba libdnf: upgrade 0.65.0 -> 0.66.0
0001-Add-WITH_TESTS-option.patch
0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch
removed since they're included in 0.66.0

0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch
0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch
modified for new version

Changelog:
=========
Use rpmdbCookie from librpm, remove hawkey.Sack._rpmdb_version
Fix handling transaction id in resolveTransactionItemReason (RhBug:2010259,2053014)
Remove deprecated assertions (RhBug:2027383)
Skip rich deps for autodetection of unmet dependencies (RhBug:2033130, 2048394)
Increase required rpm version since we use rpmdbCookie()

(From OE-Core rev: a5df953824474dfcb99ee3da305c11e2b178eeb5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
80974fd763 harfbuzz: upgrade 4.0.0 -> 4.0.1
Changelog:
=========
- Update OpenType to AAT mappings for hist and vrtr features.
- Update IANA Language Subtag Registry to 2022-03-02.
- Update USE shaper to allow any non-numeric tail in a symbol cluster, and remove
  obsolete data overrides.
- Fix handling of baseline variations to return correctly scaled values.
- A new experimental hb_subset_repack_or_fail() to repack an array of objects,
  eliminating offset overflows. The API is not available unless HarfBuzz is
  built with experimental APIs enabled.
- New experimental API
  +hb_link_t
  +hb_object_t
  +hb_subset_repack_or_fail()

(From OE-Core rev: 6a668a01c6502ba9e27c1d181b013284bfec4660)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
74fd40c927 dnf: upgrade 4.10.0 -> 4.11.1
(From OE-Core rev: bd1401961f692d15df5c978a34c2191d8b2a6e21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:40 +00:00
wangmy
b3aa262f71 createrepo-c: upgrade 0.18.0 -> 0.19.0
(From OE-Core rev: b5a7a25efbdee2bf72283b2fb57b3ff8e69a542e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:40 +00:00
Khem Raj
9dfd3cd674 qemu: Fix build on ppc64
add a missing system include

(From OE-Core rev: e057fc5fe6209f44a49b8dd6cc9b4b2d410064ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:40 +00:00
Ross Burton
00bc2e68f9 python_pep517: use installer instead of pip
Instead of battling pip to install a wheel, use installer. Installer
does one thing, so it's faster and easier to work with.

This means setuptools, pip, and wheel are no longer part of the
bootstrap phase, so they can be built normally.  To avoid sysroot file
conflicts these three recipes can't install .pyc files to the native
sysroot.

We currently patch pypa/installer to allow us to override the interpreter
used, which means we can drop the interpreter seding.

We don't need to recompile any Python which is found in $bindir as
Python doesn't actually load those files.

Across a build of oe-core, the only differences between using pip and
installer are:

- the .dist-info/RECORD files are ordered differently
- the .dist-info/REQUESTED and INSTALLER files are not created
- the hashbang in native scripts is "/usr/bin/env nativepython" instead
  of pointing directly at the native sysroot python3.

(From OE-Core rev: f780f6d920d8bbfb674d6066a8b899417decf8d2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:09 +00:00
Ross Burton
c4cfeb96a3 python3-installer: add installer module
Add a recipe for Installer, a minimal library/tool to install Python
Wheels.  Unlike PIP, it explicitly only installs wheels and does nothing
else.

(From OE-Core rev: bf09c0bd99e4defbc259775b4a2e3fcce09bde17)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:09 +00:00
Richard Purdie
7769b1f3fa python3-cryptography-vectors: Fix reproducibility
We regenerate the pycache files and the checksums in the manifest are incorrect.
Remove them to avoid this and ensure reproducibility.

(From OE-Core rev: 3c1e7e50c929436d0007d60e738c8270e7e6c7d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:09 +00:00
Ross Burton
4e87cfb56d python3-cryptography: remove obsolete PIP_INSTALL_DIST_PATH
(From OE-Core rev: 1ebf3774655a57807ca5e03530fef2bd80442adb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
2e1cb386f9 python3-cryptography: Add missing ptest tomli dependency
Add missing tomli runtime dependency to allow ptests to execute.

(From OE-Core rev: eb75f5b64146912f4e312eb1fe00162169ae70fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Ross Burton
a5d252eea3 python3-cryptography: mark test_create_certificate_with_extensions as expected to fail
This test causes OpenSSL to leak some memory. Until this is resolved in
OpenSSL, mark the test as expected-to-fail.

(From OE-Core rev: b32917b113df6dce0200d35dd1b539279635d524)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
ac54a3e99e ptest-packagelists: add python3-bcrypt and -pytz
python3-bcrypt and python3-pytz both run in just a few seconds, so add
them to the fast list.

(From OE-Core rev: 555cefec5d554eb610166ff9d0cbf0a620d99632)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
f3681fa5aa ptest-packagelists.inc: add python3-cryptography
The python3-cryptography recipe has a lot of tests and uses a large
amount of memory. It is slow (> 30 seconds).

(From OE-Core rev: ca9fefab2457ee86e24b23d99d3351b0dd9e66ef)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Ross Burton
be592ff81c poetry_core: update for renamed class pip_install_wheel to python_pep517
(From OE-Core rev: 69014d91fd6a3fba2b68703f587a4fc5aa1d8bcc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
267e5f4cc2 poetry_core: Rename to python_poetry_core
(From OE-Core rev: 241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
89f9740f98 setuptools3_rust: Rename to python_setuptools3_rust
(From OE-Core rev: 57bef31cdcafeef2d1ca5ff3aee7b2e2181a0514)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
f920fa55e5 py3o: Rename to python_py3o
(From OE-Core rev: e9b030eab6d4c18482aaa7f0166686e16ba8e779)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
3d904dd505 maintainers.inc: add python3-crypto and friends
(From OE-Core rev: 21cf8eb5af2a3ff09d8170b23d76fd5d07198692)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
9a62d8b483 python3-ply: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 0edd68ee0672656ba60ed7c8d9cea3baa39328db)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
88c6ecc88a python3-pycparser: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 8a34826558b5a0f2a4463f7d7bb230f1473b6621)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
f263485a67 python3-semantic-version: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 90204d37f303f7f3daddad76b3c86dcf8a1338e7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
8fca4407b5 python3-typing-extensions: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 5758587a1b2db882cc990257b2a6b8e71fa77b4a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
e499ca2a5e python3-iso8601: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 78106bc12b995bbb42e02f2e5d8fbc56d917b934)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Ross Burton
8e88d32bdf python3-poetry-core: remove obsolete PIP_INSTALL_PACKAGE
(From OE-Core rev: ed53e6728704ac77f15fe266a63b453ba1a2a846)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
dc59a7aad5 python3-poetry-core: move from meta-python
A PEP 517 build backend implementation developed for Poetry. This project
is intended to be a light weight, fully compliant, self-contained package
allowing PEP 517 compatible build frontends to build Poetry managed projects.

(From OE-Core rev: 49e4541b250be296dc7b148858016ff0aaef9afd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
56a7caff92 poetry_core.bbclass: move from meta-python
poetry.core.masonry.api is one of the common PEP-517 build backends.

(From OE-Core rev: b1d2626a501f33c289ecfc557b998982665f84ae)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
50adbdc4d6 python3-psutil/python3-bcrypt: Add missing HOMEPAGE
Add missing HOMEPAGE entries to the two recipes imported from meta-oe to fix
selftest failures.

(From OE-Core rev: 7fefeea0b8a0784052e87768588859c703d47fb5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
ea5bde8d98 python3-psutil: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: e2c8532df68946943a1dbabd6d3be5496f05f735)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
86bb763b36 python3-pretend: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: fbcb327b4264d5ba8502ecd46ff0b53095c1f7e7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
d4bd1420f3 python3-bcrypt: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 7c931d83ad84eef1bb24d00124e1dbee0855b48a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
6b7ee7eec3 python3-pytz: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 5831114f881752212704474381570139f01919f1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
c903d59649 python3-cffi: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 1748d7b84da30585199d0f910341bae169113ccd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
6f12c2aa10 python3-asn1crypto: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 2e0e42bd840f94f2e9a22cda0314131c31f26045)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
c47a786251 python3-cryptography-vectors: from meta-python
Dependency for python3-cryptography ptest.

This recipe needs to be kept in lock-step with the version of
python3-cryptography.

(From OE-Core rev: 1dda3ab39e2a28e05b903d970410587f2b58cdef)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
d58cc124fa python3-pytest-subtests: move from meta-python
Dependency for python3-cryptography ptest.

(From OE-Core rev: 6786ea8f0d70c7ff0fea353032d78db353628798)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
c6f79207f8 python3-cryptography: move from meta-python
* inherit new setuptools_rust class (which inherits new pyo3 class, which
  inherits cargo and python3-dir).
* RDEPENDS on python3-pytest-subtests for ptest
* Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed
* Use 'cargo bitbake' to generate the crate:// SRC_URIs
   - Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably
     only package.repository was strictly required):

     [package]
     description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions."
     homepage = "https://github.com/pyca/cryptography"
     repository = "https://github.com/pyca/cryptography"

* Add patches to src/rust/Cargo.toml to fix cargo errors including  pem version
* Add check-memfree.py to ptest to check for sufficient free memory

(From OE-Core rev: 27bd134c899d00d93806ecb0a62ec3f30b1e6ec6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
8af946e718 setuptools3_rust.bbclass: move from meta-python
setuptools-rust is a plugin for setuptools to build Rust Python extensions
implemented with PyO3 or rust-cpython.

Compile and distribute Python extensions written in Rust as easily as if
they were written in C.

This class inherits pyo3.bbclass (and therefore cargo.bbclass) and
setuptools3.bbclass to make it easier to build Python modules with Rust
extensions.

Need to call pyo3_do_configure to properly setup the PyO3 environment
for cross-compiling.

Need to call cargo_common_do_configure to setup cargo_home/config so
that the linker properly finds e.g. crti.o and crtbeginS.o

It is strongly recommended to provide crates needed for your recipe
using the crate:// fetcher. This can be helped with the cargo-bitbake
command [1].

If you choose not to use the crate fetcher, bitbake vendoring will not
work with setuptools-rust, as it errors out immediately because it cannot
find pyo3 or some other crate. The (strongly discouraged) workaround for
this is to set:

CARGO_DISABLE_BITBAKE_VENDORING = "1"

[1] https://crates.io/crates/cargo-bitbake

(From OE-Core rev: de3e166cf6f0de4fe0681ddb4b209fb9b8b06811)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
09ba720ec9 pyo3.bbclass: move from meta-python
PyO3 provides Rust bindings for Python, including tools for creating native
Python extension modules. Running and interacting with Python code from a
Rust binary is also supported.

This class sets up the cross-compilation environment.

Export PYO3_CROSS, PYO3_CROSS_LIB_DIR, PYO3_CROSS_INCLUDE_DIR and CARGO_BUILD_TARGET
to inform tools like setuptools-rust we are cross-compiling.

Export RUSTFLAGS so cargo can find 'std' and 'core' for target

Dynamically generate PyO3 config file and export PYO3_CONFIG_FILE
absolute path. This is the trick that finally made pyo3 work.

(From OE-Core rev: f3130197ed93fd60b4cad326940b02a5554ed089)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Ross Burton
096086d0c8 python3-setuptools-rust-native: remove obsolete PIP_*
(From OE-Core rev: baa9f9c3c3bea1f81e02bb047171ca78f714b034)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
0f732b694a python3-setuptools-rust-native: from meta-python
Dependency for python3-cryptography 3.4.x+

Only native rustc is supported at this time in oe-core,
therefore it makes no sense to try to build for target.

(From OE-Core rev: 8eaafc114c196fbab2070bfb600634306deef527)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
c2416fd91c poky: Bump to 4.0 in preparation for release
(From meta-yocto rev: d6a3e8092408715693e3713575b8271bea4e9dbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 17:51:14 +00:00
Richard Purdie
e7566693ed bitbake: bitbake: Bump to version 2.0.0
With the upcoming LTS, it is time we changed the bitbake version so
move to 2.0.

(Bitbake rev: 9a13bf8e20b1841ec99281d45be4c4fc1118438c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 17:51:14 +00:00
Michael Opdenacker
a5fd7b3424 bitbake: doc: bitbake-user-manual: reorder variable definitions
By alphabetical order, to get the same order as in the HTML
output, sorted thanks to the ":sorted:" directive.

(Bitbake rev: 8b97af89316a4407dd07649e8aadd495edd86ee4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 17:29:29 +00:00
Jose Quaresma
a216491093 gst-devtools: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: c0ba17345282509211bb1f11d7184d131204411d)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
e0338f1847 gstreamer1.0-python: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: bdf95da91bdf9dba7cc919531702713218ab1246)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
806a03c5f4 gstreamer1.0-rtsp-server: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: b9ea3af6782478bcd049d34298523267d300dc34)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
1b6524d571 gstreamer1.0-vaapi: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 1c01f589e0069730c1755d290038b5eb23ed3459)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
462c1639a2 gstreamer1.0-omx: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 60845c090f4106af9e3fc6ebb63cd8836806e647)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
10a2d08b20 gstreamer1.0-libav: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: a2273071924678ab43a528eb0c9843cffc53a912)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
0fd2db235f gstreamer1.0-plugins-ugly: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 0049cf608e2f4bf171126ee9b6400dfcca066e94)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Jose Quaresma
dcd522021b gstreamer1.0-plugins-bad: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 70bc5e0e5f635e2764e49ea05f988510a2b7981b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Jose Quaresma
be762a0286 gstreamer1.0-plugins-good: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 4a2c7aaee2df521cc32c58f57f76662b83266401)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Jose Quaresma
9ac8d14997 gstreamer1.0-plugins-base: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 2e138855730419ae3d9fad93cedeb60ecc1bf76c)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Jose Quaresma
9a498bdfaf gstreamer1.0: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 3a0e7938ac63f18dc80c3dc95c632a93e4d422bd)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Khem Raj
72b534fe61 libstd-rs: Fix build on riscv64/musl
Backport necessary patch, which was dropped in upgrade to 1.59

Fixes:

error[E0425]: cannot find value `SYS_clone3` in this scope
   --> library/std/src/sys/unix/weak.rs:202:17
    |
202 |                   concat_idents!(SYS_, $name),
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_clone`
    |
   ::: library/std/src/sys/unix/process/process_unix.rs:165:9
    |
165 | /         raw_syscall! {
166 | |             fn clone3(cl_args: *mut clone_args, len: libc::size_t) -> libc::c_long
167 | |         }
    | |_________- in this macro invocation
    |

(From OE-Core rev: f529401cd8d2c45273f706636e5ed89123238200)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
5a9a7f5678 erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64
ppc64 historically has used l64 for defining u64 types in kernel
asm/types.h defaults to use l64 by default but kernel uses ll64 now a
days, therefore lets use same int-ll64.h to provide these defines like
other architectures

(From OE-Core rev: 22f8a749fa956c82a0fe39eeb6948bd2068eb63a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Richard Purdie
cd69e50cf4 shadow-native: Simplify and fix syslog disable patch
Shadow is happily spamming the host syslog with messages and shouldn't be
which suggests the patch isn't working. Redo it to work at the configure
level which is simpler and hopefully more effective.

(From OE-Core rev: 8f1816862b884f226c0ce7f5c89fd75b6791c007)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Richard Purdie
d38868cfff scripts/runqemu: Fix memory limits for qemux86-64
When setting memory to 4GB, qemu is only running with 2GB for x86_64.
Avoid this by removing the mem= option to the kernel and letting the
qemu configuration handle it for x86 in a similar way to mips.

(From OE-Core rev: 2fd53417eba354c31c058c4bb066bb882e098add)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
c41e58279a go: Remove three unnecessary paths from do_compile[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: 9f610748f760b2d58d5250b55ae4b268909f33ef)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
d081a76063 image.bbclass: Remove two unnecessary paths from do_rootfs[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: d76a31a37c3b2253a6a8fdffd8581fc88987857d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
4cced6ceb0 package.bbclass: Remove an unnecessary path from do_package[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: 9d2dac56deda5afa4d77c5ddd7e1e8003f6d4725)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
a0f76ba08e deploy.bbclass: Remove an unnecessary path from do_deploy[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: a0566610034ca8abdb71eee999460eb90f805f9f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
688599a039 create-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: cb30a6cfa58072bbf5f5def36103fbcac920e168)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
80ad825f6a binutils: Bump to latest 2.38 release branch
Fixes building ppc32 kernels

Brings following fixes

* 2d92604cd30 Revert "Check thin archive element file size against archive header"
  * ed9b2e40ebf binutils 2.38 vs. ppc32 linux kernel
  * 40d32f56f63 Updated Serbian translations for the bfd, gold, ld and opcodes directories
  * 6aa1b7df2fc ld: Keep indirect symbol from IR if referenced from shared object
  * ae1cab7d3f3 i386: Update I386_NEED_DYNAMIC_RELOC_TYPE_P for DT_TEXTREL
  * df9071487a8 PR28882, build failure with gcc-4.2 due to use of 0b literals
  * caa6172de4b x86: Disallow invalid relocation against protected symbol

(From OE-Core rev: f5fb73ea3d868997f2fc3744ddb0647ab3284218)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
75f31f72a7 linux-yocto: Ignore textrels for ppc64 kernel
(From OE-Core rev: a7ca98d031c21f7e24878974e3b6b1eb81217862)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
27e7af17f8 gcompat: Do not use static-pie on ppc
It fails currently with binutils 2.38
powerpc-yoe-linux-musl-ld: read-only segment has dynamic relocations

(From OE-Core rev: 6a8c1e04e2bf37fa4128b1742ef4184380e3321d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
55e7265f47 ppc/siteinfo: Fix differences between musl and glibc
There is a key difference between glibc and musl when it comes to
ppc/ppc64 and that is that musl does not support 128-bit long IBM doubles format
it only supports 128-bit long double IEEE format on ppc64 alone.
this change ensures that we account for this change, so far we have been
doing it a bit wrong for ppc/musl case.

(From OE-Core rev: 28cb148c1375ba242addba80b0f68e06d2a4d874)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
c31e0dc8c5 powerpc32-linux: Remove libc cached variables
libc_cv_ppc_machine and no longer exists in glibc
others are detected correctly in configure. They
perhaps made sense in past when the toolchain build has several
bootstrap stages

(From OE-Core rev: ba418f93fc586bb708fdfade4195f7f3be2e273f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Markus Volk
14f1fc94e2 librsvg: inherit vala
this fixes a build error about missing vapigen and enables vapi build

(From OE-Core rev: 7293e840e0325fe1b8ea519644184f4c8927ecbd)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Markus Volk
a8e12f4f11 gtk+3: remove deprecated option
(From OE-Core rev: 8575607d13d05c4a462380aacf8f996678f1caf8)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Markus Volk
d8df93015b mesa: update to 22.0.0
- remove 0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch that was applied upstream

- adjust 0002-meson.build-make-TLS-ELF-optional.patch

- fix patch fuzz

- DRI1 drivers have been removed! For all AMD/Nvidia Cards gallium-llvm is required

License-Update: removed references to deleted code.

RP: Fix dri PACKAGECONFIG reference to opengl instead

(From OE-Core rev: 325ea352a8326f3b35a8a591f8f7a7dfa890cbcb)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Markus Volk
d58f40bee1 x86-base.inc: replace intel i965 driver with crocus
this fixes do_rootfs for core-image-sato after mesa update:

 Problem: package packagegroup-core-x11-base-1.0-r1.noarch requires packagegroup-core-x11-xserver, but none of the providers can be installed
  - conflicting requests
  - nothing provides mesa-driver-i965 needed by packagegroup-core-x11-xserver-1.0-r40.intel_corei7_64
(try to add '--skip-broken' to skip uninstallable packages)

(From OE-Core rev: 63f10412d793c6c10290838eb230f179046f1d23)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Alexander Kanavin
73dd9fae43 dbus: update 1.12.22 -> 1.14.0
Drop patches:
clear-guid_from_server-if-send_negotiate_unix_f.patch
stop_using_selinux_set_mapping.patch
(both merged upstream)

python-config.patch
(patched code removed upstream)

License-Update: whitespace fixes

(From OE-Core rev: 4513e4369973afb71f40625da058a3eaf6ccd4c4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Alexander Kanavin
1341ebeab0 dbus: merge dbus.inc into the recipe
The content is unchanged.

(From OE-Core rev: f4da7532b726c3661e71f90e79f6641f903fdc74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Alexander Kanavin
7367324055 dbus-test: merge into main dbus recipe
The reason it was separate is that there is a peculiar circular
dependency: dbus tests require glib, while some of glib's gdbus tests
require dbus. So dbus was built with tests disabled and without glib
dependency, then glib was built with dbus dependency, then dbus was
built again with glib dependency and tests enabled, only for the purpose
of installing those tests. I find that brittle and hacky, so this
removes dbus dependecy from glib (the fallout is that some gdbus tests
are no longer being executed), and dbus and its tests are built once,
after glib. Conversely, dbus is now dependent on glib for the purpose
of building the tests.

Also, dbus ptest installation is no longer using custom code, and dbus
run-ptest simply uses standard installed tests execution mechanism from
gnome.

(From OE-Core rev: cfecef4e6925865961858d0fe5ffc7794c71cd3b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
5d11e2028e bitbake: toaster: drop landing_not_managed template
This template is not referenced anywhere and therefore not used.
It also refers to the obsolete "build mode" in the old docs.

(Bitbake rev: f89a35155e3b8d12ac609a165c63ed206751b8da)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
377c744340 bitbake: bitbake: buildinfohelper.py fix for Django 3.2
connection.features.autocommits_when_autocommit_is_off
was deprecated in 3.0 and is no longer present in 3.2

(Bitbake rev: cc0f526fb4298349d0eea44c8f35d3dd226cc8d6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
a28a201886 bitbake: toaster: migratation for models.BigAutoField
Follow the default guidelines from Django 3.2 setting DEFAULT_AUTO_FIELD
to django.db.models.BigAutoField which leads to these migrations.

(Bitbake rev: ccfdcf5ed6b5d2024c268bace30e53753d1f4da4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
b81e582d80 bitbake: toaster: set DEFAULT_AUTO_FIELD
New in Django 3.2.

Silence warnings by adding:

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

in toastermain/settings.py

(Bitbake rev: cbc5a8e339a8b5eb4cdd89ad898af432f05cadfb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
90d150997a bitbake: toaster: orm/models -- drop django.utils.six
Django 3.2 no longer has django.utils.six module.

(Bitbake rev: ae03c1f05e37f70e72a2ac08f7c718b8fc4fc36e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
702159b29b bitbake: toaster: Update docs links in templates
Update docs links from www.yoctoproject.org to the docs.yoctoproject.org
equivalents.

(Bitbake rev: 74194962eb294c9bd1192ddd7935d57258712ee2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
618c519a76 bitbake: toaster-requirements.txt: Django 3.2 LTS
Django 2.2.x goes EOL April 2022.

Switch the to current LTS Django 3.2.x supported until April 2024.

(Bitbake rev: 23a15c5703d5ef4190921f9bb0273e43b1de489c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Richard Purdie
2c8f3be3a5 oeqa/runtime/ping: Improve failure message to include more detail
When the ping test fails due to a timeout we only get limited debug
information. Tweak the code to improve that in case it sheds any light
on intermittent failures.

(From OE-Core rev: d81704057950e1970ef7f673fa771834fd2b3f1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ming Liu
2c90c1e302 weston-init: add use-pixman PACKAGECONFIG
Fbdev backend has been deprecated since weston 10.0.0, and it could be
replaced by passing --use-pixman to drm backend, add a use-pixman
PACKAGECONFIG for convenience.

(From OE-Core rev: e3dc3ee5e41caa1691ebdb1c6ed6e51077f9ce7a)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ming Liu
bbc60671ad image.bbclass: make sure do_rootfs run from a clean workspace
Add ${IMAGE_ROOTFS} and ${IMGDEPLOYDIR} to do_rootfs[dirs] and
do_rootfs[cleandirs], this ensures do_rootfs run from a clean
workspace, with this change, we can now remove two bb.utils.mkdirhier
lines from meta/lib/oe/rootfs.py.

(From OE-Core rev: cb8b6f7eee4e059bb311330c57068e11bc477366)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Richard Purdie
10610aa80e Revert "mesa: make sure GLES3 headers are installed"
This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c.

It uses old overrides syntax which simply doesn't work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ralph Siemsen
5766dc98c1 libxml2: update to 2.9.13
- new version includes fix for CVE-2022-23308
- drop patche which was upstream
- refresh patch

(From OE-Core rev: d687f1ac2017a1cc94ac4733cd46755d5aabd120)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ralph Siemsen
82fd8a0907 libxml2: move to gitlab.gnome.org
The project has migrated from www.xmlsoft.org to gitlab.gnome.org.
Update the homepage accordingly, and use gnomebase to construct the
download URL, rather than including it in SRC_URI explicitly.

Note that the download is now in .xz format rather than .gz, so the
sha256sum is updated accordingly. Post-decompression tarballs are
identical, so there is no change to the libxml2 code.

(From OE-Core rev: 8bc17ceb997f8f31a03e5f5efc41c03ef1df3add)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ross Burton
f2a0c52f65 python_pep517: move PEP517_SOURCE_PATH to python_pep517
Now we have the start of a PEP-517 base class, the PEP517_SOURCE_PATH
variable can be defined in there instead of the classes that use it.

(From OE-Core rev: 69944121f49f613568bf0c62ae6b3b47af195dbe)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ross Burton
a50bf48f90 meta: rename pip_install_wheel.bbclass to python_pep517.bbclass
pip_install_wheel shouldn't restricted to just using Pip to install
wheels (the installer module is simplier and likely a better option),
and in the future may be extended to also provide do_compile() using
the build module.

(From OE-Core rev: 3bdf64b97facce9706cc579bdbc9a80e0d48428f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Richard Purdie
b6a535068d bitbake: toaster: move gen_fixtures to the correct path
Fix a bad patch merge and move the file to the correct path.

(Bitbake rev: d173f45a88cc9460734e7cc0b87952c0ea0ff270)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 09:39:44 +00:00
David Reyna
b31eb2156d bitbake: toaster: automation to generate fixture files
Add script to safely generate the fixture files from a table

[YOCTO #14759]

(Bitbake rev: ec5e9fff8f71ba81bf5e9207abcd3011d63d86d9)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 13:27:59 +00:00
David Reyna
ce2ba8d832 bitbake: toaster: Add 'Kirkstone', 'Honister', and 'Hardknott'. Remove 'Dunfell' and 'Gatesgarth'.
[YOCTO #14757]

(Bitbake rev: 49308d1db4f7af81e31db21dc8954947de5976c7)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 13:27:59 +00:00
Ross Burton
7f6966555c meta: remove obsolete PIP_INSTALL_PACKAGE
PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it
from the recipes.

(From OE-Core rev: 15baf24f750ab2c8b0a46d4a3bf2ae9bfa3d0aff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Ross Burton
b538705ed5 setuptools3-base: improve RDEPENDS assignment
Use :append instead of += so that recipes can assign to RDEPENDS:${PN}.
This fixes missing RDEPENDS for sixteen recipes in oe-core alone.

Also instead of using obscure inline Python we can just use the
class-target override.

(From OE-Core rev: c4ecd63593df2ffd5c1b7ae1c50652ca57ebe219)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Diego Sueiro
7b68b6ff43 grub-efi: Add option to include all available modules
Include all available modules If 'all' is present in GRUB_BUILDIN variable.
To achieve this we need to search for all .mod files in ${B}/grub-core/ and
pass them to grub-mkimage command.

Also, add the verbose option to grub-mkimage.

(From OE-Core rev: ed1bf9aa0af8c12905cf8332bbbb212ab158fe3c)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Khem Raj
eae11483f9 gcompat: Update to latest
Brings in these fixes

  * 391b270 unistd: add __close
  * 8af2ff2 random_r: set `x` before calling savestate_r
  * cca99e8 wchar: add __mbrlen
  * 59e99e9 random_r: Add reentrant random functions from LSB
  * 6461276 gnulib: Add __fdelt_warn alias

(From OE-Core rev: f2bc34d68b29077d548e280a25b19f38da126d00)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Alexander Kanavin
7349e9d11e bind: all even versions now get long term maintenance windows
See here:
https://www.isc.org/download/
https://kb.isc.org/docs/aa-00896

(From OE-Core rev: d3756fd781730847f9d9576d70424b0a7b3e1840)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Joe Slater
8a4c53ee76 weston: require wayland as a distro feature
Weston will not configure successfully unless wayland
is a distro feature.

(From OE-Core rev: bc72eb17b74606514694a6655d65dab9b2ee96e8)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Peter Kjellerstedt
6ad018f213 oe-pkgdata-util: Adapt to the new variable override syntax
(From OE-Core rev: 2bf6a0ca9fdf639418646700b20b65c9960efdbe)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Ross Burton
e6b6e1c0cf seatd: upgrade to 0.6.4 (fixes CVE-2022-25643)
We need to set nobranch=1 as the 0.6.4 tag isn't on any branches at
present.

(From OE-Core rev: 5637ebe76885c21c2c3f975b4f412b02f9e02456)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Claudius Heine
6dd32f4a3b files: overlayfs-etc: add overlay mount options to preinit
Overlayfs-etc is useful if the rootfs is read-only. One reason to have
the rootfs read-only is to allow image based updating.

Image based updating will change the underlying root file system, which
is unsupported by overlayfs when with some mount options [1].

This disables those options.

[1] https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#changes-to-underlying-filesystems

(From OE-Core rev: 13a057d6ffc3110f891224d7af9455b53581e8a8)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Claudius Heine
3653b9d37a files: overlayfs-etc: wrap long lines of preinit file
Make it easier to see what is happening by wrapping the overly long
lines in the preinit file for the overlayfs-etc.

(From OE-Core rev: 2e116bbc1afbc571b99f2605839e3c90839471be)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Trevor Gamblin
f69a9d7b39 iptables: do not install /etc/ethertypes
Take inspiration from the ebtables recipe in meta-networking and omit
installation of etc/ethertypes, since it is provided by netbase. If we
don't do this, the following error occurs during build:

Error: Transaction test error:
  file /etc/ethertypes conflicts between attempted installs of
iptables-1.8.7-r0.core2_64 and netbase-1:6.3-r0.noarch

(From OE-Core rev: 297fde1a6fc9ddf12bb4b0cba1d5b03664a3f378)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Ross Burton
5331d29a89 pip_install_wheel: add a generic do_install for bootstrapping
Several recipes are duplicating the same bootstrap logic for installing
a wheel without using any tools.  Add an implementation to
pip_install_wheel to centralise the code, and remove the duplicated code
from the following recipes:

- python3-flit-core
- python3-pip
- python3-setuptools
- python3-wheel

(From OE-Core rev: d5d702a2cd06f863340f8e4cdce0904c9d86384d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Ross Burton
7f1c3b4202 python3-pip: remove redundant DEPENDS on python3-setuptools-native
This recipe inherits setuptools_build_meta which already depends on
python3-setuptools-native.

(From OE-Core rev: 5d514b5dbd09ce059047d849d5b7cc2b2327564d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Ross Burton
d4aec24676 flit_core: remove redundant python3-pip-native DEPENDS
PIP is not needed by this class directly, but is used by
pip_install_wheel which already depends on python3-pip-native.

(From OE-Core rev: 2f18b35b8da5dad471c325138be52191412e4100)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Khem Raj
9ad40791fe m4: Fix build on musl/ppc
(From OE-Core rev: 41ccf5b38506608032754beaff393f74e0403fd1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Khem Raj
720eb2cc8d libtool: Recognise additional linker commandline options passed by clang
Like stdlib, these options are also used to select runtime libraries by
clang driver

(From OE-Core rev: 6d2035b9017552f050e53add0b3ef4090141fc5e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Khem Raj
172b9aa6d2 unzip: Pass LDFLAGS to configure tests
Ensures the configure time tests are compiled/linked with the Options
that it will be using to build.

(From OE-Core rev: 6d01bb24f198710b7acb49c43a8a813b6e01ed14)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Richard Purdie
2c545a19ce bitbake: toaster: Fix IMAGE_INSTALL issues with _append vs :append
After the override syntax change, toaster isn't working correctly. This
is because it uses IMAGE_INSTALL_append instead of IMAGE_INSTALL:append.

This tweaks the code accordingly to fix this.

I have a suspicion that exiting toaster databases may struggle with
the change and there are some migration steps missing for the whole
overrides syntax change step.

(Bitbake rev: befc93c3e03a9b1a2b630cd5badcda756fe6cd28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Richard Purdie
9a17902201 bitbake: cooker: Fix environment history printing
bitbake -e is not showing variable history correctly for all variables.
The issue was triggered by the change to knotty to default to enabling
variable tracking in the base datastore but that exposed another issue.

The real problem is that calling reset() inside cooker reverts to the
data tracking enabled by the UI for the base datastore, then turns
off tracking. In the case of the environment printing code, it needs
it to be left on.

Tweak the code to ensure data store tracking really is enabled.

The code here is clearly a bit of a mess but this at least fixes a
clear regression until more invasive improvements can be made.

(Bitbake rev: 9596bffc9903f023d1cc97ce531ddb1cf010c4d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Peter Kjellerstedt
aae4f55d1b bitbake: knotty.py: A little clean up of TerminalFilter::updateFooter()
* Use max() to clamp progress to >= 0.
* Be consistent when evaluating self.quiet (treat it as a boolean).

(Bitbake rev: 160f71372ff93894d9314619e9d3b547c1f3cda3)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Peter Kjellerstedt
af7a4af979 bitbake: knotty.py: Correct the width of the progress bar for the real tasks
In commit 8055ec36 (knotty: Improve setscene task display) the setscene
tasks got their own line in the task output. However, the progress bar
code does not handle newlines in its widgets, so the length of the
setscene line was included when calculating how much space is available
for the progress bar of the running tasks, making it much too short.

Instead of trying to teach the progress bar code to handle newlines,
separate the output of the setscene tasks from the progress bar for the
real tasks.

(Bitbake rev: a41f7792f17acdba8c7ea83b79e413ae6a49da68)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Peter Kjellerstedt
553856138c bitbake: knotty.py: Improve the message while waiting for running tasks to finish
Use pluralise() to correct the grammar, and drop the colon at the end if
runnning in quiet mode.

(Bitbake rev: 57396289f935892390c11afe95f3eede28fd80e7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Richard Purdie
46163db74b bitbake: uievent: Fix import warning for python 3.10
(Bitbake rev: bf1de5988698c797403ecd30edda99a76e9c02dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 15:25:47 +00:00
Claudius Heine
579ae7a45a overlayfs-etc: add condition to package-management feature conflict
The conflict with the `package-managment` only happens if the
`overlayfs-etc` class overwrites `/sbin/init`, which is not the case
when `OVERLAYFS_ETC_USE_ORIG_INIT_NAME` is set to `0`.

(From OE-Core rev: c577382c6d155b3a784d06e4c916783cde7165c8)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:38 +00:00
Claudius Heine
9633ecebb9 overlayfs: add systemd unit path prefix to FILES:${PN} array
The 'FILES:${PN}' array is missing the systemd unit dir prefix causing
them to not be packaged and the build fails with the
`installed-vs-shipped` error.

This adds the `systemd_system_unitdir` variable in front of every unit
file added with this class.

(From OE-Core rev: d19166cbc567be0803eaf8d0a2a20f44758aae7b)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Khem Raj
c3ac9501d7 webkitgtk: Fix build when x11 is not in distro features
ANGLE's copy of khrplatform.h is not uptodate with mesa/khronos khrplatform.h
which uses MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

This patch helps with that

(From OE-Core rev: 4f6b987705a624da3304cb559b885c4352f9b517)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Khem Raj
6ef0c91921 qemu: Fix build when x11 is not in distro features
There is use of MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

(From OE-Core rev: 8c9d0bc4eb2784a3defa047e509d96e0eb521c03)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Michael Opdenacker
5c931175b4 conf/machine: fix QEMU x86 sound options
This updates the QEMU sounds options for x86 emulation,
when "runqemu" is called with the "audio" argument,
to fix the below error:

runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead

(From OE-Core rev: b802a5dd1a79c7be3bc790223a733ebc9be4f117)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
wangmy
95634fdbc5 sudo: upgrade 1.9.9 -> 1.9.10
Changelog:
=========
Added new log_passwords and passprompt_regex sudoers options.

Added new log_passwords and passprompt_regex settings to sudo_logsrvd that
operate like the sudoers options when logging terminal input.

Fixed several few bugs in the cvtsudoers utility when merging multiple
sudoers sources.

Fixed a bug in sudo_logsrvd parsing the sudo_logsrvd.conf file, where the
retry_interval in the [relay] section was not being recognized.

Restored the pre-1.9.9 behavior of not performing authentication when sudo's
-n option is specified.

On systems with /proc, if the /proc/self/stat (Linux) or /proc/pid/psinfo
(other systems) file is missing or invalid, sudo will now check file
descriptors 0-2 to determine the user's terminal. Bug #1020.

Fixed a compilation problem on Debian kFreeBSD. Bug #1021.

Fixed a crash in sudo_logsrvd when running in relay mode if an alert message
is received.

Fixed an issue that resulting in "problem with defaults entries" email to
be sent if a user ran sudo when the sudoers entry in the nsswitch.conf file
includes "sss" but no sudo provider is configured in /etc/sssd/sssd.conf. Bug #1022.

Updated the warning displayed when the invoking user is not allowed to run sudo.

Fixed a bug where the user-specified command timeout was not being honored if
the sudoers rule did not also specify a timeout.

Added support for using POSIX extended regular expressions in sudoers rules.

A user may now only run sudo -U otheruser -l if they have a "sudo ALL"
privilege where the RunAs user contains either root or otheruser.

The sudo lecture is now displayed immediately before the password prompt.

Sudo now uses its own closefrom() emulation on Linux systems.

(From OE-Core rev: cbb7ff3abf52f38fea471b9510ba8bcec70c3058)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
wangmy
54ed075f49 stress-ng: upgrade 0.13.11 -> 0.13.12
(From OE-Core rev: 9bad841b5a97785bbe5c0de99c3b89037c9f97e8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
wangmy
c024b91167 python3-pycairo: upgrade 1.20.1 -> 1.21.0
Changelog:
=========
* Require Python 3.7+ :pr:'250'
* Require meson 0.53+
* Using 'setup.py' directly to build/install pycairo is deprecated.
  Use meson instead.
* 'setup.py' now requires setuptools. Previously it was optional.
* The complete API reference is now included in the typing stubs,
  so it can be consumed/shown by IDEs. :pr:'236' :pr:'252'

(From OE-Core rev: d83f8e31b929ea270a2cafda4ca3deaffbd7c54e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
wangmy
abb9af9688 gpgme: upgrade 1.17.0 -> 1.17.1
Changelog:
=========
* configure.ac: Bump QT LT version to C15/A0/R0.

(From OE-Core rev: 15cf6a0c74aacdb01626ae46963cb02a59b4c2c1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Ross Burton
f369b606b7 python3-scons: remove redundant FILES:${PN}-doc
mandir is in the default FILES:${PN}-doc, so there's no need to add it.

(From OE-Core rev: 342641edee1e2c7d80184c3a9b649cccb8cf38b5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Ross Burton
438b58fd4b pip_install_wheel: install wheel with a glob
Now that the build systems that use pip_install_wheel are all building
their wheel into a directory that we knew was empty before, we can just
install *.whl and not need to know the precise names.

By design a pyproject.toml will always build a single wheel, so there
shouldn't be any way for this to end up installing more than expected.

This obsoletes PIP_INSTALL_PACKAGE and PYPA_WHEEL, neither of which are
needed anymore.

(From OE-Core rev: e6e4c63bbdd09d91428e55cb5a852170511f05cc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Ross Burton
9bafd512a4 pip_install_wheel: generate the wheels in directory we control outside of S
Set the wheel distribution location, PIP_INSTALL_DIST_PATH, to a
directory under WORKDIR to enhance out-of-tree builds.

(From OE-Core rev: 8e7ae4246aa8dedd8a128c34450d4c1f60e2224a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Khem Raj
c6aa831fe5 zip: Pass ldflags to configure tests using linking
(From OE-Core rev: 118e4ca244a8ff48b126225b8f98b7c9f66b71f1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Khem Raj
e34f694c35 zlib: Pass ldflags to configure tests using linking
(From OE-Core rev: 86bc57eaa3d1016d8d99041e5bd115cf3d2e4ce3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Ross Burton
dc8d760f09 python3-scons: remove PIP_INSTALL_DIST_PATH
The default is good now, so remove this.

(From OE-Core rev: eef037f199d458e31afb570f9a4930c75c778b68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Samuli Piippo
4a599c58a8 binutils-cross-canadian: enable gold for mingw
This reverts commit b5a595a4be09756b88e91f3353e3b221b165ab44,
gold linker can now be built correctly for mingw SDKs.

(From OE-Core rev: b2ab9ff4050ebd5efb273f44e62174efb22a214f)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Saul Wold
d9e500f83d meta/scripts: Improve internal variable naming
Update internal variable names to improve the terms used.

(From OE-Core rev: f408068e5d7998ae165f3002e51bc54b380b8099)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 08:00:28 +00:00
Michael Opdenacker
8827a3ed80 local.conf.sample: https and no newline for SSTATE_MIRRORS
Both http and https work, but we will get fewer user questions with https

Remove no longer necessary \n character in the sample definition

(From meta-yocto rev: 2e707748b372dac4c007342cc80e65f2b0afc542)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:51:27 +00:00
Michael Opdenacker
79168e8c19 local.conf.sample: fix reference to extended configuration sample
The file name is local.conf.sample.extended, not local.conf.extended

(From meta-yocto rev: dfff8de96dcbb6ea35f638a07c34cf5578e8d043)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:51:27 +00:00
Ross Burton
6982839605 python3-pyyaml: use setuptools_build_meta
This project builds with setuptools_build_meta, so use that instead.

(From OE-Core rev: 1ebc11c10379a10ddd974068cdd1ea322114a647)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
8081703322 python3-pyrsistent: use setuptools_build_meta
This project builds with setuptools_build_meta, so use that instead.

(From OE-Core rev: f2bac34088256d52354f4ec7ab3bd69a6812708f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
80755af2a7 python3-markdown: use setuptools_build_meta
This project builds with setuptools_build_meta, so use that instead.

(From OE-Core rev: 58f7a34a227e2c2fb2fec99066d14ca0c842e97d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
34706af78f bmap-tools: remove redundant PYPA_WHEEL
The default is good, this doesn't need to be set.

(From OE-Core rev: aa0dab28690e58929535952fa99ec67bda434ed7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
c6ac203061 python3-wheel: clean up PYPA_WHEEL usage
Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

Also flit_core inherits setuptools3-base, so no need to inherit it again.

(From OE-Core rev: e2c7501645eec12d3168b6e8606549ce3e5f8db2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
60fbc692fa python3-setuptools3: clean up PYPA_WHEEL usage
There's no need to set PYPA_WHEEL as the default is sufficient.

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

(From OE-Core rev: c0a24279c740555a06a5c57e2a01ca7b20f8e668)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
7f4c9a6343 python3-pip: clean up PYPA_WHEEL usage
There's no need to set PYPA_WHEEL as the default is sufficient.

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

(From OE-Core rev: b74d1c30d000c258c3f89ee125ae79ff07c25674)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
ea6c0faba3 setuptools3: respect PIP_INSTALL_DIST_PATH
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory.

(From OE-Core rev: 12857a77ad424c3c3cbc37275374a603e528d9f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
0f25ab3481 python3-flit-core: improve recipe
flit_core can bootstrap itself, so the python3-flit-core recipe can just
inherit flit_core and set PEP517_SOURCE_PATH to the flit_core submodule.

Also setting FILES:${PN} is redundant.

(From OE-Core rev: ec8799eb92174cb6780a0cc7e1fa9828e4d75c79)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
c7054e363a setuptools_build_meta: add variable to control where pyproject.toml is located
The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.

In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.

[1] https://www.python.org/dev/peps/pep-0517/

(From OE-Core rev: 891fab83683cf032d4849f2dfbcd03a3eb22f158)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
37527ea5bd setuptools_build_meta: respect PIP_INSTALL_DIST_PATH
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

(From OE-Core rev: 1a3625c576afe823efc50dc0b1071e4952339f8e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
2df212ff6c flit_core: add variable to control where pyproject.toml is located
The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.

In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.

[1] https://www.python.org/dev/peps/pep-0517/

(From OE-Core rev: f85b512e2ad39ec32f11f9b25b8c92bea20c844d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
d2655729bc flit_core: respect PIP_INSTALL_DIST_PATH
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

Also call the flit_core.wheel module directly as this is a public entry
point to the wheel building logic.

(From OE-Core rev: a3d9eb8051bc2effb8130b1743ba251c1fe7c525)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Alexander Kanavin
442c2cca0f libuv: fix upstream version check
(From OE-Core rev: b6172a98c25f5b0e700e6d84e19d6a1aa7d56780)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Alexander Kanavin
4247f1feec sysklogd: nobranch in SRC_URI is no longer necessary
(From OE-Core rev: b8f0f2609225855e65f6cb7068d0b015107a2dc5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
2c86f586d5 openssh: update 8.8 -> 8.9
License-Update: blowfish relicensed under 3-BSD.

Fix up ptests; listing the helper binaries one by one
is not necessary. Unittests are skipped explicitly in run-ptest,
no need to avoid building them. They still take long, but they
can be executed on target if wanted.

(From OE-Core rev: 9f031d936edb69c038639656288c84564434b906)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
19e1beb5ae webkitgtk: upgrade 2.34.5 -> 2.34.6
(From OE-Core rev: 988a28cd89d30d424d4405bcf1d799e890858981)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
5ab6eb32e2 mmc-utils: upgrade to latest revision
(From OE-Core rev: 113c03a1e08cca3e86740e77078358d4ba8c0d76)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
62a9e5d4a4 vulkan: upgrade 1.3.204.0 -> 1.3.204.1
Only vulkan-loader has actually changed.

(From OE-Core rev: 337723179f144f6d0237ac1d1e45a7e7ca035236)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
000b895fc2 libsecret: upgrade 0.20.4 -> 0.20.5
(From OE-Core rev: 591b547d546698ee7bb13ab18ff52921cc7d77ae)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
bc98337f8a harfbuzz: upgrade 3.4.0 -> 4.0.0
(From OE-Core rev: ed92fec12b677b913c0d922b57e1f72819ecc2cb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
d662b6f152 diffoscope: upgrade 204 -> 206
(From OE-Core rev: ef6421463a2d5748474016d6ca4c299d6cf78dbe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
f2aeaa4848 python3-cython: upgrade 0.29.27 -> 0.29.28
(From OE-Core rev: 662333fbfa832cb6091b1bfdba8e218d288a8212)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
0e3fc33999 kea: upgrade 2.0.1 -> 2.0.2
License-Update: copyright years

(From OE-Core rev: 887d686115f6399c07db7d20b146bcfab8248a78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
76b5fa18e6 apt: upgrade 2.2.4 -> 2.4.0
(From OE-Core rev: dabd96bd0b663300b7d6d2e820bafe5b5c70a314)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
cb87a65dfb xwayland: update 21.1.4 -> 22.1.0
(From OE-Core rev: d62790354fd562afef004ea002017079972620f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
5e8b0ac506 librsvg: update 2.52.5 -> 2.52.6
(From OE-Core rev: 49f3b14ce8efe200b0949232de81cb7e0bea7207)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
9310d1531c rust: update 1.58.1 -> 1.59.0
Drop libstd-rs patches as they're merged upstream.

(From OE-Core rev: 05f4a09899aa8dbb22ef1adb494abac41d5b96b7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Samuli Piippo
290b654a38 mesa: make sure GLES3 headers are installed
Since there is no libgles3-mesa package that would pull in the headers,
add dependency to libgles2-mesa-dev. Now there no need to manually add
GLES3 headers to image or toolchain.

(From OE-Core rev: 7c6effef9d471efbaea76e23e91938687fcc661c)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
wangmy
7eab2d68e0 go: upgrade 1.17.7 -> 1.17.8
(From OE-Core rev: c375fcae8fd4c21a9f240440f9d7f31dde415e30)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
wangmy
6225b5e343 asciidoc: upgrade 10.1.3 -> 10.1.4
License-Update: year updated to 2022.

Changelog:
=========
.Bug fixes
- Add missing test py files to dist archives
- Fix DeprecationWarnings in a2x regexes

(From OE-Core rev: 0e964d4bcf0061297ac2194d4de0367744a2ed89)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Marta Rybczynska
8d0e8ee0da bitbake: lib/bb: more verbose error message
The "Parsing halted due to errors" is shown when user has old-style
variables requiring renaming. Make it clear that it isn't an additional
error, but a result of earlier errors.

(Bitbake rev: e81b6ae61dd8b5d0f77146263d79dfe66c66b060)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 11:07:22 +00:00
Richard Purdie
051ec7da52 bitbake: server/xmlrpcserver: Add missing xmlrpcclient import
This avoids backtraces when starting toaster or using bitbake in
remote mode.

(Bitbake rev: bf723f2cb5d288ca730e4f029110b36380420a01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
leimaohui
71338ad26e bitbake: monitordisk.py: Deleted redundant word in warning message.
(Bitbake rev: 24ce95596e709bccda08fad81c2ebb9f8053618c)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
310186de2c bitbake: bitbake-user-manual: add recent release manuals
Add links corresponding to recent releases
Align the title of sections with yocto-docs' releases.rst

(Bitbake rev: 5700317975e115aa31186c8cd3eddca16ec387fb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
79db1028ca bitbake: bitbake-user-manual: update allowed characters in overrides
(Bitbake rev: b12d4fe049c80fa6b042d5cd852b4d602221321d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
13e483fd45 bitbake: bitbake-user-manual: yet another overrides syntax update
(Bitbake rev: 9abf9fcd15279cf8c993efcb914a0092f74a814e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
66882ee02a bitbake: bitbake-user-manual: add note about the old syntax for OVERRIDES
(Bitbake rev: ad2307823a96e91873d804aa9d8f11c9ff39bec0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
a24c2ef65c bitbake: bitbake-user-manual: stop mentioning the Angstrom distribution
Now defunct.

(Bitbake rev: 2c7bff686c1f5eb80c89cb7f9f12287e8bb5770f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
2d559fca13 bitbake: bitbake-user-manual: add "crate" fetcher
(Bitbake rev: cca1533e9a684bef8b27130c42abcd1125332038)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Bill Pittman
bf707d4431 wic: Use custom kernel path if provided
If the custom kernel path is provided in options, then
use that path instead of the default path.

(From OE-Core rev: 1068102216a894c467f71f6046fdb37d5577545c)

Signed-off-by: Bill Pittman <bill.pittman@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Khem Raj
354b44b45a virglrenderer: Depend on virtual/egl
depending on EGL means it does not have to worry if implementation
provides GL/GLES/OpenVG interfaces or not.

(From OE-Core rev: e3d3867d677a08b718e347e4d10a986cdd216493)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Jose Quaresma
3ec1f30ebb gstreamer1.0-plugins-bad/ugly: use the GPL-2.0-or-later only when it is in use
Since all gstreamer modules uses LGPLv2.1 with exceptions
for some plugins in bad and ugly modules that has GPLv2+.

For the GPLv2+ this patch set this license only for each plugin
that is affected by by that, using the new GSTREAMER_GPL.

CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
(From OE-Core rev: 25ea8753e2d1dc4e1aa01b4800da532ca1aecec7)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Ross Burton
bcd7e29a3b setuptools_build_meta: clean up configure/compile
Make do_configure do nothing by default as the base configure isn't
useful, and invoke the build API directly instead of writing a script.

In the future, this can simply call python3-build.

(From OE-Core rev: ccad9d0218ef69bdb8c708029445fcd661f1c490)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Ross Burton
025fa5266e flit_core: clean up configure/compile
Make do_configure do nothing by default as the base configure isn't
useful, and invoke the build API directly instead of writing a script.

In the future, this can simply call python3-build.

(From OE-Core rev: 2d80529a486d25ad96c448499392547e82779de4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Ross Burton
17b0f1ecc6 python3-pip: remove obsolete and confusing comment
This comment is very obsolete.

(From OE-Core rev: 147875f0bf7b68694c0338b6f212b03bfdca2ea8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
Ross Burton
3046042ea4 pip_install_wheel: don't lazy assign PIPINSTALLARGS
If we expect users to extend this we should use =, as otherwise a recipe
that does += will replace the default value.

(From OE-Core rev: fdaf5e0027a52e44f2def0ef240134763660aa00)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
Ross Burton
c38a95d4f5 pip_install_wheel: clean up
There's been a lot of work in this class lately, so a little spring
cleaning is needed.

Remove redundant creation of PYTHON_SITEPACKAGES_DIR, pip will do that.

Remove redundant export of PYPA_WHEEL.

Simplyify recompile code using "realpath --relative-to".

(From OE-Core rev: cb56166eef34ba4937dc487664c57815daeadbe8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
Ross Burton
2552f836c9 setuptools3.bbclass: clean up
There's been a lot of work in this class lately, so a little spring
cleaning is needed.

Create wheels verbosely to help debug problems.

Remove unused SETUPTOOLS_INSTALL_ARGS, these can't be passed to
bdist_wheel.

Remove duplicate manipulation of files in bindir as pip_install_wheel
does the same.

Remove obsolete deletion of easy-install.pth, wheels don't generate that.

Remove obsolete ${datadir}/share fixup, pip-installed wheels can't
generate that path combination.

Remove purging of ${D} references from *.py, these won't be written by
standard setuptools, and recipes can do it themselves to work around
specific issues if needed.

Remove obsolete vardepsexclude of MACHINE on do_install, as that variable
isn't referenced.

(From OE-Core rev: 57c477ca13e352b6f9b21385abbfaad9778c6398)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
Richard Purdie
b678b7f0a0 vim: Update to 8.2.4524 for further CVE fixes
Includes CVE-2022-0696, CVE-2022-0714, CVE-2022-0729.

(From OE-Core rev: 0d29988958e48534a0076307bb2393a3c1309e03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
wangmy
2c9d9bc342 cmake: upgrade 3.22.2 -> 3.22.3
refresh 0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch

Changelog:
==========
* The :command:'while' command again ignores errors in condition evaluation
  as CMake 3.21 and below did.  This bug was fixed in 3.22.0, but exposed
  errors in existing projects.  The fix has been reverted to restore
  compatibility.  The fix may be restored in a future version of CMake
  via a policy.

(From OE-Core rev: 146ceceaf81639085a82fd94d30ea84150a75e3a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
wangmy
d1394e7707 python3-hypothesis: upgrade 6.39.0 -> 6.39.2
Changelog from 6.39.0 to 6.39.2
==============================
- fixes a regression where the bound inner function
("your_test.hypothesis.inner_test") would be invoked with positional
arguments rather than passing them by name, which broke pytest-asyncio
(issue #3245).

- clarifies rare error messages in "builds()" (issue #3225)
and "floats()" (issue #3207).

(From OE-Core rev: ae25cd186c3e0771ef9a3fe10fe7a75c8bde2f66)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Jose Quaresma
ec9fb2e37a gstreamer1.0-plugins-packaging: rename variables
(From OE-Core rev: f95d1ea7f481a3029267ad3536dbe45ae28c6ed7)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Jose Quaresma
243394eba1 gstreamer1.0-plugins-base: libgst is already defined on PACKAGES_DYNAMIC
PACKAGES_DYNAMIC in gstreamer1.0-plugins-packaging.inc have libgst since 768d621

(From OE-Core rev: a5908b0cb75c2ff0d0b4edd3adeaf82b2fed19cb)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Markus Volk
daa3128516 libxslt: update to v1.1.35
Security

[CVE-2021-30560] Fix use-after-free in xsltApplyTemplates
Fix memory leak in xsltDocumentElem (David King)
Fix memory leak in xsltCompileIdKeyPattern (David King)
Fix double-free with stylesheets containing entity nodes

Fixed regressions

Fix performance regression with predicates in patterns
Fix regression in xsltComputeSortResult

Bug fixes

Fix conflict resolution for templates with same priority
Fix xsl:number generating invalid UTF-8
Support attribute value templates in xsl:sort lang attributes
Don't pass first xsl:sort in xsl:apply-templates twice
Fix quadratic runtime with text and xsl:message

Don't allow empty EXSLT durations

Improvements

Add xsltproc --huge Argument via libxml XML_PARSE_HUGE (William N. Braswell, Jr.)

Tests, code quality, fuzzing

Remove .travis.yml
Fix some misleading indentation (David King)
Use actual types for templates in struct _xsltStylesheet
Add CI for CMake on MSVC (Markus Rickert)
Check for null pointer before calling freelocale
Add CI test for Python 3
Don't set maxDepth in XPath contexts
Transfer XPath limits to XPtr context
Stop using maxParserDepth XPath limit
Make long-to-double cast explicit in date.c
Disable LeakSanitizer
Run clang CI tests with -Wimplicit-int-conversion
Fix implicit-int-conversion warning in exslt/crypto.c
Fix clang -Wimplicit-int-conversion warning (David Kilzer)
Fix clang -Wconditional-uninitialized warning in libxslt/numbers.c (David Kilzer)
Fix -Wshadow warnings in libexslt/dynamic.c (David Kilzer)
Also search parent dir for source XML when fuzzing

Build system, portability

Add CMake build files (Markus Rickert)
Initial support for Python 3 (Suleyman Poyraz)
Call ANSI versions of WinAPI functions explicitly
Remove redundant flags from pkg-config files
Suppress automake warning in tests/XSLTMark
Fix linking libexslt dynamic library when using MinGW (Vadim Zeitlin)
Added platform specific path separators (Dmitriy Korovkin)
win32: allow passing *FLAGS on command line
Fix export of xsltExtMarker on Windows (David Kilzer)
Fix redundant includes already in libexslt.h (David Kilzer)
Minor fixes to configure.js
Fix variable syntax in Python configuration
Add new EXSLT string tests to EXTRA_DIST
Fix xml2-config check in configure script
win32: Add configuration for profiler (Chun-wei Fan)
Check whether 'xml2-config --dynamic' is supported

Documentation

Add Makefile rule to regenerate xsltproc.html
Update links
Remove MAINTAINERS
Upload documentation to GitLab Pages
Add documentation in devhelp format
Add --enable-rebuild-docs configure option
Fix libexslt header summaries
Fix validity of tutorial XML (David King)
Use DocBook URL for tutorial DTD (David King)
Update libxslt.doap
Add missing options to xsltproc man page

(From OE-Core rev: 6b5b1486bbd381b2b657645e91a1712332ddcb94)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Robert Joslyn
37cd2999e7 curl: Update to 7.82.0
Includes bug fixes and feature updates, such as addition of a --json flag
and the removal of mesalink support. Changelog available at:
https://curl.se/changes.html#7_82_0

LIC_FILES_CHKSUM changed due to copyright year update. Now that the full
SPDX license list is supported, refine the license from MIT to
MIT-open-group. The curl license contains the additional advertising
clause present in the Open Group variant.

Use a weak assignment with the RANDOM variable to make changes via
bbappend easier.

(From OE-Core rev: 5186d399b4e24273a35c9ad8b0c6fac8d626911a)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Jose Quaresma
dc9ea6b8eb sstate: inside the threadedpool don't write to the shared localdata
When inside the threadedpool we make a copy of the localdata
to avoid some race condition, so we need to use this new
localdata2 and stop write the shared localdata.

(From OE-Core rev: 1fa763b2022822a76fde541724e83e1977833d03)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Christian Eggers
0e702fff26 license: expand_wildcard_licenses: add AGPL-3.0* wildcard
The Yocto reference manual suggests also settings AGPL-3.0 in
INCOMPATIBLE_LICENSE.

https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-INCOMPATIBLE_LICENSE

Fixes: 724fc8047cae ("license: Rework INCOMPATIBLE_LICENSE wildcard handling")
(From OE-Core rev: 5d5c999ec0a40e3fa14041c35035c8cd4a1da01d)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Khem Raj
7493b054f9 kmscube: Fix build when x11 is absent in distro features
distros might use openGL but not x11 ( e.g. EGL ), therefore fix build for such
combination

(From OE-Core rev: 2b3ee9ac02ebeaee20be3460010005a4697ab402)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Richard Purdie
afbdba9b12 build-appliance-image: Update to master head revision
(From OE-Core rev: 4caea2d32f177fbbe3887f37b6700b2b4996b2be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 17:38:50 +00:00
Richard Purdie
0d518533e2 expat: Upgrade 2.4.6 -> 2.4.7
(From OE-Core rev: 62a797b863c443f35a5ae9483c12108fcf24b606)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 17:38:30 +00:00
Richard Purdie
e95fedc49c bitbake: knotty: Improve setscene task display
There is general agreement the current display of the total setscene and
executed full tasks is confusing. Fixing it is tricky to be clear to new
users whilst not wasting screen real estate for experienced users and not
compromisng features like the progress bar.

As a compromise, move the setscene total to the previous line making
the status display a two line summary for interactive terminals. This
makes it clear what two of the numbers represent (setscene task) whilst
separating this out from the other items.

Also tweak the non-interactive output to use a comma as a separator,
the use of the forward slash was a poor choice.

(Bitbake rev: 8055ec360507e6a678ee5c4018ec1ab7f5a9cce5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 17:38:30 +00:00
Richard Purdie
c9b71a9817 bitbake: knotty: Correctly handle multiple line items
Currently the footer code doesn't quite handle multiline items correct.
Fix this to do so.

(Bitbake rev: 8eeccf73185d986c6abd6426b1d1e72da3a982df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 17:38:30 +00:00
Khem Raj
d10f58d298 packagegroup-core-tools-profile: Enable systemtap for riscv64
(From OE-Core rev: 5af78e5fbfd3f47142eb7961f3258fa2a56f0c3d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 11:39:08 +00:00
Khem Raj
07b01b2ece systemtap: Enable for riscv64
(From OE-Core rev: a209c05dcb631eb85d67c40727623a4c131071fa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 11:39:08 +00:00
Michael Opdenacker
3704d5036b bitbake: bitbake-user-manual: further override syntax updates
(Bitbake rev: 1b026644c3312aa3e0a01cfa31758963926b091a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 11:39:08 +00:00
Konrad Weihmann
370ca1d1bd setuptools_build_meta: remove python dependency
when building additional native python tools that should be used
for additional tasks in python3 package (class-target), the dependency
on target class python creates a dependency loop:

python3-foo-native_1.2.3.bb:do_prepare_recipe_sysroot
python3-pep8-native_1.7.1.bb:do_populate_sysroot
python3-wheel_0.37.1.bb:do_populate_sysroot
python3-bar-native_0.1.2.bb:do_populate_sysroot
python3-pip_22.0.3.bb:do_populate_sysroot
python3-pyflakes-native_2.4.0.bb:do_populate_sysroot
python3_3.10.2.bb:do_populate_sysroot
python3-foo-native_1.2.3_1.2.0.bb:do_fetch
python3-setuptools_59.5.0.bb:do_populate_sysroot

resolve this by removing python3 from DEPENDS.
The correct dependencies are already injected by
setuptools-base class

(From OE-Core rev: bd9f9a369160164beade2c12f344b7f5c2b18427)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
b1a26ed853 linux-yocto/5.15: riscv32: drop MAXPHYSMEM_1GB
Integrating the following commit(s) to linux-yocto/.:

    ea948a0983d riscv32: drop MAXPHYSMEM_128GB

(From OE-Core rev: 8517e9db5306af0a3d6e341400d88a4ef28044fa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
1f659763bc linux-yocto/5.10: update to v5.10.103
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    915a747ac7f3 Linux 5.10.103
    78706b051a8a memblock: use kfree() to release kmalloced memblock regions
    4185b788d3ad gpio: tegra186: Fix chip_data type confusion
    bb2e0a77235a tty: n_gsm: fix deadlock in gsmtty_open()
    e4c8cb95d035 tty: n_gsm: fix wrong tty control line for flow control
    1f0641dd0b6c tty: n_gsm: fix NULL pointer access due to DLCI release
    1e35cb9e1271 tty: n_gsm: fix proper link termination after failed open
    90b47e617fb2 tty: n_gsm: fix encoding of control signal octet bit DV
    9e2dbc31e367 riscv: fix oops caused by irqsoff latency tracer
    e098933866f9 thermal: int340x: fix memory leak in int3400_notify()
    5b1cef5798b4 RDMA/cma: Do not change route.addr.src_addr outside state checks
    8fe4da55246a driver core: Free DMA range map when device is released
    214824764308 xhci: Prevent futile URB re-submissions due to incorrect return value.
    0b0a229da1f2 xhci: re-initialize the HC during resume if HCE was set
    328faee6d409 usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
    e57bdee8661e usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
    99b2425d9178 usb: dwc2: drd: fix soft connect when gadget is unconfigured
    c7866880377b USB: serial: option: add Telit LE910R1 compositions
    220ba174f192 USB: serial: option: add support for DW5829e
    3a1dd56e566f tracefs: Set the group ownership in apply_options() not parse_options()
    bfa8ffbaaaaf USB: gadget: validate endpoint index for xilinx udc
    4ce247af3f30 usb: gadget: rndis: add spinlock for rndis response list
    ddc254fc8873 Revert "USB: serial: ch341: add new Product ID for CH341A"
    d3fce1b6bd95 ata: pata_hpt37x: disable primary channel on HPT371
    18701d8afaa1 sc16is7xx: Fix for incorrect data being transmitted
    d5ddd7343adf iio: Fix error handling for PM
    eabcc609cb8a iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot
    b8d411a96227 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
    1aa12ecfdcba iio: adc: men_z188_adc: Fix a resource leak in an error handling path
    afbeee13beb5 tracing: Have traceon and traceoff trigger honor the instance
    99eb8d694174 RDMA/ib_srp: Fix a deadlock
    a7ab53d3c27d configfs: fix a race in configfs_{,un}register_subsystem()
    0ecd3e35d78e RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close
    b0ecf9e59414 RDMA/rtrs-clt: Kill wait_for_inflight_permits
    8260f1800f83 RDMA/rtrs-clt: Fix possible double free in error case
    dc64aa4c7dc0 regmap-irq: Update interrupt clear register for proper reset
    2efece1368ae spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
    67819b983eb3 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets
    be55d3e76c0e net/mlx5: Fix wrong limitation of metadata match on ecpf
    8d617110d78e net/mlx5: Fix possible deadlock on rule deletion
    1c5912895545 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
    a184f4dd9b33 surface: surface3_power: Fix battery readings on batteries without a serial number
    91f56a85278e net/smc: Use a mutex for locking "struct smc_pnettable"
    7e9880e81d3f netfilter: nf_tables: fix memory leak during stateful obj update
    af4bc921d39d nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
    58a6d5f24f49 net: Force inlining of checksum functions in net/checksum.h
    550d98ab3007 net: ll_temac: check the return value of devm_kmalloc()
    0fc184735996 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
    bc8f768af342 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
    fd020eaaa24a drm/edid: Always set RGB444
    1df9d552fe84 openvswitch: Fix setting ipv6 fields causing hw csum failure
    dac2490d9ee0 gso: do not skip outer ip header in case of ipip and net_failover
    b692d5dc6f54 tipc: Fix end of loop tests for list_for_each_entry()
    c5722243d0e5 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    4a93c6594613 io_uring: add a schedule point in io_add_buffers()
    7ef94bfb08fb bpf: Add schedule points in batch ops
    4f5d47e6b43f selftests: bpf: Check bpf_msg_push_data return value
    d0caa7218d76 bpf: Do not try bpf_msg_push_data with len 0
    962b2a3188bf hwmon: Handle failure to register sensor with thermal zone correctly
    d8b78314c5ba bnxt_en: Fix active FEC reporting to ethtool
    7e1eae5d1a7c bnx2x: fix driver load from initrd
    51e96061c66c perf data: Fix double free in perf_session__delete()
    5419b5be883b ping: remove pr_err from ping_lookup
    5da17865c7f3 optee: use driver internal tee_context for some rpc
    eb354613847d tee: export teedev_open() and teedev_close_context()
    bae7fc6f0dc6 x86/fpu: Correct pkru/xstate inconsistency
    68f19845f580 netfilter: nf_tables_offload: incorrect flow offload action array size
    69560efa0013 CDC-NCM: avoid overflow in sanity checking
    2aeba1ea7ce8 USB: zaurus: support another broken Zaurus
    4f5f5411f0c1 sr9700: sanity check for packet length
    55eec5c630ea drm/i915: Correctly populate use_sagv_wm for all pipes
    ff9134882dfa drm/amdgpu: disable MMHUB PG for Picasso
    72fdfc75d421 KVM: x86/mmu: make apf token non-zero to fix bug
    646b532f32ea parisc/unaligned: Fix ldw() and stw() unalignment handlers
    397b5433f742 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    698dc7d13c4e vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    84e303b4d53f clk: jz4725b: fix mmc0 clock gating
    72a5b01875b2 btrfs: tree-checker: check item_size for dev_item
    5c967dd07311 btrfs: tree-checker: check item_size for inode_item
    fcec42dd28d6 cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    47667effb7d2 Linux 5.10.102
    6062d1267ff3 lockdep: Correct lock_classes index mapping
    f333c1916fd6 i2c: brcmstb: fix support for DSL and CM variants
    9fee985f9afa copy_process(): Move fd_install() out of sighand->siglock critical section
    e3fdbc40b750 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()
    b5b2a9211713 i2c: qcom-cci: don't delete an unregistered adapter
    3b6d25d1b6a2 dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
    2c35c95d3640 dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe
    4f907b6eb701 dmaengine: sh: rcar-dmac: Check for error num after setting mask
    797b380f0756 net: sched: limit TC_ACT_REPEAT loops
    595c259f75ae EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
    f6ce4e328939 scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
    3680b2b8104b kconfig: fix failing to generate auto.conf
    b6787e284d3d net: macb: Align the dma and coherent dma masks
    439171a2917c net: usb: qmi_wwan: Add support for Dell DW5829e
    15616ba17d02 tracing: Fix tp_printk option related with tp_printk_stop_on_boot
    5a253a23d9f1 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
    1e7433fb95cc xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
    a21f472fb5cc soc: aspeed: lpc-ctrl: Block error printing on probe defer cases
    fecb05b1ce6b ata: libata-core: Disable TRIM on M88V29
    b19ec7afa929 lib/iov_iter: initialize "flags" in new pipe_buffer
    30455322787a kconfig: let 'shell' return enough output for deep path names
    e05dde47f52a selftests: fixup build warnings in pidfd / clone3 tests
    531a56c2e0bf pidfd: fix test failure due to stack overflow on some arches
    429ef36c4fc4 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
    1415f22ee541 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
    605080f19eb7 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
    eefb68794f94 netfilter: conntrack: don't refresh sctp entries in closed state
    1ab48248573b irqchip/sifive-plic: Add missing thead,c900-plic match string
    98bc06c46d1f phy: usb: Leave some clocks running during suspend
    717f2fa85822 ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
    6932353af74c ARM: OMAP2+: hwmod: Add of_node_put() before break
    521dcc107e39 NFS: Don't set NFS_INO_INVALID_XATTR if there is no xattr cache
    fb00319afb72 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
    0ee4bb8ce8b8 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
    99cd2a043760 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
    91d8866ca552 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
    a176d559e826 mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
    1a49b1b0b0cb mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
    8c848744c11b tty: n_tty: do not look ahead for EOL character past the end of the buffer
    8daa0436ce79 NFS: Do not report writeback errors in nfs_getattr()
    f9b7385c0f62 NFS: LOOKUP_DIRECTORY is also ok with symlinks
    598dbaf74b64 block/wbt: fix negative inflight counter when remove scsi device
    dc6faa0ede4d ASoC: tas2770: Insert post reset delay
    9dcedbe943be KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests
    a4eeeaca5019 mtd: rawnand: gpmi: don't leak PM reference in error path
    fb26219b4046 powerpc/lib/sstep: fix 'ptesync' build error
    54f76366cd01 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
    0df1badfdfcd ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
    1ef76832fef3 ALSA: hda: Fix missing codec probe on Shenker Dock 15
    c72c3b597a79 ALSA: hda: Fix regression on forced probe mask option
    63b1602c2fd5 ALSA: hda/realtek: Fix deadlock by COEF mutex
    b6a5e8f45f89 ALSA: hda/realtek: Add quirk for Legion Y9000X 2019
    67de71b94331 selftests/exec: Add non-regular to TEST_GEN_PROGS
    d3018a196221 perf bpf: Defer freeing string after possible strlen() on it
    016e3ca9c588 dpaa2-eth: Initialize mutex used in one step timestamping path
    50f3b00d4c7b libsubcmd: Fix use-after-free for realloc(..., 0)
    ffa8df4f0e8f bonding: fix data-races around agg_select_timer
    d9bd9d4c60c3 net_sched: add __rcu annotation to netdev->qdisc
    877a05672f95 drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
    a0e004e6206e bonding: force carrier update when releasing slave
    8dec3c4e7350 ping: fix the dif and sdif check in ping_lookup
    6793a9b028ce net: ieee802154: ca8210: Fix lifs/sifs periods
    f48bd3413771 net: dsa: lantiq_gswip: fix use after free in gswip_remove()
    d9b2203e5a30 net: dsa: lan9303: fix reset on probe
    4f523f15e5d7 ipv6: per-netns exclusive flowlabel checks
    100344200a0c netfilter: nft_synproxy: unregister hooks on init error path
    26931971db5f selftests: netfilter: fix exit value for nft_concat_range
    b26ea3f6b7b0 iwlwifi: pcie: gen2: fix locking when "HW not ready"
    8867f993790d iwlwifi: pcie: fix locking when "HW not ready"
    f3c1910257c8 drm/i915/gvt: Make DRM_I915_GVT depend on X86
    87cd1bbd6677 vsock: remove vsock from connected table when connect is interrupted by a signal
    eb7bf11e8ef1 drm/i915/opregion: check port number bounds for SWSCI display power state
    5564d83ebc1b drm/radeon: Fix backlight control on iMac 12,1
    008508c16af0 iwlwifi: fix use-after-free
    44b81136e868 kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled
    8b53e5f737bc kbuild: lto: merge module sections
    45102b538a9e random: wake up /dev/random writers after zap
    143aaf79bafa gcc-plugins/stackleak: Use noinstr in favor of notrace
    de55891e162c Revert "module, async: async_synchronize_full() on module init iff async is used"
    3c958dbcba18 x86/Xen: streamline (and fix) PV CPU enumeration
    e76d0a9692c5 drm/amdgpu: fix logic inversion in check
    324f5bdc52ec nvme-rdma: fix possible use-after-free in transport error_recovery work
    e192184cf8bc nvme-tcp: fix possible use-after-free in transport error_recovery work
    0ead57ceb21b nvme: fix a possible use-after-free in controller reset during load
    fe9ac3eaa2e3 scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
    d872e7b5fe38 scsi: pm8001: Fix use-after-free for aborted TMF sas_task
    1e73f5cfc160 quota: make dquot_quota_sync return errors from ->sync_fs
    c405640aad56 vfs: make freeze_super abort when sync_filesystem returns error
    b9a229fd48bf ax25: improve the incomplete fix to avoid UAF and NPD bugs
    139fce2992ee selftests: skip mincore.check_file_mmap when fs lacks needed support
    204a2390da42 selftests: openat2: Skip testcases that fail with EOPNOTSUPP
    2be48bfac713 selftests: openat2: Add missing dependency in Makefile
    74a30666b4b5 selftests: openat2: Print also errno in failure messages
    bfc84cfd909b selftests/zram: Adapt the situation that /dev/zram0 is being used
    f0eba714c11d selftests/zram01.sh: Fix compression ratio calculation
    7bb704b69fb1 selftests/zram: Skip max_comp_streams interface on newer kernel
    0fd484644c68 net: ieee802154: at86rf230: Stop leaking skb's
    0c18a751930c kselftest: signal all child processes
    1136141f19ab selftests: rtc: Increase test timeout so that all tests run
    79175b6ee658 platform/x86: ISST: Fix possible circular locking dependency detected
    066c905ed06c platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1
    0b17d4b51c63 btrfs: send: in case of IO error log it
    78a68bbebdcc parisc: Add ioread64_lo_hi() and iowrite64_lo_hi()
    ade1077c7fc0 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology
    254090925e16 mm: don't try to NUMA-migrate COW pages that have other uses
    ab2b4e65a130 mmc: block: fix read single on recovery logic
    775671687299 parisc: Fix sglist access in ccio-dma.c
    f8f519d7df66 parisc: Fix data TLB miss in sba_unmap_sg
    4d569b959e54 parisc: Drop __init from map_pages declaration
    8e3f9a098eca serial: parisc: GSC: fix build when IOSAPIC is not set
    fe383750d40d Revert "svm: Add warning message for AVIC IPI invalid target"
    126382b5565f HID:Add support for UGTABLET WP5540
    f100e758cef5 scsi: lpfc: Fix mailbox command failure during driver initialization
    4578b979ef61 can: isotp: add SF_BROADCAST support for functional addressing
    5d42865fc311 can: isotp: prevent race between isotp_bind() and isotp_setsockopt()
    db3f3636e4ae fs/proc: task_mmu.c: don't read mapcount for migration entry
    0849f83e4782 fget: clarify and improve __fget_files() implementation
    657991fb06a4 rcu: Do not report strict GPs for outgoing CPUs
    8c8385972ea9 mm: memcg: synchronize objcg lists with a dedicated spinlock
    d0f4aa2d978f drm/nouveau/pmu/gm200-: use alternate falcon reset sequence

(From OE-Core rev: 1e234210aa40655d14cf6c5b12cd5d39b460b1e9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
cb12bb2329 linux-yocto/5.15: update to v5.15.26
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    8993e6067f26 Linux 5.15.26
    3c805fce07c9 ice: fix concurrent reset and removal of VFs
    26bc7197f9d3 ice: Fix race conditions between virtchnl handling and VF ndo ops
    fd21a0b6da94 memblock: use kfree() to release kmalloced memblock regions
    83f331d1debb gpio: tegra186: Fix chip_data type confusion
    a15769155440 pinctrl: k210: Fix bias-pull-up
    e3a751ee48f9 pinctrl: fix loop in k210_pinconf_get_drive()
    92cab57ea6d7 tty: n_gsm: fix deadlock in gsmtty_open()
    06bce5327b76 tty: n_gsm: fix wrong modem processing in convergence layer type 2
    1bc6f3b19bc6 tty: n_gsm: fix wrong tty control line for flow control
    50cacb783bb3 tty: n_gsm: fix NULL pointer access due to DLCI release
    519d0b389c10 tty: n_gsm: fix proper link termination after failed open
    4f0ab1c8a5a6 tty: n_gsm: fix encoding of control signal octet bit DV
    1851b9a46706 riscv: fix oops caused by irqsoff latency tracer
    e0ff4dffded5 riscv: fix nommu_k210_sdcard_defconfig
    72aa720acacf IB/qib: Fix duplicate sysfs directory name
    7a7e1b3aeef7 tps6598x: clear int mask on probe failure
    bde6a6b111b9 staging: fbtft: fb_st7789v: reset display before initialization
    ba9efbbf6745 thermal: int340x: fix memory leak in int3400_notify()
    00265efbd3e5 RDMA/cma: Do not change route.addr.src_addr outside state checks
    8df508b7a44c btrfs: prevent copying too big compressed lzo segment
    d2bef2cbd3b1 driver core: Free DMA range map when device is released
    453a82127f17 mtd: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    fcd3f5906d64 nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    ce94606060d7 xhci: Prevent futile URB re-submissions due to incorrect return value.
    c8b38e557414 xhci: re-initialize the HC during resume if HCE was set
    88f69c64443f usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
    83e0190fb77c usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
    e62f41a6528f usb: dwc3: pci: Add "snps,dis_u2_susphy_quirk" for Intel Bay Trail
    943a914d3dab usb: dwc2: drd: fix soft connect when gadget is unconfigured
    85171fbf714c USB: serial: option: add Telit LE910R1 compositions
    c331aa7e7064 USB: serial: option: add support for DW5829e
    6db927ce66ac tracefs: Set the group ownership in apply_options() not parse_options()
    2c775ad1fd5e USB: gadget: validate endpoint index for xilinx udc
    da514063440b usb: gadget: rndis: add spinlock for rndis response list
    f7c9fd0dff99 Revert "USB: serial: ch341: add new Product ID for CH341A"
    27089f04fac6 ata: pata_hpt37x: disable primary channel on HPT371
    4e508c593573 sc16is7xx: Fix for incorrect data being transmitted
    72b0fba2dd4d iio: Fix error handling for PM
    1f05c7568445 iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot
    c77f4ae7bd43 iio: accel: fxls8962af: add padding to regmap for SPI
    ca9d1799be68 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
    0cb9b2f73c18 iio: adc: tsc2046: fix memory corruption by preventing array overflow
    fe7347780298 iio: adc: men_z188_adc: Fix a resource leak in an error handling path
    7bdf7d5f0cbd iio:imu:adis16480: fix buffering for devices with no burst mode
    9000406481a5 tracing: Have traceon and traceoff trigger honor the instance
    7e35b31e2cee tracing: Dump stacktrace trigger to the corresponding instance
    c8b56e51aa91 RDMA/ib_srp: Fix a deadlock
    e7a66dd26877 configfs: fix a race in configfs_{,un}register_subsystem()
    a94879d41917 bnxt_en: Increase firmware message response DMA wait time
    27440589551f RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close
    bf2cfad0c6e4 RDMA/rtrs-clt: Fix possible double free in error case
    ff999198ec21 net-timestamp: convert sk->sk_tskey to atomic_t
    d99dcdabc52a regmap-irq: Update interrupt clear register for proper reset
    43221f446c02 gpio: rockchip: Reset int_bothedge when changing trigger
    3c32405d6474 spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
    2378f94c8d9b net/mlx5: Update log_max_qp value to be 17 at most
    6e94d2863384 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets
    95c1867704d0 net/mlx5e: MPLSoUDP decap, fix check for unsupported matches
    d4d188487ddc net/mlx5: DR, Fix the threshold that defines when pool sync is initiated
    9703a9e2f968 net/mlx5: Fix wrong limitation of metadata match on ecpf
    f63548dd05ab net/mlx5: Fix possible deadlock on rule deletion
    837b0d2e69e8 net/mlx5: DR, Don't allow match on IP w/o matching on full ethertype/ip_version
    954997aeb8f2 ibmvnic: schedule failover only if vioctl fails
    117a5a7f019e net/mlx5: DR, Cache STE shadow memory
    6b6094db77e6 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
    4039254acbd4 surface: surface3_power: Fix battery readings on batteries without a serial number
    062772d5cc8c net/smc: Use a mutex for locking "struct smc_pnettable"
    e96e204ee6fa netfilter: nf_tables: fix memory leak during stateful obj update
    7d258451d345 net: mdio-ipq4019: add delay after clock enable
    9d8097caa732 nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
    8ffb8ac34488 netfilter: nf_tables: unregister flowtable hooks on netns exit
    2e15fa8091de net: Force inlining of checksum functions in net/checksum.h
    be2d38247657 net: ll_temac: check the return value of devm_kmalloc()
    a95ea90deb30 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
    d064d0c39405 drm/i915/dg2: Print PHY name properly on calibration error
    eae86ab32069 drm/vc4: crtc: Fix runtime_pm reference counting
    163e50b00530 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
    143dafa60aa7 drm/edid: Always set RGB444
    f941104aa116 openvswitch: Fix setting ipv6 fields causing hw csum failure
    62ca33976ddc net: mv643xx_eth: process retval from of_get_mac_address
    899e56a1ad43 gso: do not skip outer ip header in case of ipip and net_failover
    0a9bc4179c30 tipc: Fix end of loop tests for list_for_each_entry()
    8270e92a0e42 nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info
    6f2e0ae12aa8 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    c718ea4e7382 io_uring: add a schedule point in io_add_buffers()
    8628f489b749 bpf: Add schedule points in batch ops
    976406c5cc00 bpf: Fix a bpf_timer initialization issue
    755d4b744056 selftests: bpf: Check bpf_msg_push_data return value
    5d75e374eb77 bpf: Do not try bpf_msg_push_data with len 0
    719d1c2524c8 bpf: Fix crash due to incorrect copy_map_value
    de49b0e1cf62 net/mlx5: Update the list of the PCI supported devices
    9594d817b5eb ice: initialize local variable 'tlv'
    b3615ea66b91 ice: check the return of ice_ptp_gettimex64
    7e8da9964437 net/mlx5: Fix tc max supported prio for nic mode
    7efe8499cb90 hwmon: Handle failure to register sensor with thermal zone correctly
    86da2e4a1284 bnxt_en: Fix incorrect multicast rx mask setting when not requested
    24931b4d199e bnxt_en: Fix offline ethtool selftest with RDMA enabled
    f84bbb9893bd bnxt_en: Fix active FEC reporting to ethtool
    1243861bc002 bnx2x: fix driver load from initrd
    7c844c7af784 selftests: mptcp: be more conservative with cookie MPJ limits
    f76977643339 selftests: mptcp: fix diag instability
    f25ae162f4b3 mptcp: add mibs counter for ignored incoming options
    150d1e06c4f1 mptcp: fix race in incoming ADD_ADDR option processing
    40bbab9d4ed7 perf data: Fix double free in perf_session__delete()
    05ef4f56173e perf evlist: Fix failed to use cpu list for uncore events
    0b92b5f4c50b gpu: host1x: Always return syncpoint value when waiting
    734d80b4365a Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC"
    1cfb33b338fb ping: remove pr_err from ping_lookup
    2922aff43397 optee: use driver internal tee_context for some rpc
    0efdc0360395 tee: export teedev_open() and teedev_close_context()
    6c5d780469d6 netfilter: nf_tables_offload: incorrect flow offload action array size
    144f3008524c netfilter: xt_socket: missing ifdef CONFIG_IP6_NF_IPTABLES dependency
    cb2313b216be netfilter: xt_socket: fix a typo in socket_mt_destroy()
    49909c9f8458 CDC-NCM: avoid overflow in sanity checking
    4b77aab7ada7 USB: zaurus: support another broken Zaurus
    9f2d61477990 sr9700: sanity check for packet length
    0726fca0b6cc drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV
    1b4445e09df8 drm/i915: Correctly populate use_sagv_wm for all pipes
    7782e3c4e539 drm/i915: Widen the QGV point mask
    8840d963e566 drm/amdgpu: do not enable asic reset for raven2
    70b2413ac30c drm/amdgpu: disable MMHUB PG for Picasso
    ea44fcee7e3d drm/amd: Check if ASPM is enabled from PCIe subsystem
    c00e4c01f470 drm/amd/pm: fix some OEM SKU specific stability issues
    211b67fb5a49 drm/amd/display: Protect update_bw_bounding_box FPU code.
    4c3644b6c96c KVM: x86/mmu: make apf token non-zero to fix bug
    759e5dc6554d parisc/unaligned: Fix ldw() and stw() unalignment handlers
    bf0b3d61e002 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    960d474e451b vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    af091cc27e37 selinux: fix misuse of mutex_is_locked()
    0d773aaf5a90 io_uring: disallow modification of rsrc_data during quiesce
    7c83437fb3ae io_uring: don't convert to jiffies for waiting on timeouts
    6d20ff677349 clk: jz4725b: fix mmc0 clock gating
    b80fbc20f334 btrfs: tree-checker: check item_size for dev_item
    7e80846a9927 btrfs: tree-checker: check item_size for inode_item
    a6d9692cadb9 x86/ptrace: Fix xfpregs_set()'s incorrect xmm clearing
    ebeb7b73571e cgroup-v1: Correct privileges check in release_agent writes
    ffed0bf6a63d cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    f89903ae99bd mm/filemap: Fix handling of THPs in generic_file_buffered_read()
    1e7beca28299 Linux 5.15.25
    5dcc36569734 lockdep: Correct lock_classes index mapping
    c2df4c62a189 i2c: brcmstb: fix support for DSL and CM variants
    ec7d87b64e78 ice: enable parsing IPSEC SPI headers for RSS
    0b4ea5b72b17 scsi: qedi: Fix ABBA deadlock in qedi_process_tmf_resp() and qedi_process_cmd_cleanup_resp()
    795feafb7234 copy_process(): Move fd_install() out of sighand->siglock critical section
    3e41445287af dmaengine: ptdma: Fix the error handling path in pt_core_init()
    8641ceb41f30 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()
    7512f91bc313 i2c: qcom-cci: don't delete an unregistered adapter
    052707279e70 tests: fix idmapped mount_setattr test
    6b186a23af0d dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
    4f3a0737992c dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe
    62e228e3e169 dmaengine: sh: rcar-dmac: Check for error num after setting mask
    f4a821b098c5 net: sched: limit TC_ACT_REPEAT loops
    2b2be95b6013 ucounts: Move RLIMIT_NPROC handling after set_user
    b5f949d9a9c3 rlimit: Fix RLIMIT_NPROC enforcement failure caused by capability calls in set_user
    114e9f141822 lib/iov_iter: initialize "flags" in new pipe_buffer
    2d2d92cfcd3b ucounts: Enforce RLIMIT_NPROC not RLIMIT_NPROC+1
    efc853d8ffd5 ucounts: Base set_cred_ucounts changes on the real user
    f418bfabea43 ucounts: In set_cred_ucounts assume new->ucounts is non-NULL
    d464492eb391 ucounts: Handle wrapping in is_ucounts_overlimit
    e1e26697d032 EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
    e6da726eb67d scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
    3f2bc7f028f6 kconfig: fix failing to generate auto.conf
    88289d56cb28 net: macb: Align the dma and coherent dma masks
    b501b0f4e113 net: usb: qmi_wwan: Add support for Dell DW5829e
    1ddab2ee8829 drm/amd/display: fix yellow carp wm clamping
    929b2eddebc2 drm/amd/display: Cap pflip irqs per max otg number
    3fd92f5be6c4 display/amd: decrease message verbosity about watermarks table failure
    eb61dbb192b1 tracing: Fix tp_printk option related with tp_printk_stop_on_boot
    893297940084 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
    9921c866dc36 xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
    b5caba5efbab soc: aspeed: lpc-ctrl: Block error printing on probe defer cases
    71720cae1cad ata: libata-core: Disable TRIM on M88V29
    62542c5f18a1 kconfig: let 'shell' return enough output for deep path names
    004458327695 ACPI: PM: Revert "Only mark EC GPE for wakeup on Intel systems"
    246dfbc12539 mm: io_uring: allow oom-killer from io_uring_setup
    54d69f072d5e selftests: fixup build warnings in pidfd / clone3 tests
    fc6d187f2986 pidfd: fix test failure due to stack overflow on some arches
    9659711c3248 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
    42b3092ccfb1 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
    de3b10b7ccc6 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
    5644bf688e4a ksmbd: don't align last entry offset in smb2 query directory
    03dd71e0b9d8 ksmbd: fix same UniqueId for dot and dotdot entries
    7afed8b3608e netfilter: conntrack: don't refresh sctp entries in closed state
    f7b95b396700 x86/bug: Merge annotate_reachable() into _BUG_FLAGS() asm
    c4315bffe5d0 irqchip/sifive-plic: Add missing thead,c900-plic match string
    459b97c958c1 phy: phy-mtk-tphy: Fix duplicated argument in phy-mtk-tphy
    993db6da4aec staging: vc04_services: Fix RCU dereference check
    6a469cf7f372 phy: usb: Leave some clocks running during suspend
    9492e1e53e7d ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
    1587d6b1e0b9 ARM: OMAP2+: hwmod: Add of_node_put() before break
    5f45f96f4189 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
    0d3b91d4d9f5 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
    d8110cb2cf19 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
    c377e2ba78d3 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
    6936f02d14ed mtd: rawnand: ingenic: Fix missing put_device in ingenic_ecc_get
    de0d102d0c8c HID: elo: fix memory leak in elo_probe
    ffe36e3a991e mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
    9fd00a568663 mtd: phram: Prevent divide by zero bug in phram_setup()
    3eb5185896a6 mtd: parsers: qcom: Fix missing free for pparts in cleanup
    eb03cb6e03ff mtd: parsers: qcom: Fix kernel panic on skipped partition
    502f86f5168a mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
    e65450a12cf4 block: fix surprise removal for drivers calling blk_set_queue_dying
    e1dce8e127fd tty: n_tty: do not look ahead for EOL character past the end of the buffer
    21165833efa6 NFS: Do not report writeback errors in nfs_getattr()
    f1322f10f60c NFS: LOOKUP_DIRECTORY is also ok with symlinks
    f2238b4e83b6 NFS: Remove an incorrect revalidation in nfs4_update_changeattr_locked()
    4b9c861a589e block/wbt: fix negative inflight counter when remove scsi device
    a22b213139e0 ASoC: qcom: Actually clear DMA interrupt register for HDMI
    ce3e1f82da73 ASoC: tas2770: Insert post reset delay
    493c9e850677 scsi: ufs: Fix a deadlock in the error handler
    2af0fdfbfb37 scsi: ufs: Remove dead code
    84c109620fef tipc: fix wrong notification node addresses
    727dd33561d5 smb3: fix snapshot mount option
    4a7ec50298b1 mtd: rawnand: gpmi: don't leak PM reference in error path
    45948a4b1fd0 powerpc/lib/sstep: fix 'ptesync' build error
    0e0b5705640c powerpc/603: Fix boot failure with DEBUG_PAGEALLOC and KFENCE
    68b8924f6038 cifs: fix set of group SID via NTSD xattrs
    b4b8e7ae1346 ASoC: ops: Fix stereo change notifications in snd_soc_put_xr_sx()
    312d8074bc99 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_sx()
    ed1e33f121ea ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
    edb43ae4ca8d ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
    900d37d7d8ef ALSA: hda: Fix missing codec probe on Shenker Dock 15
    f9d9574a8ba8 ALSA: hda: Fix regression on forced probe mask option
    3b6134e35a60 ALSA: hda/realtek: Fix deadlock by COEF mutex
    a562de3b700a ALSA: hda/realtek: Add quirk for Legion Y9000X 2019
    2c9a7e11127e ALSA: usb-audio: revert to IMPLICIT_FB_FIXED_DEV for M-Audio FastTrack Ultra
    7285daaca3cd arm64: Correct wrong label in macro __init_el2_gicv3
    b04dcc00ae33 selftests/exec: Add non-regular to TEST_GEN_PROGS
    bf4161eb7e3b perf bpf: Defer freeing string after possible strlen() on it
    e8ba5b039eea net: bridge: multicast: notify switchdev driver whenever MC processing gets disabled
    6b1c9f99c2e6 dpaa2-eth: Initialize mutex used in one step timestamping path
    d3c9dd36ec24 dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key
    1a16f047946b tipc: fix wrong publisher node address in link publications
    868366d627e4 atl1c: fix tx timeout after link flap on Mikrotik 10/25G NIC
    0e6727589aea net: phy: mediatek: remove PHY mode check on MT7531
    7de7ba7a8bd4 net/smc: Avoid overwriting the copies of clcsock callback functions
    f8ba235c4927 libsubcmd: Fix use-after-free for realloc(..., 0)
    4c9f207810b7 bonding: fix data-races around agg_select_timer
    9bb363ba014f net_sched: add __rcu annotation to netdev->qdisc
    3077976a752a drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
    bdb6df9bedb3 bonding: force carrier update when releasing slave
    b9ff5667e116 ping: fix the dif and sdif check in ping_lookup
    392c42424ae0 net: ieee802154: ca8210: Fix lifs/sifs periods
    4b27446b538d net: dsa: lan9303: add VLAN IDs to master device
    860c5c275ed2 net: dsa: lan9303: handle hwaccel VLAN tags
    df2495f329b0 net: dsa: lantiq_gswip: fix use after free in gswip_remove()
    2566a89b9e16 net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN
    d8905a499af4 net: dsa: lan9303: fix reset on probe
    241e633cb379 cfg80211: fix race in netlink owner interface destruction
    c4caf72a42d3 brcmfmac: firmware: Fix crash in brcm_alt_fw_path
    00fb850c8a1a mac80211: mlme: check for null after calling kmemdup
    61e8fc49a9f8 Revert "net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname"
    d51cd648dbca ipv6: per-netns exclusive flowlabel checks
    3e11ef1903cf ipv6: mcast: use rcu-safe version of ipv6_get_lladdr()
    9ed25183e6d4 ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt
    db333693b052 ipv4: fix data races in fib_alias_hw_flags_set
    5dc653ef0785 selftests: netfilter: disable rp_filter on router
    2035d13eb12e netfilter: nft_synproxy: unregister hooks on init error path
    a1d9e1f14207 selftests: netfilter: fix exit value for nft_concat_range
    b10f4b00e10a iwlwifi: mvm: don't send SAR GEO command for 3160 devices
    c448b0541abf iwlwifi: pcie: gen2: fix locking when "HW not ready"
    78cd5c0acfed iwlwifi: pcie: fix locking when "HW not ready"
    79bdf56cc55d drm/i915/ttm: tweak priority hint selection
    e4778408c04d drm/i915/gvt: Make DRM_I915_GVT depend on X86
    02f7d38533ba drm/cma-helper: Set VM_DONTEXPAND for mmap
    787468ee7a43 vsock: remove vsock from connected table when connect is interrupted by a signal
    fe802b3fe763 drm/i915: Fix mbus join config lookup
    34f5556ddf2b drm/i915: Fix dbuf slice config lookup
    d006f2fe7d62 drm/i915/opregion: check port number bounds for SWSCI display power state
    960c8a55016b drm/amdgpu: skipping SDMA hw_init and hw_fini for S0ix.
    3851046599c1 drm/amd/pm: correct the sequence of sending gpu reset msg
    a1596e0277ed drm/atomic: Don't pollute crtc_state->mode_blob with error pointers
    68f3a4252e97 drm/radeon: Fix backlight control on iMac 12,1
    ddd46059f7d9 iwlwifi: fix use-after-free
    8209fede7d58 KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved state
    74b426bea4f7 KVM: x86: nSVM: fix potential NULL derefernce on nested migration
    417b87cb2311 KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT && !gCR0.PG case
    cd14c7342df5 KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a result of RSM
    b5c86e750388 KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU
    b16817a6de31 random: wake up /dev/random writers after zap
    effdcc250584 gcc-plugins/stackleak: Use noinstr in favor of notrace
    0a01326fddf6 Revert "module, async: async_synchronize_full() on module init iff async is used"
    769a6b33ec9f x86/Xen: streamline (and fix) PV CPU enumeration
    0fec53c5dca8 drm/amdgpu: fix logic inversion in check
    38108fd273ac drm/amd: Only run s3 or s0ix if system is configured properly
    72808bb42c87 drm/amd: add support to check whether the system is set to s3
    0ceba4d64fee net: sparx5: do not refer to skb after passing it on
    646952b2210f nvme-rdma: fix possible use-after-free in transport error_recovery work
    5e42fca37ccc nvme-tcp: fix possible use-after-free in transport error_recovery work
    e043fb5a0336 nvme: fix a possible use-after-free in controller reset during load
    64519c9e32ac drm/amd: Warn users about potential s0ix problems
    d9d93f32534a scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
    3c334cdfd949 scsi: pm8001: Fix use-after-free for aborted TMF sas_task
    f2c58667ffcd scsi: core: Reallocate device's budget map on queue depth change
    46756cc81099 kselftest: Fix vdso_test_abi return status
    3801775a07b5 scsi: pm80xx: Fix double completion for SATA devices
    64d6f76958c5 quota: make dquot_quota_sync return errors from ->sync_fs
    38f22c730c38 vfs: make freeze_super abort when sync_filesystem returns error
    5d3e1af11e07 pinctrl: bcm63xx: fix unmet dependency on REGMAP for GPIO_REGMAP
    4c958f0c5714 ax25: improve the incomplete fix to avoid UAF and NPD bugs
    bced176da6e0 selftests: skip mincore.check_file_mmap when fs lacks needed support
    7d10b671a052 selftests: openat2: Skip testcases that fail with EOPNOTSUPP
    04542fd44dd7 selftests: openat2: Add missing dependency in Makefile
    a613105e07b9 selftests: openat2: Print also errno in failure messages
    16d28de2f361 selftests/zram: Adapt the situation that /dev/zram0 is being used
    9172557bdf13 selftests/zram01.sh: Fix compression ratio calculation
    586ec7c0992a selftests/zram: Skip max_comp_streams interface on newer kernel
    23b2a2538240 net: ieee802154: at86rf230: Stop leaking skb's
    c99068d6839c kselftest: signal all child processes
    eb3b35385558 selftests: rtc: Increase test timeout so that all tests run
    ec1d9bb08850 kunit: tool: Import missing importlib.abc
    fdad28ff1d1d platform/x86: ISST: Fix possible circular locking dependency detected
    54688a550924 platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1
    7e234c47fd2f btrfs: send: in case of IO error log it
    94e76b372817 parisc: Add ioread64_lo_hi() and iowrite64_lo_hi()
    c7a4b1d155d3 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology
    7da6ba116cdc HID: amd_sfh: Correct the structure field name
    6b75f5c18f38 HID: amd_sfh: Increase sensor command timeout
    bdbc65eb77ee HID: i2c-hid: goodix: Fix a lockdep splat
    6451058f2720 HID: amd_sfh: Add illuminance mask to limit ALS max value
    b3dc4b9d3ca6 mm: don't try to NUMA-migrate COW pages that have other uses
    f3ff5f75d8f6 mmc: block: fix read single on recovery logic
    5b6e29b9306c parisc: Fix sglist access in ccio-dma.c
    8c8e949ae81e parisc: Fix data TLB miss in sba_unmap_sg
    9413b2e2bdb7 parisc: Drop __init from map_pages declaration
    35c955b5a45e serial: parisc: GSC: fix build when IOSAPIC is not set
    7a25d8249971 parisc: Show error if wrong 32/64-bit compiler is being used
    9750d45760c8 Revert "svm: Add warning message for AVIC IPI invalid target"
    65ad2f6191a6 HID:Add support for UGTABLET WP5540
    06bd0f157e70 scsi: lpfc: Fix mailbox command failure during driver initialization
    ae6ca6343929 btrfs: zoned: cache reported zone during mount
    a8dd0cfa3779 fs/proc: task_mmu.c: don't read mapcount for migration entry
    f0a60c7c4ede drm/nouveau/pmu/gm200-: use alternate falcon reset sequence

(From OE-Core rev: 9b036a879c88dcc2f5e20a9cb8c4690f6b58d5a9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
183db6b690 linux-yocto/5.15: arm defconfig fixes
Integrating the following commit(s) to linux-yocto/5.15:

    871f23ad3627 Revert "ARM: defconfig: Enable ax88796c driver for Exynos boards"
    ffad0783dd5b ARM: config: multi v7: Regenerate defconifg
    5c1e1a1ff2d3 ARM: config: multi v7: Add renamed symbols
    badaf96564fe ARM: config: multi v7: Clean up enabled by default options
    34996040fc9b ARM: config: multi v7: Drop unavailable options

(From OE-Core rev: bb5b53ac882cd19f3fd7b14a0c466355098af040)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
e7a5386da5 linux-yocto/5.10: Fix ramoops/ftrace
Integrating the following commit(s) to linux-yocto/5.10:

    253c752ed120 pstore/ftrace: Add and use ftrace_test_recursion_trylock_safe
    356e8a12bd66 pstore/ftrace: Add recursion protection to the ftrace callback
    334706a1e873 ftrace: Add ftrace_test_recursion_trylock() helper function
    78c260d7f60b ftrace: Move the recursion testing into global headers

(From OE-Core rev: b848a47033f492eaa0d5a02e42374b493734473e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
c327b9af67 linux-yocto/5.10: update to v5.10.101
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3969aba589d6 Linux 5.10.101
    cb86e511e78e iommu: Fix potential use-after-free during probe
    f6b5d51976fc perf: Fix list corruption in perf_cgroup_switch()
    ce3ca12c632a arm64: dts: imx8mq: fix lcdif port node
    759aeacdfe70 scsi: lpfc: Reduce log messages seen after firmware download
    57c5d7d42076 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
    199dab00f043 can: isotp: fix error path in isotp_sendmsg() to unlock wait queue
    3b10ebeb95d7 Makefile.extrawarn: Move -Wunaligned-access to W=1
    ad53060bdfc3 hwmon: (dell-smm) Speed up setting of fan speed
    3c75d1017cb3 phy: ti: Fix missing sentinel for clk_div_table
    6eabe53492c2 speakup-dectlk: Restore pitch setting
    3836a5ff4bb7 USB: serial: cp210x: add CPI Bulk Coin Recycler id
    51b03a9bcd99 USB: serial: cp210x: add NCR Retail IO box id
    a21e6b2e0864 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
    7113440a36c7 USB: serial: option: add ZTE MF286D modem
    b7ed2f9619cc USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
    e07dde31acc9 usb: raw-gadget: fix handling of dual-direction-capable endpoints
    e9f9b877eb0e usb: gadget: f_uac2: Define specific wTerminalType
    fb4ff0f96de3 usb: gadget: rndis: check size of RNDIS_MSG_SET command
    22ec10047285 USB: gadget: validate interface OS descriptor requests
    351159167cd8 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
    3bfca3891480 usb: dwc3: gadget: Prevent core from processing stale TRBs
    2a17bd9f5210 usb: ulpi: Call of_node_put correctly
    8b89a6916681 usb: ulpi: Move of_node_put to ulpi_dev_release
    758290defe93 net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
    a66a2b17b8c8 Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured"
    73961057e9dc usb: dwc2: drd: fix soft connect when gadget is unconfigured
    a37960df7eac eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
    1b99fe34e26d n_tty: wake up poll(POLLRDNORM) on receiving data
    f1b25737156c vt_ioctl: add array_index_nospec to VT_ACTIVATE
    778302ca0949 vt_ioctl: fix array_index_nospec in vt_setactivate
    22249886dc5b net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
    3a3c65c487a4 net: mscc: ocelot: fix mutex lock error during ethtool stats read
    809f030745b2 ice: fix IPIP and SIT TSO offload
    cf11949b9163 ice: fix an error code in ice_cfg_phy_fec()
    f8edc6feab4d dpaa2-eth: unregister the netdev before disconnecting from the PHY
    ff6c9e0fcee5 net: amd-xgbe: disable interrupts during pci removal
    657aea782887 tipc: rate limit warning for received illegal binding update
    ef5cdae8bc00 net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
    bf99c144360d veth: fix races around rq->rx_notify_masked
    00e6d6c3bc14 net: fix a memleak when uncloning an skb dst and its metadata
    2e9fd2d0f69e net: do not keep the dst cache when uncloning an skb dst and its metadata
    0bae953d7ab5 nfp: flower: fix ida_idx not being released
    09ac0fcb0a82 ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
    e177d2e85ebc net: dsa: lantiq_gswip: don't use devres for mdiobus
    95e5402f9430 net: dsa: felix: don't use devres for mdiobus
    2770b795294e net: dsa: bcm_sf2: don't use devres for mdiobus
    475ce5dcf2d8 net: dsa: ar9331: register the mdiobus under devres
    8ccebe77df6e net: dsa: mv88e6xxx: don't use devres for mdiobus
    4a384c1e4058 bonding: pair enable_port with slave_arr_updates
    1ba45dd32667 gpio: sifive: use the correct register to read output values
    48e413087de1 ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
    3b72d3f0205e drm/panel: simple: Assign data from panel_dpi_probe() correctly
    bf35639192ed ixgbevf: Require large buffers for build_skb on 82599VF
    e5a64f548a45 arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133'
    04fe6569a7cf netfilter: ctnetlink: disable helper autoassign
    a5ce7ee5fcc0 misc: fastrpc: avoid double fput() on failed usercopy
    21c890ca8eae drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd.
    70ea005626a9 gpio: aggregator: Fix calling into sleeping GPIO controllers
    0042178a69eb usb: f_fs: Fix use-after-free for epfile
    5a37fd9fdcce ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo
    39bf132a6ed5 phy: xilinx: zynqmp: Fix bus width setting for SGMII
    108868dae2ee ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
    0a7b5e8d8c1e staging: fbtft: Fix error path in fbtft_driver_module_init()
    74cd5cb2190f ARM: dts: meson8b: Fix the UART device-tree schema validation
    566b558e9429 ARM: dts: meson8: Fix the UART device-tree schema validation
    210d70f08100 ARM: dts: meson: Fix the UART compatible strings
    88f0e61354f4 ARM: dts: Fix timer regression for beagleboard revision c
    c943a297ec3c drm/rockchip: vop: Correct RK3399 VOP register fields
    a941384fba3f PM: s2idle: ACPI: Fix wakeup interrupts handling
    fcbac51a64d3 ACPI/IORT: Check node revision for PMCG resources
    57ede0ce6500 nvme-tcp: fix bogus request completion when failing to send AER
    3a669d77e5b3 ARM: socfpga: fix missing RESET_CONTROLLER
    435e62d5666a ARM: dts: Fix boot regression on Skomer
    b217b89e607c ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
    3f9843f2f65e riscv: fix build with binutils 2.38
    3aa5c8657292 KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow
    bd39fe29bbbb KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode
    9efad4cb0365 KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
    db58a3d978b4 KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
    dc129275a7f7 KVM: eventfd: Fix false positive RCU usage warning
    87bbd78a2cd1 net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
    c9b8cc1046f0 nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs
    d0774cf73056 perf: Always wake the parent event
    a117e986e9cc usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
    4607218fde84 PM: hibernate: Remove register_nosave_region_late()
    0e42c4a3d732 scsi: myrs: Fix crash in error case
    3bc5b128b9a2 scsi: ufs: Treat link loss as fatal error
    12cf1208035d scsi: pm8001: Fix bogus FW crash for maxcpus=1
    87f187e5265b scsi: qedf: Fix refcount issue when LOGO is received during TMF
    aa7352aa155e scsi: qedf: Add stag_work to all the vports
    150d448c663d scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup()
    7dbda616fc64 scsi: target: iscsi: Make sure the np under each tpg is unique
    67baac10dd5a powerpc/fixmap: Fix VM debug warning on unmap
    3d0eafd459b2 net: sched: Clarify error message when qdisc kind is unknown
    9b569faabd22 drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
    0d6b9d15ecb4 x86/perf: Avoid warning for Arch LBR without XSAVE
    b37dd03f2fc6 NFSv4 handle port presence in fs_location server string
    6f2974b52b15 NFSv4 expose nfs_parse_server_name function
    5a9c613a29e7 NFSv4 remove zero number of fs_locations entries error check
    1c79aad1186b NFSv4.1: Fix uninitialised variable in devicenotify
    c5619c510f04 nfs: nfs4clinet: check the return value of kstrdup()
    db053bdece3a NFSv4 only print the label when its queried
    e2b4435fd340 NFS: change nfs_access_get_cached to only report the mask
    b4e0c9bcf142 tracing: Propagate is_signed to expression
    5234de6c7975 drm/amdgpu: Set a suitable dev_info.gart_page_size
    6215fb455893 NFSD: Fix offset type in I/O trace points
    3a6a2d43e32a NFSD: Clamp WRITE offsets
    c72f7c2ec3d4 NFS: Fix initialisation of nfs_client cl_flags field
    f47ee3a35ffb net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
    6a33aa711327 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
    7b53d2204ce7 can: isotp: fix potential CAN frame reception race in isotp_rcv()
    c9cc027c55bb mmc: sdhci-of-esdhc: Check for error num after setting mask
    8027ba480c00 ima: Do not print policy rule with inactive LSM labels
    8171c8a99fea ima: Allow template selection with ima_template[_fmt]= after ima_hash=
    0795b7100d25 ima: Remove ima_policy file before directory
    7fea2e520003 integrity: check the return value of audit_log_start()
    d4f7d322a4ad Linux 5.10.100
    3c7e59435535 tipc: improve size validations for received domain records
    2951d2168976 crypto: api - Move cryptomgr soft dependency into algapi
    b62267b8b06e KVM: s390: Return error on SIDA memop on normal guest
    be93028d306d moxart: fix potential use-after-free on remove path

(From OE-Core rev: d67621e8f8b4f37e1357f19fc7da2de12de4bee5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
0f5b73cf70 linux-yocto/5.15: update to v5.15.24
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    a0ebea480bb3 Linux 5.15.24
    65ab30f6a695 iommu: Fix potential use-after-free during probe
    7969fe91c983 perf: Fix list corruption in perf_cgroup_switch()
    8ebcd2c680e1 arm64: dts: imx8mq: fix lcdif port node
    48f54966f7f7 MIPS: octeon: Fix missed PTR->PTR_WD conversion
    cd4494f8685c scsi: lpfc: Reduce log messages seen after firmware download
    6737f9a95a42 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
    c8e9c2b52c4c Makefile.extrawarn: Move -Wunaligned-access to W=1
    24645c47880b x86/sgx: Silence softlockup detection when releasing large enclaves
    30de73bebf2b hwmon: (dell-smm) Speed up setting of fan speed
    16cde074b00c bus: mhi: pci_generic: Add mru_default for Cinterion MV31-W
    2c1d20e34669 bus: mhi: pci_generic: Add mru_default for Foxconn SDX55
    fe990b7bf6ac s390/cio: verify the driver availability for path_event call
    56ca18dd5483 signal: HANDLER_EXIT should clear SIGNAL_UNKILLABLE
    f7a56fcca2e4 seccomp: Invalidate seccomp mode to catch death failures
    956cf21cd1ae mm: memcg: synchronize objcg lists with a dedicated spinlock
    b7f54894aa75 iio: buffer: Fix file related error handling in IIO_BUFFER_GET_FD_IOCTL
    7a360e546ad9 phy: ti: Fix missing sentinel for clk_div_table
    12431425c466 speakup-dectlk: Restore pitch setting
    9ae3dad535a9 USB: serial: cp210x: add CPI Bulk Coin Recycler id
    7e5108a22f19 USB: serial: cp210x: add NCR Retail IO box id
    8d226d39d052 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
    2ea4f4612cb9 USB: serial: option: add ZTE MF286D modem
    24311a9fc426 USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
    2330b2ba6465 usb: raw-gadget: fix handling of dual-direction-capable endpoints
    33d2a0c1ec20 usb: gadget: f_uac2: Define specific wTerminalType
    2da3b0ab54fb usb: gadget: rndis: check size of RNDIS_MSG_SET command
    3e33e5c67cb9 USB: gadget: validate interface OS descriptor requests
    d3d5bfb3a279 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
    8d2b04dad380 usb: dwc3: gadget: Prevent core from processing stale TRBs
    93feb2bdf6d4 usb: ulpi: Call of_node_put correctly
    fc50f42e4616 usb: ulpi: Move of_node_put to ulpi_dev_release
    ffd0393adcdc net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
    f4e72ad027b0 Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured"
    a6ef1bda0efd usb: dwc2: drd: fix soft connect when gadget is unconfigured
    9a5f471ae380 eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
    decb36e9a9f0 n_tty: wake up poll(POLLRDNORM) on receiving data
    573321db328b vt_ioctl: add array_index_nospec to VT_ACTIVATE
    ffe54289b02e vt_ioctl: fix array_index_nospec in vt_setactivate
    f916181692cb net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
    d98ba26a4ba9 net: mscc: ocelot: fix mutex lock error during ethtool stats read
    41a8c548d47b ice: Avoid RTNL lock when re-creating auxiliary device
    f9daedc3ab8f ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler
    52eb5c86ede4 ice: fix IPIP and SIT TSO offload
    efd399e12c1b ice: fix an error code in ice_cfg_phy_fec()
    12e067a4d98f dpaa2-eth: unregister the netdev before disconnecting from the PHY
    29b25d5f8f30 mptcp: netlink: process IPv6 addrs in creating listening sockets
    dcd1c4663469 drm/amd/pm: fix hwmon node of power1_label create issue
    4b24ef1d03cf net: amd-xgbe: disable interrupts during pci removal
    489d9fa78e59 tipc: rate limit warning for received illegal binding update
    bb04b5527aff net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
    b8ac37e57044 veth: fix races around rq->rx_notify_masked
    fdcb263fa5cd net: fix a memleak when uncloning an skb dst and its metadata
    f1ab1ba32d36 net: do not keep the dst cache when uncloning an skb dst and its metadata
    6cbe14cc0eb6 nfp: flower: fix ida_idx not being released
    3cab045c99db ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
    b5652bc50dde net: dsa: lantiq_gswip: don't use devres for mdiobus
    46b747232329 net: dsa: mt7530: fix kernel bug in mdiobus_free() when unbinding
    8cda7577a0b4 net: dsa: felix: don't use devres for mdiobus
    caabb5f64f5c net: dsa: bcm_sf2: don't use devres for mdiobus
    aae1c6a1d3d6 net: dsa: ar9331: register the mdiobus under devres
    8b626d45127d net: dsa: mv88e6xxx: don't use devres for mdiobus
    147540cae264 bonding: pair enable_port with slave_arr_updates
    3523167d6658 fbcon: Avoid 'cap' set but not used warning
    ef2cb1fc0365 gpio: sifive: use the correct register to read output values
    d9daa2b76dde gpiolib: Never return internal error codes to user space
    e799974e7cbb ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
    ab142ea5d502 drm/panel: simple: Assign data from panel_dpi_probe() correctly
    9e3dd49145f3 ixgbevf: Require large buffers for build_skb on 82599VF
    51eece9f8a1d arm64: dts: meson-sm1-odroid: fix boot loop after reboot
    57154c07ed62 arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO domain for GPIOE_2
    162f8057192c arm64: dts: meson-sm1-odroid: use correct enable-gpio pin for tf-io regulator
    006dc5815bb3 arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133'
    c5ee4cbd0f1b netfilter: ctnetlink: disable helper autoassign
    7f486bed5ec0 net: sparx5: Fix get_stat64 crash in tcpdump
    e4382d0a39f9 misc: fastrpc: avoid double fput() on failed usercopy
    f5e8733d93cf drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd.
    3d2bc21a6768 NFS: Don't skip directory entries when doing uncached readdir
    557302faea9c NFS: Don't overfill uncached readdir pages
    00181d6c9665 gpio: aggregator: Fix calling into sleeping GPIO controllers
    ddcb149ce10a phy: dphy: Correct clk_pre parameter
    72a8aee863af usb: f_fs: Fix use-after-free for epfile
    0ed2f9a97a92 arm64: dts: imx8mq: fix mipi_csi bidirectional port numbers
    af6a1d60a13c ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo
    94b16ca86ab6 phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()
    541ec7bfeed3 phy: xilinx: zynqmp: Fix bus width setting for SGMII
    58c42f415b81 ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
    025c6eef1490 staging: fbtft: Fix error path in fbtft_driver_module_init()
    c0ad2c2cac1b phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option
    86cdc3060d41 ARM: dts: meson8b: Fix the UART device-tree schema validation
    5253b083f0a8 ARM: dts: meson8: Fix the UART device-tree schema validation
    00d135070efa ARM: dts: meson: Fix the UART compatible strings
    c22bddf61db0 ARM: dts: Fix timer regression for beagleboard revision c
    ac14a51c3169 drm/i915: Populate pipe dbuf slices more accurately during readout
    8d6a31b83cdd drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
    05ffa30c99f7 drm/rockchip: vop: Correct RK3399 VOP register fields
    c1af59449d80 drm/amdgpu/display: change pipe policy for DCN 2.0
    0e546bb1324e PM: s2idle: ACPI: Fix wakeup interrupts handling
    65aabd296665 ACPI/IORT: Check node revision for PMCG resources
    64c37c05f7ad nvme-tcp: fix bogus request completion when failing to send AER
    7740eb27c38e ARM: socfpga: fix missing RESET_CONTROLLER
    ccdd7956cd28 ARM: dts: Fix boot regression on Skomer
    14917a884f70 ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
    4134396f99d2 gfs2: Fix gfs2_release for non-writers regression
    71f46f3d1bf2 riscv: eliminate unreliable __builtin_frame_address(1)
    efe220337181 riscv: cpu-hotplug: clear cpu from numa map when teardown
    7486227fa47a riscv: fix build with binutils 2.38
    67398d2c7b8c KVM: x86: Report deprecated x87 features in supported CPUID
    c09a83ae3b2e KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow
    f7da3276e087 KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode
    11f9427d01a3 KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
    a3c43649600b KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
    d44af3ad2a21 KVM: eventfd: Fix false positive RCU usage warning
    a85f3ea1407f net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
    a3ba49c129ed MIPS: Fix build error due to PTR used in more places
    96f91a877a5c nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs
    a3486ef99a3b perf: Always wake the parent event
    8981a8fd900e usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
    a277422a8d97 drm/amd/display: Correct MPC split policy for DCN301
    dc5769c7b063 PM: hibernate: Remove register_nosave_region_late()
    50fe79589c14 net: stmmac: reduce unnecessary wakeups from eee sw timer
    6207f35c213f scsi: myrs: Fix crash in error case
    0c8d27c2aae5 scsi: ufs: Treat link loss as fatal error
    f0a91d892310 scsi: ufs: Use generic error code in ufshcd_set_dev_pwr_mode()
    cb26e94204d7 scsi: pm8001: Fix bogus FW crash for maxcpus=1
    1c22df15cf40 scsi: qedf: Change context reset messages to ratelimited
    6be8eaad75ca scsi: qedf: Fix refcount issue when LOGO is received during TMF
    1f53bbf27a87 scsi: qedf: Add stag_work to all the vports
    83f31dab46b2 scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup()
    4f786e8f18c3 scsi: target: iscsi: Make sure the np under each tpg is unique
    43ae0ccc4d27 powerpc/fixmap: Fix VM debug warning on unmap
    fa693cfd8fe4 net: sched: Clarify error message when qdisc kind is unknown
    9696125fb3ca drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
    770d1ba9a820 drm/vc4: Fix deadlock on DSI device attach error
    85008bde411d sched: Avoid double preemption in __cond_resched_*lock*()
    ec903b6daa58 x86/perf: Avoid warning for Arch LBR without XSAVE
    ef5685971abd perf/x86/rapl: fix AMD event handling
    3f4e05eb46ae irqchip/realtek-rtl: Service all pending interrupts
    4403233b8775 sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()
    4b22aa42bd4d net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
    5ca123c91a64 SUNRPC allow for unspecified transport time in rpc_clnt_add_xprt
    c5ae18fa8d71 NFSv4 handle port presence in fs_location server string
    be67be6a1a8f NFSv4 expose nfs_parse_server_name function
    6f2836341d8a NFSv4.1 query for fs_location attr on a new file system
    2df6a47a131a NFSv4 store server support for fs_location attribute
    0c5d3bfb2967 NFSv4 remove zero number of fs_locations entries error check
    3cb5b317901e NFSv4.1: Fix uninitialised variable in devicenotify
    58967a232ab3 nfs: nfs4clinet: check the return value of kstrdup()
    bbf647ecebc0 NFSv4 only print the label when its queried
    38ae938701e7 NFS: change nfs_access_get_cached to only report the mask
    78c28fdf1685 tracing: Propagate is_signed to expression
    8fdaa9a6ace2 thermal/drivers/int340x: Fix RFIM mailbox write commands
    5abd95ff5d6a thermal: int340x: Limit Kconfig to 64-bit
    786293f61b4b thermal/drivers/int340x: processor_thermal: Suppot 64 bit RFIM responses
    e9b0301939d1 thermal/drivers/int340x: Improve the tcc offset saving for suspend/resume
    c6eff5c42771 NFSD: Fix the behavior of READ near OFFSET_MAX
    c9a8571dd893 NFSD: Fix offset type in I/O trace points
    01c3ae81eef4 NFSD: Clamp WRITE offsets
    8e0ecaf7a7e5 NFSD: Fix ia_size underflow
    37f2d2cd8ead NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes
    535e301ea677 NFS: Fix initialisation of nfs_client cl_flags field
    6b42352bea56 net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
    9338c17e2c63 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
    540dff311c9a can: isotp: fix error path in isotp_sendmsg() to unlock wait queue
    f90cc68f9f4b can: isotp: fix potential CAN frame reception race in isotp_rcv()
    dbe7bf9b6fc8 mmc: core: Wait for command setting 'Power Off Notification' bit to complete
    222c071fadd6 mmc: sdhci-of-esdhc: Check for error num after setting mask
    cf4570ca8ed6 ima: Do not print policy rule with inactive LSM labels
    5389ea64af1e ima: Allow template selection with ima_template[_fmt]= after ima_hash=
    20805cdf95af ima: Remove ima_policy file before directory
    0838d6d68182 ima: fix reference leak in asymmetric_verify()
    739b7bb886b5 integrity: check the return value of audit_log_start()
    c1d3ac0c115f Linux 5.15.23
    1f1788616157 tipc: improve size validations for received domain records
    40eb05e5e72b crypto: api - Move cryptomgr soft dependency into algapi
    ab32ea3ad0d5 ksmbd: fix SMB 3.11 posix extension mount failure
    14f880ea779e KVM: s390: Return error on SIDA memop on normal guest
    c28ee73fea29 arm64: Add Cortex-A510 CPU part definition
    af0e6c49438b moxart: fix potential use-after-free on remove path

(From OE-Core rev: e0993e9fc1ff93835aa4bf1026db567cbcc854d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
2abfa7f808 linux-yocto/5.10: features/zram: remove CONFIG_ZRAM_DEF_COMP
Integrating the following commit(s) to linux-yocto/.:

    7a012dfacdc features/zram: remove CONFIG_ZRAM_DEF_COMP

(From OE-Core rev: a8fcece853475bede5d442120bc38f17751ed9a1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
42c37a2228 linux-yocto/5.15: riscv64: drop MAXPHYSMEM_128GB
Integrating the following commit(s) to linux-yocto:

    commit e1b976ee4fb5af517cf01a9f2dd4a32f560ca894
    Author: Bruce Ashfield <bruce.ashfield@gmail.com>
    Date:   Tue Feb 15 23:27:31 2022 -0500

        riscv64: drop MAXPHYSMEM_128GB

        The MAXPHYSMEM config options have been removed upstream via the
        following commit, so we drop our setting.

           commit 6250ecf5ba42292b652cd01c9fcb2239010c5c44
           Author: Alexandre Ghiti <alexandre.ghiti@canonical.com>
           Date:   Mon Jan 17 10:57:16 2022 +0100

               riscv: Get rid of MAXPHYSMEM configs

               commit db1503d355a79d1d4255a9996f20e72848b74a56 upstream.

               CONFIG_MAXPHYSMEM_* are actually never used, even the nommu defconfigs
               selecting the MAXPHYSMEM_2GB had no effects on PAGE_OFFSET since it was
               preempted by !MMU case right before.

               In addition, the move of the kernel mapping at the end of the address
               space broke the use of MAXPHYSMEM_2G with MMU since it defines PAGE_OFFSET
               at the same address as the kernel mapping.

               Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
               Fixes: 2bfc6cd81bd1 ("riscv: Move kernel mapping outside of linear mapping")
               Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
               Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
               Tested-by: Conor Dooley <Conor.Dooley@microchip.com>
               Cc: stable@vger.kernel.org
               Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
               Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

(From OE-Core rev: da19366b44af8521b0f311581793fc89d554cd40)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Tim Orling
0c6d55e4eb python3-importlib-metadata: upgrade 4.10.1 -> 4.11.2
inherit setuptools_build_meta

v4.11.2
369: Fixed bug where EntryPoint.extras was returning match objects and not the extras strings.

v4.11.1
367: In Distribution.requires for egg-info, if requires.txt is empty, return an empty list.

v4.11.0
bpo-46246: Added __slots__ to EntryPoints.

v4.10.2
365 and bpo-46546: Avoid leaking method_name in DeprecatedList.

(From OE-Core rev: 16873202f4fc9409b3b853ad2275c1068eb16ecd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:47 +00:00
Ross Burton
a3085c4722 bmap-tools: remove redundant python3native inherit
setuptools3 pulls this in, so there's no need to explicitly inherit it.

(From OE-Core rev: 24446a8a7b1b16c5afe3a9878a99cce04dfba2f4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:47 +00:00
Richard Purdie
76db6a9f79 layer.conf: Allow sysroot dependencies on perlcross-native to be skipped
The only thing which needs perlcross-native will depend upon it directly
so we can optimise this out everywhere else for small space/speed gains.

(From OE-Core rev: 3b86109a2571be39f9cfa85bd4db22f4df025ab2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Ross Burton
3eed2f2900 asciidoc: update git repository
The asciidoc-py3 repository has been renamed to asciidoc-py.

(From OE-Core rev: f78dd3f4c5f0cd738783e75f3796e1da2a2a2ba1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
2954022bbe python3: Reduce util-linux dependency to util-linux-libuuid
Only libuuid is needed by python so reduce the dependency and hence
reduce the amount pulled into the syroot for the native case in particular.

(From OE-Core rev: 35246dec1c9690371ef0656b21f18567772dab2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
dc4db0af9a layer.conf: Add libarchive-native e2fsprogs-native exclusion from sysroot
Currently, libarchive-native pulls e2fsprogs and all it's dependencies into
the sysroot. Since only headers are needed at buildtime and there is no
runtime dependency, we can avoid this and shrink the native sysroots.

(From OE-Core rev: 66a6b2080e4a65632c5dc02c8ef0cbe01d5b5082)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
b7307ce4d7 layer.conf: Filter docs dependencies for efficiency
Where a recipe has depends on native docs tools, in most cases
we don't need recipes that depend on that recipe to also install
these things into the sysroot. We can rely on recipes wanting these
tools to have direct dependencies instead.

This massively reduced dependency creep in simple recipes (e.g. an
allarch one) and reduced the size of builds with the api-documentation
feature substancially.

gperf-native is also included since that would normally have a direct
dependency in a recipe which needs it too.

(From OE-Core rev: 9bbb5334e1d1884e042dc3b3ec0eb274664f2c25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
c2938cc543 Revert "libical: Pass TOOLCHAIN_OPTIONS via CFLAGS"
This reverts commit feb8893e0f52c7ab2d5efd456901a2bb91839d44.

This is no longer needed after the compiler fix for libical.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Ross Burton
4790588211 classes: add setuptools3_legacy
Following a good discussion with PyPA upstream[1] the migration of the
setuptools3.bbclass to use bdist_wheel+pip turns out to be more complex
than thought.

Essentially, we're midway through a lot of changes: the future of Python
packaging is wheels and pip, but those by design are not as flexible as
traditional distutils and setup.py.

Specifically, with traditional distutils the package can implement its
own install task and write arbitrary files (such as init scripts).  With
wheels this is explicity impossible, so packages that do this cannot use
the new setuptools class and must continue to use the build/install tasks
as before.

This class is the old setuptools behaviour, bought back. However, as
distutils and the setuptools install task are both deprecated and will
soon be removed entirely, any users of this class should be moving to an
alternative build tool, be it a modern Python tool which works with
wheels, or a non-Pythonic tool such as Meson.

[1] https://github.com/pypa/packaging-problems/issues/576

(From OE-Core rev: 341d2b35986e48e4954c591be8bc037a5557452a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
a25c076225 Revert "libsdl2: Add libunwind-native to the libsdl2-native DEPENDS"
This reverts commit 1b114fa2d221c9810852526f8b45a3d2c856a502.

Unfortunately this breaks on cento7 as libunwind-native doesn't appear to build there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 00:08:33 +00:00
Daniel Wagenknecht
fe0d6dbef5 bitbake: fetch2: ssh: support checkstatus
This implements support for sstate mirrors using ssh as transport
protocol.

(Bitbake rev: 0a3b5b3de7bcb1c5c3748cba42d394cc484e966b)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:24:53 +00:00
Daniel Wagenknecht
5937b2e073 bitbake: fetch2: ssh: fix path handling
Fix absolute paths and paths containing the ":" character. Both is
necessary for supporting sstate mirrors via ssh (not implemented yet).

(Bitbake rev: df5505a1ba15524c3a185360d687854300aef342)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:24:53 +00:00
Daniel Wagenknecht
30c21aaf3e bitbake: fetch2: ssh: username and password are optional
Support URLs like ssh://HOST/PATH. They were previously not recognized
due to a missing @ sign.

(Bitbake rev: a2aa18bd27dac8902e52b466cb7118f71367d3dc)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:24:53 +00:00
Carlos Rafael Giani
0d6b4a93e5 libsdl2: Add libunwind-native to the libsdl2-native DEPENDS
This fixes this CMake configuration error:

| -- Checking for one of the modules 'libunwind'
| CMake Error at [...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
|   None of the required 'libunwind' found
| Call Stack (most recent call first):
|   CMakeLists.txt:1367 (pkg_search_module)

This error happens even if libunwind is installed complete with its C
headers and development .so files (in Ubuntu, this means libunwind-dev
is installed).

(From OE-Core rev: 1b114fa2d221c9810852526f8b45a3d2c856a502)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
wangmy
73f25a3ede btrfs-tools: upgrade 5.16 -> 5.16.2
0001-btrfs-progs-kerncompat-add-local-definition-for-alig.patch
removed since it's included in 5.16.2

Changelog:
=========
mkfs: fix detection of profile type for zoned mode when creating DUP
build:
 - add missing stub for zoned mode helper when zoned mode not enabled
 - fix 64bit types on MIPS and PowerPC
 - improved zoned mode support autodetection, for systems with existing blkzone.h
   header but missing support for zone capacity
other: doc updates, test updates

(From OE-Core rev: ec04580374ed6cc26471a338f84794f41931eca1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Khem Raj
bf6ce6ecc8 insane: Accomodate llvm-objdump
llvm-objdump emite MIPS_XHASH where as GNU objdump emits DT_MIPS_XHASH,
checking for shorted sequence makes this check work in both cases

mips-yoe-linux-objdump -p libx264.so.163 | grep XHASH
  DT_MIPS_XHASH        0x00000168

mips-yoe-linux-llvm-objdump -p libx264.so.163 | grep XHASH
  MIPS_XHASH        0x00000168

both are same things

(From OE-Core rev: 45390aee03ad0adfcabf6d96109e73136436acad)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Tim Orling
2991089391 python3-jsonschema: upgrade 3.2.0 -> 4.4.0
Upstream changed from setup.py to pyproject.toml+setup.cfg

inherit setuptools_build_meta

For changes see:
https://github.com/Julian/jsonschema/blob/main/CHANGELOG.rst#v440

(From OE-Core rev: 9af4a46668f0e8dcc7a371ec9e14a185df3a314f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
345ed4cc9d python3: Drop opt1 and opt2 pyc files from target
These are only used with python when the -O or -OO options are passed
and I'm not aware of runtime use of that. They otherwise just waste a
ton of space.

(From OE-Core rev: 5ac7b8c030daf30b2be93abebfedbc36c395e6d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
ed2ba22d10 python3-native: Remove all pyc files
This removes a further 1600 files from sstate handling and lets python
create the ones it wants at runtime which is likely much better overall
for performance.

(From OE-Core rev: 2d6490fa23cce58922a1b54f87c8369925ff8f90)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Jose Quaresma
306f7b5ca1 Revert "cmake.bbclass: Set CXXFLAGS and CFLAGS"
This reverts commit 47594d59ec.

This patch was introduced 5 years ago as a temporary workaround
to fix an upstream bug.

Currently with that patch the following flags are duplicated:
 OECMAKE_C_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS}"
 OECMAKE_C_LINK_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CPPFLAGS} ${LDFLAGS}"
 OECMAKE_CXX_LINK_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CXXFLAGS} ${LDFLAGS}"

The duplicated flags is used in the toolchain.cmake:
 set( CMAKE_C_FLAGS "${OECMAKE_C_FLAGS}" CACHE STRING "CFLAGS" )
 set( CMAKE_CXX_FLAGS "${OECMAKE_CXX_FLAGS}" CACHE STRING "CXXFLAGS" )
 set( CMAKE_CXX_LINK_FLAGS "${OECMAKE_CXX_LINK_FLAGS}" CACHE STRING "LDFLAGS" )

CC: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: a83623a54a375d3ae9198a135b94379881a2b7a5)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Khem Raj
d4cd5a35d2 libical: Do not set CC explicitly for gir compiler
This ensures that right sysroot is used during build, otherwise we see
warnings in build about using wrong sysroot and it fails explicitly with
clang

x86_64-yoe-linux-ld: warning: library search path "/usr/lib/gcc/x86_6
4-pc-linux-gnu/11.2.0/../../../../lib64" is unsafe for cross-compilation

x86_64-yoe-linux-ld: cannot find /usr/lib/clang/14.0.0/lib/linux/libc
lang_rt.builtins-x86_64.a: No such file or directory

(From OE-Core rev: e591b462227ded84f3f8e7273200824ad63313c4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Khem Raj
ef20f069d0 libical: Pass TOOLCHAIN_OPTIONS via CFLAGS
This ensures that right sysroot is used during build, otherwise we see
warnings in build about using wrong sysroot and it fails explicitly with
clang

x86_64-yoe-linux-ld: warning: library search path "/usr/lib/gcc/x86_6
4-pc-linux-gnu/11.2.0/../../../../lib64" is unsafe for cross-compilation

x86_64-yoe-linux-ld: cannot find /usr/lib/clang/14.0.0/lib/linux/libc
lang_rt.builtins-x86_64.a: No such file or directory

(From OE-Core rev: feb8893e0f52c7ab2d5efd456901a2bb91839d44)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
0aae0afd05 cmake-native: Remove help docs from the native sysroot
This drops the file count for cmake-native from ~3000 to ~1700
which is a decent chunk of files not to be copying to each native
sysroot for no reason.

(From OE-Core rev: 6e561619a2a2b688735deae968eb66027fd4b9f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
cb209c2d16 python3-native: Drop opt-1 and opt-2 pyc files
There are over 3,000 of these in python3-native (of 8,000+ files total) and
copying them to sysroots all the time seems pointless, particularly since
they're only used if python is run with the -O or -OO parameters.

Get rid of them and save the overhead. This is particularly pronounced in
builds using the api-documentation distro feature.

(From OE-Core rev: fd66de439273b245c1d0bcfb32f2c847e3cddd6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
3196d85a50 libsndfile: Fix missing external library support
The recent upgrade regressed codec support since opus is missing and
this caused several codecs to be disabled. Add a patch to work around
the issue whilst it is discussed with upstream.

(From OE-Core rev: d1aba25b2559041c96735b58424baf8862796095)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Alexander Kanavin
062414c09d glslang/spirv: synchronize with the rest of vulkan items
These components are now versioned in sync with vulkan releases:
https://github.com/KhronosGroup/SPIRV-Headers/issues/252
https://github.com/KhronosGroup/SPIRV-Headers/issues/266

"We'll continue tagging the repos contributing with SDK releases, as
that is when all the testing of the various projects is performed
together."

(From OE-Core rev: 2961d94f1c2ca43c30497ac1853feba58b09d730)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Alexander Kanavin
5536878b69 libarchive: correct upstream version check
(From OE-Core rev: 607773753c89c74bfadbe4251e828c036ce94e63)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Alexander Kanavin
30071b35c3 libsndfile1: correct upstream version check
(From OE-Core rev: f7b7f6c8db1227175fc5dd78e87ab5b498649c72)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Saul Wold
1507286c7d convert-variable-renames: Fix output string
(From OE-Core rev: a8d6882144e76f384022fe7d2b4ee13ad876317a)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Pgowda
967ff0e2af binutils: Avoid Race condition in as.info
The race condition in binutils/gas folder was introduced with the
following patch. The patch avoids recursive make into the doc folder.
It would speed up the build process slightly. However, the as.info
is installed twice which resulted in the race condition sometimes.
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=bde299e063de090bf36c1fe51874d1e9f4d94c3c

On debugging the code, it was found that the issue was related to
install-data-local. On further analysis, there is already a patch in
binutils that removes install-data-local.
On applying the patch as.info is installed once as expected and there’s
no possibility of any race condition.
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=9a84a44d5df4618dd616137fa755bd71b7eacc5f

Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=9a84a44d5df4618dd616137fa755bd71b7eacc5f]

[YOCTO #14725]

(From OE-Core rev: c08a245990eb46906476dc0f6ade0482c7be241d)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Stefan Herbrechtsmeier
6d715aafec oeqa: selftest: overlayfs: add test for image with fstab entry
(From OE-Core rev: 67f1959a46beec5edf133f2f8b02635feea7e599)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Stefan Herbrechtsmeier
2126584d61 classes: rootfs-postcommands: include /etc/fstab in overlayfs_qa_check
The systemd init manager support mount point configuration via mount
units and /etc/fstab. 'Mounts listed in /etc/fstab will be converted
into native units dynamically at boot and when the configuration of
the system manager is reloaded. In general, configuring mount points
through /etc/fstab is the preferred approach.' [1]

Read mount points from /etc/fstab to determine dynamic mount units.

[1] https://www.freedesktop.org/software/systemd/man/systemd.mount.html

(From OE-Core rev: 9db988dae6dbf6da7b066728bc13b59a5c45b75c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Kamil Dziezyk
b78f8b7cfa libacpi: Build libacpi also for 'aarch64' machines
(From OE-Core rev: ccad2769b4031aa1b5952ecc78ae3f4274f96710)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Andrew Jeffery
ef518a327d ipk: Decode byte data to string in manifest handling
```
File: '/home/andrew/src/openbmc/openbmc/meta/lib/oe/package_manager/ipk/manifest.py', lineno: 69, function: create_full
     0065:        output = pm.dummy_install(pkgs_to_install)
     0066:
     0067:        with open(self.full_manifest, 'w+') as manifest:
     0068:            pkg_re = re.compile('^Installing ([^ ]+) [^ ].*')
 *** 0069:            for line in set(output.split('\n')):
     0070:                m = pkg_re.match(line)
     0071:                if m:
     0072:                    manifest.write(m.group(1) + '\n')
     0073:
Exception: TypeError: a bytes-like object is required, not 'str'
```

Change-Id: Ifefb13bfa22c766d20ab9f73f7abe5163b3df86f
(From OE-Core rev: cf9df9e8d89fee9cea4785c94a1e3004a5f3469d)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Andrew Jeffery
1366335749 ipk: Import re in manifest module
```
File: '/home/andrew/src/openbmc/openbmc/meta/lib/oe/package_manager/ipk/manifest.py', lineno: 67, function: create_full
     0063:
     0064:        output = pm.dummy_install(pkgs_to_install)
     0065:
     0066:        with open(self.full_manifest, 'w+') as manifest:
 *** 0067:            pkg_re = re.compile('^Installing ([^ ]+) [^ ].*')
     0068:            for line in set(output.split('\n')):
     0069:                m = pkg_re.match(line)
     0070:                if m:
     0071:                    manifest.write(m.group(1) + '\n')
Exception: NameError: name 're' is not defined
```

Change-Id: I769a2ab5e57c7b60598ea0390b576d707356db9d
(From OE-Core rev: e240a8ede690e56bcf53a97b3be5592e6e4a5a15)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Daniel Wagenknecht
4c298459ab copy_buildsystem: allow more layer paths
Layers could be located anywhere. The eSDK should work with them even if
they are not located in TOPDIR or in the same parent directory as
COREBASE.

For layers located in the same parent directory as COREBASE this preserves
the intent from the previous
  copy_buildsystem: include layer tree during build structure creation
commit.

Related OE-Core rev: 5a59a6997f41e606d088e3e86812de56f72f543b

(From OE-Core rev: 16d330d42e03085769eddb1b60ba1df7228baf36)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:14 +00:00
Michael Opdenacker
2ea66dc0f6 documentation: release notes for 3.4.2
(From yocto-docs rev: 2a29dfa30452ae4def9a9c6047e95b4dce2a4946)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Michael Opdenacker
43fbe48298 documentation: individual release note files
This makes changes and new files easier to review

(From yocto-docs rev: f3f76236b5c003481a0f211b60a8df9479db833b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Michael Opdenacker
d369a3cfc6 documentation/README: how to upgrade Sphinx packages
(From yocto-docs rev: 199c6ef4b64d6c7f672ac183d3bf73c8ff3bb2c7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Michael Opdenacker
6df5aa3475 documentation: remove references to prelink support
Fixing documentation and updating examples containing "prelink"
in their output.

(From yocto-docs rev: 8927b8fff55fac1bd1fefcff2d16141dbd1ebc51)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Quentin Schulz
0966ba1ebb ref-manual: classes: provide command with ready-to-use password
mkpasswd output requires to be escaped before being used as password in
a Bitbake variable. It was explicitly stated after the command, but to
be sure it's not missed, let's give the printf command which does escape
the string for us.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 13064e7bea18e999d4a294e298a7980a4dcbe69e)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
61ee42131c docs: add pip install variables
Add the new variables used to install Python `wheel` binary archives:
* PIP_INSTALL_ARGS
* PIP_INSTALL_DIST_PATH
* PIP_INSTALL_PACKAGE
* PYPA_WHEEL

(From yocto-docs rev: cb213b5682e37873ac0ec457d6f5a52639c4b24a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
6f2365a292 docs: add new python packaging classes
Add the new classes used for Python packaging:
* flit_core
* pip_install_wheel
* setuptools_build_meta

(From yocto-docs rev: f78fe71f634cbf39857c42e90f8c16e511ba2076)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
e2218a9684 docs: migration-3.3 drop distutils labels, terms
The distutils* classes and DISUTILS* terms are no longer defined so
replace their usage with ``text``.

(From yocto-docs rev: c0e0e0b9416cb7a2fed3efe9d32ee905b6391f24)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
48e3604317 docs: migration-2.6 drop distutils labels, terms
The distutils* classes and DISUTILS* terms are no longer defined so
replace their usage with ``text``.

(From yocto-docs rev: 6be0ab803e6dd64e4a044b7c605acfdd45caa280)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
aa824e54d4 docs: migration-3.5: distutils move
The distutils*.bbclasses have been dropped from oe-core and moved to
meta-python.

(From yocto-docs rev: dac8ac065e76b9c933eefb52c91d4b9a2e501942)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
5bf8da73bb docs: ref-manual: remove distutils* from classes
The distutils*.bbclasses have been removed from oe-core and moved to
meta-python, so remove them from ref-manual/classes.rst.

(From yocto-docs rev: 9da8fd7d436ac3eb3b66409cf0e53218d6e41822)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
3848535523 docs: ref-manual: drop distutils from variables
The distutils*.bbclasses have been moved to meta-python, so remove
mention of them from ref-manual/variables.rst

(From yocto-docs rev: af3d465c5d50edd27957c205dd26aae6843ee3b2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Peter Kjellerstedt
865e150599 manuals: Update LICENSE vars in examples to use SPDX license identifiers
This is similar to the recent change in meta to only use SPDX license
identifiers in the recipes.

(From yocto-docs rev: 147ce973d08f0bfb59b7b87fec8c8cc997d57112)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
99a5b42d5c docs: update setuptools3 class
Add notes to inform about the new `wheel` behavior of the
setuptools3.bbclass.

(From yocto-docs rev: 4f19c8218f7c960d1ad0288d76d5394b6595c3f1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Michael Halstead
0447aace57 releases: update to include 3.3.5
Adding 3.3.5 to documentation switcher and release list.

(From yocto-docs rev: 78545b8f42657c21bc3cac96429d3950b07a3aca)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-03 09:19:58 +00:00
Chen Qi
a99b899a37 multilib_global.bbclass: fix setting preferred version for canadian recipes
Currently the TRANSLATED_TARGET_ARCH is not changed when trying
to set preferred version for canadian recipes.

e.g.
```
bitbake core-image-minimal -c populate_sdk -e > env
grep ^PREFERRED_VERSION_gcc-cross-canadian env
```
The result is:
"""
PREFERRED_VERSION_gcc-cross-canadian-x86-64="11.%"
"""

We need to explictly change DEFAULTTUNE to ensure TRANSLATED_TARGET_ARCH is
changed when trying to set the preferred version for multilib version of
the canadian recipes.

e.g.
```
bitbake core-image-minimal -c populate_sdk -e > env
grep ^PREFERRED_VERSION_gcc-cross-canadian env
```
The result is:
"""
PREFERRED_VERSION_gcc-cross-canadian-i686="11.%"
PREFERRED_VERSION_gcc-cross-canadian-x86-64="11.%"
"""

(From OE-Core rev: ab8ed74082ffaf3b3adca84f4c41465f89657e76)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:44:17 +00:00
Andrew Jeffery
911ee75249 rust: Add snapshot checksums for powerpc64le
(From OE-Core rev: ab0c2de443278625c5db54d5c51e193791f5087c)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:44:17 +00:00
Andrew Jeffery
73272156e6 rust: Introduce RUST_BUILD_ARCH
RUST_BUILD_ARCH contains the arch_to_rust_arch()-translated value of
BUILD_ARCH. This is necessary to acquire the correct snapshot artifacts
under Linux where `uname -m` reports "ppc64le" rather than
"powerpc64le".

Change-Id: I6aec23aced8e1c6f0bfc46fe52531b0c16bcf687
(From OE-Core rev: c13afbade8d480807b9de70c56dcd650496f06b2)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:44:17 +00:00
Andrew Jeffery
102e4c029e rust: Introduce arch_to_rust_arch()
On modern Power systems `uname -m` yields 'ppc64le' while the toolchain
knows the architecture as 'powerpc64le'. Provide a mapping from one to
the other to integrate with the existing architecture configuration
flags.

arch_to_rust_arch() only exists to map the OE *_ARCH variables before
any further processing, unlike arch_to_rust_target_arch() which is
specific to the internal triple handling of rust.

On Linux ppc64le systems the changes give the following config:

```
$ cat ./tmp/work/ppc64le-linux/rust-native/1.58.0-r0/targets/ppc64le-linux.json
{
    "llvm-target": "powerpc64le-unknown-linux-gnu",
    "data-layout": "e-m:e-i64:64-n32:64-v256:256:256-v512:512:512",
    "max-atomic-width": 64,
    "target-pointer-width": "64",
    "target-c-int-width": "64",
    "target-endian": "little",
    "arch": "powerpc64",
    "os": "linux",
    "env": "gnu",
    "vendor": "unknown",
    "target-family": "unix",
    "linker": "gcc",
    "cpu": "generic",
    "dynamic-linking": true,
    "executables": true,
    "linker-is-gnu": true,
    "linker-flavor": "gcc",
    "has-rpath": true,
    "has-elf-tls": true,
    "position-independent-executables": true,
    "panic-strategy": "unwind"
}
```

Change-Id: Ief0c01189185d7d4da31d307270bec4e1de674ca
(From OE-Core rev: 9ab61e3cfef0157393cb870d606c2f362e190889)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:44:17 +00:00
Jose Quaresma
39aec4ac7f buildhistory.bbclass: create the buildhistory directory when needed
When the BUILDHISTORY_RESET is enabled we need to move the
content from BUILDHISTORY_DIR to BUILDHISTORY_OLD_DIR but
when we start a clean build in the first run we don't have the
BUILDHISTORY_DIR so the move of files will fail.

| ERROR: Command execution failed: Traceback (most recent call last):
|  File "/xxx/poky/bitbake/lib/bb/command.py", line 110, in runAsyncCommand
|    commandmethod(self.cmds_async, self, options)
|  File "/xxx/poky/bitbake/lib/bb/command.py", line 564, in buildTargets
|    command.cooker.buildTargets(pkgs_to_build, task)
|  File "/xxx/poky/bitbake/lib/bb/cooker.py", line 1481, in buildTargets
|    bb.event.fire(bb.event.BuildStarted(buildname, ntargets), self.databuilder.mcdata[mc])
|  File "/xxx/home/builder/src/base/poky/bitbake/lib/bb/event.py", line 214, in fire
|    fire_class_handlers(event, d)
|  File "/xxx/poky/bitbake/lib/bb/event.py", line 121, in fire_class_handlers
|    execute_handler(name, handler, event, d)
|  File "/xxx/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
|    ret = handler(event)
|  File "/xxx/poky/meta/classes/buildhistory.bbclass", line 919, in buildhistory_eventhandler
|    entries = [ x for x in os.listdir(rootdir) if not x.startswith('.') ]
| FileNotFoundError: [Errno 2] No such file or directory: '/xxx/buildhistory'

(From OE-Core rev: 97bc2168da7dbacdfbf79cd70db674363ab84f6b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Tean Cunningham
a559a2cba9 rootfs-postcommands: amend systemd_create_users add user to group check
Currently when adding a user to a group ('m' type), the conditional
check to only create a user/group if it does not exist always resolves
to true. This causes a build exit failure if the user and/or group
defined in the sysusers configuration file were already created prior to
the execution of systemd_create_users().

This logic has been updated to instead fail silently (consistent with
'u' and 'g' type). Additionally, if a user doesn't exist it will be
created without the default group.

(From OE-Core rev: 65649be6b2196ab964c69605d0306bfc2481da33)

Signed-off-by: Tean Cunningham <tean.cunningham@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Richard Purdie
82f24d2197 license: Rework INCOMPATIBLE_LICENSE wildcard handling
The current wildcard handling is badly documented and inconsistently
used and understood.

Forcing users to have to use "GPL-3.0-only GPL-3.0-or-later" whilst
explict is not very user friendly. Equally, using the current wildcards
is ambigious. This supports pre-defined expansions only and at least makes
it clear what GPL-3.0* means (it doesn't include the exception licenses).

This is hopefully an acceptable compromise between literal meaning and
having something usable.

Non-SPDX forms of license in this field have been dropped and errors are
shown for unsupported expansions and unsupported old style license terms.

Users need to carefully consider how to migrate to the new syntax but
the meaning should be well defined and clear from here forward.

(From OE-Core rev: 724fc8047cae6ed6197d7deca887b1594871c90e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Richard Purdie
321cf8962e license/insane: Show warning for obsolete license usage
We want to use SPDX identifiers in LICENSE variables. There is now a
conversion script to make most of the translations. Add a list of
strings which have been replaced so we can show warnings to users
if they're still used anywhere.

Add checks to the package as insane check. This is currently a warning
by default but can be turned off or made an error as per the other standard
checks.

(From OE-Core rev: 9379f80f484f94686a4d494e9e237fadfb72a938)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Saul Wold
d6449581c9 base/license: Rework INCOMPATIBLE_LICENSE variable handling
This re-writes the INCOMPATIBLE_LICENSE checking code to replace
the WHITELIST_<lic> with
INCOMPATIBLE_LICENSE_EXCEPTIONS = '<pkg>:<lic> <pkg>:<lic> ...'

This initial change leaves most of the code structure in place,
but the code in base.bbclass needs to be re-written to make
the check more consistent around packages (PKGS) and not recipe
names (PN). This also is taking into account the changes for SPDX
licenses.

The aim is to provide a mode consistent variable where the variable
name is known and can easily be queried.

(From OE-Core rev: 0d19c45ba6cf43518f380ca5afe9753a2eda0691)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Konrad Weihmann
9ead8e762e pip_install_wheel: improve wheel handling
- replace python3 prefix when guessing the wheel name
  as there are still plenty of recipes out there that do use
  python3 prefixes
- remove all previously generated wheels matching the glob
  to avoid installing any outdated blob via cleandirs
  in setuptools3 class.
  Unfortunetaly proposed dist-dir or bdist-dir are not
  respected by setuptools, likely due because they
  are overridable by the setup script
- don't use PV in glob, as PV doesn't necessarily align with the
  version used inside of the setuptools configuration.
  this will avoid having the user set PYPA_WHEEL in a lot
  of recipes
- respect SETUPTOOLS_SETUP_PATH in PIP_INSTALL_DIST_PATH
  and use B as a fallback only (in case this class is inherited
  without setuptools3 class being there as well).
  recipes like python3-smbus run in a subfolder of the
  workspace and were failing in before this adjustment

(From OE-Core rev: 6f2d85a7b7d94101f2ce67115166fa86c185650f)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Tim Orling
668a625ce5 python3-flit-core: upgrade 3.6.0 to 3.7.1
Version 3.7.1
* Fix building packages which need execution to get the version number,
  and have a relative import in __init__.py (:ghpull:`531`).

Version 3.7
* Support for :ref:`external data files <pyproject_toml_external_data>`
  such as man pages or Jupyter extension support files (:ghpull:`510`).
* Project names are now lowercase in wheel filenames and .dist-info folder
  names, in line with the specifications (:ghpull:`498`).
* Improved support for :doc:`bootstrapping <bootstrap>` a Python environment,
  e.g. for downstream packagers (:ghpull:`511`). flit_core.wheel is usable
  with python -m to create wheels before the build tool is available, and
  flit_core sdists also include a script to install itself from a wheel
  before installer is available.
* Use newer importlib APIs, fixing some deprecation warnings (:ghpull:`499`).

(From OE-Core rev: 3f6768cf23e4215d99f7279b8ec6ee73ba00a656)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Tim Orling
931c5c0516 python3-tomli: inherit flit_core
Drop the setup.py workaround as it is no longer needed.

(From OE-Core rev: 88fc6ec6859e5aa1b97125fd7b692569665875f6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Richard Purdie
8a1de49b56 recipetool/devtool: Further SPDX identifier cleanups
Some of these are hard to know what to do with since the original source
files for the checksum aren't present. The safe option is to use "-only"
as often the main license is ambiguous and the source files themselves
determine the "or-later" possibility. The "-only" option therefore is
realistically what we need to use in this code.

(From OE-Core rev: 2b0cbafc7854de0308a624b17b8aaba704b031d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert Yang
bd9f71fedc cups: Add --with-dbusdir to EXTRA_OECONF for deterministic build
The configure checks /etc/dbus-1 and set DBUSDIR is null:
        if test -d /etc/dbus-1 -a "x$DBUSDIR" = x; then
            DBUSDIR="/etc/dbus-1"
        fi

So that the build resutl would be different w/o /etc/dbus-1:

/etc/dbus-1/system.d/cups.conf (Only exists when DBUSDIR is set)

Add --with-dbusdir to EXTRA_OECONF to fix the issue

(From OE-Core rev: 0e4b2464138601c4c20882c001ef11eef5100395)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert Yang
be688d2a9b quilt: Disable external sendmail for deterministic build
Otherwise, the build results would be different w/o host's /usr/sbin/sendmail:
1) The /usr/share/quilt/compat/sendmail will be genrated if no
   /usr/sbin/sendmail on host
2) No /usr/share/quilt/compat/sendmail if host's has /usr/sbin/sendmail

Use --without-sendmail to make it always generate /usr/share/quilt/compat/sendmail.

(From OE-Core rev: 3f9320816ac9f9ec8815754d1951cecb58612f70)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert Yang
bffe5b26f8 perl: Makefile.PL: Fix _PATH_LOG for deterministic
It checks host's path such as /dev/log and uses it, this doesn't make sense for
cross build, and it causes undeterministic, for example, the contianer os
usually doesn't have /dev/log which leads to a different build result since
other host usually has /dev/log, so make it always use the default value to fix
the issue.

(From OE-Core rev: 977b493e5040db8e000c6565bb29f3ac260ca0e1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Tim Orling
fb0814a57b flit_core: export do_configure and do_compile
The class should export the tasks so they can be extended or overriden
elsewhere (like what setuptools3.bbclass has).

(From OE-Core rev: 14c2dcbebccf072225a089518ffeb010401f479c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Alexander Kanavin
ab02b96e65 OELAYOUT_ABI: bump, avoid tmp/ breakage by removing old cross manifests
(From OE-Core rev: c0fca53a9b48cb4e92da89e9e652623296244ff6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Alexander Kanavin
c486c6609a sstate: do not add TARGET_ARCH to pkgarch for cross recipes.
This is redundant (target arch is already in PN), and breaks
compiling a cross-canadian toolchain, as that needs populating the
sysroot with two different native-hosted toolchains built from
cross recipes. Inserting TARGET_ARCH allows only one or the other.

(From OE-Core rev: 33fc1792cd782feb8dbb4285e3006bb588f7978f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert P. J. Day
eec3bbdd27 scripts: Various typo/grammar/punctuation fixes
Among other things, fix misspellings of:

  - absolute
  - deprecated
  - suitable
  - handle

and a bunch of other things.

(From OE-Core rev: c3773cd6c44dfe82be9ecd248120e7d6c753f891)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert Yang
5ce1060e3a coreutils: Disable statx for native build
The statx requires glibc >= 2.28 and linux kernel >= 4.11, but coreutils's
configure only checks glibc compatibility for statx syscall but fail to check
kernel support, e.g.:

RedHat Enterprise Linux Server 7.6 (Maipo)
Host kernel: 3.10.0-1127.8.2.el7.x86_64
Docker OS: Ubuntu 20.04.1 LTS

$ bitbake coreutils-native
find the binary ls and run it as "ls -l ."
The result is something like: "?????????. ? ? ? ? ? foo"

This is because glibc is 2.31 (Ubunut 20.04 in docker) which has statx,
but host's kernel is 3.10.0 (CentOS 7) which doesn't support statx.

Disable statx for native build to fix the problem.

Original from: Davi Poyastro <davi.poyastro@nokia.com>
(From OE-Core rev: 6c120d8856fab044e7b8e09d6de91c2b228a2dd9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Jose Quaresma
153d72a91d icecc.bbclass: enable networking in all tasks
The icecc.bbclass needs network access to work properly.

Currently I build with icecc inside a container with network isolation and
my icecc daemon runs outside of the build container in my host.
The only thing I need to do for using the icecc inside my build container is
mounting the unix socket /var/run/icecc/iceccd.socket inside the container.

I think we need something like this mount functionality to have access to
some sockets connections inside the tasks that runs on the new namespace
created with unshare system call.

This patch is not a the real solution for the problem and is more like
an hack so we can use the icecc.bbclass again.

(From OE-Core rev: 25ea276a13a6ac2342c2b0945c8fafe878d56095)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Randy MacLeod
8ff8e727ed libarchive: upgrade 3.5.3 -> 3.6.0
(From OE-Core rev: 6aa1420d747ebd77bfa7069d42df1ff9040424ba)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
706a11959f sysstat: upgrade 12.4.4 -> 12.4.5
Changelog:
=========
* sar/sadf: Make sure that datafiles with unknown activities can
  be read by sar and sadf.
* sar/sadf: Don't reallocate buffers for activities not present
  in file.
* sar: Make sure that all buffers are copied in copy_structures()
  function.

(From OE-Core rev: 7ec2ed62ea64e5a3652b436e7772216159ae4466)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
549c5046de sqlite3: upgrade 3.37.2 -> 3.38.0
Remove invalid PACKAGECONFIG : json1

(From OE-Core rev: 3f665656e3c0134994015235c24240086d5324fc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
0242799a09 wget: upgrade 1.21.2 -> 1.21.3
Changelog:
=========
** Fix computation of total bytes downloaded during FTP trasnfers (#61277)
** Add option to select TLS 1.3 on the command line
** Fix HSTS build issues on some 64-bit big-endian systems
** Hide password during status report in --no-verbose
** Remove a sprurious print statement that showed up even during --quiet
** Some more cleanups and bug-fixes

(From OE-Core rev: 6223406cdeee436feba5d247d7933b6ae22c985d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
05fbb1a2ee ovmf: upgrade 202111 -> 202202
0001-Fix-VLA-parameter-warning.patch
removed since it's included in 202202

Changelog:
=========
OvmfPkg Add new target for Cloud Hypervisor
Add TDVF to OvmfPkg
Add new APIs to UefiCpuPkg/UefiCpuLib
Add AMD Secure Nested Paging Support
Add SSDT PCI generator in DynamicTablesPkg
Support ACPI 6.4 PPTT changes
Add FdtHwInfoParser library
Add DynamicPlatRepo library
Make package and platform builds reproducible across source format changes
Add Uncrustify CI Plugin
Apply uncrustify changes to all package C and H files

(From OE-Core rev: 5e280a4d6bf67c3b7d26c444bc52f25e63ae57a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
3a9e6f8194 mesa: upgrade 21.3.6 -> 21.3.7
Changelog:
=========
Bug fixes
---------
lavapipe: dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_3.step fails
ANV: Bad output from TransformFeedback . Regression from Mesa 21. Something to do with VB+XFB -> VB+XFB dependency?

Changes
-------
pan/bi: Avoid *FADD.v2f16 hazard in optimizer
pan/bi: Avoid *FADD.v2f16 hazard in scheduler
pan/bi: Lower swizzles on CSEL.i32/MUX.i32
panvk: Use more reliable assert for UBO pushing
radv: Fix preamble argument order.
ir3/spill: Fix simplify_phi_nodes with multiple loop nesting
lavapipe: fix sampler + sampler view leaks.
lavapipe: reference gallium fences correctly.
crocus: fix leak on gen4/5 stencil fallback blit path.
i915g: Initialize the rest of the "from_nir" temporary VS struct.
pick_status.json: Update to dabba7d7263be6ffb6f3676465e92c65952fa824
pick_status.json: Mark b07372312d7053f2ef5c858ceb1fbf9ade5e7c52 as denominated
gallivm/nir: Call nir_lower_bool_to_int32 after nir_opt_algebraic_late
nir: All set-on-comparison opcodes can take all float types
intel/fs: Don't optimize out 1.0*x and -1.0*x
spriv: Produce correct result for GLSLstd450Step with NaN
spirv: Produce correct result for GLSLstd450Modf with Inf
spirv: Produce correct result for GLSLstd450Tanh with NaN
nir: Properly handle various exceptional values in frexp
nir: Produce correct results for atan with NaN
nir: Add missing dependency on nir_opcodes.py
anv: Call vk_command_buffer_finish if create fails
dri: avoid NULL deref of DrawBuffer on flush
nir: fix lower_memcpy
anv/genxml/intel/fs: fix binding shader record entry
anv: don't set color state when input state was requested
ac/surface: add more elements to meta equations because HTILE can use them
lavapipe: use util_pack_color_union() for generating clear colors
aux/draw: fix llvm tcs lane vec generation
zink: always set VkPipelineMultisampleStateCreateInfo::pSampleMask
zink: always invalidate streamout counter buffer if not resuming
iris: Don't fast clear with the view format
r300: fix transformation of abs modifiers with negate
radeonsi: workaround Specviewperf13 Catia hang on GFX9
radeonsi: fix depth stencil multi sample texture blit
glx: fix pbuffer refcount init
radv/winsys: fix initializing debug/perftest options if multiple instances
intel/genxml: add PIPE_CONTROL field for L3 read only cache invalidation
anv: invalidate L3 read only cache when VF cache is invalidated
iris: invalidate L3 read only cache when VF cache is invalidated
iris: fix a leak on surface states
mesa/st: always use DXT5 when transcoding ASTC format
tegra: Use private reference count for sampler views
tegra: Use private reference count for resources
radv: Disable IB2 on compute queues.
venus: properly destroy deferred ahb image before real image creation

(From OE-Core rev: 31daf916d218d5e6e95bac857cbeb0d44901e4b3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
7647652925 libva: upgrade 2.13.0 -> 2.14.0
Changelog:
=========
* add: Add av1 encode interfaces
* add: VA/X11 VAAPI driver mapping for crocus DRI driver
* doc: Add description of the fd management for surface importing
* ci: fix freebsd build
* meson: Copy public headers to build directory to support subproject

(From OE-Core rev: 728d20b0bb3ee0728e40867c1590febf584c28a2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
90db5dc39f libsolv: upgrade 0.7.20 -> 0.7.21
Changelog:
=========
- selected bug fixes:
  * fix segfault on conflict resolution when using bindings
  * fix split provides not working if the update includes a forbidden
    vendor change
- new features:
  * support strict repository priorities
    new solver flag: SOLVER_FLAG_STRICT_REPO_PRIORITY
  * support zstd compressed control files in debian packages
  * add an ifdef allowing to rename Solvable dependency members
    ("requires" is a keyword in C++20)
  * support setting/reading userdata in solv files
    new functions: repowriter_set_userdata, solv_read_userdata
  * support queying of the custom vendor check function
    new function: pool_get_custom_vendorcheck
  * support solv files with an idarray block
  * allow accessing the toolversion at runtime

(From OE-Core rev: a02f7e4cf097e3c814a3a415f700d87c71fa6528)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
0b196b0d57 libjpeg-turbo: upgrade 2.1.2 -> 2.1.3
License-Update: year updated to 2022

Changelog:
==========
1. Fixed a regression introduced by 2.0 beta1[7] whereby cjpeg compressed PGM
input files into full-color JPEG images unless the '-grayscale' option was
used.

2. cjpeg now automatically compresses GIF and 8-bit BMP input files into
grayscale JPEG images if the input files contain only shades of gray.

3. The build system now enables the intrinsics implementation of the AArch64
(Arm 64-bit) Neon SIMD extensions by default when using GCC 12 or later.

4. Fixed a segfault that occurred while decompressing a 4:2:0 JPEG image using
the merged (non-fancy) upsampling algorithms (that is, with
'cinfo.do_fancy_upsampling' set to 'FALSE') along with 'jpeg_crop_scanline()'.
Specifically, the segfault occurred if the number of bytes remaining in the
output buffer was less than the number of bytes required to represent one
uncropped scanline of the output image.  For that reason, the issue could only
be reproduced using the libjpeg API, not using djpeg.

(From OE-Core rev: bc8da75b47f4f04592d0d1c3f9fea662ac1ee56c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
451ac73a33 ccache: upgrade 4.5.1 -> 4.6
License-Update:
 year updated to 2022
 version of library updated

(From OE-Core rev: 973f0b25aa324dbd4642f67952f5531bf68ae9f6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
dc98fba73a dbus: upgrade 1.12.20 -> 1.12.22
(From OE-Core rev: 1fb8ea03cf6c4df4d8c2cc9329dfe80c83a37e2d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
eabd510875 at: upgrade 3.2.4 -> 3.2.5
Changelog:
=========
Fix: atd forgets to run a job in the queue
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004972

(From OE-Core rev: 6e97ff2927c55d6045644dee467b5b7b59b1f243)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
9a2c44ff61 python3-hypothesis: upgrade 6.37.2 -> 6.39.0
Changelog:
=========
This release improves Hypothesis' handling of positional-only arguments,
which are now allowed @st.composite strategies.

On Python 3.8 and later, the first arguments to builds() and from_model()
are now natively positional-only. In cases which were already errors, the
TypeError from incorrect usage will therefore be raises immediately when
the function is called, rather than when the strategy object is used.

(From OE-Core rev: 4278a345300dd9c42fcd28a7f2149e6046b3467e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
f91f0d2046 python3-dbusmock: upgrade 0.25.0 -> 0.26.1
Changelog from 0.25.0 to 0.26.1:
==========
- logind template: Add locking API
- bluez5 template: Add RemoveDevice() and RemoveAdapterWithDevices() methods,
  fix properties
- Documentation improvements, particularly wrt. raising errors
- Fix README content type to Markdown, to fix releasing to PyPi

(From OE-Core rev: e9ff8a96165ce8901f36da1be1eae4b6bc2c3a3b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Changhyeok Bae
77e185ec29 repo: upgrade 2.21 -> 2.22
(From OE-Core rev: 7a1d98521e4493ed1a5f1163c47227c5e302ff12)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
8f707d5197 nghttp2: upgrade 1.46.0 -> 1.47.0
Changelog:
=========
lib: Fix decoder table size update (GH-1667)
lib: chore: fix -Wunreachable-code-return (GH-1625)
build: Make Docker speak HTTP/3 (GH-1657)
build: Remove SPDY option for CMake (GH-1665)
build: cmake: Disable libbpf build by default
doc: Fix typos (GH-1668)
doc: Update nghttp2.pyx (GH-1666)
h2load: Handle EAGAIN/EWOULDBLOCK from sendmsg
h2load: allow setting max frame size for h2load (GH-1640)
nghttpx: Add --require-http-scheme option
nghttpx: Add support QUIC BBR2
nghttpx: Bump libbpf to v0.7.0 and turn on all strict features
nghttpx: Change qlog file extension to .sqlog
nghttpx: Fix bug that h3 stream ends prematurely
nghttpx: Fix the issue that forwarded h3 GET request always has chunked TE
nghttpx: Handle EAGAIN/EWOULDBLOCK from sendmsg
nghttpx: Send and receive ECN in QUIC packets
nghttpx: Set IP_PMTUDISC_DO explicitly
nghttpx: Support h3 trailer fields
nghttpx: fix quotes in --altsvc example (GH-1643)
nghttpx: shrpx: make nghttpx -v show ngtcp2 and nghttp3 version as well (GH-1636)
third-party: Bump llhttp to v6.0.6

(From OE-Core rev: e4d54bb9d070a342c32ce863a45c01302c9de4f9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
e1dea39862 libgit2: upgrade 1.4.1 -> 1.4.2
This is a bugfix release with the following changes:
====================================================
remote: do store the update_tips callback error value
win32: find_system_dirs does not return GIT_ENOTFOUND

(From OE-Core rev: c8f1727fd3f9583e25ac4dab0194b508758d7eaa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
83232ac6d8 ell: upgrade 0.48 -> 0.49
Changelog:
==========
 Fix issue with multiple offers from the same DHCP server.
 Fix issue with Base64 decoding and bytes consumed validation.

(From OE-Core rev: 790f45993ac9c10ee547e4d9ae3dd0bfa96aa469)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Mark Hatle
d895863af1 bitbake: utils/ply: Change md5 usages to work on FIPS enabled hosts
hashlib.md5() is not permitted on a FIPS enabled host system.  This is due
to md5 not being an approved hash algorithm.

Instead use:
 hashlib.new('MD5', usedforsecurity=False)

This is allowed, as it's clear the hash is used for a non-security purpose.

Note: utils.py version should never be used to verify file integrity, but
instead be used to identify if the file may have changed.  sha256 should be
used for integrity purposes.

(Bitbake rev: af866dd077867cba0129757bfcc689551445e9d7)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 00:20:50 +00:00
Lee Chee Yang
1d98b3aaae poky.conf: update tested distro
drop opensuseleap-15.2 and fedora-33

add fedora-35, opensuseleap-15.3 and almalinux-8.5

(From meta-yocto rev: a1b752d31603bdbf9b9ee4eb09b2fd6ad4ad5d21)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:51:21 +00:00
Mark Hatle
e9cc9772f2 insane.bbclass: Update insane.bbclass to work on FIPS enabled hosts
hashlib.md5() is not permitted on a FIPS enabled host system.  This is due
to md5 not being an approved hash algorithm.

Instead use:
 hashlib.new('MD5', usedforsecurity=False)

This is allowed, as it's clear the hash is used for a non-security purpose.

Using an md5 to identify when a license has changed is permitted, as we're
not using it for file integrity.

(From OE-Core rev: 7f7eb82ce47ede6ec6f50cbcb56cbfbe10e8d20c)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
83766c9fff meta, meta-selftest: Replace more non-SPDX license identifiers
In commit ceda3238 (meta/meta-selftest/meta-skeleton: Update LICENSE
variable to use SPDX license identifiers) all LICENSE variables were
updated to only use SPDX license identifiers.

This does the same for comments and other variables where it is
appropriate to use the official SPDX license identifiers. There are
still references to, e.g., "GPLv3", but they are then typically in
descriptive text where they refer to the license in a generic sense.

(From OE-Core rev: 165759dced7fbe73b1db2ede67047896071dc6d0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
68d1a56e98 recipetool: Use SPDX license identifiers
There are still a couple of cases where the license may be set as, e.g.,
"GPL" or "GPL-2.0" since there is not enough information to decide the
actual SPDX license. It is then assumed that the developer will have to
correct the information.

(From OE-Core rev: e7df51f8d2361e9fe2d67669d2e17f0a5d01004e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
949aa76210 recipetool/create_buildsys_python: Add support for more known licenses
Add all OSI approved licenses from https://pypi.org/classifiers/. Also
add support for Other/Proprietary (Proprietary) and Public Domain (PD).

(From OE-Core rev: 99ef134d1019e5b98b845cf71f3eb39871218f9d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
6e05fb6551 selftest: recipetool: Correct the URI for socat
The URI to the socat tarball used in the
recipetool.RecipetoolCreateTests.test_recipetool_create_simple test has
been moved to an "Archive" directory.

(From OE-Core rev: 1e8b716e1377ad49f1451cbabe7c9961cc507731)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
8a461e642d default-distrovars.inc: Remove the empty default for WHITELIST_GPL-3.0
There is no reason to set an empty default for it, while not doing it
for all other potential WHITELIST_* variables. The reason it was set
here is a leftover from before when it was actually set to a value.

(From OE-Core rev: 22ccd479147744fcbf4f2e765e54da8d3d3d9c7f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Richard Purdie
e5c521661e mutlilib: Handle WHITELIST_GPL-3.0 being unset
The code doesn't work if the variable is unset, fix that.

(From OE-Core rev: b5248cc232629b021d8934899326468c3ef46351)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Alejandro Hernandez Samaniego
ed323de4dc initramfs-framework: Add overlayroot module
When installed, this module mounts a read-write (RW) overlay on
top of a root filesystem, which is kept read-only (RO), free
from modifications by the user, this might prove to be useful
if we want to access or restore the original unmodified rootfs.

The existing overlay-etc.bbclass does something similar, it
mounts an overlay on top of the /etc directory, however doing
the same for root causes the original root to be inaccessible
once the system is booted, hence why this module is added to
the initramfs boot flow, allowing us to mount the RW overlay,
while keeping the original rootfs mounted at /rofs once the
system finishes booting. This script is loosely based on that
class.

This module requires rootrw=<foo> to be passed as a kernel
parameter to specify the device/partition to be used as RW by the
overlay and has a dependency on overlayfs support being present
in the running kernel.

It does not require the read-only IMAGE_FEATURE to be enabled.

The module needs to be executed after the initramfs-module-rootfs
since it relies on it to mount the filesystem at initramfs startup
but before the finish module which normally switches root.
After overlayroot is executed the usual boot flow continues from
the real init process.

If something goes wrong while running this module, the rootfs
is still mounted RO (with no overlay) and the finish module is
executed to continue booting normally.

Its worth noting that, on purpose, this isnt installed by default
on any images that use initramfs-framework to keep the boot flow
unmodified, only when a user manually requests to install it,
then it becomes functional.

(From OE-Core rev: 4f876982a856c54a8074c85346632e33caa7ef53)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
31bca6db85 gma500-gfx-check: Update LICENSE to use an SPDX license identifier
(From meta-yocto rev: 7408fc695b4f70c351611c1dbd41ba6fb3ff539b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 01:30:18 +00:00
Tim Orling
596bc1658e flit_core: inherit setuptools3-base
This helps bridge the old setuptools3 behavior.

FILES:${PN} has sane defaults in setuptools3-base

(From OE-Core rev: b1bb4e2d73985c6e8cf03b0fea94e8b739648cf7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Khem Raj
836f8c4b4e musl: Update to latest master
brings in these fixes

  * f8bdc304 fix spurious failures by fgetws when buffer ends with partial character
  * 5690668a add missing strerror text for key management
  * 3b7b4155 fix out-of-bound read processing time zone data with distant-past dates
  * 75b3412f fix potentially wrong-sign zero in cproj functions at infinity
  * 52f0deb9 make fseek detect and produce an error for invalid whence arguments
  * cbacd638 add SEEK_DATA and SEEK_HOLE to unistd.h

(From OE-Core rev: 6c76063019f9aab5c249750e526bae9031829efe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Peter Kjellerstedt
9da87f1119 license.py: Correct a comment
(From OE-Core rev: 1f7a34c6d246c6f42ab823ffd0bd0306705ad88d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Stefan Herbrechtsmeier
ba9461372d systemd: move systemd shared library into its own package
Move the systemd shared library (libsystemd-shared.so) into its own
package to prevent a runtime dependency from udev package to systemd
package and thereby to a second init manager.

(From OE-Core rev: d1473149816674e3a3aa3f565e8b6390d2d0f1a6)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Joe Slater
62644e48da zip: modify when match.S is built
Use the correct $CPP to test if *.S are buildable,
but do not build match.S because it is not PIC code.

(From OE-Core rev: 58b16da805b774465f15c8bee59f8361a47ccd4e)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
wangmy
f74327157c python3-git: upgrade 3.1.26 -> 3.1.27
Changelog:
=========
-Reduced startup time due to optimized imports.
-Fix a vulenerability that could cause great slowdowns when encountering long
 remote path names when pulling/fetching.

(From OE-Core rev: 3cb7f09392f1e43fec1c490cdee8bcdf581b1489)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Ross Burton
3f37a01275 Revert "cve-check: add lockfile to task"
Now that all of the functions in cve-check open the database read-only,
we can remove this lockfile.

This means cve-check can run in parallal again, improving runtimes
massively.

This reverts commit d55fbf4779.

(From OE-Core rev: d3d3e7b324698ec3e6fce1951aba389805f3edd3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Oleksandr Ocheretnyi
cff7f3c174 kernel-devsrc: do not copy Module.symvers file during install
When CONFIG_MODULES is not enabled in kernel config - Module.symvers
generation is not done, which causes the file not to be created.

This fails later in do_install() due to the fact that copy
command in executed for non-existing Module.symvers file.

Check for Module.symvers existence before copy command in executed.

(From OE-Core rev: deacceac6461400037b152260c8edbc819f6309a)

Signed-off-by: Oleksandr Ocheretnyi <oocheret@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Richard Purdie
7638fcf5c1 pip_install_wheel: Use BPN instead of PN to construct PYPI_PACKAGE default
This fixes the name for native and nativesdk recipes.

(From OE-Core rev: 498342f483118d22f529c4e255cc50455d51e9ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-26 08:21:08 +00:00
Tim Orling
49168f5d55 pip_install_wheel: improved wheel filename guess
Rather than only use PYPI_PACKAGE as a guess, fall back on PN for cases
where a recipe does not inherit pypi.

Wheels can only have alphanumeric characters in the 'distribution'
name [1]. Any other characters are replaced with an underscore. Provide a
function to replace dash with underscore.

[1] https://www.python.org/dev/peps/pep-0491/#escaping-and-unicode

(From OE-Core rev: 9fc8e55892374f1e63b4c995fe1a5539c42d24e0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:43:53 +00:00
Alexander Kanavin
4668db8175 insane: use HOST_ variables, not TARGET_ to determine the cross system
Almost everywhere those are the same, except when making a cross toolchain
where HOST_ is where it's going to run, and TARGET_ is what it's going to
produce.

(From OE-Core rev: cd25e5544ca3f48cc4c32001e917aa3dc20dd79a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:30:04 +00:00
Alexander Kanavin
085941279b base/staging: use HOST_PREFIX, not TARGET_PREFIX
This matters when cross-compiling a cross-toolchain:
we need to specify the system where the toolchain
will run, not the system it will produce output for.

For everything else, HOST and TARGET are the same.

(From OE-Core rev: 03679622c5d1088e96d3d2a444c99021e5ae6ee6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:30:04 +00:00
Tim Orling
c99211fa6f selftest: drop distutils3 test from recipetool
The distutils*.bbclasses have been moved from oe-core to
meta-python, so drop test_recipetool_create_python3_distutils
test case.

[YOCTO #14610]

(From OE-Core rev: 54ae2f647dc7dbafa5b90e9edbd62a0d355702f5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
33e4144e1d disutils*.bbclasses: move to meta-python
distutils has been deprecated in Python 3.10 and will be removed in
Python 3.12 (predicted release date October 2023). For now, move these
classes from oe-core to meta-python to allow users to migrate.

[YOCTO #14610]

(From OE-Core rev: 782ce913b3611da8571a758c821b1491493eabec)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
wangmy
853c1fa4da asciidoc: upgrade 10.1.1 -> 10.1.3
Bugfix:
========
Add missing py files to dist archives
Fix setup.py including packages outside of asciidoc

(From OE-Core rev: 327c6272e31a2862c21e1c06ccf779eb1aefab14)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
wangmy
8d5aae114a python3-markupsafe: upgrade 2.0.1 -> 2.1.0
Changelog:
==========
Drop support for Python 3.6. :pr:'262'
Remove soft_unicode, which was previously deprecated. Use soft_str instead. :pr:'261'
Raise error on missing single placeholder during string interpolation. :issue:'225'
Disable speedups module for GraalPython. :issue:'277'

(From OE-Core rev: b953a11adcc014ee561af844b09e3513d534a4f9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
wangmy
881b0ab1b3 python3-hypothesis: upgrade 6.36.2 -> 6.37.2
This patch fixes a bug in stateful testing, where returning a single value
wrapped in :func:'~hypothesis.stateful.multiple' would be printed such that
the assigned variable was a tuple rather than the single element

(From OE-Core rev: 451e9c4403ae140edc2df77e22745e029ad1ca63)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
974a5d72ea python3-nose: drop recipe
The code has not been touched since 2016 and numerous files still have
Python2 syntax code in them. This causes do_compile errors when
packaging a wheel (PEP-517 packaging).

Nothing in oe-core depends on python3-nose.

[YOCTO #14638]

(From OE-Core rev: 19135f8b7cbaabeb2e38572d11e909ce386d60b8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
6d9295511e python3-packaging: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 37e22b4189535f67b5bad0851baabc27532cbada)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
d2189f178a python3-mako: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 5d591c6a498f2667f61147f30dc441856567825a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
390f3e6a32 python3-dbusmock: set PIP_INSTALL_PACKAGE
The name of the wheel as built by bdist_wheel is "python_dbusmock", set
PIP_INSTALL_PACKAGE appropriately.

[YOCTO #14638]

(From OE-Core rev: e2727e2b42f7f0df3fa06334085479fa9663c452)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
9348370e5a python3-numpy: Fix pyc determinism issue
Using frozenset causes problems for pyc file determinism. For now remove
the problematic pyc file as we do in the main python3 recipe.

(From OE-Core rev: 9888608f75a97a633bc7d2207ab2defc48c92ac4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
bef2724dcb python3-numpy: set PIP_INSTALL_PACKAGE
The recipe does not inherit pypi so we need to manually set
PIP_INSTALL_PACKAGE appropriately.

[YOCTO #14638]

(From OE-Core rev: 6663aaa636f06991ed1cff58178e378eeebadf44)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
55afe9401d gi-docgen: set PIP_INSTALL_PACKAGE
The name of the wheel as built by bdist_wheel is "gi_docgen", set
PIP_INSTALL_PACKAGE appropriately.

[YOCTO #14638]

(From OE-Core rev: ed4c85b6e907c83aa01979a863bb91e509b0c26f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
65310e3240 asciidoc: set PIP_INSTALL_PACKAGE
This recipe does not inherit pypi and therefor we need to manually set
PIP_INSTALL_PACKAGE to reflect the wheel built by bdist_wheel.

[YOCTO #14638]

(From OE-Core rev: 65b55fa2d4e8e8ade7a17ac9e95639b08472747a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
d53b85f467 bmap-tools: set PIP_INSTALL_PACKAGE, BASEVER
Change filename to _git.bb and use BASEVER to set PV.

The wheel built by bdist_wheel is named "bmap_tool-*.whl" set the
PIP_INSTALL_PACKAGE name accordingly.

Use BASEVER to set PYPA_WHEEL to match the version in the wheel produced
by bdist_wheel.

[YOCTO #14638]

(From OE-Core rev: 7aea6a938544582d036c454beeef947c986eedc7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
ca95037362 python3-magic: set PIP_INSTALL_PACKAGE
The wheel built by bdist_wheel has the name "python_magic-*.whl" so set
PIP_INSTALL_PACKAGE accordingly.

[YOCTO #14638]

(From OE-Core rev: 44263ae8eb56966407cd8ca2c862daab342196f2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
db10509019 python3-subunit: merge inc; set PIP_INSTALL_PACKAGE
We have not supported python2 for some time now, so there is no reason
to maintain a separate python-subunit.inc file.

The wheel built by bdist_wheel is named 'python_subunit-*.whl', so set
PIP_INSALL_PACKAGE appropriately.

Add patch to use vendored _distutils from setuptools.

[YOCTO #14638]

(From OE-Core rev: 1183357dc9ebff0281c195b41f16fa07c79e84a0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
7b4524f5a1 python3-scons: merge -native recipe
The native recipe simply calls create_wrapper to add a host script. Do
this via do_install:append:class-native()

The scons*.1 man pages are being installed in ${prefix}, move them to
${mandir} (previously installed in ${datadir}).

[YOCTO #14638]

Drop from maintainers.inc

(From OE-Core rev: f91009d168bcad5df6b3ca4f5cd4babff5cf682c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
5c5347449e python3-smartypants: patch hash bang to python3
Change hash bang in smartypants and smartypants.py to be /usr/bin/env
python3

[YOCTO #14638]

(From OE-Core rev: ef8ccaa1dcd396dafb328cd64777d4bd6973e9e1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
2b54e80a8a python3-libarchive-c: set PIP_INSTALL_PACKAGE
Set PIP_INSTALL_PACKAGE to libarchive_c to match the name of the wheel
built by bdist_wheel.

[YOCTO #14638]

(From OE-Core rev: e57e83d631fdd021f84cdbc827b2bc595a43b26e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
b5cc70b392 meson: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares setuptools.build_meta
to be backend for PEP-517 packaging.

Set PIP_INSTALL_PACKAGE as this recipe does not inherit pypi and
therefor no PYPI_PACKAGE is defined

[YOCTO #14638]

(From OE-Core rev: 0d9bc65139a9cabbeabe166e83f2d61f47d7bdd7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
9d45c92149 python3-more-itertools: set PIP_INSTALL_PACKAGE
Define PIP_INSTALL_PACKAGE as more_itertools to match the name of the
wheel.

[YOCTO #14638]

(From OE-Core rev: 2fc5674487be59bfdda21f7646c53d90687f1c36)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
981857c63a setuptools3.bbclass: refactor for wheels
Depend on python3-wheel-native so that we can build with 'setup.py
bdist_wheel'.

Use pip_install_wheel class to install the built wheels with pip, as
intended by upstream Python.

[YOCTO #14638]

(From OE-Core rev: 8b39c0bc535814e04d01d50a4891cb31b6bf84bd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
fffeecbd9a python3-setuptools: inherit setuptools_base_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

We need to bootstrap python3-setuptools-native, simply installing by
unzipping the built wheel. This avoids a dependency loop.

[YOCTO #14638]

(From OE-Core rev: 889c05e5b4ce9a36b4ac3ac869c1ef55c2f8b566)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
9dcc0b64b3 python3-pluggy: inherit setuptools_build_meta
Upstream provides a pyproject.toml which while it does not declare the
setuptools.build_meta backend is compatible with it.

[YOCTO #14638]

(From OE-Core rev: eedaa55ee5a7bec884e2deb4e39a7b737550f2f1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
ab65a0e4e7 python3-py: inherit setuptools_build_meta
Upstreama provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 32177ae33ab275e9d512e0d4c85773bfbc10a44c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
387e7c4426 python3-iniconfig: inherit setuptools_build_meta
Upstream provides a pyproject.toml which decalres the
setuptools.build_meta backend for PEP-517 packaging.

DEPENDS on python3-setuptools-scm-native (as declared in the
pyproject.toml build-system.requires).

[YOCTO #14638]

(From OE-Core rev: 9a19b82aba4d63513814982b21d7879eacad8850)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
fade1b7cbe python3-zipp: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 7a6846d5c9ebc972d7ebae0363834b0b371840d4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
735340b8e7 python3-setuptools-scm: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: f83147625795f7b852a3ee762c31da24fb65a4c3)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
b013fdbf46 python3-pytest: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 0e1e55cbccfb126245f65d1ff081acd159bf7709)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
5ebeb2b7c8 python3-git: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 87aa5c9219b405db364508c09d0edd630c909969)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
7946504e8e python3-attrs: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 783f7ad8198933fcb9e4b5407874565a71b17bef)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
228c3b3562 python3-pip: Improve reproducibility
Pip installed wheels are not reproducible currently. The direct_url
files encode an installation path and the installed wheels compile
the python files at their location, not their final install location
which is incorrect.

To fix this, simply disable the direct_urls and pass the "root" to
the python compile function to strip that path out of the compiled
files.

(From OE-Core rev: 2c74d5346e7581949fbdebc4744c8317236221c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
3a4f842307 python3-pip-native: install scripts in ${bindir}
The naïve approach of simply unzipping the built wheel is not
sufficient. 'pip install' would normally have created the
[console_scripts] from entry-points.txt in ${D}${bindir}.

For bootstrapping purposes, hardcode the scripts and install them into
${D}${bindir}. Skip the ${bindir}/pip variant.

[YOCTO #14739]

(From OE-Core rev: 5b58328b610273fea42c144cd590e638c0dc1e4e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
d98a804617 python3-pip: Don't change shebang
Patch pip to disable shebang mangling and also force the python executable
to be python3 from the environment when building anything for the target
(or nativesdk).

(From OE-Core rev: 8ceb0bec18422818dcdb0efecec08ed155dc4715)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
5c46eeb375 python3-pip: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares setuptools.build_meta
as the backend for PEP-517 packaging.

We bootstrap the -native installation by simply unzipping the wheel to
PYTHON_SITEPACKAGES_DIR, so that all other recipes can use pip to
install wheels (as intended by upstream).

Check for presence of ${D}${bindir}/pip and remove if found (this was
originally to make sure Python2 pip was the default).

[YOCTO #14638]

(From OE-Core rev: 082fb72ed1683a699ef4bc2c92aa987ce9c46509)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
74e5fc20c0 setuptools_build_meta.bbclass: add helper class
This class uses the PEP 517 compliant setuptools.buil_meta to build
wheels.

[YOCTO #14638]

(From OE-Core rev: b8f25c75f152683de4fa6c176118583d3dea894d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
ae5f415311 python3-wheel-native: install ${bindir}/wheel
pip install would normally install [project.scripts] to ${D}${bindir}
but our naïve bootstrapping only unzipps the wheel to
${D}${PYTHON_SITEPACKAGES_DIR}. Correct this by creating the equivalent
script in do_install:class-native

[YOCTO #14739]

(From OE-Core rev: 19e83270d17984cf6b471c387eb08103816b359f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
3dbb469523 pip_install_wheel: Use --ignore-installed for pip
Replace the use of --force-reinstall with --ignore-installed when running pip
install. It can detect currently installed modules in the wrong environment and
try to remove them currently which is not what is desired. Ignoring them is the
correct thing to do.

(From OE-Core rev: 39b0d36b00d98a848297d0667c6cffc049d215e3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
417f4de5c6 pip_install_wheel: Recompile modified files
If we modify the file, we need to recompile the pyc files since the file
hash has changed. This would otherwise result in reproducibility failrues.

(From OE-Core rev: 9573034eb8cdc3b9c2add67ac0a92277dc26389f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
4be36f5858 pip_install_wheel.bbclass: add helper class
Provide a helper class to use pip to install wheels built by either
bdist_wheel or a PEP-517 backend.

Set pip install arguments via PIP_INSTALL_ARGS, which can be overriden
by recipes.

Pass --root and --prefix to ensure that pip installs things into the
proper place in sysroot.

By passing --no-deps and --no-index we avoid finicky dependency
checking (pip expects wheels in its cache) and avoid trying to fetch
wheels from pypi.org. This is basically the same behavior we have now,
the dependencies should be declared in the recipe.

Also pass --force-reinstall to make sure built wheels are always installed
so that FILES gets properly populated.

Pass --no-cache to avoid a (harmless) warning about the pip cache in
$HOME be avoiding use of cache. We do not likely want wheels cached
anyway,

pip install changes the python interpreter in scripts installed in
${bindir}, e.g. to #!/usr/bin/nativepython3, correct the behavior after
install to #!/usr/bin/env python3.

[YOCTO #14638]

(From OE-Core rev: 32a61afde0e7d8df6634b88525d8c3e8c6c3516e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
f4c43d7921 python3-wheel: inherit flit_core
Backport pyproject.toml from flit-backend branch.
Inherit flit_core class to build
Inherit pip_install_wheel to install wheels for target

We need to bootstrap python3-wheel-native in order to have bdist_wheel
available to python3-setuptools-native and the refactored
setuptools3.bbclass. Simply unzip the wheel into
PYTHON_SITEPACKAGES_DIR for class-native.

[YOCTO #14638]

(From OE-Core rev: 764d0c2e079b3511afe03deadf3ec922e41b89aa)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
29d6a3ae34 flit_core.bbclass: add helper for newer python packaging
Some python packages now use pyproject.toml and declare
flit_core.buildapi as the build engine

Use pip_install_wheel class to install.

[YOCTO #14638]

(From OE-Core rev: f0292098dc5afc62e0cd91d475edeb1784700795)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
72887eca0d python3-flit-core: inherit pip_install_wheel
Keep the pip install logic, especially --root in one place to ensure
that we fix e.g. reproducible issues in one place.

(From OE-Core rev: 200ae6b4d54c7235e0a96e2dd4bba1cdd68bd14f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:49 +00:00
Tim Orling
63e3ca54b6 python3-flit-core: SUMMARY DESCRIPTION HOMEPAGE
Add SUMMARY DESCRIPTION HOMEPAGE and BUGTRACKER definitions.

(From OE-Core rev: 559145c94621d4026abf2d0a0f7f932156861446)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:49 +00:00
Tim Orling
2d1d8e91b2 python3-flit-core: add recipe for 3.6.0
This is the core of one of the "new build system" tools--hosted
officially as part of the pypa (Python Packaging Authority)
repositories--it is an increasingly common build tool (e.g.
typing_extensions and tomli) as declared in pyproject.toml for
said packages.

This package provides a very simple bootstrapping method that builds
the source tarball (build_sdist) and a wheel (build_wheel).

Bootstrap -native by simply unzipping the wheel to
PYTHON_SITEPACKAGES_DIR.

Use pip to install the wheel for class-target.

Wheels are the official vehicle for delivering Python packages now.
Eggs (egg-info) are deprecated and will increasingly go away.

[YOCTO #14638]

(From OE-Core rev: 18717181e4a893fd7c309eb75443a868ec4e83eb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:49 +00:00
Richard Purdie
2a06ab3eb8 licenses: Fix logic error introduced in rename
The previous commit introduced a small logic error. Fix the renaming issue.

(From OE-Core rev: b01e10b27d23ea1b4ac58376c2423505a70832d6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:45:41 +00:00
Ross Burton
18f40dfdfd oeqa/controllers: update for MasterImageHardwareTarget->Controller...
oe-core f87b328 renamed MasterImageHardwareTarget to
ControllerImageHardwareTarget, but these files were left out of the
updates.

(From meta-yocto rev: 8e578551e14e90da20701bb8a9598e2bb25f74e6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:48 +00:00
Tamizharasan Kumar
d418a495bb linux-yocto/5.15: update genericx86* machines to v5.15.22
(From meta-yocto rev: 30dba8a1fb7281d019fb0b6d0b4e82d0be54e248)

Signed-off-by: Tamizharasan Kumar <tamizharasanx.kumar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:48 +00:00
Tamizharasan Kumar
a39515a78b linux-yocto/5.10: update genericx86* machines to v5.10.99
(From meta-yocto rev: ce1b3550849bfc76fb3e0a76c9d1f495d56b6051)

Signed-off-by: Tamizharasan Kumar <tamizharasanx.kumar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:48 +00:00
Stefan Herbrechtsmeier
6452862674 files: overlayfs-create-dirs: split ExecStart into two commands
Split ExecStart into two commands because systemd interpret an ExecStart
entry as a single executable with multiple parameters.

systemd[1]: Starting Overlayfs directories setup...
mkdir: cannot create directory '&&': Read-only file system
mkdir: cannot create directory 'mkdir': Read-only file system

(From OE-Core rev: 209204f7f9d294543fd57b90e29a95c2cde66d99)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Stefan Herbrechtsmeier
4fee926120 classes: rootfs-postcommands: avoid exception in overlayfs_qa_check
The overlayfs_qa_check in the rootfs-postcommands class throws an
exception if the overlayfs distro feature is enabled but no global
OVERLAYFS_MOUNT_POINT is specifived.

File: '/home/stefan/dalos-linutronix/poky/meta/classes/rootfs-postcommands.bbclass', lineno: 389, function: overlayfs_qa_check
     0385:    searchpaths = [oe.path.join(imagepath, d.getVar("sysconfdir"), "systemd", "system"),
     0386:                   oe.path.join(imagepath, d.getVar("systemd_system_unitdir"))]
     0387:
     0388:    allUnitExist = True;
 *** 0389:    for mountPoint in overlayMountPoints:
     0390:        path = d.getVarFlag('OVERLAYFS_MOUNT_POINT', mountPoint)
     0391:        unit = mountUnitName(path)
     0392:
     0393:        if not any(os.path.isfile(oe.path.join(dirpath, unit))
Exception: TypeError: 'NoneType' object is not iterable

(From OE-Core rev: 4396348c24efb1185d68876d3cf6ade90324dee5)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Alexandru Ardelean
fd2c86b069 libsndfile1: bump to version 1.0.31
It seems that the homepage has moved (for a while now) from
  http://www.mega-nerd.com/libsndfile/
to
  https://libsndfile.github.io/libsndfile/

On Github, the development group seems to include Erik de Castro Lopo (the
original author of libsndfile1).
Link: https://github.com/orgs/libsndfile/people

All backported CVE patches are in version 1.0.31 (I've checked).

The supported format page [1], mentions that Ogg/Opus is supported since
1.0.29, however that isn't currently added in this patch. And it may
require libopus.
And mp3 is supported at around version 1.1.0, but that version is in beta.

This change focuses solely on updating to 1.0.31 and removing all
backported patches.

[1] https://libsndfile.github.io/libsndfile/formats.html

(From OE-Core rev: 6e12ee5f7871150c11dac754145d146ed364b506)

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Saul Wold
e629653463 license.py: rename variables
Update the comment to reflect new variable names

(From OE-Core rev: 7fbab1aefc127f0e1834f51a8a793b0d7e7b4f07)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Alex Stewart
fc2b2c7927 sudo: add /etc/sudoers to sudo-lib conffiles
When OE-core commit 788c95c3bb8ede0d3d6a8f125743ac47c0b3f00e created the
`sudo-lib` subpackage, /etc/sudoers was moved from `sudo` to `sudo-lib`.
The commit didn't update the `CONFFILES:${PN}` assignment in sudo.inc,
however. So the `sudo` base package continued to advertise conffile
ownership of /etc/sudoers, though it did not contain it.

Move the CONFFILES assignment to the sudo.bb file, since it is
packaging-related. Change the package owner to the `sudo-lib`
subpackage, since it is the rightful file-owner.

(From OE-Core rev: 7d688f0ece8fa7e3118cde0c79bbcc56048a2bb5)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
wangmy
72f997c928 libdrm: upgrade 2.4.109 -> 2.4.110
(From OE-Core rev: 621623a5421172fddda1c31edaaba269a4b83e1a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
wangmy
60214a618e init-system-helpers: upgrade 1.60 -> 1.62
Changelog:
=========
* use fakechroot instead of unsharing the mount namespace and mounting tmpfs
* deb-systemd-invoke: systemctl --machine @<UID> is now available in
  v249.10. Adjust the version check accordingly
* Skip build-time tests if DEB_BUILD_OPTIONS=nocheck is set
* Fix typos found by Lintian
* Set Rules-Requires-Root: no

(From OE-Core rev: 5ee6558c4364d49a0e003648ac49f58f1fb41765)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
wangmy
de6ffe2426 flac: upgrade 1.3.3 -> 1.3.4
(From OE-Core rev: 2a5fc361fa6e4709be44a4b7ebd11337e43424c3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
wangmy
926f4e24a9 bind: upgrade 9.16.25 -> 9.16.26
Changelog:
==========
Log "quota reached" message when hard quota is reached when accepting a connection.

Add ECS support to the DLZ interface.

A failed view configuration during a named reconfiguration procedure could cause
inconsistencies in BIND internal structures, causing a crash or other unexpected errors.

rndc could crash when interrupted by a signal before receiving a response.

Correctly detect and enable UDP recvmmsg support in all versions of libuv that support it.

(From OE-Core rev: c47caa7c8ca77ff137988deaf2d2a8b381f5a3f8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
LiweiSong
ea422d16ff qemu: add tpm string section to qemu acpi table
This will create _STR and _UID section for TPM in qemu acpi table,
with these section, the missing "description" and "uid" files will
be created for TPM in /sys by kernel.

(From OE-Core rev: 88bf29935358e727c65693085b50a57f879b774b)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Saul Wold
92ec600cac package: rename LICENSE_EXCLUSION
By renaming LICENSE_EXCLUSION to _exclude_incompatible, it makes it
clear that this is an internal variable.

(From OE-Core rev: 20a4cc2c2dcf345ef898abfe7735b7bc75ac0059)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Ross Burton
440f07d211 cve-check: get_cve_info should open the database read-only
All of the function in cve-check should open the database read-only, as
the only writer is the fetch task in cve-update-db.  However,
get_cve_info() was failing to do this, which might be causing locking
issues with sqlite.

(From OE-Core rev: 8de517238f1f418d9af1ce312d99de04ce2e26fc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
fa1721d3af wireless-regdb: upgrade 2021.08.28 -> 2022.02.18
(From OE-Core rev: e5c06ddfd3c0db0d0762c0241c019f59ad310e53)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
535f6538b6 ruby: upgrade 3.1.0 -> 3.1.1
refresh the following patches for 3.1.1:
0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
0006-Make-gemspecs-reproducible.patch

(From OE-Core rev: 6ae009ae73fc81de441d57699fee61b6fcc48600)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
a93937bb40 quilt: upgrade 0.66 -> 0.67
Changelog:
=========
- Call pager with original LANG environment variable
- Consistently complain early if no series file is found
- Fix handling of symbolic links by several commands
- Tighten the patch format parsing
- Reuse the shell (performance)
- Document the series file format further
- Document that quilt loads /etc/quilt.quiltrc
- configure: Make stat configurable
- series: Minor optimizations
- setup: Don't obey the settings of any englobing .pc
- setup: Default to fast mode
- quilt.el: Fix documentation of quilt-pc-directory
- quilt.el: Load /etc/quilt.quiltrc if ~/.quiltrc doesn't exist
- quilt.el: Fix quilt-editable when QUILT_PATCHES_PREFIX is set

(From OE-Core rev: fa71afcee9ab42198c619333b77a15bd2ae02b20)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
d9cdd64d6e patchelf: upgrade 0.14.3 -> 0.14.5
(From OE-Core rev: 5d5b7126c71b57d049ecd9bdd28edd7d1166b101)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
552b655f76 libva-utils: upgrade 2.13.0 -> 2.14.0
Changelog:
=========
* test: Use test suite setup/teardown to reduce test overhead
* ci: fix freebsd build

(From OE-Core rev: 6fcb278ffb38fe1ff6379a7cf0d40c19913ccae3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Ross Burton
e89540f2bb coreutils: remove obsolete ignored CVE list
Three CVEs were meant to be ignored via CVE_WHITELIST, but that wasn't
the correct variable name.

The CPEs for those CVEs mean that they don't get picked up in our report,
so just remove the assignment.

(From OE-Core rev: dea00faf30ec7c19b6b5ed4651b430ba3faf69ff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Richard Purdie
5f39a413d9 python3targetconfig: Use for nativesdk too
nativesdk is a cross compiled target and therefore should use the target
config, not the native one. Copy the target entries accordingly.

(From OE-Core rev: b1b5fec350b390fa7f2d26966df1411b032faf87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Zoltán Böszörményi
f8c99d2d66 gtk-icon-cache: Allow using gtk4
meta-openembedded has gtk4 which has its own version of
gtk-update-icon-cache. Allow programs that want to use gtk4
use the proper version of the gtk-update-icon-cache utility
and the proper build and runtime dependencies.

Also use a more readable syntax for conditional values in DEPENDS.

(From OE-Core rev: 2a927a581e599af8e544e17517cdda1cfaf63e16)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Oleksandr Suvorov
889788bffc depmodwrapper-cross: add config directory option
Native depmod by default try to find config files from the following
directories:
```
${STAGING_ETCDIR_NATIVE}/depmod.d
/run/depmod.d
/usr/local/lib/depmod.d
/lib/depmod.d
```

but none of them is correct, change to load config files from
${sysconfdir}/depmod.d of basedir.

(From OE-Core rev: aa03d77f009af2b03246554566de2a1eea3f5e2f)

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Yi Zhao
9954ff5056 glibc: fix multilib headers conflict for arm
Fixes:
Error: Transaction test error:
  file /usr/include/bits/dl_find_object.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57
  file /usr/include/bits/rseq.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57
  file /usr/include/bits/timesize.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57

(From OE-Core rev: 0982c2bc19f4cacd72fd43f93c6a0a4d45a75c6a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Yi Zhao
f44c0187ed glibc: unify wordsize.h between arm and aarch64
Make sure this header file is same in arm and aarch64.

Fix the conflict error when enable multilib:
Error: Transaction test error:
  file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57

(From OE-Core rev: 402ba8367f5316fd8d25a536ebd12bc0bcdfa400)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Tim Orling
cb0aa0d09a python3-wheel: move 0.37.1 from meta-python
This is one of the "new build tools" which are part of pypa (Python
Packaging Authority) toolchain.

Wheels are the official delivery mechanism for Python packages, replacing
the now deprecated Eggs (egg-info).

[YOCTO #14638]

(From OE-Core rev: 78a4bccfa38c2d3a6a4a097319eec28c2bc357a7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Pavel Zhukov
da344db43c patch.py: Prevent git repo reinitialization
There were few bugs in the _isInitialized() function which might trigger
git repo to be reinitialized and patches failing to apply.

(From OE-Core rev: 80500ecda4c1bc8812e6e078b6b0db5ec46624de)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Andres Beltran
e43a9d15ea create-spdx: add support for SDKs
Currently, SPDX SBOMs are only created for images. Add support for
SDKs.

(From OE-Core rev: c3acbb936a339636153903daf127eec9f36de79b)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Lee Chee Yang
5083a80245 libarchive : update to 3.5.3
Libarchive 3.5.3 is a security release

Security Fixes:

extended fix for following symlinks when processing the fixup list (#1566, #1617, CVE-2021-31566)
fix invalid memory access and out of bounds read in RAR5 reader (#1491, #1492, #1493, CVE-2021-36976)

(From OE-Core rev: 5b00b0e015312264cdb3fd88b6f4a8df456316c3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Khem Raj
20f23b5f65 scripts/documentation-audit: Use renamed LICENSE_FLAGS_ACCEPTED variable
(From OE-Core rev: c8f8fe5a4f57febb1fb9b54f53d2a0b95f01179b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 08:38:46 +00:00
Quentin Schulz
89544cf511 docs: fix hardcoded link warning messages
Sphinx complains about hardcoded links which can be replaced by an
extlink.

So let's apply its recommendations.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: dc2ec13cfbe0f20a868108a0bd800c0a875c1796)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-23 18:12:10 +00:00
Quentin Schulz
4dbb515327 docs: point to renamed BB_BASEHASH_IGNORE_VARS variable
Since commit 98b3ed1b2e "meta/scripts: Handle bitbake variable
renaming", the new name of the variable is BB_BASEHASH_IGNORE_VARS
so let's update it so that Sphinx can resolve the Bitbake reference.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: a6c6283e9cc30ca580f1719d8e22fca5f79c1e50)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-23 18:12:10 +00:00
Richard Purdie
f4bfa6df20 bitbake: tests/fetch: Update for master -> main change upstream
(Bitbake rev: f0fc0fe94161d4dd4f34df8426222ac590ef6736)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-23 18:12:10 +00:00
Scott Murray
3c7c2fa055 scripts: fix file writing in convert-spdx-licenses
The convert-spdx-licenses.py script needs the same file closing
fix as was made to convert-variable-renames to ensure modified
file contents get flushed out.

(From OE-Core rev: 46135c87345c7189053dafbed92c754f9f328c32)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-22 15:24:51 +00:00
Martin Jansa
d03235b2c2 icecc.bbclass: fix syntax error
'class' is already taken as keyword and python doesn't like this:

  ERROR: Error in compiling python function in oe-core/meta/classes/icecc.bbclass, line 151:

  The code lines resulting in this error were:
       0020:    check_pn = set([pn, bpn])
       0021:
       0022:    class_disable = (d.getVar('ICECC_CLASS_DISABLE') or "").split()
       0023:
   *** 0024:    for class in class_disable:
       0025:        if bb.data.inherits_class(class, d):
       0026:            bb.debug(1, "%s: class %s found in disable, disable icecc" % (pn, class))
       0027:            return "no"
       0028:
  SyntaxError: invalid syntax (icecc.bbclass, line 151)

(From OE-Core rev: 31be8f47502681d5621af032bca216c22f78fb84)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-22 15:24:51 +00:00
Richard Purdie
6c23bd5c81 bitbake: data_smart: Avoid exceptions for non string data
File "scripts/lib/checklayer/__init__.py", line 49, in _get_layer_collections
    ldata.expandVarref('LAYERDIR')
  File "build/bitbake/lib/bb/data_smart.py", line 1007, in expandVarref
    if referrervalue and ref in referrervalue:
TypeError: argument of type 'bool' is not iterable

We inject True values as an internal sentinel to the datastore, fix
this codepath to handle it.

(Bitbake rev: 3b88562d87ac94725c1a683c859c2a6a3287d173)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-22 11:38:18 +00:00
Scott Murray
ccbc29bbc4 scripts: fix file writing in convert-variable-renames
In my test environments (Fedora 35 and Debian 10.10 on AMD 2970WX),
running the convert-variable-renames.py rename script was resulting
in empty files instead of updated ones.  From inspection, the new
files are never flushed/closed before moving them into place, which
seems inherently racy.  Adding an explicit close to flush the modified
contents out before moving into place fixes the issue for me.

(From OE-Core rev: 187ac1ea0a701a5ba9ec92f6aa32f2a67600a584)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-22 08:23:50 +00:00
Saul Wold
cc07ffe8f7 meta: Further LICENSE_FLAGS variable updates
Add further tweaks to comments and variable names for license variable change.

(From OE-Core rev: 4125d86f1d3adc53230c02bce4bab46b8c21116f)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:44:24 +00:00
Saul Wold
0b78f36432 Rename LICENSE_FLAGS variable
(From meta-yocto rev: e937a42996c046baca7ce502c6ce0ee3c7ed38e3)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Ross Burton
29dadf807a poky-tiny: set QB_DEFAULT_FSTYPE correctly
QB_DEFAULT_FSTYPE is used literally as the image extension in the testimage
code, so this shouldn't be set as IMAGE_FSTYPES because that variable is a
list of image types, so if IMAGE_FSTYPES is extended and testimage ran it
will try to look for an image called e.g. "core-image-minimal-cpio.gz ext4".

Instead, set QB_DEFAULT_FSTYPE explicitly to cpio.gz.

(From meta-yocto rev: 78d2ca75839aac47007522d4b6f790a4bd32b950)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Ross Burton
dec75f203a poky-tiny: don't skip core-image-base and core-image-full-cmdline
Building a "tiny" core-image-full-cmdline may not make a lot of sense, but it
build, so don't skip these images.

(From meta-yocto rev: a03d9df579cfdfdaa0e0967f04cbd7c62cd40055)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Scott Murray
8cc8380074 meta-poky: Update BB_DISKMON_DIRS use
Update the example BB_DISKMON_DIRS definitions in the sample
local.conf files for the rename of the "ABORT" action to "HALT".

(From meta-yocto rev: f7dc69745e3dbd5cf0d4950c44169b26c30b1902)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
d58ab95484 layer.conf: Update to kirkstone namespace
(From meta-yocto rev: a9224d845854f0f213b53648c4b01b0785c749c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
35b01e301b poky-tiny: Use renamed SKIP_RECIPES varFlag
This is a more descriptive variable name updated in base.bbclass

(From meta-yocto rev: 4e9e91dbd2d9aa14a9424b615484290fc863481c)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
0b46552625 meta: Rename LICENSE_FLAGS variable
(From OE-Core rev: 5c5b3bc563059ba728dc9724656cc69669f8e25f)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
2b22c16376 bitbake.conf: Add entries to warn on usage of removed variables
Add entries for the removed variables TUNEABI_WHITELIST and INHERIT_BLACKLIST.

(From OE-Core rev: b3bf2862e221af157f545a216b56b9b393dcc66d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
3be8a7a6b1 icecc: Improve variables/terminology
The SYSTEM and USER seperation between variables seems odd and not necessary,
drop it. Avoid the use of whitelist/blacklist and also change "packages" to
"recipes" since that misuse causes confusion.

(From OE-Core rev: 0df0eb6401a02139b9110bc95e21d97a67125ec5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
71ef319193 meta/scripts: Automated conversion of OE renamed variables
(From OE-Core rev: aa52af4518604b5bf13f3c5e885113bf868d6c81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
5a3d6c7bda scripts: Add convert-variable-renames script for inclusive language variable renaming
This script searches for a list of variable that have been renamed
and converts them to their more descriptive names. It also searches
for a list of variables that have been removed or deprecated and
prints a message.

It will print a message to inform the user that there are terms that
need to be updated in their files. Many of these changes are context
sensitive and may not be modified as they might be existing calls to
other libraries. This message is informational only.

I have tested this on poky and meta-openembedded so far.

(From OE-Core rev: 50fe7ba8dba05a9681c9095506f798796cfc2750)

(From OE-Core rev: 75f319c105484d0b312a858cc0bd8148728c8622)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
1d7e1e4f63 bitbake.conf: Add entries for renamed variables
(From OE-Core rev: ca3da0985476819a8e8e720f384f5b8219e5fa54)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
b02d198474 imagefeatures: selftest: Change variable to be more descriptive
This changes a couple of variables to be more representive of
their usage.

(From OE-Core rev: f776a4afc279f71d362d42303a930fdc47f11755)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
267517adc7 multilib: Use renamed SKIP_RECIPE varFlag
This is a more descriptive variable name updated in base.bbclass

(From OE-Core rev: d28227ff665f4dcc4e7522829e531cdc1fbb1da4)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
dd9c94e66f dnf: Use renamed SKIP_RECIPE varFlag
This is a more descriptive variable name updated in base.bbclass

(From OE-Core rev: 258662ccf5ceb027ba0e507e2a581c4ee7e9cd04)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
297def3be5 blacklist: Replace class with SKIP_RECIPE variable
Remove the old class and rename VarFlag to SKIP_RECIPE, handling this
in base.bbclass for efficiency. This means a separate inherit is no longer
needed.

This change better describes what the VarFlag is doing since it
is implemeted with the SkipRecipe() function.

By moving this into base.bbclass we simplify the distro inherit.

(From OE-Core rev: a5f735746cba6af41a25aa2aa121453a8bc363b4)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Scott Murray
ed198efba4 local.conf/oeqa: Update BB_DISKMON_DIRS use
Update the example BB_DISKMON_DIRS definitions in the sample
local.conf files for the rename of the "ABORT" action to "HALT",
and also update related error messages in one selftest to use
the new action name.

(From OE-Core rev: ccb63df13501968502fc0da8ced80b934d6d846e)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
98b3ed1b2e meta/scripts: Handle bitbake variable renaming
After other variables were renamed in bitbake, update OE-Core to match.

(From OE-Core rev: 91812ba5a34598e03ad860745707c7cba1ae5d91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
492214104a meta/scripts: Change BB_ENV_EXTRA_WHITE -> BB_ENV_PASSTHROUGH_ADDITIONS
After the change to bitbake, update the references in OE-Core to match the updates.

(From OE-Core rev: 193affb9f28b0116c3fd619834f145326fee08c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
364319817a layer.conf: Update to use kirkstone
Update the layers to use the kirkstone namespace. No compatibility is made
for honister due to the variable renaming.

(From OE-Core rev: 4a180aa5b30cc0906072d5b1e970eea41f1ce642)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
9558037e71 sanity.conf: Require bitbake version 1.53.1
We require the code to handle variable renaming which is in this version
of bitbake.

(From OE-Core rev: e0f5938737727c3a2d738cd595a1f891c444c3c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Denys Dmytriyenko
bb4f2bfcec yocto-check-layer: add ability to perform tests from a global bbclass
This is useful when needing to test layer's recipes, where this special
bbclass can define a global python function that gets called on each
recipe parsing during "bitbake -S none world" signature dump and be able
to fail layer's check accordingly.

First test being added is to detect recipes skipping "installed-vs-shipped"
QA check. As "installed-vs-shipped" is a packaging QA check, it happens very
late in the build process and failing it could mean some potential issues
with packaging, especially when recipe uses BBCLASSEXTEND="nativesdk" and
resulting package is used in an SDK.

In OE-Core failing this QA check leads to an error, but other layers can
suppress it or change it to a warning. Detecting weird packaging problems
with SDKs is quite difficult and time consuming. Also, waiting for the
actual "installed-vs-shipped" packaging QA check to fail means that all
recipes in the layer under test have to run through all standard tasks in
the build chain, equivalent to a multi-hour world-build.

Hence yocto-check-layer takes a shortcut and only detects a mere attempt
at skipping "installed-vs-shipped" QA check in the INSANE_SKIP list during
initial parsing when dumping the signature information for the layer.

(From OE-Core rev: e8baa75535fc888f1d768b23a0140475e832c910)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
66998aeec8 bitbake: bitbake: Bump version to 1.53.1
(Bitbake rev: 4a7fb394a2f148517c36cf36bfd8f2be707efb27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Marta Rybczynska
da4c443ac5 bitbake: lib/bb: fix exit when found renamed variables
Until now, if a renamed variable was found, bitbake exited
immediately if it was in a class, but continued after an error
message if the variable was in a recipe. This was caused by
cookerdata.py CookerDataBuilder::parseBaseConfiguration checking
a different DataSmart instance than the variable was set in.
To solve the issue, add a special variable and set it when we
find a renamed variable. Check for it in ast.py and bail out
if needed.

(Bitbake rev: d12400600e30549c88dc9e7883dc3d63b1dc1117)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
f7fccbe289 bitbake: bitbake: Replace remaining "abort" usage
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

replace the remaining usage of "abort" in documentation, error
messages, and comments with halt/fail/exit as appropriate.
A couple of external Javascript API calls in Toaster remain, as
they cannot currently be changed.

(Bitbake rev: bc27762bf3ffb4a20b58eace5302438c4a526626)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
4f77505d94 bitbake: lib/bb: Replace "ABORT" action in BB_DISKMON_DIRS
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

replace the "ABORT" action in BB_DISKMON_DIRS entries with "HALT".
In order to ease migration, code has been added to warn users to
update their configurations if the old name is used, as opposed to
to throwing an error.

(Bitbake rev: 11dc65dc077398ff9818060769c99c0090291186)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
424269caea bitbake: lib/bb: Replace "abort" usage in task handling
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

replace the use of "abort" with "halt" in code related to handling
task failure.

(Bitbake rev: 831fb7f2329a3cd95b71e9c85d7d7f0d717f947f)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
09a62d96c7 bitbake: lib: Replace remaining "blacklist"/"whitelist" usage
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

replace the remaining non-backwards-compatibility related usage
of "blacklist"/"whitelist" with "allowed"/"disallowed" in a few
places as appropriate.

(Bitbake rev: f579fb8c23d2919d25641fa4234f8a1e9c06a922)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
f2fc11cad7 bitbake: data_smart: Add support to BB_RENAMED_VARIABLES for custom strings
Add support for custom strings in BB_RENAMED_VARIABLES and use this to show
that BB_STAMP_WHITELIST and BB_STAMP_POLICY are no longer supported.

(Bitbake rev: 0914011f7647571ab125bbddcd7d68e3da47226a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
638869230f bitbake: data_smart: Allow rename mechanism to show full expressions
(Bitbake rev: bac6f7acfd2e6b5b4d6d3a8d40beeff76b215751)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
3ff067647f bitbake: bitbake: Rename allowed multiple provider variable
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

MULTI_PROVIDER_WHITELIST -> BB_MULTI_PROVIDER_ALLOWED

(Bitbake rev: a09546b725fda13c0279638c7c904110da7bf6cd)

(Bitbake rev: d035435c1a4951a45481867cf932faa4a6f8f936)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
3c971c0400 bitbake: bitbake: Rename setscene enforce filtering variable
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

BB_SETSCENE_ENFORCE_WHITELIST -> BB_SETSCENE_ENFORCE_IGNORE_TASKS

(Bitbake rev: 2e243ac06581c4de8c6e697dfba460ca017d067c)

(Bitbake rev: f8f7b80a0df4646247e58238a52a7d85a37116d4)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
18a400d117 bitbake: bitbake: Rename configuration hash filtering variable
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

BB_HASHCONFIG_WHITELIST -> BB_HASHCONFIG_IGNORE_VARS

(Bitbake rev: f344246be73d626c215f867718e45fd6cddc2aaf)

(Bitbake rev: 371deb3fe8510aadf4455810d7c5243d374e6532)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
8e5a8a2b53 bitbake: bitbake: Rename environment filtering variables
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

BB_ENV_WHITELIST -> BB_ENV_PASSTHROUGH
BB_ENV_EXTRAWHITE -> BB_ENV_PASSTHROUGH_ADDITIONS

(Bitbake rev: fe60627839d4280cf0117ed1afbfccdff1181b6a)

(Bitbake rev: 87104b6a167188921da157c7dba45938849fb22a)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
8a16bf5321 bitbake: bitbake: Rename basehas and taskhash filtering variables
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

BB_HASHBASE_WHITELIST -> BB_BASEHASH_IGNORE_VARS
BB_HASHTASK_WHITELIST -> BB_TASKHASH_IGNORE_TASKS

the derived code variables basewhitelist and taskwhitelist have been
renamed to basehash_ignore_vars and taskhash_ignore_tasks,
respectively.

[RP: Added compatibility mapping code and tweaked naming]
(Bitbake rev: efaafc9ec2e8c0475e3fb27e877a1c0a5532a0e5)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
478cb0ce2c bitbake: data_smart/cookerdata: Add variable remapping support
This change adds support for improving the user experience when variables
are renamed. This isn't as simple as it might first appear since some
bitbake variables are used through the environment before the datastore
exists, some are bitbake variables which we know about straight away
and some are metadata defined which we don't know about until later.

This patch adds support for handling these different cases, allowing a list
of bitbake renamed variables to be defined in bitbake itself and allows this
to be extended through the metadata using BB_RENAMED_VARIABLES.

In order to give the best feedback to the user, we default to turning on
variable history tracking in the base data store from knotty, which allows
filename and line number information to be shown.

(Bitbake rev: bd50a5d5e4b4fa90844464396887ebdff0d4e5f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Alexander Kanavin
8f4b84c98c devtool: explicitly set main or master branches in upgrades when available
In particular this resolves devtool's inability to pick a branch
when the same tagged commit is avaiable in main and in a release maintenance
branch.

Thanks to Peter Kjellerstedt for the suggestion.

(From OE-Core rev: bcb21ee2760a2c76039412a56c6cda43fbf96fd0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Alexander Kanavin
e4c8f51dd5 weston-init: replace deprecated/disabled fbdev with drm backend
drm will default to opengl rendering by default; if this is
problematic, --use-pixman option may help, apply only where
it's proven necessary.

(From OE-Core rev: 432f24ef9af3c0e6e0c769dc2a751023138f7bae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Ross Burton
f6d963fa6d kernel: make kernel-base recommend kernel-image, not depend
As kernel modules depend on the base kernel package, and the base kernel
recipe depends on the kernel image, it's impossible to build file system
images which contain kernel modules but not the kernel itself, such as
an initramfs.

Change the RDEPENDS to RRECOMMENDS so that the disk images can set
PACKAGE_EXCLUDE = "kernel-image-*" to remove the kernel.

(From OE-Core rev: 1c90b27d2c65cfb4f9debf0272820b6a95942f76)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Richard Purdie
196818a18a oeqa/selftest/bblogging: Split the test cases up for ease of testing
This makes it easier to see which of the tests are passing/failing for
a given change which aids debugging.

(From OE-Core rev: 37efc67e9f4560edba05c7c50acfd0d420c143ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Peter Kjellerstedt
42243c9e22 oeqa/selftest/bblogging: Add logging tests for bb.build.exec_func with shell/python code
The situation regarding logging is different when a function called by
bb.build.exec_func() fails compared to when the task code fails
directly. There is a recent fix in bitbake to solve that and these
tests will hopefully prevent regressions.

(From OE-Core rev: 50ccfaa8b3ed340ee7f906934b211a1c73eb8db5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Khem Raj
528686b980 boost: Fix build on 32bit arches with 64bit time_t defaults
(From OE-Core rev: 2702bac9e5c13f8a30153a1c45b278eebc9f11e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Martin Jansa
5fd0c16035 systemd: fix DeprecationWarning about regexps
* fixes:
  oe-core/meta/classes/package.bbclass:1342: DeprecationWarning: invalid escape sequence \.

(From OE-Core rev: 65ddc0f68fc2e6e8fd38ac48fd18e8099b52ec1b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Richard Purdie
59e87e380a bitbake: utils: Ensure shell function failure in python logging is correct
If a python function exec_func() calls a shell task, the logging wasn't working
correctly in all cases since the exception was turned into a BBHandledException()
and the logfile piece was lost which is handled at the top task level.

The easiest way to avoid this is to allow the ExecutionError exceptions to
be raised to a higher level, we don't need the traceback for them.

(Bitbake rev: 7cae11f558f9ff5fd05ef23b789aaef92fb5a327)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Michael Halstead
41ae26ecab releases: update to include 3.4.2
Adding 3.4.2 to documentation switcher and release list.

(From yocto-docs rev: 6ffc51362a8fd028429359eb9da57c87b270584d)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 16:46:22 +00:00
Richard Purdie
e600227b13 tiff: Add backports for two CVEs from upstream
(From OE-Core rev: 6ae14b4ff7a655b48c6d99ac565d12bf8825414f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
f625c01d91 vim: Upgrade 8.2.4314 -> 8.2.4424
License file had some grammar fixes.

Includes CVE-2022-0554.

(From OE-Core rev: a8d0a4026359c2c8a445dba9456f8a05470293c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
c2537cfbde libxml-parser-perl: Add missing RDEPENDS
Running the ptest package in an image alone highlighted missing module
dependencies. Add them to fix those errors.

(From OE-Core rev: 3859f49db2d694c7b63fdbe25be0018afba5c738)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
7eb117f176 perl: Improve and update module RPDEPENDS
The perl module RDEPENDS needed refreshing so I updated it with the script. I
also found a ton of issues with missing test2 module dependencies so I've tweaked
the generator script to improve those. For some reason they were previously excluded
but I can't see anything wrong with the generated dependencies so I've added them. A
number of manual dependencies were still needed in addition.

I did notice an issue with trailing ")" characters so the sed is updated to handle
that (it did already handle "(").

This fixes issues seen in the dependecies for libxml-parser-perl's ptest package.

(From OE-Core rev: a5b0f6cacb6ae785ea10f8561982692772d198a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
08f809a8e8 expat: Upgrade 2.4.5 -> 2.4.6
(From OE-Core rev: 91aa5e3f94a7f82be7949ecfde2764d51384ad42)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
ebf9181a8b expat: Upgrade 2.4.4 -> 2.4.5
This is a security fix release containing fixes for CVE-2022-25235, CVE-2022-25236,
CVE-2022-25313, CVE-2022-25314 and CVE-2022-25315.

(From OE-Core rev: b71344dacb71cfc452b335a6f2fb9cb74e2e1ff8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
wangmy
0539b563c6 libhandy: Use upstream regex to check version of upgrade.
(From OE-Core rev: 3ca368aa12ac3a8398312c9bf5cb6136261d56af)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Andrey Zhizhikin
3bf0e3d86b waffle: add wayland-protocols when building with wayland
When 'wayland is selected in ' DISTRO_FEATURES, following build error
occurs during do_configure:

| Run-time dependency wayland-protocols found: NO (tried pkgconfig)
|
| ../git/meson.build:120:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig

Add "wayland-protocols" to PACKAGECONFIG to resolve missing dependency.

(From OE-Core rev: a545a0848c6526d58731bc333f2ade0ae926fcc4)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Khem Raj
d05e919d5a grub: Fix build with bintutils 2.38 on riscv
(From OE-Core rev: d42596457628f41baa5729545e2932c6692f73ee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Khem Raj
995b971744 libgit2: Upgrade to 1.4.1
this is bugfix release
https://github.com/libgit2/libgit2/releases/tag/v1.4.1

(From OE-Core rev: ee862994d27d1a82642309b84e5957e4a7d341e3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
f37af44f18 sstate: Setup fetcher environment in advance
The threading code here can race as the fetcher changes the environment which is
shared between the threads. By setting it up in advance, it isn't changed and
therefore no longer races.

(From OE-Core rev: cabc3cc2eac5916e63340c18d1074411b377ced4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
9477a309a8 oeqa/selftest/bbtests: Update after license changes
Update the test to match the renamed license in the recipe.

(From OE-Core rev: 3d50ee782e5073c055d72f114619502719a33752)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
b0130fcf91 meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers
An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers. Two recipes in meta-selftest
were not converted as they're that way specifically for testing. A change in
linux-firmware was also skipped and may need a more manual tweak.

(From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
301d24952e scripts: Add a conversion script to use SPDX license names
We're standardising on SPDX license names so it is overdue to change
the ones in the LICENSE fileds to the SPDX values. Add a conversion
script which makes this straightforward on the most part.

Ultimately this allows the core code to be more efficient and not need
to consult the mappings.

(From OE-Core rev: 512cd4ca91bc5107d68b7e721257a8f62f878994)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
95f236f668 core-image-testmaster: Rename to core-image-testcontroller
Rename the image, the test controller class/code/module and the underlying
image sentinel file to all match the controller terminology.

(From OE-Core rev: f87b32833ac5327c4659ab8c06af34e7bda83f83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Jose Quaresma
9ebd0a84e7 gstreamer1.0: update licenses of all modules
Since all gstreamer modules uses LGPLv2.1 with exceptions
for some plugins in bad and ugly modules that has GPLv2+.

(From OE-Core rev: 7ca1bce20ded40468e31ede74f901434ad31c0e2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Alexander Kanavin
9bcda31c25 gdb: update 11.1 -> 11.2
Simplyfy .inc structure: merge gdb.inc into gdb_11.2.bb, rename
gdb-${PV}.inc to gdb.inc. This will allow easier automatic updates.

Drop upstreamed patch.

(From OE-Core rev: ee8ec22c75f5eacae7a6b1cafe0df6e21acde479)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
8e71d0e21b bitbake: fetch2: Abstract fetcher environment to a function
The changing of the environment inside the wget fetcher can race if
threading is used, such as with sstate in OE-Core. Abstract the function
so the environment can be correct before the function is called, removing
the race since the enviroment is then no longer changed.

(Bitbake rev: c73bb6023c73f003a160bb02aa4da1b580b86c23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
2b427b9224 bitbake: wget: Fix grammar "can happen"
(Bitbake rev: 52630eefb5174e4ca357ac57085093a7f5767bd8)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
fe1b1bffa5 bitbake: utils: Fix typo "dependency" and "spawning"
(Bitbake rev: 8f76117816fa84367753d5eee0264b90e9f29a8c)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
aacc917646 bitbake: tinfoil: Fix typo "receive" and "something"
(Bitbake rev: 2e0407f6d8fbea22a4bfde124f7665a912482401)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
b00b5014c8 bitbake: progress: Fix typo "wherever"
(Bitbake rev: bb43be9b8b10b7d799436790e9bce0ef3df4aa6d)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
abd4a9f4a2 bitbake: process: Fix typo: "process"
(Bitbake rev: 2874e9cb3ebfd675657919eca7286ccdc25a63b6)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
2af99d8c08 bitbake: persist_data: Fix typo "committed"
(Bitbake rev: f9bea2b29ad8121ca82df82cdbc71f5b9d15d515)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
e03ac523e4 bitbake: fetch2/git: Remove duplicate "the"
(Bitbake rev: 02e29e90eac56e46635e9ae44e5c5da684b70ed2)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
07fa614e8f bitbake: fetch2: Fix typo "conform" and "processed"
(Bitbake rev: e1c13a820f9e3154699ec32d84cce502464e4f6b)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
50cd76495d bitbake: event: Fix typo "asynchronous" and "occasionally"
(Bitbake rev: bb60472ff41b583b7b3a65e7ddccd4554840952b)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
2f1555fa7a bitbake: daemonize: Fix typo "separate"
(Bitbake rev: c93bc3849051c758fd7ca54226933172b0cb0c5d)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
d40390c74b bitbake: cookerdata: Fix typo "normally"
(Bitbake rev: d0b633256daf8d11f213a14fb44ebc6bc5d45f37)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
e0342695a8 bitbake: cooker: Fix typo "isn't" and "tuples"
(Bitbake rev: ac688b6e93faa51d48768b677685499862d3e7c4)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
59fdcddf05 bitbake: fetch2/wget: move loop-invariant load of BB_ORIGENV
BB_ORIGENV is used as a fallback environment block. It is repeatedly
accessed inside the loop. Since it is a loop invariant, move it out of
the loop.

(Bitbake rev: 346a1a6c76d40458d7b4c116147ec4d371bee74a)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Richard Purdie
427bfd5f8f bitbake: utils: Fix environment decorator logic error
File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/layers/build/bitbake/lib/bb/fetch2/wget.py", line 328, in checkstatus
    with bb.utils.environment(**newenv):
  File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/layers/build/bitbake/lib/bb/utils.py", line 1737, in environment
    del os.environ[var]
  File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.10/os.py", line 695, in __delitem__
    raise KeyError(key) from None

It is possible the wrapped function might change the environment which can lead
to KeyError issues like this. The key may no longer be in the original environment
so handle that case correctly and avoid the tracebacks.

(Bitbake rev: ae4ce4c21998bb2a12a1e1f0b8e0af8d218b87e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Peter Kjellerstedt
cd823f21f8 manuals: Remove unnecessary \n from SSTATE_MIRRORS examples
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in SSTATE_MIRRORS
with "\n".

(From yocto-docs rev: 87b34b69b2df72d4e6edbd81839622fffd560331)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 15:36:13 +00:00
Michael Opdenacker
4760c3e264 manuals: add 3.4 and 3.4.1 release notes after migration information
Only done for release 3.4 and 3.4.1 so far.
Release notes are kept under the migration-guides/ directory for
the moment, for easier reviewing.

(From yocto-docs rev: b311070d866cf4ab51c72ff3ac7bc41ea3e932cb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:58:02 +00:00
Michael Opdenacker
4407025996 ref-manual: update TCLIBC description
Stop mentioning the long gone POKYLIBC variable and fix punctuation

(From yocto-docs rev: d90be3bbfd45317ce07d1715af3d65ffb1e24ac7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:58:02 +00:00
Alejandro Hernandez Samaniego
552ff6e3d5 documentation: Add multiconfig initramfs configuration:
dev-manual/common-tasks.rst: Add section to create an initramfs
image from a separate multiconfig.

ref-manual/variables.rst: Add new variable definitions for
INITRAMFS_DEPLOY_DIR_IMAGE and INITRAMFS_MULTICONFIG

(From yocto-docs rev: 7853ab3df82c27ba309879a66a084b2e597dc1e5)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:58:02 +00:00
Christian Eggers
b6c1329501 dev-manual: update example from kernel.bbclass
Since f748564653 ("kernel: provide virtual/kernel for all kernels"),
all recipes which inherit kernel.bbclass provide "virtual/kernel",
independent of the value of `KERNEL_PACKAGE_NAME`.

(From yocto-docs rev: da69e75c7f84f51c8fa95e9217e11b4b36af52d6)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:58:02 +00:00
Richard Purdie
21de9a33dc archiver: Fix typo
(From OE-Core rev: 3389fa68eed8a55c3a3b413798676a944b1366ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:53:59 +00:00
Hongxu Jia
820f793c70 glibc: fix create thread failed in unprivileged process
Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2
and clone3] applied, start a unprivileged container (docker run without
--privileged), it creates a thread failed in container.

In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined.  If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.

As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)

[1] https://man7.org/linux/man-pages/man2/clone3.2.html

So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could
fix the issue.

(From OE-Core rev: 58802b2c4f63a4572cc7cca26d1d8a6b30e2fc79)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:47:26 +00:00
wangmy
3858855d0d go: upgrade 1.17.6 -> 1.17.7
(From OE-Core rev: e1a1b201c4a850ae116d88975df3fdab4dea6945)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:47:26 +00:00
Richard Purdie
eb72e3c381 recipeutils: Add missing get_srcrev() call
Updates within bitbake now require this call to be triggered somewhere with
floating git source revs. Add the missing call. Issue can be reproduced with:

devtool check-upgrade-status dbus-wait

(From OE-Core rev: d7088b2b5012f9e386914a6837685f5869379cc5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:34 +00:00
Alexander Kanavin
019bf409d9 diffoscope: upgrade 202 -> 204
(From OE-Core rev: 77dcb7c0a99a210e0987f70715cfd0ceb8027d93)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
d01d678909 libical: upgrade 3.0.13 -> 3.0.14
(From OE-Core rev: 362539186adf94ed08e87a5447c16ca0e983c2fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
e952778a22 gst-examples: upgrade 1.18.5 -> 1.18.6
(From OE-Core rev: 7deb66a4a707cc6615470a5ff011bad017cf9eea)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
e80215f3e6 shaderc: upgrade 2022.0 -> 2022.1
(From OE-Core rev: 5af183b73e01848a59d1edd04692c4d4f9b276f1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
120807acfb piglit: upgrade to latest revision
(From OE-Core rev: 985d2d1953f9edafa5ca3636f4553f968ef16591)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
323eb1b4f6 pango: upgrade 1.48.10 -> 1.50.4
(From OE-Core rev: f6d0007d75ee18e8003cfc02222ba7c74b184cf5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
3c7ed40309 gi-docgen: upgrade 2021.8 -> 2022.1
(From OE-Core rev: 75c46f864988390ea69af818153b602182f21088)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
c6947744c4 vala: upgrade 0.54.6 -> 0.54.7
(From OE-Core rev: f8e1b02871ce5fdb4369f64cc12681740ccfbc17)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
5547b9fc05 python3-pytest: upgrade 7.0.0 -> 7.0.1
(From OE-Core rev: 9ea7a9707e5e1a6a265525df895ce0a2e01723c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
87686c9e2e python3-dtschema: upgrade 2021.12 -> 2022.1
(From OE-Core rev: 7df790485ce8f760a892e813a114baaec949d34e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
790010cd9b mmc-utils: upgrade to latest revision
(From OE-Core rev: e3e85b826f44eca629ee815110fb66d5023b34d0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
31e5efc685 meson: upgrade 0.61.1 -> 0.61.2
(From OE-Core rev: 572e68905b6864e64d14c606b2b31b59e5e9cca1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
17d9ec10d2 help2man: upgrade 1.48.5 -> 1.49.1
(From OE-Core rev: f79f47f99b8d1efa5a605d221e77d71d4f9273ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
933e8c8282 repo: upgrade 2.20 -> 2.21
sed-patch the sources from do_configure, as otherwise
this breaks automated updates (devtool creates a patch
out of changes done by sed).

(From OE-Core rev: 7070f8a4ce56656720b43cbb68097f46d9213bdc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
3f56d67975 python3-tomli: upgrade 2.0.0 -> 2.0.1
sources moved to src/tomli

(From OE-Core rev: 0ad97879bb13d542d5b475376805af87cdeb6837)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
fb50e211e2 util-linux: upgrade 2.37.3 -> 2.37.4
(From OE-Core rev: 6a3289c4786c4d278e2bf0ec1a5e04363772d8bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
09da07b203 libgit2: update 1.3.0 -> 1.4.0
License-Update: regex replaced with pcre, overall licensing doesn't change

(From OE-Core rev: 1887c33733578c36d064bf91068b51b241fe88c0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
2a150e44b3 xkeyboard-config: update 2.34 -> 2.35.1
(From OE-Core rev: 61f90c25c062b78635da407c2efce85da74341ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
d2ef9a0874 vulkan-samples: update to latest revision
(From OE-Core rev: ea18d074a89f22460fb4e943df652e668a03a792)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
afa80c2014 vulkan: update 1.2.198 -> 1.3.204
(From OE-Core rev: dadeb70a56c9732e9b6b76d9bde2e9e09b27856e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
513f93f63b webkitgtk: remove rejected patch
Upstream has first accepted, then reverted this change,
so this needs to be re-submitted, after verifying that it is
still relevant.

(From OE-Core rev: 389ac5f324d231525776456a64c5aaf32a6a4858)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
83a7b93172 man-db: update 2.10.0 -> 2.10.1
(From OE-Core rev: 550be77683805f2853a49cfe79584e9bf925f53d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
2dfaee8203 webkitgtk: drop patch merged upstream
Portions of it were then further refactored upstream, leading
to some bits of the patch dropped and some re-applied on a
automated version upgrade.

(From OE-Core rev: d9de00cd5228d42f628af455ad42c06a0883f6d0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
b7cb48c2b9 weston-init: disable systemd watchdog option
There is no other unit in oe-core where watchdog is enabled, and
this feature starts to behave weirdly when test_date is adjusting the clock,
which means weston is restarted without need, so disable for weston
test stability.

The issue won't show up on kvm qemu (x86/x86_64) because it runs
too quickly, but non-kvm qemu (ppc/mips/arm) all fail in the same
way due to slower timings.

(From OE-Core rev: f4d8ad399d88dbd9d65bbfd0467f15a485e66605)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
220a527d26 gstreamer1.0: disable flaky gstbin:test_watch_for_state_change test
Upstream issue:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/778

(From OE-Core rev: 81b4086ddef126513120222d2e7b66f599a27c0d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Richard Purdie
a5280f7e30 features_check/insane: Use hasOverrides datastore method
(From OE-Core rev: 401c56258753a96c0a4e3e91a11518f182d410ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
cb0ed5a97c oeqa/selftest/bbtests: Update to match changed bitbake output
(From OE-Core rev: 753645155b402c899080349bc741361480c4abe8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
ae00fcd638 selftest/bbtests: Add tests for git floating tag resolution
This test ensures that where a floating tag is used for a git url, there
aren't a number of different bugs such as inconsistent source revisions
for the tag within a given build and that the recipe is reparsed at each
run to ensure the tag is checked.

A test is also added to ensure that the build fails if SRCPV (get_srcrev())
isn't used yet there is a floating tag.

(From OE-Core rev: 33554ba3c034fc31744b27392afe751d645d6c2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
383ade4e3c bitbake: data_smart: Add hasOverrides method to public datastore API
There are some cases where the metadata needs to check if a variable
has any overrides set, even if they are currently inactive. That code
currently pokes into datastore internals. Add API instead to replace
and avoid that.

(Bitbake rev: c885e5542dcf760b8fc5881e385abb4a10020874)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Joshua Watt
729ec0bebb bitbake: msg: Ensure manually created loggers have the once filter
Loggers created with a logging configuration file automatically get the
once filter applied to ensure that warnonce()/erroronce() only appear a
single time. The same filter needs to also be added to
bb.msg.logger_create() to ensure that manually created loggers have the
same behavior

(Bitbake rev: bd93f7baff9d56de37a1af474189e0888b82d475)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
dac63330e6 bitbake: msg: Add bb.warnonce() and bb.erroronce() log methods
This adds a log level and logging function call to use it where the
warning or error will only be displayed once, regardless of how many
times the message is logged.

This has to be done either in the cooker or on the UI side. I've opted
for the UI side since display control is really a UI issue but it uses
a common library filter function to enable it which can be reused
elsewhere.

The knotty message displayed as the build summary is tweaked to
make sense when the numbers won't match since it will still count
the number of times it was logged and this is probably helpful
for debugging in some cases so I've deliberately left it that way.

(Bitbake rev: 7bd40e3003a043e3cb7efc276681054b563b5e7b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
2e20effe31 bitbake: cooker: Improve parsing failure from handled exception usability
When a recipe raises a BBHandledException, it means the error was already
shown to the user. Adding an additional one here isn't helpful. What is
helpful is to mention that parsing was halted.

Tweak the code to do this with improves the messages the user sees
and helps understand what happened.

(Bitbake rev: fdf6ebc8b603fcfd3ed7c64baf486a4adabd25be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
0d3327b592 bitbake: data_smart: Fix overrides file/line message additions
The overrides warning message is meant to show filename and line
numbers but the variable names are incorrect and this wasn't working.
Fix it.

(Bitbake rev: 551c1cb20fc9b9d0dab5d830182c2bf626e72845)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Daniel Gomez
22027da10a bitbake: asyncrpc: Fix attribute errors
Export ClientError and ServerError classes from bb.asyncrpc.serv as
required by lib/hashserv/server.py module.

Error:
Client ('192.168.2.184', 51142) connected
Error from client: module 'bb.asyncrpc' has no attribute 'ClientError'
Traceback (most recent call last):
  File "/opt/bbhashserv/lib/bb/asyncrpc/serv.py", line 192, in handle_client
    await client.process_requests()
  File "/opt/bbhashserv/lib/hashserv/server.py", line 200, in process_requests
    await super().process_requests()
  File "/opt/bbhashserv/lib/bb/asyncrpc/serv.py", line 72, in process_requests
    await self.dispatch_message(d)
  File "/opt/bbhashserv/lib/hashserv/server.py", line 217, in dispatch_message
    raise bb.asyncrpc.ClientError("Unrecognized command %r" % msg)
AttributeError: module 'bb.asyncrpc' has no attribute 'ClientError'

(Bitbake rev: 8aca1d341500af8bbe788801c2df3da9bbfacaed)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Daniel Gomez
841a30d8fb bitbake: contrib: Fix hash server Dockerfile dependencies
When building the Hash Equivalence server Dockerfile, some
dependencies are missing in order to run the hash server properly:

Traceback errors:

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in <module>
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in <module>
    import bb.asyncrpc
ModuleNotFoundError: No module named 'bb'

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in <module>
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in <module>
    import bb.asyncrpc
  File "/opt/bbhashserv/lib/bb/__init__.py", line 128, in <module>
    from bb import fetch2 as fetch
  File "/opt/bbhashserv/lib/bb/fetch2/__init__.py", line 1930, in <module>
    from . import git
  File "/opt/bbhashserv/lib/bb/fetch2/git.py", line 70, in <module>
    import bb.progress
  File "/opt/bbhashserv/lib/bb/progress.py", line 14, in <module>
    import bb.build
  File "/opt/bbhashserv/lib/bb/build.py", line 27, in <module>
    from bb import data, event, utils
  File "/opt/bbhashserv/lib/bb/data.py", line 36, in <module>
    from bb import data_smart
  File "/opt/bbhashserv/lib/bb/data_smart.py", line 23, in <module>
    import bb, bb.codeparser
  File "/opt/bbhashserv/lib/bb/codeparser.py", line 26, in <module>
    import codegen
ModuleNotFoundError: No module named 'codegen'

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in <module>
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in <module>
    import bb.asyncrpc
  File "/opt/bbhashserv/lib/bb/__init__.py", line 128, in <module>
    from bb import fetch2 as fetch
  File "/opt/bbhashserv/lib/bb/fetch2/__init__.py", line 1930, in <module>
    from . import git
  File "/opt/bbhashserv/lib/bb/fetch2/git.py", line 70, in <module>
    import bb.progress
  File "/opt/bbhashserv/lib/bb/progress.py", line 14, in <module>
    import bb.build
  File "/opt/bbhashserv/lib/bb/build.py", line 27, in <module>
    from bb import data, event, utils
  File "/opt/bbhashserv/lib/bb/data.py", line 36, in <module>
    from bb import data_smart
  File "/opt/bbhashserv/lib/bb/data_smart.py", line 23, in <module>
    import bb, bb.codeparser
  File "/opt/bbhashserv/lib/bb/codeparser.py", line 32, in <module>
    from bb.pysh import pyshyacc, pyshlex
  File "/opt/bbhashserv/lib/bb/pysh/pyshyacc.py", line 13, in <module>
    import bb.pysh.pyshlex as pyshlex
  File "/opt/bbhashserv/lib/bb/pysh/pyshlex.py", line 17, in <module>
    from ply import lex
ModuleNotFoundError: No module named 'ply'

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in <module>
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in <module>
    import bb.asyncrpc
  File "/opt/bbhashserv/lib/bb/__init__.py", line 128, in <module>
    from bb import fetch2 as fetch
  File "/opt/bbhashserv/lib/bb/fetch2/__init__.py", line 1935, in <module>
    from . import wget
  File "/opt/bbhashserv/lib/bb/fetch2/wget.py", line 30, in <module>
    from   bs4 import BeautifulSoup
ModuleNotFoundError: No module named 'bs4'

(Bitbake rev: 0bd637acfcba5a44230c291889d2a5ff571cb8c6)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
ebfa1700f4 bitbake: fetch2/cooker: Fix source revision handling with floating upstreams
Where a git url uses a tag instead of a full source revision, breakage
can currently occur in builds. Issues include:

* the revision being looked up in multiple tasks (fetch and unpack)
* the risk a different revision may be obtained in those tasks
* that some tasks may not be allowed to access the network
* that a revision may not be consistent throughout a given build
* rerunning a specific task may given inconsistent results

To fix this, stop the workers from cleaning out the source revision store. This
should only be done in the cooker itself (based on current policy).

Also, where the code "sees" an upstream access, mark the recipe as not to be
cached. The reparse re-triggers the upstream lookup by the server.

Add a test to ensure that if get_srcrev isn't called, the user is told they're
using a configuration that is known to break.

(Bitbake rev: 4b5eed1626709ef3dc06b32fd55d40a2a6edd179)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Michael Halstead
d09e2e05a0 releases: update to include 3.1.14
Adding 3.1.14 to documentation switcher and release list.

(From yocto-docs rev: 4b2cfbc517208d6df40104d25e62f8febdd76a7f)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 11:47:24 +00:00
Christian Eggers
b9824a048f gcsections: add nativesdk-cairo to exclude list
configure fails with the following error if gcsections is active during
build of nativesdk-cairo:

| checking whether float word ordering is bigendian... unknown
| configure: error:
|
| Unknown float word ordering. You need to manually preset
| ax_cv_c_float_words_bigendian=no (or yes) according to your system.

(From meta-yocto rev: 45f97f55ae181b3fe5436276b36f5ed48d7437de)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 18:42:35 +00:00
Peter Kjellerstedt
6279cc02b0 local.conf.sample: Remove unnecessary \n from the SSTATE_MIRRORS example
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in SSTATE_MIRRORS
with "\n".

(From meta-yocto rev: 3709d06d5ad9421831d275bf1ed938e8de660906)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 18:42:35 +00:00
Peter Kjellerstedt
fc5cdce9b9 poky.conf: Remove unnecessary \n from PREMIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".

(From meta-yocto rev: 458a809b5ad780fabd3ca18806f831606bfbdfd4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 18:42:35 +00:00
Khem Raj
3656dd75c2 u-boot: Fix RISCV build with binutils 2.38
Ensure right ABI and march is used which matches OE core settings

(From OE-Core rev: 17cd727f333580c6fd7ff20c90ede9ccce9ef60b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Khem Raj
f23738b9fb opensbi: Upgrade to 1.0
Drop OE specific patch to shunt march/mabi
this seems to work fine now.

unset CLANG_TARGET so it can compile with OE produced clang toolchain
which provides --target itself

(From OE-Core rev: c48b57aa68149f5bdca80cadbf5b426c209ca94e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
f77735ffae mesa: upgrade 21.3.5 -> 21.3.6
Changelog:
=========
Bug fixes
---------
radv: CullDistance fail
i965: Segmentation fault during glinfo context destruction, regression in 21.3.x
Vulkan Wayland WSI returns empty surface formats
[REGRESSION][BISECTED] iris: Qutebrowser/QtWebEngine sporadically flashes the window in white
Flickering Intel Uhd 620 Graphics
Broken Terraria & Glitches in Forza Horizon 4

Changes
-------
Revert "nir/algebraic: distribute fmul(fadd(a, b), c) when b and c are constants"
anv: Fix subgroupSupportedStages physical property
Revert "zink: handle vertex buffer offset overflows"
ir3: Fix copy-paste mistakes in ir3_block_remove_physical_predecessor()
ir3/cp: ir3: Prevent propagating shared regs out of loops harder
ir3: opt_deref in opt loop to remove unnecessary tex casts
crocus: find correct relocation target for the bo.
vulkan: Fix leak of error messages
pick_status.json: Update to cb781fc350108584116280fc597c695d2f476c68
pick_status.json: Mark 15e77504461a30038a054c87cc53a694171c9cf4 as denominated
pick_status.json: Mark 960e72417f3e8885699cf384f690853e14ba44da as denominated
intel/fs: Take into account region strides during SIMD lowering decision of SHUFFLE.
vulkan/wsi/wayland: Fix add_wl_shm_format alpha/opaqueness.
vulkan/wsi/wayland: Convert missing vulkan formats to shm formats.
vulkan/wsi/wayland: Add modifiers for RGB formats.
vulkan/wsi/wayland: Fix add_drm_format_modifier aplha/opaqueness.
anv/pass: Don't set first_subpass_layout for stencil-only attachments
vulkan/wsi: Set MUTABLE_FORMAT_BIT in the prime path
i965: Avoid NULL drawbuffer in brw_flush_front
intel/fs: don't set allow_sample_mask for CS intrinsics
intel/nir: fix shader call lowering
panvk: Fix pointer corruption in panvk_add_wait_event_syncobjs
zink: never use SpvOpImageQuerySizeLod for texel buffers
zink: reorder fbfetch flag-setting to avoid null deref
zink: fix vertex buffer mask computation for null buffers
zink: clamp tbo creation to maxTexelBufferElements
zink: add vertex shader pipeline bit for generated barrier construction
zink: fix waiting on current batch id
zink: cast image atomic op params/results based on image type
zink: use SpvScopeDevice over SpvScopeWorkgroup for atomic shader ops
zink: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
llvmpipe: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
llvmpipe: ci updates
zink: add VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for query binds
zink: fix PIPE_CAP_TGSI_BALLOT export conditional
zink: reject invalid draws
zink: min/max blit region in coverage functions
anv: Disable CCS_E for some 8/16bpp copies on TGL+
anv: Use ANV_FAST_CLEAR_DEFAULT_VALUE for CCS on TGL+
anv: Re-enable CCS_E on TGL+
iris: implement inter-context busy-tracking
aco: fix neg(abs(mul(a, b))) if the mul is not VOP3
aco: don't encode src2 for v_writelane_b32_e64
radv: fix R_02881C_PA_CL_VS_OUT_CNTL with mixed cull/clip distances
radv/winsys: fix missing buffer_make_resident() for the null winsys
tu: VkExternalImageFormatProperties is optional

(From OE-Core rev: 05e45cb04e72d369aa6db1793cd010096db3cc09)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
f402b56090 rng-tools: upgrade 6.14 -> 6.15
0001-Adding-ability-to-detect-non-posix-extensions-for-pt.patch
0002-Allow-for-use-of-either-pthread-affinity-set-methods.patch
removed since they're included in 6.15.

Changelog:
=========
Adjust rngtests for better behavior in travis
fix use of non-posix setaffinity call to allow building on strict posix (musl) systems
Add armv6l to list of detected arches for pkcs11
misc fixes to allow building on libc-musl
fix a deadlock in jitter shutdown sequence
minor warning fixups (unused variables)
improve cpu detection code
improve jitter cpu monopolization on small/single cpu systems

(From OE-Core rev: 63b1c5ccd178fdd6f8af1d1b9f7fab529b1746e9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
dd3cf99e50 linux-firmware: upgrade 20211216 -> 20220209
License-Update:
Version of some driver files updated
Added files for some drivers

(From OE-Core rev: 1a2a64082d2a4845bebe802afed2a65dac994043)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
20dfd9a646 python3-ruamel-yaml: upgrade 0.17.20 -> 0.17.21
Changelog:
=========
- fix bug in calling '.compose()' method with 'pathlib.Path' instance.

(From OE-Core rev: 1f5f7cdf998cfb5f5635953ab862728a08192778)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Christian Eggers
083623bdd3 curl: configure with '--without-ssl' if ssl is disabled
curl requires that at least one SSL implementation or explicitly
'--without-ssl' is specified. This is particularly the case if
PACKAGECONFIG is empty.

| configure: error: select TLS backend(s) or disable TLS with
--without-ssl.
|
| Select from these:
|
|   --with-amissl
|   --with-bearssl
|   --with-gnutls
|   --with-mbedtls
|   --with-mesalink
|   --with-nss
|   --with-openssl (also works for BoringSSL and libressl)
|   --with-rustls
|   --with-schannel
|   --with-secure-transport
|   --with-wolfssl
|

Fixes: eef6c45fc6ec ("curl: Rework openssl and random PACKAGECONFIGs")
(From OE-Core rev: 6c737396c705e1388aff5f5a599c901a1a1760a2)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Konrad Weihmann
371a46cb78 gmp: fix EXTRA_OECONF for mipsarchr6
previously used mipsarchr6:append created an empty set for
EXTRA_OECONF and then appended --disable-assembly
while it should be just added to the existing var value.
Without this patch gmp will be configured without
--enable-cxx=detect for mipsarchr6 targets

(From OE-Core rev: c17e1023eff86e71734edeb592a26f3a9160d72e)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Konrad Weihmann
89004bc248 ruby: fix DEPENDS append
recent change create a blank scope of DEPENDS for class-target,
basically leaving out all general dependencies, leading to the effect
that ruby will be shipped without the runtime dependencies of zlib,
openssl and libffi, making the corresponding gems unusable at runtime.

As the class-target scope should be appended only the correct override
is append:class-target

(From OE-Core rev: 8f92444d388d2406be7d317578908975784d3f22)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Richard Purdie
aeb7461bb3 ltp: Disable proc01 test
This test has history of hanging on arm trying to read from /proc/kmsg and it has
reappeared. Disable the test since hanging autobuilder builds are annoying. I suspect
there is a genuine race on ARM somewhere here in the kernel.

(From OE-Core rev: e8f5bd9dc35e2da014412bb35fbd2f96d0b1c5a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
3ee5e1bc71 python3-pbr: upgrade 5.8.0 -> 5.8.1
(From OE-Core rev: 848a506a71d789a4c81df8bf04deaba42f5b5f51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
bad1c19f70 python3-pathlib2: upgrade 2.3.6 -> 2.3.7
Changelog:
=========
This version will be the last release to support Python 2.7.
Fix bug in samefile on Windows when file does not exist.
Add newline parameter for write_text (see issue #64).
Add many more type annotations.
Continuous integration migrated to github actions.
Project migrated to jazzband.

(From OE-Core rev: 30b8cc39e11361e37f0141cd202b355bdab50307)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
b7e6b553c5 python3-hypothesis: upgrade 6.36.1 -> 6.36.2
Changelog:
=========
Updates vendored list of top-level domains, which is used by the provisional
domains() strategy.

(From OE-Core rev: 19e5019c606802456c2022c6cc8f996faad457ff)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
143de5ee93 harfbuzz: upgrade 3.3.2 -> 3.4.0
Changelog:
=========
*Perform sanity checks on shaping results is now part of "harfbuzz" library
 and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY.
*Arabic Mark Transient Reordering Algorithm have been updated to revision 6.
*ISO 15924 code for mathematical notation, 'Zmth', now maps to the OpenType
 'math' tag.
*It is now possible to get at once all math kerning values for a given glyph
 at a given corner.
*Fix locale_t portability issues on systems the typedef's it to a void pointer
*New API:
+HB_BUFFER_FLAG_VERIFY
+HB_OT_TAG_MATH_SCRIPT
+HB_SCRIPT_MATH
+hb_ot_math_kern_entry_t
+hb_ot_math_get_glyph_kernings

Deprecated API

(From OE-Core rev: 52ee8b78ecee7fa4f95d3762799645277be19373)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
93b2f43980 glib-2.0: upgrade 2.70.3 -> 2.70.4
Changelog:
=========
* Bugs fixed:
 - !2462 Backport !2461 "Fix memory leak in gio/gdbusauthmechanismsha1.c"
   to glib-2-70

* Translation updates:
 - Czech
 - French
 - Indonesian
 - Japanese
 - Polish
 - Portuguese (Brazil)
 - Russian
 - Slovenian
 - Spanish
 - Swedish
 - Ukrainian

(From OE-Core rev: 8cca575fabb4cde70fc82a88f09a5855d5f73870)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
72e59137a0 gpgme: upgrade 1.16.0 -> 1.17.0
The following patches refreshed for 1.17.0
0001-pkgconfig.patch
0001-use-closefrom-on-linux-and-glibc-2.34.patch

Changelog:
=========
qt: Fix build for older Qt versions.

(From OE-Core rev: fac45ef439c6156873d2076083d5b3e43015b7e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
6bd4825d34 autoconf-archive: upgrade 2021.02.19 -> 2022.02.11
Changelog:
=========
AX_CC_FOR_BUILD was deprecated in favor of AX_PROG_CC_FOR_BUILD.

(From OE-Core rev: 494b00ead5e889ae15610c0c730719bdf394ca07)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
8adc4d0c77 selftest: wic: Disable graphic of qemu to support WSL
Disable graphic support of qemu to support qemu tests in WSL.

(From OE-Core rev: 797af95eb272bd12eac193cdfe72ddffe8aa39ca)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
ba2bb92331 selftest: wic: Add rawcopy plugin unpack test
(From OE-Core rev: 0e4a030948707ef74f9c977d2d02d9f92c119f7e)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
b709e926d3 selftest: wic: Remove requirement of syslinux from test_rawcopy_plugin
Remove bootimg-pcbios from wks to eliminate requirement of syslinux from
test_rawcopy_plugin to avoid the following error.

ERROR: Couldn't find correct bootimg_dir, exiting

(From OE-Core rev: 99e2321e049fa63b83f3daa076eeff7f6791986b)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
0c20edddfc wic: rawcopy: Add support for packed images
Add support for packed images to wic rawcopy handler do minimize disk
usage in deploy directory and reuse of packed images between wic and
swupdate. Add `unpack` to sourceparams to unpack an bz2, gz and xz
archives.

Example:
part / --source rawcopy --sourceparams="file=core-image-minimal-qemu.ext4.gz,unpack"

(From OE-Core rev: 4c97d25791389ece041565981ba3207ce9949a1a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
5d16ba9078 wic: partition: Support valueless keys in sourceparams
Accept valueless keys in sourceparams without equals sign (=) to match
the comment and support Boolean entries.

(From OE-Core rev: 052a9b0f7d2ee5c284cf1b4f1f45caed0489221a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Christian Eggers
94296651b6 mc: fix build if ncurses have been configured without wide characters
Some distros like poky-tiny set ENABLE_WIDEC=false, which disables wide
character support for ncurses. The new patch fixes the build of mc for
this case.

Since 9000f80336, NCURSES_WIDECHAR is set explicitly to 1 for musl.
This doesn't work for ENABLE_WIDEC==false. In this case,
NCURSES_WIDECHAR must be set explicitly to 0, as curses.h does not
record whether the ncurses library has actually been built with or
without wide characters.

Fixes: 9000f80336 ("mc: upgrade 4.8.25 -> 4.8.26")
(From OE-Core rev: b176d86f5292c0e8cca2500be03ed392d59cedb3)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Richard Purdie
e645f9ff55 openssl: Add perl functionality test to do_configure
Loading the POSIX module after loading others in perl causes errors to get hidden. The
resulting build failures are obtuse and hard to debug. We see this quite often when
we upgrade glibc but not uninative and there are symbol mismatches.

Add a quick test to the start of configure which tests perl operates correct and shows
a much more obvious error if it isn't since the POSIX module doesn't have to reload.

An example of the new error is:

| Can't load 'XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/auto/POSIX/POSIX.so' for module POSIX:
| XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/sysroots-uninative/x86_64-linux/lib/libm.so.6: version `GLIBC_2.35' not found
|  (required by XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/auto/POSIX/POSIX.so) at
|  XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/XSLoader.pm line 111.
|  at XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/POSIX.pm line 24.

which clearly shows the glibc symbol issue.

(From OE-Core rev: 684b656c5e6bf8cb10467c8d0fff1a9eeaf4256f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Khem Raj
6957ff06a0 binutils: Upgrade to 2.38 release
Release Notes are here [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2022-02/msg00009.html

(From OE-Core rev: 77a1038828e638518dceda969da0817aa13eb5d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Khem Raj
1239b8e3e2 diffutils: Link with libbcrypt on mingw
This ensures that symbol is found in the library which is providing it
in mingw runtime >= 9.0.0

(From OE-Core rev: 0299adf2e6dc780a31ec5a5403ab9d0c0f8c9103)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Bruce Ashfield
c9e0fb469e linux-yocto/5.15: fix dssall build error with binutils 2.3.8
Integrating the following commit(s) to linux-yocto/5.15:

    7f685244afb3 powerpc/mm: Switch obsolete dssall to .long

(From OE-Core rev: 8f500f087ffc1471ac997ce8bf0d47171ca846a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Bruce Ashfield
78af4b831c linux-yocto/5.10: fix dssall build error with binutils 2.3.8
Integrating the following commit(s) to linux-yocto/5.10:

    c0b313d988a1 powerpc/mm: Switch obsolete dssall to .long

(From OE-Core rev: b063ee0529c02f8b31a1034289ea1a202e496d0b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Alexander Kanavin
a0245d7be0 core-image-weston-sdk: synchronize with core-image-sato-sdk
(From OE-Core rev: 81cae8ba73698c3c96a8e3a6a774c7068899aa6e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Bruce Ashfield
55724e93f3 linux-yocto/5.10: ppc/riscv: fix build with binutils 2.3.8
Integrating the following commit(s) to linux-yocto/5.10:

    1bd813fe8d0e riscv: fix build with binutils 2.38
    835a2d1b24c6 powerpc/lib/sstep: fix 'ptesync' build error

(From OE-Core rev: 8279495332f560902a9c264939da50b8302828b6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Bruce Ashfield
e92ddaf502 linux-yocto/5.15: ppc/riscv: fix build with binutils 2.3.8
Integrating the following commit(s) to linux-yocto/5.15:

    20301aeb1a64 riscv: fix build with binutils 2.38
    9df58d070506 powerpc/lib/sstep: fix 'ptesync' build error

(From OE-Core rev: fcc87edb7bda5e75e6c5c1b8803535fd6e16543a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Bruce Ashfield
dea965fe67 linux-yocto/5.10: update to v5.10.99
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    fb063a6465f9 Linux 5.10.99
    4889d6ee9e48 selftests: nft_concat_range: add test for reload with no element add/del
    557727313534 cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
    f1f7d1a22fd7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
    84b76a509cc3 ext4: fix incorrect type issue during replay_del_range
    62e46e0ffc02 ext4: fix error handling in ext4_fc_record_modified_inode()
    764793b4a5d0 ext4: fix error handling in ext4_restore_inline_data()
    6c5bd55e36d3 ext4: modify the logic of ext4_mb_new_blocks_simple
    8d71fc23fcb8 ext4: prevent used blocks from being allocated during fast commit replay
    ef2053afd71e EDAC/xgene: Fix deferred probing
    2a12faf55bae EDAC/altera: Fix deferred probing
    dd274cf85269 x86/perf: Default set FREEZE_ON_SMI for all
    456f041e0359 perf/x86/intel/pt: Fix crash with stop filters in single-range mode
    8c0e6a8a630e perf stat: Fix display of grouped aliased events
    57e8859acc60 fbcon: Add option to enable legacy hardware acceleration
    460f6b1a238d Revert "fbcon: Disable accelerated scrolling"
    460aa9d87340 rtc: cmos: Evaluate century appropriate
    2324f5fcdf9d tools/resolve_btfids: Do not print any commands when building silently
    1536fafa23ac selftests: futex: Use variable MAKE instead of make
    8f0fff8b5968 selftests/exec: Remove pipe from TEST_GEN_FILES
    6304a613a97d bpf: Use VM_MAP instead of VM_ALLOC for ringbuf
    f744a064041c gve: fix the wrong AdminQ buffer queue index check
    51e88e892273 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
    ec4334152dae scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
    fd482f2d63db pinctrl: bcm2835: Fix a few error paths
    752d9eafc64e pinctrl: intel: fix unexpected interrupt
    14bc9978b486 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line
    5a45448ac95b ASoC: max9759: fix underflow in speaker_gain_control_put()
    02f459719832 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name
    cb5f1fbd1f22 ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
    56e0747d59ac ASoC: fsl: Add missing error handling in pcm030_fabric_probe
    3e698375517d drm/i915/overlay: Prevent divide by zero bugs in scaling
    9ea018536111 net: stmmac: ensure PTP time register reads are consistent
    41df2da2c1f3 net: stmmac: dump gmac4 DMA registers correctly
    114bf9350413 net: macsec: Verify that send_sci is on when setting Tx sci explicitly
    2e7f5b6ee1a7 net: macsec: Fix offload support for NETDEV_UNREGISTER event
    87b1c9fab6fe net: ieee802154: Return meaningful error codes from the netlink helpers
    78b3f20c17cb net: ieee802154: ca8210: Stop leaking skb's
    0bfe50dc5d91 net: ieee802154: mcr20a: Fix lifs/sifs periods
    75bbda318987 net: ieee802154: hwsim: Ensure proper channel selection at probe time
    e895e067d73e spi: uniphier: fix reference count leak in uniphier_spi_probe()
    ec942d08e070 spi: meson-spicc: add IRQ check in meson_spicc_probe
    c2cf65e1008b spi: mediatek: Avoid NULL pointer crash in interrupt
    30e05c98b99d spi: bcm-qspi: check for valid cs before applying chip select
    6d226e8afe88 iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
    9d9995b0371e iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
    b3958d315163 RDMA/mlx4: Don't continue event handler after memory allocation failure
    d3f8b927df2f RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
    c7db20f5be73 IB/rdmavt: Validate remote_addr during loopback atomic tests
    75c610212b9f RDMA/ucma: Protect mc during concurrent multicast leaves
    371979069a57 RDMA/cma: Use correct address when leaving multicast group
    aa4ecd995f59 memcg: charge fs_context and legacy_fs_context
    080f371d984e Revert "ASoC: mediatek: Check for error clk pointer"
    4a9bd1e6780f IB/hfi1: Fix AIP early init panic
    5d40f1bdad3d dma-buf: heaps: Fix potential spectre v1 gadget
    30de3bc09978 block: bio-integrity: Advance seed correctly for larger interval sizes
    352715593e81 mm/kmemleak: avoid scanning potential huge holes
    7053188ddba3 mm/pgtable: define pte_index so that preprocessor could recognize it
    bce7f5d74d74 mm/debug_vm_pgtable: remove pte entry from the page table
    2d83a7463d75 nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts()
    a0c73dbdd197 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
    f071d9fa8575 drm/nouveau: fix off by one in BIOS boundary checking
    32747e01436a btrfs: fix deadlock between quota disable and qgroup rescan worker
    aa5d406153c5 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows
    d4aa3a98596f ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset)
    3a8a8072e32b ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks
    532cde962f5f ALSA: hda/realtek: Add quirk for ASUS GU603
    410f231fd70c ALSA: hda: realtek: Fix race at concurrent COEF updates
    a7de1002135c ALSA: hda: Fix UAF of leds class devs at unbinding
    470bbb9cbd8f ALSA: usb-audio: Correct quirk for VF0770
    6877f87579ed ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
    038f8b7caa74 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
    a9394f21fba0 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
    0ff6b8050695 audit: improve audit queue handling when "audit=1" on cmdline
    f446089a268c selinux: fix double free of cond_list on error paths
    12a0a56cbae3 Linux 5.10.98
    97a47e25559e Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again
    e27042060f81 Revert "drm/vc4: hdmi: Make sure the device is powered with CEC"
    c8ed22bd97d4 Linux 5.10.97
    176356550ced tcp: add missing tcp_skb_can_collapse() test in tcp_shift_skb_data()
    32e179971085 af_packet: fix data-race in packet_setsockopt / packet_setsockopt
    aa9e96db3121 cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask()
    3bbe2019dd12 rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
    e7be56926397 net: sched: fix use-after-free in tc_new_tfilter()
    7b4741644cf7 fanotify: Fix stale file descriptor in copy_event_to_user()
    4d3fcfe84648 net: amd-xgbe: Fix skb data length underflow
    cadfa7dce526 net: amd-xgbe: ensure to reset the tx_timer_active flag
    77534b114f24 ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback
    b4ced7a46d9f net/mlx5: E-Switch, Fix uninitialized variable modact
    502c37b033fa net/mlx5: Use del_timer_sync in fw reset flow of halting poll
    a01ee1b8165f net/mlx5e: Fix handling of wrong devices during bond netevent
    1fc3444cda9a cgroup-v1: Require capabilities to set release_agent
    ac4ba79bb028 drm/vc4: hdmi: Make sure the device is powered with CEC
    46f919c6bdc5 x86/cpu: Add Xeon Icelake-D to list of CPUs that support PPIN
    fbdbf6743f77 x86/mce: Add Xeon Sapphire Rapids to list of CPUs that support PPIN
    d4e4e61d4a5b psi: Fix uaf issue when psi trigger is destroyed while being polled
    080dbe7e9b86 KVM: x86: Forcibly leave nested virt when SMM state is toggled
    063029a8820e Revert "drivers: bus: simple-pm-bus: Add support for probing simple bus only devices"
    42fdbf8b7dab net: ipa: prevent concurrent replenish
    ad81380d3a48 net: ipa: use a bitmap for endpoint replenish_enabled
    2ed912e3e057 net: ipa: fix atomic update in ipa_endpoint_replenish()
    3b4c966fb156 PCI: pciehp: Fix infinite loop in IRQ handler upon power fault

(From OE-Core rev: 1da72913333948e8c63d39033d38f19d9cdd322e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Bruce Ashfield
39756ad2b8 linux-yocto/5.15: update to v5.15.22
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    0bf5b7cc9848 Linux 5.15.22
    3853c4e27149 selftests: netfilter: check stateless nat udp checksum fixup
    b84753200e79 selftests: nft_concat_range: add test for reload with no element add/del
    7c0ee51fe998 gpio: mpc8xxx: Fix an ignored error return from platform_get_irq()
    3d631a1af0d7 gpio: idt3243x: Fix an ignored error return from platform_get_irq()
    ff43b75eea32 tools include UAPI: Sync sound/asound.h copy with the kernel sources
    f5afdefe188e cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
    e4a7e1418ab7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
    f187daed64e1 ext4: fix incorrect type issue during replay_del_range
    1b6762ecdf3c ext4: fix error handling in ext4_fc_record_modified_inode()
    ce38bb98cec7 ext4: fix error handling in ext4_restore_inline_data()
    869cb287d893 ext4: modify the logic of ext4_mb_new_blocks_simple
    0cb4480bc4f4 ext4: prevent used blocks from being allocated during fast commit replay
    d583cb17ee50 EDAC/xgene: Fix deferred probing
    c6c04bb32b73 EDAC/altera: Fix deferred probing
    587dadb43c9a x86/perf: Default set FREEZE_ON_SMI for all
    e83d941fd344 perf/x86/intel/pt: Fix crash with stop filters in single-range mode
    0f4dcaeaf6ae perf stat: Fix display of grouped aliased events
    64e133ce280b perf: Copy perf_event_attr::sig_data on modification
    9a60e92b76d6 kvm/arm64: rework guest entry logic
    83071e2dad68 kvm: add guest_state_{enter,exit}_irqoff()
    aba976f96bbc rtc: cmos: Evaluate century appropriate
    3b5fcdfab628 e1000e: Separate ADP board type from TGP
    b3a4d501e91c tools/resolve_btfids: Do not print any commands when building silently
    7620887a7779 selftests: futex: Use variable MAKE instead of make
    c5610494fd45 selftests/exec: Remove pipe from TEST_GEN_FILES
    5e457aeab52a bpf: Use VM_MAP instead of VM_ALLOC for ringbuf
    62ab929a8f6b gve: fix the wrong AdminQ buffer queue index check
    3611f4f91e11 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
    2f5a1ac68bdf scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
    0bb4c6b9ecff pinctrl: bcm2835: Fix a few error paths
    3cdcfa3c526e pinctrl: intel: fix unexpected interrupt
    ca63438dc5c4 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line
    d4036172ca3b pinctrl: sunxi: Fix H616 I2S3 pin data
    f00012885e70 ASoC: codecs: wcd938x: fix return value of mixer put function
    b54ff87a1567 ASoC: codecs: lpass-rx-macro: fix sidetone register offsets
    aa7152f9f117 ASoC: codecs: wcd938x: fix incorrect used of portid
    baead410e5db ASoC: max9759: fix underflow in speaker_gain_control_put()
    263b947aa4c1 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name
    841e6a6b831b ASoC: simple-card: fix probe failure on platform component
    c6cf5b5078db ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
    9d44f73df070 ASoC: fsl: Add missing error handling in pcm030_fabric_probe
    8a15ac1786c9 drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled
    5cba71707f0a drm/i915/overlay: Prevent divide by zero bugs in scaling
    b2c91bee7970 drm/kmb: Fix for build errors with Warray-bounds
    a84854bc230a net: stmmac: ensure PTP time register reads are consistent
    27ea34ead54a net: stmmac: dump gmac4 DMA registers correctly
    0ced878998f2 net: macsec: Verify that send_sci is on when setting Tx sci explicitly
    e7a0b3a0806d net: macsec: Fix offload support for NETDEV_UNREGISTER event
    2967b08119d5 net: stmmac: properly handle with runtime pm in stmmac_dvr_remove()
    6358e093547c net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request.
    0ef6049f6649 net/smc: Forward wakeup to smc socket waitqueue after fallback
    ea8ecd2d65b4 net: ieee802154: Return meaningful error codes from the netlink helpers
    566bf0e1c761 netfilter: nft_reject_bridge: Fix for missing reply from prerouting
    94cd597e20ed net: ieee802154: ca8210: Stop leaking skb's
    6c6b19a99131 net: ieee802154: mcr20a: Fix lifs/sifs periods
    29e60b77a449 net: ieee802154: hwsim: Ensure proper channel selection at probe time
    bb7a226780e2 IB/cm: Release previously acquired reference counter in the cm_id_priv
    40e20ba90390 IB/hfi1: Fix tstats alloc and dealloc
    dd00b4f8f768 spi: uniphier: fix reference count leak in uniphier_spi_probe()
    66606d329d61 spi: meson-spicc: add IRQ check in meson_spicc_probe
    7352f2c26482 spi: mediatek: Avoid NULL pointer crash in interrupt
    101a1cf8af55 spi: bcm-qspi: check for valid cs before applying chip select
    ca1f48c30e5b iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
    336d096b62bd iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
    e4b74b89862c ALSA: hda: Skip codec shutdown in case the codec is not registered
    0c5c64335657 ALSA: hda: Fix signedness of sscanf() arguments
    c2a91f1ef38a ALSA: usb-audio: initialize variables that could ignore errors
    63c69c93d978 RDMA/mlx4: Don't continue event handler after memory allocation failure
    035ea99c537d RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
    7d9ad6f9f38f IB/rdmavt: Validate remote_addr during loopback atomic tests
    2989ba9532ba RDMA/siw: Fix refcounting leak in siw_create_qp()
    2923948ffe08 RDMA/ucma: Protect mc during concurrent multicast leaves
    7715682f357d RDMA/cma: Use correct address when leaving multicast group
    0452c3dc851b KVM: arm64: Stop handle_exit() from handling HVC twice when an SError occurs
    e1e852746997 KVM: arm64: Avoid consuming a stale esr value when SError occur
    aff6657f5243 Revert "ASoC: mediatek: Check for error clk pointer"
    9908c759a17e mptcp: fix msk traversal in mptcp_nl_cmd_set_flags()
    778283dc2840 fbcon: Add option to enable legacy hardware acceleration
    2a2629db4248 Revert "fbcon: Disable accelerated scrolling"
    a3dd4d2682f2 IB/hfi1: Fix AIP early init panic
    24f8e12d965b dma-buf: heaps: Fix potential spectre v1 gadget
    f576721152fd block: bio-integrity: Advance seed correctly for larger interval sizes
    a5389c80992f mm/kmemleak: avoid scanning potential huge holes
    65a4863a4ed5 mm/pgtable: define pte_index so that preprocessor could recognize it
    120973e64db9 mm/debug_vm_pgtable: remove pte entry from the page table
    90391ac6888e nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts()
    2093ecf557e7 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
    7ff0ed88e4eb drm/amd/display: watermark latencies is not enough on DCN31
    4f4c77ad5a13 drm/amd/pm: correct the MGpuFanBoost support for Beige Goby
    39ac3945d966 drm/i915/adlp: Fix TypeC PHY-ready status readout
    d877e814a62b drm/nouveau: fix off by one in BIOS boundary checking
    b9e9f848c82b Revert "fs/9p: search open fids first"
    a7b717fa1516 btrfs: fix use-after-free after failure to create a snapshot
    89d4cca583fc btrfs: fix deadlock between quota disable and qgroup rescan worker
    f4b2736eeb62 btrfs: don't start transaction for scrub if the fs is mounted read-only
    7ccf5849bef7 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows
    9fc509f806a5 ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset)
    b3625b0017a4 ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks
    730f823e3c68 ALSA: hda/realtek: Add quirk for ASUS GU603
    586d71ddee6c ALSA: hda: realtek: Fix race at concurrent COEF updates
    0e629052f013 ALSA: hda: Fix UAF of leds class devs at unbinding
    303e89f94b66 ALSA: usb-audio: Correct quirk for VF0770
    b0a7836ecf13 ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
    e8e07c5e25a2 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
    9e8895f1b3d4 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
    10007bd96b6c ASoC: hdmi-codec: Fix OOB memory accesses
    0b8b02903173 spi: stm32-qspi: Update spi registering
    45ba0a5fa0a6 ipc/sem: do not sleep with a spin lock held
    b8d9e0aec158 audit: improve audit queue handling when "audit=1" on cmdline
    70caa32e6d81 selinux: fix double free of cond_list on error paths
    d63d077fc446 drm/i915: Disable DSB usage for now
    f01ed5defb04 Linux 5.15.21
    2b2f53331b3a Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again
    a03d2f9f82bd Revert "drm/vc4: hdmi: Make sure the device is powered with CEC"
    8deae2f4172c Linux 5.15.20
    e6b678c1a367 ovl: fix NULL pointer dereference in copy up warning
    c3d81231ab84 tcp: add missing tcp_skb_can_collapse() test in tcp_shift_skb_data()
    34321180b94d af_packet: fix data-race in packet_setsockopt / packet_setsockopt
    03f42c8ef64a e1000e: Handshake with CSME starts from ADL platforms
    6be234917788 cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask()
    def5e7070079 rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
    f36cacd6c933 net: sched: fix use-after-free in tc_new_tfilter()
    60765e43e40f fanotify: Fix stale file descriptor in copy_event_to_user()
    db6fd92316a2 net: amd-xgbe: Fix skb data length underflow
    8cb5afa71033 net: amd-xgbe: ensure to reset the tx_timer_active flag
    b82364abc54b i40e: Fix reset path while removing the driver
    047fc3396cc6 i40e: Fix reset bw limit when DCB enabled with 1 TC
    86186352e36d ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback
    5ca77e0c5080 net/mlx5: E-Switch, Fix uninitialized variable modact
    0ca746e2996b net/mlx5: Bridge, Fix devlink deadlock on net namespace deletion
    5d575586c4b3 net/mlx5e: Don't treat small ceil values as unlimited in HTB offload
    f232acbb786f net/mlx5: Fix offloading with ESWITCH_IPV4_TTL_MODIFY_ENABLE
    60c48abf62ca net/mlx5e: Fix module EEPROM query
    f895ebeb44d0 net/mlx5: Use del_timer_sync in fw reset flow of halting poll
    fe70126da606 net/mlx5e: Fix handling of wrong devices during bond netevent
    e882123e6e64 net/mlx5: Bridge, ensure dev_name is null-terminated
    c4e3cf1a8e48 net/mlx5: Bridge, take rtnl lock in init error handler
    490292d08946 net/mlx5e: IPsec: Fix tunnel mode crypto offload for non TCP/UDP traffic
    6dfc954efb98 lockd: fix failure to cleanup client locks
    cb5864bf93b2 lockd: fix server crash on reboot of client holding lock
    559bc6ec873a ovl: don't fail copy up if no fileattr support on upper
    9341457fdd0d Revert "mm/gup: small refactoring: simplify try_grab_page()"
    4b1c32bfaa02 cgroup-v1: Require capabilities to set release_agent
    d5e81e3a3e0b drm/vc4: hdmi: Make sure the device is powered with CEC
    dffeeca9268b net: ipa: prevent concurrent replenish
    5f4ed9829617 net: ipa: use a bitmap for endpoint replenish_enabled
    ee782b802ee0 selftests: mptcp: fix ipv6 routing setup
    1db58c6584a7 PCI: pciehp: Fix infinite loop in IRQ handler upon power fault

(From OE-Core rev: fe7b1028c1765183fc250ad250233093eb6f8618)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Richard Purdie
81fe3dfab9 oeqa/buildtools: Switch to our webserver instead of example.com
Similarly to the sanity connectivity check, switch away from example.com
for the buildtools tests.

(From OE-Core rev: ed10f3c2b4c678069fe1cee73f79f6e388c7777e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:38:07 +00:00
Richard Purdie
82e6816024 bitbake: tests/fetch: Add missing branch param for git urls
We started to require the branch parameter for git urls. This updates
the tests to match and quieten some noise.

(Bitbake rev: e5144887f2b6ae266f7b52151005619480e80ec6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:58 +00:00
Alexander Kanavin
305c1d179e ruby: correctly set native/target dependencies
In particular libffi was missing from native, which
led to linking with host libffi instead.

(From OE-Core rev: 293c9f879252a814107579542e8fca9af9dde599)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Ahsan Hussain
8c18d70e3d staging: use relative path in sysroot_stage_dir()
A regression form cpio CVE-2021-38185 caused the tool to hang for paths
greater than 128 character long. It was reported here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992098

We were able to reliable reproduce this with dunfell, meta-freescale
recipe imx-boot

https://github.com/Freescale/meta-freescale/blob/dunfell/recipes-bsp/imx-mkimage/imx-boot_1.0.bb

Using relative path on the affected host fixes the issue as this is
always short, being in the same work dir. It would be harmless, and
useful to generally use the relative path for sysroot_stage_dir()

(From OE-Core rev: a1ec3154a53fd9e3f87a53f25113b7f90bcfb489)

Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Martin Beeger
5bc518e81b cmake: remove bogus CMAKE_LDFLAGS_FLAGS definition from toolchain file
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake. The variable CMAKE_LDFLAGS_FLAGS is spelled incorrectly, cmake expects
CMAKE_SHARED_LINKER_FLAGS, CMAKE_STATIC_LINKER_FLAGS, CMAKE_EXE_LINKER_FLAGS and
CMAKE_MODULE_LINKER_FLAGS to be set instead. As cmake already correctly initializes
these from environment there is no need to specify the linker flags in the toolchain
file at all. So this just removes the variable, as its value was also set wrong.

(From OE-Core rev: 52e59a5b37f55905ee693a99f9ffc34ed41b4283)

Signed-off-by: Martin Beeger <martin.beeger@online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Michael Halstead
75d76ea298 uninative: Upgrade to 3.5
Add support for glibc 2.35.

(From OE-Core rev: 347b8c87fb4e2c398644f900728cf6e22ba4516d)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Richard Purdie
ad90bf2ad9 default-distrovars.inc: Switch connectivity check to a yoctoproject.org page
example.com is proving unreliable at present so switch to our own connectivity
page instead. That page is very simple avoiding app overhead on our web server
which was an original reason for switching to example.com.

(From OE-Core rev: dc6b043cb75c5751b5a98afd2201aa31f9b4b9f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Richard Purdie
8fcf25bcda scriptutils: Fix handling of srcuri urls
Bitbake is now requiring there be a call to get_srcrev() when urls contain
floating revisions. This breaks some recipetool workflows since it is running
these queries to determine those revisions. Add a PV entry which triggers
that call to avoid the errors.

(From OE-Core rev: bdaf0c798da21f9c15d9cb30ab4258a3c75c8bbf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Sean Anderson
66c552ba1c libpcap: Disable DPDK explicitly
libpcap looks for DPDK in the same way it looks for DAG. This can poison
the build even if it doesn't find anything. Explicitly disable dpdk.

(From OE-Core rev: be5442f065da40b41d3cd60793341e22654f2681)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Marek Vasut
8e4f151317 kernel-fitimage: Add missing dependency for UBOOT_ENV
For $UBOOT_ENV file to appear in sysroot, virtual/bootloader
must populate sysroot first. Add the missing dependency.

(From OE-Core rev: 77d96b70f37b70dde65cf31f917c9f524fa7016a)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Stefan Herbrechtsmeier
2e5720c573 gcc-target: move cc1plus to g++ package
Move cc1plus from gcc to g++ package. Therefor, remove the duplicate
FILES entry from gcc package and keep the entry in g++ package.

(From OE-Core rev: f16c0efdeaca7cd08bd5609141b1094139e746f9)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Stefan Herbrechtsmeier
21adae4959 gcc-target: fix glob to remove gcc-<version> binary
The glob to remove the gcc-<version> binary expects a single-digit major
version which is no longer true.

(From OE-Core rev: 30de10cf939cf65c0cab6730a3575bced5c7533a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Justin Bronder
2040c70fcc initramfs-framework: unmount automounts before switch_root
If mounts are left lingering, then after we switch_root, attempts to
modify the block devices will result in an EBUSY with no way to unmount
them.  As we're about to switch_root anyways, there isn't much use to
keep anything mounted unless it has the new rootfs.

(From OE-Core rev: 4dc7af6d25597ea10ea43e76c7c3d7251462c0e5)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Kai Kang
602bec0060 webkitgtk: 2.34.4 -> 2.34.5
Update webkitgtk from 2.34.4 to 2.34.5. It fixes CVE-2022-22589,
CVE-2022-22590 and CVE-2022-22592 in 2.34.5 according to

https://webkitgtk.org/security/WSA-2022-0002.html

And fix indentation as well.

CVE: CVE-2022-22589
CVE: CVE-2022-22590
CVE: CVE-2022-22592

(From OE-Core rev: 775e3e4ca357bd11ec77cd01ca072c6adca89173)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
wangmy
16403507bd ed: upgrade 1.17 -> 1.18
License-Update:
year updated to 2022.
license changed from GPLv3+ to GPLv2.
(In version 1.5 the maintainer mistakenly changed the copyright holder from
Andrew Moore to the FSF. In versions 1.18 he restored the original COPYING.)

Changelog:
=========
* main_loop.c (get_shell_command): Flush stdout after printing cmd.
* signal.c (sighup_handler): Fix a memory leak just before exiting.
* carg_parser.c (ap_init): Likewise.
* io.c (read_file, write_file): Check ptr returned by strip_escapes.
* main_loop.c (get_shell_command, exec_command): Likewise.
* main_loop.c (get_shell_command): Remove backslash from escaped '%'.
* main_loop.c, regex.c: Implement case-insensitive REs.
* regex.c (compile_regex): Don't overwrite previous regex if error.
* main.c: New option '--strip-trailing-cr'.
* buffer.c (push_undo_atom): Fail if stack grows larger than INT_MAX.
  (too_many_lines): Fail if buffer grows larger than INT_MAX lines.
* global.c (set_active_node): Fail if list grows larger than INT_MAX.
* signal.c (resize_buffer): Fail if a line grows longer than INT_MAX.
* io.c (read_file): Return -2 for fatal errors.
* main_loop.c (main_loop): Set error status if fatal error from main.
* main.c [restricted_]: New message "Directory access restricted".
* ed.texi: New chapter "The 's' Command".
* COPYING: Restored.

(From OE-Core rev: 3b2804babd629b55a37eb33ae823dfb682b53b8b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Richard Purdie
aba3d8a2cb buildtools: Allow testsdk to access the network
Some of the buildtools tests test network access so allow this.

(From OE-Core rev: c47424b8e71b95e60f4c5f343176825082b53896)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
pgowda
38cc7a1457 gcc : Fix CVE-2021-46195
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=f10bec5ffa487ad3033ed5f38cfd0fc7d696deab]

(From OE-Core rev: 81e9f8aedab70dfb0a016601150623ef9a7c1596)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Zoltán Böszörményi
73dca91f49 qemuboot: Fix build error if UNINATIVE_LOADER is unset
I got this error on current master:

File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_write_qemuboot_conf(d)
     0003:
File: '.../layers/openembedded-core/meta/classes/qemuboot.bbclass', lineno: 141, function: do_write_qemuboot_conf
     0137:        else:
     0138:            val = d.getVar(k)
     0139:        # we only want to write out relative paths so that we can relocate images
     0140:        # and still run them
 *** 0141:        if val.startswith(topdir):
     0142:            val = os.path.relpath(val, finalpath)
     0143:        cf.set('config_bsp', k, '%s' % val)
     0144:
     0145:    # QB_DEFAULT_KERNEL's value of KERNEL_IMAGETYPE is the name of a symlink
Exception: AttributeError: 'NoneType' object has no attribute 'startswith'

Do nothing if "val" is None, which may happen for k = "UNINATIVE_LOADER".

(From OE-Core rev: 020043c16ce25238313cbf0d10e40e9f6551bf14)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Jon Mason
796f8d0a69 linux-yocto-dev: add qemuriscv32
(From OE-Core rev: ccee053b0f8696ba7185b28be1916a177742b4f4)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Changqing Li
5895834e43 nghttp2: fix for multilib support
Update package name to fix following error:
ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'lib32-libnghttp2']

for lib32 image, lib{PN} will be expanded as lib32-liblib32-nghttp2, so
above error occurs, update lib{PN} to lib{BPN} to fix it.

(From OE-Core rev: 23b87e315962b8cb79219e7782c24b6700ebeff4)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Khem Raj
b98a052636 man-db: Fix build with clang
(From OE-Core rev: f3e14090a3cfe168eb207667b553a861aa7de364)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Joe Slater
c5c9fa771d virglrenderer: fix CVE-2022-0135 and -0175
CVE-2022-0135 concerns out-of-bounds writes in read_transfer_data().
CVE-2022-0175 concerns using malloc() instead of calloc().

We "cherry-pick" from upstream.  The actual cherry-picks are from
upstream master to branch-0.9.1 and are the patches entered here.

(From OE-Core rev: 91f7511df79c5c1f93add9f2827a5a266453614e)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Christian Eggers
e56ac9e229 sdk: fix search for dynamic loader
if the package "nativesdk-glibc-dbg" is installed as part of the SDK,
the existing search expression finds two files:

$OECORE_NATIVE_SYSROOT/lib/.debug/ld-linux-x86-64.so.2
$OECORE_NATIVE_SYSROOT/lib/ld-linux-x86-64.so.2

The generated relocate_sdk.sh shell script contains then an extra
newline and segfaults during SDK relocation.

Limit the search depth to 1, to avoid finding the file in the .debug
directory.

(From OE-Core rev: baec04b936ab6b3d2039978fd568c3824cd0a501)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Ross Burton
23ac8859f4 cmake: stop FetchContent from fetching content
CMake includes a FetchContent module, which will download further
source code at configure time.  With the network isolation this will now
fail, but as not all environments support network isolation we can tell
cmake to not download either for extra safety.

(From OE-Core rev: 138df1940fff303de48c98a95ac1bbaef4f120e2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Saul Wold
75f9785a2b create-spdx: Get SPDX-License-Identifier from source
This patch will read the begining of source files and try to find
the SPDX-License-Identifier to populate the licenseInfoInFiles
field for each source file. This does not populate licenseConcluded
at this time, nor rolls it up to package level.

We read as binary file since some source code seem to have some
binary characters, the license is then converted to ascii strings.

(From OE-Core rev: 51e5f328635eb022143178c3169bae719509697a)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Daiane Angolini
76b3d141c0 classes/lib/useradd: The option -P is deprecated
This is also covered in documentation since:
https://git.yoctoproject.org/yocto-docs/commit/?id=3f3e5574ac9801ad92940168b61b532e0bd53a80

[YOCTO 14605]

(From OE-Core rev: 3f9153986e4e6f667b4bbe97613ec0b279665a97)

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Ross Burton
a1fc8f9944 oeqa/selftest: test that newlib can build
Add a test to set TCLIBC=newlib and build newlib/libgloss.

This is the absolute minimum test, but at least it exercises the build
of this package.

(From OE-Core rev: cd670fd657a54601b10e9e09a40c5b51ed4d1cf8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Richard Purdie
a28c145aa4 patchelf: Fix corrupted file mode patch
The recent patchelf upgrades corrupted the file permissions patch we
carry as upstream inserted an early exit to the funciton.

This showed up as corrupted file modes when testing a new uninative tarball
containing this patchelf.

Rework and tweak the patch to fix this.

(From OE-Core rev: bcdba091d99f9a3ae67c0ba17fcf27329698a0c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-11 13:45:20 +00:00
Matthias Klein
6c9e94f318 boost: add json lib
Add the json lib which provides containers and algorithms
that implement JavaScript Object Notation, or simply "JSON",
a lightweight data-interchange format.

(From OE-Core rev: f4dbdb9774eb61a71289fe91b017b4caf9c34b16)

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Alexander Kanavin
29b2b08fd3 sstate: fix up additional debugging when fetch fails occur
This should print the actual stack trace, for real :)

(From OE-Core rev: 9fbc7d6a2b2388e70a76cb97285e2f60bdc79624)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Markus Volk
cecad01191 seatd: build systemd backend if DISTRO_FEATURE systemd is set
Add libsystemd dependency if we have systemd in DISTRO_FEATURES.
This is needed to build the systemd backend. Projects that use seatd
to hook into logind (e.g. wlroots) fail to properly login without it.

(From OE-Core rev: c659e7468686b8f6995cdc01dd0dbe0e84946bf6)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Luna Gräfje
0fde83cf97 tune-cortexa72: Fix a misspelt override in PACKAGE_EXTRA_ARCHS
Without this, the string "${PACKAGE_EXTRA_ARCHS:tune-armv8-crc}" will
show up in some bash tasks (notably opkg-arch-config.do_compile which is
how I found out about this) which will break things (besides obviously
not doing the intended thing of expanding to a list of architectures)

(From OE-Core rev: c5142f867aaa3fb6fc134781e2e54ce10eabd530)

Signed-off-by: Luna Gräfje <luna.graefje@orbitalsystems.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
3fb9966b4f screen: upgrade 4.8.0 -> 4.9.0
CVE-2021-26937.patch
removed since it is included in 4.9.0

Changelog:
=========
* Hardstatus option for used encoding (escape string '%e')
* OpenBSD uses native openpty() from its utils.h
* Fixes:
  - fix combining char handling that could lead to a segfault
  - CVE-2021-26937: possible denial of service via a crafted UTF-8 character sequence (bug #60030)
  - make screen exit code be 0 when checking --help
  - session names limit is 80 symbols (bug #61534)
  - option -X ignores specified user in multiuser env (bug #37437)
  - a lot of reformations/fixes/cleanups (man page and source code)

(From OE-Core rev: 8247097d2313ceb73bab1621d61b8aa3fb59095e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
c811b9f1e2 python3-pyelftools: upgrade 0.27 -> 0.28
Changelog:
=========
  - Added a method for returning the index of a section by name (#331)
  - Allow filtering by section types in iter_sections (#345)
  - Support Android compressed rel/rela sections (#357)
  - Initial support for PPC64LE (#360)
  - Initial DWARF v5 support (#363 with several follow-ups)
  - Fixed parsing for structures containing uids or gids in core
    dumps (#354)
  - Allow filtering by segment types in iter_segments (#375)
  - Add support for .note.gnu.property (#386)
  - Update readelf tests to work with more recent version of
    readelf (#387)
  - Add support for note GNU_PROPERTY_X86_FEATURE_1_AND (#388)

(From OE-Core rev: 5957eacc2d1b2a4a1731e9f518a1f76c9a450f51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
3978b4f519 python3-pip: upgrade 22.0.2 -> 22.0.3
Changelog:
=========
Features
-------
Print the exception via rich.traceback, when running with --debug. (#10791)

Bug Fixes
---------
Only calculate topological installation order, for packages that are going to
be installed/upgraded.

This fixes an AssertionError that occured when determining installation order,
for a very specific combination of upgrading-already-installed-package + change
of dependencies + fetching some packages from a package index. This combination
was especially common in Read the Docs' builds. (#10851)

Use html.parser by default, instead of falling back to html5lib when
--use-deprecated=html5lib is not passed. (#10869)

Improved Documentation
----------------------
Clarify that using per-requirement overrides disables the usage of wheels. (#9674)

(From OE-Core rev: 72874df0a76869c21a28908597a6ea04213d1aeb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
0b7d43b5d9 python3-pytest: upgrade 6.2.5 -> 7.0.0
License-Update: year from "2004-2020" changed to "2004".

(From OE-Core rev: 5f995c013a98b340989231611702c469dd774405)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
8960b39bb1 python3-pycryptodome: upgrade 3.14.0 -> 3.14.1
Changelog:
=========
GH#595: Fixed memory leak for GMP integers.

(From OE-Core rev: bf8dd261cc1f40525beacacc93d7de08c220ae92)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
63f18599a1 python3-magic: upgrade 0.4.24 -> 0.4.25
Changelog:
=========
  - Support os.PathLike values in Magic.from_file and magic.from_file
  - Handle some versions of libmagic that return mime string without charset
  - Fix tests for file 5.41
  - Include typing stub in package

(From OE-Core rev: ddf1cf89925ef8cb31a68041e97168959ca9b619)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
3872c13296 findutils: upgrade 4.8.0 -> 4.9.0
(From OE-Core rev: 389502162f63215a77dd58c4971f61fad13ea125)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
6ffba8f155 harfbuzz: upgrade 3.3.1 -> 3.3.2
Changelog:
=========
Revert splitting of pair positioning values introduced in 3.3.0 as it proved problematic

(From OE-Core rev: 8993285b02a1763b5e182850b19bbc140ca3906a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
7aab974f7f gdbm: upgrade 1.22 -> 1.23
refresh ptest.patch

(From OE-Core rev: 38d0c34b6a1b44fcc41099936b534202111c3ef7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
6939cb68fc man-db: upgrade 2.9.4 -> 2.10.0
License-Update:
==============
 COPYING : "GNU Library" changed to "GNU Lesser"
         format changed
 COPYING.LIB : "51 Franklin St" changed to "51 Franklin Street"
               format changed

(From OE-Core rev: 68e7e1d332f9e0f777882e3a6b41b9d958340e7b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
e940763c71 libxkbcommon: upgrade 1.3.1 -> 1.4.0
Changelog:
=========
- Add `enable-tools` option to Meson build (on by default) to allow disabling
  the `xkbcli` tools.
- In `xkbcli list`, fix "YAML Norway problem" in output.
- In libxkbregistry, variants now inherit iso639, iso3166 and brief from parent
  layout if omitted.
- In libxkbregistry, don't call `xmlCleanupParser()` - it's not supposed to
  be called by libraries.
- In libxkbregistry, skip over invalid ISO-639 or ISO-3166 entries.

(From OE-Core rev: b5f516be42c7166eb1ac10b07ce05e95477c73f0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
322904224c lzip: upgrade 1.22 -> 1.23
Changelog:
=========
* Decompression time has been reduced by 5-12% depending on the file.
* main.cc (getnum): Show option name and valid range if error.
* Improve several descriptions in manual, '--help', and man page.
* lzip.texi: Change GNU Texinfo category to 'Compression'.

(From OE-Core rev: 7fd35357985fbe9575b2e2e51b4ebbd8e291265b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
7f1f176494 libxcrypt: upgrade 4.4.27 -> 4.4.28
Changelog:
=========
Add glibc-on-or1k (OpenRISC 1000) entry to libcrypt.minver.
This was added in GNU libc 2.35.

(From OE-Core rev: 63a37426109911ad629454cae1b66a2e34c4a43e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
7e2d184140 libmodulemd: upgrade 2.13.0 -> 2.14.0
Changelog:
=========
Enhancements:
-------------
New functions for stripping XMD from an index
(modulemd_module_index_clear_xmds()), from a module
(modulemd_module_clear_xmds()), and from a version 2 module stream
(modulemd_module_stream_v2_clear_xmd()). This enables you to prevent from leaking
private build options to output modulemd-v2 documents.
Interpret an invalid buildorder 18446744073709551615 as -1 if the library
is built with a new build boolean accept_overflowed_buildorder set to true.
Document module version, buildorder, and epoch limits in the specifications.
Also clarify that an epoch number at RPM artifacts is mandatory.
Document that modulemd_module_get_defaults can return NULL
Improve a documentation for modulemd_module_set_defaults() and
modulemd_module_index_upgrade_defaults() functions.
Improve modulemd-validator(1) manual page.
Drop a build dependency on help2man tool.

Fixes:
------
Fix a crash when updating an index with an invalid subdocument and a NULL
error parameter.
Fix clobbering module defaults on a modulemd_module_set_defaults() error.
Fix modulemd_module_index_upgrade_defaults() to actually use the requested
version.
Reject duplicate contexts in modulemd-packager-v3 documents.
Report an error if modulemd-validator tool is invoked with both --version
option and an unknown option.
Fix an undefined behaviour when comparing integers of different signs.
Fix DNF examples in a documentation.
Actually execute modulemd-obsoletes Python tests.
Fix deprecation warnings in tests with glib2-2.69.0.
Fix deprecation warnings in Python tests and make the test compatible with

(From OE-Core rev: 6b2697be1d595a080cffb1d32a4ac385b8a9a63f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Bruce Ashfield
bffc5a1a3a lttng-modules: update devupstream to latest 2.13
This includes the following commits since the last update:

    7584cfc0 fix: net: socket: rename SKB_DROP_REASON_SOCKET_FILTER (v5.17)
    6e9d0d57 fix: net: skb: introduce kfree_skb_reason() (v5.17)
    98b7729a fix: random: rather than entropy_store abstraction, use global (v5.17)
    c8f96e77 fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17)
    afc4fe89 fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17)
    4b1945d3 fix: block: remove the ->rq_disk field in struct request (v5.17)
    a88ee460 fix: block: remove GENHD_FL_SUPPRESS_PARTITION_INFO (v5.17)
    babc49c6 Copyright ownership transfer
    8c0aec7e Version 2.13.1
    533556cd fix: mm: move kvmalloc-related functions to slab.h (v5.16)
    2f0087ab fix: block: don't call blk_status_to_errno in blk_update_request (v5.16)
    9b092ff2 fix: KVM: MMU: change tracepoints arguments to kvm_page_fault (v5.16)
    036297af fix: KVM: x86: Get exit_reason as part of kvm_x86_ops.get_exit_info (v5.16)
    a029f2a3 fix: isystem: delete global -isystem compile option (v5.16)
    d82de6f3 fix: block: move block-related definitions out of fs.h (v5.16)
    4fabf854 Fix: syscall tracing: missing trigger actions
    38b35aff Warn on event registration/unregistration failure
    e26f740b fix: implicit-int error in EXPORT_SYMBOL_GPL
    c570be0d fix: Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (v5.15)

(From OE-Core rev: d8ceaf9c97984f51a0526dbcc05ee2635f03b0c7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
3251babcd6 linux-yocto/5.10: update to v5.10.96
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    f255ac9e8776 Linux 5.10.96
    b43e9d2f6fc7 mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
    b63e120189fd block: Fix wrong offset in bio_truncate()
    0b4e82403c84 fsnotify: invalidate dcache before IN_DELETE event
    8bae6db29c7f usr/include/Makefile: add linux/nfc.h to the compile-test coverage
    f36554de7897 dt-bindings: can: tcan4x5x: fix mram-cfg RX FIFO config
    446ff1fc37c7 net: bridge: vlan: fix memory leak in __allowed_ingress
    bc58a5bb9e6c ipv4: remove sparse error in ip_neigh_gw4()
    ebc5b8e471e5 ipv4: tcp: send zero IPID in SYNACK messages
    58f72918f942 ipv4: raw: lock the socket in raw_bind()
    9ffc94a81b0f net: bridge: vlan: fix single net device option dumping
    869f1704f1c2 Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"
    699eef4ed910 net: hns3: handle empty unknown interrupt for VF
    c9c81b393c74 net: cpsw: Properly initialise struct page_pool_params
    729e54636b3e yam: fix a memory leak in yam_siocdevprivate()
    93a6e920d8cc drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc
    0b7d8db87d0b drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
    d1d4616d3e75 video: hyperv_fb: Fix validation of screen resolution
    0a60d04abc62 ibmvnic: don't spin in tasklet
    55258b505996 ibmvnic: init ->running_cap_crqs early
    b469cf91fb63 ipv4: fix ip option filtering for locally generated fragments
    9b4444197252 net: ipv4: Fix the warning for dereference
    2f56c4845df9 net: ipv4: Move ip_options_fragment() out of loop
    55402a461872 powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending
    0bdbf93ee253 hwmon: (lm90) Mark alert as broken for MAX6654
    c534287a57dc efi/libstub: arm64: Fix image check alignment at entry
    3572205b194c rxrpc: Adjust retransmission backoff
    5067f5699de7 octeontx2-pf: Forward error codes to VF
    bd024e36f681 phylib: fix potential use-after-free
    a839a79f4d6b net: phy: broadcom: hook up soft_reset for BCM54616S
    57b2f3632b2f sched/pelt: Relax the sync of util_sum with util_avg
    91b04e83c710 perf: Fix perf_event_read_local() time
    cffed7e631b5 kernel: delete repeated words in comments
    1af995c98b81 netfilter: conntrack: don't increment invalid counter on NF_REPEAT
    129c71829d7f powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06
    7a32824f7a9c NFS: Ensure the server has an up to date ctime before renaming
    666f6ab882ea NFS: Ensure the server has an up to date ctime before hardlinking
    4cd0ef621509 ipv6: annotate accesses to fn->fn_sernum
    79c0b5287ded drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
    3ab44a408bba drm/msm/dsi: Fix missing put_device() call in dsi_get_phy
    82c310d04b0f drm/msm: Fix wrong size calculation
    f57a99c9a55c net-procfs: show net devices bound packet types
    87880e3803ce NFSv4: nfs_atomic_open() can race when looking up a non-regular file
    ce8c552b88ca NFSv4: Handle case where the lookup of a directory fails
    b48a05cee2c0 hwmon: (lm90) Reduce maximum conversion rate for G781
    b26fed25e67b ipv4: avoid using shared IP generator for connected sockets
    283aa5a5afbc ping: fix the sk_bound_dev_if match in ping_lookup
    7bcb0c19abf4 hwmon: (lm90) Mark alert as broken for MAX6680
    925cbd596aa2 hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
    db044d97460e net: fix information leakage in /proc/net/ptype
    feb770cc00a8 ipv6_tunnel: Rate limit warning messages
    00849de10f79 scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()
    fcaf94c49a84 rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
    1dbb206730f3 rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
    20f667582189 usb: roles: fix include/linux/usb/role.h compile issue
    6aeff8a7c742 i40e: fix unsigned stat widths
    d2ed5997a94b i40e: Fix for failed to init adminq while VF reset
    768eb705e638 i40e: Fix queues reservation for XDP
    39896710f732 i40e: Fix issue when maximum queues is exceeded
    9068bcb2195b i40e: Increase delay to 1 s after global EMP reset
    b4c9b6afa3a7 powerpc/32: Fix boot failure with GCC latent entropy plugin
    50f5d0a8bd0e powerpc/32s: Fix kasan_init_region() for KASAN
    5d3af1dfdf0f powerpc/32s: Allocate one 256k IBAT instead of two consecutives 128k IBATs
    08f090bb9b69 x86/MCE/AMD: Allow thresholding interface updates after init
    791e5d5daa2c sched/membarrier: Fix membarrier-rseq fence command missing from query bitmask
    afbde455ebf4 ocfs2: fix a deadlock when commit trans
    97f75e7d4c30 jbd2: export jbd2_journal_[grab|put]_journal_head
    3921d081c9c3 ucsi_ccg: Check DEV_INT bit only when starting CCG4
    598a884c772c usb: typec: tcpm: Do not disconnect while receiving VBUS off
    e3b131e30e61 USB: core: Fix hang in usb_kill_urb by adding memory barriers
    3ca928c82427 usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
    053274bc6baa usb: common: ulpi: Fix crash in ulpi_match()
    20c51a4c5220 usb: xhci-plat: fix crash when suspend if remote wake enable
    38d1bf67a310 usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
    e0fcae7bd72b tty: Add support for Brainboxes UC cards.
    7079283d32a2 tty: n_gsm: fix SW flow control encoding/handling
    2683b0d5d7d5 serial: stm32: fix software flow control transfer
    4628b26df51c serial: 8250: of: Fix mapped region size when using reg-offset property
    94b23988c305 netfilter: nft_payload: do not update layer 4 checksum when mangling fragments
    bf0d4ae5c6c2 arm64: errata: Fix exec handling in erratum 1418040 workaround
    e92cac1dd803 KVM: x86: Update vCPU's runtime CPUID on write to MSR_IA32_XSS
    6b55af102b39 drm/etnaviv: relax submit size limits
    7a32d17fb73a perf/x86/intel/uncore: Fix CAS_COUNT_WRITE issue for ICX
    a2c8e1d9e41b Revert "KVM: SVM: avoid infinite loop on NPF from bad address"
    abae88fb37bf fsnotify: fix fsnotify hooks in pseudo filesystems
    6ceac38e9b0c ceph: set pool_ns in new inode layout for async creates
    e7be12ca7d39 ceph: properly put ceph_string reference after async create attempt
    39986696fef5 tracing: Don't inc err_log entry count if entry allocation fails
    d71b06aa9950 tracing/histogram: Fix a potential memory leak for kstrdup()
    561a22d44acc PM: wakeup: simplify the output logic of pm_show_wakelocks()
    b0f1cc093bc2 efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
    de7cc8bcca90 udf: Fix NULL ptr deref when converting from inline format
    0a3cfd258923 udf: Restore i_lenAlloc when inode expansion fails
    f08801252d26 scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices
    ff6bdc205fd0 bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
    6520fedfcebb s390/hypfs: include z/VM guests with access control group set
    c10e0627c71c s390/module: fix loading modules with a lot of relocations
    ba7c71a777c1 net: stmmac: skip only stmmac_ptp_register when resume from suspend
    11191406f2f1 net: sfp: ignore disabled SFP node
    e651772adced media: venus: core: Drop second v4l2 device unregister
    83d5196b65d1 Bluetooth: refactor malicious adv data check
    77656fde3c01 Linux 5.10.95
    ae2b20f27732 drm/vmwgfx: Fix stale file descriptors on failed usercopy
    11ba2c6dfb90 select: Fix indefinitely sleeping task in poll_schedule_timeout()
    a447d7f786ec KVM: x86/mmu: Fix write-protection of PTs mapped by the TDP MMU
    12d3389b7af6 rcu: Tighten rcu_advance_cbs_nowake() checks
    4d63363c88e3 bnx2x: Invalidate fastpath HSI version for VFs
    fdcfabd0952d bnx2x: Utilize firmware 7.13.21.0
    6a6acf927895 drm/i915: Flush TLBs before releasing backing store
    c525532e4f87 Linux 5.10.94
    c76c132444df scripts: sphinx-pre-install: Fix ctex support on Debian
    133cef0b6154 scripts: sphinx-pre-install: add required ctex dependency
    15ce9329a532 ath10k: Fix the MTU size on QCA9377 SDIO
    25b1a6d33039 mtd: nand: bbt: Fix corner case in bad block table handling
    8104e589fa4a lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
    629250370052 mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_fault
    33bb7f027b06 lib82596: Fix IRQ check in sni_82596_probe
    078b5a4498e0 scripts/dtc: dtx_diff: remove broken example from help text
    21513c461557 dt-bindings: watchdog: Require samsung,syscon-phandle for Exynos7
    23bcf3615be7 dt-bindings: display: meson-vpu: Add missing amlogic,canvas property
    66467cc87a35 dt-bindings: display: meson-dw-hdmi: add missing sound-name-prefix property
    4496e4a427a0 net: mscc: ocelot: fix using match before it is set
    ee64479c9ce6 net: sfp: fix high power modules without diagnostic monitoring
    819e76bc572e net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
    4691c9f047a8 bcmgenet: add WOL IRQ check
    6973b38b9dba net_sched: restore "mpu xxx" handling
    20949c381646 net: bonding: fix bond_xmit_broadcast return value error bug
    799730d182d1 arm64: dts: qcom: msm8996: drop not documented adreno properties
    f6d4c0e017ec devlink: Remove misleading internal_flags from health reporter dump
    2e51a761b7ab perf probe: Fix ppc64 'perf probe add events failed' case
    59b44f77601d dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
    0078f053714d dmaengine: at_xdmac: Fix lld view setting
    7ab120636d4e dmaengine: at_xdmac: Fix concurrency over xfers_list
    b5b27c5e3315 dmaengine: at_xdmac: Print debug message after realeasing the lock
    c536b351a75f dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
    cd22e22e8eac dmaengine: at_xdmac: Don't start transactions at tx_submit level
    68a83051c8b1 perf script: Fix hex dump character output
    7b9d40e9f60d libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
    cd5c24d2230f gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
    7f2ca96bd266 xfrm: Don't accidentally set RTO_ONLINK in decode_session4()
    2b1415c60b2e netns: add schedule point in ops_exit_list()
    edc09548ffc5 inet: frags: annotate races around fqdir->dead and fqdir->high_thresh
    69e7e979ed66 taskstats: Cleanup the use of task->exit_code
    56daa21414e9 virtio_ring: mark ring unused on error
    0c4ebcb00d88 vdpa/mlx5: Fix wrong configuration of virtio_version_1_0
    c736ec01a2fc rtc: pxa: fix null pointer dereference
    8b8ff4c793ee HID: vivaldi: fix handling devices not using numbered reports
    d7544cf6939c net: axienet: increase default TX ring size to 128
    557829d42d1f net: axienet: fix for TX busy handling
    41831d496772 net: axienet: fix number of TX ring slots for available check
    6301f3566aef net: axienet: Fix TX ring slot available check
    7a3d3d7f6d7b net: axienet: limit minimum TX ring size
    2f548489d64d net: axienet: add missing memory barriers
    bcc5d57e6091 net: axienet: reset core on initialization prior to MDIO access
    46c0ccaff285 net: axienet: Wait for PhyRstCmplt after core reset
    34942a228aec net: axienet: increase reset timeout
    a66b9bccf732 net/smc: Fix hung_task when removing SMC-R devices
    51b52cf35485 clk: si5341: Fix clock HW provider cleanup
    fe40f7aef387 clk: Emit a stern warning with writable debugfs enabled
    38221afa03af af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress
    a49e402f2309 f2fs: fix to reserve space for IO align feature
    39ad0581176d f2fs: compress: fix potential deadlock of compress file
    e1840365ed4f parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
    d806eb5f4e23 net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
    38c798384b90 net/fsl: xgmac_mdio: Add workaround for erratum A-009885
    734f4b0f831e ipv4: avoid quadratic behavior in netns dismantle
    86f0587f7432 ipv4: update fib_info_cnt under spinlock protection
    10e99ae9b5da perf evsel: Override attr->sample_period for non-libpfm4 events
    58fa3e900255 xdp: check prog type before updating BPF link
    38ee417f59c8 bpftool: Remove inclusion of utilities.mak from Makefiles
    2bcab471a26f block: Fix fsync always failed if once failed
    5e59f885353e powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
    19aaef651948 powerpc/cell: Fix clang -Wimplicit-fallthrough warning
    4cb7aba1e086 Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
    78cf5f63a3a9 dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK
    16ad0aa917c9 RDMA/rxe: Fix a typo in opcode name
    885860717c29 RDMA/hns: Modify the mapping attribute of doorbell to device
    57cd8597c3ef dmaengine: uniphier-xdmac: Fix type of address variables
    4fe77b7cd272 scsi: core: Show SCMD_LAST in text form
    b30240911da4 Bluetooth: hci_sync: Fix not setting adv set duration
    55698d11c8da Documentation: fix firewire.rst ABI file path error
    5d38cbf66dd7 Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
    abecf9d74836 Documentation: ACPI: Fix data node reference documentation
    d1e85fcd73b5 Documentation: dmaengine: Correctly describe dmatest with channel unset
    f6736bd81db4 media: correct MEDIA_TEST_SUPPORT help text
    55b10b88ac86 drm/vc4: hdmi: Make sure the device is powered with CEC
    81ac08a800b0 media: rcar-csi2: Optimize the selection PHTW register
    0baa3729d2eb can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message
    f62bf6ee4fa3 firmware: Update Kconfig help text for Google firmware
    12224c0d19f3 of: base: Improve argument length mismatch error
    7bb99c7e13f8 drm/radeon: fix error handling in radeon_driver_open_kms
    0ca7ec6db20c ext4: don't use the orphan list when migrating an inode
    679fb065326b ext4: fix null-ptr-deref in '__ext4_journal_ensure_credits'
    d60e9daba29e ext4: destroy ext4_fc_dentry_cachep kmemcache on module removal
    f26b24b4c115 ext4: fast commit may miss tracking unwritten range during ftruncate
    04b562730677 ext4: use ext4_ext_remove_space() for fast commit replay delete range
    53998b3f6dcd ext4: Fix BUG_ON in ext4_bread when write quota data
    da364ab35892 ext4: set csum seed in tmp inode while migrating to extents
    e4221629d5e1 ext4: fix fast commit may miss tracking range for FALLOC_FL_ZERO_RANGE
    720508dd118d ext4: initialize err_blk before calling __ext4_get_inode_loc
    f9ed0ea0a9fc ext4: fix a possible ABBA deadlock due to busy PA
    115b762b48ab ext4: make sure quota gets properly shutdown on error
    762e4c33e9e5 ext4: make sure to reset inode lockdep class when quota enabling fails
    f8c3ec2e21b9 btrfs: respect the max size in the header when activating swap file
    e7764bccae77 btrfs: check the root node for uptodate before returning it
    09e0ef287e93 btrfs: fix deadlock between quota enable and other quota operations
    56f974d583fc xfrm: fix policy lookup for ipv6 gre packets
    84166c1177f3 PCI: pci-bridge-emul: Set PCI_STATUS_CAP_LIST for PCIe device
    7aeeb9fe9ca0 PCI: pci-bridge-emul: Correctly set PCIe capabilities
    af1d0acdaca7 PCI: pci-bridge-emul: Fix definitions of reserved bits
    0f2ae6691e73 PCI: pci-bridge-emul: Properly mark reserved PCIe bits in PCI config space
    2a0d437d8a76 PCI: pci-bridge-emul: Make expansion ROM Base Address register read-only
    def2825b09ec PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors
    6cbe8f8deb62 PCI: xgene: Fix IB window setup
    e09f47e77b6e powerpc/64s/radix: Fix huge vmap false positive
    eb44b1386af5 parisc: Fix lpa and lpa_user defines
    9b78ee2341d4 drm/bridge: analogix_dp: Make PSR-exit block less
    8cbbf4a6f1ac drm/nouveau/kms/nv04: use vzalloc for nv04_display
    605583fcccb5 drm/etnaviv: limit submit sizes
    6c1e3d8b1bff device property: Fix fwnode_graph_devcon_match() fwnode leak
    ecb71f7bd584 s390/mm: fix 2KB pgtable release race
    798754ba48b7 iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
    c524f4cfb3e5 tracing/kprobes: 'nmissed' not showed correctly for kretprobe
    b72075e395b3 cputime, cpuacct: Include guest time in user time in cpuacct.stat
    13518f058fde serial: Fix incorrect rs485 polarity on uart open
    9668cf9e4af0 fuse: Pass correct lend value to filemap_write_and_wait_range()
    9fbaddd783fd xen/gntdev: fix unmap notification order
    67b078d996f7 spi: uniphier: Fix a bug that doesn't point to private data correctly
    05026c4e94c9 tpm: fix NPE on probe for missing device
    76006d33f1c8 ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
    4f0762ac32b5 crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
    9e6ff2d5725b crypto: stm32/crc32 - Fix kernel BUG triggered in probe()
    2031e0246e45 crypto: omap-aes - Fix broken pm_runtime_and_get() usage
    43e94431c313 rpmsg: core: Clean up resources on announce_create failure.
    082ff9e12b4a phy: mediatek: Fix missing check in mtk_mipi_tx_probe
    ff08cf1e34a1 ASoC: mediatek: mt8183: fix device_node leak
    f28672eef4a9 ASoC: mediatek: mt8173: fix device_node leak
    0df51040089d scsi: sr: Don't use GFP_DMA
    de9a936b04c5 MIPS: Octeon: Fix build errors using clang
    da7df943e254 i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
    f09f7ccb28bb irqchip/gic-v4: Disable redistributors' view of the VPE table at boot time
    bc2d961d821b MIPS: OCTEON: add put_device() after of_find_device_by_node()
    ce34b03a71b6 udf: Fix error handling in udf_new_inode()
    15be042e7fd9 powerpc/fadump: Fix inaccurate CPU state info in vmcore generated with panic
    f2e658d9bda2 powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
    044164b4198e selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
    21125e011620 powerpc/40x: Map 32Mbytes of memory at startup
    c330442f46ea MIPS: Loongson64: Use three arguments for slti
    af8d07735083 ALSA: seq: Set upper limit of processed events
    297210783a7a scsi: lpfc: Trigger SLI4 firmware dump before doing driver cleanup
    dfde7afed711 dm: fix alloc_dax error handling in alloc_dev
    2e2086f49e08 nvmem: core: set size for sysfs bin file
    4a273a94bda8 w1: Misuse of get_user()/put_user() reported by sparse
    87e91d6c6a5e KVM: PPC: Book3S: Suppress failed alloc warning in H_COPY_TOFROM_GUEST
    23bb3f01ceb5 KVM: PPC: Book3S: Suppress warnings when allocating too big memory slots
    03c1595a181c powerpc/powermac: Add missing lockdep_register_key()
    df29c01b9fbe clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB
    30d35a1abd9e i2c: mpc: Correct I2C reset procedure
    4b25aad655c9 powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
    25714ad6bf5e i2c: i801: Don't silently correct invalid transfer size
    75e2cfa5fae9 powerpc/watchdog: Fix missed watchdog reset due to memory ordering race
    a83639521a4f powerpc/btext: add missing of_node_put
    fc10d8f00a89 powerpc/cell: add missing of_node_put
    297ff7d5f157 powerpc/powernv: add missing of_node_put
    c83ba875d7be powerpc/6xx: add missing of_node_put
    d240b08d8ac4 x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs
    3681e9f3f0f7 parisc: Avoid calling faulthandler_disabled() twice
    f2a27dd7a2de random: do not throw away excess input to crng_fast_load
    f8fdebfb4b37 serial: core: Keep mctrl register state and cached copy in sync
    a03fd1b19891 serial: pl010: Drop CR register reset on set_termios
    40ac33892630 regulator: qcom_smd: Align probe function with rpmh-regulator
    3dc751213fe9 net: gemini: allow any RGMII interface mode
    1063de897563 net: phy: marvell: configure RGMII delays for 88E1118
    00580670b98b mlxsw: pci: Avoid flow control for EMAD packets
    eaf8cffcf5d5 dm space map common: add bounds check to sm_ll_lookup_bitmap()
    5850bef8e955 dm btree: add a defensive bounds check to insert_at()
    754b663ea916 mac80211: allow non-standard VHT MCS-10/11
    e8da60b3a629 net: mdio: Demote probed message to debug print
    6b22c9824ddb btrfs: remove BUG_ON(!eie) in find_parent_nodes
    623c65bc7336 btrfs: remove BUG_ON() in find_parent_nodes()
    44cbd2a16a07 ACPI: battery: Add the ThinkPad "Not Charging" quirk
    7b6dc07c6e69 amdgpu/pm: Make sysfs pm attributes as read-only for VFs
    516e332d6fce drm/amdgpu: fixup bad vram size on gmc v8
    ee88ff140de2 ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5
    8544074762e2 ACPICA: Fix wrong interpretation of PCC address
    e70be176961d ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R()
    8ea9216d20b7 ACPICA: Utilities: Avoid deleting the same object twice in a row
    fcfd8282c5d2 ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
    e3a51d6c90a8 jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
    e35cb5b122fc drm/etnaviv: consider completed fence seqno in hang check
    a0b13335a342 xfrm: rate limit SA mapping change message to user space
    0b7beb2fea8f Bluetooth: vhci: Set HCI_QUIRK_VALID_LE_STATES
    6ac117edac18 ath11k: Fix napi related hang
    756a7188b277 um: registers: Rename function names to avoid conflicts and build problems
    d817d10f7a00 iwlwifi: pcie: make sure prph_info is set when treating wakeup IRQ
    f266e1c5bf88 iwlwifi: mvm: Fix calculation of frame length
    6e44b600543c iwlwifi: remove module loading failure message
    febab6b60d61 iwlwifi: fix leaks/bad data after failed firmware load
    81d2e96ababb PM: AVS: qcom-cpr: Use div64_ul instead of do_div
    c0a1d844e3e7 rtw88: 8822c: update rx settings to prevent potential hw deadlock
    3ef25f3122c0 ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream
    e10de3105547 usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0
    282286c632a2 cpufreq: Fix initialization of min and max frequency QoS requests
    37b25de3af10 PM: runtime: Add safety net to supplier device release
    5dfc6fa0b8c2 arm64: tegra: Adjust length of CCPLEX cluster MMIO region
    b68c56a149e4 arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
    b6f7f0ad5af5 audit: ensure userspace is penalized the same as the kernel when under pressure
    5d54ed155031 mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
    51a5156bb779 media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()
    f6bc6b178ce1 media: igorplugusb: receiver overflow should be reported
    d698e024be2e HID: quirks: Allow inverting the absolute X/Y values
    59f03633463f bpf: Do not WARN in bpf_warn_invalid_xdp_action()
    0e8805f73b69 net: bonding: debug: avoid printing debug logs when bond is not notifying peers
    8c72de32ff13 x86/mce: Mark mce_read_aux() noinstr
    1ad3e60f1fec x86/mce: Mark mce_end() noinstr
    f21ca973b43f x86/mce: Mark mce_panic() noinstr
    de360d944386 x86/mce: Allow instrumentation during task work queueing
    af371e0abb6c ath11k: Avoid false DEADLOCK warning reported by lockdep
    aec69e2f33b4 selftests/ftrace: make kprobe profile testcase description unique
    07ecabf15ad3 gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
    7e09f9d15e43 net: phy: prefer 1000baseT over 1000baseKX
    443133330a5d net-sysfs: update the queue counts in the unregistration path
    58b4c1ce8328 ath10k: Fix tx hanging
    fcba0bce3357 ath11k: avoid deadlock by change ieee80211_queue_work for regd_update_work
    93a108d466f8 iwlwifi: mvm: avoid clearing a just saved session protection id
    ec01e0fe2184 iwlwifi: mvm: synchronize with FW after multicast commands
    c1976a424807 thunderbolt: Runtime PM activate both ends of the device link
    830e5d1b4344 media: m920x: don't use stack on USB reads
    c33f0f22bfea media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach()
    526b6c9b4521 media: rcar-vin: Update format alignment constraints
    74e60c1dce06 media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
    d0e3ab637de1 drm: rcar-du: Fix CRTC timings when CMM is used
    e61aa46d0f27 x86/mm: Flush global TLB when switching to trampoline page-table
    0946fdd9290a floppy: Add max size check for user space request
    409d45bcd381 usb: uhci: add aspeed ast2600 uhci support
    d0aec428c072 arm64: dts: ti: j7200-main: Fix 'dtbs_check' serdes_ln_ctrl node
    fcb45ac39f90 ACPI / x86: Add not-present quirk for the PCI0.SDHB.BRC1 device on the GPD win
    b8b2e74a8751 ACPI / x86: Allow specifying acpi_device_override_status() quirks by path
    cda755506df4 ACPI: Change acpi_device_always_present() into acpi_device_override_status()
    b029625063c1 ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table
    cf3b1a160dc2 media: venus: avoid calling core_clk_setrate() concurrently during concurrent video sessions
    adbe14867277 ath11k: Avoid NULL ptr access during mgmt tx cleanup
    ab523ea096ef rsi: Fix out-of-bounds read in rsi_read_pkt()
    752587675068 rsi: Fix use-after-free in rsi_rx_done_handler()
    6036500fdf77 mwifiex: Fix skb_over_panic in mwifiex_usb_recv()
    8a6371d84c5f crypto: jitter - consider 32 LSB for APT
    240cf5d3cb5e HSI: core: Fix return freed object in hsi_new_client
    f4295b7dca87 gpiolib: acpi: Do not set the IRQ type if the IRQ is already in use
    f0653cd4da66 tty: serial: imx: disable UCR4_OREN in .stop_rx() instead of .shutdown()
    b8d10f601f22 drm/bridge: megachips: Ensure both bridges are probed before registration
    43fc9e267e2e mlxsw: pci: Add shutdown method in PCI driver
    b2e921fa9219 soc: ti: pruss: fix referenced node in error message
    07fbbc4dc79d drm/amdgpu/display: set vblank_disable_immediate for DC
    019fe9723a83 drm/amd/display: check top_pipe_to_program pointer
    3c3c0b6c4ae9 ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART
    f54d8cd831be EDAC/synopsys: Use the quirk for version instead of ddr version
    0b85d73fdbc8 media: b2c2: Add missing check in flexcop_pci_isr:
    c978d39a8b14 HID: apple: Do not reset quirks when the Fn key is not found
    2df002e3276b drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
    5aa57672c66c usb: gadget: f_fs: Use stream_open() for endpoint files
    129e8faaee97 ath11k: Fix crash caused by uninitialized TX ring
    e8b271f2aadd media: atomisp: handle errors at sh_css_create_isp_params()
    ebe9c978d9e7 batman-adv: allow netlink usage in unprivileged containers
    ff452db96163 ARM: shmobile: rcar-gen2: Add missing of_node_put()
    ff2138d6c2a3 media: atomisp-ov2680: Fix ov2680_set_fmt() clobbering the exposure
    51ef6582a218 media: atomisp: set per-device's default mode
    ac08140677c0 media: atomisp: fix try_fmt logic
    518e059789f6 drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
    e3ba02b043f2 drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR
    2f13f10fddf4 ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply
    a9d2ccfc7d2c selftests/bpf: Fix bpf_object leak in skb_ctx selftest
    b207356933f4 drm/lima: fix warning when CONFIG_DEBUG_SG=y & CONFIG_DMA_API_DEBUG=y
    db1e878373bf fs: dlm: filter user dlm messages for kernel locks
    f9c9a46efd94 Bluetooth: Fix debugfs entry leak in hci_register_dev()
    852d7d436fd1 ARM: dts: omap3-n900: Fix lp5523 for multi color
    b5793aff11d7 of: base: Fix phandle argument length mismatch error message
    e16e836d510c clk: bm1880: remove kfrees on static allocations
    36d46e21c9c4 ASoC: fsl_asrc: refine the check of available clock divider
    5a6864e2e6ab RDMA/cxgb4: Set queue pair state when being queried
    80524c8cdf29 ASoC: fsl_mqs: fix MODULE_ALIAS
    74988d017dd1 powerpc/xive: Add missing null check after calling kmalloc
    588e0b81ce38 mips: bcm63xx: add support for clk_set_parent()
    e3de89d010c0 mips: lantiq: add support for clk_set_parent()
    8f8468a089b0 arm64: tegra: Remove non existent Tegra194 reset
    702902fc7fb0 arm64: tegra: Fix Tegra194 HDA {clock,reset}-names ordering
    24b047d72c77 counter: stm32-lptimer-cnt: remove iio counter abi
    a39460610452 misc: lattice-ecp3-config: Fix task hung when firmware load failed
    696a50abbc7c ASoC: samsung: idma: Check of ioremap return value
    d491a2c2cf96 ASoC: mediatek: Check for error clk pointer
    c73ccdd62d21 phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
    d781f4cd8c71 scsi: block: pm: Always set request queue runtime active in blk_post_runtime_resume()
    6e2a16954459 iommu/iova: Fix race between FQ timeout and teardown
    57bc8985753c ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
    676049a3d2c6 iommu/amd: Restore GA log/tail pointer on host resume
    c2bd7c31de1a iommu/amd: Remove iommu_init_ga()
    62ea255f2bde dmaengine: pxa/mmp: stop referencing config->slave_id
    0be9ae1e532e mips: fix Kconfig reference to PHYS_ADDR_T_64BIT
    88d78b25db1f mips: add SYS_HAS_CPU_MIPS64_R5 config for MIPS Release 5 support
    51b8e814bcef clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell
    dff359e04260 of: unittest: 64 bit dma address test requires arch support
    918105df78b7 of: unittest: fix warning on PowerPC frame size warning
    0e04518b1dd9 ASoC: rt5663: Handle device_property_read_u32_array error codes
    7c0d9c815ce8 RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty entry
    2432d325f946 RDMA/core: Let ib_find_gid() continue search even after empty entry
    d77916df161b powerpc/powermac: Add additional missing lockdep_register_key()
    8b3783e517f6 PCI/MSI: Fix pci_irq_vector()/pci_irq_get_affinity()
    7be2a0bcaf8e RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
    e19469468b7b scsi: ufs: Fix race conditions related to driver data
    ed43b2e048fe iommu/io-pgtable-arm: Fix table descriptor paddr formatting
    e9e4d1fb4590 openrisc: Add clone3 ABI wrapper
    551a785c26f6 binder: fix handling of error during copy
    88ddf033a5e4 char/mwave: Adjust io port register size
    8937aee4c0fa ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID
    bcd533417fd0 ALSA: oss: fix compile error when OSS_DEBUG is enabled
    fd99aeb97845 clocksource: Avoid accidental unstable marking of clocksources
    cacc6c30e3eb clocksource: Reduce clocksource-skew threshold
    86ad478c99d2 powerpc/32s: Fix shift-out-of-bounds in KASAN init
    ef798cd035f3 powerpc/perf: Fix PMU callbacks to clear pending PMI before resetting an overflown PMC
    58014442a9e8 powerpc/irq: Add helper to set regs->softe
    c9ffa84a3bd1 powerpc/perf: move perf irq/nmi handling details into traps.c
    a0758b3be46d powerpc/perf: MMCR0 control for PMU registers under PMCC=00
    f4df6db5b0b8 powerpc/64s: Convert some cpu_setup() and cpu_restore() functions to C
    a9c9d2ff6423 dt-bindings: thermal: Fix definition of cooling-maps contribution property
    2bd8d937957f ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
    5a821af769bb powerpc/prom_init: Fix improper check of prom_getprop()
    9ca761ef946d clk: imx8mn: Fix imx8mn_clko1_sels
    999528d8a749 scsi: pm80xx: Update WARN_ON check in pm8001_mpi_build_cmd()
    c5f414d69ac9 RDMA/hns: Validate the pkey index
    04a032ea2498 RDMA/bnxt_re: Scan the whole bitmap when checking if "disabling RCFW with pending cmd-bit"
    84cd5c029d48 ALSA: hda: Add missing rwsem around snd_ctl_remove() calls
    180e9d7384c6 ALSA: PCM: Add missing rwsem around snd_ctl_remove() calls
    49d76154ba8d ALSA: jack: Add missing rwsem around snd_ctl_remove() calls
    f871cd8ee0f0 ext4: avoid trim error on fs with small groups
    99590e820feb net: mcs7830: handle usb read errors properly
    2b948524ae65 iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing()
    04ce9e2aeda7 pcmcia: fix setting of kthread task states
    5064bfe046b0 can: xilinx_can: xcan_probe(): check for error irq
    b6dd1577bc92 can: softing: softing_startstop(): fix set but not used variable warning
    b9ac866c23bb tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'
    fb46223c9f94 tpm: add request_locality before write TPM_INT_ENABLE
    20edf903a3a5 can: mcp251xfd: add missing newline to printed strings
    d71fca5d0167 regmap: Call regmap_debugfs_exit() prior to _init()
    838acddcdf75 netrom: fix api breakage in nr_setsockopt()
    0d04479857bc ax25: uninitialized variable in ax25_setsockopt()
    27e9910c4516 spi: spi-meson-spifc: Add missing pm_runtime_disable() in meson_spifc_probe
    9d6350cf8e5a Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt()
    9defd7d4c084 lib/mpi: Add the return value check of kcalloc()
    e801f81cee3c net/mlx5: Set command entry semaphore up once got index free
    d2b9ce705d79 Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
    67e1a449a165 net/mlx5e: Don't block routes with nexthop objects in SW
    cc40fa05c0a6 net/mlx5e: Fix page DMA map/unmap attributes
    b3dda01d1d47 debugfs: lockdown: Allow reading debugfs files that are not world readable
    b9b5da3e187e HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
    541c3a044b46 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_huion_init
    c47f842e0c3c HID: hid-uclogic-params: Invalid parameter check in uclogic_params_get_str_desc
    cf5ad827ee69 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_init
    94177fcecc35 usb: dwc3: qcom: Fix NULL vs IS_ERR checking in dwc3_qcom_probe
    4579954bf4cc Bluetooth: hci_qca: Fix NULL vs IS_ERR_OR_NULL check in qca_serdev_probe
    f6bf3d66393b Bluetooth: hci_bcm: Check for error irq
    f5e4f68d57d6 fsl/fman: Check for null pointer after calling devm_ioremap
    60aca6fdc167 staging: greybus: audio: Check null pointer
    a1068bfee47a rocker: fix a sleeping in atomic bug
    2db344725e17 ppp: ensure minimum packet size in ppp_write()
    45643b1b6ce1 netfilter: nft_set_pipapo: allocate pcpu scratch maps on clone
    8772700a9f1e bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
    342332fb0be6 bpf: Don't promote bogus looking registers after null check.
    0036c78c492a netfilter: ipt_CLUSTERIP: fix refcount leak in clusterip_tg_check()
    2e718389b986 power: reset: mt6397: Check for null res pointer
    4210c35fe81b pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
    2dee347f356d pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
    0f03132191ba ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes
    595e1ec55b30 x86/mce/inject: Avoid out-of-bounds write when setting flags
    df1268181928 hwmon: (mr75203) fix wrong power-up delay value
    aea5302d9ddc x86/boot/compressed: Move CLANG_FLAGS to beginning of KBUILD_CFLAGS
    70eec71f32eb Bluetooth: hci_qca: Stop IBS timer during BT OFF
    1d4e722b62d2 software node: fix wrong node passed to find nargs_prop
    f8f3c1720d77 backlight: qcom-wled: Respect enabled-strings in set_brightness
    de79bcbfaf4d backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion
    c79f9b8d8e26 backlight: qcom-wled: Override default length with qcom,enabled-strings
    bf4daf6153c9 backlight: qcom-wled: Fix off-by-one maximum with default num_strings
    09aed85e8c98 backlight: qcom-wled: Pass number of elements to read to read_u32_array
    f4ed4fc504fd backlight: qcom-wled: Validate enabled string indices in DT
    e668ac6506d3 bpftool: Enable line buffering for stdout
    009bb7ee1577 Bluetooth: L2CAP: Fix using wrong mode
    1a2241ad400b um: virtio_uml: Fix time-travel external time propagation
    8411722e5652 um: fix ndelay/udelay defines
    b2b1b490bd29 selinux: fix potential memleak in selinux_add_opt()
    3253cf091464 mmc: meson-mx-sdio: add IRQ check
    decb2099549d mmc: meson-mx-sdhc: add IRQ check
    bdc6c9fc5f78 iwlwifi: mvm: test roc running status bits before removing the sta
    a750fcd604a6 iwlwifi: mvm: fix 32-bit build in FTM
    86b0122d2682 ARM: dts: armada-38x: Add generic compatible to UART nodes
    1f5428e43806 arm64: dts: marvell: cn9130: enable CP0 GPIO controllers
    874b97e86278 arm64: dts: marvell: cn9130: add GPIO and SPI aliases
    407ef1db4036 usb: ftdi-elan: fix memory leak on device disconnect
    2a65da5a1ea3 ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
    47dd693c94bf xfrm: state and policy should fail if XFRMA_IF_ID 0
    db369047e3b3 xfrm: interface with if_id 0 should return error
    37441ddadc1e media: hantro: Fix probe func error path
    3849ec830bf7 drm/tegra: vic: Fix DMA API misuse
    b230114bc57a drm/bridge: ti-sn65dsi86: Set max register for regmap
    db97fc2c4425 drm/msm/dpu: fix safe status debugfs file
    3580055d1fca arm64: dts: qcom: ipq6018: Fix gpio-ranges property
    6f20a5a98a90 arm64: dts: qcom: c630: Fix soundcard setup
    394ee480aa3e ath11k: Fix a NULL pointer dereference in ath11k_mac_op_hw_scan()
    f6e4a6cbdb6f media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
    1a8869de328a media: msi001: fix possible null-ptr-deref in msi001_probe()
    a79327bb0191 media: dw2102: Fix use after free
    958a8819d414 ARM: dts: gemini: NAS4220-B: fis-index-block with 128 KiB sectors
    3e51460638a6 ath11k: Fix deleting uninitialized kernel timer during fragment cache flush
    b35263f000a5 crypto: stm32 - Revert broken pm_runtime_resume_and_get changes
    1f5b81874f27 crypto: stm32/cryp - fix bugs and crash in tests
    1f6151b0774b crypto: stm32/cryp - fix lrw chaining mode
    2bd40e3a3aa2 crypto: stm32/cryp - fix double pm exit
    533af1621d1c crypto: stm32/cryp - check early input data
    5deb24e50372 crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
    e9e0dd5da8ca crypto: stm32/cryp - fix CTR counter carry
    c40b1bc851e0 crypto: stm32 - Fix last sparse warning in stm32_cryp_check_ctr_counter
    93033bbbdc25 selftests: harness: avoid false negatives if test has no ASSERTs
    f568fd97d751 selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST
    d21b47c60737 x86/uaccess: Move variable into switch case statement
    3e801ea43c4b xfrm: fix a small bug in xfrm_sa_len()
    b87034d7a2a8 mwifiex: Fix possible ABBA deadlock
    0836f9404017 rcu/exp: Mark current CPU as exp-QS in IPI loop second pass
    027165c491e4 drm/msm/dp: displayPort driver need algorithm rational
    268f35245650 sched/rt: Try to restart rt period timer when rt runtime exceeded
    bb0579ab5077 wireless: iwlwifi: Fix a double free in iwl_txq_dyn_alloc_dma
    b4b911b1648c media: si2157: Fix "warm" tuner state detection
    7009a5fbc589 media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach()
    df79d2bf95e0 media: dib8000: Fix a memleak in dib8000_init()
    f0cb43a2c674 arm64: clear_page() shouldn't use DC ZVA when DCZID_EL0.DZP == 1
    88ed31aab481 arm64: lib: Annotate {clear, copy}_page() as position-independent
    69e402a98541 bpf: Remove config check to enable bpf support for branch records
    924886fa2246 bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD)
    218d952160f7 bpf: Adjust BTF log size limit.
    b77ef5b4ead6 sched/fair: Fix per-CPU kthread and wakee stacking for asym CPU capacity
    d7d5b3bc5263 sched/fair: Fix detection of per-CPU kthreads waking a task
    ec121517ac8d Bluetooth: btmtksdio: fix resume failure
    2a7edcb3ef72 staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib()
    49f5cd2b7c41 staging: rtl8192e: return error code from rtllib_softmac_init()
    04fdd426cef2 floppy: Fix hang in watchdog when disk is ejected
    45bbe008013f serial: amba-pl011: do not request memory region twice
    8409d2394cca tty: serial: uartlite: allow 64 bit address
    a001a15ab374 arm64: dts: ti: k3-j7200: Correct the d-cache-sets info
    75919207c16a arm64: dts: ti: k3-j721e: Fix the L2 cache sets
    2dcfa3c76596 arm64: dts: ti: k3-j7200: Fix the L2 cache sets
    f277978d6c46 drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()
    3ca1b3b82fe7 drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()
    96e05d2d9370 thermal/drivers/imx8mm: Enable ADC when enabling monitor
    ef72449e2d79 ACPI: EC: Rework flushing of EC work while suspended to idle
    c0acd5a09796 cgroup: Trace event cgroup id fields should be u64
    e7e178e26418 arm64: dts: qcom: msm8916: fix MMC controller aliases
    894d91c6334b netfilter: bridge: add support for pppoe filtering
    13f64bbe4255 thermal/drivers/imx: Implement runtime PM support
    c3a59f34e87c media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()'
    50c4244906d6 media: venus: core: Fix a potential NULL pointer dereference in an error handling path
    eeefa2eae8fc media: venus: core, venc, vdec: Fix probe dependency error
    53f65afc260f media: venus: pm_helpers: Control core power domain manually
    89f518b153d1 media: coda: fix CODA960 JPEG encoder buffer overflow
    1da628d351a9 media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released
    2028fb832da6 media: si470x-i2c: fix possible memory leak in si470x_i2c_probe()
    e8d78f924f02 media: imx-pxp: Initialize the spinlock prior to using it
    621e8ce75d66 media: rcar-csi2: Correct the selection of hsfreqrange
    ad52b9890b83 mfd: atmel-flexcom: Use .resume_noirq
    46d6a2311409 mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP
    f93c9aa1d36f tty: serial: atmel: Call dma_async_issue_pending()
    755a6c873b9c tty: serial: atmel: Check return code of dmaengine_submit()
    bd85b2e77aa9 arm64: dts: ti: k3-j721e: correct cache-sets info
    32e9947e6639 ath11k: Use host CE parameters for CE interrupts configuration
    6a49acfacab5 crypto: qat - fix undetected PFVF timeout in ACK loop
    475ac5c5653f crypto: qat - make pfvf send message direction agnostic
    ee1c74c3c9c2 crypto: qat - remove unnecessary collision prevention step in PFVF
    472f76835200 crypto: qat - fix spelling mistake: "messge" -> "message"
    ae766527e6b7 ARM: dts: stm32: fix dtbs_check warning on ili9341 dts binding on stm32f429 disco
    eab4204588a0 mtd: hyperbus: rpc-if: fix bug in rpcif_hb_remove
    867d4ace48da crypto: qce - fix uaf on qce_skcipher_register_one
    e19b3c1b5768 crypto: qce - fix uaf on qce_ahash_register_one
    5de640f59f99 media: dmxdev: fix UAF when dvb_register_device() fails
    1d64e2bd2222 arm64: dts: renesas: cat875: Add rx/tx delays
    a33eef23a658 drm/vboxvideo: fix a NULL vs IS_ERR() check
    43220a61e7b8 fs: dlm: fix build with CONFIG_IPV6 disabled
    0d7c5d10e7db tee: fix put order in teedev_close_context()
    097e601eb887 ath11k: reset RSN/WPA present state for open BSS
    fa51addd391d ath11k: clear the keys properly via DISABLE_KEY
    df94b37e902b ath11k: Fix ETSI regd with weather radar overlap
    ffc9019bd991 Bluetooth: stop proccessing malicious adv data
    3273541fed60 memory: renesas-rpc-if: Return error in case devm_ioremap_resource() fails
    55917db35976 fs: dlm: don't call kernel_getpeername() in error_report()
    98923ebb034b fs: dlm: use sk->sk_socket instead of con->sock
    6edd1bd8e3d8 arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
    eb1f75fa2458 arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
    6f012f2c445b arm64: dts: amlogic: Fix SPI NOR flash node name for ODROID N2/N2+
    96d710b1c6ff arm64: dts: amlogic: meson-g12: Fix GPU operating point table node name
    0b57480ed51a media: aspeed: Update signal status immediately to ensure sane hw state
    0ff0ae69d27c media: em28xx: fix memory leak in em28xx_init_dev
    b441d9428735 media: aspeed: fix mode-detect always time out at 2nd run
    8d132d9dd8ba media: atomisp: fix uninitialized bug in gmin_get_pmic_id_and_addr()
    fc2b95e7aeae media: atomisp: fix enum formats logic
    6e5353238c55 media: atomisp: add NULL check for asd obtained from atomisp_video_pipe
    6cbabad304c4 media: staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_cmd.c
    22b0b68f7d9f media: atomisp: fix ifdefs in sh_css.c
    0bf5e8af6eb6 media: atomisp: fix inverted error check for ia_css_mipi_is_source_port_valid()
    3cb3e66f583c media: atomisp: do not use err var when checking port validity for ISP2400
    08e43223fb4e media: atomisp: fix inverted logic in buffers_needed()
    fb370f6dc7d5 media: atomisp: fix punit_ddr_dvfs_enable() argument for mrfld_power up case
    1daacf9bb69a media: atomisp: add missing media_device_cleanup() in atomisp_unregister_entities()
    e1da9301cf54 media: videobuf2: Fix the size printk format
    90807ab437e8 mtd: hyperbus: rpc-if: Check return value of rpcif_sw_init()
    9bfed11dcf59 ath11k: Send PPDU_STATS_CFG with proper pdev mask to firmware
    2fe056d9791a wcn36xx: fix RX BD rate mapping for 5GHz legacy rates
    22406ed4e389 wcn36xx: populate band before determining rate on RX
    92fea7bd5af3 wcn36xx: Put DXE block into reset before freeing memory
    0d53c47f6ab5 wcn36xx: Release DMA channel descriptor allocations
    1850195a852d wcn36xx: Fix DMA channel enable/disable cycle
    38a7842889f5 wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
    fcb267bb9577 wcn36xx: ensure pairing of init_scan/finish_scan and start_scan/end_scan
    e53ff4dd7095 drm/vc4: hdmi: Set a default HSM rate
    b9c2343373f6 clk: bcm-2835: Remove rounding up the dividers
    836dd37fe2bb clk: bcm-2835: Pick the closest clock rate
    88f1b613c37f Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails
    9ddfa1c19191 drm/rockchip: dsi: Reconfigure hardware on resume()
    58904ed18628 drm/rockchip: dsi: Disable PLL clock on bind error
    6215cde02085 drm/rockchip: dsi: Hold pm-runtime across bind/unbind
    8ccaafa1caf0 drm/rockchip: dsi: Fix unbalanced clock on probe error
    9bc19022aa08 drm/panel: innolux-p079zca: Delete panel on attach() failure
    b01b7b868479 drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
    0499c863a8db drm: fix null-ptr-deref in drm_dev_init_release()
    7798757013ec drm/bridge: display-connector: fix an uninitialized pointer in probe()
    cb5813b0e591 Bluetooth: L2CAP: Fix not initializing sk_peer_pid
    ed0b1fd3ec6e drm/ttm: Put BO in its memory manager's lru list
    7b9fa915a58d shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode
    6c6f86bb618b mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pages
    e04b1dfe15ce dma/pool: create dma atomic pool only if dma zone has managed pages
    d2e572411738 mm_zone: add function to check if managed dma zone exists
    2142a7e9bd1f PCI: Add function 1 DMA alias quirk for Marvell 88SE9125 SATA controller
    45c74f4f54db dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
    191a24ceae75 gpu: host1x: Add back arm_iommu_detach_device()
    068067453690 iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
    3dae11f8e381 lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()
    e4a2c924a17e iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs
    256302cb2f86 can: softing_cs: softingcs_probe(): fix memleak on registration failure
    aa57725e2d2a media: cec-pin: fix interrupt en/disable handling
    2e566cacc321 media: stk1160: fix control-message timeouts
    1a0ca711dff6 media: pvrusb2: fix control-message timeouts
    2dbf430ead59 media: redrat3: fix control-message timeouts
    6e9c120bf956 media: dib0700: fix undefined behavior in tuner shutdown
    5e98ac260de6 media: s2255: fix control-message timeouts
    09b0b918a69b media: cpia2: fix control-message timeouts
    d90833106c09 media: em28xx: fix control-message timeouts
    2182575c83f9 media: mceusb: fix control-message timeouts
    460525acc953 media: flexcop-usb: fix control-message timeouts
    7cac8a562427 media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
    1da0b1cd4212 rtc: cmos: take rtc_lock while reading from CMOS
    14f6cfe0d790 tools/nolibc: fix incorrect truncation of exit code
    5e258640ba54 tools/nolibc: i386: fix initial stack alignment
    06f7528d641b tools/nolibc: x86-64: Fix startup code bug
    98259dd54e8e x86/gpu: Reserve stolen memory for first integrated Intel GPU
    e2a17dcad56e mtd: rawnand: davinci: Rewrite function description
    8933138a6660 mtd: rawnand: davinci: Avoid duplicated page read
    677764634b42 mtd: rawnand: davinci: Don't calculate ECC when reading page
    a8a607b0049d mtd: Fixed breaking list in __mtd_del_partition.
    ff10cd7bb295 mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
    538a5e208e7d mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings
    777a700ccfa6 nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
    08283b076f4e f2fs: fix to do sanity check in is_alive()
    57cfc965e375 HID: wacom: Avoid using stale array indicies to read contact count
    7fd22c99bbed HID: wacom: Ignore the confidence flag when a touch is removed
    9a4800e0f6a5 HID: wacom: Reset expected and received contact counts at the same time
    c2e39d5df028 HID: uhid: Fix worker destroying device without any protection
    aa1346113c75 KVM: VMX: switch blocked_vcpu_on_cpu_lock to raw spinlock

(From OE-Core rev: 9bebdb447d39b9bca340f087bff6a008f199f34b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
27be0fa131 linux-yocto/5.15: update to v5.15.19
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    47cccb1eb2fe Linux 5.15.19
    a9739362c7b5 mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
    4633a79ff8bc block: Fix wrong offset in bio_truncate()
    3d7b7272ce9d fsnotify: invalidate dcache before IN_DELETE event
    e8421a9d7bb3 usr/include/Makefile: add linux/nfc.h to the compile-test coverage
    c571505aa0fc usb: dwc3: xilinx: fix uninitialized return value
    442414e8c474 psi: fix "defined but not used" warnings when CONFIG_PROC_FS=n
    949c4c188955 psi: fix "no previous prototype" warnings when CONFIG_CGROUPS=n
    fd26531855e6 perf/core: Fix cgroup event list management
    cba7bdc04720 dt-bindings: can: tcan4x5x: fix mram-cfg RX FIFO config
    e905e1b65ce9 irqchip/realtek-rtl: Fix off-by-one in routing
    f67594cbf3c8 irqchip/realtek-rtl: Map control data to virq
    bcea886771c3 Bluetooth: refactor malicious adv data check
    c5e216e880fa net: bridge: vlan: fix memory leak in __allowed_ingress
    8861857ccc9d ipv4: remove sparse error in ip_neigh_gw4()
    d887a33724ec ipv4: tcp: send zero IPID in SYNACK messages
    4d0bd948ee86 ipv4: raw: lock the socket in raw_bind()
    2387357199a0 net: bridge: vlan: fix single net device option dumping
    e406345f8a26 Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"
    1ac025f24b89 gve: Fix GFP flags when allocing pages
    35b092d3b57f ceph: put the requests/sessions when it fails to alloc memory
    0536379e9d9d KVM: selftests: Don't skip L2's VMCALL in SMM test for SVM guest
    9b6be5b1a053 Revert "drm/ast: Support 1600x900 with 108MHz PCLK"
    1714199af7ec sch_htb: Fail on unsupported parameters when offload is requested
    3e662ceb3e6d net: hns3: handle empty unknown interrupt for VF
    925181ea76b5 net: cpsw: Properly initialise struct page_pool_params
    0690c3943ed0 yam: fix a memory leak in yam_siocdevprivate()
    4d5c2dfbc120 drm/msm/a6xx: Add missing suspend_count increment
    8f069f6dde51 drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc
    13bd31390cae drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
    03a91f9fa93b can: tcan4x5x: regmap: fix max register value
    d0a56e4ebc6b video: hyperv_fb: Fix validation of screen resolution
    38f0bdd548fd net/smc: Transitional solution for clcsock race issue
    fdcdc94b3d35 ibmvnic: don't spin in tasklet
    d4435164be13 ibmvnic: init ->running_cap_crqs early
    aa6ae2341a8f ibmvnic: Allow extra failures before disabling
    9ae4cd5de2a5 ipv4: fix ip option filtering for locally generated fragments
    28aaed966e76 powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending
    b9dc12e481c0 hwmon: (adt7470) Prevent divide by zero in adt7470_fan_write()
    774a6ef81458 hwmon: (lm90) Fix sysfs and udev notifications
    f4a61d7989d5 hwmon: (lm90) Mark alert as broken for MAX6654
    ccdf90878b8b hwmon: (lm90) Re-enable interrupts after alert clears
    da20522eba44 Drivers: hv: balloon: account for vmbus packet header in max_pkt_size
    82cc3382e34e io_uring: fix bug in slow unregistering of nodes
    fa005a5c5d4d efi/libstub: arm64: Fix image check alignment at entry
    42ff00c23b16 rxrpc: Adjust retransmission backoff
    437b6b3bd88c octeontx2-pf: Forward error codes to VF
    689620df2080 octeontx2-af: cn10k: Do not enable RPM loopback for LPC interfaces
    35dd0b7e5a13 octeontx2-af: Increase link credit restore polling timeout
    f13bf41cbe2d octeontx2-af: verify CQ context updates
    4070cf004da3 octeontx2-pf: cn10k: Ensure valid pointers are freed to aura
    a332a1050ac6 octeontx2-af: Retry until RVU block reset complete
    b578044bf4de octeontx2-af: Fix LBK backpressure id count
    77c5abff9330 octeontx2-af: Do not fixup all VF action entries
    aefaccd19379 phylib: fix potential use-after-free
    82688a07cc02 net: stmmac: dwmac-visconti: Fix clock configuration for RMII mode
    27e249cafa4f net: stmmac: dwmac-visconti: Fix bit definitions for ETHER_CLK_SEL
    36c7e4f4a3ec net: phy: broadcom: hook up soft_reset for BCM54616S
    58e81159b4f7 sched/pelt: Relax the sync of util_sum with util_avg
    767060539ac4 perf: Fix perf_event_read_local() time
    498e6604a3ae powerpc/64s: Mask SRR0 before checking against the masked NIP
    3dc90add0ca9 netfilter: conntrack: don't increment invalid counter on NF_REPEAT
    3bfbc00587dc powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06
    d66377ed9a20 SUNRPC: Don't dereference xprt->snd_task if it's a cookie
    8ea839e3a59e SUNRPC: Use BIT() macro in rpc_show_xprt_state()
    19d4d09c2f16 KVM: arm64: pkvm: Use the mm_ops indirection for cache maintenance
    ee062665fbae NFS: Ensure the server has an up to date ctime before renaming
    7a784c2eaae8 NFS: Ensure the server has an up to date ctime before hardlinking
    fe36a67e82c8 ipv6: annotate accesses to fn->fn_sernum
    56480fb10b97 drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
    0069c2331be0 drm/msm/dsi: Fix missing put_device() call in dsi_get_phy
    971754f4681c drm/msm: Fix wrong size calculation
    d70d2aa49ace net-procfs: show net devices bound packet types
    d7396948cf38 NFSv4: nfs_atomic_open() can race when looking up a non-regular file
    4c36ca387af4 NFSv4: Handle case where the lookup of a directory fails
    72edb228b420 hwmon: (lm90) Reduce maximum conversion rate for G781
    dee686cbfdd1 ipv4: avoid using shared IP generator for connected sockets
    eeb0c916b0f8 ping: fix the sk_bound_dev_if match in ping_lookup
    4d647a2b6074 hwmon: (lm90) Mark alert as broken for MAX6680
    38cfdc0ef474 hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
    e43669c77cb3 net: fix information leakage in /proc/net/ptype
    1515e72aae80 ARM: 9170/1: fix panic when kasan and kprobe are enabled
    88e32f7b37a0 ipv6_tunnel: Rate limit warning messages
    b11e34f7bab2 scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()
    9c2ece4852a6 scsi: elx: efct: Don't use GFP_KERNEL under spin lock
    daf9ac79e75b rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
    85aba11a8ea9 rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
    a1f7aa8d60bf usb: roles: fix include/linux/usb/role.h compile issue
    d22045c80283 i40e: fix unsigned stat widths
    d49582860d33 i40e: Fix for failed to init adminq while VF reset
    00eddb0e4ea1 i40e: Fix queues reservation for XDP
    98b70add7576 i40e: Fix issue when maximum queues is exceeded
    d12f5a7c48a9 i40e: Increase delay to 1 s after global EMP reset
    c894d2f9fd53 powerpc/32: Fix boot failure with GCC latent entropy plugin
    db37befafa53 powerpc/32s: Fix kasan_init_region() for KASAN
    569c81c077eb powerpc/32s: Allocate one 256k IBAT instead of two consecutives 128k IBATs
    190753f63fc0 x86/cpu: Add Xeon Icelake-D to list of CPUs that support PPIN
    98ccfec9eae6 x86/MCE/AMD: Allow thresholding interface updates after init
    74e88eceb0af PCI/sysfs: Find shadow ROM before static attribute initialization
    cef9335c465d sched/membarrier: Fix membarrier-rseq fence command missing from query bitmask
    61296272db59 ocfs2: fix a deadlock when commit trans
    9f71d68fa813 jbd2: export jbd2_journal_[grab|put]_journal_head
    4ca8a0bc8354 mm, kasan: use compare-exchange operation to set KASAN page tag
    28b346571edd ucsi_ccg: Check DEV_INT bit only when starting CCG4
    3cdaeb85ed1e usb: typec: tcpm: Do not disconnect when receiving VSAFE0V
    6b71fad7c868 usb: typec: tcpm: Do not disconnect while receiving VBUS off
    a1399fe6d3ba usb: typec: tcpci: don't touch CC line if it's Vconn source
    9340226388c6 USB: core: Fix hang in usb_kill_urb by adding memory barriers
    1cd3a86107f6 usb: dwc3: xilinx: Fix error handling when getting USB3 PHY
    72d338bc467f usb: dwc3: xilinx: Skip resets and USB3 register settings for USB2.0 mode
    897d462d4d15 usb: cdnsp: Fix segmentation fault in cdns_lost_power function
    279804632560 usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
    42865e5544da usb: common: ulpi: Fix crash in ulpi_match()
    d5755832a1e4 usb: xhci-plat: fix crash when suspend if remote wake enable
    a93284827cb2 usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
    209a523dea93 kbuild: remove include/linux/cyclades.h from header file check
    fa5180351abe tty: Add support for Brainboxes UC cards.
    b51afdc797fe tty: Partially revert the removal of the Cyclades public API
    ff79be505ad8 tty: n_gsm: fix SW flow control encoding/handling
    775fcd69038a serial: stm32: fix software flow control transfer
    f79903783db1 serial: 8250: of: Fix mapped region size when using reg-offset property
    f0cb78064e1c serial: pl011: Fix incorrect rs485 RTS polarity on set_mctrl
    965bc27251f0 dm: properly fix redundant bio-based IO accounting
    4cca3e3ef21d block: add bio_start_io_acct_time() to control start_time
    86125006d88d dm: revert partial fix for redundant bio-based IO accounting
    c0af639c1adc KVM: PPC: Book3S HV Nested: Fix nested HFSCR being clobbered with multiple vCPUs
    e668b527a259 KVM: x86: Sync the states size with the XCR0/IA32_XSS at, any time
    096779d44087 KVM: x86: Update vCPU's runtime CPUID on write to MSR_IA32_XSS
    5afeafcc59bb KVM: x86: Keep MSR_IA32_XSS unchanged for INIT
    e302786233e6 KVM: x86: Forcibly leave nested virt when SMM state is toggled
    6f3e157e21b2 KVM: x86: nSVM: skip eax alignment check for non-SVM instructions
    575656560897 KVM: SVM: Don't intercept #GP for SEV guests
    3470722fac22 KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests
    54b3439c8e70 KVM: LAPIC: Also cancel preemption timer during SET_LAPIC
    548f20b39ec9 drm/amd/display: Fix FP start/end for dcn30_internal_validate_bw.
    73740f948252 drm/atomic: Add the crtc to affected crtc only if uapi.enable = true
    473aed10d16d drm/etnaviv: relax submit size limits
    b7bfc2c6cdd2 perf/x86/intel: Add a quirk for the calculation of the number of counters on Alder Lake
    1b4abcd997ad perf/x86/intel/uncore: Fix CAS_COUNT_WRITE issue for ICX
    b8140d7733e0 powerpc/audit: Fix syscall_get_arch()
    d3e4c61e143e psi: Fix uaf issue when psi trigger is destroyed while being polled
    b17cb93dda1d Revert "KVM: SVM: avoid infinite loop on NPF from bad address"
    e6023ab8c729 fsnotify: fix fsnotify hooks in pseudo filesystems
    2aac1eda4638 ceph: set pool_ns in new inode layout for async creates
    36d433ae3242 ceph: properly put ceph_string reference after async create attempt
    4e5dcbedd48d tracing: Don't inc err_log entry count if entry allocation fails
    e33fa4a46ee2 tracing/histogram: Fix a potential memory leak for kstrdup()
    fb9b60bbda55 PM: wakeup: simplify the output logic of pm_show_wakelocks()
    3df524489788 efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
    cbf96c58e28b udf: Fix NULL ptr deref when converting from inline format
    2ea17d25be51 udf: Restore i_lenAlloc when inode expansion fails
    172aa3b81182 scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices
    348a8501e602 ucount: Make get_ucount a safe get_user replacement
    2dc0a8e0129f powerpc/bpf: Update ldimm64 instructions during extra pass
    2f262cadff57 powerpc32/bpf: Fix codegen for bpf-to-bpf calls
    0bcd484587b3 bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
    cfd2a7f8deaa s390/nmi: handle vector validity failures for KVM guests
    c058e1ae9dd5 s390/nmi: handle guarded storage validity failures for KVM guests
    4abcb06fdcb2 s390/hypfs: include z/VM guests with access control group set
    2025d5cb381e s390/module: fix loading modules with a lot of relocations
    a3aa4850b37b KVM: arm64: Use shadow SPSR_EL1 when injecting exceptions on !VHE
    d9505958e1ee ARM: 9180/1: Thumb2: align ALT_UP() sections in modules sufficiently
    cbab3cac94c6 ARM: 9179/1: uaccess: avoid alignment faults in copy_[from|to]_kernel_nofault
    e826ab185717 net: stmmac: skip only stmmac_ptp_register when resume from suspend
    9ef5a86d447a net: stmmac: configure PTP clock source prior to PTP initialization
    30705f1f012c net: sfp: ignore disabled SFP node
    5e32b05c3861 can: m_can: m_can_fifo_{read,write}: don't read or write from/to FIFO if length is 0
    9c43548a7fb8 Linux 5.15.18
    6066977961fc drm/vmwgfx: Fix stale file descriptors on failed usercopy
    9c82ce593626 arm64/bpf: Remove 128MB limit for BPF JIT programs
    7b6577cf9fe4 drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2
    145407e54fd1 select: Fix indefinitely sleeping task in poll_schedule_timeout()
    c3156dbd5082 rcu: Tighten rcu_advance_cbs_nowake() checks
    6ebe994b54a6 memcg: better bounds on the memcg stats updates
    6c8076660d9c memcg: unify memcg stat flushing
    7182935bd5ae memcg: flush stats only if updated
    2691be41fede bnx2x: Invalidate fastpath HSI version for VFs
    66e1791cbeed bnx2x: Utilize firmware 7.13.21.0
    b168b1a0397e io_uring: fix not released cached task refs
    f71c91ed1d4b drm/amd/display: reset dcn31 SMU mailbox on failures
    8a17a077e7e9 drm/i915: Flush TLBs before releasing backing store
    e8a2995c6076 Linux 5.15.17
    4ea9b8ed6459 scripts: sphinx-pre-install: Fix ctex support on Debian
    21c9a4d2cdd4 scripts: sphinx-pre-install: add required ctex dependency
    ffd8fd2faf47 lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
    8d8f479e08a3 bonding: Fix extraction of ports from the packet headers
    52b66f818916 mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_fault
    42de0446a142 lib82596: Fix IRQ check in sni_82596_probe
    8d1e3f319160 scripts/dtc: dtx_diff: remove broken example from help text
    46210f505189 sch_api: Don't skip qdisc attach on ingress
    814527dbc101 dt-bindings: watchdog: Require samsung,syscon-phandle for Exynos7
    34aa30c8ff90 dt-bindings: display: meson-vpu: Add missing amlogic,canvas property
    3f219ebc9f63 dt-bindings: display: meson-dw-hdmi: add missing sound-name-prefix property
    e829e487f193 net: mscc: ocelot: fix using match before it is set
    f864b6130498 net: phy: micrel: use kszphy_suspend()/kszphy_resume for irq aware devices
    ed27539e5a4b net: cpsw: avoid alignment faults by taking NET_IP_ALIGN into account
    d1a29a4e334b net: sfp: fix high power modules without diagnostic monitoring
    a2faa4a27262 net: ocelot: Fix the call to switchdev_bridge_port_offload
    f8df88d6d10c net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
    c2d55304dba8 net: wwan: Fix MRU mismatch issue which may lead to data connection lost
    5715614a9da8 bcmgenet: add WOL IRQ check
    784ea1478f4d net: mscc: ocelot: don't let phylink re-enable TX PAUSE on the NPI port
    b4e6455d7ffc net_sched: restore "mpu xxx" handling
    75a09b8d0208 net: ipa: fix atomic update in ipa_endpoint_replenish()
    f1d206181f19 net: bonding: fix bond_xmit_broadcast return value error bug
    62009fa50c1a net: fix sock_timestamping_bind_phc() to release device
    55d613f5d4c2 arm64: dts: qcom: msm8996: drop not documented adreno properties
    795ad139ed91 devlink: Remove misleading internal_flags from health reporter dump
    228a7024ed8a perf probe: Fix ppc64 'perf probe add events failed' case
    115b85125624 perf tools: Drop requirement for libstdc++.so for libopencsd check
    e73f737a6e71 dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
    b81e898073c2 dmaengine: at_xdmac: Fix lld view setting
    fb8f0e827af2 dmaengine: at_xdmac: Fix concurrency over xfers_list
    5a8547fc3c21 dmaengine: at_xdmac: Print debug message after realeasing the lock
    da1875fd4c25 dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
    45e0d5185031 dmaengine: at_xdmac: Don't start transactions at tx_submit level
    e127c17af30e perf script: Fix hex dump character output
    48a46df6d542 libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
    09c0535c768d gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
    63bc14d6e261 vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()
    786e608e97b9 xfrm: Don't accidentally set RTO_ONLINK in decode_session4()
    6dc6e9f9d94d iwlwifi: fix Bz NMI behaviour
    31428796ca4b netns: add schedule point in ops_exit_list()
    958cbb139ec4 inet: frags: annotate races around fqdir->dead and fqdir->high_thresh
    0288b85d750e taskstats: Cleanup the use of task->exit_code
    be82a92c46bc virtio_ring: mark ring unused on error
    0d3334c47a2e vdpa/mlx5: Fix wrong configuration of virtio_version_1_0
    087d45cd0f1a rtc: pxa: fix null pointer dereference
    4c979e88b658 HID: vivaldi: fix handling devices not using numbered reports
    b81f33f1fc38 um: gitignore: Add kernel/capflags.c
    fe17064738ad bitops: protect find_first_{,zero}_bit properly
    6ad2daa516de net: axienet: increase default TX ring size to 128
    4928dd5990ea net: axienet: fix for TX busy handling
    a530eb5ac606 net: axienet: fix number of TX ring slots for available check
    6342bde86b5a net: axienet: Fix TX ring slot available check
    b9d67f0a6dc0 net: axienet: limit minimum TX ring size
    e8893b1f8899 net: axienet: add missing memory barriers
    07a6ec97c1ef net: axienet: reset core on initialization prior to MDIO access
    9b7f3e6adc15 net: axienet: Wait for PhyRstCmplt after core reset
    712224b86247 net: axienet: increase reset timeout
    25b1d0df9483 net/smc: Fix hung_task when removing SMC-R devices
    405d639ac411 gpio: idt3243x: Fix IRQ check in idt_gpio_probe
    4928241698e1 gpio: mpc8xxx: Fix IRQ check in mpc8xxx_probe
    e7525b3b9eda pinctrl/rockchip: fix gpio device creation
    8fc3bd2c347b clk: si5341: Fix clock HW provider cleanup
    4919c0737806 clk: Emit a stern warning with writable debugfs enabled
    3872d146f2b0 af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress
    cb697a36f415 crypto: octeontx2 - uninitialized variable in kvf_limits_store()
    2d7d3b6da85e f2fs: fix to check available space of CP area correctly in update_ckpt_flags()
    0789b9b34922 f2fs: fix to reserve space for IO align feature
    56dabe87c4aa f2fs: compress: fix potential deadlock of compress file
    b653ee5c4136 f2fs: fix to avoid panic in is_alive() if metadata is inconsistent
    92804f969524 f2fs: fix remove page failed in invalidate compress pages
    28e36db0617c drm/vmwgfx: Remove unused compile options
    f468282f3de0 drm/vmwgfx: Remove explicit transparent hugepages support
    42b777c6aef9 riscv: dts: microchip: mpfs: Drop empty chosen node
    fc1d427d15aa parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
    911b5ba7c54f net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
    fa456d92c4b7 net/fsl: xgmac_mdio: Add workaround for erratum A-009885
    0cba6beb9645 mlx5: Don't accidentally set RTO_ONLINK before mlx5e_route_lookup_ipv4_get()
    6c923b0f74ae ipv4: avoid quadratic behavior in netns dismantle
    4bcc304e4255 ipv4: update fib_info_cnt under spinlock protection
    c2a957a6f252 perf evsel: Override attr->sample_period for non-libpfm4 events
    95429d6b64b1 bpf: Mark PTR_TO_FUNC register initially with zero offset
    20ceec871b66 bpf: Fix mount source show for bpffs
    b87b59633e35 xdp: check prog type before updating BPF link
    b46b0ef69d07 bpftool: Fix indent in option lists in the documentation
    220ee6f3b460 bpftool: Remove inclusion of utilities.mak from Makefiles
    adb344f551d6 drm/vc4: crtc: Copy assigned channel to the CRTC
    d26a90d362d9 drm/vc4: Fix non-blocking commit getting stuck forever
    d2cbb24cf66e drm/vc4: crtc: Drop feed_txp from state
    b157f4bf1fc6 block: Fix fsync always failed if once failed
    269fbc268633 block: fix async_depth sysfs interface for mq-deadline
    1e95e6dab0d1 powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
    696733774b2f powerpc/cell: Fix clang -Wimplicit-fallthrough warning
    3feb292a03d1 Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
    b8b4a083ab94 dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK
    7de812fc6be4 RDMA/rxe: Fix a typo in opcode name
    779ff1e23450 RDMA/hns: Modify the mapping attribute of doorbell to device
    dcb7718a8073 dmaengine: idxd: fix wq settings post wq disable
    d87eb22b94f6 dmaengine: uniphier-xdmac: Fix type of address variables
    60390c2242d6 RDMA/cma: Remove open coding of overflow checking for private_data_len
    0dc4db8abccf scsi: ufs: ufs-mediatek: Fix error checking in ufs_mtk_init_va09_pwr_ctrl()
    46f6dda2a6fc scsi: core: Show SCMD_LAST in text form
    53b2ad98d2bb Bluetooth: hci_sync: Fix not setting adv set duration
    7055782bc722 net: usb: Correct reset handling of smsc95xx
    a15a5eabae41 Bluetooth: btusb: Return error code when getting patch status failed
    9e2d8d9c0e33 Documentation: fix firewire.rst ABI file path error
    b791ffcb23c9 Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
    63e9fdd76cca Documentation, arch: Remove leftovers from CIFS_WEAK_PW_HASH
    2644d43268da Documentation, arch: Remove leftovers from raw device
    6bcac3149e94 Documentation: ACPI: Fix data node reference documentation
    d4aa8cd70b3f Documentation: dmaengine: Correctly describe dmatest with channel unset
    1d4f0d707d35 Documentation: coresight: Fix documentation issue
    aceb8d70f7aa media: correct MEDIA_TEST_SUPPORT help text
    fbe1e801bc1f drm/vc4: hdmi: Make sure the device is powered with CEC
    31a5bdbe4a68 media: rcar-csi2: Optimize the selection PHTW register
    c8e0c2cf2dd4 can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message
    1844b8ae85ac firmware: Update Kconfig help text for Google firmware
    3252ca8b6673 of: base: Improve argument length mismatch error
    f22f67b43775 drm/radeon: fix error handling in radeon_driver_open_kms
    16c436fa4f74 ath11k: qmi: avoid error messages when dma allocation fails
    cb77c81d3479 tracing/osnoise: Properly unhook events if start_per_cpu_kthreads() fails
    0d99b0a7c329 ext4: don't use the orphan list when migrating an inode
    e58742f46afc ext4: fix an use-after-free issue about data=journal writeback mode
    0a3624bfdc00 ext4: fix null-ptr-deref in '__ext4_journal_ensure_credits'
    c857769622f3 ext4: destroy ext4_fc_dentry_cachep kmemcache on module removal
    95fb4c496a7a ext4: fast commit may miss tracking unwritten range during ftruncate
    82034851e93b ext4: use ext4_ext_remove_space() for fast commit replay delete range
    efbb6fcced2d ext4: Fix BUG_ON in ext4_bread when write quota data
    fd86fd7119fb ext4: set csum seed in tmp inode while migrating to extents
    50bc43bc1ce0 ext4: fix fast commit may miss tracking range for FALLOC_FL_ZERO_RANGE
    85cc4554eea8 ext4: initialize err_blk before calling __ext4_get_inode_loc
    2d221d9b17fa ext4: fix a possible ABBA deadlock due to busy PA
    bca8a2bfbdd0 ext4: make sure quota gets properly shutdown on error
    8ffe9ad9f5ef ext4: make sure to reset inode lockdep class when quota enabling fails
    5237c93d58c3 btrfs: respect the max size in the header when activating swap file
    724d9fa55cbe btrfs: check the root node for uptodate before returning it
    ef383621b125 btrfs: fix deadlock between quota enable and other quota operations
    9c1154f395cb xfrm: fix dflt policy check when there is no policy configured
    491c3ae9fbb6 xfrm: fix policy lookup for ipv6 gre packets
    9473abe5b5bf PCI: pci-bridge-emul: Set PCI_STATUS_CAP_LIST for PCIe device
    d4e0d674b42d PCI: pci-bridge-emul: Correctly set PCIe capabilities
    9624d1eb4d1f PCI: pci-bridge-emul: Fix definitions of reserved bits
    b1445d865b05 PCI: pci-bridge-emul: Properly mark reserved PCIe bits in PCI config space
    15cf508331ef PCI: pci-bridge-emul: Make expansion ROM Base Address register read-only
    c2451a37174c PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors
    0a04b6a0f7f4 PCI: xgene: Fix IB window setup
    077fe9d86560 drm/i915/display/ehl: Update voltage swing table
    c3a9e0e701df drm/amdgpu: don't do resets on APUs which don't support it
    99d41076c260 scsi: lpfc: Fix lpfc_force_rscn ndlp kref imbalance
    56fc6cb5d59a powerpc/64s/radix: Fix huge vmap false positive
    46df3013a5c2 parisc: Fix lpa and lpa_user defines
    95df03b471d9 drm/bridge: analogix_dp: Make PSR-exit block less
    d2a6d606e6d3 drm/nouveau/kms/nv04: use vzalloc for nv04_display
    3bf997ec299c drm/amd/display: Fix the uninitialized variable in enable_stream_features()
    2de6ce583651 drm/etnaviv: limit submit sizes
    a04da77f444a drm/tegra: submit: Add missing pm_runtime_mark_last_busy()
    b8902d5ab431 device property: Fix fwnode_graph_devcon_match() fwnode leak
    9d2867101704 s390/mm: fix 2KB pgtable release race
    b5498bbba0d3 iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
    9e87229ff651 remoteproc: imx_rproc: Fix a resource leak in the remove function
    74c0c6483b63 tracing: Have syscall trace events use trace_event_buffer_lock_reserve()
    40022b3682d5 tracing/kprobes: 'nmissed' not showed correctly for kretprobe
    95c7ba00353f sched/cpuacct: Fix user/system in shown cpuacct.usage*
    b48450843f57 cputime, cpuacct: Include guest time in user time in cpuacct.stat
    6f52d2531f30 serial: Fix incorrect rs485 polarity on uart open
    3ec632bc0a4a fuse: Pass correct lend value to filemap_write_and_wait_range()
    2884aac07874 HID: magicmouse: Fix an error handling path in magicmouse_probe()
    00e3d58f50a8 md: Move alloc/free acct bioset in to personality
    c77edcd242b4 xen/gntdev: fix unmap notification order
    0d9b780cb385 spi: uniphier: Fix a bug that doesn't point to private data correctly
    e53802534cd2 mfd: tps65910: Set PWR_OFF bit during driver probe
    e6b11d8fc548 tpm: fix NPE on probe for missing device
    c90732a58cd1 tpm: fix potential NULL pointer access in tpm_del_char_device
    277c60c9e9eb ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
    d6b6324c3c17 crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
    5c91102702f7 crypto: stm32/crc32 - Fix kernel BUG triggered in probe()
    7f429ce71edb crypto: omap-aes - Fix broken pm_runtime_and_get() usage
    8b6d58859e8f ifcvf/vDPA: fix misuse virtio-net device config size for blk dev
    e2b53845a939 rpmsg: core: Clean up resources on announce_create failure.
    591a1e2ef0f1 udp6: Use Segment Routing Header for dest address if present
    af58dbc08ea3 icmp: ICMPV6: Examine invoking packet for Segment Route Headers.
    85b3b307471e seg6: export get_srh() for ICMP handling
    bcb86df40f96 mailbox: change mailbox-mpfs compatible string
    d543ba3a61d7 phy: mediatek: Fix missing check in mtk_mipi_tx_probe
    5895474d2182 habanalabs: skip read fw errors if dynamic descriptor invalid
    8f23743e1978 ASoC: mediatek: mt8183: fix device_node leak
    61274c00d8e8 ASoC: mediatek: mt8173: fix device_node leak
    ab23ed0a7c8c phy: phy-mtk-tphy: add support efuse setting
    286c6f7b28fa ASoC: mediatek: mt8192-mt6359: fix device_node leak
    5b03322abb61 scsi: mpi3mr: Fixes around reply request queues
    f325446b5a18 scsi: sr: Don't use GFP_DMA
    6af33b200b7f MIPS: Octeon: Fix build errors using clang
    843fff4287a5 selftests/powerpc: Add a test of sigreturning to the kernel
    845a5a4a8fd9 i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
    23606176a3b4 irqchip/gic-v4: Disable redistributors' view of the VPE table at boot time
    e8ffc355c7d6 MIPS: OCTEON: add put_device() after of_find_device_by_node()
    9de7569942cc udf: Fix error handling in udf_new_inode()
    625be247e812 powerpc/fadump: Fix inaccurate CPU state info in vmcore generated with panic
    953cacfaf36a powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
    6a0a06c9b193 selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
    e7dd8ba6fc84 powerpc/40x: Map 32Mbytes of memory at startup
    7e6c8ff5c21c MIPS: Loongson64: Use three arguments for slti
    8774f9824c2c ALSA: seq: Set upper limit of processed events
    b693e737e080 scsi: lpfc: Trigger SLI4 firmware dump before doing driver cleanup
    5b91e80b631c scsi: lpfc: Fix leaked lpfc_dmabuf mbox allocations with NPIV
    ef9e3ecacb75 scsi: ufs: Fix a kernel crash during shutdown
    d90d496a999e interconnect: qcom: rpm: Prevent integer overflow in rate
    efd507bed1b4 dm: fix alloc_dax error handling in alloc_dev
    78d56d075464 nvmem: core: set size for sysfs bin file
    fea0e4b49dd2 w1: Misuse of get_user()/put_user() reported by sparse
    d58837197d20 KVM: PPC: Book3S: Suppress failed alloc warning in H_COPY_TOFROM_GUEST
    a0a4d7a23d18 KVM: PPC: Book3S: Suppress warnings when allocating too big memory slots
    9170beaeffe4 powerpc/powermac: Add missing lockdep_register_key()
    af0e9677f6e6 clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB
    95abac60d96d i2c: mpc: Correct I2C reset procedure
    f374976a7e4d powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
    be9313f755a7 i2c: i801: Don't silently correct invalid transfer size
    b8526a5003d6 ASoC: imx-hdmi: add put_device() after of_find_device_by_node()
    52ce10c1878c powerpc/watchdog: Fix missed watchdog reset due to memory ordering race
    aa8c27014529 powerpc/btext: add missing of_node_put
    efe379f92d5f powerpc/cell: add missing of_node_put
    179ecdf5c089 powerpc/powernv: add missing of_node_put
    5203c7027fdd powerpc/6xx: add missing of_node_put
    992a9eafb1ec x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs
    67de7d5ae29b can: flexcan: add more quirks to describe RX path capabilities
    cf0649500913 can: flexcan: rename RX modes
    e719eeb50885 can: flexcan: allow to change quirks at runtime
    b9d50e591133 parisc: Avoid calling faulthandler_disabled() twice
    4e2e5a033e93 net/mlx5e: Unblock setting vid 0 for VF in case PF isn't eswitch manager
    d24e3a126b2e net/mlx5: Update log_max_qp value to FW max capability
    8c751aac0b64 random: do not throw away excess input to crng_fast_load
    0e7d8e930aba serial: core: Keep mctrl register state and cached copy in sync
    5b452507d5e7 serial: pl011: Drop CR register reset on set_termios
    9201e1dd5aee serial: pl010: Drop CR register reset on set_termios
    7828830235cb regulator: qcom_smd: Align probe function with rpmh-regulator
    59caf131b18c net: gemini: allow any RGMII interface mode
    00bf5ce4bf9a net: phy: marvell: configure RGMII delays for 88E1118
    5b2fd3370e7f mlxsw: pci: Avoid flow control for EMAD packets
    0415b84eee93 bpf/selftests: Fix namespace mount setup in tc_redirect
    1674124a8855 dm space map common: add bounds check to sm_ll_lookup_bitmap()
    b5aee20b5316 dm btree: add a defensive bounds check to insert_at()
    3c3417b013cf mac80211: allow non-standard VHT MCS-10/11
    2d1c1df9c899 net: mdio: Demote probed message to debug print
    a3fdfe36c36a btrfs: remove BUG_ON(!eie) in find_parent_nodes
    b667d77ca70c btrfs: remove BUG_ON() in find_parent_nodes()
    d70ce75d1d28 ACPI: CPPC: Check present CPUs for determining _CPC is valid
    dd7c1a930252 ACPI: battery: Add the ThinkPad "Not Charging" quirk
    e4066c05d332 amdgpu/pm: Make sysfs pm attributes as read-only for VFs
    493b87970061 drm/amdgpu: fixup bad vram size on gmc v8
    1ee70b4c5406 mmc: mtk-sd: Use readl_poll_timeout instead of open-coded polling
    dcedcbe17739 ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5
    a4c7a12027f2 ACPICA: Fix wrong interpretation of PCC address
    2718d4a8d632 ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R()
    3c3b033d170d ACPICA: Utilities: Avoid deleting the same object twice in a row
    78cc8a75303f ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
    8c641409536d jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
    46241ec22925 drm/etnaviv: consider completed fence seqno in hang check
    2b68b42a5d05 xfrm: rate limit SA mapping change message to user space
    74f1c807c679 Bluetooth: vhci: Set HCI_QUIRK_VALID_LE_STATES
    e6e03a16eba4 Bluetooth: btintel: Add missing quirks and msft ext for legacy bootloader
    0863e7e0ceb5 ath11k: Fix napi related hang
    617a9e6da974 um: registers: Rename function names to avoid conflicts and build problems
    f75868e020a1 block: check minor range in device_add_disk()
    892805138cb4 mmc: sdhci-pci-gli: GL9755: Support for CD/WP inversion on OF platforms
    0c3f9c13796e iwlwifi: pcie: make sure prph_info is set when treating wakeup IRQ
    ec53a638c18e iwlwifi: mvm: fix AUX ROC removal
    abce9e05089e iwlwifi: mvm: Fix calculation of frame length
    58d53fe49a5d iwlwifi: remove module loading failure message
    e23f075d7798 iwlwifi: fix leaks/bad data after failed firmware load
    73a32ee6daef PM: AVS: qcom-cpr: Use div64_ul instead of do_div
    9a9669e75735 rtw88: 8822c: update rx settings to prevent potential hw deadlock
    38d8d8a88274 ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream
    735aefae7b68 ath9k_htc: fix NULL pointer dereference at ath9k_htc_tx_get_packet()
    6eedec710840 ath9k_htc: fix NULL pointer dereference at ath9k_htc_rxep()
    243ab93501e6 mt76: mt7615: improve wmm index allocation
    9d39145c49d0 mt76: do not pass the received frame with decryption error
    3a1ef2b12338 mt76: mt7615: fix possible deadlock while mt7615_register_ext_phy()
    a09dc6c4638f usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0
    79235edc66cb cpufreq: Fix initialization of min and max frequency QoS requests
    fddbdd20c8e0 PM: runtime: Add safety net to supplier device release
    4586d164c319 crypto: hisilicon/hpre - fix memory leak in hpre_curve25519_src_init()
    c0713b3017a8 crypto: ccp - Move SEV_INIT retry for corrupted data
    a8186a100978 arm64: tegra: Adjust length of CCPLEX cluster MMIO region
    77e5d1974a1b arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
    d978295bb551 audit: ensure userspace is penalized the same as the kernel when under pressure
    305f07b93d34 drm/amd/amdgpu: fix gmc bo pin count leak in SRIOV
    8662d0c6a368 drm/amd/amdgpu: fix psp tmr bo pin count leak in SRIOV
    29d6a92af56d mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
    384a5e27a44f mmc: tmio: reinit card irqs in reset routine
    c3d14b3585b7 media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()
    84155d2b0606 media: rockchip: rkisp1: use device name for debugfs subdir name
    87d0b8170234 media: igorplugusb: receiver overflow should be reported
    26d516434d1c HID: i2c-hid-of: Expose the touchscreen-inverted properties
    bc13af2535e5 HID: quirks: Allow inverting the absolute X/Y values
    4a635b9d5ba5 drm/amdkfd: Fix error handling in svm_range_add
    684815ff760b bpf: Do not WARN in bpf_warn_invalid_xdp_action()
    451ee28aed9d kunit: Don't crash if no parameters are generated
    584d9e3e7459 net: bonding: debug: avoid printing debug logs when bond is not notifying peers
    0f962554d016 x86/mce: Mark mce_read_aux() noinstr
    b26d3a8f826d x86/mce: Mark mce_end() noinstr
    f166c0b3ac1c x86/mce: Mark mce_panic() noinstr
    f2bde2aeb1ae x86/mce: Allow instrumentation during task work queueing
    3903e6279530 ARM: dts: qcom: sdx55: fix IPA interconnect definitions
    f6d165a8fa04 ath11k: Avoid false DEADLOCK warning reported by lockdep
    271842c326bb selftests/ftrace: make kprobe profile testcase description unique
    8bb1290e9050 gpio: aspeed-sgpio: Convert aspeed_sgpio.lock to raw_spinlock
    d9332eab2338 gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
    3c2a24aa3412 net: phy: prefer 1000baseT over 1000baseKX
    0abd3f9903fa net-sysfs: update the queue counts in the unregistration path
    f7bae4d4595d ath10k: Fix tx hanging
    21b07b470a40 ath11k: avoid deadlock by change ieee80211_queue_work for regd_update_work
    bcf404b305f4 rcutorture: Avoid soft lockup during cpu stall
    d63ddcee9ff3 iwlwifi: mvm: avoid clearing a just saved session protection id
    59b49457fbd8 iwlwifi: mvm: synchronize with FW after multicast commands
    b52954c7798e arm64: dts: renesas: Fix thermal bindings
    2f804823b5b7 thunderbolt: Runtime PM activate both ends of the device link
    0c044e39d52a media: m920x: don't use stack on USB reads
    6aaff2d7c9d5 media: atomisp: fix "variable dereferenced before check 'asd'"
    a2e962b2d8b0 media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach()
    d747b4831d5f media: rcar-vin: Update format alignment constraints
    1c9bbda87cdc media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
    4d6a98ce80f6 drm: rcar-du: Fix CRTC timings when CMM is used
    30bd6733ef96 x86/mm: Flush global TLB when switching to trampoline page-table
    1b4422befeba floppy: Add max size check for user space request
    eeefb3436d42 usb: uhci: add aspeed ast2600 uhci support
    750f28d69b99 arm64: dts: ti: j721e-main: Fix 'dtbs_check' in serdes_ln_ctrl node
    e785275d780e arm64: dts: ti: j7200-main: Fix 'dtbs_check' serdes_ln_ctrl node
    94168f47f9b1 ACPI / x86: Add not-present quirk for the PCI0.SDHB.BRC1 device on the GPD win
    10f2c10c0e20 ACPI / x86: Allow specifying acpi_device_override_status() quirks by path
    91f918b7885f ACPI: Change acpi_device_always_present() into acpi_device_override_status()
    1fd897834b77 ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table
    2518f943a18e drm/vmwgfx: Introduce a new placement for MOB page tables
    ff74a49da07b drm/vmwgfx: Release ttm memory if probe fails
    f168858f6096 regulator: da9121: Prevent current limit change when enabled
    34b1e259b1f5 media: venus: avoid calling core_clk_setrate() concurrently during concurrent video sessions
    371a75dfaadb ath11k: Avoid NULL ptr access during mgmt tx cleanup
    dbba81756c1b rsi: Fix out-of-bounds read in rsi_read_pkt()
    bac512a0f3fe rsi: Fix use-after-free in rsi_rx_done_handler()
    b2762757f4e4 mwifiex: Fix skb_over_panic in mwifiex_usb_recv()
    bed51dafd544 crypto: jitter - consider 32 LSB for APT
    0c3df095fab6 HSI: core: Fix return freed object in hsi_new_client
    8c124608bf46 gpiolib: acpi: Do not set the IRQ type if the IRQ is already in use
    c6d9c77a19d0 tty: serial: imx: disable UCR4_OREN in .stop_rx() instead of .shutdown()
    93306292b776 mxser: keep only !tty test in ISR
    405856460d3e drm/bridge: megachips: Ensure both bridges are probed before registration
    58d33532664c drm/amd/display: add else to avoid double destroy clk_mgr
    ae93accee317 mlxsw: pci: Add shutdown method in PCI driver
    b019927f1c4a soc: ti: pruss: fix referenced node in error message
    f94cf1cb1796 drm/amdgpu/display: set vblank_disable_immediate for DC
    1fffa8ffd62f drm/amd/display: check top_pipe_to_program pointer
    5e0f1c68da1e ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART
    b16e928b6a30 soc: imx: gpcv2: Synchronously suspend MIX domains
    f573eda00b39 arm64: dts: qcom: sm8350: Shorten camera-thermal-bottom name
    c41c4bc61db2 EDAC/synopsys: Use the quirk for version instead of ddr version
    342aa207c9da ethernet: renesas: Use div64_ul instead of do_div
    a111f8e113c7 libbpf: Accommodate DWARF/compiler bug with duplicated structs
    299951bd1ef9 media: b2c2: Add missing check in flexcop_pci_isr:
    3396b7cf1478 HID: apple: Do not reset quirks when the Fn key is not found
    e6ad399596bd HID: magicmouse: Report battery level over USB
    c350fcc74035 drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
    d168123f1388 psi: Fix PSI_MEM_FULL state when tasks are in memstall and doing reclaim
    07888a4fbcf2 usb: gadget: f_fs: Use stream_open() for endpoint files
    7171e60715a6 USB: ehci_brcm_hub_control: Improve port index sanitizing
    432acc8ad244 usb: dwc3: meson-g12a: fix shared reset control use
    79a3d8f1882d ath11k: Fix crash caused by uninitialized TX ring
    f1d85deaf343 media: atomisp: handle errors at sh_css_create_isp_params()
    bab93d536617 batman-adv: allow netlink usage in unprivileged containers
    5a47ca7f7894 ARM: shmobile: rcar-gen2: Add missing of_node_put()
    75272f75eddf media: atomisp: check before deference asd variable
    8335807ce313 media: atomisp-ov2680: Fix ov2680_set_fmt() clobbering the exposure
    f04b8bdddf7a media: atomisp: set per-device's default mode
    d4c0cb23e5b3 media: atomisp: fix try_fmt logic
    7be59e8a6660 drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
    0dedaf16ca43 drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR
    fbcd1e9f8a43 ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply
    1f1161c9bb47 selftests/bpf: Fix bpf_object leak in skb_ctx selftest
    57d3ec1106fc selftests/bpf: Destroy XDP link correctly
    7ffd2af8085c selftests/bpf: Fix memory leaks in btf_type_c_dump() helper
    9c46c1f1d2ac drm/lima: fix warning when CONFIG_DEBUG_SG=y & CONFIG_DMA_API_DEBUG=y
    5dc41e6caecc fs: dlm: filter user dlm messages for kernel locks
    41966cae91f1 Bluetooth: Fix removing adv when processing cmd complete
    57347363de0b drm/panel: Delete panel on mipi_dsi_attach() failure
    493c7d56ac22 Bluetooth: Fix memory leak of hci device
    d86db46b5cf5 Bluetooth: Fix debugfs entry leak in hci_register_dev()
    b03b18f0d1e9 leds: lp55xx: initialise output direction from dts
    bc8c07fcb492 ARM: dts: omap3-n900: Fix lp5523 for multi color
    55f8559ba8d3 mailbox: fix gce_num of mt8192 driver data
    38e9447399ff MIPS: compressed: Fix build with ZSTD compression
    925b35b54583 MIPS: boot/compressed/: add __ashldi3 to target for ZSTD compression
    c19b9b755482 of/fdt: Don't worry about non-memory region overlap for no-map
    dc4e2dbe6171 of: base: Fix phandle argument length mismatch error message
    91dcfc658d38 clk: bm1880: remove kfrees on static allocations
    8f5e866cbb97 ASoC: fsl_asrc: refine the check of available clock divider
    0cd1ef3f7b89 ASoC: imx-card: improve the sound quality for low rate
    edc07df0df20 ASoC: imx-card: Fix mclk calculation issue for akcodec
    6bedc3b3d130 ASoC: imx-card: Need special setting for ak4497 on i.MX8MQ
    35816546936d clk: qcom: gcc-sc7280: Mark gcc_cfg_noc_lpass_clk always enabled
    60037a56e08b RDMA/cxgb4: Set queue pair state when being queried
    32faa4c17a56 ALSA: hda/cs8409: Fix Jack detection after resume
    b624b5b2fe02 ALSA: hda/cs8409: Increase delay during jack detection
    65b517f4e0c6 ASoC: fsl_mqs: fix MODULE_ALIAS
    ef9893bb73e7 powerpc/xive: Add missing null check after calling kmalloc
    f1750bf32690 mips: bcm63xx: add support for clk_set_parent()
    b88fea46621d mips: lantiq: add support for clk_set_parent()
    a92e8b510fb4 arm64: tegra: Remove non existent Tegra194 reset
    78926da03360 ASoC: mediatek: mt8195: correct pcmif BE dai control flow
    1cf0a19e33ad misc: lattice-ecp3-config: Fix task hung when firmware load failed
    a17f93a1f0a5 ASoC: samsung: idma: Check of ioremap return value
    8b5d69613b12 phy: cadence: Sierra: Fix to get correct parent for mux clocks
    fca58a434425 powerpc/64s: Use EMIT_WARN_ENTRY for SRR debug warnings
    5bb2d955e81b powerpc/64s: Mask NIP before checking against SRR0
    38accfd85e41 ASoC: mediatek: Check for error clk pointer
    799b2c6cd7b6 phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
    af8cab36bfb8 scsi: block: pm: Always set request queue runtime active in blk_post_runtime_resume()
    e421973fbe6e efi: apply memblock cap after memblock_add()
    77d37071811b of: fdt: Aggregate the processing of "linux,usable-memory-range"
    073d9a2237b1 ASoC: mediatek: mt8195: correct default value
    ef0af09d4113 iommu/iova: Fix race between FQ timeout and teardown
    56c3b7238594 ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
    9bc6d3abccbf iommu/amd: Remove useless irq affinity notifier
    7e7e12092a66 iommu/amd: X2apic mode: mask/unmask interrupts on suspend/resume
    88c62a000be5 iommu/amd: X2apic mode: setup the INTX registers on mask/unmask
    0210cbc1efa3 iommu/amd: X2apic mode: re-enable after resume
    fd77922c94e4 iommu/amd: Restore GA log/tail pointer on host resume
    86bcde384570 dmaengine: pxa/mmp: stop referencing config->slave_id
    b1f659597761 mips: fix Kconfig reference to PHYS_ADDR_T_64BIT
    f345281019b2 mips: add SYS_HAS_CPU_MIPS64_R5 config for MIPS Release 5 support
    cfb6756aea7e clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell
    e7962a878b38 of: unittest: 64 bit dma address test requires arch support
    d00393b2c354 of: unittest: fix warning on PowerPC frame size warning
    e91edc3b443c ASoC: rt5663: Handle device_property_read_u32_array error codes
    45f4e3c75877 RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty entry
    8d76d0e4880d RDMA/core: Let ib_find_gid() continue search even after empty entry
    b77f233986b3 iommu/arm-smmu-qcom: Fix TTBR0 read
    2b78e026b455 powerpc/powermac: Add additional missing lockdep_register_key()
    db3e0d59f1c8 PCI/MSI: Fix pci_irq_vector()/pci_irq_get_affinity()
    1526f0ae4949 RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
    f10876654e82 scsi: ufs: Fix race conditions related to driver data
    c9f350ade563 scsi: core: Fix scsi_device_max_queue_depth()
    3db62f98b49f iommu/io-pgtable-arm: Fix table descriptor paddr formatting
    004d84063fa2 iommu: Extend mutex lock scope in iommu_probe_device()
    37fb3dec665c openrisc: Add clone3 ABI wrapper
    7a9ad4aceb02 binder: avoid potential data leakage when copying txn
    f9848823d4e8 binder: fix handling of error during copy
    695ca3e0e24b char/mwave: Adjust io port register size
    356b4ed3ea70 misc: at25: Make driver OF independent again
    ee22462a419b ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID
    6f90ccd96226 ALSA: oss: fix compile error when OSS_DEBUG is enabled
    cf9b8de20168 clocksource: Avoid accidental unstable marking of clocksources
    e3e6b74fad2d powerpc/32s: Fix shift-out-of-bounds in KASAN init
    2d17ab8874bc powerpc/modules: Don't WARN on first module allocation attempt
    fadcafa39592 powerpc/perf: Fix PMU callbacks to clear pending PMI before resetting an overflown PMC
    c15d1468f339 dt-bindings: thermal: Fix definition of cooling-maps contribution property
    9de9858d7bf0 ALSA: hda: Make proper use of timecounter
    a2e525d61801 RDMA/rtrs-clt: Fix the initial value of min_latency
    278df2c08602 ASoC: codecs: wcd938x: add SND_SOC_WCD938_SDW to codec list instead
    dc2400567312 ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
    49a237c73a78 powerpc/prom_init: Fix improper check of prom_getprop()
    e459a89df303 clk: imx8mn: Fix imx8mn_clko1_sels
    6b0335e66b51 clk: renesas: rzg2l: propagate return value of_genpd_add_provider_simple()
    02beeed3928f clk: renesas: rzg2l: Check return value of pm_genpd_init()
    a0b4447677dd scsi: pm80xx: Update WARN_ON check in pm8001_mpi_build_cmd()
    4a1723367f5e RDMA/hns: Validate the pkey index
    8fe8161c50f4 RDMA/bnxt_re: Scan the whole bitmap when checking if "disabling RCFW with pending cmd-bit"
    ec085da3437b ALSA: hda: Fix potential deadlock at codec unbinding
    1b378f59bc86 ALSA: hda: Add missing rwsem around snd_ctl_remove() calls
    9b9f32c0c744 ALSA: PCM: Add missing rwsem around snd_ctl_remove() calls
    19eebde28fc6 ALSA: jack: Add missing rwsem around snd_ctl_remove() calls
    03c2fbca8973 ASoC: Intel: sof_sdw: fix jack detection on HP Spectre x360 convertible
    4846b55a2cd9 ext4: avoid trim error on fs with small groups
    0d3bbe7eb15e net: mcs7830: handle usb read errors properly
    86971970aeed bnxt_en: use firmware provided max timeout for messages
    e685851f0456 bnxt_en: move coredump functions into dedicated file
    a2037e7e4d02 bnxt_en: Refactor coredump functions
    57214d92a69f iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing()
    cf2ce93a7afa net: openvswitch: Fix ct_state nat flags for conns arriving from tc
    e7b33ff6439a net: openvswitch: Fix matching zone id for invalid conns arriving from tc
    a006c8482463 net/sched: flow_dissector: Fix matching on zone id for invalid conns
    3a4ecdfc0cf4 pcmcia: fix setting of kthread task states
    4a71828b2738 can: rcar_canfd: rcar_canfd_channel_probe(): make sure we free CAN network device
    61970e8b5d78 can: xilinx_can: xcan_probe(): check for error irq
    b8609cb64101 can: softing: softing_startstop(): fix set but not used variable warning
    deb81894f56e tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'
    ea1fd8364c9f tpm: add request_locality before write TPM_INT_ENABLE
    8609525ee0ee can: mcp251xfd: add missing newline to printed strings
    f5b7e80e25c4 net: mscc: ocelot: fix incorrect balancing with down LAG ports
    5aff6ae24b39 regmap: Call regmap_debugfs_exit() prior to _init()
    af5dcf968ebe netrom: fix api breakage in nr_setsockopt()
    7b9986a0425a ax25: uninitialized variable in ax25_setsockopt()
    c48c7678739d octeontx2-af: Increment ptp refcount before use
    aac0b364904f spi: spi-meson-spifc: Add missing pm_runtime_disable() in meson_spifc_probe
    e1652f70e896 mptcp: fix a DSS option writing error
    72aba03ba836 mptcp: fix opt size when sending DSS + MP_FAIL
    c310df0eabe5 mptcp: fix per socket endpoint accounting
    abe4b2c214ea Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt()
    b918c668d295 lib/mpi: Add the return value check of kcalloc()
    d73d81447c66 net/mlx5: Set command entry semaphore up once got index free
    266e6a36546f net/mlx5e: Sync VXLAN udp ports during uplink representor profile change
    fbe5f19824ba net/mlx5: Fix access to sf_dev_table on allocation failure
    7c1f9797e1b5 net/mlx5e: Fix matching on modified inner ip_ecn bits
    46a8a5a42984 Revert "net/mlx5e: Block offload of outer header csum for GRE tunnel"
    a8176f18ab5f Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
    44008999815b net/mlx5e: Don't block routes with nexthop objects in SW
    360cbb1c3ec7 net/mlx5e: Fix wrong usage of fib_info_nh when routes with nexthop objects are used
    423bf4c1ea8a net/mlx5e: Fix page DMA map/unmap attributes
    6d818695065d x86, sched: Fix undefined reference to init_freq_invariance_cppc() build error
    f7e2f374799f serial: stm32: move tx dma terminate DMA to shutdown
    8209b0b395aa serial: liteuart: fix MODULE_ALIAS
    71db96193317 drivers/firmware: Add missing platform_device_put() in sysfb_create_simplefb
    1850a403bd0b debugfs: lockdown: Allow reading debugfs files that are not world readable
    0fc97f944245 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
    fc8a47ed624b HID: hid-uclogic-params: Invalid parameter check in uclogic_params_huion_init
    964e6a78cb1d HID: hid-uclogic-params: Invalid parameter check in uclogic_params_get_str_desc
    621aade97324 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_init
    78e8660e9d90 usb: gadget: u_audio: Subdevice 0 for capture ctls
    e3e610612234 usb: dwc2: gadget: initialize max_speed from params
    85a75d45f715 usb: dwc2: do not gate off the hardware if it does not support clock gating
    5157828d3975 usb: dwc3: qcom: Fix NULL vs IS_ERR checking in dwc3_qcom_probe
    db7d1a2e0609 net/smc: Reset conn->lgr when link group registration fails
    9186e6ba52af Bluetooth: hci_qca: Fix NULL vs IS_ERR_OR_NULL check in qca_serdev_probe
    ede559376794 Bluetooth: hci_bcm: Check for error irq
    3983254b43c2 fsl/fman: Check for null pointer after calling devm_ioremap
    c154574b84a5 staging: greybus: audio: Check null pointer
    4a308769df64 rocker: fix a sleeping in atomic bug
    5f54a0355802 ppp: ensure minimum packet size in ppp_write()
    ff53c861e97e net: fix SOF_TIMESTAMPING_BIND_PHC to work with multiple sockets
    29a0827b7491 netfilter: nft_set_pipapo: allocate pcpu scratch maps on clone
    500193142a20 netfilter: nft_payload: do not update layer 4 checksum when mangling fragments
    2db60bb56405 bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
    2fbd46695272 bpf: Fix verifier support for validation of async callbacks
    a65df848dbe0 bpf: Don't promote bogus looking registers after null check.
    073f7fb020b5 bpf, sockmap: Fix double bpf_prog_put on error case in map_link
    f26349213d97 bpf, sockmap: Fix return codes from tcp_bpf_recvmsg_parser()
    a1c2d9a513e5 netfilter: ipt_CLUSTERIP: fix refcount leak in clusterip_tg_check()
    21bdddc9648b net: dsa: fix incorrect function pointer check for MRP ring roles
    6dab20da69f9 net: ethernet: mtk_eth_soc: fix return values and refactor MDIO ops
    10f849d3e563 net/xfrm: IPsec tunnel mode fix inner_ipproto setting in sec_path
    4849eca4fc6f power: reset: mt6397: Check for null res pointer
    a3b31433147b pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
    7756cb45dbfe pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
    5d2fd6fff8e4 ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes
    0a9b1fb2a778 serial: 8250_bcm7271: Propagate error codes from brcmuart_probe()
    deb0c71e0b26 io_uring: remove double poll on poll update
    8d3d1c365a89 x86/mce/inject: Avoid out-of-bounds write when setting flags
    4f1096828ece hwmon: (mr75203) fix wrong power-up delay value
    a96546df99ea regulator: qcom-labibb: OCP interrupts are not a failure while disabled
    78cafdf7d219 crypto: octeontx2 - prevent underflow in get_cores_bmap()
    910e5e8ac5de x86/boot/compressed: Move CLANG_FLAGS to beginning of KBUILD_CFLAGS
    5639dcfc6889 Bluetooth: hci_qca: Stop IBS timer during BT OFF
    03dae5e3362e software node: fix wrong node passed to find nargs_prop
    7a4e6e087813 backlight: qcom-wled: Respect enabled-strings in set_brightness
    7abe05ef6648 backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion
    18a8dd081b81 backlight: qcom-wled: Override default length with qcom,enabled-strings
    37b61692f27b backlight: qcom-wled: Fix off-by-one maximum with default num_strings
    219c7d18be5a backlight: qcom-wled: Pass number of elements to read to read_u32_array
    f2bc76de2847 backlight: qcom-wled: Validate enabled string indices in DT
    77c5e99644af bpftool: Enable line buffering for stdout
    79d6a406df00 Bluetooth: L2CAP: Fix using wrong mode
    a3641f64a9d9 um: virtio_uml: Fix time-travel external time propagation
    4e71908ba7cb lib/logic_iomem: Fix operation on 32-bit
    6c72a5bc4df4 lib/logic_iomem: Fix 32-bit build
    b53c2307b18c um: virt-pci: Fix 32-bit compile
    c3d5f267696d um: rename set_signals() to um_set_signals()
    2a2f4f3aeafd um: fix ndelay/udelay defines
    3a45c4703491 selinux: fix potential memleak in selinux_add_opt()
    7be5c25e3155 block: fix error unwinding in device_add_disk
    6c1d0447bf0d mmc: meson-mx-sdio: add IRQ check
    0d840e7e2e6c mmc: meson-mx-sdhc: add IRQ check
    525c2a0763ee iwlwifi: mvm: set protected flag only for NDP ranging
    39cb224bf651 iwlwifi: mvm: perform 6GHz passive scan after suspend
    e895cfb085c6 iwlwifi: mvm: test roc running status bits before removing the sta
    48338cf56eaa iwlwifi: mvm: fix 32-bit build in FTM
    617339466fda rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE
    9b6b5f07702f rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC
    b14e931c386f wilc1000: fix double free error in probe()
    1a25b9c4ce2a mt76: mt7921: drop offload_flags overwritten
    e64a3ea17c19 ARM: dts: armada-38x: Add generic compatible to UART nodes
    4518f459c2c0 arm64: dts: marvell: cn9130: enable CP0 GPIO controllers
    864ac5f6bfbe arm64: dts: marvell: cn9130: add GPIO and SPI aliases
    6d88a6849617 usb: ftdi-elan: fix memory leak on device disconnect
    826501a17e98 ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
    851b00b47832 xfrm: state and policy should fail if XFRMA_IF_ID 0
    eab7928527b5 xfrm: interface with if_id 0 should return error
    afd9ebd40bda media: hantro: Fix probe func error path
    3ca9f14fe279 drm/tegra: vic: Fix DMA API misuse
    0dbb2617c713 drm/tegra: gr2d: Explicitly control module reset
    3b90135b03f3 gpu: host1x: select CONFIG_DMA_SHARED_BUFFER
    c0dc02dcfe6b drm/bridge: ti-sn65dsi86: Set max register for regmap
    602662de5f82 drm/msm/dpu: fix safe status debugfs file
    be12d15a817b arm64: dts: qcom: ipq6018: Fix gpio-ranges property
    0c7ec53598a3 arm64: dts: qcom: c630: Fix soundcard setup
    c9fadfaf7b44 net: dsa: hellcreek: Add missing PTP via UDP rules
    ae914fe9310e net: dsa: hellcreek: Allow PTP P2P measurements on blocked ports
    c2be5908dd7c net: dsa: hellcreek: Add STP forwarding rule
    06baf7c33cf3 net: dsa: hellcreek: Fix insertion of static FDB entries
    307ac652e9fb ath11k: Fix a NULL pointer dereference in ath11k_mac_op_hw_scan()
    e935a4dd37e4 media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
    f0fc76d6cc80 media: msi001: fix possible null-ptr-deref in msi001_probe()
    48225919434f media: dw2102: Fix use after free
    f99f6ea71b55 perf/arm-cmn: Fix CPU hotplug unregistration
    70bf180fef83 ARM: dts: gemini: NAS4220-B: fis-index-block with 128 KiB sectors
    3d3fbbf05fe8 spi: Fix incorrect cs_setup delay handling
    5d0933a65bbd ath11k: Fix deleting uninitialized kernel timer during fragment cache flush
    8b2b88054961 crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume()
    5367147cb4f8 crypto: stm32 - Revert broken pm_runtime_resume_and_get changes
    2383a52088b6 crypto: stm32/cryp - fix bugs and crash in tests
    4e3043d247e6 crypto: stm32/cryp - fix lrw chaining mode
    0ba9b34ec6e5 crypto: stm32/cryp - fix double pm exit
    ef416e0614af crypto: stm32/cryp - check early input data
    4a62c2b32c41 crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
    4671521de277 crypto: stm32/cryp - fix CTR counter carry
    f857f6cc5fbf selftests: harness: avoid false negatives if test has no ASSERTs
    c0dbfef7e63f selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST
    fa8db0f53fc1 x86/uaccess: Move variable into switch case statement
    097d4aeea0fc xfrm: fix a small bug in xfrm_sa_len()
    7a95f5d9b80f mwifiex: Fix possible ABBA deadlock
    4e6ad76d340f drm/msm/dsi: fix initialization in the bonded DSI case
    5c2eaa606feb wcn36xx: Fix max channels retrieval
    ef93cc02cafb rcu/exp: Mark current CPU as exp-QS in IPI loop second pass
    87472bebedbb drm/msm/dp: displayPort driver need algorithm rational
    e5d61c5b9c9c drm/msm/gpu: Don't allow zero fence_id
    89166801f80d drm/amd/display: Fix out of bounds access on DNC31 stream encoder regs
    6dcc6706dab1 drm/amd/display: Fix bug in debugfs crc_win_update entry
    d41946e82718 Bluetooth: btusb: Handle download_firmware failure cases
    006157d575d1 Bluetooth: MGMT: Use hci_dev_test_and_{set,clear}_flag
    749fc99daa13 Bluetooth: refactor set_exp_feature with a feature table
    d3f45f4ee17f ath10k: Fix the MTU size on QCA9377 SDIO
    378723bd01b2 sched/rt: Try to restart rt period timer when rt runtime exceeded
    9a664557effe wireless: iwlwifi: Fix a double free in iwl_txq_dyn_alloc_dma
    643af6932580 media: si2157: Fix "warm" tuner state detection
    d8904d2f6283 media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach()
    6f2d3249b98d media: dib8000: Fix a memleak in dib8000_init()
    1a51d9d60325 samples: bpf: Fix 'unknown warning group' build warning on Clang
    d891664e39ad samples: bpf: Fix xdp_sample_user.o linking with Clang
    c7d36c19cf30 samples/bpf: Clean up samples/bpf build failes
    7b4a30bbf8ca samples/bpf: Install libbpf headers when building
    c7f0c087d483 arm64: mte: DC {GVA,GZVA} shouldn't be used when DCZID_EL0.DZP == 1
    338c297e0885 arm64: clear_page() shouldn't use DC ZVA when DCZID_EL0.DZP == 1
    33fcd00e0aa0 bpf: Remove config check to enable bpf support for branch records
    832d478ccd06 bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD)
    2571173d3e11 bpf: Adjust BTF log size limit.
    d3c4b3c801c0 sched/fair: Fix per-CPU kthread and wakee stacking for asym CPU capacity
    00c10519538f sched/fair: Fix detection of per-CPU kthreads waking a task
    48419bc90e43 bpf: Fix the test_task_vma selftest to support output shorter than 1 kB
    35a89caf518e Bluetooth: btmtksdio: fix resume failure
    0cad9c0c81be staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib()
    90d96a14c558 staging: rtl8192e: return error code from rtllib_softmac_init()
    ff732e9bf68b floppy: Fix hang in watchdog when disk is ejected
    31d60f528238 mtd: core: provide unique name for nvmem device
    aee7ef0305b1 serial: amba-pl011: do not request memory region twice
    7b54c975798d tty: serial: uartlite: allow 64 bit address
    aca61190ec82 arm64: dts: ti: k3-j7200: Correct the d-cache-sets info
    1e2847f9d910 arm64: dts: ti: k3-j721e: Fix the L2 cache sets
    f1f0039956fb arm64: dts: ti: k3-j7200: Fix the L2 cache sets
    10d3b165877f arm64: dts: ti: k3-am642: Fix the L2 cache sets
    2efa4dd4600d crypto: caam - save caam memory to support crypto engine retry mechanism.
    db3c2121d191 libbpf: Clean gen_loader's attach kind.
    e833ef0b545e drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()
    1e22b51876fa drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()
    4c12feec2dfd thermal/drivers/imx8mm: Enable ADC when enabling monitor
    68bf3b2f95ee ACPI: EC: Rework flushing of EC work while suspended to idle
    1fb3838db45c cgroup: Trace event cgroup id fields should be u64
    2d93f960dc7e drm/vmwgfx: Fail to initialize on broken configs
    a6f53731f3bb drm/vmwgfx: Remove the deprecated lower mem limit
    4aa40bf38f71 arm64: dts: qcom: msm8916: fix MMC controller aliases
    0c1cf578a882 powerpc: Avoid discarding flags in system_call_exception()
    f38d669aab33 netfilter: bridge: add support for pppoe filtering
    3f32b8ca8e26 igc: AF_XDP zero-copy metadata adjust breaks SKBs on XDP_PASS
    94821ce188c2 thermal/drivers/imx: Implement runtime PM support
    b588858c09a5 net: stmmac: Add platform level debug register dump feature
    0bc65fcb2b89 media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()'
    4a8a8ff65293 media: venus: core: Fix a potential NULL pointer dereference in an error handling path
    e0d8c693a9d2 media: venus: correct low power frequency calculation for encoder
    64bfc5673415 media: coda: fix CODA960 JPEG encoder buffer overflow
    b85906f919ea media: hantro: Hook up RK3399 JPEG encoder output
    a49171d86d5e media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released
    893a766ac8fe media: si470x-i2c: fix possible memory leak in si470x_i2c_probe()
    b38f3570f909 media: imx-pxp: Initialize the spinlock prior to using it
    92cb150c3ec8 media: rcar-csi2: Correct the selection of hsfreqrange
    842a24066653 media: i2c: ov8865: Fix lockdep error
    9a11fe9e4467 media: i2c: Re-order runtime pm initialisation
    adf57b861e7f media: i2c: imx274: fix s_frame_interval runtime resume not requested
    300b973af40f libbpf: Silence uninitialized warning/error in btf_dump_dump_type_data
    162bc7bd73a1 bfq: Do not let waker requests skip proper accounting
    6b6e7150c18b mfd: atmel-flexcom: Use .resume_noirq
    8aa5209e54aa mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP
    1b1620dd224b tty: serial: atmel: Call dma_async_issue_pending()
    d249a70251ce tty: serial: atmel: Check return code of dmaengine_submit()
    32307d1b94ae arm64: dts: ti: k3-j721e: correct cache-sets info
    920e0e6f0e39 ath11k: Use host CE parameters for CE interrupts configuration
    72b905fb39f0 crypto: qat - fix undetected PFVF timeout in ACK loop
    348210fd7765 crypto: qat - make pfvf send message direction agnostic
    6c58dd967389 crypto: qat - remove unnecessary collision prevention step in PFVF
    ef89212783a2 libbpf: Fix using invalidated memory in bpf_linker
    9b616ae0bf98 libbpf: Fix glob_syms memory leak in bpf_linker
    f8ca67f3fc9e libbpf: Fix potential misaligned memory access in btf_ext__new()
    ae38d3144324 ARM: dts: stm32: fix dtbs_check warning on ili9341 dts binding on stm32f429 disco
    9f670292c080 cpufreq: qcom-hw: Fix probable nested interrupt handling
    929205dc3a0f cpufreq: qcom-cpufreq-hw: Update offline CPUs per-cpu thermal pressure
    5d39cd2059ba mtd: hyperbus: rpc-if: fix bug in rpcif_hb_remove
    869eee39b330 arm64: dts: qcom: sc7280: Fix incorrect clock name
    38a721f60926 crypto: qce - fix uaf on qce_skcipher_register_one
    561030c55120 crypto: qce - fix uaf on qce_ahash_register_one
    cf984b11cdec crypto: qce - fix uaf on qce_aead_register_one
    cb353b688464 crypto: atmel-aes - Reestablish the correct tfm context at dequeue
    4d6a558bde10 media: dmxdev: fix UAF when dvb_register_device() fails
    87a413e3d8c9 arm64: dts: renesas: cat875: Add rx/tx delays
    7bce20277784 drm/vboxvideo: fix a NULL vs IS_ERR() check
    56339a5546a7 drm/dp: Don't read back backlight mode in drm_edp_backlight_enable()
    25f2b49f65c6 fs: dlm: fix build with CONFIG_IPV6 disabled
    815570353f6b tee: fix put order in teedev_close_context()
    d46f937233b1 spi: hisi-kunpeng: Fix the debugfs directory name incorrect
    50dab89c25dd ath11k: reset RSN/WPA present state for open BSS
    4ca3ffff349f ath11k: clear the keys properly via DISABLE_KEY
    dff606fc5068 ath11k: Fix ETSI regd with weather radar overlap
    2de0e6a71ceb Bluetooth: stop proccessing malicious adv data
    63811bf4f572 memory: renesas-rpc-if: Return error in case devm_ioremap_resource() fails
    dba0aea5727c fs: dlm: don't call kernel_getpeername() in error_report()
    ba43bd2be16b arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
    0a7dd2ec89b2 arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
    74ad053d7338 arm64: dts: amlogic: Fix SPI NOR flash node name for ODROID N2/N2+
    3cebbcbf9198 arm64: dts: amlogic: meson-g12: Fix GPU operating point table node name
    82515555873e media: aspeed: Update signal status immediately to ensure sane hw state
    85d5345bd861 media: em28xx: fix memory leak in em28xx_init_dev
    c4f0f1608727 media: aspeed: fix mode-detect always time out at 2nd run
    7fd4b0e18903 media: atomisp: fix uninitialized bug in gmin_get_pmic_id_and_addr()
    37d7ebf0179b media: atomisp: fix enum formats logic
    a030bcd96ef4 media: atomisp: add NULL check for asd obtained from atomisp_video_pipe
    124fd314c5fe media: atomisp: fix ifdefs in sh_css.c
    0224641992e1 media: atomisp: fix inverted error check for ia_css_mipi_is_source_port_valid()
    4de485f6d5fe media: atomisp: do not use err var when checking port validity for ISP2400
    b7033740e367 media: atomisp: fix inverted logic in buffers_needed()
    bb8ac1ec5a82 media: atomisp: fix punit_ddr_dvfs_enable() argument for mrfld_power up case
    6c3547e103e4 media: atomisp: add missing media_device_cleanup() in atomisp_unregister_entities()
    26e8cd84d7d2 media: videobuf2: Fix the size printk format
    6b3a83a450dd mtd: hyperbus: rpc-if: Check return value of rpcif_sw_init()
    77d19bad301f bpftool: Fix memory leak in prog_dump()
    9f3cbc3ba5ad ath11k: Send PPDU_STATS_CFG with proper pdev mask to firmware
    26b9d4ac42ab wcn36xx: fix RX BD rate mapping for 5GHz legacy rates
    3913db56e471 wcn36xx: populate band before determining rate on RX
    d97aa008ebc0 wcn36xx: Put DXE block into reset before freeing memory
    514c1df9dfa9 wcn36xx: Release DMA channel descriptor allocations
    8da7a0e26c4a wcn36xx: Fix DMA channel enable/disable cycle
    a3ec2b9456eb libbpf: Free up resources used by inner map definition
    620a2ee55059 drm/vc4: hdmi: Enable the scrambler on reconnection
    23d2c4eb76d6 wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
    a33fc07affe5 wcn36xx: ensure pairing of init_scan/finish_scan and start_scan/end_scan
    8c3830446ccc drm/vc4: crtc: Make sure the HDMI controller is powered when disabling
    2bba39feaa3e drm/vc4: hdmi: Rework the pre_crtc_configure error handling
    a26aa0f3982f drm/vc4: hdmi: Make sure the controller is powered up during bind
    e3e8f46f36e0 drm/vc4: hdmi: Make sure the controller is powered in detect
    b9b1fbe61ff1 drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
    2d717d822675 drm/vc4: hdmi: Set a default HSM rate
    49b570f5d2e4 clk: bcm-2835: Remove rounding up the dividers
    2ff7b32f6b3e clk: bcm-2835: Pick the closest clock rate
    d2e7a4d20f7c Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails
    1f2270e161f9 Bluetooth: virtio_bt: fix memory leak in virtbt_rx_handle()
    f28d819f17d3 drm/rockchip: dsi: Reconfigure hardware on resume()
    506bae94333b drm/rockchip: dsi: Disable PLL clock on bind error
    4f005cef1d5a drm/rockchip: dsi: Hold pm-runtime across bind/unbind
    dd0ed218c0bf drm/rockchip: dsi: Fix unbalanced clock on probe error
    1a943d8ad9c0 drm/panel: innolux-p079zca: Delete panel on attach() failure
    92082e300373 drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
    52e1bf49e3e2 drm: fix null-ptr-deref in drm_dev_init_release()
    11182d953e64 drm/bridge: display-connector: fix an uninitialized pointer in probe()
    6c1ad4aeeab4 Bluetooth: L2CAP: Fix not initializing sk_peer_pid
    0da09030aae4 drm/ttm: Put BO in its memory manager's lru list
    19f76690fe68 shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode
    6292bd6f654e ath11k: add string type to search board data in board-2.bin for WCN6855
    e363ab335751 mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pages
    bcf64fb327c8 dma/pool: create dma atomic pool only if dma zone has managed pages
    240e8d331a9b mm_zone: add function to check if managed dma zone exists
    55bd26fd08da PCI: Add function 1 DMA alias quirk for Marvell 88SE9125 SATA controller
    484654a6f6ed dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
    03e964ad35ac virtio/virtio_mem: handle a possible NULL as a memcpy parameter
    b9a524d6ec03 drm/tegra: Add back arm_iommu_detach_device()
    3ff8942bb8ab gpu: host1x: Add back arm_iommu_detach_device()
    03c8e18f3c14 iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
    bed344b54daa ARM: dts: at91: update alternate function of signal PD20
    c77a4529ca38 arm64: errata: Fix exec handling in erratum 1418040 workaround
    181c78d6c12d cxl/pmem: Fix reference counting for delayed work
    bc95dbf5502c bus: mhi: core: Fix race while handling SYS_ERR at power up
    c8aa11642478 bus: mhi: core: Fix reading wake_capable channel configuration
    2075d9f4fdc5 bus: mhi: pci_generic: Graceful shutdown on freeze
    acb5a8bee27b lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()
    a18aeac73c0f iio: trigger: Fix a scheduling whilst atomic issue seen on tsc2046
    5c397420c0e2 iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs
    702c89045230 mei: hbm: fix client dma reply status
    697c41375739 can: softing_cs: softingcs_probe(): fix memleak on registration failure
    61eb4ad9ae46 media: cec-pin: fix interrupt en/disable handling
    1baebfdf19b0 media: stk1160: fix control-message timeouts
    b208a386572a media: pvrusb2: fix control-message timeouts
    8b8dbc22b9f7 media: redrat3: fix control-message timeouts
    821e5abd2198 media: dib0700: fix undefined behavior in tuner shutdown
    4e56a231210f media: s2255: fix control-message timeouts
    15955a24fa8e media: cpia2: fix control-message timeouts
    198e0c619f46 media: em28xx: fix control-message timeouts
    2516fab22e65 media: mceusb: fix control-message timeouts
    a16e2eff80fa media: flexcop-usb: fix control-message timeouts
    1bde26972360 media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
    9aaf99b4a8b0 media: ov8865: Disable only enabled regulators on error path
    a0d6e64b3413 media: cec: fix a deadlock situation
    8202aa60f077 ksmbd: add reserved room in ipc request/response
    d7004f0cc4a7 ksmbd: limits exceeding the maximum allowable outstanding requests
    0aadd32bebc9 ksmbd: move credit charge deduction under processing request
    40fc68aeeb24 ksmbd: add support for smb2 max credit parameter
    0a8347db70a6 ksmbd: fix guest connection failure with nautilus
    bbba4a0b8efa ksmbd: uninitialized variable in create_socket()
    893dfb14cac1 net: phy: marvell: add Marvell specific PHY loopback
    e428c89717ff rtc: cmos: take rtc_lock while reading from CMOS
    9899cea59121 tools/nolibc: fix incorrect truncation of exit code
    72191715afee tools/nolibc: i386: fix initial stack alignment
    9dc4c4e19084 crypto: x86/aesni - don't require alignment of data
    132cb7f64697 tools/nolibc: x86-64: Fix startup code bug
    850bc1262a2b x86/gpu: Reserve stolen memory for first integrated Intel GPU
    07c1c8e3202e riscv: mm: fix wrong phys_ram_base value for RV64
    a2389e4f54e5 riscv: use hart id instead of cpu id on machine_kexec
    b9f3e769ecf5 riscv: Don't use va_pa_offset on kdump
    9550c6f0b2a6 riscv: try to allocate crashkern region from 32bit addressible memory
    1402857bf15f RISC-V: Use common riscv_cpuid_to_hartid_mask() for both SMP=y and SMP=n
    6250ecf5ba42 riscv: Get rid of MAXPHYSMEM configs
    cee8830146cf mtd: rawnand: ingenic: JZ4740 needs 'oob_first' read page function
    abf8c8712b6d mtd: rawnand: Export nand_read_page_hwecc_oob_first()
    26aa92a7f931 mtd: rawnand: davinci: Rewrite function description
    3f5eb2d89032 mtd: rawnand: davinci: Avoid duplicated page read
    eebc910e09d4 mtd: rawnand: davinci: Don't calculate ECC when reading page
    5794c37d2a98 mtd: Fixed breaking list in __mtd_del_partition.
    bb969ffe1d0e mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
    0fe08bf9909f mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings
    f4dfc52a1eab nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
    c9cd02cb7a26 f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file
    dd88a805d2d0 f2fs: fix to do sanity check in is_alive()
    0ddbdc0b7f0c f2fs: fix to do sanity check on inode type during garbage collection
    7f6e3cbbd600 ALSA: core: Fix SSID quirk lookup for subvendor=0
    8877331177de HID: wacom: Avoid using stale array indicies to read contact count
    c965ad71a05d HID: wacom: Ignore the confidence flag when a touch is removed
    f9f16383d596 HID: wacom: Reset expected and received contact counts at the same time
    6a4ec6f2429e HID: uhid: Fix worker destroying device without any protection
    47b5c189d6a4 HID: Ignore battery for Elan touchscreen on HP Envy X360 15t-dr100
    91b7cbea9efc KVM: VMX: switch blocked_vcpu_on_cpu_lock to raw spinlock
    a88ebc49c633 KVM: x86/mmu: Fix write-protection of PTs mapped by the TDP MMU

(From OE-Core rev: ee26b8e6baa824a2e7b4d18dbe302a124e68839f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
83220a6153 linux-yocto-dev: update to v5.17+
Bumping the -dev kernel to v5.17 to test the latest upstream
kernel.

(From OE-Core rev: c75b6116fae479abd2dbf0d5950e38a0b31b1832)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
c45ed6eda9 lttng-modules: fix build against v5.17+
To fix the build against v5.17+ kernels, we backport 7 patches
from the lttng-modules upstream repository.

If a 2.13.2 lttng-modules release is done before the upcoming
release, we'll obviously drop these patches.

(From OE-Core rev: 4783a0fd9f86a0247a44b07bdb7e733e57c6664f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
c4fa1d994e qemuarm64: Add tiny ktype to qemuarm64 bsp
Integrating the following commit(s) to linux-yocto/.:

    cf716c58bea qemuarm64: Add tiny ktype to qemuarm64 bsp

(From OE-Core rev: b3962185d4278840193b8af9eff386860e8e5666)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Khem Raj
437b7fcfe3 meta: Remove libsegfault and catchsegv
Glibc has dropped them starting with 2.35 see [1]

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=65ccd641bacea33be23d51da737c2de7543d0f5e

(From OE-Core rev: 95c61d834596263ab1dd1fb1f8c8dbcc9104a935)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Richard Purdie
a8b7d51cce glibc: Upgrade to 2.35
Package /usr/bin/ld.so in a separate package

ld.so is a new tool which is added as a symlink to original dynamic
linker so make it available with same name across architectures which is
useful to leveral features like  --preload, --audit, and --list-diagnostics
more accessible to end users

(From OE-Core rev: 2658dcbcfc3db814af1ee104303effc1b6cfa489)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Ross Burton
632565fb1c newlib: fix license checksums
COPYING.LIBGLOSS simply had the FSF street address change.

COPYING.NEWLIB now includes BSD-3-Clause.

(From OE-Core rev: 78080015b7d83f46770be718a22ffcfedd15daf2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-09 13:08:57 +00:00
Alexander Kanavin
b622b02adc sstate: additional debugging when fetch fails occur
Autobuilder has been showing things like:
Checking sstate mirror object availability...ERROR: SState: cannot test file://universal/d9/bc/sstate:xz-native:x86_64-linux:5.2.5:r0:x86_64:8:d9bced04b194d5fc8d778eb8a0d674fa7375a42c8c50a9237e6d7672e9e7a00c_deploy_source_date_epoch.tar.zst: TimeoutError('timed out')
ERROR: SState: cannot test file://37/a0/sstate:libgcc-initial:core2-64-poky-linux:11.2.0:r0:core2-64:8:37a0a5aec105a0822df098f15ff2b67d0e7220204742b5d2b1f7958dda6fa5ce_deploy_source_date_epoch.tar.zst: TimeoutError('timed out')
ERROR: SState: cannot test file://universal/11/a4/sstate:libpciaccess-native:x86_64-linux:0.16:r0:x86_64:8:11a4d6c3a2e147ef7dd5f31c0ff2a91271dad49b561d8aa24849115081cf1842_deploy_source_date_epoch.tar.zst: TimeoutError('timed out')
done.

which is not helpful. To find out what really happened and where, the original
traceback is needed too.

(From OE-Core rev: 80a9052221fb2a12e7c652f2d1764101202fdb90)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
81cfa7d0e0 python3-numpy: update 1.22.1 -> 1.22.2
Replace an ad hoc fix via patch with an upstream one.

(From OE-Core rev: 991f8617b9ca9680b3f81cb215e3b39095260e7c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
a39d3f2ed7 llvm: update 12.0.1 -> 13.0.1
(From OE-Core rev: 99132e1163dd32168be3d02d27ce056b27f948b2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
18f165c9e8 insane.bbclass: use multiprocessing for collecting 'objdump -p' output
This was prompted by ltp's unreasonably long package_qa times; it has
a massive amount of executables and insane runs objdump for all of
them, serially.

This reduces the time from 4 minutes to 1m20s on my machine.

(From OE-Core rev: fac984b99fdb46949879516cb87153860f402c75)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
1dfdf2bb92 gst-devtools: upgrade 1.18.5 -> 1.20.0
- Add new meson options

(From OE-Core rev: 0b00410161e3a0d3c9a9631ae3544f42e36cc1b7)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
1d89e68c22 gstreamer1.0-python: upgrade 1.18.5 -> 1.20.0
- Add new meson options

(From OE-Core rev: 31e41c11f987c7975a4cdf73657330bc0810962e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
5842a93c14 gstreamer1.0-omx: upgrade 1.18.5 -> 1.20.0
(From OE-Core rev: d36ba8fa5b0f6ad89b77a6e792a978a41e4cad4b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
c69aa2a6f5 gstreamer1.0-vaapi: upgrade 1.18.5 -> 1.20.0
(From OE-Core rev: c9a1feccdf55cbdf8473da47233291a695af5459)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
2ee8da4ccd gstreamer1.0-libav: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  678773bb64

- Drop backported patches
  0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch

- Add new meson options

(From OE-Core rev: db058e8a8bad0d98f908062871832cc6824deaf2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
4bfc363af0 gstreamer1.0-rtsp-server: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  cc5cdab016

(From OE-Core rev: 453e72430cba0c4b78b95c6f0f792320e787b890)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
94994e66c9 gstreamer1.0-plugins-ugly: upgrade 1.18.5 -> 1.20.0
- Add new meson options
  gpl: Allow build plugins that have GPL-licensed dependencies
   a52dec: Dolby Digital (AC-3) audio decoder plugin based on liba52 (GPL - only built if gpl option is also enabled!)
   cdio: CD audio source plugin based on libcdio (GPL - only built if gpl option is also enabled!)
   dvdread: DVD video source plugin based on libdvdread (GPL - only built if gpl option is also enabled!)
   mpeg2dec: MPEG 2 video decoder plugin based on libmpeg2 (GPL - only built if gpl option is also enabled!)
   x264: H.264 video encoder plugin based on libx264 (GPL - only built if gpl option is also enabled!)

(From OE-Core rev: a4cac596625062cd22bd15079618d1310ad97673)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
1197b1c5ed gstreamer1.0-plugins-bad: upgrade 1.18.5 -> 1.20.0
- Remove meson options
  libmms
  ofa

- Add new meson options
  gpl: Allow build plugins that have GPL-licensed dependencies
   faad: Free AAC audio decoder plugin (GPL - only built if gpl option is also enabled!)
   resindvd: Resin DVD playback plugin (GPL - only built if gpl option is also enabled!)
   x265: HEVC/H.265 video encoder plugin (GPL - only built if gpl option is also enabled!)

- Add new meson options
  Feature options for plugins without external deps
   codecalpha
   aes: AES encryption/decryption plugin

  Feature options for plugins that need external deps
   asio: Steinberg Audio Streaming Input Output (ASIO) plugin
   gs: Google Cloud Storage source and sink plugin
   ldac: LDAC bluetooth audio codec plugin
   openaptx: Open Source implementation of Audio Processing Technology codec (aptX) plugin
   qroverlay: new elements that allow overlaying data on top of video in the form of a QR code
   onnx: ONNX neural network plugin

(From OE-Core rev: 76433d3628cbad311b428a57b25b4e2701ee513b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
7f4bd6e984 gstreamer1.0-plugins-good: upgrade 1.18.5 -> 1.20.0
(From OE-Core rev: dea59f10285d364e8aa4c9dba51f181e192b2b6a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
ebb54be94c gstreamer1.0-plugins-base: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  e5382fe84c

- Drop unneed patches
  0004-glimagesink-Downrank-to-marginal.patch

- Add new meson options
  qt5 is needed to build some tests
   tests/examples/gl/qt/meson.build
   tests/examples/overlay/meson.build

(From OE-Core rev: 75891f361f3e9df9fc3e97c720a2ae57dda75888)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
7db915b98d gstreamer1.0: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  d157b23fb0

- Drop backported patches
  0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
  0002-Remove-unused-valgrind-detection.patch
  0003-tests-seek-Don-t-use-too-strict-timeout-for-validati.patch

- Update submitted patches
  0001-tests-respect-the-idententaion-used-in-meson.patch
  0002-tests-add-support-for-install-the-tests.patch
  0003-tests-use-a-dictionaries-for-environment.patch
  0004-tests-add-helper-script-to-run-the-installed_tests.patch

(From OE-Core rev: 366b33dc94b056899ce8c5736be15c70d2e94626)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
bdaf6cdaaa shaderc: upgrade 2021.4 -> 2022.0
- Update to Glslang 11.8.0

(From OE-Core rev: f82c2e9cc9037df6a2f43a3ce385985804758478)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
bccddd8668 shaderc: upgrade 2021.3 -> 2021.4
- Support Vulkan 1.3
- Support targeting SPIR-V 1.6, which is the default for Vulkan 1.3
- Updated copyright check: Excludes Glslang generated files when
  building in source tree
- Fix Android.mk rules for building libshaderc_combined, to adapt to more
  recent NDKs that have removed the GNU binutils.

(From OE-Core rev: 638adda55af439db8917d22a335d461269a1f57a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
8ca43999cd glslang: upgrade 11.7.1 -> 11.8.0
* Add support for SPIR-V 1.6
* Add support for Vulkan 1.3
* Add --hlsl-dx-position-w option

Update LICENSE.txt
- Expand the GPL 3 with special bison exception to the fully expanded license.

(From OE-Core rev: 2e76ddc70b3f3b7c40c61eab3945dfc883ffd6ad)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
157276b663 spirv-tools: upgrade 2021.4 -> 2022.1
- General
 - Add SPIR-V 1.6 support to wasm build (#4674)
 - Improvements to disassembly within PassManager (#4677)
 - Basic support for SPIR-V 1.6 (#4663)
 - reflect debug (#4662)
 - Fix endianness of string literals (#4622)
- Optimizer
 - spirv-opt: add pass to Spread Volatile semantics (#4667)
 - Fix constant propagation and folding of FClamp instructions (#4651)
 - Manually fold floating point division by zero (#4637)
 - Allow ADCE to remove dead inputs (#4629)
- Linker
 - Linker improvements (#4679)
   * test/linker: Code factorisation and small tweaks
   * linker: Do not fail when going over limits
- Validator
  - val: interface struct with builtins must be Block (#4665)
- Fuzzer
  - Avoid id bound errors during opt fuzzing (#4658)
  - Avoid uninitialised read when parsing hex float (#4646)

b1877de5cd/CHANGES

(From OE-Core rev: 17cfdd9e5193074d15ccdaff49dc76b3dc1904ab)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
fd20e7e66d spirv-headers: bump to b42ba6
(From OE-Core rev: 0add0aca1c5fe292d0993131a46c7448bfcc0596)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
379519795a icecc.bbclass: replace deprecated bash command substitution
- build some packages with icecc enabled is not supported
  because of the folling that disables the icecc:

  DEBUG: while parsing set_icecc_env, unable to handle non-literal command '$ICECC_CC'

- it can be replicated with:

 bitbake make && bitbake make -c cleansstate && bitbake make -DD
 grep ICECC_CC tmp/log/cooker/qemux86-64/console-latest.log

- bash command substitution backquote deprecated

 https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html
 https://mywiki.wooledge.org/BashFAQ/082

(From OE-Core rev: b4e3983f38af5a5484b33de43449ae85b7e4f104)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Kai Kang
efa450bfbf toolchain-scripts.bbclass: use double quotes for exported PS1
Use double quotes("") rather than single quotes('') for PS1 in
EXPORT_SDK_PS1 which will be exported in SDK environment file. Then it
could set PS1 for SDK env with some variables in host env, such as the
original PS1. The SDK PS1 could be some distinct words plus original PS1
rather than replace the whole original PS1. For example, it could set in
local.conf with

SDK_PS1 = "(oesdk) \${PS1}"

then it just prepends '(oesdk) ' before original PS1 after source the
SDK environment file.

(From OE-Core rev: e13e657dabcabd97f50794e7375777ef5ad883c8)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Chen Qi
0d4392fbb3 mdadm: install mdcheck
This script is used in mdcheck_xxx.service files. So we need to
install it. Also, as it requires bash, we add bash to RDEPENDS.

(From OE-Core rev: 0942b161252fc70c65d46754b44bfebe75cf8c09)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
a7f7161ff4 git: restore reproducibility on centos 7
(From OE-Core rev: edeb2a1a4cfd16706da6815af198d133a94b5ac6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
0f82f85dc9 runqemu: preload uninative libraries when host gl drivers are in use
Some of the host distributions build the drivers in a way (RPATH/RUNPATH)
that tricks uninative loader into loading pieces of the host libc, if
the same pieces haven't been previously loaded by native binaries. Mixing
the two libc versions leads to failures.

This change ensures that the correct (uninative) versions are always in use.

(From OE-Core rev: 39c10816d5ec9d9c7952d786d7a3f942d25d0c27)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Alexander Kanavin
276975e4ea qemu: replace a gtk wrapper with directly setting environment from runqemu
The wrapper is executed by host bash, and host bash refuses to run
when pseudo libc is preloaded via LD_PRELOAD (which is the case
when gl is enabled).

Only the fontconfig setting is carried over as local testing showed that
only that is necessary for the gui to look ok nowadays; adjust further
if necessary.

(From OE-Core rev: 34f152de14f803fcfe5c92c515bf585838bba10a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Richard Purdie
1dfa8537a3 binutils: Add fix for CVE-2021-45078
Backport a fix for CVE-2021-45078.

(From OE-Core rev: f3128fd1b2e5cbf3683dc69eabc56fbc0bd0e7d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Richard Purdie
2ef6fddc98 vim: Upgrade 4269 -> 4134
License text underwent changes on how to submit Uganda donations, switch from http
to https urls and an update date change but the license itself is unchanged.

Also, add an entry for the top level license file. This is also the vim license
so LICENSE is unchanged but we should monitor it too.

(From OE-Core rev: d195005e415b0b2d7c8b0b65c0aef888d4d6fc8e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Pavel Zhukov
8b56936996 systemd: enable KeepConfiguration= when running on network filesystem
This fix boot from NFS for systemd enabled systems. Previously
systemd-networkd dropped network configuration on exit from initrd even
if there're NFS mount.

[YOCTO #14708]

(From OE-Core rev: afb6b1625a43d64eba090f0f4c5e231d87df7833)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Joshua Watt
d366a1a223 spdx: Add set helper for list properties
This adds the set helper for list properties to allow list members to be
replaced with a new list. This is necessary as it is (currently) the
only way to replace the default value for a list member.

(From OE-Core rev: 8280b857c510646cd10167dd2ea9a0c2d5f1e800)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Florian Amstutz
555f9166bf devtool: deploy-target: Remove stripped binaries in pseudo context
deploy-target may fail the second time with "pseudo abort" because
devtool-deploy-target-stripped is deleted outside of pseudo's fakeroot
context.

(From OE-Core rev: 2338a33b690b0bbe279cde3f73764911b239cb50)

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Ross Burton
56fe6d575e common-licences: remove ambiguous "BSD" license
Our "BSD" license is the 3-clause BSD license, but many recipes were
using "BSD" for any variation of the license.

We've mostly moved recipes away from the vague "BSD" license to concrete
names such as "BSD-3-Clause", so delete the BSD license to force the
remaining users to update their license statements.

[ YOCTO #14539 ]

(From OE-Core rev: 14d4c007c49652d836d325a12bdbcd3bfa42e6d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Joshua Watt
a8351a214e classes/create-spdx: Remove unnecessary package
A superfluous package was being created, but it was never used.

(From OE-Core rev: ddfa61f691fc51c1968e8f1ff43f69dccd1632ee)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Joshua Watt
1f8137196d classes/create-spdx: Add packageSupplier field
Per NIST SBoM recommendations, include the Package Supplier field for
all SPDX packages that are created. This field should generally be set
to the person or organization that is performing the build, since they
would be considered the "supplier" of the SPDX packages.

(From OE-Core rev: ca48349501e0ec93dc2448d064e1567fca390bf5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Alejandro Hernandez Samaniego
a97ef3f1d3 newlib: Upgrade 4.1.0 -> 4.2.0
(From OE-Core rev: 668445252fa96bd00ecdef1f610707a132eb35fc)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Stefan Herbrechtsmeier
c05a5ac3b7 systemd: Minimize udev package size if DISTRO_FEATURES doen't contain sysvinit
Link udev shared with systemd helper to minimize the udev package size
if DISTRO_FEATURES doesn't configure sysvinit to be used.

It is only usefull to link udev static with systemd helper if udev
should be installed without systemd such as a mixed sysvinit and systemd environment

[RP: Fixed to use sysvinit distro feature instead of systemd]
(From OE-Core rev: 061cae73e2617dff62962fac131ff62d401e500c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Stefan Herbrechtsmeier
a9a70bde35 systemd: Add link-udev-shared PACKAGECONFIG
Add a PACKAGECONFIG to link systemd-udev and its helpers to
libsystemd-shared.so. If enabled the udev package depends on the systemd
package.

(From OE-Core rev: 2e854402a899c26e25bd0edc198b40fe45fc6c7d)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Stefan Herbrechtsmeier
272212c2cb cve-check: create directory of CVE_CHECK_MANIFEST before copy
Create directory of the CVE_CHECK_MANIFEST variable before copy to it,
so that the variable can use an arbitrary directory name.

(From OE-Core rev: 9829c16301bf2dce39fa046401a984f112fa0322)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Peter Kjellerstedt
bef3fe4969 bitbake: fetch2: npm: Put all downloaded files in the npm2 directory
Previously npm files that specify downloadfilename= in the SRC_URI
would be downloaded to the root of ${DL_DIR} rather than in the
${DL_DIR}/npm2 directory where all other npm files are downloaded.
This should make it simpler when setting up and configuring a
premirror with the downloaded npm packages.

(Bitbake rev: 73fa376d6502ab6f2cccfb25a1193d9b1c3c3bc8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
88993ae030 bitbake: fetch2: Correct handling of replacing the basename in URIs
The solution implementated in commit 96c30007 (fetch2: fix
downloadfilename issue with premirror) missed two corner cases. The
first is if the basename of the original URI also appears somewhere
else in the replacement URI, in which case it would also be replaced.
The second is if the basename of the original URI partially matches
the basename of the replacement URI, in which case the inital part of
the basename from the replacement URI would be left behind.

The second case caused test_npm_premirrors_with_specified_filename to
fail.

The solution is to prefix the basename with a slash when matching to
avoid partial matches, and only replace the basename at the end of the
URI.

This also adds two test cases that test for these problems. Before
this they would give the following errors:

  - ['file:///mirror/example/1.0.0/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  + ['file:///mirror/some-example-1.0.0.tgz/1.0.0/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  ?                  +++++       ++++++++++

  - ['file:///mirror/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  + ['file:///mirror/some-some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  ?                  +++++

(Bitbake rev: 5924c6f007519cd8ea6cc8b316814d17b43048ca)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
84963eb74a bitbake: tests/fetch: Make test_npm_premirrors work with the current fetcher
There are two totally opposite use cases for how a premirror is
expected to behave in combination with specifying a downloadfilename=
parameter in the SRC_URI. On the one hand there is the expectation
that it works like any other mirror, which means the premirror is
expected to contain a file with the original name specified in the
SRC_URI. On the other hand there is the expectation that one can use
the artefacts downloaded by bitbake in ${DL_DIR} as a premirror, in
which case it is expected to contain a file with the name from the
downloadfilename= parameter.

The latter case has been how downloaded files have been handled until
commit 8a3ff9f3 (fetch2: fix premirror URI when downloadfilename
defined), where the fetcher was changed to store files as per the
first case. This is also when the test_npm_premirrors test case was
modified in commit 5ba191a0 (tests/fetch: add and fix npm tests) to
expect the first case.

The above change was later reverted in commit 96c30007 (fetch2: fix
downloadfilename issue with premirror). However the
test_npm_premirrors test case was not updated to match, and has been
failing ever since. This has probably gone unnoticed because the npm
related test cases require that npm is installed on the host.

This commit updates test_npm_premirrors to expect that premirrors use
the filenames specified by downloadfilename= as this matches the
current fetcher implementation and also is the most likely use case
for premirrors. It also tries to mimic how one typically might setup
the premirror directory by simply copying the download directory.

(Bitbake rev: 9e913ade70474aaeb928814d4763e7105569d63a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
d715e9105f bitbake: tests/fetch: Only set the Git user name/email if they are not already set
If they are set, assume they are correct.

(Bitbake rev: a3a3a40b96c29051d97d0c96eb01784cbd1f5420)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
d40357665f bitbake: tests/fetch: Unify how git commands are run
This unifies the three separate implementations of git() from
GitMakeShallowTest, GitShallowTest and GitLfsTest into one
implementation in FetcherTest. It also makes use of this in
FetcherLocalTest and FetcherNetworkTest.

(Bitbake rev: 8c8b418c3e6f8ab2535ad405e8006ee1012f3484)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
c1117a8eaa bitbake: tests/fetch: Improve the verbose messages for skipped tests
This changes:

  test_foo .. skipped 'Network tests being skipped'
  test_foo .. skipped 'npm not installed, tests being skipped'

to:

  test_foo .. skipped 'network test'
  test_foo .. skipped 'npm not installed'

to avoid double "skipped" in the output.

(Bitbake rev: e551328a4595c220b94ab5002d978ddb4deeebcf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
803aff8136 bitbake: tests/fetch: Remove unnecessary \n from mirror variables
Since commit 044fb04d (fetch2: Allow whitespace only mirror entries)
there is no need to separate the entries in mirror variables with
"\n".

(Bitbake rev: ed22b078aae25e804ca5edf062e2c905d3e49426)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
66a7541b4f bitbake: tests/fetch: Skip the crate tests if network tests are disabled
Both test_crate_url and test_crate_url_multi require Internet access.

(Bitbake rev: 34e9daed6a7f766bb6e27c7e02c94b545f4791d8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
63cebdc8e8 bitbake: bitbake-user-manual: Remove unnecessary \n from a PREMIRRORS example
Since commit 044fb04d (fetch2: Allow whitespace only mirror entries)
there is no need to separate the entries in PREMIRRORS with "\n".

(Bitbake rev: 341746c7f7b8e04d3fad51ec1b9e462ced355bfc)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Pavel Zhukov
89ea828861 systemd: allow to create directory whose path contains symlink
Systemd version 250 has a regression which blocks mountd service from
creating subdirectories if path contains symlink. This blocks bind
mounts under /var/run, /lib for example.

Bug-Url: https://github.com/systemd/systemd/issues/22334

(From OE-Core rev: 10f952f4a49ee340f3404df10e9309f90e0c58ab)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Ross Burton
8463a37d70 yocto-check-layer: check for duplicate layers when finding layers
detect_layers() is very greedy and if it recurses into poky or bitbake
it will find the test suite layers, such as
bitbake/lib/layerindexlib/tests/testdata/layer4. This is a dummy layer
which claims to be openembedded-layer, so if the real openembedded-layer
is a dependency then layer4 may be used instead, which will cause
errors: initially because it's only compatible with Sumo, but later
because it doesn't contain any recipes.

Add a check that the set of layers we've found doesn't contain any
duplicate collection names with different patterns, and abort if that is
the case as the test will be non-deterministic.

(From OE-Core rev: 0df4bae4ec67d38442620fa08c839528b425e2a8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Daniel Müller
2b3ae4d1ab scripts/runqemu-ifdown: Don't treat the last iptables command as special
The runqemu-ifup script performs a bunch of setup steps that
runqemu-ifdown attempts to undo later on. While a bunch of said setup
operations are considered fatal should they fail, the iptables based NAT
setup notably is not.
The tear down procedure in runqemu-ifdown, however, has the iptables
based tear down as the last operation, with the status of it determining
the overall status of the script. Hence, if this step fails, the script
is considered a failure overall. That is arguably inconsistent: If the
NAT setup did not succeed, the tear down cannot succeed either.
To ensure similarity of the two paths, let's not treat the last iptables
tear down operation any special and allow it to fail the runqemu-ifdown
script, but just ignore failures.

Background: we have seen a NAT related setup problem on the ifup path
(which didn't cause script failure), but then saw an issue bubbled up
when this operation was meant to be undone on the ifdown path.

(From OE-Core rev: 0ebcfb034bcad81efef5f746f0aa0b69772901a0)

Signed-off-by: Daniel Müller <muellerd@fb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Saul Wold
254fbcf614 recipetool: Fix circular reference in SRC_URI
When creating a new recipe.bb file for a binary, don't use BP which
includes the version information, instead use BPN which is just the
name base Package Name.

Since PB is not specified, it takes the default:
PV = "1.0+git${SRCPV}"

But SRCPV is defined in terms of the SRC_URI, which leads to infinite
recursion (traceback below). Here are the pertinent variables which
cause the recursion:

SRC_URI = "git://github.com/lvc/abi-dumper;protocol=https;subdir=${BP}"
BP = "${BPN}-${PV}"
PV = "1.0+git${SRCPV}"
SRCPV = "${@bb.fetch2.get_srcrev(d)}"

def get_srcrev(d, method_name='sortable_revision'):
    # ... trimmed
    scms = []
    fetcher = Fetch(d.getVar('SRC_URI').split(), d)
    # ... trimmed

[YOCTO #14040]

(From OE-Core rev: 3b8d43fc53ee13d39abc3b2a1f706a97fcf752aa)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
5c4a385426 harfbuzz: upgrade 3.2.0 -> 3.3.1
(From OE-Core rev: 5dcf6e8e3e6d0c66561fef35f5211641ca83e769)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
f671233fc8 libgpg-error: update 1.43 -> 1.44
Drop accepted patch.

(From OE-Core rev: a4dc17a8b4080ca17c0f363163363d5c2af4dc4e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
3108c18431 re2c: upgrade 2.2 -> 3.0
(From OE-Core rev: 2ebd7ce56141cb38b3b2bdc45b6655bb955b4455)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
ba70eb9de1 libusb1: upgrade 1.0.24 -> 1.0.25
(From OE-Core rev: 5a20cc92d9036629dad610370780195ae1309845)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
e919c5fb9b libcap: upgrade 2.62 -> 2.63
(From OE-Core rev: 2a406a0369d6ba9a5ecea6e32084e4aa41811893)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
8f0bd6676c diffoscope: upgrade 201 -> 202
(From OE-Core rev: 62d38e8ce8f058f3fc9b1ddea79157d8c48bd7af)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
7e773b2dd8 puzzles: upgrade to latest revision
(From OE-Core rev: 735f001301838f1cdd98a3e22c2f78cd50d4e4ee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
ac56787371 piglit: upgrade to latest revision
(From OE-Core rev: e83fe417cfba54d6fb7bc96e7fdf5b870ade81d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
bc691128d8 mesa: upgrade 21.3.4 -> 21.3.5
(From OE-Core rev: 956915d8829ce1db8e115cd31133ff0543e1054c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
e5aa6b131a stress-ng: upgrade 0.13.10 -> 0.13.11
(From OE-Core rev: 03a86c574d2bc42cdfed582dea81782a34b2f133)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
910c7f8e8f cups: upgrade 2.4.0 -> 2.4.1
(From OE-Core rev: 7ed9248d2a9865b3ff4c99b6e708aaec995bacb1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
7aa1b7ccc9 python3-pip: upgrade 21.3.1 -> 22.0.2
License-Update: copyright years

(From OE-Core rev: ddbbd821231d2c7fdaea39e7b7526c63ad81269e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
0c936a0c83 python3-hypothesis: upgrade 6.36.0 -> 6.36.1
(From OE-Core rev: b8c445a950b4c32324d1d17561366f3eb186ea79)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
34ceddef29 python3-cython: upgrade 0.29.26 -> 0.29.27
(From OE-Core rev: 8ae2484666ebdb5a0fa2b59c4467992b2a3d136f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
cae86e6b2e mmc-utils: upgrade to latest revision
(From OE-Core rev: 4f8ba1c375927229cab53d7c64d28a0d75ec5f89)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
02a8a2c621 lua: upgrade 5.4.3 -> 5.4.4
(From OE-Core rev: 734cdfddd2d2a0a0e3be2b577bd4175a2abd73e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
a4730598a7 glib-2.0: upgrade 2.70.2 -> 2.70.3
(From OE-Core rev: 01f476f56be9ac9a124e80125a5a25d523057466)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
7c85289315 xf86-input-libinput: update 1.2.0 -> 1.2.1
(From OE-Core rev: dd5e14fc643edd97ad99675b160aa9de96c1e734)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
b3bb369ba4 weston: upgrade 9.0.0 -> 10.0.0
Release announcement with changes:
https://lists.freedesktop.org/archives/wayland-devel/2022-February/042103.html

Upstream has deprecated both weston-launch and fbdev backend, so let's
not delay the inevitable and find replacements.

Fbdev can be replaced by passing --use-pixman to drm backend;
this will bypass the opengl paths and use CPU for rendering.
Apply where GL is too slow or unavailable.

weston-launch can be replaced by starting weston directly, with
a seat management daemon for support. This is provided either
by systemd, or on systemd-less systems, by seatd. The sysvinit
startup scripts and tests have been rewritten accordingly. Bonus
fix: under sysvinit weston now starts under weston user as it should,
and not under root.

Upstream discussion:
https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725

License-Update: copyright years

(From OE-Core rev: 4efc81fc575aea1e12e00de8644a4b853719f8df)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
35666a87ae seatd: add recipe
This is needed to run weston properly as non-root in the absence
of systemd-logind, and other compositors will likely require seatd
as well.

(From OE-Core rev: f0c7e8cdeea065ddfcd4187f1fabc074b2753ba1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Peter Kjellerstedt
e5f2f39e11 package: Pass dv (debug_vars) around instead of individual vars
This simplifies the APIs for splitdebuginfo(), splitstaticdebuginfo()
and inject_minidebuginfo()

(From OE-Core rev: 9b00cf049032a9ed7ba3c63d3c37c7414f94edbf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Peter Kjellerstedt
10b2da6fe7 package: Make package_debug_vars() return a dict
It simplifies the API to return one dict instead of seven strings.

(From OE-Core rev: 610c790a94591da5c3a6b1db938cd85e2cbdbe5a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Peter Kjellerstedt
3ad2ecb603 package: Split out package_debug_vars from split_and_strip_files
The split_and_strip_files() function is big and hard to follow. This
takes a small step to improve that by splitting out the part that sets
up the variables used to implement the various debug splitting methods
specified by PACKAGE_DEBUG_SPLIT_STYLE.

(From OE-Core rev: e414c6ec8563f9c448f1421f33870a908a0353b4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
734ae5f647 oqea/runtime/oe_syslog: Improve test
We're seeing failures on the autobuilder where the log message isn't present in the
log. This could just be a race in the compound command but it is hard to say due
to the poor log output from the test.

Splitting the command into two sections should add more of a delay whilst ssh
reconnects and may well fix the issues but this change should also improve
the log output in the failure case too so if the failure isn't solved, we should
be better able to debug it.

(From OE-Core rev: 749264d5f6f86affbee3cfc096084e073c21c394)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
b0922ed9b3 glibc: Drop prelink patch
With the removal of prelink, we no longer need the glibc patch for it
either.

(From OE-Core rev: 7b1b5a7ac5f64fb04c9df7f77e1f65f8acde18a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
a242274d98 prelink: Drop support for it
Prelink is being dropped by glibc in 2.36. It already causes issues with
binary corruption, has a number of open bugs and is of questionable benefit
without disabling load address randomization and PIE executables.

We disabled it by default a while back but left people able to use it.
We would be unable to maintain it alone without glibc support so remove
the remaining pieces.

(From OE-Core rev: 23c0be78106f1d1e2bb9c724174a1bb8c56c2469)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Khem Raj
c98fc39331 qemuppc64.conf: Remove commented prelink use
(From OE-Core rev: 3f817e69ebbc79de50da6ff43b9445e100e147ba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Khem Raj
ce73f4f9d3 image-prelink: Remove bbclass
Upcoming glibc 2.35 is dropping support for prelinker, this just ensures
that we do not carry non-working classes. [1]

[1] https://patchwork.sourceware.org/project/glibc/patch/20220121172951.285848-2-adhemerval.zanella@linaro.org/

(From OE-Core rev: 857baaf9e3d181ca18264e85d90b899fd94acff9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
c560489f78 abi_version/sstate: Bump for hash equivalence fix
With the hash equivalence fix, we need to bump the sstate and hash equivalence
version numbers to ensure older task hashes aren't matched into the new namespace.

(From OE-Core rev: 3f229267e0588c747265e849ee19724033cc6a80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
12118f74ef staging: Add extra hash handling code
Target build output, stored in do_populate_sysroot or do_package can depend
not only upon direct dependencies but also indirect ones. A good example is
linux-libc-headers. The toolchain depends on this but most target recipes do
not. There are some headers which are not used by the toolchain build and do
not change the toolchain task output, hence the task hashes can change without
changing the sysroot output of that recipe yet they can influence others.

A specific example is rtc.h which can change rtcwake.c in util-linux but is not
used in the glibc or gcc build. To account for this, we need to account for the
populate_sysroot hashes in the task output hashes.

(From OE-Core rev: 1cf62882bbac543960e4815d117ffce0e53bda07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Bruce Ashfield
2d055b787a linux-libc-headers: update to v5.16
Bumping our reference headers to 5.16 to support newer kernels (-dev
in particular).

No issues were found in glibc or musl, and no patch referesh/drops
are required

(From OE-Core rev: a6a814fd1f62cc8050a438efb878a01aa3df7ae5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
2d940dd5bf gcc: Drop stdlib++ option patch
The patch to gcc to disable use of libstdc++ when configuring the library
during gcc-runtime is old and there are perhaps better ways to do this now.

If removed, most builds still "work" but incorrect values for things like
atomic ops are found during configure. mips64 and ppc fail with on target
simple tests of g++ in testimage.

Instead we can create a dummy libstdc++ which allows the correct configure
test results to be obtained.

Discussed with upstream about the patch are ongoing, if accepted, we can
switch back to the commandline option if it is added in future.

(From OE-Core rev: 34b0edb0d3120c32063ff7e3dd52be20d60401d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:35 +00:00
Michael Opdenacker
472a99447f ref-manual: add usage details about ccache.bbclass
(From yocto-docs rev: c06e5710b139c01347b9cd2113dde0961f483995)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Peter Kjellerstedt
0c8ad5dc5e test-manual: Correct two references to BB_SKIP_NETTESTS
The environment variable used to disable network tests when running
bitbake-selftest was incorrectly referred to as BB_SKIP_NETTEST.

(From yocto-docs rev: 4a2252cf412ea2aa26209d835c96661a772b6d31)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
de069431bf manuals: propose https for SSTATE_MIRRORS
Both http and https work, but https should raise fewer questions
from users.

(From yocto-docs rev: e3bf892b1328b5c43ab041ba6c850e2782f54bdf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
3a6185404e manuals: improve references to classes
- Simplify references to class sections, by replacing references such as
  :ref:`image.bbclass <ref-classes-image>`
  by
  :ref:`ref-classes-image`

  That's equivalent, because the class sections always called <class>.bbclass

- Adding references to class sections, by replacing strings such as
  ``image.bbclass``
  by
  :ref:`ref-classes-image`

- Simplifying a few class section links

(From yocto-docs rev: 29d66aaa898390c19f121baf0f4fdcc178e4cd80)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
a9fdd010b9 dev-manual: new "working with pre-compiled libraries" section
This explains how to deal with versioned and unversioned
pre-built libraries from vendors.

Content and examples adapted from
https://wiki.yoctoproject.org/wiki/TipsAndTricks/Packaging_Prebuilt_Libraries,
originally written by Henry Bruce in 2016.

(From yocto-docs rev: 5e46cad9e4b4ab03e33f4d5aea34e56f6b15fe27)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
3f27dfa9c9 dev-manual: stop mentioning the Angstrom distribution
Now defunct

(From yocto-docs rev: 52f7aedda58becb081eeca4a1bc02068f72d7c4a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
e4e58669f0 migration-3.5: mention task specific network access
(From yocto-docs rev: d8573e8a36eef61be1c9e7706c38ed28ca4c9962)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Robert Joslyn
f299005d66 dev-manual/common-tasks: Fix typo
direction -> directory

(From yocto-docs rev: 441151bfdeda6eccf46a7829d1a3181e83d441a8)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Alexander Kanavin
e819275192 sudo: update 1.9.8p2 -> 1.9.9
License-Update: markdown conversion, copyright years

(From OE-Core rev: 47a2efa96d8ac29024dbc6a577457c5b53111949)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
3b7fee4468 at: update 3.2.2 -> 3.2.4
Drop patch for issue fixed upstream.

Change additional source copying to be a part of do_configure
to allow automated upgrades.

(From OE-Core rev: 4c96bed812c4b1371944ad84659a2877a28678d1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
6db7501b6b python3-pycryptodome: update 3.12.0 -> 3.14.0
(From OE-Core rev: af2688740287a08b04b478263f9507c99cf0f5fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
f67ec4ff8b git: update 2.34.1 -> 2.35.1
(From OE-Core rev: 278efd24b2d15a2ab666d3f255e18768d3bc7709)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
c82d436201 git: build manpages from source subject to manpages PACKAGECONFIG
This allows automated updates, and better aligns with how
documentation is handled in oe-core.

(From OE-Core rev: 22b267724148144d919b7281cf2250fc2e35a092)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
177437eea2 git: merge .inc into .bb
(From OE-Core rev: a315afb79964a9a9b6e493bf20eec80af46fd4a6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
39d35877c9 cmake: update 3.22.1 -> 3.22.2
(From OE-Core rev: 2dacdcc259f20cf06b81045c99e07d00ba6cc5fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
c611878ae7 util-linux: update 2.37.2 -> 2.37.3
(From OE-Core rev: e543d4407fdc91559a77d6c5cd41bcb75bc8c73c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Richard Purdie
4eab0dac8f lttng-tools: upgrade 2.13.2 -> 2.13.4
(From OE-Core rev: 0e8fcfbb4565807a84d1a7d10bbc59d1675e33ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Khem Raj
f84ceeee98 libstd-rs: Apply patches to right version of libc
1.58 rust libstd is locked to use 0.2.106, therefore patch the correct
version. once we start using 0.2.108+ these patches will not be required
as the port is available then on.

(From OE-Core rev: 83a9d2ba188b3a95d01ef62763d33b89435f8a1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Khem Raj
4c25157ae3 musl: Update to latest master
Changes in this srcrev bump

  * c4d4028d fix failure to use add-cfi scripts on asm when building out-of-tree
  * 775bde6b fix wcwidth of hangul combining (vowel/final) letters
  * 8d404733 fix mismatched signatures for strtod_l family
  * 98e688a9 define NULL as nullptr when used in C++11 or later
  * 8274aaaa fix hwcap access in powerpc-sf setjmp/longjmp
  * 3733c831 fix struct layout mismatch in sound ioctl time32 fallback conversion

(From OE-Core rev: 3ea0b084cc3e394e59399b8cdc479eee0ff1419b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Khem Raj
d2a050f8e3 ruby: Fix build on riscv/musl
This fixes a build issue that started with 3.1 upgrade
Fixes
| ../ruby-3.1.0/vm_dump.c:916:38: error: use of undeclared identifier 'REG_S1'
|         dump_machine_register(mctx->__gregs[REG_S1], "s1");

(From OE-Core rev: 1b0a88b6c31f85d70045a61f843302992ae7f94e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Andrej Valek
f91604daee dhcpcd: add option to set DBDIR location
This will allow to use the different DBDIR location, because the /var/lib
could be used as a read-only location.

(From OE-Core rev: 8fe5cff505f4fd942723d6f1526b0461747fc44d)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Peter Kjellerstedt
6834a36148 glibc-tests: Correct PACKAGE_DEBUG_SPLIT_STYLE
It was set to "debug", but the officially supported value is ".debug".

(From OE-Core rev: 14ac72ead9c581c5fac224a9b330b62d5faa048a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Carlos Rafael Giani
610e4b9852 libxml2: Backport python3-lxml workaround patch
This is a workaround for the following issue that affects python3-lxml:

https://gitlab.gnome.org/GNOME/libxml2/-/issues/255

(From OE-Core rev: 2f52be7c42ea37243f9aea1898ef7052904f9290)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Changhyeok Bae
9fc3e86272 connman: update 1.40 -> 1.41
(From OE-Core rev: 0f4a8c9b9bd702db555a193ccc130b0c3be309df)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Tom Hochstein
5d5ca5ec3a xwayland: Add xkbcomp runtime dependency
Trying to run an xterm fails with the error:
xterm: Xt error: Can't open display: :0

Checking systemctl status weston shows an error:
Jan 19 21:24:16 imx8mq-evk weston[396]: sh: line 1: /usr/bin/xkbcomp: No such file or directory

Adding xkbcomp to the rootfs fixes these errors. Checking the history
one finds that the runtime dependency for the old xserver was
removed because it wasn't in the correct location [1], then restored
because it was still needed [2].

[1] bdcc5e8f12
[2] f2330ebc30

(From OE-Core rev: 535e6df5b5e53dd95438985dcff554cd17302837)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Ross Burton
1e7fe9ea1e strace: skip a number of load-sensitive tests
Some tests are very load-sensitive as they depend on sleep() calls to
take a precise amount of time. These will randomly fail in the automated
QA, so skip them.

(From OE-Core rev: ea6933d2500827eae5482a32d5037e0429cd096a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Ross Burton
2d4589316c strace: remove obsolete musl-on-MIPS patch
This patch was added as musl doesn't define SIGEMT on MIPS, but this was
a mistake in musl and has been  fixed in cabc369, available in musl
1.2.1 onwards (August 2020).

(From OE-Core rev: 3ce2fd9f3002178ba2425c7912bf8b83a4150c9a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Oleksandr Kravchuk
9e54790c6e ell: update to 0.48
Changelog:
- Fix issue with memory leaking from ICMPv6 RA.

(From OE-Core rev: d622ba4930d5beae2d42b6ed64c0e1f84beda714)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Andrej Valek
d6a126435f oeqa: qemu: create missing directory for _write_dump
| Failed to dump QMP CMD: query-status with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_query-status'
| Failed to dump QMP CMD: query-block with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_query-block'
| Failed to dump QMP CMD: dump-guest-memory with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_dump-guest-memory'

The qmp dump commands could fail, because of missing root directory.
So create it before any log writing.

(From OE-Core rev: c4dc5d674afe65fedb5195f187b68f23720646ba)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Changqing Li
95870c10b1 mdadm: fix testcase 00multipath failure
After upgrade to 4.2, mdadm's testcase 00multipath failed,
because a bug in 4.2 makes "-r" not work in manage mode.

(From OE-Core rev: 8a815877b0fac30f379a7387966b8a0c7ffe753e)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Peter Kjellerstedt
7faaaf1425 sstatetests: Correct a typo in a comment
(From OE-Core rev: f6420121920a242655ba5ded0f96763d6638cbc4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Peter Kjellerstedt
00bf15c118 devtool: sdk-update: Remove an unnecessary \n from SSTATE_MIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in SSTATE_MIRRORS
with "\n".

(From OE-Core rev: 6e66ec3cd201d32d3d97df2222f41bb8c475fb69)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Denys Dmytriyenko
0bf1e08ce1 wayland-protocols: upgrade 1.24 -> 1.25
https://lists.freedesktop.org/archives/wayland-devel/2022-January/042102.html

wayland-protocols 1.25 is now available.

Apart from minor fixes and clarifications, this release also adds a new staging
protocol for session locking, as well as a 'bounds' event to the xdg_toplevel
interface. See the individual commits and protocol specifications for
details.

(From OE-Core rev: 789970a46bd902b040cf3bbd34ad0887a1ba896a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Alejandro Hernandez Samaniego
74a8a74a55 busybox: Add shell arithmetic to work with poky-tiny
Fix error when trying to boot core-image-tiny-initramfs:

/init: line 144: syntax error: support for $((arith)) is disabled
Kernel panic - not syncing: Attempted to kill init!

[YOCTO #14702]

(From meta-yocto rev: 50ac1fcadb07fdbeb4169cdd7a0c4a805a0f8588)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:32:08 +00:00
Robert Yang
d77178e8df bitbake: bitbake: bitbake-worker: Preserve network non-local uid
The NIS can't work when network is dissable, so preserve network for it, the
error is like:

do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable

Note, enable nscd on the build machine might be a solution, but that isn't
reliable since it depends on whether the network function has been cached or
not.

(Bitbake rev: 4eafae7904bae6e5c6bc50356e8a9077f2e207fa)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:48 +00:00
Ross Burton
80bddd7c36 systemtap: backport buffer size tuning patches
Backport a nunber of patches from upstream to tune the buffer size on
machines with a "small amount" of memory, which appears to mean less
than 4GB.

(From OE-Core rev: d1e1c8698a5143a1e5d80d172105b76c57b85dd6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
440a5f6ee6 oeqa/runtime/stap: improve systemtap test
Split the test up into compile and execute phases, as the stap binary
is known to be quite memory-hungry and this can result in the probe
being unable to allocate enough memory for the buffers it needs.

If the test fails, dump the dmesg as any useful messages will be there.

(From OE-Core rev: 6cf4d23a2d26c2767edd93f2eb317ff759b5a992)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
351ee239c7 core-image-sato-sdk: allocate more memory when in qemu
Compiling code is memory-intensive, especially kernel modules like the
SystemTap probes, so give the VM 768MB of RAM.  Using 1GB appears to
cause PCI error, interestingly.

Hopefully this solves the intermittent failures caused by OOMs during
the SystemTap test.

[ YOCTO #14673 ]

(From OE-Core rev: 50ff1f018a670c963e1979dee76ebd696153b4c1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
ab6d3f8067 vim: upgrade to patch 4269
Upgrade to the latest patch release to fix the following CVEs:

- CVE-2022-0261
- CVE-2022-0318
- CVE-2022-0319

(From OE-Core rev: 96442e681c3acd82b09e3becd78e902709945f1f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
8ab929b0a6 expat: upgrade to 2.4.4
Fixes CVE-2022-23852 and CVE-2022-23990.

(From OE-Core rev: 4ed96683893e7433804ccf7a4000a2dd18318ef5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
a8c9104ac4 openssl: export OPENSSL_MODULES in the wrapper
OpenSSL 3 added the concept of provider modules which are loaded from
disk.  The load path is hard-coded into the library and needs to be
relocated when running natively, so add OPENSSL_MODULES to the wrapper.

(From OE-Core rev: 160ac2f136cb8df829c803848c7c47d707a908ff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
1adbf5ba27 gobject-introspection: replace prelink-rtld with objdump -p
g-i internally processes the output with regexes, and seems
happy with what objdump is printing. It only needs to resolve
the library name as passed to the linker to the library file name.
Also recursive resolution (that ldd is doing and objdump is not)
is not necessary.

(From OE-Core rev: 767e0880d4d729e659e859dd99c1cdb084b8ba51)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
8b562100df libusb1: correct SRC_URI
(From OE-Core rev: d4c37ca1f1e97d53045521e9894dc9ed5b1c22a1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
039aa6df4d gnutls: update 3.7.2 -> 3.7.3
Drop unsupported option.

(From OE-Core rev: 5a2d94e0df21992a30f95312da3bf8477f42785c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
98deacdb55 ltp: update 20210927 -> 20220121
The ltp compliancy parser is rewritten to actually
match the logs: they seem to be unstructured, test case names
are not printed and the only indication of failure is appearance of
FAIL[ED] somewhere.

(From OE-Core rev: 52766561dbfee625c89393905a85e10d85f69c6c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
064ca10c50 wpa-supplicant: update 2.9 -> 2.10
License-Update: copyright years

(From OE-Core rev: 4f30b96207efcddfe76d6bf8d4c24f4fb7f80abb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
f64ac4c918 rust: update 1.58.0 -> 1.58.1
(From OE-Core rev: 855ec0af1b3c7c2664e68ac89cad839d480c43db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
f5bfd88094 zstd: update 1.5.0 -> 1.5.2
Drop patches merged upstream.

(From OE-Core rev: cfd76fb067e2390aa06ae6a9f9dd7cc8a8d57d09)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
b44828967a libical: upgrade 3.0.12 -> 3.0.13
(From OE-Core rev: a74500337d8aca4a9c6c4aaf3bacdeb834b6ec5b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
d169e91dcd libbsd: upgrade 0.11.3 -> 0.11.5
License-Update: additional files

(From OE-Core rev: 2a464b1cf45c7de2738f48e0786b5367688304ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
2d9be515d8 diffoscope: upgrade 200 -> 201
(From OE-Core rev: 4d056dac3b01acc5f57e958cc1debc6ef0d98810)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
d2857e3239 debianutils: upgrade 5.5 -> 5.7
(From OE-Core rev: 325547665c533fa337076a111554614af3b51d1f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
9daf0d3101 webkitgtk: upgrade 2.34.3 -> 2.34.4
(From OE-Core rev: 919014ca53b0f7960bc9994e7cc1d5174d3b1339)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
e34a00bd9b ethtool: upgrade 5.15 -> 5.16
(From OE-Core rev: 8c99ff20c95e039620fa7dd6a3a41a9c83a72b9e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
f29ec7ad5f ifupdown: upgrade 0.8.36 -> 0.8.37
(From OE-Core rev: 1f2892e4c65c6918ef41d567d37e17ce346d57ee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
caaae859a6 bind: upgrade 9.16.24 -> 9.16.25
License-Update: copyright years

(From OE-Core rev: 4a7f6cdc7292df5d3154192e65dcb9681ec8ffcb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Ross Burton
f2666fbc7f yocto-check-layer: add debug output for the layers that were found
When debugging weird yocto-check-layer output it is useful to know
what the tool found when looking for layers.

(From OE-Core rev: 711e2d4d7baf36f8497741c14268d7f72d0db016)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Rudolf J Streif
e2340a68c5 linux-firmware: Add CLM blob to linux-firmware-bcm4373 package
The Country Local Matrix (CLM) blob brcmfmac4373-sdio.clm_blob was not
included with the files for the linux-firmware-bcm4373 package
but instead packaged with linux-firmware.

(From OE-Core rev: 18ba64d4a12e7275381cf34fe72b757accbb1544)

Signed-off-by: Rudolf J Streif <rudolf.streif@ibeeto.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
6c8332ef09 linux-yocto/5.10: update to v5.10.93
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    fd187a492557 Linux 5.10.93
    bed97c903621 mtd: fixup CFI on ixp4xx
    f50803b519c3 powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS
    68c1aa82be00 ALSA: hda/realtek: Re-order quirk entries for Lenovo
    4d15a17d065d ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
    d7b41464f1b7 ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
    87246ae94b73 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
    9c27e513fb33 ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
    4c7fb4d519e5 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
    6b8c3a185377 firmware: qemu_fw_cfg: fix kobject leak in probe error path
    889c73305b48 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
    ff9588cf1592 firmware: qemu_fw_cfg: fix sysfs information leak
    358a4b054abe rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
    93c4506f9f8b media: uvcvideo: fix division by zero at stream start
    4c3f70be6f3a video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
    161e43ab8cc1 9p: only copy valid iattrs in 9P2000.L setattr implementation
    0e6c0f3f4055 KVM: s390: Clarify SIGP orders versus STOP/RESTART
    413b427f5fff KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
    723acd75a062 perf: Protect perf_guest_cbs with RCU
    eadde287a62e vfs: fs_context: fix up param length parsing in legacy_parse_param
    c5f38277163e remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
    5d88e24b23af orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
    0084fefe2960 devtmpfs regression fix: reconfigure on each mount
    ee40594c95ae kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test

(From OE-Core rev: 4f3dd05c163efe6da87a58ab9e1df61b83ed4444)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
22b7454722 linux-yocto/5.15: update to v5.15.16
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    63dcc388662c Linux 5.15.16
    ce2e7b97e588 mtd: fixup CFI on ixp4xx
    9dada19e1096 ALSA: hda/realtek: Re-order quirk entries for Lenovo
    4942295ec2af ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
    f76d5f9391a5 ALSA: hda/tegra: Fix Tegra194 HDA reset failure
    7c452ca7bc7b ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
    8b046b2a63c6 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
    5b57c0efec9a ALSA: hda/realtek: Use ALC285_FIXUP_HP_GPIO_LED on another HP laptop
    c104edbb5a3f ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
    3a1e48069798 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
    adf791cf905a perf annotate: Avoid TUI crash when navigating in the annotation of recursive functions
    8840daa2f629 firmware: qemu_fw_cfg: fix kobject leak in probe error path
    db3337ba6e4a firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
    bb08a4d10164 firmware: qemu_fw_cfg: fix sysfs information leak
    898e91c32d04 rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
    c671cb0b0087 media: uvcvideo: fix division by zero at stream start
    e2ece45f9450 video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
    7760404e8487 9p: only copy valid iattrs in 9P2000.L setattr implementation
    c2e7561ba7a8 remoteproc: qcom: pas: Add missing power-domain "mxc" for CDSP
    252435941c33 KVM: s390: Clarify SIGP orders versus STOP/RESTART
    6e8b6dcec07c KVM: x86: don't print when fail to read/write pv eoi memory
    19f2dfb1a1f6 KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
    07667f43f8a8 KVM: x86: Register perf callbacks after calling vendor's hardware_setup()
    18c16cef8179 perf: Protect perf_guest_cbs with RCU
    e192ccc17ecf vfs: fs_context: fix up param length parsing in legacy_parse_param
    c78c39a91dd4 remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
    b07490067dbc orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
    ce258c74f8d9 drm/amd/display: explicitly set is_dsc_supported to false before use
    d5df26479c82 devtmpfs regression fix: reconfigure on each mount

(From OE-Core rev: 64d6ad75dd0eecd4b976d821cae8119fdd903c41)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
c22856670e x86: fix defconfig configuration warnings
Integrating the following commit(s) to linux-yocto/5.15:

    720b61fc400b x86_64_defconfig: Fix warnings

(From OE-Core rev: a1df7a1315b46c42ea4b1bd92782a68bdf7b3011)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
9577d21329 linux-yocto/5.10: update to v5.10.92
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    c982c1a83932 Linux 5.10.92
    c0091233f3d8 staging: greybus: fix stack size warning with UBSAN
    66d21c005d9b drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
    2d4fda471dc3 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
    3609fed7ac8b media: Revert "media: uvcvideo: Set unique vdev name based in type"
    9b3c761e78d5 random: fix crash on multiple early calls to add_bootloader_randomness()
    61cca7d191c7 random: fix data race on crng init time
    3de9478230c3 random: fix data race on crng_node_pool
    43c494294f30 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
    45221a57b609 can: isotp: convert struct tpcon::{idx,len} to unsigned int
    bd61ae808b15 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
    f68e60001735 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
    5f76445a31b7 veth: Do not record rx queue hint in veth_xmit
    ddfa53825f3d mmc: sdhci-pci: Add PCI ID for Intel ADL
    2e691f9894cc ath11k: Fix buffer overflow when scanning with extraie
    a87cecf94375 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
    15982330b61d USB: core: Fix bug in resuming hub's handling of wakeup requests
    413108ce3b56 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
    b6dd07023699 Bluetooth: bfusb: fix division by zero in send path
    869e1677a058 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
    c20021ce945f Bluetooth: btusb: Add support for Foxconn MT7922A
    83493918380f Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
    294c0dd80d8a Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
    35ab8c9085b0 bpf: Fix out of bounds access from invalid *_or_null type verification
    c84fbba8a945 workqueue: Fix unbind_workers() VS wq_worker_running() race
    c39d68ab3836 md: revert io stats accounting

(From OE-Core rev: 35dfcd31518e66fc4dc1f2283bd3320f994c868b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
deda3e743a linux-yocto/5.15: update to v5.15.15
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    760a85303c5a Linux 5.15.15
    54a457ad2c97 staging: greybus: fix stack size warning with UBSAN
    48d56b00c352 drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
    e29bd72f5c76 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
    46c7ff13dfe8 media: Revert "media: uvcvideo: Set unique vdev name based in type"
    e0bb3bf81cc4 platform/x86/intel: hid: add quirk to support Surface Go 3
    26b66120a896 random: fix crash on multiple early calls to add_bootloader_randomness()
    2d5b4a96a60e random: fix data race on crng init time
    f5aaea746b36 random: fix data race on crng_node_pool
    3fbbf56948b2 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
    1079b56de4af can: isotp: convert struct tpcon::{idx,len} to unsigned int
    1026f710bd55 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
    72bd750d1122 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
    78a19e506bdc veth: Do not record rx queue hint in veth_xmit
    3a29fd88f3ad Bluetooth: btbcm: disable read tx power for MacBook Air 8,1 and 8,2
    7b8a6d60e0d5 Bluetooth: btbcm: disable read tx power for some Macs with the T2 Security chip
    d5eeefa335af Bluetooth: add quirk disabling LE Read Transmit Power
    49e63682cb3b mmc: sdhci-pci: Add PCI ID for Intel ADL
    6f4da584ec4e ath11k: Fix buffer overflow when scanning with extraie
    02f3458289d2 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
    0284c0ca3db6 USB: core: Fix bug in resuming hub's handling of wakeup requests
    0544baa4f761 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
    402aff59a748 Bluetooth: bfusb: fix division by zero in send path
    db74ee79c9f7 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
    c6bd1c35bd84 Bluetooth: btintel: Fix broken LED quirk for legacy ROM devices
    a366a81dcbb1 Bluetooth: btusb: Add support for Foxconn MT7922A
    5e1b03c32535 Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
    e81cef21ea8a Bluetooth: btusb: Add one more Bluetooth part for WCN6855
    f39825f4fc35 fget: clarify and improve __fget_files() implementation
    edaf018b898f Bluetooth: btusb: Add the new support IDs for WCN6855
    a053e9619bb9 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
    e36a4d9c0bb8 Bluetooth: btusb: enable Mediatek to support AOSP extension
    dcfa2d7a9a9f Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
    4a5557693f07 Bbluetooth: btusb: Add another Bluetooth part for Realtek 8852AE
    a1e59284193b Bluetooth: btusb: Add support for IMC Networks Mediatek Chip(MT7921)
    fe9ddfd236a6 Bluetooth: btusb: Add the new support ID for Realtek RTL8852A
    3f502147ffc3 Bluetooth: btusb: Add protocol for MediaTek bluetooth devices(MT7922)
    e8efe8369944 bpf: Fix out of bounds access from invalid *_or_null type verification
    f39ffc6f9c60 staging: r8188eu: switch the led off during deinit
    cf5b6bd2c792 workqueue: Fix unbind_workers() VS wq_worker_running() race
    0ed0be755276 s390/kexec: handle R_390_PLT32DBL rela in arch_kexec_apply_relocations_add()

(From OE-Core rev: 5e4ff0db4169fbf056b415e5ff5c5b29202a6f01)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Markus Volk
92bb6f72ce libical: build gobject and vala introspection
(From OE-Core rev: 5e2fc4676b8944fc1d36d567bb2d1ff4cff32294)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Ross Burton
0e1d27b69d tiff: backport fix for CVE-2022-22844
(From OE-Core rev: daf2880b7431aa641e02ebba8cbca40d81389088)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Peter Kjellerstedt
e8e1e829f4 sstate: A third fix for for touching files inside pseudo
This continues where commit676757f "sstate: fix touching files inside
pseudo" and commit 29fc8599 "sstate: another fix for touching files
inside pseudo" left off.

The previous changes switched from trying to check if the sstate file is
writable before touching it, to always touching the sstate file and
ignoring any errors. However, if the sstate file is actually a symbolic
link that links to nothing, this would actually result in an empty
sstate file being created. And this in turn leads to that future
setscene tasks will fail when they try to unpack the empty file.

Change the code so that if an sstate file linking to nothing already
exists, it is overwritten with the new sstate file. Also change it so
that the temporary file that is used is always removed, even if ln
fails to link the sstate file to it.

(From OE-Core rev: 552197a0c4c9f75a9177c00b197ea91296ed9fc4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Kory Maincent
15324dd951 icu: fix make_icudata dependencies
The make_icudata task is set before the configure task then the
dependencies for this task are not populate yet.

Fixed it by adding do_prepare_recipe_sysroot task dependency to the
make_icudata task.

(From OE-Core rev: c134f62062a6359d2d5831ba4cb9694035e4f25a)

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Andrej Valek
fa0db034d6 busybox: refresh defconfig
- extend find command
- disable rootfs skip
- busybox-inittab_1.34.1 -> busybox-inittab_1.35.0

(From OE-Core rev: a43fd027cf1a7f0c9edd2d7abbf949d7ae0f4cea)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Alejandro Hernandez Samaniego
bedb3444e1 kernel.bbclass: Allow initramfs to be built from a separate multiconfig
There may be a case where we want to build an initramfs image
that doesnt inherit the same DISTRO_FEATURES (or others) from
the main image being built.

For example we may want our initramfs not to inherit a certain
conf or feature, say we want to use musl for a smaller footprint,
but if we are using TCLIBC=glibc for our DISTRO (and inherently
our main image), the initramfs image would inherit that conf and
be forced to use glibc, growing in size as a side effect, currently
avoiding this is not supported.

Allow the kernel class to create a multiconfig dependency
(mcdepends) vs depends for do_bundle_initramfs and define
our INITRAMFS_IMAGE from a separate multiconfig via two
new variables:
INITRAMFS_MULTICONFIG and INITRAMFS_DEPLOY_DIR_IMAGE which
define the multiconfig where the initramfs image should be
coming from and its deploy directory respectively, these two
keep a default definition which preserves current behavior
(do_bundle_initramfs uses depends).

Example usage:
- Create and use multiconfig initramfscfg.conf and set
  TCLIBC=musl there, along with its TMPDIR.
- Add the following to our DISTRO.conf:
  INITRAMFS_MULTICONFIG = "initramfscfg"

  and set
  INITRAMFS_DEPLOY_DIR_IMAGE to the DEPLOY_DIR_IMAGE of the
  initramfscfg multiconfig (hence our main kernel will be
  able to grab it from there and bundle it).

This will result in our musl based initramfs bundled in our
main kernel and our main image to be glibc based.

(From OE-Core rev: 2d317b2685211f1b0d102705a63c0000df96f45f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Alejandro Hernandez Samaniego
d2abfff682 core-image-tiny-initramfs: Mark recipe as 32 bit ARM compatible
(From OE-Core rev: 68bf897e54d81ea7264f48f960b8435fc6bf7815)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Khem Raj
e7ffa406dc systemd: Forward port musl patches
Redo the header include patch and add fixes for new code.

(From OE-Core rev: 7e35a575ef09a85e625a81e0b4d80b020e3e3a92)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Pgowda
603dffc49a glibc : Fix CVE-2021-3999
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=8c8a71c85f2ed5cc90d08d82ce645513fc907cb6]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=472e799a5f2102bc0c3206dbd5a801765fceb39c]

(From OE-Core rev: e9532134b86211801206ff540c4c284f43006f7b)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Pgowda
359fcb9ed2 glibc : Fix CVE-2021-3998
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=062ff490c1467059f6cd64bb9c3d85f6cc6cf97a]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=f7a79879c0b2bef0dadd6caaaeeb0d26423e04e5]

(From OE-Core rev: 20cc83dd8d323d7ea86b3625f4e8da94c160def9)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Khem Raj
21e5b78d9a ffmpeg: Remove --disable-msa2 mips option
This is now deleted option in 5.0+

(From OE-Core rev: e6140f11429e66e7ceadc932f2d6946c1270a19f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
a65c230037 nfs-utils: upgrade 2.5.4 -> 2.6.1
(From OE-Core rev: 6d8710bc444cd606c26a614560dde0c2cc981af8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
866774f404 lighttpd: upgrade 1.4.63 -> 1.4.64
0001-mod_extforward-fix-out-of-bounds-OOB-write-fixes-313.patch
removed since it's included in 1.4.64.

with_gdbm, with_memcached
removed since they're not applicable in 1.4.64.

Changelog:
=========
Important changes
 remove deprecated modules, bugfixes, CVE-2022-22707 (rare configs)

Behavior Changes
 (previously announced and scheduled)

 -graceful restart/shutdown timeout changed from 0 (disabled) to 8 seconds
  configure an alternative with:
  server.feature-flags += ("server.graceful-shutdown-timeout" => 8)
  build: lighttpd defaults to -with-pcre2 instead of -with-pcre
  pcre2 is current. pcre is no longer maintained.
  Explicitly specify -with-pcre in build to use pcre instead of pcre2.
 -deprecated modules (previously announced) have been removed
  mod_authn_mysql
  mod_mysql_vhost
  mod_cml
  mod_flv_streaming
  mod_geoip
  mod_trigger_b4_dl
  https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated
  suggests migration steps for replacements, if needed

Changes from 1.4.63
 [core] fix trace issued for loading mod_auth (fixes #3121)
 [meson] need -lrt with glibc < 2.17 (fixes #3120)
 [core] adjust time jump detection (fixes #3123)
 [core] make setrlimit() warn, not fatal
 [core] add remote IP to some error msgs (fixes #3122)
 [mod_webdav] If-None-Match on non-existent entity
 [build] check getxattr before attr_get and -lattr
 [doc] SELinux: setsebool -P httpd_setrlimit on
 [build] create sha512sum file with release
 [build] CI builds now use make -j 2
 [core] http_response_send_file() takes const path
 [core] use ETag response header to check cachable
 [core] add more const to stat_cache_update_entry()
 [multiple] remove r->physical.etag
 [mod_magnet] interface to http_response_send_file
 [build] add headers for sendfile() detect on MacOS
 [core] http_response_write_prepare optimization
 [core] define static_assert for uClibc (fixes #3127)
 [build] -Wno-implicit-fallthrough for ls-hpack
 [core] ignore pcre2 "bad JIT option" warning
 [build] pcre2: use pkg-config before pcre2-config
 [core] http_response_has_error_handler()
 [core] consolidate request restart loop check
 [core] defer retrieving Last-Modified until needed
 [mod_dirlisting] fix logic inversion in cache
 [core] mark expect cond in http_response_send_file
 [core] connection_handle_read_state() tweak
 [core] connection_state_machine_loop() tweaks
 [core] connection_state_machine_h2() tweaks
 [core] quiet coverity noise
 [core] use lower limit for max-fds if !setrlimit
 [build] do not check for prctl; HAVE_PRCTL unused
 [core] server.core-files support on FreeBSD (fixes #3128)
 [mod_extforward] support longer PROXY v2 TLV vec
 [mod_webdav] detect truncated copy_file_range()
 [mod_webdav] copy_file_range() new in FreeBSD 13
 [mod_webdav] copy_file_range() new in FreeBSD 13
 [build] feature consistency between build types
 [build] cmake build now defaults to C11
 [core] CCRandomGenerateBytes() for rand on macOS (fixes #3129)
 [multiple] remove long-deprecated modules
 [build] default -with-pcre2 unless -with-pcre
 [core] "server.graceful-shutdown-timeout" => 8
 [build] adjust trace for regex-conditionals
 [build] update tests/SConscript
 [core] errno_t detection on Illumos
 [build] cmake build now defaults to C11
 [build] meson: find pcre2 w/o pkg-config
 [core] define EXTENSIONS on Illumos
 [build] cmake,meson socket libs for win32, Illumos (fixes #3130)
 [core] hide bsd_accept_filter code on OpenBSD (fixes #3131)
 [core] errno_t and rsize_t detection on Illumos
 [mod_webdav] copy acceleration
 [mod_webdav] define HAVE_RENAMEAT2 earlier
 [build] meson misdetects mempcpy on some platforms
 [build] cmake: skip "-Wl,-export-dynamic" Illumos
 [build] adjust .gitignore for macOS
 [build] meson crypt and dl detection on *BSD (fixes #3133)
 [core] /dev/null is a symlink on Illumos (fixes #3132)
 [core] server.core-files support for solaris (fixes #3135)
 [build] feature consistency between build types
 [build] Haiku build fix (fixes #3136)
 [lemon] silence coverity warnings
 [cmake] raise minimum version to 3.7
 [cmake] add address/undefined sanitize compile options
 [asan tests] fix memory leaks
 [array] use speaking names for array "fn" vtables for better debugging experience
 [ci] add cmake-asan build type
 [core] buffer_copy_string() use "" if s is NULL
 [mod_authn_gssapi] code reuse: fdevent_mkostemp()
 [mod_authn_gssapi] reduce KRB5CCNAME mem alloc
 [build] adjust help strings for pcre2 default
 [core] (const char *) for srvconf.modules_dir
 [multiple] remove buffer_init_string()
 [multiple] remove buffer_init_buffer()
 [mod_extforward] fix out-of-bounds (OOB) write (fixes #3134)
 [build] use -fstack-protector-strong w/ extra warn
 [build] collect Sun-specific headers and funcs
 [build] collect Sun-specific headers and funcs
 [build] rm redundant check for -lnetwork on Haiku
 [build] check headers before some funcs
 [core] allow LISTEN_PID to be ppid if TRACEME (fixes #3137)
 [core] allow tests/tmp/bind.conf override (#3137)
 [mod_webdav] no sys/ioctl.h on _WIN32
 [tests] _WIN32 adjustments in LightyTest.pm
 [tests] revert _WIN32 adjustments in LightyTest.pm
 [mod_gnutls] lift size check out of DN loop
 [mod_mbedtls] lift size check out of DN loop
 [mbedtls] save (mbedtls_ssl_config *) in hctx
 [multiple] permit UTF-8 in SSL_CLIENT_S_DN_*
 [mod_openssl] do not esc UTF-8 in cert subject
 [mod_mbedtls] reconstruct SSL_CLIENT_S_DN
 [mod_mbedtls] changes to build with mbedtls 3.0.0
 [mod_mbedtls] remove use of out_left in mbedtls 3
 [mod_mbedtls] mbedtls_ssl_conf_groups for 3.1.0

(From OE-Core rev: 478f5f30bf783fae513dbe6e8be9af9f6ec8a6a8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
8cafe95270 python3-libarchive-c: upgrade 3.2 -> 4.0
Changelog:
=========
-BREAKING & SECURITY: The archive extraction functions now pass 3 security flags
 (SECURE_NODOTDOT, SECURE_NOABSOLUTEPATHS and SECURE_SYMLINKS) to libarchive by
 default, unless the current directory is the root.
-BREAKING: The ArchiveEntry properties atime, mtime, ctime, birthtime and size
 now have the value None instead of 0 when they're unset.
-BREAKING: The ArchiveEntry.pathname property now attempts to decode bytes using
 UTF-8. This breaks reading archives that contain file names which look like
 UTF-8 but aren't, if such a thing exists. Proper support of encodings will
 probably be added in the next version.
-Multiple entries from the same archive can now be kept in memory, however only
 the current entry's content can be read.
-The filetype, linkpath, size, mode, redvmajor, redvminor, uid and gid
 attributes of an archive entry can now be modified.
-The four time properties of archive entries now have setters, so for example
 entry.set_mtime(0, 0) can be replaced by entry.mtime = 0.
-Archive entries have 4 new properties: perm, rdev, uname and gname.
-When adding files to an archive, a destination path can now be specified.
-The ArchiveRead class now has a bytes_read property.
-The ArchiveWrite class now has a bytes_written property.
-Python 3.6 is no longer tested.
-The documentation has been improved.

(From OE-Core rev: 9adbc075c5a2b396d991144596fd92ebe16d4154)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
8361d9a87e libwebp: 1.2.1 -> 1.2.2
(From OE-Core rev: 170ba2ab0733d781a95d8120fdfe9eccacee8b89)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
5a47f574e3 python3-importlib-metadata: upgrade 4.10.0 -> 4.10.1
v4.10.1
* 361: Avoid potential REDoS in EntryPoint.pattern.

References:
https://github.com/python/importlib_metadata/issues/361

(From OE-Core rev: d7a7e6d640a5b0819be4478aeb0f42d4a4981c89)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
079ad95723 python3-pyparsing: upgrade 3.0.6 -> 3.0.7
* Update HOMEPAGE to reflect move to github (in 2018)
* Add DESCRIPTION and BUGTRACKER

This upgrade includes bug fixes and minor enhancements.

For changes, see:
https://github.com/pyparsing/pyparsing/blob/master/CHANGES

(From OE-Core rev: ed87730f9bfc04cba8e37847aa04d433da61e4a7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
3f1ede778d python3-setuptools-scm: upgrade 6.3.2 -> 6.4.2
v6.4.2
* fix #671 : NoReturn is not avaliable in painfully dead python 3.6

v6.4.1
* fix regression #669: restore get_version signature
* fix #668: harden the selftest for distribution extras

v6.4.0
* compatibility adjustments for setuptools >58
* only put minimal setuptools version into toml extra to warn people with old strict pins
* coorectly handle hg-git self-use
* better mercurial detection
* modernize packaging setup
* python 3.10 support
* better handling of setuptools install command deprecation
* consider pyproject.tomls when running as command
* use list in git describe command to avoid shell expansions while supporting both windows and posix
* add --strip-dev flag to python -m setuptools_scm to print the next guessed version cleanly
* ensure no-guess-dev will fail on bad tags instead of generating invalid versions
* ensure we use utc everywhere to avoid confusion

References:
https://github.com/pypa/setuptools_scm/issues/668
https://github.com/pypa/setuptools_scm/issues/669
https://github.com/pypa/setuptools_scm/issues/671

(From OE-Core rev: 3ac37c743470ab778bc47110660f3e1b37c534ba)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
6455eae22b python3-hypothesis: upgrade 6.35.0 -> 6.36.0
6.36.0 - 2022-01-19
* This release disallows using typing.Final with from_type() and register_type_strategy().
  - Why? Because Final can only be used during class definition. We don’t generate class attributes.
  - It also does not make sense as a runtime type on its own.

(From OE-Core rev: 5044bb45748887b01e857554976fe1eeb16921dd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Alexander Kanavin
29a14ae59b ruby: do not parallel install
ruby's makefiles are rebuilding several items on every invocation,
even if nothing changed, all of which are factored into libruby.so
and cause it to be relinked as well. This does not seem to affect plain
make invocation, but does cause races in make install:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14695

Rather than figure out how to use make properly and convince upstream
of it, let's just do serial installs and file a bug:

https://bugs.ruby-lang.org/issues/18506

(From OE-Core rev: 1dc5cdf683133d210658eba9a619b737ec95cfe3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Markus Niebel
bd947d3343 kmscube: depend on virtual/libgbm
when using vendor supplied OpenGL stacks no virtual/libgbm may be
provided. An example for this is the Vivante stack for i.MX6.
To get better error message in such cases, add dependency.

(From OE-Core rev: 739b3af0bf1422cdabd13ccac8fbcc60b37d2fa4)

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Richard Purdie
27ff420543 build-appliance-image: Update to master head revision
(From OE-Core rev: a179485351a0563d12a2fef3e49971122255ed80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-22 11:28:56 +00:00
Vivien Didelot
9f8e746687 beaglebone-yocto: move kernel and dtb to packagegroup-core-boot
Appending IMAGE_INSTALL with the kernel and device tree is a bad idea
because it will bring these packages to every images, like a container
image or sysroot image to pivot to, where the kernel artifacts are
not wanted.

Instead use the MACHINE_ESSENTIAL_EXTRA_RDEPENDS which results
in having the kernel artifacts where they should be, part of
packagegroup-core-boot.

(From meta-yocto rev: d4cbe0e43393ec70e98caf006372b5311597d377)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-21 14:44:27 +00:00
Vivien Didelot
66a76e7cc7 beaglebone-yocto: prefer u-boot
If BBLAYERS contains a layer providing a package for
virtual/bootloader, building for the beaglebone-yocto machine will
fail. Setting u-boot as the preferred provider for virtual/bootloader
ensures u-boot is choosen and the build succeeds.

(From meta-yocto rev: 2ffbaf54f4d88ba251d282c90755ea964d224ba6)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-21 14:44:27 +00:00
Zev Weiss
fc9a17ad38 u-boot: Split do_configure logic into separate file
Some auxiliary u-boot recipes may need u-boot properly configured
(including *.cfg additions via bbappends) but aren't necessarily
building u-boot itself; to support such situations, here we split the
u-boot do_configure() out of u-boot.inc and into its own
u-boot-configure.inc.

(From OE-Core rev: e55e6fb4983a41f74c0e457bf54bd8dfa5608daa)

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
wangmy
18e3554301 btrfs-tools: upgrade 5.15.1 -> 5.16
0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch
removed since it is included in 5.16

Add 0001-btrfs-progs-kerncompat-add-local-definition-for-alig.patch
to fix "undefined reference to `__ALIGN_KERNEL'".

Changelog:
=========
 - rescue: new subcommand clear-uuid-tree to fix failed mount due to bad uuid
   subvolume keys, caught by tree-checker
 - fi du: skip inaccessible files
 - prop: properly resolve to symlink targets
 - send, receive: fix crash after parent subvolume lookup errors
 - build:
   fix build on 5.12+ kernels due to changes in linux/kernel.h
   fix build on musl with old kernel headers
 - other:
   error handling fixes, cleanups, refactoring
   extent tree v2 preparatory work
   lots of RST documentation updates (last release with asciidoc sources),
   https://btrfs.readthedocs.io

(From OE-Core rev: 420191dc951f04b36645ffae2d946b50150feab0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Sundeep KOKKONDA
b129c716fc glibc : Fix CVE-2022-23219
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=226b46770c82899b555986583294b049c6ec9b40]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=ef972a4c50014a16132b5c75571cfb6b30bef136]

(From OE-Core rev: 6ad7240c732dd63e74ac32588b92241030c194ae)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Sundeep KOKKONDA
73ff4e0ce1 glibc : Fix CVE-2022-23218
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=e368b12f6c16b6888dda99ba641e999b9c9643c8]
Upstream-Status: Backport
[https://sourceware.org/git/?p=glibc.git;a=commit;h=f545ad4928fa1f27a3075265182b38a4f939a5f7]

(From OE-Core rev: 83fa93b5fdb10a589bad2a9fc83552df8f1dbf28)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
fd4901288a stress-ng: upgrade 0.13.09 -> 0.13.10
(From OE-Core rev: 5a9cadd4af3aba5426d1a2127b66d026f99a3538)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
2c136b6875 repo: upgrade 2.19 -> 2.20
(From OE-Core rev: 340760a7817e109ef98d9de2878cf3e6c15444ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
0b630e28a1 libunistring: update 0.9.10 -> 1.0
Delete patches, as one is a backport, another patches code that upstream removed.

License-Update: license changed to gplv2+
https://git.savannah.gnu.org/gitweb/?p=libunistring.git;a=commitdiff;h=87f797a50b854a4a2231203c25adbcec4f0dcd05

(From OE-Core rev: 32d2479782c7577352150ea1e3e6d2d48dad2eb0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
b6a9eb01a5 p11-kit: update 0.24.0 -> 0.24.1
(From OE-Core rev: d347e422ea815fcb4e6adad973d9d35b6eba39d4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
5ecb96d56f ffmpeg: upgrade 4.4.1 -> 5.0
libavresample has been removed; libswresample is the replacement.

(From OE-Core rev: 5555bca01750024a786a1f78d573d02f12b45686)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
725ceea724 liburcu: upgrade 0.13.0 -> 0.13.1
(From OE-Core rev: b3e6dd66ec62dcca8594e0e43f76f14d2222b738)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
9afbfa3226 libsoup: upgrade 3.0.3 -> 3.0.4
(From OE-Core rev: b8abf4ebfe90099e3ca69f3f7ccf4e6efba5084e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
132d2c86fb diffoscope: upgrade 199 -> 200
(From OE-Core rev: 72a39ff2a23b8dbee32715d18afcb258f4005510)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
0dd5096247 webkitgtk: upgrade 2.34.2 -> 2.34.3
(From OE-Core rev: cf81bcb6363362580ec2c230e9872211e9079879)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
cb93234044 puzzles: upgrade to latest revision
(From OE-Core rev: 617c931a21d86e0067cc16688c0fc460443969a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
851edf4ebc xwayland: upgrade 21.1.3 -> 21.1.4
(From OE-Core rev: caa2e927b273d67d116674c495de67f6374a45b0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
dbf8434229 libinput: upgrade 1.19.2 -> 1.19.3
(From OE-Core rev: 0921d3747238b6131ad6945633a5ced2a88f09fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
ca7b0e7b15 piglit: upgrade to latest revision
(From OE-Core rev: 452fbc4dca7ab5a8c93e19bf366ce43da4cc3262)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
da67b19283 rpcsvc-proto: upgrade 1.4.2 -> 1.4.3
(From OE-Core rev: 8c08b06f43879e8a9575ff33f0d26bb3673f710b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
ca9cb6e4ee pigz: upgrade 2.6 -> 2.7
(From OE-Core rev: 556b9208ba182143c33d29225d8aba84654231e1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
051dda511b vala: upgrade 0.54.4 -> 0.54.6
(From OE-Core rev: 69b7a80addb2febbc4a9cc6243135650abd25faf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
67d4b8e131 python3-ruamel-yaml: upgrade 0.17.19 -> 0.17.20
License-Update: copyright years

(From OE-Core rev: 102889bbfe8f45e427a4b0727486475dcbef3d26)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
c24135c996 python3-pyrsistent: upgrade 0.18.0 -> 0.18.1
License-Update: copyright years

(From OE-Core rev: 26372197c6b2cbed0b93e2cc7228d6c2ac8b102e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
9d5f5c2254 python3-pygments: upgrade 2.11.1 -> 2.11.2
(From OE-Core rev: b5b0deb5450aa2752a758ce07ec1f64a2ac00f97)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
87bac76675 mtools: upgrade 4.0.36 -> 4.0.37
(From OE-Core rev: 9dda413644cc04f25871674a6023e61d2dd8e484)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
4000afbeb4 e2fsprogs: upgrade 1.46.4 -> 1.46.5
Remove patch as upstream addressed the issue.

(From OE-Core rev: cf11425c460ee4ff6b7ac0221a21b13b2d2b7e1e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
64e0f14a56 shadow: upgrade 4.10 -> 4.11.1
License-Update: license clarified to BSD-3-Clause only

(From OE-Core rev: 79201206b5f7867ad7ffd462705f34179b33c0d7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
11b1b4b29c go: upgrade 1.17.5 -> 1.17.6
(From OE-Core rev: f48e276ec340acc1c086dff3d18f92d822e31351)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
078a1a64ed socat: upgrade 1.7.4.2 -> 1.7.4.3
(From OE-Core rev: 2c51c702a3036f641d34d00123d359fc34e96cf7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
464c3e59c6 readline: upgrade 8.1 -> 8.1.2
(From OE-Core rev: b3358fc1145fb7ac6745b91d1b8934fedcee03fa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
e5ce164931 rust: update 1.57.0 -> 1.58.0
(From OE-Core rev: 43895e2967b2c80f4ee353b33ffe422ea7590ff1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
1039ad104e sqlite: update 3.37.1 -> 3.37.2
(From OE-Core rev: e77c5d7ca59545f99d3bbacd0bac13df061b9a40)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
c87a3b92ac logrotate: update 3.18.1 -> 3.19.0, drop rotate-across-filesystems patches
Upstream review and request to address it got no reaction
from the author, and the patches are an ongoing rebase burden,
so if someone needs this feature, please complete
the upstreaming work first.

(From OE-Core rev: c748945e9c91eb2b83b8a44828f35579bcd09146)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
0b1dc4e3d4 python3: update 3.10.1 -> 3.10.2
License-Update: copyright years

(From OE-Core rev: d6515a7f58d0405efea21e3be4158681ed9edbe6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
e6d9cc20a2 systemd: update 250.1 -> 250.3
(From OE-Core rev: 4d3d6c0093113166df2b395f0c2f1e833e84a093)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
d072d02acd resolvconf: update 1.87 -> 1.91
Drop patch as issue resolved upstream.

(From OE-Core rev: a8accf2a042f8a8cbba350c6de20152efeddd747)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
8dafdda77d libuv: update 1.42.0 -> 1.43.0
(From OE-Core rev: e2fcc4e5d17a1a11ffc13669bbdfc321a618ab86)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
14e27297f4 efivar: update 37 -> 38
Drop determinism.patch, resolved by
641a162654

Drop no-werror.patch, can now be replaced by ERRORS= in make invocation.

Add a patch to efibootmgr to address build failures with new version.

(From OE-Core rev: 60665cdd6b1bbed29b919328ab34827c055ed729)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
80a6e76eb4 meson: update 0.60.3 -> 0.61.1
Backport patches to epiphany/gcr/g-i to address failures with new meson.

(From OE-Core rev: 2ab302edc33681f94b2cd85b564f6feebe154392)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
bc0c43cf16 meson: fold nativesdk into the main recipe
This allows automated version updates when possible, and reduces friction in manual ones.

(From OE-Core rev: 54d4a767ab7beaa64cfc4c221317ea03b0b119ab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Richard Purdie
4f24d5daa6 build-appliance-image: Update to master head revision
(From OE-Core rev: ecb61b36938754cf925bf58aad3edf7346deced0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:04:08 +00:00
Richard Purdie
2a5dcb0662 crate-fetch: Switch to version contained in bitbake
This avoids various sstate fetch errors from weird silent failures in the sstate
archive testing code caused by lack of srcrev support in the crate fetcher.

(From OE-Core rev: 8205668a339946974b4460cf1ca7e6e7a645479b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:44 +00:00
Richard Purdie
cf43eccc5c abi_version: Bump HASHEQUIV_HASH_VERSION
After the changes to the native outhash files to ensure populate_sysroot for
native recipes correctly accounts for runtime dependencies, this doesn't reset
the target output namespace and means reproducibility issues are still triggering
on our test infrastructure.

Bump the version being used for hashequiv to ensure we avoid these issues with
a new namespace.

(From OE-Core rev: 3510caa7245d1993b2dc54c7bf2c7a884dd10c88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:44 +00:00
Richard Purdie
77f08932f4 sstate: Improve failure to obtain archive message/handling
The bb.fatal() case where sstate failed to find/use an archive in setcene tasks
is suboptimal. Bitbakes handling of setscene tasks will be to warn but the fatal
will turn this into an error, despite the real task being rerun.

In these failure cases other messages would usually have been printed so turn
this into a warning and raise a handled exception status so that bitbake knows
to fail the task but not print more messages.

(From OE-Core rev: 7875baeca7a3ed216b2442fb8771e51efbfa5a4f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:43 +00:00
Richard Purdie
911cdf8619 sstate: Show better exception information for failures
Errors like

SState: cannot test file://universal/5f/10/sstate:m4-native:x86_64-linux:1.4.19:r0:x86_64:7:5f108b175274798b17950b5ee686bf61445e90fb204d7f795e5b879b5603e88b_deploy_source_date_epoch.tar.zst: 'GIT_SSL_CAINFO'

aren't useful, try and improve on this.

(From OE-Core rev: 1701d40536db098adb26508799bae13733f1a6fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:43 +00:00
Richard Purdie
12c76723fb bitbake: fetch2: Add crate fetcher
This imports the crate fetcher from OE-Core to resolve various module issues
and adds some very very basic tests of that new fetcher.

(Bitbake rev: 1f06f326fa8b47e2a4dce756d57a9369a2225201)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:43 +00:00
Richard Purdie
e222be0638 bitbake: build: Tweak exception handling for setscene tasks
If an unexpected exception occurs in a setscene task, it is currently hidden
from the user and not recorded in any logs. This isn't helpful to debug
such failures.

Change the code so that even in the "silent" or "quiet" task case (setscene
tasks), a warning is shown with the traceback unless it was an "handled"
exception. This means the failing function can show it's own warning/error
instead if it wants to and then raise a handled event.

(Bitbake rev: 41dcdc61eb40def8c14a42e8d7bb9ce5a34afa57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:43 +00:00
Richard Purdie
e4d21837cd build-appliance-image: Update to master head revision
(From OE-Core rev: e02fd3dd8dc64b7a0246cceff062e227924f62ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:13 +00:00
Ross Burton
674fd536bc oeqa/runtime/stap: increase buffer size
We're seeing random failures in the SystemTap tests in qemuarm on kernel
5.10. This might be related to the buffer between user and kernel space
being too small, so explicitly set the size.

If this cures the problem it should be considered a workaround and not
the solution.

[ YOCTO #14673 ]

(From OE-Core rev: 04c622387ea78920fdb9754fa977883cd6d621a4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:01 +00:00
Richard Purdie
c4c77bd844 expat: Simplify ptest-runner
Upstream mentioned our ptest-runner could likely be simplified. I had a
look at the output and yes, most of the code in the runner is now obsolete
as upstream output is compatible with what we need. Simplify accordingly.

(From OE-Core rev: 9a9f0a4a062a3c2adf2ac75b4fcdedbb7168335b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:01 +00:00
Changhyeok Bae
831626f855 iproute2: update 5.15.0 to 5.16.0
0001-lib-fix-ax25.h-include-for-musl.patch is the fix for musl and comes
from upstream.

(From OE-Core rev: 01db27399073804b88a38beb0ecd4c151faf3471)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:01 +00:00
Denys Dmytriyenko
6b746d75cf mtd-utils: upgrade 2.1.3 -> 2.1.4
https://lore.kernel.org/all/c31dba4f-42a8-ba48-7df2-b56bf4699a4c@sigma-star.at/t/

Roughly half a year after the last release, this is a smaller, patch level
release that primarily consists of a hand full of fixes that have accumulated
since then.

This includes some fixes regarding the user space ports of mtd-tests using the
wrong page size, and most recently a fix regarding a missing jffs2 kernel header
in the last release tarball, causing build failures on some systems.

Changes from 2.1.3 to 2.1.4:

Features:
      - ubiscan debugging and statistics utility

Fixes:
      - Some mtd-tests erroneously using sub-pages instead of the full page size
      - Buffer overrun in fectest
      - Missing jffs2 kernel header in the last release, leading to build
        failures on some systems.

(From OE-Core rev: e2102d25a1ca789d6cf90f68cece5a63c711c25c)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:01 +00:00
Richard Purdie
c3f50f747c bitbake: doc: Drop BB_STAMP_POLICY/BB_STAMP_WHITELIST
These variables were removed from the codebase, update the docs to match.

(Bitbake rev: 32180d5057c818a69987aada482e82acf3c72ef2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 11:03:39 +00:00
wangmy
e25fee2ff8 strace: upgrade 5.15 -> 5.16
License-Update: year updated to 2022.

Changelog:
=========
Improvements
-----------
-Implemented --secontext=mismatch option to find mismatches in SELinux contexts.
-Implemented decoding of futex_waitv syscall introduced in Linux 5.16.
-Implemented decoding of BPF_LINK_GET_NEXT_ID and BPF_LINK_GET_FD_BY_ID bpf
 syscall commands.
-Enhanced decoding of BPF_MAP_CREATE, BPF_PROG_TEST_RUN, and BPF_PROG_LOAD
 bpf syscall commands.
-Enhanced decoding of BTRFS_IOC_FS_INFO ioctl command.
-Updated lists of AUDIT_*, BPF_*, BTRFS_*, DEVCONF_*, FAN_*, ETH_P_*,
 IPV4_DEVCONF_*, KVM_*, NDA_*, SO_*, and V4L2_* constants.
-Updated lists of ioctl commands from Linux 5.16.

Bug fixes
---------
-Fixed build for older Android.

(From OE-Core rev: e213db717fa274db6dcab6f0b6b0728a87b8d803)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
30260fcccf python3-numpy: upgrade 1.22.0 -> 1.22.1
License-Update: year updated to 2022.

Changelog:
=========
The NumPy 1.22.1 is maintenance release that fixes bugs discovered after
the 1.22.0 release. Notable fixes are:

Fix f2PY docstring problems
Fix reduction type problems
Fix various typing bugs.
The Python versions supported for this release are 3.8-3.10.

(From OE-Core rev: 7e42e8bbe4eb97316201640b43cafbbaf916e6e5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
bc3bdb1c0f python3-git: upgrade 3.1.24 -> 3.1.26
Changelog:
=========
Fixes a leaked file descriptor when reading the index, which would cause make
writing a previously read index on windows impossible.
See https://github.com/gitpython-developers/GitPython/issues/1395 for details.

(From OE-Core rev: d0f3d4b0da85ee8d46c6aa069c9bcbceb4f4edf5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
6eb37d895f mesa: upgrade 21.3.3 -> 21.3.4
Changelog:
==========
Bug fixes
---------
i965: gen5 exposes EXT_texture_integer incorrectly
[radeonsi, regression, bisected]: Rendering issues with Factorio
mesa >= 21.x (with llvmpipe) will break the game JVGS
Panfrost - RK3399 - FACTORIO - glitches everywhere
Baldurs Gate 3 (Patch 6) - ribbon-like artifacts on textures
Game Starsector crashes under certain circumstances with mesa 21.3.+
FreeSpace models incorrectly rendered on Polaris cards, causing system freeze
Incomplete evaluation of nested DEFINE macros
[r300g, bisected] piglit glsl-fs-discard-04 fails
Panfrost G52 Firefox terrible glitches on youtube playback

Changes
-------
pan/bi: Fix load_const of 1-bit booleans
gallium/util: Add pixel->blocks box helper
lima,panfrost: Correct pixel vs block mismatches
radv: Set optimal copy alignment to 1.
microsoft/compiler: Fix dxil_nir_create_bare_samplers()
ir3/ra: Fix logic bug in compress_regs_left
ir3: Bump type mismatch penalty to 3
aco: don't allow SDWA on VOP3P instructions
aco: validate VOP3P opsel correctly
tu: fix workaround for depth bounds test without depth test
intel/genxml/gen4-5: fix more Raster Operation in BLT to be a uint
crocus: fail resource allocation properly.
freedreno/afuc: Disable the disassembler on 32-bit builds.
i915g: Turn off FP16 in the vertex shaders.
r300: Fix omod failing to increase the number of channels stored.
nir_to_tgsi: Fix a bug in TXP detection after backend lowering.
pick_status.json: Update to 8a78706643ecad8a1f303cc9358873abc29978b4
pick_status.json: Mark 00bea38242d97e7ace1954f1bc7d32cbf0ce3ee0 as denominated
pick_status.json: Mark 2a0253b9b5d21c7571555abe3a1d851468a18740 as denominated
r300: fix handling swizzle in transform_source_conflicts
intel/compiler/test: Fix build with GCC 7
i965: Disable EXT_texture_integer on Gfx4 and Gfx5
Revert "anv: Stop doing too much per-sample shading"
anv: don't leave anv_batch fields undefined
anv: limit compiler valid color outputs using NIR variables
intel/dev: fixup chv workaround
etnaviv: initialize vertex attributes on context reset
etnaviv: drm: fix size limit in etna_cmd_stream_realloc
etnaviv: drm: properly handle reviving BOs via a lookup
zink: fix -Warray-bounds warning
radv: fix xfb query copy param ordering
zink: always unset vertex shader variant key data when changing last vertex stage
zink: add extra synchronization for buffer descriptor binds
zink: use device-local heap for sparse backing allocations
r300: Remove broken optimization in rc_transform_KILL
radeonsi/gfx8: use the proper dcc clear size
vbo/dlist: fix loopback crash
vbo/dlist: add vertices to incomplete primitives
radeonsi/gfx10: fix si_texture_get_offset for mipmapped tex
glapi: should not add alias function to static_data.py
aco: remove pack_half_2x16(a, 0) optimization
intel/fs: OpImageQueryLod does not support arrayed images as an operand
v3dv: Hotfix: Rename remaining V3DV_HAS_SURFACE->V3DV_USE_WSI_PLATFORM
radv: add drirc radv_disable_htile_layers and enable it for F1 2021
iris: unref syncobjs and free r/w dependencies array for slab entries
mesa: free idalloc storage for display lists
mesa: free vbo_save_vertex_list store prims
glsl/glcpp: make sure to expand new token after concatenation
venus: subtract appended header size in vn_CreatePipelineCache
Fix compilation on armv7l with gcc 11.2.0

(From OE-Core rev: 3cdb743ec048aa06c10e0da0fb3feb1ca740b6e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
6003f027af hdparm: upgrade 9.62 -> 9.63
Changelog:
=========
new --sanitize-overwrite-passes flag
applied "Plurals patch"

(From OE-Core rev: bfba997662ca92bac4d1106e223dd2ecc9b2f24e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
3fa9789dee libsdl2: upgrade 2.0.18 -> 2.0.20
0001-Fix-build-against-wayland-1.20.patch
removed since it is included in 2.0.20

License-Update: year updated to 2022.

Changelog:
=========
General:

SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int.
You can cast color data in SDL_PIXELFORMAT_RGBA32 format
(SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this parameter.
Improved accuracy of horizontal and vertical line drawing when using OpenGL
or OpenGLES
Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of line
drawing used, to select speed, correctness, and compatibility.
Fixed hotplug controller detection, broken in 2.0.18

(From OE-Core rev: 21de64185beb799aee04dc12ae84e3a60cc671a3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
Marek Vasut
348dd6d628 u-boot: upgrade 2021.10 -> 2022.01
(From OE-Core rev: d9ff458e88fe764686e4df31faff9e74d5c490b7)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
Kevin Hao
3446475c97 tune-cortexa73: Introduce cortexa73-crypto tune
The crypto extension is optional for the Cortex-A73 processor, so we
shouldn't enable the crypto by default for the cortexa73 tune.
Introduce the cortexa73-crypto for the processors which do have
the cryptography unit.

(From OE-Core rev: c16b31ebd626d8a314264605d0bc5ab008cddd8d)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
Michael Opdenacker
b8a4cec3f4 bitbake: doc: bitbake-user-manual: expand BB_HASHSERVE explanations
(Bitbake rev: 143070a647b7db902a68d81f0b488e45e4d3f6bb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:27:52 +00:00
Quentin Schulz
776fc5fc46 bitbake: doc: bitbake-user-manual: specify the URL to be used with SSH over git is different from git clone's
The URL expected by git fetcher when the SSH protocol is used differs
from the one given by Git servers to be used with the `git clone`
command.

Add a note making this specificity known to users.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(Bitbake rev: 81c09d434aed13fcfc4ba426ae6a0b849447eb5f)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 21:54:00 +00:00
Richard Purdie
88764cc5c8 expat: Drop unneeded libtool patch, we use cmake
This patch is old. We use cmake for building expat now and libtool isn't even
used. The upstream author asked questions about it and can clearly be dropped
so do so.

(From OE-Core rev: 2988a10ac4767ef8db21715124dda6f294448d2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 17:56:46 +00:00
Changqing Li
4974da63c7 pigz: fix one failure of command "unpigz -l"
Refer [1], "unpigz -l" failed with error:
$ ./unpigz -l test.txt.gz
compressed original reduced name
228799 209715200 99.9% test.txt
unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy)
unpigz: abort: internal threads error

or

$ ./unpigz -l test.txt.gz
unpigz: skipping: test.txt.gz unrecognized format
unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy)
unpigz: abort: internal threads error

[1] https://github.com/madler/pigz/issues/96

(From OE-Core rev: 856d9e07e60b6f85681782107934a1bdc12c6429)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 17:56:46 +00:00
Ross Burton
3b52dee71b lighttpd: backport a fix for CVE-2022-22707
Backport the fix for CVE-2022-22707, a buffer overflow in mod_extforward.

(From OE-Core rev: 7758596613cc442f647fd4625b36532f30e6129f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 17:56:46 +00:00
Ross Burton
40c56a5019 vim: update to include latest CVE fixes
Update the version to 4.2.4118, which incorporates the following CVE
fixes:

- CVE-2021-4187
- CVE-2022-0128
- CVE-2022-0156
- CVE-2022-0158

Also remove the explicit whitelisting of CVE-2021-3968 as this is now
handled with an accurate CPE specifying the fixed version.

(From OE-Core rev: 764519ad0da6b881918667ca272fcc273b56168a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 17:56:46 +00:00
Michael Opdenacker
e1ce6432f9 dev-manual: stop mentioning nightly builds
While nightly builds are still run, they only produce
test files and reports. They are no longer a solution
to use the latest code.

(From yocto-docs rev: ace9f81ade851bb1b0d98a050007fffbc62b938d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Michael Opdenacker
d8ddafdbff ref-manual: Drop TUNEABI, TUNEABI_WHITELIST, TUNEABI_OVERRIDE
Following their removal from openembedded-core

(From yocto-docs rev: bf98f5a15c33e75315cd14e653f253ef078da614)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Tim Orling
6d0dd8a635 ref-manual/classes.rst: add setuptools3-base
Add setuptools3-base class

Deprecate distutils3* classes.

[YOCTO #14610]

(From yocto-docs rev: 0e9838e5a2096932d081a9a05a25c4fa0d6dc714)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Tim Orling
9d9a50aa14 ref-manual/variables.rst: add SETUPTOOLS_*_ARGS
Add SETUPTOOLS_BUILD_ARGS variable which can be used to pass additional
arguments to `setup.py build`.

Add SETUPTOOLS_INSTALL_ARGS variable which can be used to pass
additional arguments to `setup.py install`.

[YOCTO #14610]

(From yocto-docs rev: 4e8c911b73f511f1fb7b557f12d5c87129bc2593)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Tim Orling
7018f99223 ref-manual/variables.rst: add SETUPTOOLS_SETUP_PATH
Add SETUPTOOLS_SETUP_PATH for setuptools3 class.

Deprecate DISTUTILS_SETUP_PATH and drop mention of ref-classes-setuptools3 as
that class has moved to new variable.

[YOCTO #14610]

(From yocto-docs rev: 6a314a9217206f572289b484e59076483391868c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Michael Opdenacker
fc30301d4c manuals: simplify references to class sections
Replace
":ref:`classname.bbclass <ref-classes-classname>`" section
by
":ref:`ref-classes-classname`" section
because each section has "classname.bbclass" as title,
therefore the result is the same.

(From yocto-docs rev: e3f438e4a71b155bd09bc7988c8e5626a063fde3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Michael Opdenacker
8dbd3a1757 migration-guides: prepare for release 3.5
(From yocto-docs rev: e0bef3c086645127b743d127b8f6e8925138b9dd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Richard Purdie
d34e86652f expat: Upgrade 2.4.2 -> 2.4.3
Primarily a security fix release which includes:

    CVE-2021-45960
    CVE-2021-46143
    CVE-2022-22822
    CVE-2022-22823
    CVE-2022-22824
    CVE-2022-22825
    CVE-2022-22826
    CVE-2022-22827

(From OE-Core rev: 9dbd9540f3e19d92ef38c8537792bd028ed174ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Tim Orling
8b4d785745 python3-hypothesis: upgrade 6.34.1 -> 6.35.0
6.35.0 - 2022-01-08¶
This release disallows using typing.ClassVar with from_type() and register_type_strategy().

Why? Because ClassVar can only be used during class definition. We don’t generate class attributes.

It also does not make sense as a runtime type on its own.

6.34.2 - 2022-01-05¶
This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy.

(From OE-Core rev: 836cec0b8096f157ae7051d34efbe637ff211617)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Kai Kang
310fe1261d speex: fix CVE-2020-23903
Backport patch to fix CVE-2020-23903.

CVE: CVE-2020-23903

(From OE-Core rev: b8f56e5e9eef32c1e01742f913e205d93548de1f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Kai Kang
63099553f6 multilib.bbclass: set rpm file color for 32-bit multilib image
The default rpm file color is 2 that Elf64 is preferred according to
OE-Core commit 56fa74497393a10f751d01c600c1936761e00294. For 32-bit
multilib image such as lib32-core-image-sato, Elf32 should be preferred.
Set it in multilib.bbclass.

(From OE-Core rev: 195f4a648251e53ed3070e060ad3e3f3832793e3)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Marek Vasut
bf28cf6825 bootchart2: Add missing python3-math dependency
Without this dependency, generating the bootchart may fail with:
"
ModuleNotFoundError: No module named 'random'
"

(From OE-Core rev: 487e9f16a00f895159b79f1865fe8b626b47ddc2)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Mingli Yu <mingli.yu@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Joshua Watt
85b520587c classes/native: Propagate dependencies to outhash
Native task outputs are directly run on the build system during the build
after being built. Even if the output of a native recipe doesn't change, a
change in one of its dependencies may cause a change in the output it
generates (e.g. rpm output depends on the output of its dependent zstd
library).

This can cause poor interactions with hash equivalence, since this
recipe's output-changing dependency is "hidden" and downstream tasks only
see that this recipe has the same outhash and therefore is equivalent.
This can result in different output in different cases and issues with
reproducible builds in parcular (e.g. rpm compression changes for the same
content).

To resolve this, unhide the output-changing dependency by adding it's
unihash to this tasks outhash calculation. Unfortunately, we don't know
specifically know which dependencies are output-changing, so we have to
add all of them.

[YOCTO #14685]

(From OE-Core rev: d6c7b9f4f0e61fa6546d3644e27abe3e96f597e2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:11 +00:00
Bruce Ashfield
02f87fc04e linux-yocto-rt/5.15: update to -rt22
Integrating the following commit(s) to linux-yocto-rt/5.15:

    799919ec2113 v5.15.5-rt22
    4745560a36e7 v5.15.3-rt21
    9b4d36e0fbeb v5.15.2-rt20
    d156320aca54 net: sched: gred: dynamically allocate tc_gred_qopt_offload
    d36603e0d213 v5.15.2-rt19
    7ddf3a205fa3 mm/vmalloc: Remove unused `cpu' variable.
    3f8e7f777049 v5.15.2-rt18
    7b0fd383bb9a printk: fixup -stable merge to -rt

(From OE-Core rev: 7a1a3dcae9f22a05baf11900231d28cf3d8f53ee)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
49c61fc872 linux-yocto/5.10: update to v5.10.91
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    df395c763ba0 Linux 5.10.91
    674071c9eb26 Input: zinitix - make sure the IRQ is allocated before it gets enabled
    ef81f7d406c2 ARM: dts: gpio-ranges property is now required
    f63fa1a0d4df ipv6: raw: check passed optlen before reading
    cf07884e6bec drm/amd/display: Added power down for DCN10
    10b9ccd0674d mISDN: change function names to avoid conflicts
    dd8a09cfbb99 atlantic: Fix buff_ring OOB in aq_ring_rx_clean
    c2f4bb251eb4 net: udp: fix alignment problem in udp4_seq_show()
    f82b48d1d86b ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
    8c87a83ef891 scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
    b798b677f94d usb: mtu3: fix interval value for intr and isoc
    498d77fc5e38 ipv6: Do cleanup if attribute validation fails in multipath route
    72b0d14a0a88 ipv6: Continue processing multipath route even if gateway attribute is invalid
    5a7d650bb181 power: bq25890: Enable continuous conversion for ADC at charging
    4f260ea5537d phonet: refcount leak in pep_sock_accep
    61952934608c rndis_host: support Hytera digital radios
    62cbde77d9c1 power: reset: ltc2952: Fix use of floating point literals
    998d157e3b2a power: supply: core: Break capacity loop
    16d8568378f9 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
    aa606b82cdfb net: ena: Fix error handling when calculating max IO queues number
    e7f5480978fd net: ena: Fix undefined state when tx request id is out of bounds
    2de3d961f8e7 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc
    4c34d5fd8c96 batman-adv: mcast: don't send link-local multicast to mcast routers
    f403b5f96e9a lwtunnel: Validate RTA_ENCAP_TYPE attribute length
    48d5adb08d60 ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route
    173bfa2782fa ipv6: Check attribute length for RTA_GATEWAY in multipath route
    914420a2a6c5 ipv4: Check attribute length for RTA_FLOW in multipath route
    a8fe915be6c2 ipv4: Check attribute length for RTA_GATEWAY in multipath route
    786a335fef18 ftrace/samples: Add missing prototypes direct functions
    c859c4de0bd7 i40e: Fix incorrect netdev's real number of RX/TX queues
    d0ad64438fb5 i40e: Fix for displaying message regarding NVM version
    32845aa60203 i40e: fix use-after-free in i40e_sync_filters_subtask()
    f7edb6b9438b sfc: The RX page_ring is optional
    2b3f34da0d79 mac80211: initialize variable have_higher_than_11mbit
    16e5cad6eca1 RDMA/uverbs: Check for null return of kmalloc_array
    a7c2cae997db netrom: fix copying in user data in nr_setsockopt
    beeb0fdedae8 RDMA/core: Don't infoleak GRH fields
    3ca132e6b065 iavf: Fix limit of total number of queues to active queues of VF
    396e3016905d i40e: Fix to not show opcode msg on unsuccessful VF MAC change
    7f13d14e563c ieee802154: atusb: fix uninit value in atusb_set_extended_addr
    7db1e245cb71 tracing: Tag trace_percpu_buffer as a percpu pointer
    760c6a625506 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()
    c1e2da4b3f72 selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
    384111e12367 f2fs: quota: fix potential deadlock

(From OE-Core rev: 13b53d922df1a53913fbe7a0dfbf2adaedfe5dfd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
40bec23ce0 linux-yocto/5.15: update to v5.15.14
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    d114b082bef7 Linux 5.15.14
    b8a1293e3850 drm/amd/pm: keep the BACO feature enabled for suspend
    19070d812e13 Revert "drm/amdgpu: stop scheduler when calling hw_fini (v2)"
    b228924bb619 Input: zinitix - make sure the IRQ is allocated before it gets enabled
    1917ace18375 ARM: dts: gpio-ranges property is now required
    2f66e0976b4a userfaultfd/selftests: fix hugetlb area allocations
    ec33da9ae072 ipv6: raw: check passed optlen before reading
    04d945934362 drm/amd/display: Added power down for DCN10
    9b1df8dab312 drm/amd/display: fix B0 TMDS deepcolor no dislay issue
    9964f0840a82 mISDN: change function names to avoid conflicts
    f55383e6b92b drm/amdgpu: put SMU into proper state on runpm suspending for BOCO capable platform
    3c196f056666 drm/amdgpu: always reset the asic in suspend (v2)
    fbabb82b11b4 drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume
    80f229009b59 atlantic: Fix buff_ring OOB in aq_ring_rx_clean
    cf8f0e76c4ce net: udp: fix alignment problem in udp4_seq_show()
    294f3fc9dc27 ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
    847050d40dc0 scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
    6ebb6853108f usb: mtu3: fix interval value for intr and isoc
    12a4c1092ae7 drm/amd/pm: Fix xgmi link control on aldebaran
    31d95ff41cdf drm/amdgpu: fix dropped backing store handling in amdgpu_dma_buf_move_notify
    4ed66cdc542f auxdisplay: charlcd: checking for pointer reference before dereferencing
    8a7520c49994 ipv6: Do cleanup if attribute validation fails in multipath route
    c1de618c95e9 ipv6: Continue processing multipath route even if gateway attribute is invalid
    5aec746bf7f2 power: bq25890: Enable continuous conversion for ADC at charging
    b4391e49ac1d drm/amdgpu: disable runpm if we are the primary adapter
    fa3d8456f7cd fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb
    9ca97a693aa8 phonet: refcount leak in pep_sock_accep
    d57da5185def net ticp:fix a kernel-infoleak in __tipc_sendmsg()
    75d840c0f5d7 gpio: gpio-aspeed-sgpio: Fix wrong hwirq base in irq handler
    7601a265696c rndis_host: support Hytera digital radios
    b381e0f98711 reset: renesas: Fix Runtime PM usage
    550acd770f9f power: reset: ltc2952: Fix use of floating point literals
    be816676f38b power: supply: core: Break capacity loop
    b0e72ba9e520 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
    800f02fa8a51 i2c: mpc: Avoid out of bounds memory access
    e24c6a48c6ea Revert "i2c: core: support bus regulator controlling in adapter"
    43fa0b3639c5 cgroup: Use open-time cgroup namespace for process migration perm checks
    50273128d640 cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv
    c6ebc3529884 cgroup: Use open-time credentials for process migraton perm checks
    247b6244d40e KVM: x86: Check for rmaps allocation
    a08275570392 EDAC/i10nm: Release mdev/mbase when failing to detect HBM
    3400aa7eda64 md/raid1: fix missing bitmap update w/o WriteMostly devices
    15fb002977f6 net: ena: Fix error handling when calculating max IO queues number
    c4c20dc24e09 net: ena: Fix wrong rx request id by resetting device
    bf8263c71420 net: ena: Fix undefined state when tx request id is out of bounds
    6511f8074b70 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc
    9b8bbe489ced batman-adv: mcast: don't send link-local multicast to mcast routers
    9f00a2a0c139 sctp: hold endpoint before calling cb in sctp_transport_lookup_process
    3c5c81d1e350 selftests: net: udpgro_fwd.sh: explicitly checking the available ping feature
    41844e68eb92 lwtunnel: Validate RTA_ENCAP_TYPE attribute length
    ca0097c543fc ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route
    00e8b9f313b2 ipv6: Check attribute length for RTA_GATEWAY in multipath route
    bb471784ca85 ipv4: Check attribute length for RTA_FLOW in multipath route
    72971eaad6ea ipv4: Check attribute length for RTA_GATEWAY in multipath route
    5cb0bd07125f ftrace/samples: Add missing prototypes direct functions
    61169d6c77de i40e: Fix incorrect netdev's real number of RX/TX queues
    7b177d34a123 i40e: Fix for displaying message regarding NVM version
    3f4c2ade4d65 i40e: fix use-after-free in i40e_sync_filters_subtask()
    8fbbc33cf018 sfc: The RX page_ring is optional
    03fb6db4ad61 mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh
    18b224910edc mac80211: initialize variable have_higher_than_11mbit
    0ea8bb0811ba RDMA/uverbs: Check for null return of kmalloc_array
    6716b40d162f netrom: fix copying in user data in nr_setsockopt
    21a18420ae2d Revert "net: usb: r8152: Add MAC passthrough support for more Lenovo Docks"
    e1e354771812 RDMA/core: Don't infoleak GRH fields
    607f126d4a21 iavf: Fix limit of total number of queues to active queues of VF
    fda95797fc50 i40e: Fix to not show opcode msg on unsuccessful VF MAC change
    deb65735b5b1 ieee802154: atusb: fix uninit value in atusb_set_extended_addr
    c44979ace49b Revert "RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow"
    21f8a3b110f2 tracing: Tag trace_percpu_buffer as a percpu pointer
    be134e7c5b38 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()
    3cf50a37286c selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
    ef3047fca111 fscache_cookie_enabled: check cookie is valid before accessing it

(From OE-Core rev: 2e9e7053ee875d6eb43ea8415e2656f1f40add87)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
2a703c6f7e linux-yocto/5.10: amdgpu: updates for CVE-2021-42327
Integrating the following commit(s) to linux-yocto/5.10:

    fd84b99a8ccb drm/amd/display: Don't allow partial copy_from_user
    024f4ff63d55 drm/amdgpu: Fix even more out of bound writes from debugfs

(From OE-Core rev: f5488466ea1b332a0bfc0d27dcc5378edd842d16)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
ec33cb876b lttng-modules: update to 2.13.1
Bumping lttng-modules to 2.13.1, which fixes the build against 5.16+
kernels.

We drop two previously backported patches.

The following commits are part of this update:

  8c0aec7e Version 2.13.1
  533556cd fix: mm: move kvmalloc-related functions to slab.h (v5.16)
  2f0087ab fix: block: don't call blk_status_to_errno in blk_update_request (v5.16)
  9b092ff2 fix: KVM: MMU: change tracepoints arguments to kvm_page_fault (v5.16)
  036297af fix: KVM: x86: Get exit_reason as part of kvm_x86_ops.get_exit_info (v5.16)
  a029f2a3 fix: isystem: delete global -isystem compile option (v5.16)
  d82de6f3 fix: block: move block-related definitions out of fs.h (v5.16)
  4fabf854 Fix: syscall tracing: missing trigger actions
  38b35aff Warn on event registration/unregistration failure
  e26f740b fix: implicit-int error in EXPORT_SYMBOL_GPL
  c570be0d fix: Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (v5.15)
  8be4c8a3 fix: cpu/hotplug: Remove deprecated CPU-hotplug functions. (v5.15)

(From OE-Core rev: 2edeebed4ff172f77e337af82fc1cddc681881df)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
044d0d4492 linux-yocto/5.15: fix arm defconfig warnings
Integrating the following commit(s) to linux-yocto/5.15:

    02bf23d26bc4 arm64: defconfig: cleanup config options
    05914e2c87e5 arm: defconfig: drop unused POWER_AVS option

(From OE-Core rev: 40e680de829cf0d394f0c10bb7363604b18a489b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Ross Burton
af01b73f3c oeqa/runtime/stap: rewrite test
There's no need to copy files to the target when stap can take the short
probe directly.

Add more has-package decorators for the kernel source and GCC symlinks.
Remove the test dependencies as it's not a hard dependency.

Change the probe to print a message with some minimal logic, and verify
that the message was correctly constructed in the output.

(From OE-Core rev: 3954dc857df1d2a7e559b4fd357b54f39cf7374a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Ross Burton
c1af5e3819 systemtap: fix vsprintf errors
In some configurations (such as 32-bit arm), using printf() causes
gcc errors.  Backport a patch from upstream to fix this.

(From OE-Core rev: 6340a6477ddf0fee6c18cf99262704a715491f60)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Jacob Kroon
b57407fbdf sstate: Preserve permissions when extracting tar archive
This is done by default when tar is run by the superuser, but for native
recipes the corresponding task is not run as root under pseudo, so pass
the flag explicitly.

Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 32f01e57e1e915e8121609fb48b0b0254e625957)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Khem Raj
f1af0c1f97 valgrind: Avoid accessing network in ptest task
Avoid calling docs validation and manpages validation to avoid it

(From OE-Core rev: 4ad8059ae0769285c7b837a62e1b76fbeef4c505)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Dmitry Baryshkov
f9f3e1bd3e go: fix building without SECURITY_LDFLAGS
Commit 9985b17a30bb ("go: correctly set debug-prefix-map and build
directory") has changed CGO_LDFLAGS to the manually crafted version of
LDFLAGS to strip out DEBUG_PREFIX_MAP contents.

However this manually crafted version includes ${SECURITY_LDFLAGS}.

If security_flags.inc is not included, the variable is not defined, thus
CGO_LDFLAGS will include the '${SECURITY_LDFLAGS}' literally. When
building the recipe, the build would break with the follwing message:

aarch64-linaro-linux-gcc: error: ${SECURITY_LDFLAGS}: No such file or directory

So, instead of manually specifying variable contents, perform the
expected action: filter offending arguments out of LDFLAGS.

Cc: Alexander Kanavin <alex.kanavin@gmail.com>
(From OE-Core rev: e7d2d68679c1980d9e889d96c3eab49589f5b832)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Richard Purdie
58aa9f8155 sanity: Drop TUNEABI, TUNEABI_WHITELIST, TUNEABI_OVERRIDE
These were added nearly a decade ago but there are no users in OE-Core. I
checked with the likely users and they seem to have no current usage either.
Therefore remove them.

If needed for some prebuilt library somewhere, they could be implemented
in the layer using them instead but I doubt these are in use any longer.

(From OE-Core rev: 95e196babc3c18dcf0aedfb03e85493c8ae54700)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Kamil Dziezyk
641149f449 grub-efi: Add xen_boot support when 'xen' is in DISTRO_FEATURES for aarch64
'xen-boot' module is available only for aarch64.

(From OE-Core rev: bfabc6d4f8742cc1fdeb49c180b0f78faf5739a2)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Peter Kjellerstedt
3383be190e systemd: Avoid a Python deprecation warning
This avoids the following warning:

  WARNING: .../meta/recipes-core/systemd/systemd_250.1.bb: Var
  <do_install>:1: DeprecationWarning: invalid escape sequence \$

seen when doing `devtool finish --force-patch-refresh systemd meta`.

(From OE-Core rev: 427ca80eb4ea6c607b00028adcc9302e29db1368)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Khairul Rohaizzat Jamaluddin
7e3955c3c6 epiphany: update 41.0 -> 41.3
Includes fix patches for epiphany CVE.

CVE: CVE-2021-45085 CVE-2021-45086 CVE-2021-45087 CVE-2021-45088

(From OE-Core rev: 1653e0bd6d26be67a9fd49392d82cf854706bc7b)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Kevin Hao
5867838ce7 tune-cortexa72: Drop the redundant cortexa72-crc tune
We have enabled the crc extension by default for cortexa72 in patch
("tune-cortexa72: Enable the crc extension by default for cortexa72"),
then the cortexa72-crc seems redundant. So drop it. We also rename the
cortexa72-crc-crypto to cortexa72-crypto. With these changes, it will
break the BSPs which used these two tunes, but it should be easy to fix.

(From OE-Core rev: 03cebdd7ef923a8ac5c8b7c12c7cefe7ca0158db)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Saul Wold
f73e636b0a create-spdx: Add kernel work-shared source
Since the kernel source is stored in work-shared, we need to add it
to the search path so the kernel and kernel-modules source code can
be found correctly.

(From OE-Core rev: 93a94890b9f2679945e96973937b209aa12302b7)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Saul Wold
d756b346f2 package: Add support for kernel stripping
Extend runstrip() to accept additional argument to enable
sharing it with the kernel do_strip() so that
KERNEL_IMAGE_STRIP_EXTRA_SECTIONS can be passed.

Since is_elf() understands kernel modules there is no need to keep a
seperate list for kernmodules or hardcode the values to runstrip.

(From OE-Core rev: e09a8fa931fe617afc05bd5e00dca5dd3fe386e8)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Saul Wold
987d30df5b kernel.bbclass: use common strip()
Re-use the runstrip() code from oe.packaging, for the kernel
stripping process. Since runstrip() is python the kernel do_strip()
need to be converted to Python also. The stripped kernel image
will be used for deployment in do_deploy(). This will allow the
package.bbclass to split an unstripped kernel binary for the debug
information and extended packagedata. The extended package data is
used by create-spdx.

(From OE-Core rev: e8d9caede5f08154ca615fdaba676b7a4ae05b01)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Kevin Hao
5ea171985c armv9a/tune: Add the support for the Neoverse N2 core
This adds the support for the Neoverse N2 core, even though the
Neoverse N2 core implements the Arm v9.0-A architecture, but the support
of it in GCC is based on the Arm v8.5-A architecture. Please see the
commit 50d9db203bc3 ("aarch64: Add support for Neoverse N2 CPU") in GCC
for more detail.

(From OE-Core rev: 37597397f03b6b0082a702147dc536ff8b2fa7a3)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Kevin Hao
2dfd80bce5 arch-armv8-5a.inc: Add tune include for armv8.5a
This adds support for the armv8.5a architecture and the crypto
extension.

(From OE-Core rev: 0cb1a6d9cb4c32526d79dad93c8053b3793053f8)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Kevin Hao
cdab88ed71 tune-cortexa72: Enable the crc extension by default for cortexa72
The crc extension is optional for the ARMv8.0 but is mandatory for the
cortexa72, so there is no reason not to enable it for the cortexa72
tune. With this change, the cortexa72-crc seems redundant. But we
had better to keep it to be compatible with the BSP which already used
that tune.

(From OE-Core rev: ca50267ab568d2f688844cb7c6cd867ed34168db)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Richard Purdie
4eea21b7ad classes: Only allow network in existing network accessing code
Use the newly added network task flag against tasks where network
access is expected. This is do_fetch, do_checkuri, do_testimage, do_testsdk
and do_testsdkext.

We can't disable networking in sstate tasks due to sstate downloads and
also so we can report hash equivalence to the server so network access
is enabled in sstate tasks.

Access within build-appliance do_image is also allowed due to the use
of pip, this is a poor example made rather obvious now and needs to be reworked.

Network access anywhere else in any other task isn't allowed.

(From OE-Core rev: 7ce1e88a3ad85bbb925bb9f7167dc0a5fd1c27f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:10:24 +00:00
Richard Purdie
15465422ec bitbake: runqueue: Drop BB_STAMP_POLICY/BB_STAMP_WHITELIST
The different stamp policies were poor versions of the siggen code and task
hashes, predating it and being used by packaged staging. They had many
limitations, hence their replacement. I'm not aware of any users of that
code any more so I believe it and the assoicated stamp whitelist variable
can simply be removed.

(Bitbake rev: 98407efc8c670abd71d3fa88ec3776ee9b5c38f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:10:24 +00:00
Richard Purdie
607f7b2844 bitbake: bitbake-worker: Add/support network task flag
This patch changes behaviour. After this change any task which does not
have the network flag set will have networking disabled on systems that
support that (kernel version dependent).

Add a "network" task specific flag which then triggers networking to
be enabled for this task, it is otherwise disabled.

This needs to happen before we enter the fakeroot environment of the task
due to the need for the real uid/gid which we save in the parent process.

(Bitbake rev: 0746b6a2a32fec4c18bf1a52b1454ca4c04bf543)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:10:24 +00:00
Richard Purdie
60d25f278c bitbake: utils: Add disable_network function
Add a function which uses the unshare glibc call to disable networking
in the current process. This doesn't work on older distros/kernels
but will on more recent ones so for now we simply ignore the cases we
can't execute on. uid/gid can be passed in externally so this can
work with pseudo/fakeroot contexts.

(Bitbake rev: 9d6341df611a1725090444f6f8eb0244aed08213)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:10:24 +00:00
Bruce Ashfield
6a2dfdf27a poky: set default kernel to 5.15
5.14 is no longer actively maintained, so we bump our default
to the 5.15 LTS.

(From meta-yocto rev: 70b3acd078ee2b09a541fc6c4e295b5c2ab386a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Bruce Ashfield
7031fe7223 yocto-bsp/5.14: drop recipes
5.14 has been removed from core, so we drop our bbappend. 5.15
is now the default kernel version for the reference BSPs.

(From meta-yocto rev: fab1dac8fc7208675ced6386690bcf4249088675)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Bruce Ashfield
2fb27b873f yocto-bsp: change default to 5.15
5.14 has been removed from core, so we change our default version
to the 5.15 LTS kernel.

(From meta-yocto rev: a0241305e3785930f806529fd1b1d1a3831203d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Alexander Kanavin
0089f71043 ruby: update 3.0.3 -> 3.1.0
Turn on "link external modules statically" option
as otherwise ruby installer tries to do additional
building inside installed module directories in do_install
which fails horribly.

License-Update: additional MIT/BSD items

(From OE-Core rev: 4d4485442830bb52b152f0419f4ff9f1d581d46a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Alexander Kanavin
fa7dd5d046 python3: drop unneeded multiprocessing module patch
pthread has been merged into the main libc library
(and was never separate in musl), so separate linking
for it is no longer needed.

I ran the reproducing sequence on qemux86, qemux86_64 and same targets with musl,
and it went fine:

root@qemux86:~# python3
Python 3.10.0 (default, Oct  4 2021, 17:55:55) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
>>> pool_sema = multiprocessing.BoundedSemaphore(value=1)
>>> pool_sema.acquire()
True
>>> pool_sema.release()
>>>

(From OE-Core rev: 2eabd3b611f4afa5eafa4490b6b0ef7578b742de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
90bb3644cc rootfs_rpm.bbclass: distutils -> sysconfig module
Change a comment to reference our custom changes to the
sysconfig module, as dnf no longer uses distutils.

[YOCTO #14610]

(From OE-Core rev: b4e351c67cd6af9cabac70cddb67129ca2590222)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
26da78a7f5 python3native.bbclass: distutils -> sysconfig
In the comment it says we patch distutils modules, but we now are
patching sysconfig and not using distutils.

[YOCTO #14610]

(From OE-Core rev: 4f196b26d80305366d06ad51f44dd26ce81bea16)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
fbc8abea31 dnf: drop python3-distutils dependency
Upstream dropped the now deprecated distutils:
18995d65 Remove distutils which are deprecated in python3.10 (RhBug:1950229)

Usage was replaced with sysconfig, which is in python3-core

[YOCTO #14610]

(From OE-Core rev: 93e9b006007ef1afc79c45b48fd92c9e384ff6cb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
7b43703795 waf.bbclass: drop usage of distutils
Refactor to use bb.utils.vercmp_string_op() instead of StrictVersion
from distutils

[YOCTO #14610]

(From OE-Core rev: d4d57588eb7fcd25caf51450e0d19fc58e35a19d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
fe86a14649 recipetool/create_buildsys_python.py: less distutils
'distutils' is deprecated in Python 3.10 with removal in Python 3.12
(~October 2023). Replace 'distutils.command.build_py' with
'setuptools.command.build_py'.

To avoid an AttributeError, we call super().__init__() which provides
the missing 'distribution' attribute. However, for some reason, __init__()
in 'setuptools.command.build_py.build_py' class requires a 'dist' positional
argument which must be a 'Distribution' instance. It is not clear why
'distutils.command.build_py.build_py' class does not require this.

There is still a check which decides to inherit setuptools3 vs distutils3
that will need to be refactored when we add pyproject.toml and setup.cfg
support for more modern PEP 517 packaging.

Once distutils3.bbclass is dropped, any recipe inheriting distutils3
will throw a parsing error. The plan is to move distutils*.bbclasses to
meta-python. However if meta-python is not in bblayers, the parsing
error would still occur.

[YOCTO #14610]

(From OE-Core rev: 619a3eb1266459daf16e10386113e9201fbf9cf5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
c92ab86550 gstreamer1.0-python: inherit setuptools3-base
Drop distutils3-base usage as it is now deprecated.

[YOCTO #14610]

(From OE-Core rev: 74ed892dbcc074ba7208f3c5bf1d7c094fbcb5e3)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
cb71f2ee5c python3-setuptools: do not depend on distutils
No longer depend on python3-distutils, current versions of setuptools
vendor as _distutils.

[YOCTO #14610]

(From OE-Core rev: 2b6735f648744c42484afec6edab6d5e130111e2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
d24848e39a python3-pygobject: setuptools instead of distuils
[YOCTO #14610]

(From OE-Core rev: 3c2fd45eacc15d2fd3ff1ae82e98cb6f6bed5af7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
33f288e432 bind: inherit setuptools3-base instead of distutils
[YOCTO #14610]

(From OE-Core rev: 1b3c11b956085e144140a36e165a9c8fc880402a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
ee4d215eb5 btrfs-tools: use setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: ee4c5b3ac3de168409f39f02d2b68b8d20bcefb2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
22305593e8 librepo: inherit setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: b6cb9f033e6ea5dc3009dc76a4a297905913410a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
ce2a0fddaa createrepo-c: inherit setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: d95aa31179d208d528c118642f5932d467129653)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
76624204bd libcomps: inherit setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: 93c019bc95e2ea92b2e4a6e45b25c2323c4423e1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
6e0f1aac4c systemtap: use setuptools-base not distutils
[YOCTO #14610]

(From OE-Core rev: 83e4586ad64218a75b760d748e47ba4a4a07f8e9)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
a3701532af python3-pip: inherit setuptools3 not distuils3
[YOCTO #14610]

(From OE-Core rev: 42b752e5dd8d6fab4aecad213b9868c3784df5ed)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
15ad5e730f gpgme: inherit setuptools-base not distuils
What was distutils-common-base has been merged into setuptools3-base,
since we no longer need to support python2 and python3.

[YOCTO #14610]

(From OE-Core rev: 4ca72e4e04841571ee42a838ec14f6b519c54c1e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
920712aaac python3-dbus: inherit setuptools3-base not distuils
[YOCTO #14610]

(From OE-Core rev: 61b987edbbcdd85cf6dac4b83c16b03332e412de)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
e3c5f6cace python3-cython: DISTUTILS_* -> SETUPTOOLS_*
Refactor to new SETUPTOOLS_* variables

[YOCTO #14610]

(From OE-Core rev: e30811c68906d35cd35cf03f5814a9a40fa45594)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
a4a603e010 libdnf: inherit setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: d1ba5b815f16c183af143ce1586daa4b18d91c10)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
80c71f307f dnf: inherit setuptools3-base instead of distutils
[YOCTO #14610]

(From OE-Core rev: f1b1563347259a66e39d1642694ec15b8f07caec)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
458f379489 setuptools3: refactor for no distutils bbclasses
Add setuptools3-base.bbclass as a re-usable starting point similar to
what used to be distutils-common-base.bbclass and disutils3-base.bbclass.

We no longer need to support python2, so no need for a
setuptools-common-base.bbclass.

Refactor setuptools3.bbclass to use setuptools3-base.bbclass instead of
the distulis*.bbclasses.

(From OE-Core rev: ca73393a36c4144662ea8570f904154188e9815a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
5e36659ee3 classes/distutils-*: add warning of deprecation
distutils has been deprecated in Python 3.10 and will be removed in
Python 3.12 (predicted release date October 2023).

Add a warning now that recommends using the roughly equivalent
setuptools-* classes.

[YOCTO #14610]

(From OE-Core rev: 54b455049ee94c01c78b31b6c744c8e32b5b7737)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Richard Purdie
f799d9a3b0 buildtools-installer: Update to use 3.4
This updates buildtools to use the tarball from the 3.4 release which
contains some bug fixes and is what the autobuilder currently uses for
testing on older distros.

(From OE-Core rev: 7479861c60a1c205b9502c1a811ac3a9dc51cd07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Max Krummenacher
0ce8ea9ae0 libsdl2: fix build if egl.pc sets macros in cflags
(From OE-Core rev: 59b583fa3f10fd82d11ccc5811c61a4ff8f14de6)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
He Zhe
72039934f5 linux-yocto-dev: Set KBRANCH with =
The "?=" assignment to KBRANCH in kernel-yocto.bbclass is selected prior to
the one in this recipe and makes it "master" as a result.

Change the KBRANCH assignment back to "=" as how it was done before.

(From OE-Core rev: c7a1004c7f7e86506ccd7d6d40f148931096461a)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
020b3b89d5 linux-yocto: drop 5.14 recipes
5.14 is EOL upstream on korg, so we drop our 5.14 recipes
from master. 5.10 and 5.15 + the dev kernel continue to be
active.

(From OE-Core rev: 2801b02064387f92cfb3d44aef21d30a237acb9e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
51c1d24805 conf/machine: bump qemu preferred versions to 5.15
5.14 has been removed from the active kernel list, so we make
5.15 the new default.

(From OE-Core rev: 24fb6a22332f746e3bef89ff8e5719838f0ed8b5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
d9e0a6b999 linux-yocto/5.10: update to v5.10.90
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

d3e491a20d15 Linux 5.10.90
8c15bfb36a44 bpf: Add kconfig knob for disabling unpriv bpf by default
d8a5b1377bf6 perf script: Fix CPU filtering of a script's switch events
2386e81a1d27 net: fix use-after-free in tw_timer_handler
34087cf96046 Input: spaceball - fix parsing of movement data packets
9f329d0d6c91 Input: appletouch - initialize work before device registration
2a4f551dec1a scsi: vmw_pvscsi: Set residual data length conditionally
1cb8444f3114 binder: fix async_free_space accounting for empty parcels
a6e26251dd3a usb: mtu3: set interval of FS intr and isoc endpoint
3b6efe0b7ba0 usb: mtu3: fix list_head check warning
f10b01c48f85 usb: mtu3: add memory barrier before set GPD's HWO
1c4ace3e6b85 usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.
1933fe8ce712 xhci: Fresco FL1100 controller should not have BROKEN_MSI quirk set.
b8553330a077 drm/amdgpu: add support for IP discovery gc_info table v2
28863ffe21ff drm/amdgpu: When the VCN(1.0) block is suspended, powergating is explicitly enabled
a0f3ac399ef5 uapi: fix linux/nfc.h userspace compilation errors
818c9e0a04df nfc: uapi: use kernel size_t to fix user-space builds
8d31cbab4c29 i2c: validate user data in compat ioctl
51c94d8fbd09 fsl/fman: Fix missing put_device() call in fman_port_probe
920932b20e0c net/ncsi: check for error return from call to nla_put_u32
610af55f9fbe selftests/net: udpgso_bench_tx: fix dst ip argument
78503589b1e0 net/mlx5e: Fix wrong features assignment in case of error
61146008087a ionic: Initialize the 'lif->dbid_inuse' bitmap
b7c9a1427b32 igc: Fix TX timestamp support for non-MSI-X platforms
e8a5988a85c7 net/smc: fix kernel panic caused by race of smc_sock
97c87c1db9ff net/smc: don't send CDC/LLC message if link not ready
99f19566b1c4 net/smc: improved fix wait on already cleared link
e553265ea564 NFC: st21nfca: Fix memory leak in device probe and remove
8d70dc0eecf0 net: lantiq_xrx200: fix statistics of received bytes
7ef89bd1e8f1 net: ag71xx: Fix a potential double free in error handling paths
40d36186913b net: usb: pegasus: Do not drop long Ethernet frames
a67becdaa8ad net/smc: fix using of uninitialized completions
769d14abd35e sctp: use call_rcu to free endpoint
13c1bf43b674 selftests: Calculate udpgso segment count without header adjustment
abe74fb43378 udp: using datalen to cap ipv6 udp max gso segments
5e6ad649e927 net/mlx5e: Fix ICOSQ recovery flow for XSK
73665165b64a net/mlx5e: Wrap the tx reporter dump callback to extract the sq
4cd1da02f0c3 net/mlx5: DR, Fix NULL vs IS_ERR checking in dr_domain_init_resources
fcb32eb3d04d scsi: lpfc: Terminate string in lpfc_debugfs_nvmeio_trc_write()
4833ad4908a1 selinux: initialize proto variable in selinux_ip_postroute_compat()
ec941a2277a1 recordmcount.pl: fix typo in s390 mcount regex
a0e82d5ef992 memblock: fix memblock_phys_alloc() section mismatch error
7da855e93964 platform/x86: apple-gmux: use resource_size() with res
d01e9ce1af61 parisc: Clear stale IIR value on instruction access rights trap
0643d9175dc6 tomoyo: use hwight16() in tomoyo_domain_quota_is_ok()
e2048a1f9186 tomoyo: Check exceeded quota early in tomoyo_domain_quota_is_ok().
210c7c6908f3 Input: i8042 - enable deferred probe quirk for ASUS UM325UA
bb672eff7447 Input: i8042 - add deferred probe support

(From OE-Core rev: ada52c924b8033939a448d8cedfc4e587bfdbc46)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
7d56ebcb4b linux-yocto/5.15: update to v5.15.13
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

734eb1fd2073 Linux 5.15.13
bc5fce3dff9a perf scripts python: intel-pt-events.py: Fix printing of switch events
632ee8a1786a perf script: Fix CPU filtering of a script's switch events
90d273381bfb perf intel-pt: Fix parsing of VM time correlation arguments
47b5d0a7532d fs/mount_setattr: always cleanup mount_kattr
08eacbd141e2 net: fix use-after-free in tw_timer_handler
ffe4a1ba1a82 mm/damon/dbgfs: fix 'struct pid' leaks in 'dbgfs_target_ids_write()'
466267ced87d Input: spaceball - fix parsing of movement data packets
e79ff8c68acb Input: appletouch - initialize work before device registration
90ffed2d5e0d scsi: vmw_pvscsi: Set residual data length conditionally
17691bada6b2 binder: fix async_free_space accounting for empty parcels
90d2beed5e75 nitro_enclaves: Use get_user_pages_unlocked() call to handle mmap assert
0c823e0b4697 usb: mtu3: set interval of FS intr and isoc endpoint
249ddfbe0057 usb: mtu3: fix list_head check warning
dace4123e304 usb: mtu3: add memory barrier before set GPD's HWO
ebef2aa29f37 usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.
81f8de4b6af6 xhci: Fresco FL1100 controller should not have BROKEN_MSI quirk set.
0f591d17e36e drm/amd/display: Changed pipe split policy to allow for multi-display pipe split
94ba5b0fb52d drm/amdgpu: add support for IP discovery gc_info table v2
97fd2b6c0340 drm/amdgpu: When the VCN(1.0) block is suspended, powergating is explicitly enabled
2ee1296e0655 drm/nouveau: wait for the exclusive fence after the shared ones v2
e63109384796 uapi: fix linux/nfc.h userspace compilation errors
7b006d5a5aad nfc: uapi: use kernel size_t to fix user-space builds
f68599581067 i2c: validate user data in compat ioctl
17f5a2bc2ffe fsl/fman: Fix missing put_device() call in fman_port_probe
20426341c071 selftests: net: using ping6 for IPv6 in udpgro_fwd.sh
6eb92fb14689 net/ncsi: check for error return from call to nla_put_u32
62320f472fc2 net: bridge: mcast: fix br_multicast_ctx_vlan_global_disabled helper
5943eb7bbac3 selftests: net: Fix a typo in udpgro_fwd.sh
676345fa9c55 selftests/net: udpgso_bench_tx: fix dst ip argument
f1157fe47992 net: bridge: mcast: add and enforce startup query interval minimum
a22ac8009f7e net: bridge: mcast: add and enforce query interval minimum
a780f0dd2507 net/mlx5e: Fix wrong features assignment in case of error
30a26a8c506f ionic: Initialize the 'lif->dbid_inuse' bitmap
a3dffd1d0677 drm/amd/display: Set optimize_pwr_state for DCN31
6af58ce9307f drm/amd/display: Send s0i2_rdy in stream_count == 0 optimization
a87eb54df52f igc: Fix TX timestamp support for non-MSI-X platforms
10597585d793 igc: Do not enable crosstimestamping for i225-V models
b85f751d71ae net/smc: fix kernel panic caused by race of smc_sock
85ce25935e06 net/smc: don't send CDC/LLC message if link not ready
238920381b89 NFC: st21nfca: Fix memory leak in device probe and remove
c1babfe1b810 net: lantiq_xrx200: fix statistics of received bytes
c903a963b7e6 net: ag71xx: Fix a potential double free in error handling paths
0d82faa347a1 net: usb: pegasus: Do not drop long Ethernet frames
cc70cbd3b155 net/smc: fix using of uninitialized completions
75799e71df1d sctp: use call_rcu to free endpoint
df06c8dd7aca selftests: Calculate udpgso segment count without header adjustment
027282344397 udp: using datalen to cap ipv6 udp max gso segments
07f16b17416a net/mlx5e: Delete forward rule for ct or sample action
aa584ad8fa29 net/mlx5e: Use tc sample stubs instead of ifdefs in source file
12813ba11bf0 net/mlx5e: Fix ICOSQ recovery flow for XSK
144dbcc14546 net/mlx5e: Fix interoperability between XSK and ICOSQ recovery flow
07f13d58a8ec net/mlx5e: Wrap the tx reporter dump callback to extract the sq
219419510c4e net/mlx5: Fix tc max supported prio for nic mode
5da639db8b71 net/mlx5: Fix SF health recovery flow
c0cc069899fb net/mlx5: Fix error print in case of IRQ request failed
4595dffccfa5 net/mlx5: DR, Fix NULL vs IS_ERR checking in dr_domain_init_resources
a68d72d899a2 scsi: lpfc: Terminate string in lpfc_debugfs_nvmeio_trc_write()
172fc0a7d7ab selinux: initialize proto variable in selinux_ip_postroute_compat()
f5cb610fa3d2 efi: Move efifb_setup_from_dmi() prototype from arch headers
5677e0772364 powerpc/ptdump: Fix DEBUG_WX since generic ptdump conversion
fc738764c9fa recordmcount.pl: fix typo in s390 mcount regex
919f5678bae1 ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2
cce476954401 ALSA: hda: intel-sdw-acpi: harden detection of controller
62f0a61fcb8a memblock: fix memblock_phys_alloc() section mismatch error
ea48bffecc3e platform/x86: apple-gmux: use resource_size() with res
6964e81f11ce platform/mellanox: mlxbf-pmc: Fix an IS_ERR() vs NULL bug in mlxbf_pmc_map_counters
e96373f0a5f4 parisc: Clear stale IIR value on instruction access rights trap
0d76daf2013c net/sched: Extend qdisc control block with tc control block
80176f65fa28 tomoyo: use hwight16() in tomoyo_domain_quota_is_ok()
3fe6a63b5dbd tomoyo: Check exceeded quota early in tomoyo_domain_quota_is_ok().
e97d5549f842 Input: i8042 - enable deferred probe quirk for ASUS UM325UA
dd33054e4c18 Input: i8042 - add deferred probe support

(From OE-Core rev: bf71dd30508a612a08de14eaa3f26ac93990f3b8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
7fcf066e41 linux-yocto/5.15/cfg: add kcov feature fragment
Integrating the following commit(s) to linux-yocto:

41721be8a03 cfg/debug: add kcov kernel configs

(From OE-Core rev: 399032f7fb277aa229acf784c40bc44e693c21a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
1c610fab28 linux-yocto/5.10/cfg: add kcov feature fragment
Integrating the following commit(s) to linux-yocto:

41721be8a03 cfg/debug: add kcov kernel configs

(From OE-Core rev: 6a11ed0910a9ed231bc3c4a9ee532358014ce535)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
85afa08900 linux-yocto/5.15: fix arm 32bit -rt warnings
Integrating the following commit(s) to:

41e5b01b59c preempt-rt.scc: arm should come after ftrace
6fe0a923260 drivers-zynq.cfg: update CONFIG_NET_CADENCE option

(From OE-Core rev: 1bc502f676d1f9a37c6869d154e75fbf60957e72)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
a9f8fc86f3 linux-yocto/5.14: fix arm 32bit -rt warnings
Integrating the following commit(s):

f9e349e1745 preempt-rt.scc: arm should come after ftrace
25f5db372ac drivers-zynq.cfg: update CONFIG_NET_CADENCE option

(From OE-Core rev: 704720e28f67e880998d4dab85b366cb7f1a4ce3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
f535d2352c linux-yocto/5.15: update to v5.15.12
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

25960cafa06e Linux 5.15.12
53ccdc73eeda phonet/pep: refuse to enable an unbound pipe
3cb5ae77799e tun: avoid double free in tun_free_netdev
03d00f7f1815 hamradio: improve the incomplete fix to avoid NPD
cb6c99aedd2c hamradio: defer ax25 kfree after unregister_netdev
a8e4a64cdc97 ax25: NPD bug when detaching AX25 device
f547b0f8f3ce r8152: sync ocp base
5cc8813c4966 hwmon: (lm90) Do not report 'busy' status bit as alarm
722fc45be049 hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681
fb563baa3eb8 pinctrl: mediatek: fix global-out-of-bounds issue
aa50406f36a1 ASoC: rt5682: fix the wrong jack type detected
46b3fe1eb2b7 ASoC: SOF: Intel: pci-tgl: add ADL-N support
d0fa8c252956 ASoC: SOF: Intel: pci-tgl: add new ADL-P variant
d9ad0ae8bfa0 ASoC: tas2770: Fix setting of high sample rates
cc71a723f3d8 Input: goodix - add id->model mapping for the "9111" model
efaa327b4146 Input: elants_i2c - do not check Remark ID on eKTH3900/eKTH5312
70750056620b Input: iqs626a - prohibit inlining of channel parsing functions
2f06c8293d27 kfence: fix memory leak when cat kfence objects
ca38833c915e arm64: dts: lx2160a: fix scl-gpios property name
0ae519ecbbdb KVM: VMX: Fix stale docs for kvm-intel.emulate_invalid_guest_state
35f9ff45ee5c netfs: fix parameter of cleanup()
a8a9d753edd7 f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
91e94e42f6fc tee: optee: Fix incorrect page free bug
330c6117a82c mm/damon/dbgfs: protect targets destructions with kdamond_lock
c691e7575eff mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page()
7a77e22fde63 mm, hwpoison: fix condition in free hugetlb page path
6b2cdcc8f555 mm: mempolicy: fix THP allocations escaping mempolicy restrictions
c1d1ec4db5f7 mac80211: fix locking in ieee80211_start_ap error path
a2c144d17623 ksmbd: disable SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1
f43ba86a8211 ksmbd: fix uninitialized symbol 'pntsd_size'
89d0ffb4bb96 ksmbd: fix error code in ndr_read_int32()
c99513dffd36 ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
c7814569b387 mmc: mmci: stm32: clear DLYB_CR after sending tuning command
c0db06fd0993 mmc: core: Disable card detect during shutdown
9d93c863d04f mmc: meson-mx-sdhc: Set MANUAL_STOP for multi-block SDIO commands
46e2fc260543 mmc: sdhci-tegra: Fix switch to HS400ES mode
e5dd3e61baed gpio: dln2: Fix interrupts when replugging the device
c1ce3c410038 pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines
b9d7c7a5bf6e KVM: VMX: Wake vCPU when delivering posted IRQ even if vCPU == this vCPU
e4e4e7cb2298 KVM: VMX: Always clear vmx->fail on emulation_required
543bfbcb5cf5 KVM: nVMX: Synthesize TRIPLE_FAULT for L2 if emulation is required
d884eefd75cc KVM: x86/mmu: Don't advance iterator after restart due to yielding
5dea76f5da65 KVM: x86: Always set kvm_run->if_flag
9ca1324755f1 platform/x86: intel_pmc_core: fix memleak on registration failure
a42c41be8324 platform/x86: amd-pmc: only use callbacks for suspend
9ede07c4af14 x86/pkey: Fix undefined behaviour with PKRU_WD_BIT
492eb7afe858 tee: handle lookup of shm with reference count 0
c576d7a197b7 parisc: Fix mask used to select futex spinlock
7c6567979c82 parisc: Correct completer in lws start
5aae769a0ef7 ipmi: fix initialization when workqueue allocation fails
77a7311ca167 ipmi: ssif: initialize ssif_info->client early
7232a5941d3f ipmi: bail out if init_srcu_struct fails
7f7f61042f70 Input: atmel_mxt_ts - fix double free in mxt_read_info_block
6084a6c1ca7f ASoC: tegra: Restore headphones jack name on Nyan Big
f7fe9d303445 ASoC: tegra: Add DAPM switches for headphones and mic jack
8e9b8b8a8ff2 ASoC: meson: aiu: Move AIU_I2S_MISC hold setting to aiu-fifo-i2s
88b4fbd6348a ALSA: hda/realtek: Fix quirk for Clevo NJ51CU
417e6ee4df64 ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
0896c97e6657 ALSA: hda/realtek: Add new alc285-hp-amp-init model
3934aa1259d9 ALSA: hda/realtek: Amp init fixup for HP ZBook 15 G6
2e9cd9ff997f ALSA: hda/hdmi: Disable silent stream on GLK
b398fcbe4de1 ALSA: rawmidi - fix the uninitalized user_pversion
3fd58303b05e ALSA: drivers: opl3: Fix incorrect use of vp->state
fdaa60d900a7 ALSA: jack: Check the return value of kstrdup()
28b03ec2c0c5 x86/boot: Move EFI range reservation after cmdline parsing
f95fcac5d66a Revert "x86/boot: Pull up cmdline preparation and early param parsing"
70e7705b0230 kernel/crash_core: suppress unknown crashkernel parameter warning
4a34b51ea99b platform/x86/intel: Remove X86_PLATFORM_DRIVERS_INTEL
50f27a29d758 compiler.h: Fix annotation macro misplacement with Clang
0cd3ef801004 uapi: Fix undefined __always_inline on non-glibc systems
8a351388b295 ARM: 9160/1: NOMMU: Reload __secondary_data after PROCINFO_INITFUNC
afda22fea766 hwmon: (lm90) Drop critical attribute support for MAX6654
9d21029e7199 hwmon: (lm90) Add basic support for TI TMP461
983084e19aeb hwmon: (lm90) Introduce flag indicating extended temperature support
d105f30bea91 hwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations
4b8f0e940972 hwmon: (lm90) Fix usage of CONFIG2 register in detect function
79c6d4fa1be1 pinctrl: bcm2835: Change init order for gpio hogs
dfd5b60b5342 Input: elantech - fix stack out of bound access in elantech_change_report_id()
b480d5f42d45 net: stmmac: dwmac-visconti: Fix value of ETHER_CLK_SEL_FREQ_SEL_2P5M
f80527200d01 r8152: fix the force speed doesn't work for RTL8156
b8871c6734d8 net: bridge: fix ioctl old_deviceless bridge argument
1c66ea39c6c4 net: bridge: Use array_size() helper in copy_to_user()
be2473e5f377 net: stmmac: ptp: fix potentially overflowing expression
d2269ae48598 veth: ensure skb entering GRO are not cloned.
20fb0dc35bf9 io_uring: zero iocb->ki_pos for stream file types
5cf03976e1f0 asix: fix wrong return value in asix_check_host_enable()
d259f621c859 asix: fix uninit-value in asix_mdio_read()
d00726b7061c sfc: falcon: Check null pointer of rx_queue->page_ring
20c3efcca612 sfc: Check null pointer of rx_queue->page_ring
8307c1ecd366 net: ks8851: Check for error irq
98a5242e82f2 drivers: net: smc911x: Check for error irq
643c89669e31 fjes: Check for error irq
a038c504f6f5 bonding: fix ad_actor_system option setting to default
1f0d95fb3755 gpio: virtio: remove timeout
6b3f7e4b10f3 ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module
33385aded71e igb: fix deadlock caused by taking RTNL in RPM resume path
b99c71f90978 net: skip virtio_net_hdr_set_proto if protocol already set
8ba353f553da net: accept UFOv6 packages in virtio_net_hdr_to_skb
0249a4b8a554 inet: fully convert sk->sk_rx_dst to RCU rules
98a8e5c20027 ipv6: move inet6_sk(sk)->rx_dst_cookie to sk->sk_rx_dst_cookie
8e096cffc6d3 tcp: move inet->rx_dst_ifindex to sk->sk_rx_dst_ifindex
e69eacf74e15 qlcnic: potential dereference null pointer of rx_queue->page_ring
5c553a0cd126 net: marvell: prestera: fix incorrect structure access
da3feb8a9baf net: marvell: prestera: fix incorrect return of port_find
ad6d20da2cfb ice: xsk: return xsk buffers back to pool when cleaning the ring
c1c36df0b0a5 ice: Use xdp_buf instead of rx_buf for xsk zero-copy
ef73e3b650b7 ARM: dts: imx6qdl-wandboard: Fix Ethernet support
406b7337d6bc netfilter: fix regression in looped (broad|multi)cast's MAC handling
9d558e5f0d6f netfilter: nf_tables: fix use-after-free in nft_set_catchall_destroy()
2eb1cac16bc7 RDMA/hns: Replace kfree() with kvfree()
aefcc25f3a0c IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
c41b98070392 RDMA/hns: Fix RNR retransmission issue for HIP08
9b0ed41b25e2 ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent()
71d07ebc5000 drm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf
11bf802877bf ucounts: Fix rlimit max values check
3121b5bff903 spi: change clk_disable_unprepare to clk_unprepare
512dbc1a09ac bus: sunxi-rsb: Fix shutdown
115a291395df arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode
f4321ac030b5 PM: sleep: Fix error handling in dpm_prepare()
eabc0aab98e5 NFSD: Fix READDIR buffer overflow
b1712a691bbb HID: potential dereference of null pointer
3c431e19ad70 HID: holtek: fix mouse probing
a65ac9d23276 selftests: KVM: Fix non-x86 compiling
49c29e13fcd6 ext4: check for inconsistent extents between index and leaf block
f71ab21b1a28 ext4: check for out-of-order index extents in ext4_valid_extent_entries()
02f825cf0255 ext4: prevent partial update of the extent blocks
fedeb1b2c8e6 net: usb: lan78xx: add Allied Telesis AT29M2-AF
1d1c25233a29 arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd
fb6ad5cb3b67 Linux 5.15.11
bd926d189210 xen/netback: don't queue unlimited number of packages
88449dbe6203 xen/netback: fix rx queue stall detection
153d1ea32722 xen/console: harden hvc_xen against event channel storms
a29c8b5226ed xen/netfront: harden netfront against event channel storms
caf9b51829a5 xen/blkfront: harden blkfront against event channel storms
ffbd663ebac9 Revert "xsk: Do not sleep in poll() when need_wakeup set"
581b09795199 selftests/damon: test debugfs file reads/writes with huge count
a272f990cb26 bus: ti-sysc: Fix variable set but not used warning for reinit_modules
11053a021937 io-wq: drop wqe lock before creating new worker
a96ac0688acb rcu: Mark accesses to rcu_state.n_force_qs
4b4e5bbf9386 io-wq: check for wq exit after adding new worker task_work
024f9c7cd3d8 io-wq: remove spurious bit clear on task_work addition
dfc3fff63793 scsi: scsi_debug: Sanity check block descriptor length in resp_mode_select()
308514764593 scsi: scsi_debug: Fix type in min_t to avoid stack OOB
47d11d35203b scsi: scsi_debug: Don't call kcalloc() if size arg is zero
d2ccdd4e4efa ovl: fix warning in ovl_create_real()
4658f2a9b336 fuse: annotate lock in fuse_reverse_inval_entry()
8c6fdf62bfe1 media: mxl111sf: change mutex_init() location
403716741c6c USB: core: Make do_proc_control() and do_proc_bulk() killable
303644fe7e0c bpf: Fix extable address check.
eea5a58d86a4 bpf, x64: Factor out emission of REX byte in more cases
7e83a6577d5c mptcp: add missing documented NL params
e8d38fcd0a1c xsk: Do not sleep in poll() when need_wakeup set
6b2ee1002c6b ARM: dts: imx6ull-pinfunc: Fix CSI_DATA07__ESAI_TX0 pad name
0e8ffdf3b86d can: m_can: pci: use custom bit timings for Elkhart Lake
274f4b342ba9 can: m_can: make custom bittiming fields const
5b4641e9c06c Revert "can: m_can: remove support for custom bit timing"
e3a01c14e806 drm/amd/pm: fix reading SMU FW version from amdgpu_firmware_info on YC
a386ae526866 drm/amdgpu: don't override default ECO_BITs setting
f2e600f6572b drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE
9b9f2567145b powerpc/module_64: Fix livepatching for RO modules
78f27c43eb16 libata: if T_LENGTH is zero, dma direction should be DMA_NONE
f67c85a557c8 perf inject: Fix segfault due to perf_data__fd() without open
a7c0e6aa63c8 perf inject: Fix segfault due to close without open
4a74df7707b5 riscv: dts: unmatched: Add gpio card detect to mmc-spi-slot
7fe286afbd90 riscv: dts: unleashed: Add gpio card detect to mmc-spi-slot
5e14b8b2680a locking/rtmutex: Fix incorrect condition in rtmutex_spin_on_owner()
c63433a09d6a cifs: sanitize multiple delimiters in prepath
c5664d508674 timekeeping: Really make sure wall_to_monotonic isn't positive
89362ec97ac0 serial: 8250_fintek: Fix garbled text for console
3a1a4eb57417 iocost: Fix divide-by-zero on donation from low hweight cgroup
d153ff65a977 zonefs: add MODULE_ALIAS_FS
210ab4e3c032 btrfs: fix missing blkdev_put() call in btrfs_scan_one_device()
8848395975bd btrfs: check WRITE_ERR when trying to read an extent buffer
bbdaa7a48f46 btrfs: fix double free of anon_dev after failure to create subvolume
493ff661d434 btrfs: fix memory leak in __add_inode_ref()
d1bac0d97bc9 selinux: fix sleeping function called from invalid context
252f245ff4a1 USB: serial: option: add Telit FN990 compositions
db83bbfe1bec USB: serial: cp210x: fix CP2105 GPIO registration
5154bc1c16c9 usb: gadget: u_ether: fix race in setting MAC address in setup phase
428ad19f98bb usb: typec: tcpm: fix tcpm unregister port but leave a pending timer
ffe642edb4e2 usb: cdnsp: Fix lack of spin_lock_irqsave/spin_lock_restore
368bfabceb11 usb: cdnsp: Fix issue in cdnsp_log_ep trace event
ec83d6e57a62 usb: cdnsp: Fix incorrect calling of cdnsp_died function
ed89521e2dcb usb: cdnsp: Fix incorrect status for control request
5cb5c3e1b184 usb: xhci: Extend support for runtime power management for AMD's Yellow carp.
67cbcd3fb8e6 usb: xhci-mtk: fix list_del warning when enable list debug
d8888cdabedf PCI/MSI: Mask MSI-X vectors only on success
4df1af29930b PCI/MSI: Clear PCI_MSIX_FLAGS_MASKALL on error
3901c7784ad7 usb: dwc2: fix STM ID/VBUS detection startup delay in dwc2_driver_probe
af00fb784286 USB: NO_LPM quirk Lenovo USB-C to Ethernet Adapher(RTL8153-04)
e7a8a261bab0 tty: n_hdlc: make n_hdlc_tty_wakeup() asynchronous
5fc3cfa62b85 KVM: x86: Drop guest CPUID check for host initiated writes to MSR_IA32_PERF_CAPABILITIES
9f8b3f238530 Revert "usb: early: convert to readl_poll_timeout_atomic()"
abd3a33b3f2b USB: gadget: bRequestType is a bitfield, not a enum
d0ac17b9bac5 powerpc/85xx: Fix oops when CONFIG_FSL_PMC=n
c8e8e6f4108e bpf, selftests: Fix racing issue in btf_skc_cls_ingress test
9f55f2913ebd bpf: Fix extable fixup offset.
ecd8ad3af6d5 arm64: kexec: Fix missing error code 'ret' warning in load_other_segments()
5473fe0c484a afs: Fix mmap
44a6c846bc3a sit: do not call ipip6_dev_free() from sit_init_net()
eb4687c74429 net: systemport: Add global locking for descriptor lifecycle
e99fe4137b6d net/smc: Prevent smc_release() from long blocking
ff3d58592be4 net: Fix double 0x prefix print in SKB dump
987e1a4682e5 dsa: mv88e6xxx: fix debug print for SPEED_UNFORCED
9a77c02d1d21 sfc_ef100: potential dereference of null pointer
0b4a5d1e15ce net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup
feb116a0ecc5 net/packet: rx_owner_map depends on pg_vec
27358aa81a7d netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc
288b0c511c11 ixgbe: set X550 MDIO speed before talking to PHY
2f2ebb7d4324 ixgbe: Document how to enable NBASE-T support
33c1707a8ea4 igc: Fix typo in i225 LTR functions
944b8be08131 igbvf: fix double free in `igbvf_probe`
81ffe207ae1b igb: Fix removal of unicast MAC filters of VFs
12dc89ccaf20 soc/tegra: fuse: Fix bitwise vs. logical OR warning
23311b92755f mptcp: fix deadlock in __mptcp_push_pending()
c26ac0ea3a91 mptcp: clear 'kern' flag from fallback sockets
3de0c86d42f8 mptcp: remove tcp ulp setsockopt support
257b3bb16634 drm/amd/pm: fix a potential gpu_metrics_table memory leak
cc98ef784152 drm/amd/display: Set exit_optimized_pwr_state for DCN31
a0dacf4bc3c5 ice: Don't put stale timestamps in the skb
89f9c880141e ice: Use div64_u64 instead of div_u64 in adjfine
68014890e438 rds: memory leak in __rds_conn_create()
d92781bf78db flow_offload: return EOPNOTSUPP for the unsupported mpls action type
97cb5c82aa1d net: stmmac: fix tc flower deletion for VLAN priority Rx steering
1571ff2d199e mac80211: fix lookup when adding AddBA extension element
0783716ba2bd cfg80211: Acquire wiphy mutex on regulatory work
e0984a4d414b mac80211: agg-tx: don't schedule_and_wake_txq() under sta->lock
95053f4477c9 drm/i915/display: Fix an unsigned subtraction which can never be negative.
fb5099ad02dc drm/ast: potential dereference of null pointer
1456a0004cc5 mptcp: never allow the PM to close a listener subflow
1752132eba08 selftest/net/forwarding: declare NETIFS p9 p10
7c23a5d90733 net: dsa: mv88e6xxx: Unforce speed & duplex in mac_link_down()
4985d3b53c4d selftests/net: toeplitz: fix udp option
491c1253441e net/sched: sch_ets: don't remove idle classes from the round-robin list
215b5046b11e drm: simpledrm: fix wrong unit with pixel clock
00b072a55ffc dmaengine: st_fdma: fix MODULE_ALIAS
ee3701c4d975 dmaengine: idxd: fix missed completion on abort path
088e4d7dba27 selftests: Fix IPv6 address bind tests
28c73d856b71 selftests: Fix raw socket bind tests with VRF
013ed7533966 selftests: Add duplicate config only for MD5 VRF tests
769f38809709 net: hns3: fix race condition in debugfs
4f4a353f6fe0 net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg
a4377575d2e9 selftests: icmp_redirect: pass xfail=0 to log_test()
4cd2d21bbe58 netdevsim: don't overwrite read only ethtool parms
e5d28205bf1d inet_diag: fix kernel-infoleak for UDP sockets
f6deae2e2d83 sch_cake: do not call cake_destroy() from cake_init()
cc851898751d s390/kexec_file: fix error handling when applying relocations
b0eb9ac9ddc3 selftests: net: Correct ping6 expected rc from 2 to 1
9ff66e9ceefc Revert "drm/fb-helper: improve DRM fbdev emulation device names"
03b5d9d618a6 vdpa: Consider device id larger than 31
091b84437a82 virtio/vsock: fix the transport to work with VMADDR_CID_ANY
149a4d12c44b virtio: always enter drivers/virtio/
fac85fe13547 iwlwifi: mvm: don't crash on invalid rate w/o STA
f295986e5b6d soc: imx: Register SoC device only on i.MX boards
ad4adbbf666e clk: Don't parent clks until the parent is fully registered
d058c136fe3d arm64: dts: imx8mq: remove interconnect property from lcdif
f580a4315062 ARM: socfpga: dts: fix qspi node compatible
e7506c76b7ef ceph: initialize pathlen variable in reconnect_caps_cb
24a19e6d6518 ceph: fix duplicate increment of opened_inodes metric
832f3655c613 tee: amdtee: fix an IS_ERR() vs NULL bug
42d08e97b196 mac80211: track only QoS data frames for admission control
b08767936841 dmaengine: idxd: fix calling wq quiesce inside spinlock
05d2cc973cf5 dmaengine: idxd: add halt interrupt support
f2aebdaa3d3c arm64: dts: rockchip: fix poweroff on helios64
d4218b2803de arm64: dts: rockchip: fix audio-supply for Rock Pi 4
77eb455febc5 arm64: dts: rockchip: fix rk3399-leez-p710 vcc3v3-lan supply
e2daa0c9e898 arm64: dts: rockchip: fix rk3308-roc-cc vcc-sd supply
c2ff001288dd arm64: dts: rockchip: remove mmc-hs400-enhanced-strobe from rk3399-khadas-edge
8e72fcf9aa9a pinctrl: amd: Fix wakeups when IRQ is shared with SCI
78ae328fb170 drm/i915/hdmi: Turn DP++ TMDS output buffers back on in encoder->shutdown()
8f50c26fdf65 drm/i915/hdmi: convert intel_hdmi_to_dev to intel_hdmi_to_i915
4999509a9184 scsi: ufs: core: Retry START_STOP on UNIT_ATTENTION
af9b9c8bfeee btrfs: remove stale comment about the btrfs_show_devname
a6e7e218a4d6 btrfs: update latest_dev when we create a sprout device
e342c2558016 btrfs: use latest_dev in btrfs_show_devname
5c460192c2fa btrfs: convert latest_bdev type to btrfs_device and rename
a5f4d17daf2e audit: improve robustness of the audit queue handling
607beb420b3f dm btree remove: fix use after free in rebalance_children()
09cdb8aa5904 ceph: fix up non-directory creation in SGID directories
2c7a616145aa arm64: dts: ten64: remove redundant interrupt declaration for gpio-keys
ab2ba2dd711f recordmcount.pl: look for jgnop instruction as well as bcrl on s390
2eeff00926e5 s390/entry: fix duplicate tracking of irq nesting level
b08b3bfcc720 vdpa: check that offsets are within bounds
0c51663c77d2 virtio_ring: Fix querying of maximum DMA mapping size for virtio device
ebbbc5fea3f6 vduse: check that offset is within bounds in get_config()
e6c67560b434 vduse: fix memory corruption in vduse_dev_ioctl()
2746d3face65 bpf, selftests: Update test case for atomic cmpxchg on r0 with pointer
f87a6c160ecc bpf: Fix kernel address leakage in atomic cmpxchg's r0 aux reg
d0d68083f273 bpf, selftests: Add test case trying to taint map value pointer
dbda060d50ab bpf: Make 32->64 bounds propagation slightly more robust
f77d7a35d491 bpf: Fix signed bounds propagation after mov32
efcad725feb4 bpf, selftests: Add test case for atomic fetch on spilled pointer
423628125a48 bpf: Fix kernel address leakage in atomic fetch
976389cbb16c firmware: arm_scpi: Fix string overflow in SCPI genpd driver
c62b16f98688 mac80211: validate extended element ID is present
e606db721de5 mac80211: send ADDBA requests using the tid/queue of the aggregation session
815ee27cfbf8 mac80211: mark TX-during-stop for TX in in_reconfig
a7aed5c87d74 mac80211: fix regression in SSN handling of addba tx
237ee0f24bc4 mac80211: fix rate control for retransmitted frames
6bd55427e266 KVM: X86: Fix tlb flush for tdp in kvm_invalidate_pcid()
bf4367c02c8c x86/kvm: remove unused ack_notifier callbacks
54bf0b0d3536 KVM: downgrade two BUG_ONs to WARN_ON_ONCE
4b65555a501e KVM: selftests: Make sure kvm_create_max_vcpus test won't hit RLIMIT_NOFILE
6890c75c14b3 KVM: VMX: clear vmx_x86_ops.sync_pir_to_irr if APICv is disabled
efccff32defc reset: tegra-bpmp: Revert Handle errors in BPMP response

(From OE-Core rev: 47c6cc93efcb848592638f156b8f0e6f9a3561e9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
44fa90fd9d linux-yocto/5.10: update to v5.10.89
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

eb967e323f7f Linux 5.10.89
52ad5da8e316 phonet/pep: refuse to enable an unbound pipe
7dd52af1eb57 hamradio: improve the incomplete fix to avoid NPD
450121075a6a hamradio: defer ax25 kfree after unregister_netdev
8e34d07dd4d9 ax25: NPD bug when detaching AX25 device
50f78486f90b hwmon: (lm90) Do not report 'busy' status bit as alarm
ec1d222d37ea hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681
441d3873664d pinctrl: mediatek: fix global-out-of-bounds issue
9c75a9657bdc ASoC: rt5682: fix the wrong jack type detected
94caab5af19a ASoC: tas2770: Fix setting of high sample rates
c7282790c782 Input: goodix - add id->model mapping for the "9111" model
3bb3bf50d69f Input: elants_i2c - do not check Remark ID on eKTH3900/eKTH5312
ee6f34215c5d mm: mempolicy: fix THP allocations escaping mempolicy restrictions
8008fc1d0be1 KVM: VMX: Fix stale docs for kvm-intel.emulate_invalid_guest_state
d91ed251fd70 usb: gadget: u_ether: fix race in setting MAC address in setup phase
6697f29bf56b ceph: fix up non-directory creation in SGID directories
fffb6581a23a f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
ad338d825e3f tee: optee: Fix incorrect page free bug
1f2070767401 mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page()
ac61b9c6c054 mac80211: fix locking in ieee80211_start_ap error path
89876d10830d ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
c3253d3a38bc mmc: mmci: stm32: clear DLYB_CR after sending tuning command
0d66b395210c mmc: core: Disable card detect during shutdown
c8e366a01c20 mmc: meson-mx-sdhc: Set MANUAL_STOP for multi-block SDIO commands
4af79153617b mmc: sdhci-tegra: Fix switch to HS400ES mode
9a7ec7979785 gpio: dln2: Fix interrupts when replugging the device
f5b02912e2dd pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines
28626e76baf5 KVM: VMX: Wake vCPU when delivering posted IRQ even if vCPU == this vCPU
7a37f2e37069 platform/x86: intel_pmc_core: fix memleak on registration failure
b57afd124046 x86/pkey: Fix undefined behaviour with PKRU_WD_BIT
c05d8f66ec34 tee: handle lookup of shm with reference count 0
0ffb9f83e4f6 parisc: Fix mask used to select futex spinlock
5deeb9ad598b parisc: Correct completer in lws start
8b745616ba8f ipmi: fix initialization when workqueue allocation fails
1f6ab847461c ipmi: ssif: initialize ssif_info->client early
a5192f31160c ipmi: bail out if init_srcu_struct fails
bc674f1b2119 Input: atmel_mxt_ts - fix double free in mxt_read_info_block
30140e252fdb ASoC: meson: aiu: Move AIU_I2S_MISC hold setting to aiu-fifo-i2s
2b4c020b70cc ALSA: hda/realtek: Fix quirk for Clevo NJ51CU
7470780f3b0c ALSA: hda/realtek: Add new alc285-hp-amp-init model
4cb7dc2e3074 ALSA: hda/realtek: Amp init fixup for HP ZBook 15 G6
69e492161c7b ALSA: drivers: opl3: Fix incorrect use of vp->state
a96c08e0b41e ALSA: jack: Check the return value of kstrdup()
51c7b2a7b86a hwmon: (lm90) Drop critical attribute support for MAX6654
2464738d0ee4 hwmon: (lm90) Introduce flag indicating extended temperature support
196df56c3dc8 hwmon: (lm90) Add basic support for TI TMP461
fa2e149260bf hwmon: (lm90) Fix usage of CONFIG2 register in detect function
ba696b470839 pinctrl: bcm2835: Change init order for gpio hogs
676c572439e5 Input: elantech - fix stack out of bound access in elantech_change_report_id()
2792fde84cce sfc: falcon: Check null pointer of rx_queue->page_ring
d70b4001ef74 sfc: Check null pointer of rx_queue->page_ring
75c962f02a4f net: ks8851: Check for error irq
9db0f8d395fd drivers: net: smc911x: Check for error irq
ca2a15053b07 fjes: Check for error irq
c6d2754006c1 bonding: fix ad_actor_system option setting to default
6809da518514 ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module
61e6b82e7b6c igb: fix deadlock caused by taking RTNL in RPM resume path
e00eace2325c net: skip virtio_net_hdr_set_proto if protocol already set
ed05e4dcfba6 net: accept UFOv6 packages in virtio_net_hdr_to_skb
56b0bbba782b qlcnic: potential dereference null pointer of rx_queue->page_ring
78e49d77e517 net: marvell: prestera: fix incorrect return of port_find
861b4413e41d ARM: dts: imx6qdl-wandboard: Fix Ethernet support
d79f5e0d458b netfilter: fix regression in looped (broad|multi)cast's MAC handling
579cefef7c42 RDMA/hns: Replace kfree() with kvfree()
7cf6466e00a7 IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
cd9c90682b2f ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent()
580ecf86e772 spi: change clk_disable_unprepare to clk_unprepare
93a957bbf46c arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode
ef2dce43257d HID: potential dereference of null pointer
3110bc5862d2 HID: holtek: fix mouse probing
0875873b2a97 ext4: check for inconsistent extents between index and leaf block
76366c024f56 ext4: check for out-of-order index extents in ext4_valid_extent_entries()
1d4b1c4e8bbd ext4: prevent partial update of the extent blocks
f69a47fcbb9c net: usb: lan78xx: add Allied Telesis AT29M2-AF
8c0059a25cb1 arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd
b16b124a42e0 arm64: vdso32: drop -no-integrated-as flag
856f88f27bbc Linux 5.10.88
88f20cccbeec xen/netback: don't queue unlimited number of packages
525875c410df xen/netback: fix rx queue stall detection
8fa3a370cc2a xen/console: harden hvc_xen against event channel storms
d31b3379179d xen/netfront: harden netfront against event channel storms
8ac3b6ee7c9f xen/blkfront: harden blkfront against event channel storms
76ec7fe2d866 Revert "xsk: Do not sleep in poll() when need_wakeup set"
e24fc8983025 bus: ti-sysc: Fix variable set but not used warning for reinit_modules
70692b06208c rcu: Mark accesses to rcu_state.n_force_qs
a9078e791426 scsi: scsi_debug: Sanity check block descriptor length in resp_mode_select()
bdb854f134b9 scsi: scsi_debug: Fix type in min_t to avoid stack OOB
aa1f912712a1 scsi: scsi_debug: Don't call kcalloc() if size arg is zero
6859985a2fbd ovl: fix warning in ovl_create_real()
5fd7d62daa24 fuse: annotate lock in fuse_reverse_inval_entry()
b99bdf127af9 media: mxl111sf: change mutex_init() location
0413f7a1a533 xsk: Do not sleep in poll() when need_wakeup set
6b8d8ecdd980 ARM: dts: imx6ull-pinfunc: Fix CSI_DATA07__ESAI_TX0 pad name
8affa1b68db6 Input: touchscreen - avoid bitwise vs logical OR warning
aec5897b277b drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE
c1d519263ded libata: if T_LENGTH is zero, dma direction should be DMA_NONE
a9f2c6af5a60 timekeeping: Really make sure wall_to_monotonic isn't positive
6471ebcd6f15 serial: 8250_fintek: Fix garbled text for console
a7c80674538f iocost: Fix divide-by-zero on donation from low hweight cgroup
bcebb8eb1948 zonefs: add MODULE_ALIAS_FS
1c414ff63b2d btrfs: fix double free of anon_dev after failure to create subvolume
005d9292b5b2 btrfs: fix memory leak in __add_inode_ref()
cd98cb5216a0 USB: serial: option: add Telit FN990 compositions
5c93584d9a2f USB: serial: cp210x: fix CP2105 GPIO registration
8f207f12630b usb: xhci: Extend support for runtime power management for AMD's Yellow carp.
e5949933f313 PCI/MSI: Mask MSI-X vectors only on success
f8aa09186c30 PCI/MSI: Clear PCI_MSIX_FLAGS_MASKALL on error
d17c5a389768 usb: dwc2: fix STM ID/VBUS detection startup delay in dwc2_driver_probe
2b2edc8fc5a8 USB: NO_LPM quirk Lenovo USB-C to Ethernet Adapher(RTL8153-04)
fd623e16b2ff tty: n_hdlc: make n_hdlc_tty_wakeup() asynchronous
9439fabfc349 KVM: x86: Drop guest CPUID check for host initiated writes to MSR_IA32_PERF_CAPABILITIES
5fe305c6d485 Revert "usb: early: convert to readl_poll_timeout_atomic()"
2b54f485f2c1 USB: gadget: bRequestType is a bitfield, not a enum
151ffac3ac27 powerpc/85xx: Fix oops when CONFIG_FSL_PMC=n
fcf9194d366c bpf, selftests: Fix racing issue in btf_skc_cls_ingress test
6f46c59e60b6 sit: do not call ipip6_dev_free() from sit_init_net()
6e1011cd183f net: systemport: Add global locking for descriptor lifecycle
d1765f984c99 net/smc: Prevent smc_release() from long blocking
337bb7bf7c31 net: Fix double 0x prefix print in SKB dump
734a3f310605 sfc_ef100: potential dereference of null pointer
7da349f07e45 net/packet: rx_owner_map depends on pg_vec
1a34fb9e2bf3 netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc
d3e1f54508f1 ixgbe: set X550 MDIO speed before talking to PHY
48e01e388182 ixgbe: Document how to enable NBASE-T support
776ed8b36697 igc: Fix typo in i225 LTR functions
74a16e062b23 igbvf: fix double free in `igbvf_probe`
ddac50d04f34 igb: Fix removal of unicast MAC filters of VFs
12c1938870dc soc/tegra: fuse: Fix bitwise vs. logical OR warning
451f1eded7f5 mptcp: clear 'kern' flag from fallback sockets
222cebd995cd drm/amd/pm: fix a potential gpu_metrics_table memory leak
74dc97dfb276 rds: memory leak in __rds_conn_create()
67f4362ae286 flow_offload: return EOPNOTSUPP for the unsupported mpls action type
03fd6ca05601 mac80211: fix lookup when adding AddBA extension element
bef59d6a83d3 mac80211: agg-tx: don't schedule_and_wake_txq() under sta->lock
96bc86cac0a9 drm/ast: potential dereference of null pointer
cac0fd4b9bd3 selftest/net/forwarding: declare NETIFS p9 p10
81fbdd45652d net/sched: sch_ets: don't remove idle classes from the round-robin list
be32c8a78887 dmaengine: st_fdma: fix MODULE_ALIAS
dfff1d5e85ff selftests: Fix IPv6 address bind tests
08896ecfffc3 selftests: Fix raw socket bind tests with VRF
5ba4dfb8b8a1 selftests: Add duplicate config only for MD5 VRF tests
12512bc8f25b net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg
3a4f6dba1eb9 inet_diag: fix kernel-infoleak for UDP sockets
20ad1ef02f9a sch_cake: do not call cake_destroy() from cake_init()
1208b445a497 s390/kexec_file: fix error handling when applying relocations
c058c544e73a selftests: net: Correct ping6 expected rc from 2 to 1
9983425c203b virtio/vsock: fix the transport to work with VMADDR_CID_ANY
94a01e6fb2d8 soc: imx: Register SoC device only on i.MX boards
cc426a91d384 clk: Don't parent clks until the parent is fully registered
429bb01e4dda ARM: socfpga: dts: fix qspi node compatible
7b4cc168d9ca ceph: initialize pathlen variable in reconnect_caps_cb
e0f06c32afb2 ceph: fix duplicate increment of opened_inodes metric
640e28d618e8 tee: amdtee: fix an IS_ERR() vs NULL bug
eed897a22230 mac80211: track only QoS data frames for admission control
24983f750881 arm64: dts: rockchip: fix audio-supply for Rock Pi 4
49bd597719bf arm64: dts: rockchip: fix rk3399-leez-p710 vcc3v3-lan supply
9fcdbbf3964d arm64: dts: rockchip: fix rk3308-roc-cc vcc-sd supply
ba866840b240 arm64: dts: rockchip: remove mmc-hs400-enhanced-strobe from rk3399-khadas-edge
3516bc149223 arm64: dts: imx8mp-evk: Improve the Ethernet PHY description
06294e7e341a arm64: dts: imx8m: correct assigned clocks for FEC
4cc6badff97f audit: improve robustness of the audit queue handling
0e21e6cd5eeb dm btree remove: fix use after free in rebalance_children()
f5187a9d52ae recordmcount.pl: look for jgnop instruction as well as bcrl on s390
51f6302f81d2 vdpa: check that offsets are within bounds
e3a1ab5aea4c virtio_ring: Fix querying of maximum DMA mapping size for virtio device
0612679e48d0 bpf, selftests: Add test case trying to taint map value pointer
279e0bf80d95 bpf: Make 32->64 bounds propagation slightly more robust
e2aad0b5f2cb bpf: Fix signed bounds propagation after mov32
f0f484714f35 firmware: arm_scpi: Fix string overflow in SCPI genpd driver
7fd214fc7f2e mac80211: validate extended element ID is present
0bb50470f1e0 mac80211: send ADDBA requests using the tid/queue of the aggregation session
29bb131dbbb5 mac80211: mark TX-during-stop for TX in in_reconfig
15640e40e3bb mac80211: fix regression in SSN handling of addba tx
49b7e496928e KVM: downgrade two BUG_ONs to WARN_ON_ONCE
8d0f56c2ed71 KVM: selftests: Make sure kvm_create_max_vcpus test won't hit RLIMIT_NOFILE

(From OE-Core rev: 8710dca273bada79536e84ad3c206bd1b40aab97)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Alexander Kanavin
a8e6024a02 connman-conf: do nothing in qemu, do not touch eth0
qemu kernel itself is nowdays perfectly capable of setting up
what was passed in via ip=:

    [    1.676847] IP-Config: Complete:
    [    1.677768]      device=eth0, hwaddr=52:54:00:12:34:02, ipaddr=192.168.7.2, mask=255.255.255.0, gw=192.168.7.1
    [    1.679933]      host=192.168.7.2, domain=, nis-domain=(none)
    [    1.681201]      bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
    [    1.681203]      nameserver0=8.8.8.8

connman-conf only does the same thing again by (badly and incompletely)
parsing those parameters with sed.

(From OE-Core rev: 3c25b89720417a7b1963f0a32c870208a5803950)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 07:19:35 +00:00
Oleksandr Kravchuk
d907c29262 ofono: update to 1.34
Changelog:
- Fix issue with handling device info of Quectel modems.
- Fix issue with handling callback for RIL dial manager.

(From OE-Core rev: a995c2e2d3bc119fca7c6e3b26e430dea391b914)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 07:19:35 +00:00
Alejandro Hernandez Samaniego
d4b186c2cf gcc-cross-canadian: Fix cross canadian compiler for baremetal targets
While building GCC it checks whether the include directory exists,
if it doesnt it throws an error and exits:

| The directory that should contain system headers does not exist:
| tmp/work/x86_64-nativesdk-pokysdk-linux/gcc-cross-canadian-riscv32/
    11.2.0-r0/recipe-sysroot/usr/include/
| make[1]: *** [Makefile:3257: stmp-fixinc] Error 1

Even though for the baremetal toolchain not having this directory
does make sense.

We overcame this by removing the --with-sysroot=/not/exist argument
for baremetal toolchains (via TARGET_OS override), however, the
newlib toolchain does have headers and an includedir, hence by fixing
the baremetal toolchain we broke the newlib one since it uses the same
TARGET_OS as baremetal, causing for example (on newlib):

/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/riscv32-poky-elf/gcc/
    riscv32-poky-elf/11.2.0/include/stdint.h:9:16:
fatal error: stdint.h: No such file or directory

| # include_next <stdint.h>
                 ^~~~~~~~~~
compilation terminated.

By creating a dummy includedir, and removing the previous fix we
allow GCC to be built the same way, unifying the cross compiler
for all targets.

After this fix both TCLIBC=baremetal and TCLIBC=newlib SDKs work
properly.

(From OE-Core rev: 08ff7c87efdf373f1874fcccd9a2a73fc0efef30)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 07:19:35 +00:00
Richard Purdie
16110cdca7 oeqa/sstate: Fix allarch samesigs test
The allarch sstate sigs test is supposed to compare the allarch sigs but
does not. Fix this.

Also rename the common function to make it clear it isn't just used by
the allarch test.

(From OE-Core rev: 549597d422c7bcb467f34139ff25d2bee96bf851)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Richard Purdie
9d4dd141bf sstatetests: Add OLDEST_KERNEL to allarch tests
Some architectures vary OLDEST_KERNEL and this shouldn't change the allarch
signatures but in current OE-Core can/does. Add differing values to the
test configs to ensure we catch this in future (we want to keep a 32 and
64 bit machine here to test that as well).

(From OE-Core rev: 151ce55ec8ebc91b83bf0d09b9196f11646df1f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Kai Kang
ce0d3b748b xserver-xorg: 21.1.2 -> 21.1.3
Upgrade xserver-xorg from 21.1.2 to 21.1.3. And adjust indent as well.

(From OE-Core rev: c32dfebbab45122dc005c1ae9c49dc15a4f350b2)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Robert Joslyn
f508beb506 maintainers.inc: Add myself as maintainer for curl
I'll give it a go to try and help out.

(From OE-Core rev: af33fe0f82e5b10757e3fdfa52c028fb9bd7e1d6)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Robert Joslyn
056ba497d7 curl: Rework openssl and random PACKAGECONFIGs
The existing ssl PACKAGECONFIG makes it slightly annoying to use another
crypto provider while removing openssl. Since --with-ssl is just a
deprecated version of --with-openssl, rename the PACKAGECONFIG to use
the newer preferred name. Note that --without-ssl implies no crypto
provider at all, and should only be used when trying to disable all
crypto support.

Move --with-random to it's own option, since it is useful for other
crypto providers, not just openssl.

(From OE-Core rev: eef6c45fc6ec0a496791123e8ba2f400a5d9d468)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Robert Joslyn
9050f383b5 curl: Update to 7.81.0
Update URLs to refelct what upstream is presently using and add zstd
PACKAGECONFIG.

(From OE-Core rev: cc029e5e1331b3a8f4181bbfdbe72c547916f458)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Paul Eggleton
0071d909a5 classes/create-spdx: handle if IMAGE_LINK_NAME is empty
If IMAGE_LINK_NAME is set to "" (supported in other classes) then skip
creating symlinks for the spdx manifest files.

(From OE-Core rev: c2d5e2dbbba78d8d7036f6418360b2e84bcdc169)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Alejandro Hernandez Samaniego
42e73db4c9 tclibc-baremetal: Supply missing /bin/sh target in the baremetal sdk
SDK recipes now require a provider for /bin/sh, this
should come from nativesdk-sdk-provides-dummy which
is added by default to Linux SDKs, however tclibc-baremetal
requires us to explicitly add its new dependency to
TOOLCHAIN_HOST_TASK, otherwise we get a packaging error
while generating an SDK.

e.g.
package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk
requires gdb-cross-canadian-riscv32, but none of the providers
can be installed
  - conflicting requests
  - nothing provides /bin/sh needed by
    gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk

(From OE-Core rev: 8acb88cfe56735530280bab53a871c236f2fd54f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Alejandro Hernandez Samaniego
ad764fe219 tclibc-newlib: Supply missing /bin/sh target in newlib sdk
SDK recipe now require a provider for /bin/sh, this
should come from nativesdk-sdk-provides-dummy which
is added by default to Linux SDKs, however tclibc-newlib
requires us to explicitly add its new dependency to
TOOLCHAIN_HOST_TASK, otherwise we get a packaging error
while generating an SDK.

e.g.
package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk
requires gdb-cross-canadian-riscv32, but none of the providers
can be installed
  - conflicting requests
  - nothing provides /bin/sh needed by
    gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk

(From OE-Core rev: 9efcde387b31335d16394ce6b30e4abb1525185f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Peter Kjellerstedt
97726d1b87 rootfs-postcommands.bbclass: Make two comments use the new variable syntax
(From OE-Core rev: cb17cccaf2f51558bd1d320559bd792d5869688e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
wangmy
06bedd759d diffoscope: upgrade 196 -> 199
Changelog:
=========
* Support both variants of "odt2txt", including the one provided by unoconv.
  (Closes: reproducible-builds/diffoscope#298)

* Add external tool reference on Arch Linux for xb-tool.

(From OE-Core rev: 763c44e30c20ebcd4199d41fa76dae3d3b4ec5c3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
Andrei Gherzan
97dd81b556 gcc: Fix typo in linux64.h install patch
The "gcc: Fix compile of gcc plugins" patch had a typo making it a noop.
This was due to a rework to make it specific to the linux64.h header.

(From OE-Core rev: 5f0f00f0988c02d7fe0fa62edf3e4901ce9941a6)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
68dd36f535 libpipeline: upgrade 1.5.4 -> 1.5.5
(From OE-Core rev: 680892aedaec656d4ac405c3c295017120b3970e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
d91ce77d56 less: upgrade 598 -> 600
License-Update: year updated to 2022.

Changelog:
==========
Add the --header option.
Add the --no-number-headers option.
Add the --status-line option.
Add the --redraw-on-quit option.
Add the --search-options option.
Add 'H' color type to set color of header lines.
Add #version conditional to lesskey.
Add += syntax to variable section in lesskey files.
Allow option name in -- command to end with '=' in addition to '\n'.
Add $HOME/.config to possible locations of lesskey file.
Add $XDG_STATE_HOME and $HOME/.local/state to possible locations of history file.
Don't read or write history file in secure mode.
Fix display of multibyte and double-width chars in prompt.
Fix ESC-BACKSPACE command when BACKSPACE key does not send 0x08.
Add more \k codes to lesskey format.
Fix bug when empty file is modified while viewing it.
Fix bug when parsing a malformed lesskey file.
Fix bug scrolling history when --incsearch is set.
Fix buffer overflow when invoking lessecho with more than 63 -m/-n options.
Fix bug restoring color at end of highlighted text.
Fix bug in parsing lesskey file.
Defer moving cursor to lower left in some more cases.
Suppress TAB filename expansion in some cases where it doesn't make sense.

(From OE-Core rev: 30047fb4fcdef868c6d45cb6a71fbc9278600ba2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
d3b77c2aa5 iso-codes: upgrade 4.8.0 -> 4.9.0
Changelog:
=========
Added
----------
ISO 639-3: New translation for Friulian
ISO 639-5: New translations for Esperanto, Hindi, Russian
ISO 4217: New translation for Esperanto

Changed
---------
Translation updates for ISO 3166-1
Translation updates for ISO 3166-2
Translation updates for ISO 639-2
Translation updates for ISO 639-3
Translation updates for ISO 639-5

(From OE-Core rev: c9a83af6d6c5248bb16bdfaf628d3727889993fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
4c51a8c9e7 bluez5: upgrade 5.62 -> 5.63
Changelog:
=========
This release is mostly a bug fix release, with fixes to features such as GATT,
SDP, Daemon, and emulator. It also adds a new MGMT Event for Device Found and
Device Lost of Advertisement Monitor.

New build options for sanitizers (lsan, asan, ubsan) are added and it may
require installing additional libraries depending on the distros.

(From OE-Core rev: 49f48ce6c3467e784b817b1cfc7155c2f3ebeb84)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
073c6f8a3a createrepo-c: upgrade 0.17.7 -> 0.18.0
(From OE-Core rev: a4ecbb65cb85c1a5157154a4a0d931b745addece)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
7a3ac0aead bash: upgrade 5.1.8 -> 5.1.16
Changelog:
=========
1. New Features in Bash

a. 'bind -x' now supports different bindings for different editing modes and
   keymaps.

b. Bash attempts to optimize the number of times it forks when executing
   commands in subshells and from 'bash -c'.

c. Here documents and here strings now use pipes for the expanded document if
   it's smaller than the pipe buffer size, reverting to temporary files if it's
   larger.

d. There are new loadable builtins: mktemp, accept, mkfifo, csv, cut/lcut

e. In posix mode, 'trap -p' now displays signals whose disposition is SIG_DFL
   and those that were SIG_IGN when the shell starts.

f. The shell now expands the history number (e.g., in PS1) even if it is not
   currently saving commands to the history list.

g. 'read -e' may now be used with arbitrary file descriptors ('read -u N').

h. The 'select' builtin now runs traps if its internal call to the read builtin
   is interrupted by a signal.

i. SRANDOM: a new variable that expands to a 32-bit random number that is not
   produced by an LCRNG, and uses getrandom/getentropy, falling back to
   /dev/urandom or arc4random if available. There is a fallback generator if
   none of these are available.

j. shell-transpose-words: a new bindable readline command that uses the same
   definition of word as shell-forward-word, etc.

k. The shell now adds default bindings for shell-forward-word,
   shell-backward-word, shell-transpose-words, and shell-kill-word.

l. Bash now allows ARGV0 appearing in the initial shell environment to set $0.

m. If 'unset' is executed without option arguments, bash tries to unset a shell
   function if a name argument cannot be a shell variable name because it's not
   an identifier.

n. The 'test -N' operator uses nanosecond timestamp granularity if it's
   available.

o. Bash posix mode now treats assignment statements preceding shell function
   definitions the same as in its default mode, since POSIX has changed and
   no longer requires those assignments to persist after the function returns
   (POSIX interp 654).

p. BASH_REMATCH is no longer readonly.

q. wait: has a new -p VARNAME option, which stores the PID returned by 'wait -n'
   or 'wait' without arguments.

r. Sorting the results of pathname expansion now uses byte-by-byte comparisons
   if two strings collate equally to impose a total order; the result of a
   POSIX interpretation.

s. Bash now allows SIGINT trap handlers to execute recursively.

t. Bash now saves and restores state around setting and unsetting posix mode,
   instead of having unsetting posix mode set a known state.

u. Process substitution is now available in posix mode.

v. READLINE_MARK: a new variable available while executing commands bound with
   'bind -x', contains the value of the mark.

w. Bash removes SIGCHLD from the set of blocked signals if it's blocked at shell
   startup.

x. 'test -v N' can now test whether or not positional parameter N is set.

y. 'local' now honors the '-p' option to display all local variables at the
    current context.

z. The '@a' variable transformation now prints attributes for unset array
   variables.

aa. The '@A' variable transformation now prints a declare command that sets a
    variable's attributes if the variable has attributes but is unset.

bb. 'declare' and 'local' now have a -I option that inherits attributes and
    value from a variable with the same name at a previous scope.

cc. When run from a -c command, 'jobs' now reports the status of completed jobs.

dd. New 'U', 'u', and 'L' parameter transformations to convert to uppercase,
    convert first character to uppercase, and convert to lowercase,
    respectively.

ee. PROMPT_COMMAND: can now be an  array variable, each element of which can
    contain a command to be executed like a string PROMPT_COMMAND variable.

ff. 'ulimit' has a -R option to report and set the RLIMIT_RTTIME resource.

gg. Associative arrays may be assigned using a list of key-value pairs within
    a compound assignment. Compound assignments where the words are not of
    the form [key]=value are assumed to be key-value assignments. A missing or
    empty key is an error; a missing value is treated as NULL. Assignments may
    not mix the two forms.

hh. New 'K' parameter transformation to display associative arrays as key-
    value pairs.

ii. Writing history to syslog now handles messages longer than the syslog max
    length by writing multiple messages with a sequence number.

jj. SECONDS and RANDOM may now be assigned using arithmetic expressions, since
    they are nominally integer variables. LINENO is not an integer variable.

kk. Bash temporarily suppresses the verbose option when running the DEBUG trap
    while running a command from the 'fc' builtin.

ll. 'wait -n' now accepts a list of job specifications as arguments and will
    wait for the first one in the list to change state.

mm. The associative array implementation can now dynamically increase the
    size of the hash table based on insertion patterns.

nn. HISTFILE is now readonly in a restricted shell.

oo. The bash malloc now returns memory that is 16-byte aligned on 64-bit
    systems.

pp. If the hash builtin is listing hashed filenames portably, don't print
   anything if the table is empty.

qq. GLOBIGNORE now ignores '.' and '..' as a terminal pathname component.

rr. Bash attempts to optimize away forks in the last command in a function body
    under appropriate circumstances.

ss. The globbing code now uses fnmatch(3) to check collation elements (if
    available) even in cases without multibyte characters.

tt. The 'fg' and 'bg' builtins now return an error in a command substitution
    when asked to restart a job inherited from the parent shell.

uu. The shell now attempts to unlink all FIFOs on exit, whether a consuming
    process has finished with them or not.

vv. There is a new contributed loadable builtin: asort.

2. New Features in Readline

a. If a second consecutive completion attempt produces matches where the first
   did not, treat it as a new completion attempt and insert a match as
   appropriate.

b. Bracketed paste mode works in more places: incremental search strings, vi
   overstrike mode, character search, and reading numeric arguments.

c. Readline automatically switches to horizontal scrolling if the terminal has
   only one line.

d. Unbinding all key sequences bound to a particular readline function now
   descends into keymaps for multi-key sequences.

e. rl-clear-display: new bindable command that clears the screen and, if
   possible, the scrollback buffer (bound to emacs mode M-C-l by default).

f. New active mark and face feature: when enabled, it will highlight the text
   inserted by a bracketed paste (the 'active region') and the text found by
   incremental and non-incremental history searches. This is tied to bracketed
   paste and can be disabled by turning off bracketed paste.

g. Readline sets the mark in several additional commands.

h. Bracketed paste mode is enabled by default.

i. Readline tries to take advantage of the more regular structure of UTF-8
   characters to identify the beginning and end of characters when moving
   through the line buffer.

j. The bindable operate-and-get-next command (and its default bindings) are
   now part of readline instead of a bash-specific addition.

k. The signal cleanup code now blocks SIGINT while processing after a SIGINT.

(From OE-Core rev: 842edd425e82c983ca0b1a7b733baf41cb689a69)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
0d2b1cbde5 ell: upgrade 0.46 -> 0.47
Changelog:
=========
Fix issue with memory leaking from DHCP leases.
Fix issue with NULL terminating of Base64 encoding.

(From OE-Core rev: 489665c86df9157d1d510b8d22a05d890da5b381)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
Alexander Kanavin
bd28d659b2 systemd-boot: restore reproducibility
(From OE-Core rev: fde5147206ae82d11819fcc23fbe4fc2f94ea52b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
3e02d8d277 parselogs: add a couple systemd false positives
New systemd has changed the phrasing when skipping things,
with unfortunate use of 'failed':

[    1.623667] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[    1.688258] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.

(From OE-Core rev: 743d09665a4ef743b1fa9ac382a713556dfce1a1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
2a3e849326 qemuboot/runqemu: fully form the ip= kernel parameter
New systemd is actually parsing this in systemd-network-generator
and fails if it is not fully formed. 'off' means 'static ip, do nothing':
https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt

(From OE-Core rev: 2cf12c8dde0f05917797f8b4a80883dc0647b95d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
6ba5808ebf librsvg: update 2.52.4 -> 2.52.5
Remove upstreamed patches.

(From OE-Core rev: b7ad5aacf2c3a58763da438267a31ace8982c1f6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
6e03923be8 epiphany: make libportal optional, and move it to meta-oe
(From OE-Core rev: f87993a918f3087284ac7f1d96701c7bfbbef725)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
2fcbbcce7c libportal: update 0.4 -> 0.5
(From OE-Core rev: c333ae8425c15ee1abc6aaac1bf98e6ff506d0ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
b93bd0e85e mdadm: update 4.1 -> 4.2
Drop 0001-Compute-abs-diff-in-a-standard-compliant-way.patch
(upstream refactored code)
mdadm-fix-ptest-build-errors.patch
(upstream fixed the issue)

(From OE-Core rev: acf82e36996c082f52c02d50b06965f74ef87430)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
633b403b6d python3-numpy: update 1.21.4 -> 1.22.0
(From OE-Core rev: 6b9f2e078fb5653a1cedd64e90459e2f0780eb7e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
a02cdb5674 systemd: update 249.7 -> 250.1
(From OE-Core rev: e22188e47d2fce2406d9db9c95289b3878eda69f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
12c90b3c83 busybox: update 1.34.1 -> 1.35.0
Drop upstreamed patch.

(From OE-Core rev: a7d5150b621c2ab4e4ad8acc6267b40d9e899b33)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
43b7766105 rust-llvm: apply the same reproducibility patch as for llvm proper
(From OE-Core rev: a845029df7ea8c1bd987ffac3902d4521742debb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
5002a548ad ruby: disable rdoc due to non-reproducibility
The issue is reported upstream:
https://bugs.ruby-lang.org/issues/18456

Otherwise I do not feel that further investigation of rdoc's parser to find
out the source of non-determinism is worth the time.

(From OE-Core rev: 208021f7212a8a790c350ccca720695c5bcbb1ca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Ross Burton
b31a0c6371 xserver-xorg: whitelist two CVEs
CVE-2011-4613 is specific to Debian/Ubuntu.

CVE-2020-25697 is a non-trivial attack that may not actually be feasible
considering the default behaviour for clients is to exit if the
connection is lost.

(From OE-Core rev: afa2e6c31a79f75ff4113d53f618bbb349cd6c17)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Richard Purdie
6cbf2a490d wayland-protocols: Change inherit order
allarch needs to be after meson so that qemu usage can be disabled
and the package can really be architecture independent.

(From OE-Core rev: f7b58d5a6681547735ba747f5872abf35c9fa2c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Richard Purdie
9a708ebb2e expat: Update HOMEPAGE to current url
Upstream pointed out we were using an old url for HOMEPAGE. Update it to the
current url.

(From OE-Core rev: f3a7e2ba247efe72154c263d1d680aaf3da5b609)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Michael Opdenacker
0f8337865f manuals: add reference to GIR_EXTRA_LIBS_PATH plus minor improvements
Fixes [YOCTO #14533]

(From yocto-docs rev: 84001d5d4258dad9e3663ea842ecc291d9e1a7dd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10 23:12:43 +00:00
Michael Opdenacker
fdbbdda7e5 dev-manual: update bitbake.conf sample for static libs
(From yocto-docs rev: 0762a24cb20e23d4903402bea109ae8d1d85ef5e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10 23:12:43 +00:00
Michael Opdenacker
76ab2eab31 manuals: document hash equivalence
(From yocto-docs rev: 7fad0873207980a747f79b2ce29ec0dc6c6c3cdf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10 23:12:43 +00:00
Tim Orling
35a14725d6 poky.yaml: centos-7 python36-pip -> python3-pip
In CENTOS7_HOST_PACKAGES_ESSENTIAL, change python36-pip to python3-pip.

The python36-pip package was obsoleted by python3-pip in RHEL 7.7+

6771a1c54f

(From yocto-docs rev: df5d499f86e0cf2b6316778c7c390d64f5f1367c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10 23:12:43 +00:00
Chen Qi
5d653957d5 populate_sdk_base: remove unneeded dirs such as /dev
We met a problem that core-image-tiny-initramfs's SDK cannot be
installed. The error message is like below.

  tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod: Operation not permitted

In fact, the '/dev' direcotry is not needed by SDK. So remove it.

This patches uses a variable, SDK_PRUNE_SYSROOT_DIRS, to hold useless dir entries
so that it could be extended. For example, '/usr/bin' could be added if wanted.

(From OE-Core rev: 9154f71c7267e9731156c1dfd57397103e9e6a2b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-08 14:17:35 +00:00
Konrad Weihmann
d55fbf4779 cve-check: add lockfile to task
this should prevent running into the very rare error
sqlite3.OperationalError: attempt to write a readonly database

As highlighted by https://www.sqlite.org/faq.html#q5
it is likely that the adapter won't allow use multiple exec calls
at the same time.

So it's best to prevent multiple accesses at a time, by reusing
the already in place CVE_CHECK_DB_FILE_LOCK

YOCTO #14110

(From OE-Core rev: 677f5741bd265be49d4a5bb933b3e8d8c4eec653)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-08 14:17:35 +00:00
Khem Raj
0b032e6ff4 libsdl2: Fix build when libunwind is not used
clang provides libunwind.h and cmake adds a check to
find libunwind when this header is detected, which was
not the case with automake. The check however is expecting
specific unwinder implementation which provides libunwind-generic
solib, this is not a standard library that all implementations
will provide, therefore make this check optional.

(From OE-Core rev: fb450807774d100b9b568364b014ac46f5642b7e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-08 14:17:35 +00:00
Richard Purdie
c48097ece9 allarch: Fix interaction with qemu class
The qemu class declares functions which are architecture specific. If a user such
as meson is used in an allarch recipe, this leads to sstate which is machine
specific. To fix this, remove the architecture specific part, since there are no
binaries in allarch classes, this change shouldn't break anything.

(From OE-Core rev: 049879ba842d89f268b8e3a4e26410d13bc54158)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 23:10:26 +00:00
Richard Purdie
8a8622d3e1 Revert "qemu.bbclass: drop OLDEST_KERNEL reference"
This patch was merged on the basis that it wasn't needed with recent versions
of qemu. That isn't true and has been showen to cause failures for aarch64 on
centos7 hosts. Revert the patch as we'll need a different solution.

This reverts commit 94b371e1c9.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 23:10:26 +00:00
Richard Purdie
4bb526f09e libsdl2: Fix X11 configure options
We're seeing various failures where the X11 headers are found on the native
system but not all libraries are present and hence autoconfiguration of the
X11 subcomponents fails.

We don't list any of these X11 subcomponents as a dependency so disable
them by default. Configuration and dependencies can be added if people need
them.

(From OE-Core rev: f30ebc0b82b10f56f250a3a9c4f1f2fe9fb281b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 23:10:26 +00:00
Andreas Müller
2ae6a1ce19 libsdl2: Move to CMake build
(From OE-Core rev: c00f79c2f1b8a939e9a19e641c49aa759dd3a342)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 23:10:26 +00:00
Richard Purdie
f3674e74a3 gtk-doc/meson: Fix typos
Fix a couple of function name typos copy and pasted between the classes.

(From OE-Core rev: f99b98341cfb849680461cfa2992f854eebad5df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Saul Wold
73ae1a3760 perl: Enable threading
When the tranisiton to perl-cross occured, the threading define
seems to have been missed.  The perl tests for threading where
simply skipped, so there was no direct failures.  This was verified
by running perl ptest before and after the change to see PASS vs SKIP
results of threaded related tests.

NOTE: Perl officially discourges the use of threads, so this
functionality maybe depercated in the future [0][1]

v2: adds the usethreads to native and nativesdk. This was tested by
builing postresql and rrdtool which use perl and automake.

[0] https://perldoc.perl.org/5.34.0-RC2/threads#WARNING
[1] https://perldoc.perl.org/perlpolicy#discouraged

(From OE-Core rev: b9fd7cd319a1d8f0ddf5ea60710b015e9afb588c)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Joshua Watt
bc22fe89fd selftest: reproducible: Set maximum report size
Diffoscope can end up running for a very long time if there are a lot of
changes. To put a limit on how long it can run, cap the maximum report
size at 250 MB by default.

(From OE-Core rev: 52d5f76f54eac384f9480dffe96df089d9ee8f33)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Alexander Kanavin
d5279dac96 virgl: skip headless test on alma 8
As a centos 8 spinoff, it lacks the same vgem kernel module.

(From OE-Core rev: a48bfc9c0938c51c91dd925bd7f5360bc01252ae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Oleksandr Kravchuk
e4a7c042d8 xserver-xorg: update to 21.1.2
(From OE-Core rev: 7bbef7deeb339ddb98e5b13418a32ffabdeee404)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Andrei Gherzan
eb5f3fb2f8 gcc: Fix compile of gcc plugins
Without this, compiling gcc plugins will fail with an error similar to:
[...]
fatal error: ./config/i386/linux64.h: No such file or directory
[...]

In Yocto, we set up compiling gcc-cross out of tree. Which in turn makes
the generated headers end up in B. The tm.h header will include
generated headers that are expected in plugin/include/config/*.

For example, the linux64.h header, when generating gcc-cross for x86-64,
will end up in tm.h header as:

include "./config/i386/linux64.h"

On the other hand, the make rule `install-plugin` in gcc/Makefile.in
will install the linux64.h assuming that it is generated in the sources
directory and because this is not the case in our setup, the Makefile
ends up installing it in plugin_includedir/`basename $$path` which ends
up installing the header in [..]plugin/include as opposed to
[..]plugin/include/config/i386 (as expected by the generator of tm.h).

The included patch modifies the Makefile rule to match the assumption of
gcc-cross being compiled out of tree.

(From OE-Core rev: 92167f8e02bb6fbbe1ee6a6678525a0ae27b00a5)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Otavio Salvador
a8cd929d3f libxcrypt, libxcrypt-compat: upgrade 4.4.26 -> 4.4.27
License-Update: build-aux files updated.
(From OE-Core rev: bb252e1e31a127abd9f9b111897e007d1bd88f11)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Changhyeok Bae
32315dcf5a iputils: update 20210722 to 20211215
traceroute6 and tftpd were removed in iputils.

(From OE-Core rev: 9a5c496ac46ada3dde468755d879aab07e487e13)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Tim Orling
6748c9a1ea maintainers.inc: update email address
(From OE-Core rev: 9fa24f0af13d04c127857fcb78125073ed7f2cdb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Ross Burton
9330d750a9 linux-yocto: add libmpc-native to DEPENDS
5.10.85 changed how the GCC plugins are built, which means they now
depend on both GMP and MPC to be built. We already depend on gmp-native,
so add libmpc-native aswell.

(From OE-Core rev: 128abf5eb76dd0d2680c93f043bf7cac0a3552b8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Michael Opdenacker
0cda4b934d documentation/README: trivial typo fix
(From yocto-docs rev: f3f252c08a8ae9b492d766fd8a7168baf7467a07)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Max Krummenacher
22075d91d6 ref-manual: fix patch documentation
The do_patch implementation does not apply patches from an entry in
SRC_URI pointing to a directory.
Remove the claim that this is implemented.

(From yocto-docs rev: de1156b6d95a2d1738807f0b0525edd0b58fc0e9)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Robert Joslyn
3182ba8142 ref-manual: Fix module_conf typo
Modules specified as part of module_conf must be listed in
KERNEL_MODULE_PROBECONF, not KERNEL_MODULE_AUTOLOAD.

(From yocto-docs rev: 5720fb534dc343675f8be6369b9661512e3968f2)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Michael Opdenacker
5e5252bf13 quick start manual: update Share State and Hash Equivalence settings
(From yocto-docs rev: 8668f070a5f2bf70f71f1ac53d2fac1b0faff82d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Michael Opdenacker
36d200ab0a manuals: replace "rootfs" by "root filesystem"
Almost everyone understands "rootfs", but "root filesystem"
is real English.

(From yocto-docs rev: 3d610f15e5b6be3435e9e81e4498a676671e5b39)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Michael Opdenacker
620ba2535c overview-manual: fix typo
(From yocto-docs rev: 595d3e77855aeed31537a5e58a4426d7cc0b21f5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Michael Opdenacker
dd938fbbdb documentation: add comment to releases.rst switchers.js
To let release developers know that they don't need
to update these files in release branches other than "master".

(From yocto-docs rev: 00f71afae92e5967a0422824841d4d4db682d235)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Vyacheslav Yurkov
5ec29c558f ref-manual: document overlayfs-etc image feature
(From yocto-docs rev: 62c7cea1b916c04bfd5c25e0011424b90d5272a1)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Vyacheslav Yurkov
4b2d79d740 ref-manual: add overlayfs-etc class
(From yocto-docs rev: c11da26609e02f0c0b43efacb4642141d990ebaa)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Richard Purdie
7c7e53570c bitbake: utils: Update to use exec_module() instead of load_module()
This is deprecated in python 3.12 and Fedora 35 is throwing warnings so
move to the new functions.

(Bitbake rev: 68a18fbcb5959e334cf307d7fa8dc63832edb942)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:34 +00:00
Richard Purdie
fc2bc42eec scripts: Update to use exec_module() instead of load_module()
This is deprecated in python 3.12 and Fedora 35 is throwing warnings so
move to the new functions.

(From OE-Core rev: 655cd3f614d736416eab0d708b7c49674bf5c977)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
6209684ca6 mesa: 21.3.1 -> 21.3.3
Upgrade to 21.3.3 stable release. It includes bugfixes and minor
improvements, for more detailed information about the included changes
refer to the specific release notes:

 - 21.3.2: https://docs.mesa3d.org/relnotes/21.3.2.html
 - 21.3.3: https://docs.mesa3d.org/relnotes/21.3.3.html

(From OE-Core rev: 6982e2d66bd8296a3f67c72636ce015d328377d0)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
03b1e9c761 python3-dtschema: upgrade 2021.10 -> 2021.12
(From OE-Core rev: 3ca55d834be756e6ab8422ba6203e95a2f54086e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
b93bd18b11 stress-ng: upgrade 0.13.08 -> 0.13.09
(From OE-Core rev: 3161fc23a5ed7c6fa35a9730c9eca37a0979425e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
c3a5948e45 sqlite3: upgrade 3.37.0 -> 3.37.1
(From OE-Core rev: a4d1d878ddf57688535722ef330938b7e1c78066)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
abaeed44f6 python3-zipp: upgrade 3.6.0 -> 3.7.0
(From OE-Core rev: b3854ddaeeebed1270f0b2cbf24b23b3616904eb)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
8c4399352e python3-tomli: upgrade 1.2.2 -> 2.0.0
(From OE-Core rev: 823e1b028246445c0d88803b428d8d107a8814a6)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
bc638be468 python3-ruamel-yaml: upgrade 0.17.17 -> 0.17.19
(From OE-Core rev: f6aec25377555f050fd4b621ca7143182d0534e9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
721912cfcb python3-pygments: upgrade 2.10.0 -> 2.11.1
(From OE-Core rev: 8d48a3e9a7abca9058ba056019226c6bd97b0ccf)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
c8b3beebc8 python3-importlib-metadata: upgrade 4.9.0 -> 4.10.0
(From OE-Core rev: 643b888e7e36106a1b7d8aeeab66fac9e186cc79)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
6f393c686b python3-hypothesis: upgrade 6.31.4 -> 6.34.1
(From OE-Core rev: d54efcd26577ef18d5e32e3de6f664040c3ccf1b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
aa9c46358e python3-cython: upgrade 0.29.25 -> 0.29.26
(From OE-Core rev: 749c8767935bf4a11103e7dad32042a1ba7d7d68)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
b06683312f python3-attrs: upgrade 21.2.0 -> 21.4.0
(From OE-Core rev: aa9df5c39c47f93f99ec6a29790f25c4cde3e0a2)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
1f0b53dd43 mmc-utils: upgrade to latest revision
(From OE-Core rev: 401206ebb4d7cd46bd157eef0df1a6048726db82)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
5d2d8586e6 meson: upgrade 0.60.2 -> 0.60.3
[RP: Add nativesdk variant]
(From OE-Core rev: ff5e1504c04a46200024353aa02b6e41fd7a59c5)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
55b953df4c kea: upgrade 2.0.0 -> 2.0.1
(From OE-Core rev: 34f990f4a18425861f938ed3127d4aba711eec3c)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
9c9c57baf4 bind: upgrade 9.16.23 -> 9.16.24
(From OE-Core rev: 46f8d4eb30463b0e2ae5d2e045842d19b0ed1eae)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
8d9e8075d9 alsa-ucm-conf: upgrade 1.2.6.2 -> 1.2.6.3
(From OE-Core rev: c71b26ad37dde882a31775b83166281ee334eea9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
f4d5a43926 asciidoc: upgrade 10.0.2 -> 10.1.1
(From OE-Core rev: 7774eb74916014e1c18b8dc8e7bd81eadb33b641)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
bfd5f2871c acpica: upgrade 20210930 -> 20211217
(From OE-Core rev: 354cd371b114e548968e4313a69a9adb38642c5d)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
2a4f07c720 selftest/reproducible: drop go items from exception list
With this changeset, go becomes reproducible \0/

(From OE-Core rev: 03ada343ecbbbe3822a8fd74e678b01be6b9511a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
ab38db4926 go: additional patches to help reproducibility
(From OE-Core rev: c7299f4e1cd38856885a2451c7c448c99d94b781)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
0111724c34 go: correctly set debug-prefix-map and build directory
Go has its own system for creating temporary build
sub-directories with randomized names, and setting
up debug-prefix-map on the fly to prevent those
directories leaking into target binaries. OE's own
settings were clashing with it, so this change
carefully avoids the two stepping on each other.

Additionally, the top level build directory cannot
be named 'go-something'.

(From OE-Core rev: 9985b17a30bb9b9f1bc82a44662687db5cead66e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
51a8e28fe0 lib/oe/reproducible: correctly set .git location when recursively looking for git repos
(From OE-Core rev: ffdaa1a0527691d66dd28e86bd015bfad7a020f6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
a44ba6ae65 go: log build id computations
go writes build-specific ids into binaries it produces
and has a custom system for calculating them from
file hashes, environment variables and other inputs
(not that dissimilar to sstate cache, actually). This can
go wrong :) in various ways (for purposes of reproducibility
in particular), so this enables useful logs to see what
happens and why.

(From OE-Core rev: a587be1d18fc55fe57d1aa5aa7c9e26af887109e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Jacob Kroon
7d0dd2d26b no-static-libs.inc: Fixes
* pciutils/libcap/libpcap all seem to build fine even with the flag set
 * Disable static libraries in libjpeg-turbo-native

(From OE-Core rev: 0f018da9416648ea50cbccc3d4424f0b8a9352b6)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
wangmy
cca9289e34 gnupg: upgrade 2.3.3 -> 2.3.4
refresh relocate.patch

Chanlog:
========
Bugs fixed for this release <https://dev.gnupg.org/#####>
gpg: New option --min-rsa-length. [rG5f39db70c0]
gpg: New option --forbid-gen-key. [rGc397ba3ac0]
gpg: New option --override-compliance-check. [T5655]
gpgconf: New command --show-configs. [rGa0fb78ee0f]
agent,dirmngr,keyboxd: New option --steal-socket. [rGb0079ab39d,rGdd708f60d5]
gpg: Fix printing of binary notations. [T5667]
gpg: Remove stale ultimately trusted keys from the trustdb. [T5685,T5742]
gpg: Fix indentation of --print-mds and --print-md sha512. [T5679]
gpg: Emit gpg 2.2 compatible Ed25519 signature. [T5331]
gpgsm: Detect circular chains in --list-chain. [rG74c5b35062]
dirmngr: Make reading resolv.conf more robust. [T5657]
dirmngr: Ask keyservers to provide the key fingerprints. [T5741]
gpgconf: Allow changing gpg's deprecated keyserver option. [T5462]
gpg-wks-server: Fix created file permissions. [rG60be00b033]
scd: Support longer data for ssh-agent authentication with openpgp cards. [T5682]
scd: Modify DEVINFO behavior to support looping forever. [T5359]
Support gpgconf.ctl for NetBSD and Solaris. [T5656,T5671]
Silence "Garbled console data" warning under Windows in most cases. [rGe293da3b21]
Silence warning about the rootdir under Unices w/o a mounted /proc file system. [T5656]
Fix possible build problems about missing include files. [T5592]

(From OE-Core rev: 66e06fd409c27f212f41b69a01416cea41a198cd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
wangmy
31ee7e03b2 expat: upgrade 2.4.1 -> 2.4.2
Changelog:
=========
  #509 #510  Link againgst libm for function "isnan"
  #513 #514  Include expat_config.h as early as possible
       #498  Autotools: Include files with release archives:
               - buildconf.sh
               - fuzz/*.c
  #507 #519  Autotools: Sync CMake templates
  #495 #524  CMake: MinGW: Fix pkg-config section "Libs" for
               - non-release build types (e.g. -DCMAKE_BUILD_TYPE=Debug)
               - multi-config CMake generators (e.g. Ninja Multi-Config)
  #502 #503  docs: Document that function XML_GetBuffer may return NULL
               when asking for a buffer of 0 (zero) bytes size
  #522 #523  docs: Fix return value docs for both
               XML_SetBillionLaughsAttackProtection* functions
  #525 #526  Version info bumped from 9:1:8 to 9:2:8;
               see https://verbump.de/ for what these numbers do

(From OE-Core rev: 98a87bcfa50fc46ea86a085d330f5cbc41ddaaa5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
wangmy
e132bae431 python3-numpy: upgrade 1.21.4 -> 1.21.5
Changelog:
==========

Bugs fixed for this release <https://github.com/numpy/numpy/pull/#####>
#20357: MAINT: Do not forward __(deep)copy__ calls of _GenericAlias...
#20462: BUG: Fix float16 einsum fastpaths using wrong tempvar
#20463: BUG, DIST: Print os error message when the executable not exist
#20464: BLD: Verify the ability to compile C++ sources before initiating...
#20465: BUG: Force npymath to respect npy_longdouble
#20466: BUG: Fix failure to create aligned, empty structured dtype
#20467: ENH: provide a convenience function to replace npy_load_module
#20495: MAINT: update wheel to version that supports python3.10
#20497: BUG: Clear errors correctly in F2PY conversions
#20613: DEV: add a warningfilter to fix pytest workflow.
#20618: MAINT: Help boost::python libraries at least not crash

(From OE-Core rev: 956d6811ed0ae6db759a663866eed4977f994ad8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
wangmy
5d05f06f4c python3-dbusmock: upgrade 0.24.1 -> 0.25.0
Changelog:
========
bluez template: Implement adapter discovery, connect, disconnect, and removal
Fix changing array properties
Fix CLI upower tests
Add testing and Fedora updating through packit

(From OE-Core rev: 74b8e5f0679287f3471f7199cc9438ba138e7c17)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Markus Volk
be4292abdb vulkan-loader: inherit pkgconfig
this is needed to get the vulkan.pc file created

(From OE-Core rev: 1eaf810efca0dd8be5d561bab46c1998b96061c1)

Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
zhengruoqin
4aa48c1e9f gtk+3: upgrade 3.24.30 -> 3.24.31
(From OE-Core rev: 490191fb7d1fce1e31153388e5fda48d454f2bc7)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
zhengruoqin
a2f5dee7a5 libmicrohttpd: upgrade 0.9.73 -> 0.9.75
Changelog:
=========
 Fixed Makefile warning on MinGW.
 Fixed compiler warning on MinGW.
 Fixed "configure" portability (for NetBSD).
 MSVC project cosmetics.
 MSVC fixed project to fix linker warning.
 Fixed compiler warning on some platforms.
 Further improved test_client_put_stop to get stable results on all
 platforms.
 Added workaround for platforms (like OpenBSD) where system monotonic clocks
 may jump forward and back.
 Added more checks in test_large_put, increased timeout (was too small for
 this test). -EG

(From OE-Core rev: da29585e6ff055b9a6a494ea27fa5594617d8a8c)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
zhengruoqin
0da47a56bd shadow: upgrade 4.9 -> 4.10
0001-Fix-out-of-tree-builds-with-respect-to-libsubid-incl.patch
0001-libmisc-fix-default-value-in-SHA_get_salt_rounds.patch
0001-libsubid-link-to-PAM-libraries.patch
removed since they're included in 4.10

License-Update: Delete the space at the end of the sentence.

Changelog:
==========
* libsubid fixes
* Rename the test program list_subid_ranges to getsubids, write
a manpage, so distros can ship it. (Iker Pedrosa)
* Add libeconf dep for new*idmap
* Allow all group types with usermod -G
* Avoid useradd generating empty subid range
* Handle NULL pw_passwd
* Fix default value SHA_get_salt_rounds
* Use https where possible in README
* Update content and format of README
* Translation updates
* Switch from xml2po to itstool in 'make dist'
* Fix double frees
* Add LOG_INIT configurable to useradd
* Add CREATE_MAIL_SPOOL documentation
* Create a security.md
* Fix su never being SIGKILLd when trapping TERM
* Fix wrong SELinux labels in several possible cases
* Fix missing chmod in chadowtb_move
* Handle malformed hushlogins entries
* Fix groupdel segv when passwd does not exist
* Fix covscan-found newgrp segfault
* Remove trailing slash on hoedir
* Fix passwd -l message - it does not change expirey
* Fix SIGCHLD handling bugs in su and vipw
* Remove special case for "" in usermod
* Implement usermod -rG to remove a specific group
* call pam_end() after fork in child path for su and login
* useradd: In absence of /etc/passwd, assume 0 == root
* lib: check NULL before freeing data
* Fix pwck segfault

(From OE-Core rev: b7215993cf00f668d7e33b7fbc98fb4d8636edac)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Denys Dmytriyenko
8f04ade2c6 wayland: upgrade 1.19.0 -> 1.20.0
Wayland 1.20.0 is released!

This release contains the following major changes:

- FreeBSD support has been entirely upstreamed and has been added to
  our continuous integration system.
- The autotools build system has been dropped. Meson has replaced it.
- A few protocol additions: wl_surface.offset allows clients to update
  a surface's buffer offset independently from the buffer,
  wl_output.name and description allow clients to identify outputs
  without depending on xdg-output-unstable-v1.
- In protocol definitions, events have a new "type" attribute and can
  now be marked as destructors.
- A number of bug fixes, including a race condition when destroying
  proxies in multi-threaded clients.

Also backport libsdl2 patch to fix building against wayland-1.20.0

(From OE-Core rev: d81c8d137895e1fb70bb56c61d53502670d7bc43)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Teoh Jay Shen
4bcf4ef32c linux-yocto/5.14: update genericx86* machines to v5.14.21
(From meta-yocto rev: 937ecc5586d3d9067835223d32a0673b19698ed4)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:18 +00:00
Teoh Jay Shen
0cb7772e9e linux-yocto/5.10: update genericx86* machines to v5.10.87
(From meta-yocto rev: 5f448324755c98306cce24305f25921454476ed0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:18 +00:00
Kevin Hao
53e8e92cba meta-yocto-bsp: Introduce the v5.15 bbappend
(From meta-yocto rev: af974282c6c5cfdfd487f1298d716d9b36abbc04)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:18 +00:00
Richard Purdie
a79dffd7fb webkitgtk: Add reproducibility fix
When the date rolled from one year to another this highlighted a reproducibility
issue. This could be better fixed by using SOURCE_DATE_EPOCH from the environment
but I'm not sure how you do that in ruby. Help from someone with that knowledge
to submit that upstream very welcome.

(From OE-Core rev: 4d561c98f4d2e68d595aae4b03df1420cb01c3f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Richard Purdie
bd49cbd654 openssl: Add reproducibility fix
When the date rolled from one year to another, it highlighted a reproducibility
issue in openssl. Patch a workaround for this to avoid autobuilder failures. Help
submitting upstream welcome.

(From OE-Core rev: f8281e290737dba16a46d7ae937c66b3266e0fe8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Richard Purdie
9b5c9dea64 meson: Handle qemu riscv issues
In qemu, they merged the 32 and 64 bit riscv variants into one target for meson
purposes but this isn't officially supported by upstream meson. In normal builds
this would just be a warning but in OE, this is fatal.

Avoid the fatal errors for now and build as qemu intended whilst this is resolved
by the upstreams.

(From OE-Core rev: 7c1356e762d357dad95decf7b1d6147a2efae174)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Richard Purdie
f22e1fbdf7 package_deb/ipk/rpm: Add more minimal do_build dependencies back
The dependencies for do_build became a little too minimal after the
removal of recrdeptask since "bitbake go" would not package go-runtime
despite it being in DEPENDS and the resulting package having a dependency
on it.

A reasonable compromise is probably rdeptask instead of recrdeptask
which is a lot lower overhead but makes the build target more useful
and importantly, lets world builds do what you'd expect them to.

(From OE-Core rev: f3d02c328f3f182340528d11c7b10454e3f6a54b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Tim Orling
48e7c7cc4d scripts/buildhistory-diff: drop use of distutils
The use of distutils.version.LooseVersion to check for GitPython > 0.3.1
is not really needed anymore since any supported distribution has at least
1.0.0 (centos-7 via epel7, debian-9, ubuntu-16.04)

If we want to reinstate this check, alternatives would be to require
python3-packaging on all hosts and use packaging.version.Version or
use an imported LooseVersion in bb.version.

[YOCTO #14610]

(From OE-Core rev: bc90dcae9f53ddc246942f4d9b8ae8943e3b9754)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Samuli Piippo
bf07396051 rpm: remove tmp folder created during install
nativesdk-rpm build is also affected by the stray /var/tmp
created during the rpm install. Remove it to fix QA Issue:
nativesdk-rpm installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs]

(From OE-Core rev: 28dd1e1a0965646c5736e3de91aad830311a797b)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Yongxin Liu
1431a6f7f1 grub2: fix CVE-2021-3981
(From OE-Core rev: bb554d14142f93c39fd1516a31757006531c348f)

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Oleksiy Obitotskyy
2a9bcdb2ea package_manager: ipk: Fix host manifest generation
Since honister host manifest stopped to generate, i.e.
manifest file is empty but all ipks/files into sdk is
ok.

(From OE-Core rev: 79a2392f5d2a4cb6509a83afb40bca01bac59914)

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Changqing Li
b7263ed534 rpm: fix CVE-2021-3521
(From OE-Core rev: 938dd031bc2577417266f032e53490909654220c)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Anuj Mittal
fb7de3cbd4 xserver-xorg: update CVE_PRODUCT
Some of the CVEs have x_server as the product name.

(From OE-Core rev: 4d5d63cf8605515bb659b6b732683d7fe6540728)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
50d144b655 valgrind: make run-ptest better
There were warnings about non-existent files when there was
a duplicate in the remove-for-aarch list and the non-deterministic lists
so check if the files still exists before trying to deal with it.

Also restore the tests in the opposite order that they were hidden.

(From OE-Core rev: 2e1dc5782dcb879410d535f937c633edea484d11)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
521094d569 valgrind: skip boost_thread for aarch64 ptests
The drd/tests/boost_thread test passes when run interactively on qemuarm64
but fails for most runs when run in qemu on an arm worker such as ubuntu1804-arm-1
from the Yocto autobuilder cluster. Skip the test until we fix the problem.

(From OE-Core rev: 9a36983f9681f215aa2f59bfcb16343fe0a819cd)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
54b87f2a68 valgrind: remove duplicate and skipped tests from remove-for-aarch64
The valgrind ptest script warns about tests such as:
   mv: cannot stat 'drd/tests/bar_bad_xml.vgtest': No such file or directory

Since these tests were either in both remove-for-* lists or
were not installed since they fail everywhere as noted in:
   85a0d61025 valgrind: fix the remaining ptest failures
   984ffe3ab4 valgrind: Disable leak_cpp_interior test
remove them from the remove-for-aarch64 list

(From OE-Core rev: 9492cdc43b830ebf0d02ccaae342f33c826d8a01)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
b4c2b4df01 valgrind: backport rseq work-around
Using glibc-2.35-alpha, valgrind ptests mostly all fail with the error:
   WARNING: unhandled amd64-linux syscall: 334
   You may be able to write your own handler.
With this patch applied qemux86-64 ptest results were:
   TOTAL: 728
   PASSED: 709
   FAILED: 0
   SKIPPED: 19

This patch implements the Linux rseq syscall as ENOSYS while
a proper fix is being worked on as desribed in the patch
commit log.

(From OE-Core rev: 6ca008072df0371b6b1cfdd7030da6494ff012bd)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
b93a99b973 valgrind: Add util-linux-taskset ptest dependency
We are using taskset to improve the reproducability of tests listed in:
   meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests
so we need to have the ptests depend on util-linux-taskset.

(From OE-Core rev: aa06250cc4e258ad807eef9940939fd68c0bda8b)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Michael Halstead
56e5054a60 releases: update to include 3.1.13
Adding 3.1.13 to documentation switcher and release list.

(From yocto-docs rev: 24fe6a752cdec66a3d34d390fa645726ed3725b8)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-03 22:17:18 +00:00
Peter Kjellerstedt
9b99eb9e36 tzdata: Remove no longer relevant RCONFLICTS:${PN}
Remove RCONFLICTS:${PN} for the packages from the timezones recipe,
which was replaced by tzdata in OE-Classic in 2007...

Also remove a commented timezone (pacificnew), which has actually never
been added to TZONES.

(From OE-Core rev: 24c1b8346a2ab8bdea2e140282e33814166d9113)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Saul Wold
32db0d80d7 kernel: add -dbg package
Adding the dbg package allows the package bbclass to parse the
debug information which can then be used by the create_spdx bbclass

(From OE-Core rev: b35b68e4ec4a82ada20ab861d29f96cdcb21dec2)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Ross Burton
a84b8d683b gawk: remove load-sensitive tests
The time and timeout tests are sensitive to system load, and as we run
these on build machines they fail randomly.

[ YOCTO #14371 ]

(From OE-Core rev: d2b62913a5771169265171129fe972c8e252fe04)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Paul Eggleton
65e8df66d9 classes/kernel*: add variables to allow changing artifact extension
Allow .bin suffix to be removed (or changed) in the various artifact
filenames. Removing this extension is useful when trying to remove
symlinks and present only unversioned image files (especially for the
FIT image).

(From OE-Core rev: cbecc3cf06eb7359fedf3c6af281cc72178cad18)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Paul Eggleton
9eb8c5195e classes/qemuboot: allow IMAGE_LINK_NAME to be empty
If IMAGE_LINK_NAME is empty (supported everywhere else) then do not
create the symlink for the .qemuboot file.

(From OE-Core rev: 9b19845c0506949ca61965fb92fb3f337062f377)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Paul Eggleton
a2eb528b63 classes/kernel*: allow disabling symlink creation
Allow setting any of the *_LINK_NAME variables to empty string in order
to disable creating symlinks for kernel artifacts, as you can already
for filesystem images with IMAGE_LINK_NAME. Additionally, for the image
type named symlinks, add a KERNEL_IMAGETYPE_SYMLINK boolean variable
which you can set to 0 to disable those symlinks as well.

(From OE-Core rev: d7341f1f22c32ff6cc95d7127f26f87d7fc9c6bd)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
pgowda
3cb504ceba binutils: CVE-2021-42574
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=b3aa80b45c4f46029efeb204bb9f2d2c4278a0e5]

[RP: Merge uint -> unsigned int change]
(From OE-Core rev: fa242a41f3436f1d73eabee335573c1801bf7888)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Richard Purdie
3503555a8b qemu: Add selinux PACKAGECONFIG
We're seeing failures on systems with old selinux headers. Add a PACKAGECONFIG
entry so that we don't try and build this unless enabled. I'll leave
dependencies to someone who wants it and can test, I just need to fix
build failures right now as this shouldn't be enabled.

(From OE-Core rev: d26c86e67b1154b243d093ff80dafce54da47424)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 19:01:31 +00:00
Ross Burton
73cf74b4d9 kmod: expand compression PACKAGECONFIGs
Turn the explicitly enabled zlib support into an enabled by default
PACKAGECONFIG, and add Zstd support (disabled by default).

(From OE-Core rev: 6dd6184f01d79ebd26347a6006f92a5b5906ee3e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Ross Burton
c6afe99922 kmod: merge target/native recipes
There's no good reason to keep separate target and native recipes for
kmod, so merge them into a single kmod_29.bb which uses class extension.

The symlinks are not created differently for target vs native builds, as
the native sbindir is in PATH.

(From OE-Core rev: 9abbf481438fba10a7512fb1ad1bff5d48e6fbdc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Ross Burton
70341cdbd8 kmod: remove obsolete ac_pwd manipulation
Remove the change of ac_pwd from config.status as the build is
successful without it (it was added with no explanation in 152c973 when
ptest was enabled).

(From OE-Core rev: af0f4c6f7769e9be64adddc29a3bc3fdb8cce389)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Ross Burton
42298b2978 openssl: upgrade to 3.0.1
Major changes in 3.0.1:

  * Fixed invalid handling of X509_verify_cert() internal errors in libssl
    ([CVE-2021-4044])
  * Allow fetching an operation from the provider that owns an unexportable key
    as a fallback if that is still allowed by the property query.

Drop patches which were backported.

Add sed to openssl-ptest as the tests use 'sed -u', which isn't supported
by busybox.

Ensure that we package the dummy async engine, needed by the test suite.

(From OE-Core rev: 5cd40648b0ba88cd9905800e748ae98f08c10ac7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Khem Raj
06b027b928 gcc: Update status of musl stddef.h patch
This patch has been accepted upstream

(From OE-Core rev: 4c644708798f258d45dbcfa01909626de32710d4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Ross Burton
679cb095f2 python3: backport a fix so the test suite passes with OpenSSL 3.0.1
The test suite makes incorrect assumptions about OpenSSL versions post-
3.0, so backport the fix for the test suite.

(From OE-Core rev: 2b5e9cfd2c1914d606725029c59cd50cca3d5511)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
wangmy
2969d72edb sysvinit: upgrade 3.00 -> 3.01
refresh pidof-add-m-option.patch

Changelog:
==========
* Default to showing processes in the uninterruptable state (D).
    The -z flag no longer affects whether processes in D state are shown.
    The -z flag does still toggle whether zombie (Z) processes are shown.

* Removed unnecessary check which is always true from init tab parsing.

(From OE-Core rev: 5b5c1cd43923e552ae6bcfc50f1766981c44ae7b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
wangmy
6f6313ae61 python3-importlib-metadata: upgrade 4.8.2 -> 4.9.0
(From OE-Core rev: 80d1a6b968b9dc50da4941e1747c77a9323a09a5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
wangmy
42df26f7e1 linux-firmware: upgrade 20211027 -> 20211216
License-Update: version of license file updated.

(From OE-Core rev: 07dc668ddc50de14821aff1b6850d8b4999702bd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
674d065d64 linux-yocto/5.10: update to v5.10.87
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

272aedd4a305 Linux 5.10.87
8dd559d53b3b arm: ioremap: don't abuse pfn_valid() to check if pfn is in RAM
65c578935bcc arm: extend pfn_valid to take into account freed memory map alignment
6e634c0e7155 memblock: ensure there is no overflow in memblock_overlaps_region()
74551f13c62f memblock: align freed memory map on pageblock boundaries with SPARSEMEM
b4b54c7ba149 memblock: free_unused_memmap: use pageblock units instead of MAX_ORDER
b6a1cbd187fc perf intel-pt: Fix error timestamp setting on the decoder error path
0612aa02c2c8 perf intel-pt: Fix missing 'instruction' events with 'q' option
71c795028b31 perf intel-pt: Fix next 'err' value, walking trace
02681dd1780a perf intel-pt: Fix state setting when receiving overflow (OVF) packet
cbed09b44ce0 perf intel-pt: Fix intel_pt_fup_event() assumptions about setting state type
3bb7fd4be8c4 perf intel-pt: Fix sync state when a PSB (synchronization) packet is found
731ff7884138 perf intel-pt: Fix some PGE (packet generation enable/control flow packets) usage
b23f9252a41d perf inject: Fix itrace space allowed for new attributes
7c26da3be1e9 ethtool: do not perform operations on net devices being unregistered
6992d8c215c8 hwmon: (dell-smm) Fix warning on /proc/i8k creation error
c31470a30c0d fuse: make sure reclaim doesn't write the inode
613725436e69 bpf: Fix integer overflow in argument calculation for bpf_map_area_alloc
9099f3512678 staging: most: dim2: use device release method
ac76adc87a78 KVM: x86: Ignore sparse banks size for an "all CPUs", non-sparse IPI req
6f0d9d3e74dc tracing: Fix a kmemleak false positive in tracing_map
f35f7f04aa80 drm/amd/display: add connector type check for CRC source set
dd3cea342522 drm/amd/display: Fix for the no Audio bug with Tiled Displays
dadce61247c6 net: netlink: af_netlink: Prevent empty skb by adding a check on len.
bca6af4325d6 i2c: rk3x: Handle a spurious start completion interrupt flag
d6edec8a7b55 parisc/agp: Annotate parisc agp init functions with __init
cf520ccffd9a ALSA: hda/hdmi: fix HDA codec entry table order for ADL-P
701a07fd0274 ALSA: hda: Add Intel DG2 PCI ID and HDMI codec vid
6d22a96d12d7 net/mlx4_en: Update reported link modes for 1/10G
999069d8b040 Revert "tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP"
27f4ce02b31a s390/test_unwind: use raw opcode instead of invalid instruction
9eab949e2b90 KVM: arm64: Save PSTATE early on exit
990fd815ec88 drm/msm/dsi: set default num_data_lanes
c602863ad28e nfc: fix segfault in nfc_genl_dump_devices_done
37050f17f2d2 Linux 5.10.86
32414491834c netfilter: selftest: conntrack_vrf.sh: fix file permission

(From OE-Core rev: 41e6433af247105b9430d5fe2ef3e32624d6ed76)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
0bff47afa0 linux-yocto/5.15: update to v5.15.10
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

57dcae4a8b93 Linux 5.15.10
dbcda209899a perf inject: Fix itrace space allowed for new attributes
5b4a8fbe4b0b fuse: make sure reclaim doesn't write the inode
18fc0ba9b10e staging: most: dim2: use device release method
9985d29c4755 tracing: Fix a kmemleak false positive in tracing_map
43b145f3a20a drm/amdkfd: process_info lock not needed for svm
c21cff0ea6b2 drm/amd/display: add connector type check for CRC source set
d9e63f180fc8 drm/amdkfd: fix double free mem structure
00a3f7fb7ae3 drm/amd/display: Fix for the no Audio bug with Tiled Displays
62477b3a86d6 drm/amdgpu: check atomic flag to differeniate with legacy path
796ddc81437b drm/amdgpu: cancel the correct hrtimer on exit
4c986072a8c9 net: netlink: af_netlink: Prevent empty skb by adding a check on len.
2d5ba2f40e73 i2c: rk3x: Handle a spurious start completion interrupt flag
a5a0cc7c7b84 parisc/agp: Annotate parisc agp init functions with __init
f66f84309623 ALSA: hda/hdmi: fix HDA codec entry table order for ADL-P
5eceb6a60a53 ALSA: hda: Add Intel DG2 PCI ID and HDMI codec vid
ced9b762f2d6 loop: Use pr_warn_once() for loop_control_remove() warning
095a04e0b320 net/mlx4_en: Update reported link modes for 1/10G
8605743472c5 Revert "tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP"
0700eab4df5b s390/test_unwind: use raw opcode instead of invalid instruction
2b12c89527ae KVM: arm64: Save PSTATE early on exit
906f7797a38f drm/msm/dp: Avoid unpowered AUX xfers that caused crashes
dc6c1eddfc74 drm/msm/dsi: set default num_data_lanes
d2db21103d84 drm/msm/a6xx: Fix uinitialized use of gpu_scid
f6db3d98f876 drm/msm: Fix null ptr access msm_ioctl_gem_submit()
9cbb957441ed i2c: virtio: fix completion handling
304aa6a73189 vmxnet3: fix minimum vectors alloc issue
569670a02e21 ice: fix FDIR init missing when reset VF
76db15314582 RDMA/irdma: Don't arm the CQ more than two times if no CE for this CQ
918e62519834 RDMA/irdma: Report correct WC errors
b260dfed222b RDMA/irdma: Fix a potential memory allocation issue in 'irdma_prm_add_pble_mem()'
11eebcf63e98 RDMA/irdma: Fix a user-after-free in add_pble_prm
1ac287b7b615 netfs: Fix lockdep warning from taking sb_writers whilst holding mmap_lock
cff728217a2b perf bpf_skel: Do not use typedef to avoid error on old clang
134151c3b11d clk: qcom: sm6125-gcc: Swap ops of ice and apps on sdcc1
439250c09785 dt-bindings: media: nxp,imx7-mipi-csi2: Drop bad if/then schema
d17a8d12a6da inet: use #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING consistently
c6aa8873468c mtd: rawnand: Fix nand_choose_best_timings() on unsupported interface
0c7b48887c34 mtd: rawnand: Fix nand_erase_op delay
e3bc4d4b50ca RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow
acb53e47db1f RDMA: Fix use-after-free in rxe_queue_cleanup
c0d44c58afdd hwmon: (corsair-psu) fix plain integer used as NULL pointer
d89e4211b517 nfc: fix segfault in nfc_genl_dump_devices_done
14655b6d4204 Linux 5.15.9
3be0c72f5153 netfilter: selftest: conntrack_vrf.sh: fix file permission

(From OE-Core rev: 1fb12d42dd4112e8fa2ec7eeb562c115c3b49ada)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
6897399131 linux-yocto/5.10: update to v5.10.85
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

e4f2aee6612e Linux 5.10.85
47301c06f602 Documentation/Kbuild: Remove references to gcc-plugin.sh
af5ba49cf705 MAINTAINERS: adjust GCC PLUGINS after gcc-plugin.sh removal
ad13421fd2cd doc: gcc-plugins: update gcc-plugins.rst
9fc17c3af56c kbuild: simplify GCC_PLUGINS enablement in dummy-tools/gcc
d428e5477493 bpf: Add selftests to cover packet access corner cases
0ec0eda3f3c3 misc: fastrpc: fix improper packet size calculation
261d45a4c254 irqchip: nvic: Fix offset for Interrupt Priority Offsets
cd946f0ebe78 irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL
e1c6611f822e irqchip/armada-370-xp: Fix support for Multi-MSI interrupts
8f3ed9deaaac irqchip/armada-370-xp: Fix return value of armada_370_xp_msi_alloc()
d530e9943d64 irqchip/aspeed-scu: Replace update_bits with write_bits.
014c2fa5dc49 csky: fix typo of fpu config macro
ee86d0bad80b iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove
c10c53419d8d iio: ad7768-1: Call iio_trigger_notify_done() on error
0f86c9e818e7 iio: adc: axp20x_adc: fix charging current reporting on AXP22x
af7fbb8c0b54 iio: adc: stm32: fix a current leak by resetting pcsel before disabling vdda
fff92f3712d7 iio: at91-sama5d2: Fix incorrect sign extension
a2545b147d23 iio: dln2: Check return value of devm_iio_trigger_register()
69ae78c1abe7 iio: dln2-adc: Fix lockdep complaint
416383999c66 iio: itg3200: Call iio_trigger_notify_done() on error
bc4d8367ed0d iio: kxsd9: Don't return error code in trigger handler
28ea539a311e iio: ltr501: Don't return error code in trigger handler
db12d9508536 iio: mma8452: Fix trigger reference couting
4e7852911084 iio: stk3310: Don't return error code in interrupt handler
5c4a0f307f2b iio: trigger: stm32-timer: fix MODULE_ALIAS
5de9c5b13062 iio: trigger: Fix reference counting
cbc04c0c9a67 iio: gyro: adxrs290: fix data signedness
fee8be5bde56 xhci: avoid race between disable slot command and host runtime suspend
1b43c9b65f6b usb: core: config: using bit mask instead of individual bits
74b6a6a239aa xhci: Remove CONFIG_USB_DEFAULT_PERSIST to prevent xHCI from runtime suspending
ef284f086dd0 usb: core: config: fix validation of wMaxPacketValue entries
e4de8ca013f0 USB: gadget: zero allocate endpoint 0 buffers
7193ad3e50e5 USB: gadget: detect too-big endpoint 0 requests
63fc70bffa16 selftests/fib_tests: Rework fib_rp_filter_test()
126d1897cbff net/qla3xxx: fix an error code in ql_adapter_up()
5e663bcd9a37 net, neigh: clear whole pneigh_entry at alloc time
ae673832086e net: fec: only clear interrupt of handling queue in fec_enet_rx_queue()
83b16b9c441b net: altera: set a couple error code in probe()
385ffd31ebdb net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero
47322fddb41e tools build: Remove needless libpython-version feature check that breaks test-all fast path
42bea3a1b7f2 dt-bindings: net: Reintroduce PHY no lane swap binding
3f57215f748b Documentation/locking/locktypes: Update migrate_disable() bits.
77d255d28b34 perf tools: Fix SMT detection fast read path
391ca20ea16e Revert "PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge"
e5b7fb2198ab i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc
347cc9b4d966 mtd: rawnand: fsmc: Fix timing computation
0b2e1fccdf48 mtd: rawnand: fsmc: Take instruction delay into account
57f290572f45 i40e: Fix pre-set max number of queues for VF
eb87117c27e7 i40e: Fix failed opcode appearing if handling messages from VF
82ed3829c937 clk: imx: use module_platform_driver
4d12546cf9e7 RDMA/hns: Do not destroy QP resources in the hw resetting phase
33f320c35d69 RDMA/hns: Do not halt commands during reset until later
4458938b297e ASoC: codecs: wcd934x: return correct value from mixer put
1089dac26c6b ASoC: codecs: wcd934x: handle channel mappping list correctly
83dae68fc00a ASoC: codecs: wsa881x: fix return values from kcontrol put
62e4dc5e130e ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer
2f4764fe3692 ASoC: rt5682: Fix crash due to out of scope stack vars
bdd8129c6605 PM: runtime: Fix pm_runtime_active() kerneldoc comment
661c4412c563 qede: validate non LSO skb length
c4d2d7c935a4 scsi: scsi_debug: Fix buffer size of REPORT ZONES command
1e434d2687e8 scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
5dfe61147442 block: fix ioprio_get(IOPRIO_WHO_PGRP) vs setuid(2)
5f1f94c26b0d tracefs: Set all files to the same group ownership as the mount option
2ba0738f7117 net: mvpp2: fix XDP rx queues registering
47ffefd88abf aio: fix use-after-free due to missing POLLFREE handling
e4d19740bcca aio: keep poll requests on waitqueue until completed
fc2f636ffc44 signalfd: use wake_up_pollfree()
9f3acee7eac8 binder: use wake_up_pollfree()
8e04c8397bf9 wait: add wake_up_pollfree()
2f8eb4c4c8f6 libata: add horkage for ASMedia 1092
f76580d82c62 can: m_can: Disable and ignore ELO interrupt
703dde112021 can: pch_can: pch_can_rx_normal: fix use after free
2737d0bc21b6 drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence.
17edb38e76d6 clk: qcom: regmap-mux: fix parent clock lookup
172a98224418 mmc: renesas_sdhi: initialize variable properly when tuning
33204825cc2b tracefs: Have new files inherit the ownership of their parent
c520943a00ad nfsd: Fix nsfd startup race (again)
eeb0711801f5 nfsd: fix use-after-free due to delegation race
8b4264c27b82 md: fix update super 1.0 on rdev size change
caf9b352dc58 btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
41b3cc57d626 btrfs: clear extent buffer uptodate when we fail to write it
75490bcbd076 scsi: qla2xxx: Format log strings only if needed
07977a3f3d55 ALSA: pcm: oss: Handle missing errors in snd_pcm_oss_change_params*()
ad45babf7886 ALSA: pcm: oss: Limit the period size to 16MB
02b2b691b77c ALSA: pcm: oss: Fix negative period/buffer sizes
6760e6ddeb48 ALSA: hda/realtek: Fix quirk for TongFang PHxTxX1
7fe903d35492 ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform
3063ee5164e4 ALSA: ctl: Fix copy of updated id with element read/write
c581090228e3 mm: bdi: initialize bdi_min_ratio when bdi is unregistered
06368922f38f KVM: x86: Wait for IPIs to be delivered when handling Hyper-V TLB flush hypercall
2a51edaf5cc5 net/sched: fq_pie: prevent dismantle issue
4b7e90672af8 devlink: fix netns refcount leak in devlink_nl_cmd_reload()
9d683d14f600 IB/hfi1: Correct guard on eager buffer deallocation
2e2edebb5dd6 iavf: Fix reporting when setting descriptor count
aada0b3f3392 iavf: restore MSI state on reset
32a329b731a3 netfilter: conntrack: annotate data-races around ct->timeout
5e39de85b76e udp: using datalen to cap max gso segments
666521b3852d seg6: fix the iif in the IPv6 socket control block
484069b5de9d nfp: Fix memory leak in nfp_cpp_area_cache_add()
b1830ede16f8 bonding: make tx_rebalance_counter an atomic
a59df4ea7155 ice: ignore dropped packets during init
349e83c0cf67 bpf: Fix the off-by-two error in range markings
f26951db84a4 bpf, x86: Fix "no previous prototype" warning
74685aaecef0 vrf: don't run conntrack on vrf with !dflt qdisc
d5cf399a6dc3 selftests: netfilter: add a vrf+conntrack testcase
83ea620a1be8 nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
f3d9114ac99f drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
7508a9aa65b9 drm/amdgpu: init iommu after amdkfd device init
ac9db04ee32f drm/amdgpu: move iommu_resume before ip init/resume
fe9dca7dda61 drm/amdgpu: add amdgpu_amdkfd_resume_iommu
5d191b0976b7 drm/amdkfd: separate kfd_iommu_resume from kfd_resume
46dcf66d6e7a drm/amd/amdkfd: adjust dummy functions' placement
dded8d76a7dc x86/sme: Explicitly map new EFI memmap table as encrypted
923f4dc5df67 can: sja1000: fix use after free in ems_pcmcia_add_card()
819251da7178 can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter
854a2bede1f0 can: kvaser_usb: get CAN clock frequency from device
2c08271f4ed0 IB/hfi1: Fix leak of rcvhdrtail_dummy_kvaddr
d87c10607b5b IB/hfi1: Fix early init panic
d60dd3685dc9 IB/hfi1: Insure use of smp_processor_id() is preempt disabled
05eb0e4a12b2 nft_set_pipapo: Fix bucket load in AVX2 lookup routine for six 8-bit groups
89f3edc98ffe HID: check for valid USB device for many HID drivers
889c39113f7e HID: wacom: fix problems when device is not a valid USB device
6272b17001e6 HID: bigbenff: prevent null pointer dereference
d877651afd60 HID: add USB_HID dependancy on some USB HID drivers
a7e9c5ddf562 HID: add USB_HID dependancy to hid-chicony
28989ed4d79e HID: add USB_HID dependancy to hid-prodikeys
61144329606c HID: add hid_is_usb() function to make it simpler for USB detection
2298d5edd837 HID: google: add eel USB id
12362cd3a409 HID: quirks: Add quirk for the Microsoft Surface 3 type-cover
cc97d7321595 gcc-plugins: fix gcc 11 indigestion with plugins...
1eee36a5520b gcc-plugins: simplify GCC plugin-dev capability test
518c3f98e57a usb: gadget: uvc: fix multiple opens

(From OE-Core rev: c6503f8a57197826c4a939ca9212f075c156f14f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
fd0bcc4ac2 linux-yocto/5.15: update to v5.15.8
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

43e577d7a2cb Linux 5.15.8
c2bd1add2c3e bpf: Add selftests to cover packet access corner cases
5475fcf0a1c4 clocksource/drivers/dw_apb_timer_of: Fix probe failure
ee6104661b46 misc: fastrpc: fix improper packet size calculation
62a8ee0502d8 irqchip: nvic: Fix offset for Interrupt Priority Offsets
2d34992ebe9c irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL
4a7c65506473 aio: Fix incorrect usage of eventfd_signal_allowed()
d99d861ce3ef irqchip/armada-370-xp: Fix support for Multi-MSI interrupts
97912b97fd83 irqchip/armada-370-xp: Fix return value of armada_370_xp_msi_alloc()
f2675399eb2a irqchip/aspeed-scu: Replace update_bits with write_bits.
e18f3e046ccd csky: fix typo of fpu config macro
47b355f25b55 bus: mhi: core: Add support for forced PM resume
7f4b37c7a692 bus: mhi: pci_generic: Fix device recovery failed issue
5bff8dff8e21 nvmem: eeprom: at25: fix FRAM byte_len
990bbe357841 misc: rtsx: Avoid mangling IRQ during runtime PM
14508fe13b1c iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove
2906867da4ca iio: ad7768-1: Call iio_trigger_notify_done() on error
b3a4c57a9613 iio: adc: axp20x_adc: fix charging current reporting on AXP22x
41d241ad3e55 iio: adc: stm32: fix a current leak by resetting pcsel before disabling vdda
4071943a533c iio: at91-sama5d2: Fix incorrect sign extension
a862c731f7bc iio: dln2: Check return value of devm_iio_trigger_register()
9b4e3b804c41 iio: dln2-adc: Fix lockdep complaint
363e1286cf81 iio: itg3200: Call iio_trigger_notify_done() on error
e4b600ac98ca iio: kxsd9: Don't return error code in trigger handler
5df9c2c0e4b4 iio: ltr501: Don't return error code in trigger handler
c43517071dfc iio: mma8452: Fix trigger reference couting
00d3c14338b5 iio: stk3310: Don't return error code in interrupt handler
111d5b61fbd7 iio: trigger: stm32-timer: fix MODULE_ALIAS
2db8ad169cc8 iio: trigger: Fix reference counting
7d2a35d99700 iio: gyro: adxrs290: fix data signedness
02d5a2a48bb4 xhci: avoid race between disable slot command and host runtime suspend
d861bc26fe68 usb: core: config: using bit mask instead of individual bits
47c14aceb290 xhci: Remove CONFIG_USB_DEFAULT_PERSIST to prevent xHCI from runtime suspending
0141f85b78a5 usb: core: config: fix validation of wMaxPacketValue entries
f5230fb9bf8e Revert "usb: dwc3: dwc3-qcom: Enable tx-fifo-resize property by default"
6eea4ace62fa USB: gadget: zero allocate endpoint 0 buffers
36dfdf11af49 USB: gadget: detect too-big endpoint 0 requests
ef472b023b85 selftests/fib_tests: Rework fib_rp_filter_test()
a72723e89f4d net/qla3xxx: fix an error code in ql_adapter_up()
0c9f1ab29e7f net, neigh: clear whole pneigh_entry at alloc time
48135149c089 net: fec: only clear interrupt of handling queue in fec_enet_rx_queue()
089bd0b0bf1e net: altera: set a couple error code in probe()
37493d4eb2e5 net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero
8ca1ca40977b tools build: Remove needless libpython-version feature check that breaks test-all fast path
9c2407afbcd0 dt-bindings: net: Reintroduce PHY no lane swap binding
2e837d90ec09 Documentation/locking/locktypes: Update migrate_disable() bits.
395022a71b6c perf tools: Fix SMT detection fast read path
f1131d3f1b50 drm/amd/display: Fix DPIA outbox timeout after S3/S4/reset
99bc19898375 Revert "PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge"
16431e442db2 i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc
f8358589b31b bpf, sockmap: Re-evaluate proto ops when psock is removed from sockmap
a4953e7b6f6a mtd: rawnand: fsmc: Fix timing computation
ebc8909feecd mtd: rawnand: fsmc: Take instruction delay into account
fabfb7c18c8e i40e: Fix pre-set max number of queues for VF
2132643b956f i40e: Fix failed opcode appearing if handling messages from VF
06ece58874c3 clk: qcom: clk-alpha-pll: Don't reconfigure running Trion
d259ae526fd9 clk: imx: use module_platform_driver
1d044701bdbe hwmon: (dell-smm) Fix warning on /proc/i8k creation error
be7c5d58108b RDMA/hns: Do not destroy QP resources in the hw resetting phase
207f5ea62a9f RDMA/hns: Do not halt commands during reset until later
9b6bf6fca018 ASoC: codecs: wcd934x: return correct value from mixer put
339ffb5b5600 ASoC: codecs: wcd934x: handle channel mappping list correctly
71272640d459 ASoC: codecs: wsa881x: fix return values from kcontrol put
e1e22179376f ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer
cdb5a0d0e007 ASoC: rt5682: Fix crash due to out of scope stack vars
e9362a21147a PM: runtime: Fix pm_runtime_active() kerneldoc comment
a3f0e9b1d6cd qede: validate non LSO skb length
069a849819b3 ALSA: usb-audio: Reorder snd_djm_devices[] entries
ebacb44cb204 scsi: scsi_debug: Fix buffer size of REPORT ZONES command
f8dccc1bdea7 scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
d429b302c184 block: fix ioprio_get(IOPRIO_WHO_PGRP) vs setuid(2)
e3098ce15fec i2c: mpc: Use atomic read and fix break condition
23a5f9797d6c tracefs: Set all files to the same group ownership as the mount option
60d311f9e638 aio: fix use-after-free due to missing POLLFREE handling
924f51534d42 aio: keep poll requests on waitqueue until completed
8d6760fd5d16 signalfd: use wake_up_pollfree()
f12d997683a7 binder: use wake_up_pollfree()
1ebb6cd8c754 wait: add wake_up_pollfree()
8e12976c0c19 io_uring: ensure task_work gets run as part of cancelations
eb313c47b276 libata: add horkage for ASMedia 1092
b0034d4b71f1 drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence.
021ae1e11dfc thermal: int340x: Fix VCoRefLow MMIO bit offset for TGL
0138d396ffce clk: qcom: regmap-mux: fix parent clock lookup
dfb7285a82fa mmc: renesas_sdhi: initialize variable properly when tuning
62c613419543 hwmon: (pwm-fan) Ensure the fan going on in .probe()
a85d27b2eff4 selftests: KVM: avoid failures due to reserved HyperTransport region
041aae47b000 tracefs: Have new files inherit the ownership of their parent
8bf902fee589 nfsd: Fix nsfd startup race (again)
148c816f10fd nfsd: fix use-after-free due to delegation race
50dacb2289e5 md: fix update super 1.0 on rdev size change
00cd8a99885c perf intel-pt: Fix error timestamp setting on the decoder error path
4fbb83c1bf25 perf intel-pt: Fix missing 'instruction' events with 'q' option
22e5fb70f725 perf intel-pt: Fix next 'err' value, walking trace
f747cc563afd perf intel-pt: Fix state setting when receiving overflow (OVF) packet
e39dd2e60039 perf intel-pt: Fix intel_pt_fup_event() assumptions about setting state type
d9c838b927cd perf intel-pt: Fix sync state when a PSB (synchronization) packet is found
c816dcf69ae4 perf intel-pt: Fix some PGE (packet generation enable/control flow packets) usage
ca06c5cb1b6d btrfs: free exchange changeset on failures
32d4054cb3e8 btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
477675049ca8 btrfs: fix re-dirty process of tree-log nodes
0338e448b905 btrfs: clear extent buffer uptodate when we fail to write it
48fc373d9d54 scsi: qla2xxx: Format log strings only if needed
d14bad8c11cc cifs: Fix crash on unload of cifs_arc4.ko
1fd702980994 ALSA: pcm: oss: Handle missing errors in snd_pcm_oss_change_params*()
35a3e5110321 ALSA: pcm: oss: Limit the period size to 16MB
00a860678098 ALSA: pcm: oss: Fix negative period/buffer sizes
c94a0d734c7b ALSA: hda/realtek: Fix quirk for TongFang PHxTxX1
220aaee85f0e ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform
da171216ac2d ALSA: ctl: Fix copy of updated id with element read/write
f987b61daa98 mm: bdi: initialize bdi_min_ratio when bdi is unregistered
dd902bcec34f mm/slub: fix endianness bug for alloc/free_traces attributes
7d7e02563bcd mm/damon/core: fix fake load reports due to uninterruptible sleeps
5a960e533c2a timers: implement usleep_idle_range()
64d320dcf1f1 KVM: x86: Wait for IPIs to be delivered when handling Hyper-V TLB flush hypercall
21cc93f6df63 KVM: x86: Ignore sparse banks size for an "all CPUs", non-sparse IPI req
eea80da3472b KVM: x86: Don't WARN if userspace mucks with RCX during string I/O exit
d6c37e679631 net: mvpp2: fix XDP rx queues registering
d86216dfda7c net/sched: fq_pie: prevent dismantle issue
973a0373e88c net: dsa: felix: Fix memory leak in felix_setup_mmio_filtering
bfc017140aa7 net: dsa: mv88e6xxx: error handling for serdes_power functions
76e414aa2a24 net: bcm4908: Handle dma_set_coherent_mask error codes
fe30b70ca84d devlink: fix netns refcount leak in devlink_nl_cmd_reload()
f9a22d3ed855 IB/hfi1: Correct guard on eager buffer deallocation
20791287eda1 iavf: Fix reporting when setting descriptor count
d0ed80e3ca88 iavf: restore MSI state on reset
be2b5a78a0c1 netfilter: conntrack: annotate data-races around ct->timeout
d2cd7c7f8f83 netfilter: nft_exthdr: break evaluation if setting TCP option fails
e6182c63d827 udp: using datalen to cap max gso segments
98adb2bbfa40 seg6: fix the iif in the IPv6 socket control block
f707820c0923 nfp: Fix memory leak in nfp_cpp_area_cache_add()
6dada2646a0a bonding: make tx_rebalance_counter an atomic
cfd719f04267 ethtool: do not perform operations on net devices being unregistered
9a7e323edb86 ice: ignore dropped packets during init
b4fb67fd1adf bpf: Fix the off-by-two error in range markings
e76da2e8a09a bpf: Make sure bpf_disable_instrumentation() is safe vs preemption.
9c983fd7cf97 bpf, sockmap: Attach map progs to psock early for feature probes
c817dcb2a65b bpf, x86: Fix "no previous prototype" warning
e8193cebf753 vrf: don't run conntrack on vrf with !dflt qdisc
cffab968e94e selftests: netfilter: add a vrf+conntrack testcase
fae9705d2810 nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
0159c7b26683 platform/x86: amd-pmc: Fix s2idle failures on certain AMD laptops
b964ecdb71d9 x86/sme: Explicitly map new EFI memmap table as encrypted
bbf22d47bb3e net: dsa: mv88e6xxx: allow use of PHYs on CPU and DSA ports
f4b8f987a748 net: dsa: mv88e6xxx: fix "don't use PHY_DETECT on internal PHY's"
5c960ae2c22a can: m_can: Disable and ignore ELO interrupt
081816acad36 can: m_can: pci: fix iomap_read_fifo() and iomap_write_fifo()
f4848384c17e can: m_can: pci: fix incorrect reference clock rate
75a422165477 can: m_can: m_can_read_fifo: fix memory leak in error branch
6c73fc931658 can: pch_can: pch_can_rx_normal: fix use after free
474f9a8534f5 can: sja1000: fix use after free in ems_pcmcia_add_card()
c9b5472da3a8 can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter
a8b513b824e4 can: kvaser_usb: get CAN clock frequency from device
834d0fb97864 IB/hfi1: Fix leak of rcvhdrtail_dummy_kvaddr
27bbf30f928a IB/hfi1: Fix early init panic
b9e1cc3b95e8 IB/hfi1: Insure use of smp_processor_id() is preempt disabled
33bee1ebfc83 nft_set_pipapo: Fix bucket load in AVX2 lookup routine for six 8-bit groups
20d1064ac956 platform/x86/intel: hid: add quirk to support Surface Go 3
6281306bdc99 HID: Ignore battery for Elan touchscreen on Asus UX550VE
719d5fb2789a HID: sony: fix error path in probe
e537e7ef5e8c mmc: spi: Add device-tree SPI IDs
59146a86b4aa mtd: dataflash: Add device-tree SPI IDs
a579510a64ed HID: check for valid USB device for many HID drivers
05ca95256aba HID: wacom: fix problems when device is not a valid USB device
58f15f5ae778 HID: bigbenff: prevent null pointer dereference
30d3150d9094 HID: add USB_HID dependancy on some USB HID drivers
8c765cf5f1bc HID: add USB_HID dependancy to hid-chicony
10b05037d7a8 HID: add USB_HID dependancy to hid-prodikeys
e1e21632a4c4 HID: add hid_is_usb() function to make it simpler for USB detection
6892f8e27d6e HID: intel-ish-hid: ipc: only enable IRQ wakeup when requested
d38f90239254 HID: google: add eel USB id
c7b9eca23ea2 HID: quirks: Add quirk for the Microsoft Surface 3 type-cover
5131cc731c67 usb: gadget: uvc: fix multiple opens

(From OE-Core rev: 0b19990a516aed8147b0a4474c413f8a44c7b35e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
87cbd887a8 linux-yocto/5.15: update to v5.15.7
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

4e8c680af6d5 Linux 5.15.7
3ded93ae46ce ipmi: msghandler: Make symbol 'remove_work_wq' static
888fc81107ca serial: liteuart: fix minor-number leak on probe errors
602824cf9aa9 serial: liteuart: fix use-after-free and memleak on unbind
189c99c629bb serial: liteuart: Fix NULL pointer dereference in ->remove()
54b4cfe4c999 serial: 8250: Fix RTS modem control while in rs485 mode
b6e196d931d0 serial: 8250_pci: rewrite pericom_do_set_divisor()
1718ff2e3dad serial: 8250_pci: Fix ACCES entries in pci_serial_quirks array
64e491c1634b serial: core: fix transmit-buffer reset and memleak
d2341178187a serial: tegra: Change lower tolerance baud rate limit for tegra20 and tegra30
ea3628ce85ff serial: pl011: Add ACPI SBSA UART match id
87eb31a7d1e7 tty: serial: msm_serial: Deactivate RX DMA for polling support
498ddcffe2ff x86/64/mm: Map all kernel memory into trampoline_pgd
6e0dd9cceac7 x86/tsc: Disable clocksource watchdog for TSC on qualified platorms
53df08733bc4 x86/tsc: Add a timer to make sure TSC_adjust is always checked
7d94bc8e335c usb: cdnsp: Fix a NULL pointer dereference in cdnsp_endpoint_init()
f4f77594cc30 usb: cdns3: gadget: fix new urb never complete if ep cancel previous requests
cfdb7032a488 usb: typec: tcpm: Wait in SNK_DEBOUNCED until disconnect
43cdf7b5645d USB: NO_LPM quirk Lenovo Powered USB-C Travel Hub
fa75f593c867 xhci: Fix commad ring abort, write all 64 bits to CRCR register.
81dbda4c70f3 vgacon: Propagate console boot parameters before calling `vc_resize'
dbeb9153ded9 parisc: Mark cr16 CPU clocksource unstable on all SMP machines
98736f21f673 parisc: Fix "make install" on newer debian releases
34680557cf3a parisc: Fix KBUILD_IMAGE for self-extracting kernel
8e044b80e6ba serial: 8250_bcm7271: UART errors after resuming from S2
cb0fb54ff6ee net/mlx5e: Sync TIR params updates against concurrent create/modify
a950a93be05f net/mlx5e: Rename TIR lro functions to TIR packet merge functions
3cd81837f46f net/mlx5e: Rename lro_timeout to packet_merge_timeout
66e507d96869 KVM: x86/mmu: Remove spurious TLB flushes in TDP MMU zap collapsible path
e0609b252c8c KVM: x86/mmu: Rename slot_handle_leaf to slot_handle_level_4k
7012eb0e5220 KVM: SEV: Return appropriate error codes if SEV-ES scratch setup fails
a246d92dda9f sched/uclamp: Fix rq->uclamp_max not set on first enqueue
fcf714776066 preempt/dynamic: Fix setup_preempt_mode() return value
e19a07833960 x86/xen: Add xenpv_restore_regs_and_return_to_usermode()
308cc9668d7c x86/entry: Use the correct fence macro after swapgs in kernel CR3
efc5d7be3eb0 x86/entry: Add a fence for kernel entry SWAPGS in paranoid_entry()
ce364f143caa x86/sev: Fix SEV-ES INS/OUTS instructions for word, dword, and qword
690637ec0442 io-wq: don't retry task_work creation failure on fatal conditions
894b21da042f Revert "drm/i915: Implement Wa_1508744258"
812ed9b71246 mctp: Don't let RTM_DELROUTE delete local routes
f1bcddbc7b60 KVM: VMX: Set failure code in prepare_vmcs02()
5333bef073f8 KVM: x86/pmu: Fix reserved bits for AMD PerfEvtSeln register
7a22778cc73b net/mlx5: E-Switch, Check group pointer before reading bw_share value
4cc946fae4c5 net/mlx5: E-Switch, fix single FDB creation on BlueField
301c7519106d net/mlx5: E-switch, Respect BW share of the new group
3f8887350191 net/mlx5: Move MODIFY_RQT command to ignore list in internal error state
1adc4914a0da net/mlx5e: Fix missing IPsec statistics on uplink representor
c4db545992ad KVM: SEV: initialize regions_list of a mirror VM
b5a8918d0865 KVM: X86: Fix when shadow_root_level=5 && guest root_level<4
4768935c2540 iwlwifi: Fix memory leaks in error handling path
8b9bed7c63f0 ASoC: rk817: Add module alias for rk817-codec
805c90e0e919 drm/msm: Restore error return on invalid fence
4c3cdbf25403 drm/msm: Fix wait_fence submitqueue leak
8e2b7fe5e8a4 drm/msm: Fix mmap to include VM_IO and VM_DONTDUMP
a4eb55901df1 drm/msm/devfreq: Fix OPP refcnt leak
8e256b45e058 KVM: x86/mmu: Pass parameter flush as false in kvm_tdp_mmu_zap_collapsible_sptes()
d618539224ea KVM: x86/mmu: Skip tlb flush if it has been done in zap_gfn_range()
be9163800ba7 atlantic: Remove warn trace message.
35b75e2b72c5 atlantic: Fix statistics logic for production hardware
469d2288e059 Remove Half duplex mode speed capabilities.
4b72830f1e30 atlantic: Add missing DIDs and fix 115c.
6816e0fa49f3 atlantic: Fix to display FW bundle version instead of FW mac version.
e9df163300ae atlatnic: enable Nbase-t speeds with base-t
da0027b4178d atlantic: Increase delay for fw transactions
e216e02befc3 drm/vc4: kms: Fix previous HVS commit wait
aeadbd778d66 drm/vc4: kms: Don't duplicate pending commit
2931db9a5ed2 drm/vc4: kms: Clear the HVS FIFO commit pointer once done
53f9601e908d drm/vc4: kms: Add missing drm_crtc_commit_put
b044180fcb38 drm/vc4: kms: Fix return code check
fd7bfba0112d drm/vc4: kms: Wait for the commit before increasing our clock rate
3cae481575f5 drm/msm: Do hw_init() before capturing GPU state
83e54fcf0b14 drm/msm/a6xx: Allocate enough space for GMU registers
3a3db121f999 net/smc: Keep smc_close_final rc during active close
b44a55ee25ef net/rds: correct socket tunable error in rds_tcp_tune()
95518fe354d7 net/smc: fix wrong list_del in smc_lgr_cleanup_early
170739c45e37 ipv4: convert fib_num_tclassid_users to atomic_t
94782c8ffd07 net: annotate data-races on txq->xmit_lock_owner
1c0ddef45b7e octeontx2-af: Fix a memleak bug in rvu_mbox_init()
e83fb96f915a dpaa2-eth: destroy workqueue at the end of remove function
686578a1bac1 net: marvell: mvpp2: Fix the computation of shared CPUs
231117a52713 net: usb: lan78xx: lan78xx_phy_init(): use PHY_POLL instead of "0" if no IRQ is available
823ae758c0f3 net: stmmac: Avoid DMA_CHAN_CONTROL write if no Split Header support
a927f9dfd0d9 ALSA: intel-dsp-config: add quirk for CML devices based on ES8336 codec
9469273e616c rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()
bc97458620e3 rxrpc: Fix rxrpc_peer leak in rxrpc_look_up_bundle()
f50dcc9d14f5 ASoC: tegra: Fix kcontrol put callback in AHUB
e13772cfb25d ASoC: tegra: Fix kcontrol put callback in DSPK
1686d2e9edb2 ASoC: tegra: Fix kcontrol put callback in DMIC
e6186c773572 ASoC: tegra: Fix kcontrol put callback in I2S
7b77bdff45ff ASoC: tegra: Fix kcontrol put callback in ADMAIF
a0730b605153 ASoC: tegra: Fix wrong value type in DSPK
7e83ca5d78bb ASoC: tegra: Fix wrong value type in DMIC
36358b208cdb ASoC: tegra: Fix wrong value type in I2S
f3f65b768880 ASoC: tegra: Fix wrong value type in ADMAIF
14b03b8cebdf mt76: mt7915: fix NULL pointer dereference in mt7915_get_phy_mode
f8aceb91a5dd net: dsa: b53: Add SPI ID table
ad7f90bb8846 selftests: net: Correct case name
75917372eef0 net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources()
b762b3e28c92 net/mlx5e: IPsec: Fix Software parser inner l3 type setting in case of encapsulation
3f837fefa59d iwlwifi: fix warnings produced by kernel debug options
b9dffaf94908 arm64: ftrace: add missing BTIs
49d17d1a4ba5 siphash: use _unaligned version by default
519ed0ab5f8b net: mpls: Fix notifications when deleting a device
c5ef33c1489b net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings()
5a9afcd827ca tcp: fix page frag corruption on page fault
22a18dd48866 natsemi: xtensa: fix section mismatch warnings
f744230dfbf2 i2c: cbus-gpio: set atomic transfer callback
e2d234f96d8b i2c: stm32f7: stop dma transfer in case of NACK
3dd6c5899695 i2c: stm32f7: recover the bus on access timeout
a153d4253530 i2c: stm32f7: flush TX FIFO upon transfer errors
d5f50794a49f wireguard: ratelimiter: use kvcalloc() instead of kvzalloc()
2745192cb798 wireguard: receive: drop handshakes if queue lock is contended
af794a64d6ca wireguard: receive: use ring buffer for incoming handshakes
4db0d88a9048 wireguard: device: reset peer src endpoint when netns exits
7c0d08d85139 wireguard: selftests: rename DEBUG_PI_LIST to DEBUG_PLIST
631a480320f1 wireguard: selftests: actually test for routing loops
d33493e9654a wireguard: allowedips: add missing __rcu annotation to satisfy sparse
b050a8d576b1 wireguard: selftests: increase default dmesg log size
326fb8a1c267 net: dsa: mv88e6xxx: Link in pcs_get_state() if AN is bypassed
19f7ad89bcb7 net: dsa: mv88e6xxx: Fix inband AN for 2500base-x on 88E6393X family
6f273a649608 net: dsa: mv88e6xxx: Add fix for erratum 5.2 of 88E6393X family
f2be2d4c8e8f net: dsa: mv88e6xxx: Save power by disabling SerDes trasmitter and receiver
865185f74509 net: dsa: mv88e6xxx: Drop unnecessary check in mv88e6393x_serdes_erratum_4_6()
0671c8f7332f net: dsa: mv88e6xxx: Fix application of erratum 4.8 for 88E6393X
f7b4f571d580 tracing/histograms: String compares should not care about signed values
4e06bb02ad6a KVM: x86: check PIR even for vCPUs with disabled APICv
2846d550f8f5 KVM: X86: Use vcpu->arch.walk_mmu for kvm_mmu_invlpg()
6aebd2da8d49 KVM: arm64: Avoid setting the upper 32 bits of TCR_EL2 and CPTR_EL2 to 1
87d9c628be26 KVM: MMU: shadow nested paging does not have PKU
9325b1dbdbf9 KVM: x86: Use a stable condition around all VT-d PI paths
70a37e04c08a KVM: VMX: prepare sync_pir_to_irr for running with APICv disabled
8ed61a2a6a28 KVM: nVMX: Abide to KVM_REQ_TLB_FLUSH_GUEST request on nested vmentry/vmexit
361e68805ace KVM: nVMX: Flush current VPID (L1 vs. L2) for KVM_REQ_TLB_FLUSH_GUEST
85f2cf6419dd KVM: nVMX: Emulate guest TLB flush on nested VM-Enter with new vpid12
3a929e1d7e5e KVM: x86: ignore APICv if LAPIC is not enabled
cbe4fcf37150 KVM: Ensure local memslot copies operate on up-to-date arch-specific data
2bdc79ac9a4f KVM: x86/mmu: Fix TLB flush range when handling disconnected pt
0827b8db5c7f KVM: Disallow user memslot with size that exceeds "unsigned long"
f1a1693ea4e2 KVM: fix avic_set_running for preemptable kernels
245241821ecf drm/i915/dp: Perform 30ms delay after source OUI write
7418356362ce drm/amd/display: Allow DSC on supported MST branch devices
8ef8a76a340e ipv6: fix memory leak in fib6_rule_suppress
3ce84ab279ef scsi: ufs: ufs-pci: Add support for Intel ADL
a8392866c522 scsi: lpfc: Fix non-recovery of remote ports following an unsolicited LOGO
dd267e59a181 sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl
adf098e2a8a1 sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl
6fe4eadd54da fget: check that the fd still exists after getting a ref to it
31aa63f69a3c s390/pci: move pseudo-MMIO to prevent MIO overlap
c1079ff6f9a0 dma-buf: system_heap: Use 'for_each_sgtable_sg' in pages free flow
075d9c1497f2 iwlwifi: mvm: retry init flow if failed
c649d47801df cpufreq: Fix get_cpu_device() failure in add_cpu_dev_symlink()
c4618188b15a ipmi: Move remove_work to dedicated workqueue
2a715e15588c rt2x00: do not mark device gone on EPROTO errors during start
edbdf9da8015 ALSA: hda/cs8409: Set PMSG_ON earlier inside cs8409 driver
16ccd481e3d8 kprobes: Limit max data_size of the kretprobe instances
75fc0eba15df vrf: Reset IPCB/IP6CB when processing outbound pkts in vrf dev xmit
275827a7dcaf net/tls: Fix authentication failure in CCM mode
f06c3b728ae7 ACPI: Add stubs for wakeup handler functions
b589021871cf net/smc: Avoid warning of possible recursive locking
859ea5a20ee7 tracing: Don't use out-of-sync va_list in event printing
71e284dcebec perf report: Fix memory leaks around perf_tip()
5b5c6f57a1f8 perf hist: Fix memory leak of a perf_hpp_fmt
27802de133dc perf inject: Fix ARM SPE handling
cf49756c3d68 perf sort: Fix the 'p_stage_cyc' sort key behavior
199e20f4fdfa perf sort: Fix the 'ins_lat' sort key behavior
57482dc5ac7d perf sort: Fix the 'weight' sort key behavior
40e35c77448e net: ethernet: dec: tulip: de4x5: fix possible array overflows in type3_infoblock()
12f907cb1157 net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
634ef8cf4e51 ipv6: check return value of ipv6_skip_exthdr
fc7ffa7f10b9 ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()
b56c75d4d3c3 ata: libahci: Adjust behavior when StorageD3Enable _DSD is set
ab8efdbda76c ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile
75752ada77e0 drm/amd/amdgpu: fix potential memleak
06c6f8f86ec2 drm/amd/amdkfd: Fix kernel panic when reset failed and been triggered again
c786a7d5b88b drm/amd/pm: Remove artificial freq level on Navi1x
9774ec30cf7b net: usb: r8152: Add MAC passthrough support for more Lenovo Docks
592195692021 scsi: iscsi: Unblock session then wake up error handler
80050db986a1 thermal: core: Reset previous low and high trip during thermal zone init
7440613439a3 btrfs: check-integrity: fix a warning on write caching disabled disk
e26605497f4e btrfs: silence lockdep when reading chunk tree during mount
efc562ea9d8a s390/setup: avoid using memblock_enforce_memory_limit
b6d5c4e3fce7 platform/x86: thinkpad_acpi: Fix WWAN device disabled issue after S3 deep
d17d9e935f72 platform/x86: thinkpad_acpi: Add support for dual fan control
8df09ab9d374 platform/x86: dell-wmi-descriptor: disable by default
aca091aadef4 pinctrl: qcom: fix unmet dependencies on GPIOLIB for GPIOLIB_IRQCHIP
00fdcc2b4474 net: return correct error code
cec49b6dfdb0 atlantic: Fix OOB read and write in hw_atl_utils_fw_rpc_wait
fb92e025baa7 net/smc: Transfer remaining wait queue entries during fallback
cc447c1e1482 x86/hyperv: Move required MSRs check to initial platform probing
60af14bf37ec mac80211: fix throughput LED trigger
9d3eb89e6ca3 mac80211: do not access the IV when it was stripped
8e7c364d1c07 drm/sun4i: fix unmet dependency on RESET_CONTROLLER for PHY_SUN6I_MIPI_DPHY
05d27cd9bc70 powerpc/pseries/ddw: Do not try direct mapping with persistent memory and one window
b67ff10e43d3 powerpc/pseries/ddw: Revert "Extend upper limit for huge DMA window for persistent memory"
f8b76df0055c gfs2: Fix length of holes reported at end-of-file
4b11e583193c gfs2: release iopen glock early in evict
1236351c29c7 ALSA: usb-audio: Don't start stream for capture at prepare
321cd173b8cc ALSA: usb-audio: Switch back to non-latency mode at a later point
2cea047b74da ALSA: usb-audio: Less restriction for low-latency playback mode
c7ac29edfb6a ALSA: usb-audio: Fix packet size calculation regression
458871f21e69 ALSA: usb-audio: Avoid killing in-flight URBs during draining
ff39117fac65 ALSA: usb-audio: Improved lowlatency playback support
7303160785e5 ALSA: usb-audio: Add spinlock to stop_urbs()
31056232ad3c ALSA: usb-audio: Check available frames for the next packet size
8d7c6f515b15 ALSA: usb-audio: Disable low-latency mode for implicit feedback sync
5ca1fa52d351 ALSA: usb-audio: Disable low-latency playback for free-wheel mode
2d9ea74b3751 ALSA: usb-audio: Rename early_playback_start flag with lowlatency_playback
8f0a376b2eaa ALSA: usb-audio: Restrict rates for the shared clocks

(From OE-Core rev: 4be04264e5ddb8eb9bb83b453f8ea8c46add2794)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
0d3f120dab linux-yocto/5.10: update to v5.10.84
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

a0582e24d371 Linux 5.10.84
e6edaf267793 ipmi: msghandler: Make symbol 'remove_work_wq' static
a8d18fb4d11b net/tls: Fix authentication failure in CCM mode
dbe73dace94c parisc: Mark cr16 CPU clocksource unstable on all SMP machines
01300d21505d iwlwifi: mvm: retry init flow if failed
a5d0a72b805e serial: 8250: Fix RTS modem control while in rs485 mode
f9802d7049f5 serial: 8250_pci: rewrite pericom_do_set_divisor()
50b06889c86f serial: 8250_pci: Fix ACCES entries in pci_serial_quirks array
e1722acf4f0d serial: core: fix transmit-buffer reset and memleak
bda142bbeb31 serial: tegra: Change lower tolerance baud rate limit for tegra20 and tegra30
901f7e0aa4a6 serial: pl011: Add ACPI SBSA UART match id
946ded2287a0 tty: serial: msm_serial: Deactivate RX DMA for polling support
67d08450a08d x86/64/mm: Map all kernel memory into trampoline_pgd
b3a519b5a580 x86/tsc: Disable clocksource watchdog for TSC on qualified platorms
1ed4a8fd363c x86/tsc: Add a timer to make sure TSC_adjust is always checked
a92f044a9fcb usb: typec: tcpm: Wait in SNK_DEBOUNCED until disconnect
6d8c191bf464 USB: NO_LPM quirk Lenovo Powered USB-C Travel Hub
90c915051c3d xhci: Fix commad ring abort, write all 64 bits to CRCR register.
1235485c633e vgacon: Propagate console boot parameters before calling `vc_resize'
92b9113c6df0 parisc: Fix "make install" on newer debian releases
c27a548d3f29 parisc: Fix KBUILD_IMAGE for self-extracting kernel
92f309c838fc x86/entry: Add a fence for kernel entry SWAPGS in paranoid_entry()
4bbbc9c4f313 x86/pv: Switch SWAPGS to ALTERNATIVE
4d42b7bcf09d sched/uclamp: Fix rq->uclamp_max not set on first enqueue
2015ffa3a4c2 x86/xen: Add xenpv_restore_regs_and_return_to_usermode()
8b9279cad291 x86/entry: Use the correct fence macro after swapgs in kernel CR3
c8e341191849 x86/sev: Fix SEV-ES INS/OUTS instructions for word, dword, and qword
64ca109bf875 KVM: VMX: Set failure code in prepare_vmcs02()
60ce9a754060 KVM: x86/pmu: Fix reserved bits for AMD PerfEvtSeln register
cfebd5a277ad atlantic: Remove warn trace message.
95f6fae9a0db atlantic: Fix statistics logic for production hardware
695d9c6bc671 Remove Half duplex mode speed capabilities.
0c67e7b98fab atlantic: Add missing DIDs and fix 115c.
ca350298bccb atlantic: Fix to display FW bundle version instead of FW mac version.
93a4f3f4fdb5 atlatnic: enable Nbase-t speeds with base-t
44812111a3b1 atlantic: Increase delay for fw transactions
13f290d5aa4a drm/msm: Do hw_init() before capturing GPU state
d646856a600e drm/msm/a6xx: Allocate enough space for GMU registers
a792b3d56438 net/smc: Keep smc_close_final rc during active close
e226180acc49 net/rds: correct socket tunable error in rds_tcp_tune()
77731fede297 net/smc: fix wrong list_del in smc_lgr_cleanup_early
9a40a1e0eb50 ipv4: convert fib_num_tclassid_users to atomic_t
fa973bf5fd0f net: annotate data-races on txq->xmit_lock_owner
e26dab79e16b dpaa2-eth: destroy workqueue at the end of remove function
dde240695d97 net: marvell: mvpp2: Fix the computation of shared CPUs
3260b8d12057 net: usb: lan78xx: lan78xx_phy_init(): use PHY_POLL instead of "0" if no IRQ is available
acef1c2b1596 ALSA: intel-dsp-config: add quirk for CML devices based on ES8336 codec
60f0b9c42cb8 rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()
35b40f724c4e rxrpc: Fix rxrpc_peer leak in rxrpc_look_up_bundle()
4afb32090a15 ASoC: tegra: Fix kcontrol put callback in AHUB
fe4eb5297ac3 ASoC: tegra: Fix kcontrol put callback in DSPK
256aa15aac6d ASoC: tegra: Fix kcontrol put callback in DMIC
1cf1f9a1f3ed ASoC: tegra: Fix kcontrol put callback in I2S
0ee53a1d8889 ASoC: tegra: Fix kcontrol put callback in ADMAIF
e6fb4c3fd35b ASoC: tegra: Fix wrong value type in DSPK
0265ef0dff5e ASoC: tegra: Fix wrong value type in DMIC
e66e75fb2278 ASoC: tegra: Fix wrong value type in I2S
6b54c0d845e5 ASoC: tegra: Fix wrong value type in ADMAIF
932b338f4e5c mt76: mt7915: fix NULL pointer dereference in mt7915_get_phy_mode
a0335cda6d92 selftests: net: Correct case name
f1d43efa59f1 net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources()
59d2dc771006 arm64: ftrace: add missing BTIs
ef55f0f8af2b siphash: use _unaligned version by default
fd52e1f8c093 net: mpls: Fix notifications when deleting a device
15fa12c119f8 net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings()
c6f340a331fb tcp: fix page frag corruption on page fault
aa6c393a3c3f natsemi: xtensa: fix section mismatch warnings
289ee320b5ed i2c: cbus-gpio: set atomic transfer callback
58d5c53f2589 i2c: stm32f7: stop dma transfer in case of NACK
c22124491752 i2c: stm32f7: recover the bus on access timeout
8de6ea757c88 i2c: stm32f7: flush TX FIFO upon transfer errors
1c75779dd90c wireguard: ratelimiter: use kvcalloc() instead of kvzalloc()
cb2d7c1992cb wireguard: receive: drop handshakes if queue lock is contended
8a29a50dbdb1 wireguard: receive: use ring buffer for incoming handshakes
e3be118327a1 wireguard: device: reset peer src endpoint when netns exits
f7b6672fab70 wireguard: selftests: rename DEBUG_PI_LIST to DEBUG_PLIST
0584bf51c315 wireguard: selftests: actually test for routing loops
3d1dc3c67773 wireguard: allowedips: add missing __rcu annotation to satisfy sparse
4caf965f6cbe wireguard: selftests: increase default dmesg log size
3d73021f8d74 tracing/histograms: String compares should not care about signed values
d4af6d974951 KVM: X86: Use vcpu->arch.walk_mmu for kvm_mmu_invlpg()
c71b5f37b5ff KVM: arm64: Avoid setting the upper 32 bits of TCR_EL2 and CPTR_EL2 to 1
5f33887a3682 KVM: x86: Use a stable condition around all VT-d PI paths
7722e8850522 KVM: nVMX: Flush current VPID (L1 vs. L2) for KVM_REQ_TLB_FLUSH_GUEST
6a44f200f1f1 KVM: Disallow user memslot with size that exceeds "unsigned long"
775191dd4c1b drm/amd/display: Allow DSC on supported MST branch devices
209d35ee34e2 ipv6: fix memory leak in fib6_rule_suppress
16c242b09106 sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl
4a46b2f5dce0 sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl
4baba6ba56eb fget: check that the fd still exists after getting a ref to it
80bfed369be9 s390/pci: move pseudo-MMIO to prevent MIO overlap
92283c2728a9 cpufreq: Fix get_cpu_device() failure in add_cpu_dev_symlink()
f717f29e8468 ipmi: Move remove_work to dedicated workqueue
de4f5eb02cfe rt2x00: do not mark device gone on EPROTO errors during start
c200721f8eda kprobes: Limit max data_size of the kretprobe instances
2a74c13dfe83 vrf: Reset IPCB/IP6CB when processing outbound pkts in vrf dev xmit
136cabf15779 ACPI: Add stubs for wakeup handler functions
cc443ac5bb31 net/smc: Avoid warning of possible recursive locking
ff061b5bda73 perf report: Fix memory leaks around perf_tip()
a4c17ebdd624 perf hist: Fix memory leak of a perf_hpp_fmt
d9b72274f32a perf inject: Fix ARM SPE handling
2c15d2a6ba27 net: ethernet: dec: tulip: de4x5: fix possible array overflows in type3_infoblock()
f059fa40f0fc net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
4d5968ea06fb ipv6: check return value of ipv6_skip_exthdr
22519eff7df2 ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()
9a32d3c08d8e ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile
c746945fb6bc drm/amd/amdgpu: fix potential memleak
74aafe99efb6 drm/amd/amdkfd: Fix kernel panic when reset failed and been triggered again
f0c9f49b0caf scsi: iscsi: Unblock session then wake up error handler
bc8c423a286a thermal: core: Reset previous low and high trip during thermal zone init
8e4d2ac4348a btrfs: check-integrity: fix a warning on write caching disabled disk
039572290531 s390/setup: avoid using memblock_enforce_memory_limit
fd1e70ef65ee platform/x86: thinkpad_acpi: Fix WWAN device disabled issue after S3 deep
226b21ad01ae platform/x86: thinkpad_acpi: Add support for dual fan control
3fc88660ede6 net: return correct error code
2c514d25003a atlantic: Fix OOB read and write in hw_atl_utils_fw_rpc_wait
ff6eeb627898 net/smc: Transfer remaining wait queue entries during fallback
e1a165599aad mac80211: do not access the IV when it was stripped
c386d7aa59f5 drm/sun4i: fix unmet dependency on RESET_CONTROLLER for PHY_SUN6I_MIPI_DPHY
57e36973fadb powerpc/pseries/ddw: Revert "Extend upper limit for huge DMA window for persistent memory"
7b2b7e03e8ea gfs2: Fix length of holes reported at end-of-file
664cceab6f70 gfs2: release iopen glock early in evict
bcce010f9230 ovl: fix deadlock in splice write
dca4f9a58196 ovl: simplify file splice
7774dd934a65 can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAM
60ae63ef194a NFSv42: Fix pagecache invalidation after COPY/CLONE
a324ad794566 Linux 5.10.83
45b42cd05391 drm/amdgpu/gfx9: switch to golden tsc registers for renoir+
98b02755d544 net: stmmac: platform: fix build warning when with !CONFIG_PM_SLEEP
a15261d2a121 shm: extend forced shm destroy to support objects from several IPC nses
aa20e966d8a1 s390/mm: validate VMA in PGSTE manipulation functions
a94e4a7b77ed tty: hvc: replace BUG_ON() with negative return value
1c5f722a8fdf xen/netfront: don't trust the backend response data blindly
334b0f278761 xen/netfront: disentangle tx_skb_freelist
e17ee047eea7 xen/netfront: don't read data from request on the ring page
f5e493709800 xen/netfront: read response from backend only once
1ffb20f0527d xen/blkfront: don't trust the backend response data blindly
8e147855fcf2 xen/blkfront: don't take local copy of a request from the ring page
273f04d5d135 xen/blkfront: read response from backend only once
b98284aa3fc5 xen: sync include/xen/interface/io/ring.h with Xen's newest version
406f2d5fe368 tracing: Check pid filtering when creating events
4fd0ad08ee33 vhost/vsock: fix incorrect used length reported to the guest
fbc0514e1a34 iommu/amd: Clarify AMD IOMMUv2 initialization messages
5655b8bccb8a smb3: do not error on fsync when readonly
c380062d0850 ceph: properly handle statfs on multifs setups
22423c966e02 f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
e6ee7abd6bfe sched/scs: Reset task stack state in bringup_cpu()
71e38a0c7cf8 tcp: correctly handle increased zerocopy args struct size
72f2117e450b net: mscc: ocelot: correctly report the timestamping RX filters in ethtool
73115a2b38dd net: mscc: ocelot: don't downgrade timestamping RX filters in SIOCSHWTSTAMP
62343dadbb96 net: hns3: fix VF RSS failed problem after PF enable multi-TCs
215167df4512 net/smc: Don't call clcsock shutdown twice when smc shutdown
6e800ee43218 net: vlan: fix underflow for the real_dev refcnt
ae2659d2c670 net/sched: sch_ets: don't peek at classes beyond 'nbands'
e3509feb46fa tls: fix replacing proto_ops
22156242b104 tls: splice_read: fix record type check
3b6c71c097da MIPS: use 3-level pgtable for 64KB page size on MIPS_VA_BITS_48
a6a5d853f1e6 MIPS: loongson64: fix FTLB configuration
5e823dbee23c igb: fix netpoll exit with traffic
f2a58ff3e3ad nvmet: use IOCB_NOWAIT only if the filesystem supports it
12ceb52f2cc4 net/smc: Fix loop in smc_listen
c94cbd262b6a net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()
3d4937c6a328 net: phylink: Force retrigger in case of latched link-fail indicator
50162ff3c80f net: phylink: Force link down and retrigger resolve on interface change
95ba8f0d57ce lan743x: fix deadlock in lan743x_phy_link_status_change()
c5e4316d9c02 tcp_cubic: fix spurious Hystart ACK train detections for not-cwnd-limited flows
318762309609 drm/amd/display: Set plane update flags for all planes in reset
f634c755a0ee PM: hibernate: use correct mode for swsusp_close()
440bd9faad29 net/ncsi : Add payload to be 32-bit aligned to fix dropped packets
ac88cb3c44b6 nvmet-tcp: fix incomplete data digest send
8889ff80fde3 net: marvell: mvpp2: increase MTU limit when XDP enabled
90d0736876c5 mlxsw: spectrum: Protect driver from buggy firmware
33d89128a960 mlxsw: Verify the accessed index doesn't exceed the array length
29e1b5734795 net/smc: Ensure the active closing peer first closes clcsock
77d9c2efa870 erofs: fix deadlock when shrink erofs slab
9f540c7ffb1e scsi: scsi_debug: Zero clear zones at reset write pointer
725ba1289508 scsi: core: sysfs: Fix setting device state to SDEV_RUNNING
e65a8707b4cd ice: avoid bpf_prog refcount underflow
1eb5395add78 ice: fix vsi->txq_map sizing
26ed13d06422 net: nexthop: release IPv6 per-cpu dsts when replacing a nexthop group
3c40584595f8 net: ipv6: add fib6_nh_release_dsts stub
dc2f7e9d8d20 net: stmmac: retain PTP clock time during SIOCSHWTSTAMP ioctls
79068e6b1cfb net: stmmac: fix system hang caused by eee_ctrl_timer during suspend/resume
cc301ad31207 nfp: checking parameter process for rx-usecs/tx-usecs is invalid
9b44cb67d387 ipv6: fix typos in __ip6_finish_output()
6d9e8dabd46f firmware: smccc: Fix check for ARCH_SOC_ID not implemented
bbd1683e795c mptcp: fix delack timer
061542815af1 ALSA: intel-dsp-config: add quirk for JSL devices based on ES8336 codec
f5af2def7e05 iavf: Prevent changing static ITR values if adaptive moderation is on
5dca8eff4627 net: marvell: prestera: fix double free issue on err path
b33c5c828144 drm/vc4: fix error code in vc4_create_object()
2bf9c5a5039c scsi: mpt3sas: Fix kernel panic during drive powercycle test
29ecb4c0f0d7 drm/nouveau/acr: fix a couple NULL vs IS_ERR() checks
0effb7f51b65 ARM: socfpga: Fix crash with CONFIG_FORTIRY_SOURCE
86c5adc78083 NFSv42: Don't fail clone() unless the OP_CLONE operation failed
c9ba7864d3a2 firmware: arm_scmi: pm: Propagate return value to caller
8730a679c3cb net: ieee802154: handle iftypes as u32
2925aadd1f32 ASoC: codecs: wcd934x: return error code correctly from hw_params
3a25def06de8 ASoC: topology: Add missing rwsem around snd_ctl_remove() calls
4a4f900e0415 ASoC: qdsp6: q6asm: fix q6asm_dai_prepare error handling
9196a6858150 ASoC: qdsp6: q6routing: Conditionally reset FrontEnd Mixer
2be17eca48ae ARM: dts: bcm2711: Fix PCIe interrupts
9db1d4a3c270 ARM: dts: BCM5301X: Add interrupt properties to GPIO node
b2cd6fdcbe0a ARM: dts: BCM5301X: Fix I2C controller interrupt
b7ef25e8c271 netfilter: flowtable: fix IPv6 tunnel addr match
d689176e0e18 netfilter: ipvs: Fix reuse connection if RS weight is 0
994065f6efdc netfilter: ctnetlink: do not erase error code with EINVAL
a3d829e5f375 netfilter: ctnetlink: fix filtering with CTA_TUPLE_REPLY
a8a917058faf proc/vmcore: fix clearing user buffer by properly using clear_user()
1f520a0d78fc PCI: aardvark: Fix link training
aec0751f61f5 PCI: aardvark: Simplify initialization of rootcap on virtual bridge
df5748098878 PCI: aardvark: Implement re-issuing config requests on CRS response
e7f2e2c758ea PCI: aardvark: Update comment about disabling link training
2b7bc1c4b2c8 PCI: aardvark: Deduplicate code in advk_pcie_rd_conf()
dfe906da9a1a powerpc/32: Fix hardlockup on vmap stack overflow
bf00edd9e6c9 mdio: aspeed: Fix "Link is Down" issue
14c3ce30ddbd mmc: sdhci: Fix ADMA for PAGE_SIZE >= 64KiB
63195705b334 mmc: sdhci-esdhc-imx: disable CMDQ support
092a58f0d9ef tracing: Fix pid filtering when triggers are attached
68fa6bf7f179 tracing/uprobe: Fix uprobe_perf_open probes iteration
b777c866aafc KVM: PPC: Book3S HV: Prevent POWER7/8 TLB flush flushing SLB
bfed9c2f2f2e xen: detect uninitialized xenbus in xenbus_init
e1d492c27519 xen: don't continue xenstore initialization in case of errors
8f4d0719f323 fuse: release pipe buf after last use
8d0163cec7de staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
0bfed81b2ccd staging: greybus: Add missing rwsem around snd_ctl_remove() calls
146283f16b7e staging/fbtft: Fix backlight
8fc5e3c7cacc HID: wacom: Use "Confidence" flag to prevent reporting invalid contacts
6ca32e2e776e Revert "parisc: Fix backtrace to always include init funtion names"
3a4aeb37a7a6 media: cec: copy sequence field for the reply
3798218a1af4 ALSA: hda/realtek: Fix LED on HP ProBook 435 G7
60274e248e3d ALSA: hda/realtek: Add quirk for ASRock NUC Box 1100
172167bc8dac ALSA: ctxfi: Fix out-of-range access
4402cf040252 binder: fix test regression due to sender_euid change
aea184ae6408 usb: hub: Fix locking issues with address0_mutex
5bf3a0c7789e usb: hub: Fix usb enumeration issue due to address0 race
00f1038c72f8 usb: typec: fusb302: Fix masking of comparator and bc_lvl interrupts
56fbab4937e0 usb: chipidea: ci_hdrc_imx: fix potential error pointer dereference in probe
b70ff391deee net: nexthop: fix null pointer dereference when IPv6 is not enabled
0755f3f32277 usb: dwc3: gadget: Fix null pointer exception
140e2df472ba usb: dwc3: gadget: Check for L1/L2/U3 for Start Transfer
3abf746e800b usb: dwc3: gadget: Ignore NoStream after End Transfer
2b7ab82f5173 usb: dwc2: hcd_queue: Fix use of floating point literal
4b18ccad9671 usb: dwc2: gadget: Fix ISOC flow for elapsed frames
16f1cac8f702 USB: serial: option: add Fibocom FM101-GL variants
ff721286369e USB: serial: option: add Telit LE910S1 0x9200 composition
854c14b2a15c ACPI: Get acpi_device's parent from the parent field
33fe044f6a9e bpf: Fix toctou on read-only map's constant scalar tracking

(From OE-Core rev: e8adc08ef64a894a638ed07454bcbe5ead881149)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Richard Purdie
8d556a72ec oeqa/selftest/bbtests: Use YP sources mirror instead of GNU
The gnu sources server has been known to disappear. Use the YP sources
mirror instead. If that breaks, the autobuilder is broken anyway. This
should reduce test failures from upstream network issues.

(From OE-Core rev: a5459e42f1a6be9c08f303653cc1f73514eca9ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Richard Purdie
9872900564 lttng-tools: Upgrade 2.13.1 -> 2.13.2
Drop backported patches.

(From OE-Core rev: 313279ffa9054718696ded085d3b88e2ab2972ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Richard Purdie
370fd9b3fb qemu: Upgrade 6.1.0 -> 6.2.0
Add config option for pulseaudio
Change audio to default mode since quoting of list of devices is broken in meson
Drop patch where code changed completed upstream
Refresh other patches

(From OE-Core rev: c1685b06e5f3684b1b5631b99b412e3ec2b10800)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Peter Kjellerstedt
6b70ea0443 tzdata: Clean up
* Whitespace and indentation clean up.
* Change shell variables from "${foo}" to "$foo".
* Remove "/*" from directories specified in FILES.
* Move RCONFLICTS:${PN} to the end of the recipe.

(From OE-Core rev: a698cc12ac2d5b26b2415e3d14739d3f51b89dd1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Peter Kjellerstedt
3550d29e9e tzdata: Remove unnecessary RPROVIDES
The name of the package is provided automatically.

(From OE-Core rev: 1416070079960e7ad82183d8cd1b8da5748e6646)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Peter Kjellerstedt
7c7b22cd5d tzdata: Make it compatible with devtool modify
This avoids the following build error after having run `devtool modify
tzdata`:

  cp: cannot stat '.../qemux86-64/workspace/sources/tzdata//usr': No
  such file or directory

(From OE-Core rev: 3c64d964089f2909d5dc7d94cd449ad068d04caf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Stefan Herbrechtsmeier
c39e671293 selftest: recipetool: Add test for handle_license_vars function
(From OE-Core rev: cfe72844713c79484fb432915672d9f5f1ff0c25)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Stefan Herbrechtsmeier
24a800ff70 selftest: recipetool: Add test for split_pkg_licenses function
(From OE-Core rev: 866b82e71a4d1b0bef5d2c8852654cd94884e373)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Stefan Herbrechtsmeier
32f56de278 recipetool: Separate licenses with & operator
Separate licenses with & operator since it should be satisfied most use
cases and it is a reasonable assumption that all the licenses apply.
Furthermore flat, split and sort the licenses to minimize license string
changes.

Separate package licenses with & operator:
-LICENSE:${PN} = "MIT ISC"
+LICENSE:${PN} = "ISC & MIT"

Respect | and brackets in LICENSE:
-LICENSE = "BSD-3-Clause & (ISC & | & MIT)"
+LICENSE = "BSD-3-Clause & (ISC | MIT)"

Sort licenses:
-LICENSE = "MIT & BSD-3-Clause & ISC"
+LICENSE = "BSD-3-Clause & ISC & MIT"

Remove duplicates:
-LICENSE = "MIT & ISC & MIT"
+LICENSE = "ISC & MIT"

(From OE-Core rev: 60a84ecc53d20118c5e7f86dd3e3cafbfed1cf0a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Stefan Herbrechtsmeier
2be34ea6ed recipetool: Sort output of guess_license function to be deterministic
Sort the output of guess_license function by license file to be
deterministic and to support self-testing.

(From OE-Core rev: ff2a7520813b3f775f96879d1905222e08b8c83f)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Matt Madison
ed5d621cba qemu: add patch to set minimum kernel version for riscv32
which enables us to drop the -r option on qemu-static-riscv32
invocations.

(From OE-Core rev: 4552249810ed27d1272130226d054e7651a90ce6)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Matt Madison
94b371e1c9 qemu.bbclass: drop OLDEST_KERNEL reference
which is introducing task hash changes for some
allarch package builds, and should no longer
be needed with recent versions of qemu.

(From OE-Core rev: 3a3cfb5f48fc92e548333e5856f3d3fcce27da46)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Richard Purdie
f4edd2c98b manpages: Fix override/append ordering and hence task signatures
The append/override ordering was meaning that whilst the data was being picked
up later in the package processing, it wasn't being picked up by do_package.
This means changes to qemu options were not causing task signatures to change.
Fix the variable ordering with the append to correct this.

The whitespace fix is deliberate to cause output to change and hopefully avoid
hash invalidation issues from unchanged output.

(From OE-Core rev: 407793a0fd4e562b626ff07024c5bbdc2a65b20e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Chaitanya Vadrevu
ddf1c3d16c python3-pyelftools: Depend on debugger, pprint
python3-pyelftools uses python3-debugger, python3-pprint.
So add dependencies on these packages.

(From OE-Core rev: 22e84cdd05870f1a19c6389b66c4dfd5e9b418f7)

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Richard Purdie
4a1ba69eab bitbake: tests/fetch: Drop gnu urls from wget connectivity test
These urls are no longer adding much to the test coverage but the intermittent
network issues connecting to them are painful. Drop the urls.

(Bitbake rev: bdf5739c5d831dc97a7d81568f94a0953c71017f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 14:39:29 +00:00
Michael Opdenacker
54bf414ef2 bitbake: doc: bitbake-user-manual: expand BB_HASHSERVE and document BB_HASHSERVE_UPSTREAM
(Bitbake rev: 23cb09108b3064e46e79f6644b802f3539069088)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 14:39:29 +00:00
Alexander Kanavin
9c165097e8 cantarell-fonts: update 0.301 -> 0.303.1
[RP: Drop hashequiv version bump]
(From OE-Core rev: 774d49beb44b71009c5cfc4240189e808d6f45cb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:57:22 +00:00
Richard Purdie
1f7b7982d1 python3-idna: Update license to Unicode-TOU
The correct SPDX license for the test data contained in this code appears
to be Unicode-TOU. Update the LICENSE field to match and avoid package
QA warnings.

(From OE-Core rev: 7cd3f3649f478448db9f068e493cada03d04a85f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:15 +00:00
Alexander Kanavin
6616b85af4 runqemu: additional setting to force software rendering with sdl 2.0.18
(From OE-Core rev: 282e28bec1419d4e34076234027f34af3a49e7b5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:15 +00:00
Alexander Kanavin
346dd8c7c9 libsdl2: update 2.0.16 -> 2.0.18
sdl-dlopen option is no longer supported.

(From OE-Core rev: 202c138a9b6905440deb2f86a3b650ae79da1bcd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:15 +00:00
Alexander Kanavin
3254c90153 libx11: update 1.7.3 -> 1.7.3.1
(From OE-Core rev: dcc1c3c0a90696788c740c50a42000fe2395e7da)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
7bfe7e036e debianutils: update 4.11.2 -> 5.5
(From OE-Core rev: 742042ca1a3d0bbb9736513cf2c9629221c8d84b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
e326f0da6b diffoscope: upgrade 194 -> 196
(From OE-Core rev: 35ab4d42d557d5810b41bf2cc681d67da9213829)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
bc9500b073 rxvt-unicode: upgrade 9.26 -> 9.30
(From OE-Core rev: 1e6ade026635f68d5dd0821563d3246e4b3b25ad)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
e472325f95 boost: update 1.77.0 -> 1.78.0
Drop backports.

Drop 0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch as
it is difficult to rebase and needs to land upstream first.

(From OE-Core rev: 3f62c538b6d39fa113a695077c89c558ae8ae2e1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
542f2f0e96 libptytty: add recipe
It is a dependency of new rxvt-unicode.

(From OE-Core rev: 57e257922c6da75376723b0088c677b13856d42f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
53d17b5fb1 repo: update 2.18 -> 2.19
(From OE-Core rev: 1764fd43e8b9836f0163bb4dbcf087e93eb098fe)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
c3183a69c4 go: upgrade 1.17.4 -> 1.17.5
(From OE-Core rev: 00da24376f4214f30d3eb775d990080b49bb5d3c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
05733e2c6b piglit: upgrade to latest revision
(From OE-Core rev: d311ee2e879a804df05f7283568c840e7dd2230c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
7737b1e93a dpkg: update 1.20.9 -> 1.21.1
(From OE-Core rev: f274f495aedd42c951aafd2cec39be159225b3c5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
cd31c6e4ba alsa: upgrade 1.2.5 -> 1.2.6
(From OE-Core rev: ad0fa779eea149b38ee71cbe828868a8bf00f79d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
63849aafa2 less: upgrade 590 -> 598
License-Update: http->https

(From OE-Core rev: 13ae6af462d06a3fb8eaca18e6a367a097778211)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
dda1378a3c harfbuzz: upgrade 3.1.2 -> 3.2.0
(From OE-Core rev: 871c553643fcd08be6db98b97c332d9988b1f383)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
9afce96eba vim: do not report upstream version check as broken
As upstream tags point releases with every commit and
the version check still reports 8.2, it should not be considered
broken (e.g. current version newer than latest version)
until 8.3 is released.

(From OE-Core rev: 11d8ee09b1bdec4824203dc0169093b2ae9d101a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
fbd6f5d30d lighttpd: upgrade 1.4.61 -> 1.4.63
(From OE-Core rev: 84de86213709abbd9dd3c61105652e7fafce5615)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
fa60634f03 python3-setuptools: upgrade 59.4.0 -> 59.5.0
(From OE-Core rev: 6dd8b4c08a6b4b5ab879d53f1e73d97ad02faa04)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
1f1f12feca elfutils: update patch submitted upstream
As that's what upstream prefers.

(From OE-Core rev: 5a6cd9cc1b9d8fd3607f3df311accb483d2989a3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
190889b8af python3-hypothesis: upgrade 6.30.0 -> 6.31.4
(From OE-Core rev: 55d70d22fb499d1d49e5aa75e963c2f22404b230)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
08384f8346 btrfs-tools: upgrade 5.15 -> 5.15.1
(From OE-Core rev: 164237bee90268048bf956839376c302099ad99f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
2e0f03802b rust-hello-world: test at runtime
This adds a smoke check for whether the rust toolchain actually
produces working executables across a range of architectures.

(From OE-Core rev: 14bb638b0df7acfa6aa89abf4625357f8cde886b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
babd34dc43 serf: mark upstream as inactive
(From OE-Core rev: 3c99f921d669237eb41f6cff8ab554dd8927e8b3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
pgowda
bbaf30ef53 gcc: Fix CVE-2021-42574
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=bd5e882cf6e0def3dd1bc106075d59a303fe0d1e]
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=51c500269bf53749b107807d84271385fad35628]
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=1a7f2c0774129750fdf73e9f1b78f0ce983c9ab3]
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=bef32d4a28595e933f24fef378cf052a30b674a7]

(From OE-Core rev: 1276fa8b501aee1561b77538219d3cad2c796a21)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Konrad Weihmann
53a41cb39c insane: move src-uri-bad checks to unpack stage
previously used package_qa_check_src_uri was triggered during
package_qa stage, which implies having packages.
This isn't the case for native-only recipes or recipe that inherit
nopackages.

Still the checks performed (src-uri-bad) apply to those as well.
Therefore move the check from package_qa stage to unpack stage.

(From OE-Core rev: 8fe68a0516df25a9f336c9f5156a6895d65c0820)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Konrad Weihmann
35ca84e101 insane: add Inactive-Upstream to Upstream-Status
as defined by latest addition to the commit message guideline

(From OE-Core rev: 05c39d9ee820c5807353d1f147fb36596466d03b)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Florian Amstutz
cee17f75f1 systemd: Fix systemd-journal-gateway user/groups
The systemd-journal-gateway user and group are never added to an image
since the package name added to USERADD_PACKES is wrong.

(From OE-Core rev: 495dc879b1eff4f70da6f783341b9a3085180a22)

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Stefan Herbrechtsmeier
31bc9cab25 bitbake: fetch: npm: Use temporary file for empty user config
Always use a temporary file for the user config 'NPM_CONFIG_USERCONFIG'
because npm otherwise failed if configs and npmrc aren't set:

double-loading config "/dev/null" as "global", previously loaded as "user"

(Bitbake rev: 9f272ad7f76c1559e745e9af686d0a529f917659)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:47:04 +00:00
Stefan Herbrechtsmeier
bb42e4b356 bitbake: fetch: npm: Quote destdir in run chmod command
Quote destdir in run chmod command to support special characters in
package name and to avoid syntax error for packages like
'@(._.)/execute'.

(Bitbake rev: a701dfce3f0e74b4d7c687eeda83fe9c8e7240b1)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:47:04 +00:00
Richard Purdie
7c0266a248 bitbake: tests/runqueue: Improve lockfile handling race
Internal bitbake shutdown timings must have changed recently as we're
seeing race issues on the autobuilder around the removal of the bitbake.lock
file. Improve the lockfile race code to cover bitbake's lockfile too
and use it in all the tests.

[YOCTO #14658]
[YOCTO #14652]

(Bitbake rev: bd1912bed64424f9fb28396b71bb49b6090ed087)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:47:04 +00:00
S. Lockwood-Childs
5de2528a4b cups: fix typo in flags to disable avahi
one too many 's': dnsssd -> dnssd

(From OE-Core rev: 88da9b61b469654805fd51869790b1fd6d34c5a3)

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
wangmy
366432779c libcap: upgrade 2.61 -> 2.62
Replace BUILD_GPERF with USE_GPERF since it is now reserved.

(From OE-Core rev: e7a297548ae0af8aa6b7070d66908c3260f95597)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Richard Purdie
be71d0fb59 lttng-tools: Disable problem tests
There is a pattern of the notification tests hanging. Whilst we need to get to the
bottom of that, disable them for now as it is causing high load for triage/SWAT
and masking other failures.

[YOCTO #14263]

(From OE-Core rev: 9b96efe8984df955b8880b83b1b48ad9be37863b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Richard Purdie
7edb45c15c lttng-tools: Backport ptest fix
Add a backport and a dependency from upstream to help address one of the lttng-tools
ptest relayd hangs we've been seeing on the autobuilder.

(From OE-Core rev: c8f845a8f391fa5f3f69a987b3977abdb4959db8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
878fbbe0e1 mesa: make ligles3-dev RDEPENDS on libgles2-dev
Khronos documentation[1] says that include/GLES2/gl2ext.h can be used
for OpenGL ES 3 specification as well as for OpenGL ES 2.
There can be applications including GLES2/gl2ext.h instead of
GLES3/gl3ext.h meaning we should probably bring in GLES2/gl2ext.h if
someone asks for development package of libgles3.

[1] https://www.khronos.org/registry/OpenGL/index_es.php#headers

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 8adf941a8a2b5b3fe5e4e3313856b725e28d5370)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
ddbef1f624 kmscube: add build dependency on virtual/libgles3
texturator requires GLES 3 headers and libs so let's explicit this
dependency. This was not detected until now because mesa, the default
provider, actually provides both Open GLES 2 and 3 compliant
implementations.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: a8bac1006d87d0a702630607f6c46d2f4926776e)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
dcf07d0ac2 mesa: PROVIDES virtual/libgles3
It's assumed that not all OpenGL ES implementation are compliant with
the 3.x specification. Therefore an additional virtual providers is
created to explicit compatibility with OpenGL ES 3 specification.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 405cd7a37988ced627fe6ad6fd3089c17f59367e)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
ccc8b556c0 kmscube: fix build on OpenGL ES 3 dependencies not providing GLES3/gl3ext.h
According to Khronos documentation[1], gl2ext.h can be used for OpenGL
ES 3. Some vendor implementation of OpenGL ES 3, such as
Rockchip's libmali[2], do not have a gl3ext.h but only a gl2ext.h while
being OpenGL ES 3 compliant.

This fixes the header files to be included from gl3ext.h to gl2ext.h to
be compatible with (hopefully) all OpenGL ES 3 implementations.

[1] https://www.khronos.org/registry/OpenGL/index_es.php#headers
[2] https://github.com/rockchip-linux/libmali

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: b7b6284fbc08452c7ed9ea9180003f043a624ae7)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Mingli Yu
d9702b1bcc bootchart2: remove wait_boot logic
When boot with "init=/sbin/bootchartd" as below:
 # runqemu qemux86 bootparams="init=/sbin/bootchartd"

There are two bootchartd process after boot [1].
 # ps -ef | grep bootchart
root       101     1  0 03:27 ?        00:00:00 /bin/sh /sbin/bootchartd
root       103   101  8 03:27 ?        00:00:02 /lib64/bootchart/bootchart-collector 50
root       106     1  0 03:27 ?        00:00:00 /bin/sh /sbin/bootchartd
root       792   106  0 03:27 ?        00:00:00 /lib64/bootchart/bootchart-collector --usleep 1000000
root       794   725  0 03:27 ttyS0    00:00:00 grep bootchart

 # /sbin/bootchartd stop
[bootchart] bootchart-collector started as pid 596 with 2 args:
[bootchart] '--dump'
[bootchart] '/tmp/bootchart.3lXpVDAq3v'
[bootchart] Extracting profile data from pid 204
[bootchart] map 0xbed9a000 -> 0xbedbb000 size: 132k from 'bed9a000' 'bedbb000'
[bootchart] read 135168 bytes of 135168
[bootchart] reading 150 chunks (of 150) ...
[bootchart] wrote 18760 kbB
[bootchart] bootchart-collector pid: 596 unmounted proc / clean exit

But there still one process exist after the above stop command finish.
 # ps -ef | grep bootchartd
root 202 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd
root 629 516 0 09:10 ? 00:00:00 grep bootchartd

Remove the wait_boot which used to wait the boot process to finish to
make sure only one bootchartd process and meanwhile we don't need the
wait_boot logic because we either use "/sbin/bootchartd stop" to stop
the bootchartd manually or install package bootchartd-stop-initscript
altogether with bootchart2 to stop bootchartd automatically after boot.

After patch:
 # ps -ef | grep bootchart
 root       101     1  0 03:36 ?        00:00:00 /bin/sh /sbin/bootchartd
 root       103   101  6 03:36 ?        00:00:04 /lib64/bootchart/bootchart-collector 50
 root       596   592  0 03:37 ttyS0    00:00:00 grep bootchart

[1] https://github.com/xrmx/bootchart/issues/94

(From OE-Core rev: cc34e3bdedc045baf97ebc2258295d9433cb332e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
zhengruoqin
0094cb2078 rt-tests: upgrade 2.2 -> 2.3
(From OE-Core rev: aed533f84c41bb5a17b9af6eb2c3076371472057)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
zhengruoqin
7008028693 vte: upgrade 0.66.0 -> 0.66.2
(From OE-Core rev: f81c3ff739610bc8d30b99a23fe475c7825b02a7)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
zhengruoqin
7887a2fd71 stress-ng: upgrade 0.13.07 -> 0.13.08
0001-Do-not-preserve-ownership-when-installing-example-jo.patch
removed since it is included in 0.13.08

(From OE-Core rev: 111de7be7336bc9c7919e7fc130fd9953e6e7250)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
zhengruoqin
0237fe146f glib-networking: upgrade 2.70.0 -> 2.70.1
Changelog:
====================
 - Fix crashes when handshake is cancelled (#97, #176)
 - OpenSSL: fix spurious certificate expired verification errors (#179)
 - GnuTLS: Fix tests on 32-bit systems (!188, Simon McVittie)
 - GnuTLS: Fix crash when invalid priority string is forced (!189)

(From OE-Core rev: 8cb8c9ed208134436aeaa5fe573ee705a9fb5f6b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
wangmy
c34458afa2 python3-cython: upgrade 0.29.24 -> 0.29.25
Changelog:
================
Bugs fixed
----------
* Several incompatibilities with CPython 3.11 were resolved.
  (Github issues #4411, #4414, #4415, #4416, #4420, #4428, #4473, #4479, #4480)

* Some C compiler warnings were resolved.
  (Github issue #4439)

* C++ "std::move()" should only be used automatically in MSVC versions that support it.
  (Github issue #4191)

 * The "Py_hash_t" type failed to accept arbitrary "index" values.
   (Github issue #2752)

* Avoid copying unaligned 16-bit values since some platforms require them to be aligned.
  Use memcpy() instead to let the C compiler decide how to do it.
  (Github issue #4343)

* Cython crashed on invalid truthiness tests on C++ types without "operator bool".
  (Github issue #4348)

* The declaration of "PyUnicode_CompareWithASCIIString()" in "cpython.unicode" was incorrect.
  (Github issue #4344)

(From OE-Core rev: 8d8faad71e05703362d4004cc9ecdb93c08398ec)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
wangmy
5b08b50b6d mpg123: upgrade 1.29.2 -> 1.29.3
Changelog:
====================
libmpg123: Catch more NULL pointer arguments in LFS wrappers
(most prominently: mpg123_feedseek(), bug 328).

mpg123:
-Fix regression that did _not_ enable --remote-err on -s anymore.
-Fix typos in man page.
-Drop mixed-up value limits on remote control SEQ command.
 It is up to you if you want to distort your sound.
-Add note about equalizer frequency bands to man page.
-build: add BUILD_PROGRAMS option to ports/cmake

(From OE-Core rev: e4e84d295f774136900e0a09001d19cbeab1a157)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Ross Burton
f8494a7343 libical: upgrade to 3.0.12
Disable tests to save some build time as we can't install them.

(From OE-Core rev: dc91910a5ee56af5dee495fafcabab4042431cae)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
c7c5fc879c documentation: conf.py: add knob for loading appropriate objects.inv
Yocto Project releases use a specific Bitbake release. Currently the
bitbake: mapping is pointing to the current master version of Bitbake
documentation. This is an issue if some links disappear over time and
someone is still building old documentation (which is the case on the YP
autobuilder for example). Also, the documentation at the current master
version of Bitbake might not be correct for the Yocto Project version
associated with the doc the user is currently looking at, potentially
causing confusion.

In master branch, nothing needs to be done. For release branches, the
bitbake_version variable needs to be set accordingly. See
https://wiki.yoctoproject.org/wiki/Releases for the mapping.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 457a591a46c57519046f9e3f8bffd632bb2275ea)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Quentin Schulz
e6f8c401aa docs: dev-manual: common-tasks: highlight creating your own layer is not required
Three's been some feedback saying that people actually missed that
paragraph and thought creating the layer by hand was the only way to do
it instead of leveraging bitbake-layers create-layer tool.

Let's try to make it a bit more obvious one does not need to create the
layer by hand by putting the paragraph into a note.

(From yocto-docs rev: 2b171d267ae37d467f8437c4739f32e5253049b3)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Quentin Schulz
e71983bc7d make the documentation a bit more inclusive
Except the name of variables which can't be changed only in the
documentation for obvious reasons and workflow or developement
explanations around the use of the "master" branch which cannot be
replaced with "development" branch instead, most of the non-inclusive
words that appear in https://inclusivenaming.org/word-lists/tier-1/
should have been replaced in this patch.

(From yocto-docs rev: 2755f35060084f7af356091de9dc144f85530fe2)

Signed-off-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
99474e0d68 ref-manual: remove newline string in PREMIRRORS
According to the syntax simplification brought by
https://git.openembedded.org/bitbake/commit/?id=044fb04d

(From yocto-docs rev: 19090efa1268fcb1fcfd3a2dc637d10d8a50dfad)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
d21c35bd81 misc manuals: add further class references
(From yocto-docs rev: 0693f1f8466a118dc707a9c17d5ca528b4ea368a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
121f5758ab ref-manual: add more class references
(From yocto-docs rev: f4610b060968c481c68d0411b82201c302050b71)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
a19add4aaa migration-guides: add more class references
(From yocto-docs rev: 29031a9da0f1a500a8b2b6a642ee553a352255f8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
2b578eae4e dev-manual: how to purge duplicate sstate cache files
(From yocto-docs rev: 113400eb47c13617f08b415bc9ddb4526429049c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
b7693b7321 manuals: add hyperlinks to files in meta-skeleton
This makes the manuals easier to use.
Note the care to keep the paths visible, so that people
reading a printed version still know where to find the files.

(From yocto-docs rev: 501917f65530f14ea686b69d6e96407c3f970a28)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Anuj Mittal
d9e5f67c5f releases.rst: move gatesgarth to outdated releases section
(From yocto-docs rev: 0a21e78e4593ef2417f4a08b23246ad3c93a566e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
79fbaf8b04 dev-manual: remove warning about += and :append
No longer necessary since a warning was added to BitBake
(https://git.openembedded.org/bitbake/commit/?id=8c31e75557dc6a8d8f407b5d24d6327889a3e3b1)

(From yocto-docs rev: f3069c927f24c5d1942c9bcc4f55bb77cd262c0e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
6a353d9322 ref-manual: drop support for Fedora 30-32
These versions have reached their end of life
and we don't test them any more.

(From yocto-docs rev: e4ff50fadbf61bf29015e9eded2584731c5d2bb2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
6df1694cd4 ref-manual: drop support for Ubuntu 16.04
There are no more free updates to Ubuntu 16.04
We can no longer test the latest updates to this distro.

(From yocto-docs rev: 752636d8924f0aaae1e8df61affef3310ae91aa0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Richard Purdie
6943aac26e patchelf: upgrade 0.14.2 -> 0.14.3
(From OE-Core rev: a1524bb96bddd221a08df73a88bca851d423959f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Richard Purdie
b28adadf53 lttng-ust: upgrade 2.13.0 -> 2.13.1
(From OE-Core rev: d1099ea887b5d11ce62ff651f83915ed5f7e7fbe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Richard Purdie
a46133082b puzzles: Upgrade to latest git with patches merged
This upgrades to the latest upstream version where our fixes have equivalent
fixes merged upstream so our patches are no longer needed.

(From OE-Core rev: 987077008c89a9086247d5bcdf35aef7413fb954)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
3c1c16b96d apmd: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: d772775b3f77a753e8401dba3b4a73d5246a290f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
cd5aa858a8 subversion: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: 0610df3e56e350493731d49fe67261b62d346573)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
7f1e060882 qemu: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: cba76eb9232df9af6b1b82649f3e0c6b99ce668c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
565f22824c apr: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

This means that apr now installs libtool into the build-1 folder, but
as this has never been needed before (as we use the system libtool) we
can remove it (it contains build paths so is unreproducible).  Also add
a RDEPENDS on libtool for the target -dev package.

(From OE-Core rev: 07c0c780fb79779827dcd7496fac288c179aa259)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
ade0840878 freetype: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: 000f129323e4fda3fed9d6d0e45f0bc0328a737e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
4dd5f2d154 db: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: 291654cb31ff3568f278d143510f1e9fac573966)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
a84ab0a193 gtk+3: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: df74f8637b63d3b88a1b5bdbca22503b98d2d54b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
0a374e196f pkgconfig: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: 5a4088a1dce17886d391db25a667dd4e0dbbc5cb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
be8fe788e2 binutils: don't expect libtool to be host-prefixed
We update the libtool m4 files in binutils with the latest files from
our patched libtool so that we can use the --with-libtool-sysroot option.

Remove the chunks that are specific to the libtool renaming, which now
doesn't happen.

(From OE-Core rev: 30baaf6c20a2e1619439cf3eb8d9ce7cb877d2fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
ebf34d5b25 libtool: don't prefix the installed binary
Typically libtool installs the binary to 'libtool' in the source tree,
but we've got patches to rename this to ${host_sys}-libtool. As this
isn't standard any upstream that don't respect the LIBTOOL variable need
to be told explicitly where libtool is, which is a long-term maintenance
burden for us on top of the initial libtool patches.

The reasoning for this renaming appears to stem from the design to be
sure that we're using our new/patched libtool and not the host's binary.
However, now that we have HOSTTOOLS, there's no way to run the host
libtool so this argument is moot.

This patch removes the libtool renaming, follow-up patches remove the
required modifications from the rest of the recipes.

[RP: Remove commented patch lines]
(From OE-Core rev: 4b308773eca7570ce5007e8f953b56252c17fdb1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Michael Halstead
14cb87f9ae releases: update to include 3.4.1
Adding 3.4.1 to documentation switcher and release list.

(From yocto-docs rev: 7d503d765f5a8ade226c897a17aecd0856104af1)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Valerii Chernous
e9558a166e elf: Discard input .note.gnu.build-id sections
Originally issue:
building of glibc 2.32 or 2.34 with option "-Wl,--build-id"
produce libc.so.6 with section ".note.gnu.build-id" that have
invalid(double, 0x48) section size. It happens because glibc
use sublibraries for linking libc.so.6
ld produce this sublibraries with build-id section and on last
linking stage loads this sections as input for linking.
ld should create new(valid) ".note.gnu.build-id" into function
ldelf_setup_build_id on last linking stage but it skip creating because
build-id section already exists.
As result libc.so.6 contain ".note.gnu.build-id" with build-ids from
sublibraries and without valid build-id

Howto solved:
1. Discard input .note.gnu.build-id sections.
2. Clear the build ID field before writing.
3. Use bfd_make_section_anyway_with_flags to create the output
   .note.gnu.build-id section.

Upstream-Status: Backport

Reference to upstream patch:
[https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1f1d0f8888a6c944e612b416a2a6e11abcf5199f]

(From OE-Core rev: 68bbff44a481a036dc7d39e5d5745a01ccffdb95)

Signed-off-by: Valerii Chernous <vchernou@cisco.com>
Signed-off-by: Valery Chernous <valery.chernous@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Khem Raj
c9351aee3f glibc: Redo tzselect bash dependency problem
New patch adds a knob to select needed shell interpreter for tzselect
script, which then we excercise via EXTRA_OEMAKE

(From OE-Core rev: 28adfbbcf42d15eabdd7fe3a5dea486bd5049f09)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Oleksandr Kravchuk
63f1e59f9f libx11: update to 1.7.3
Dropped upstreamed patches.

(From OE-Core rev: dc3fcb6f9f6b4f54519265a95d59279fceb5cc97)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Alexander Kanavin
a5fe414531 sstatetests: add a test for moving oe-core around in the filesystem
Doing that should not change the task signatures.

(From OE-Core rev: a06ceaeaf11aa344e152f3bb6629aa6e000482d3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Oleksandr Kravchuk
2faf8fe584 python3: udpate to 3.10.1
Refreshed patches.

(From OE-Core rev: b82ea986a492791716c3da07a7d728edd17654c9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
9fc8c38658 overlayfs: move templates to files directory
(From OE-Core rev: b08ce6d23f2c6c89073ddff90b758360f9ce9fea)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
3c2b8e47e7 overlayfs: update notes on /etc
(From OE-Core rev: a883e5188dd47fffb0df6699f0de2d7a26378eba)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
5221ca9296 oeqa/selftest: unit tests for overlayfs-etc
(From OE-Core rev: 3ca1ce7a3779d0b875385eb4045bd5a51dc839da)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
ae56b39021 oeqa/selftest: overlayfs helper function
Move helper functions out of class scope so they can be used in other tests

(From OE-Core rev: 439a5a575b8ca27910431c71f01bf310122ff7ab)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
51c0965c13 image: add overlayfs-etc image feature
(From OE-Core rev: e105ee47c5f57a22029e611c7ff9c2376bee9ecb)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
8ac91c0c0d overlayfs-etc: mount etc as overlayfs
This class provides an image feature that mounts /etc as an overlayfs
file system. This is an extension for existing overlayfs class, which
doesn't support /etc

(From OE-Core rev: 610ea808c8b5edb2826bda1f1c42a811bd4ba758)

Signed-off-by: Alfred Schapansky <alfred.schapansky@avantys.de>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
822adf5c9f wic: image for overlayfs-etc tests
Introduce wic image for overlayfs-etc tests with a dedicated /data
partition and configurable kernel parameters

(From OE-Core rev: f9a2b08c07ff1270d5b3e8d72d17b6d5fde5bf96)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
167bc05b7f files: add overlayfs-etc-preinit.sh.in
A template init script for overlayfs-etc class

(From OE-Core rev: c0173002f3f2118f72307b7e60515287a1b56bda)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Joshua Watt
74b3628d07 epiphany: Add packageconfig for libsoup2
Adds a PACKAGECONFIG option to use libsoup2 instead of libsoup3.
Including libsoup2 and libsoup3 in the same process can cause strange
runtime failures, and the latest release of each major version will
cause the process to exit if both are detected on startup.

The default is changed from libsoup3 back to libsoup2 to follow
webkitgtk.

(From OE-Core rev: 430ae4f95a2eb36311338c5c8bdba7331958556a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Joshua Watt
86da64c970 webkitgtk: Add packageconfig for libsoup2
Adds a PACKAGECONFIG option to use libsoup2 instead of libsoup3.
Including libsoup2 and libsoup3 in the same process can cause strange
runtime failures, and the latest release of each major version will
cause the process to exit if both are detected on startup.

The default is changed from libsoup3 back to libsoup2. Most GNOME
packages are still using libsoup2, and a large number of these pull in
webkitgtk either directly or indirectly. If webkitgtk uses libsoup3,
this causes all of these packages to fail at startup. It appears that
most GNOME packages will have to switch to libsoup3 when they transition
to GTK4.

(From OE-Core rev: deedca6bee5c90e35a7814b04bc5de03de9f9b1d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Alexander Kanavin
2779257266 meson: upgrade 0.60.1 -> 0.60.2
(From OE-Core rev: e020b140cc6eb93283533545c3d64e9aed0b2489)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Mike Crowe
5903cccfbe documentation: Document PACKAGE_SNAP_LIB_SYMLINKS
PACKAGE_SNAP_LIB_SYMLINKS was added[1] originally to OpenEmbedded in
2008 and then to oe-core in 2011[2] but appears to have evaded
documentation throughout that time. Let's add something that at least
gives some clue as to what it does.

(From OE-Core rev: f3ee68aa06eb9241789015953c57ccaf9ec9911c)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Phil Blundell <pb@pbcl.net>

[1] https://git.openembedded.org/openembedded/commit/?id=cf7114179ead8ddff8f66e84d630811920ac9add
[2] https://git.openembedded.org/openembedded-core/commit/?id=600dbb7cb384c2290af38b993a9bea3a4dfc4494

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Mike Crowe
9546d1935a package: Only snap libraries if they would be processed by ldconfig OS-12840
PACKAGE_SNAP_LIB_SYMLINKS renames libraries based on their SONAME so
that they can be found directly rather than going via symlinks that
would be created by ldconfig. For example, without
PACKAGE_SNAP_LIB_SYMLINKS in ${libdir} we have:

 libharfbuzz.so.0 -> libharfbuzz.so.0.20600.4
 libharfbuzz.so.0.20600.4

but with PACKAGE_SNAP_LIB_SYMLINKS="1" we have just:

 libharfbuzz.so.0

Unfortunately, this renaming is done based on the SONAME which breaks
packages like mesa which install a single library with multiple hard
links:

-rwxr-xr-x root/root  13593488 2021-12-07 12:26 ./usr/lib/dri/i915_dri.so
-rwxr-xr-x root/root  13137328 2021-12-07 12:26 ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/iris_dri.so link to ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/kms_swrast_dri.so link to ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/nouveau_vieux_dri.so link to ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/r200_dri.so link to ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/radeon_dri.so link to ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/swrast_dri.so link to ./usr/lib/dri/i915_dri.so

The SONAME for i915_dri.so (and therefore all the other names that link
to the same file) is libgallium_dri.so. This means that
PACKAGE_SNAP_LIB_SYMLINKS causes do_package to successfully rename the
first name found to libgallium_dri.so. A similar thing happens to
i965_dri.so with its SONAME of libmesa_dri_drivers.so. The order is not
deterministic, so this means that although every build will be missing
one name, it's not always the same one.

-rwxr-xr-x root/root  13593488 2021-11-30 15:17 ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/kms_swrast_dri.so link to ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/libgallium_dri.so link to ./usr/lib/dri/i915_dri.so
-rwxr-xr-x root/root  13137328 2021-11-30 15:17 ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/nouveau_vieux_dri.so link to ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/r200_dri.so link to ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/radeon_dri.so link to ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/swrast_dri.so link to ./usr/lib/dri/i915_dri.so

This renaming means that the library cannot be found at runtime.

The simplest way to avoid this renaming is to only snap libraries that
would be processed by ldconfig.

(From OE-Core rev: 8571182ece1602ce8e030c98aef17cdc5718a037)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Changqing Li
1426525375 cmake: upgrade 3.22.0 -> 3.22.1
This upgrade include a bug fix:
Refer:
https://gitlab.kitware.com/cmake/cmake/-/issues/22963
643fc46bdc

(From OE-Core rev: 63bf94e26443b3790648c393f36203e9954b85de)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Mingli Yu
d2a2b83b2d libhandy: Backport a makefile header race
After the commit(8157ecc Separate public and private enums) introduced,
there comes a race as below:
 | In file included from ../git/src/hdy-settings.c:11:
 | ../git/src/hdy-settings-private.h:16:10: fatal error: hdy-enums-private.h: No such file or directory
 |    16 | #include "hdy-enums-private.h"

So also add private headers like private sources did now to libhandy_sources
to fix the issue.

(From OE-Core rev: de57b4624e3d2d66268c33c4bf86dcb25abcab32)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Mingli Yu
e6cc1b4245 libpam: Backport ptest fix checking whether files exist
Backport a patch to check whether files exist.

Before the patch:
 # ./run-xtests.sh . tst-pam_access1
 mv: cannot stat '/etc/security/opasswd': No such file or directory
 PASS: tst-pam_access1
 mv: cannot stat '/etc/security/opasswd-pam-xtests': No such file or directory
 ==================
 1 tests passed
 0 tests not run
 ==================

After the patch:
 # ./run-xtests.sh . tst-pam_access1
 PASS: tst-pam_access1
 ==================
 1 tests passed
 0 tests not run
 ==================

(From OE-Core rev: 4903fdbace057df2e39c10aaef3440f89748eed2)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
d4f4ed77b1 binutils: Drop mips XLP support patch
The kernel has dropped this as of 5.16 and we don't want to carry such patches
without active maintainers for such targets.

It isn't clear who would even have such hardware and it isn't something we can
support. It would be best maintained as a separate layer by those who can test
it if needed.

(From OE-Core rev: 5cd5075412639c0be9506cf1101737b12894fc5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
fb8f1924f5 perf: Tweak for mips n64
With the changes to binutils, perf's direct calls to ld break for mips n64.
We already have tweaks for n32 so match those with the ones for n64.

(From OE-Core rev: 33828620872b80e1c745612e025215666ba755c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
f39288eb73 binutils: Drop mips default target patch
Similarly to the recent gcc change, we make gcc default to the 64 bit target
through configuration now so we don't need to patch this.

(From OE-Core rev: 259bcfdac3ad87d269dd18617c784fe14c50b0ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
ef2c949827 binutils: Add more detail to the ppc patch
This adds useful detail from the orginal commit.

(From OE-Core rev: 3dea562e9d615384cc5e786eff46ac1f8f41e18e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
2d5e9a1d30 binutils: Drop mips gold patch
As mentioned in a followup to the patch upstream:

https://sourceware.org/legacy-ml/binutils/2016-08/msg00215.html

"With 2.16.1, --enable-gold is just ignored when building on mips"

so we don't need the patch since 2.16.1.

(From OE-Core rev: 3c230c70f28aef21ae986679d783551832b4e3fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Markus Volk
8af5ed024e libva: move PACKAGECONFIG options to libva.inc
This fixes an error in libva-initial build if 'systemd' is in DISTRO_FEATURES
and libdrm is set to be built with udev support.

| Run-time dependency xfixes found: NO (tried pkgconfig and cmake)
| Run-time dependency wayland-client found: YES 1.19.0
| Program wayland-scanner /usr/bin/wayland-scanner found: NO
|
| ../libva-2.13.0/meson.build:107:4: ERROR: Program 'wayland-scanner /usr/bin/wayland-scanner' not found
|
| A full log can be found at /home/flk/build/poky/build-rock/tmp/work/cortexa72-cortexa53-crypto-poky-linux/libva-initial/2.13.0-r0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.

(From OE-Core rev: cb9923f4e62339192c0d8e3d2852f1e71c1963b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:20:00 +00:00
Richard Purdie
65c94ca319 build-appliance-image: Update to master head revision
(From OE-Core rev: 1a6c2a7345199d77ad5aeac8ad337ed80a8aa39b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 13:56:12 +00:00
Thomas Perrot
7c856fbca3 uboot-sign: fix the concatenation when multiple U-BOOT configurations are specified
Some BSPs, especially those of meta-freescale and meta-ti allow to build U-Boot
binaries using different configuration for a given target, for example:
- UBOOT_CONFIG ??= "tfa-secure-boot tfa"
- UBOOT_CONFIG ??= "nand sdcard spi nor"

When this is the case the public key wasn't concatenated to all U-Boot binaries
built.

(From OE-Core rev: dfd71ae3d102f3010c6117d774e9739a322930f6)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 13:49:51 +00:00
Mike Crowe
37b0f34817 kernel: improve transformation from KERNEL_IMAGETYPE_FOR_MAKE
In 526bdd88ccd758204452579333ba188e29270bde the imageType loop in
kernel_do_deploy was changed to use KERNEL_IMAGETYPE_FOR_MAKE rather
than KERNEL_IMAGETYPES. This broke the special handling for fitImage
immediately below because KERNEL_IMAGETYPE_FOR_MAKE never contains
fitImage.

It has always been my understanding that KERNEL_IMAGETYPE_FOR_MAKE
controlled what was passed to make, but KERNEL_IMAGETYPE controlled what
was installed/deployed. When the two are different then it's the
responsibility of whoever set KERNEL_IMAGETYPE_FOR_MAKE to ensure that
whatever comes out of the kernel build system has been transformed in to
the requested form by the time of installation. This is what happens for
kernel.bbclass's own support for vmlinux.gz.

I think this means that for KERNEL_IMAGETYPE vmlinux.gz, kernel.bbclass
is responsible for generating vmlinux.gz.initramfs[1] so that
kernel_do_deploy can deploy it. This means that the change in
526bdd88ccd758204452579333ba188e29270bde can be reverted, fixing
KERNEL_IMAGETYPE = "fitImage".

In addition, it ought to be possible for recipes and other classes that
use kernel.bbclass to hook into this mechanism by setting
KERNEL_IMAGETYPE_FOR_MAKE and performing their own transformations.

do_bundle_initramfs calls kernel_do_compile and we don't want it to
transform vmlinux to vmlinux.gz at that point, since it will fight
against the careful renaming and preserving that do_bundle_initramfs
does. Let's separate the transformation out of kernel_do_compile to a
new do_transform_kernel task that can be run at the right time. This
means that it's also logical to perform the equivalent translation for
the kernel with the initramfs in a separate
do_transform_bundled_initramfs task too.

This leaves two clear customisation points for recipes and other classes
to hook into the process and perform their transformations:
do_transform_kernel and do_transform_bundled_initramfs.

(I care about this because our recipes that use kernel.bbclass also set
KERNEL_IMAGETYPE_FOR_MAKE and transform vmlinux into a form suitable for
our bootloader after do_compile and do_bundle_initramfs into the format
matching KERNEL_IMAGETYPE. I'm unable to successfully bundle an
initramfs after 526bdd88ccd758204452579333ba188e29270bde, but I didn't
want to just revert that change to reintroduce the bug that it was
fixing.)

I can't say that I'm entirely happy with this change, but I'm unsure
what to do to improve it. I find the way that both the bare kernel and
the one with the initramfs both get deployed to be confusing, and a
waste of build time. I would like to not actually generate a publishable
kernel image at all during do_compile when an initramfs is in use, but I
suspect that this would affect valid use cases that I'm not aware of.

(From OE-Core rev: 10a4a132e87e835726bf5da81a60f6f509b90765)

Signed-off-by: Mike Crowe <mac@mcrowe.com>

[1] It could be argued that this should be vmlinux.initramfs.gz, but
that would require another special case in kernel_do_deploy and the
filename is only visible within this class and the recipes that use it
anyway.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 13:49:51 +00:00
Anton Mikanovich
f8474be059 bitbake: process: Do not mix stderr with stdout
We should not redirect stderr to stdout if we need to get separated
stdout and stderr contents from Popen.communicate() later.

(Bitbake rev: 1ecc1d9424877df89fcda2f23c306998998a65ff)

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:56:49 +00:00
Alexander Kanavin
8e03013e19 bitbake: fetch: add a test for version check where compression changes
(Bitbake rev: b6f0c29346ad6463c0e521248633e71886bfb5dc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:56:49 +00:00
Richard Purdie
b400b781bd bitbake: siggen: Ensure dumpsig output is deterministic
Currently the console output for signature dumps e.g. with bitbake-dumpsig
isn't deterministic. Add some sorting to improve that.

(Bitbake rev: a663440b1623f97c9c169df5566e429fbc932a53)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:56:49 +00:00
Alexander Kanavin
43ee80e8b8 libid3tag: move to meta-oe
There are no consumers in oe-core; years ago it used to be gstreamer.

(From OE-Core rev: 4bacb37e9fd55d8bf8ead8d6879e95b31e1dfb55)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
74e02c5f0f kern-tools-native: check tags, not commits for new versions
(From OE-Core rev: da14779d706619261d2f7b7e8ed5fc57a1c5fc03)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
a16a5e3d38 xxhash: upgrade 0.8.0 -> 0.8.1
License-Update: GPL2 license for cli tool moved to a separate file
(From OE-Core rev: 706ed171c0b761a01f01baac92a2f2ad9ba8240b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
d0a4ea90b4 libsoup: upgrade 3.0.2 -> 3.0.3
(From OE-Core rev: c1e9f21c3e691664a05d5c0b756c8d65d0c01dd0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
636722d14e enchant2: upgrade 2.3.1 -> 2.3.2
(From OE-Core rev: a11b2d47c74740d44b90529da18b1bb5ccbc9f9a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
44eeb36a1f diffoscope: upgrade 192 -> 194
(From OE-Core rev: 9cf813fe8c8bd9b3beb89242b19e9782abe3bc48)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
fb8ef1b932 webkitgtk: upgrade 2.34.1 -> 2.34.2
(From OE-Core rev: b5ee08f8f2bafc17ecc39d9c9351cc9b14eb4982)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
2f1039a389 piglit: upgrade to latest revision
(From OE-Core rev: 956ad6a12774e38feaa93bf8a7671a9006160958)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
2bb6a2d1bf mesa: upgrade 21.3.0 -> 21.3.1
(From OE-Core rev: 1970fd5764adff10a5d7e643aeea7ce40d318f26)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
9c5067660c vulkan-loader: upgrade 1.2.198.0 -> 1.2.198.1
(From OE-Core rev: db741a0a117f21aaa9925b0f930d01eb548a7a07)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
01fc0394fe harfbuzz: upgrade 3.1.1 -> 3.1.2
(From OE-Core rev: fd4788c9557e6a88d7e9ffb02d8b75b003507612)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
e6b11b25f0 freetype: upgrade 2.11.0 -> 2.11.1
(From OE-Core rev: 28d330313ceb801727372fd27d1955db5953f96b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
d60dadd847 python3-setuptools: upgrade 59.2.0 -> 59.4.0
(From OE-Core rev: 4c549f4aaf548fcc494ffdb3936b447a545d4624)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
dd91be1364 python3-ruamel-yaml: upgrade 0.17.16 -> 0.17.17
(From OE-Core rev: 8503ed7d274078d2899080f652661ea922fac4cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
0fc2889500 python3-pbr: upgrade 5.7.0 -> 5.8.0
(From OE-Core rev: 7da3daa7bd2f41b7d53993833f178f98f1c7de3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
c4b7ec13fd python3-more-itertools: upgrade 8.11.0 -> 8.12.0
(From OE-Core rev: fadbc899a5ca9818cfe78cf5571b352e97dcfe62)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
c6e6253b2c python3-markdown: upgrade 3.3.4 -> 3.3.6
(From OE-Core rev: 947b4e4f3ffb5233c70c67491989b5c76cd74523)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
94da3cb91c python3-hypothesis: upgrade 6.24.3 -> 6.30.0
(From OE-Core rev: 81f254d315c1a6507d134d13f2c301f0da2b08c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
f945e3b77c mmc-utils: upgrade to latest revision
(From OE-Core rev: 14b79c08fcc187c692870e31860913e9cea133ca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
4cb3a40b8f ccache: upgrade 4.5 -> 4.5.1
(From OE-Core rev: 1549b78868895c5ab329b9b077e3261b1df61919)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
ee07a9a7b4 ell: upgrade 0.45 -> 0.46
(From OE-Core rev: 9d9052c79b376ad46acf5689ab7a28271f601863)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
5ecc682582 glib-2.0: upgrade 2.70.1 -> 2.70.2
(From OE-Core rev: 05a296a3a54a3dbba11aa6aaf34d872a6bc25486)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Richard Purdie
eea1eeb4ec gcc: Add CVE-2021-37322 to the list of CVEs to ignore
The CVE applies to binutils 2.26 and not to gcc so ignore there.

(From OE-Core rev: fea2726663a3db03170c49fceaffc632c509aeea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Richard Purdie
67664c51c7 puzzles: Refresh patches based upon upstream discussion
I mentioned these patches to upstream and this cleans them up based upon
our discussion with better fixes, fixed comments and tracking down the correct
issue in the malloc case.

If we can test and confirm them in this form, we should be in a good position
to resovle the issues with upstream and be able to drop the patches ultimately.

(From OE-Core rev: 87e6a2715b1dcd5b03d9d6eb0fd0feacc5710e7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
8231454281 kern-tools: bug fixes and kgit-gconfig
Bumping yocto-kernel-tools to version v0.3, which comprises the following commits:

    90598a5 tools: Makefile: add missing install file
    330f9fa kgit-config: fix file mode
    22b55cd kgit-config: cleanup error message
    1e2a233 kgit-config: fix the "not found" message
    e7fcb9a kgit-config: trim trailing whitespace
    3cd14ce kgit-config: BSP template and auto meta-data creation
    e56620c tools: introduce kgit-config
    969b888 buckets: update to v5.14+
    d220b06 Kconfiglib: add support for bare 'modules' keyword

(From OE-Core rev: 88439875530bf36e301dbba12de5cf0dc664ba51)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
c4ca0ca803 linux-yocto-rt/5.10: update to -rt56
Integrating the following commit(s) to linux-yocto-rt/5.10:

23f3ad608bc7 rcutorture: fixup merge from standard/base -stable
8612be3f3e2b Revert "rcutorture: Avoid problematic critical section nesting on RT"
9a6fb5667ac8 Linux 5.10.78-rt56
78c80dca8b1f irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on PREEMPT_RT
e91d3b98e3b3 irq_work: Handle some irq_work in a per-CPU thread on PREEMPT_RT
bded6a156d4e irq_work: Allow irq_work_sync() to sleep if irq_work() no IRQ support.
747c881d3348 drm/i915/gt: Queue and wait for the irq_work item.
fa4ef0011e58 locking: Drop might_resched() from might_sleep_no_state_check()
f44d86bc5923 fscache: Use only one fscache_object_cong_wait.
2da5bc42a911 fscache: Use only one fscache_object_cong_wait.
53ecacfc9c68 mm: Disable NUMA_BALANCING_DEFAULT_ENABLED and TRANSPARENT_HUGEPAGE on PREEMPT_RT
03bdef3c5563 preempt: Move preempt_enable_no_resched() to the RT block
0def39751031 sched: Switch wait_task_inactive to HRTIMER_MODE_REL_HARD
60df07c6bd86 sched: Fix get_push_task() vs migrate_disable()
27f8594efeac mm, zsmalloc: Convert zsmalloc_handle.lock to spinlock_t
3fcbcd86a8eb Linux 5.10.78-rt55

(From OE-Core rev: 29f8c47f1d61eb702bd9af72e81708ca66ca9c09)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
9cd03ad1c9 linux-yocto-dev: use versioned branch as default
The -dev kernel used to only have standard/* branches, which were
managed similarly to linux-next. Which means, they are for testing
integration of patches, and are rebased as needed (typically on
version changes).

We now do some leading edge BSP development on the -dev kernel,
so the standard/* branches are not deleted, but are instead
archived with a version prefix v<kernel version>/standard/*

The branch renaming causes problems for maintained releases
(they'll jump forward to newer kernels), and for anything that
wants to specify a particular commit (-dev is AUTOREV by
design).

There's no reason why the branches can't start versioned at
this point, and that solves both problems. So we switch our
default branch to v5.16/standard/base now, and it will be
updated with each new version (we bump the version anyway).

(From OE-Core rev: 73174b29d414ab0b5921f4fcdf5aebb988f0daf5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
fd1ee969c0 linux-yocto/5.15: update to v5.15.6
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

a2547651bc89 Linux 5.15.6
4268e8325d63 drm/amdgpu/gfx9: switch to golden tsc registers for renoir+
8c501d9cf122 drm/amdgpu/gfx10: add wraparound gpu counter check for APUs as well
db8ed1e61b49 block: avoid to quiesce queue in elevator_init_mq
e03513f58919 blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and disk_release()
d9262cc886e2 docs: accounting: update delay-accounting.rst reference
ec8848ab5ebc firmware: arm_scmi: Fix type error in sensor protocol
4cbe2531efeb firmware: arm_scmi: Fix type error assignment in voltage protocol
2d447d318b76 io_uring: fix soft lockup when call __io_remove_buffers
d841c6720fb2 cifs: nosharesock should be set on new server
c9c8c054a01c tracing: Check pid filtering when creating events
6e56e87f43e2 ksmbd: Fix an error handling path in 'smb2_sess_setup()'
278f72e8eb57 vhost/vsock: fix incorrect used length reported to the guest
e4d58ac67e63 vdpa_sim: avoid putting an uninitialized iova_domain
e2c8ed0de4ab iommu/amd: Clarify AMD IOMMUv2 initialization messages
68883f17798c ceph: properly handle statfs on multifs setups
a96c6f0bbba6 cifs: nosharesock should not share socket with future sessions
98805da98d93 riscv: dts: microchip: drop duplicated MMC/SDHC node
fda0d131c0a4 riscv: dts: microchip: fix board compatible
8984bba3b4c0 f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
fb89bcbfbf37 f2fs: quota: fix potential deadlock
724ee060d0ab iommu/vt-d: Fix unmap_pages support
88fc40a33ff3 iommu/rockchip: Fix PAGE_DESC_HI_MASKs for RK3568
229c555260cb sched/scs: Reset task stack state in bringup_cpu()
5f8c2755f850 perf: Ignore sigtrap for tracepoints destined for other tasks
76723ed1fb89 locking/rwsem: Make handoff bit handling more consistent
7b9237a8ef19 net: mscc: ocelot: correctly report the timestamping RX filters in ethtool
93945f2c10bc net: mscc: ocelot: don't downgrade timestamping RX filters in SIOCSHWTSTAMP
d1e71d7d2282 net: hns3: fix incorrect components info of ethtool --reset command
41f967a247bf net: hns3: fix VF RSS failed problem after PF enable multi-TCs
724c50cac0d5 net/smc: Don't call clcsock shutdown twice when smc shutdown
f7fc72a508cf net: vlan: fix underflow for the real_dev refcnt
abfdd9e2f0f9 ethtool: ioctl: fix potential NULL deref in ethtool_set_coalesce()
e25bdbc7e951 net/sched: sch_ets: don't peek at classes beyond 'nbands'
a92f0eebb8dc net: stmmac: Disable Tx queues when reconfiguring the interface
b3c37092378b tls: fix replacing proto_ops
6a012337bc70 tls: splice_read: fix accessing pre-processed records
befe4e291594 tls: splice_read: fix record type check
a6a75b537a4f MIPS: use 3-level pgtable for 64KB page size on MIPS_VA_BITS_48
ea3c7588e16f MIPS: loongson64: fix FTLB configuration
1685d6669a84 igb: fix netpoll exit with traffic
5585036815e5 nvmet: use IOCB_NOWAIT only if the filesystem supports it
a93af38c9f47 net/smc: Fix loop in smc_listen
bb851d0fb025 net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()
e85d50c4d85e net: phylink: Force retrigger in case of latched link-fail indicator
d6525de28dfe net: phylink: Force link down and retrigger resolve on interface change
cc1645427a0f lan743x: fix deadlock in lan743x_phy_link_status_change()
8165a96f6b71 tcp_cubic: fix spurious Hystart ACK train detections for not-cwnd-limited flows
7b904ba3568d drm/amd/display: Set plane update flags for all planes in reset
4da564004a73 drm/amd/display: Fix DPIA outbox timeout after GPU reset
c83f27576c46 PM: hibernate: use correct mode for swsusp_close()
fd49f1f5945a net/ncsi : Add payload to be 32-bit aligned to fix dropped packets
ff1a30740f7a arm64: uaccess: avoid blocking within critical sections
85851d9ff790 drm/hyperv: Fix device removal on Gen1 VMs
63a68f377182 nvmet-tcp: fix incomplete data digest send
d10ecfd9518e cpufreq: intel_pstate: Add Ice Lake server to out-of-band IDs
57e91396455e net: marvell: mvpp2: increase MTU limit when XDP enabled
d815f7ca8bd7 net: ipa: kill ipa_cmd_pipeline_clear()
740c461a7340 net: ipa: separate disabling setup from modem stop
f38aa5cfadf1 net: ipa: directly disable ipa-setup-ready interrupt
da4d70199e5d mlxsw: spectrum: Protect driver from buggy firmware
12dea26c05cd net/smc: Ensure the active closing peer first closes clcsock
cc432b0727ce i2c: virtio: disable timeout handling
4339cd082594 erofs: fix deadlock when shrink erofs slab
8b3b9aaada48 scsi: scsi_debug: Zero clear zones at reset write pointer
a67c045b5558 scsi: core: sysfs: Fix setting device state to SDEV_RUNNING
1f10b09ccc83 ice: avoid bpf_prog refcount underflow
992ba40a6763 ice: fix vsi->txq_map sizing
6652101175c5 net: nexthop: release IPv6 per-cpu dsts when replacing a nexthop group
e085ae661afe net: ipv6: add fib6_nh_release_dsts stub
8d196fa5a901 net: stmmac: retain PTP clock time during SIOCSHWTSTAMP ioctls
f6cd57685567 nfp: checking parameter process for rx-usecs/tx-usecs is invalid
f1f243c06675 ipv6: fix typos in __ip6_finish_output()
88f6b5f10fd1 firmware: smccc: Fix check for ARCH_SOC_ID not implemented
80d709875d92 af_unix: fix regression in read after shutdown
97e5d85030c5 mptcp: use delegate action to schedule 3rd ack retrans
10ef3a1c9377 mptcp: fix delack timer
26c3603a2a88 ALSA: intel-dsp-config: add quirk for JSL devices based on ES8336 codec
c6db0b15ced0 xen/pvh: add missing prototype to header
7c7cfc9da026 x86/pvh: add prototype for xen_pvh_init()
229e70bf02d5 iavf: Fix VLAN feature flags after VFR
8d4b4e0f0114 iavf: Fix refreshing iavf adapter stats on ethtool request
e4031c048f48 iavf: Prevent changing static ITR values if adaptive moderation is on
25bbaa3ae179 HID: magicmouse: prevent division by 0 on scroll
6341c9ccb29a HID: input: set usage type to key on keycode remap
740dd84229a5 HID: input: Fix parsing of HID_CP_CONSUMER_CONTROL fields
03e5203d2161 net: marvell: prestera: fix double free issue on err path
8599e15e508e net: marvell: prestera: fix brige port operation
94850e2dda99 drm/aspeed: Fix vga_pw sysfs output
555721765bd6 drm/vc4: fix error code in vc4_create_object()
b28df766a3fc scsi: mpt3sas: Fix incorrect system timestamp
8f13c5eddf50 scsi: mpt3sas: Fix system going into read-only mode
8485649a7655 scsi: mpt3sas: Fix kernel panic during drive powercycle test
032cf0ad6873 scsi: qla2xxx: edif: Fix off by one bug in qla_edif_app_getfcinfo()
8f98d6449b09 drm/nouveau/acr: fix a couple NULL vs IS_ERR() checks
20a09c8b25a2 ARM: socfpga: Fix crash with CONFIG_FORTIRY_SOURCE
c76a5e594920 NFSv42: Don't fail clone() unless the OP_CLONE operation failed
63073a015730 ASoC: stm32: i2s: fix 32 bits channel length without mclk
008fb838e226 firmware: arm_scmi: pm: Propagate return value to caller
7382bcaf30cb firmware: arm_scmi: Fix base agent discover response
6335d90df8af net: ieee802154: handle iftypes as u32
4739705254a7 ASoC: codecs: lpass-rx-macro: fix HPHR setting CLSH mask
b1b33a14298a ASoC: codecs: wcd934x: return error code correctly from hw_params
de178246c303 ASoC: codecs: wcd938x: fix volatile register range
49475a2b29b3 ASoC: topology: Add missing rwsem around snd_ctl_remove() calls
f4c465bf918a ASoC: qdsp6: q6asm: fix q6asm_dai_prepare error handling
f61e5332fe24 ASoC: qdsp6: q6routing: Conditionally reset FrontEnd Mixer
322eebada5e3 ARM: dts: bcm2711: Fix PCIe interrupts
6012bea74344 ARM: dts: BCM5301X: Add interrupt properties to GPIO node
b14b8cf0d1c6 ARM: dts: BCM5301X: Fix I2C controller interrupt
03339d10253e firmware: arm_scmi: Fix null de-reference on error path
75fa2dadb7c2 media: v4l2-core: fix VIDIOC_DQEVENT handling on non-x86
ed741b849ade netfilter: flowtable: fix IPv6 tunnel addr match
e76228cbecc2 netfilter: ipvs: Fix reuse connection if RS weight is 0
49f878330758 netfilter: ctnetlink: do not erase error code with EINVAL
59a0088fde86 netfilter: ctnetlink: fix filtering with CTA_TUPLE_REPLY
37c8d485cb72 ASoC: SOF: Intel: hda: fix hotplug when only codec is suspended
7b3a34f08d11 proc/vmcore: fix clearing user buffer by properly using clear_user()
de6231fc7f2b drm/amd/display: Fix OLED brightness control on eDP
edd145cd0902 PCI: aardvark: Fix link training
cc890665eaa1 PCI: aardvark: Simplify initialization of rootcap on virtual bridge
70b131ff35bd PCI: aardvark: Implement re-issuing config requests on CRS response
c37f8369fa03 PCI: aardvark: Deduplicate code in advk_pcie_rd_conf()
a0a7875c0305 NFSv42: Fix pagecache invalidation after COPY/CLONE
55d2254fd9a0 iomap: Fix inline extent handling in iomap_readpage
c4e3ff8b8b1d powerpc/32: Fix hardlockup on vmap stack overflow
671fbc2e8dea cpufreq: intel_pstate: Fix active mode offline/online EPP handling
7dd74096dd28 arm64: mm: Fix VM_BUG_ON(mm != &init_mm) for trans_pgd
9ed3dc3968ad mdio: aspeed: Fix "Link is Down" issue
4332ead29990 mmc: sdhci: Fix ADMA for PAGE_SIZE >= 64KiB
4721b9ee049a mmc: sdhci-esdhc-imx: disable CMDQ support
55bc4437762a tracing: Fix pid filtering when triggers are attached
a3e90db5180f tracing/uprobe: Fix uprobe_perf_open probes iteration
83247fdb9417 KVM: PPC: Book3S HV: Prevent POWER7/8 TLB flush flushing SLB
11e659827c3a ksmbd: fix memleak in get_file_stream_info()
522cd5c6554a ksmbd: contain default data stream even if xattr is empty
b05576526e84 ksmbd: downgrade addition info error msg to debug in smb2_get_info_sec()
a70414d820f7 drm/nouveau: recognise GA106
832c006eec0d drm/amdgpu/pm: fix powerplay OD interface
2def7fdf5c82 drm/amdgpu: IH process reset count when restart
1c939a53b26b io_uring: fix link traversal locking
3d2a1e68fd99 io_uring: fail cancellation for EXITING tasks
09eb40f6776c io_uring: correct link-list traversal locking
c673d72d2f61 xen: detect uninitialized xenbus in xenbus_init
6660b61a4182 xen: don't continue xenstore initialization in case of errors
695438d30896 fuse: release pipe buf after last use
c8d3775745ad staging: r8188eu: fix a memory leak in rtw_wx_read32()
788fa64fa8de staging: r8188eu: use GFP_ATOMIC under spinlock
b0d61266f56a staging: r8188eu: Fix breakage introduced when 5G code was removed
51bdb198872c staging: r8188eu: Use kzalloc() with GFP_ATOMIC in atomic context
e27ee2f607fe staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
f0340bea8302 staging: greybus: Add missing rwsem around snd_ctl_remove() calls
d58ec6e81803 staging/fbtft: Fix backlight
d048d3eb3ca7 HID: wacom: Use "Confidence" flag to prevent reporting invalid contacts
28849ab40bac Revert "parisc: Fix backtrace to always include init funtion names"
02130f5e7ca3 media: cec: copy sequence field for the reply
238c04518ff1 ALSA: hda/realtek: Fix LED on HP ProBook 435 G7
4e6ef0940048 ALSA: hda/realtek: Add quirk for ASRock NUC Box 1100
25aa8e9f1031 ALSA: ctxfi: Fix out-of-range access
849d86e85951 binder: fix test regression due to sender_euid change
816904fd873b usb: hub: Fix locking issues with address0_mutex
55197c24c6f1 usb: hub: Fix usb enumeration issue due to address0 race
631a7e0afebd usb: xhci: tegra: Check padctrl interrupt presence in device tree
907f68f03f4f usb: typec: fusb302: Fix masking of comparator and bc_lvl interrupts
a815c169c8c4 usb: chipidea: ci_hdrc_imx: fix potential error pointer dereference in probe
39509d76a9a3 net: nexthop: fix null pointer dereference when IPv6 is not enabled
54619c356f6c net: usb: Correct PHY handling of smsc95xx
70ba56d4f464 usb: dwc3: gadget: Fix null pointer exception
ecba9bc9946b usb: dwc3: gadget: Check for L1/L2/U3 for Start Transfer
d92d8b589366 usb: dwc3: gadget: Ignore NoStream after End Transfer
949fac2e09dd usb: dwc3: core: Revise GHWPARAMS9 offset
a6cc2445103e usb: dwc3: leave default DMA for PCI devices
a5e1211d4451 usb: dwc2: hcd_queue: Fix use of floating point literal
581f42756d29 usb: dwc2: gadget: Fix ISOC flow for elapsed frames
8228d7b0281c USB: serial: option: add Fibocom FM101-GL variants
616dc7809103 USB: serial: option: add Telit LE910S1 0x9200 composition
ea773394a003 USB: serial: pl2303: fix GC type detection
e0b8e1ae8306 ACPI: CPPC: Add NULL pointer check to cppc_get_perf()
dbd961095ed4 ACPI: Get acpi_device's parent from the parent field
c82cd4eed128 scsi: sd: Fix sd_do_mode_sense() buffer length handling

(From OE-Core rev: 613b131b19627961579d50af013648a4b0851dc6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
d1d0c484eb linux-yocto/5.10: update to v5.10.82
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

d5259a9ba699 Linux 5.10.82
d35250ec5a23 Revert "perf: Rework perf_event_exit_event()"
6718f79c40fd ALSA: hda: hdac_stream: fix potential locking issue in snd_hdac_stream_assign()
f751fb54f2bc ALSA: hda: hdac_ext_stream: fix potential locking issues
b3ef5051a758 x86/Kconfig: Fix an unused variable error in dell-smm-hwmon
2ec78af152e9 btrfs: update device path inode time instead of bd_inode
9febc9d8d2b4 fs: export an inode_update_time helper
cade5d7a2803 ice: Delete always true check of PF pointer
fe65cecd2758 usb: max-3421: Use driver data instead of maintaining a list of bound devices
6186c7b9bdfc ASoC: DAPM: Cover regression by kctl change notification fix
b17dd53cac76 selinux: fix NULL-pointer dereference when hashtab allocation fails
1ae0d59c4f5e RDMA/netlink: Add __maybe_unused to static inline in C file
40bc831ab5f6 hugetlbfs: flush TLBs correctly after huge_pmd_unshare
86ab0f8ff008 scsi: ufs: core: Fix task management completion timeout race
ddd4e46cff40 scsi: ufs: core: Fix task management completion
04c586a601dc drm/amdgpu: fix set scaling mode Full/Full aspect/Center not works on vga and dvi connectors
47901b77bf7d drm/i915/dp: Ensure sink rate values are always valid
82de15ca6b55 drm/nouveau: clean up all clients on device removal
c81c90fbf577 drm/nouveau: use drm_dev_unplug() during device removal
9221aff33edb drm/nouveau: Add a dedicated mutex for the clients list
65517975cb19 drm/udl: fix control-message timeout
3d68d6ee8314 drm/amd/display: Update swizzle mode enums
7b97b5776daa cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
1ab297809de8 parisc/sticon: fix reverse colors
6adbc07ebcaf btrfs: fix memory ordering between normal and ordered work functions
6289b494b38e net: stmmac: socfpga: add runtime suspend/resume callback for stratix10 platform
5875f87e2fc9 udf: Fix crash after seekdir
6b43cf113a38 KVM: nVMX: don't use vcpu->arch.efer when checking host state on nested state load
cc73242889b5 block: Check ADMIN before NICE for IOPRIO_CLASS_RT
63e2f34abc22 s390/kexec: fix memory leak of ipl report buffer
b1cf0d2fc4e4 scsi: qla2xxx: Fix mailbox direction flags in qla2xxx_get_adapter_id()
08fd6df8eaaf powerpc/8xx: Fix pinned TLBs with CONFIG_STRICT_KERNEL_RWX
9c177eee116c x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails
b2e2fb64071a mm: kmemleak: slob: respect SLAB_NOLEAKTRACE flag
99032adf7d4b ipc: WARN if trying to remove ipc object which is absent
a7d91625863d tipc: check for null after calling kmemdup
f5995fcb75eb hexagon: clean up timer-regs.h
0854c9ff2151 hexagon: export raw I/O routines for modules
528971af64fc tun: fix bonding active backup with arp monitoring
af1d3c437eb5 arm64: vdso32: suppress error message for 'make mrproper'
97653ba562b9 net: stmmac: dwmac-rk: Fix ethernet on rk3399 based devices
4cebe23c032b s390/kexec: fix return code handling
d4fb80ae9830 perf/x86/intel/uncore: Fix IIO event constraints for Skylake Server
175135a5eacf perf/x86/intel/uncore: Fix filter_tid mask for CHA events on Skylake Server
84f64c7c52d6 pinctrl: qcom: sdm845: Enable dual edge errata
a8230fb74b54 KVM: PPC: Book3S HV: Use GLOBAL_TOC for kvmppc_h_set_dabr/xdabr()
4e6cce20fbc0 e100: fix device suspend/resume
34e54703fb0f NFC: add NCI_UNREG flag to eliminate the race
b2a60b4a0195 net: nfc: nci: Change the NCI close sequence
73a0d12114b4 NFC: reorder the logic in nfc_{un,}register_device
cb14b196d991 NFC: reorganize the functions in nci_request
41dc8dcb49d5 i40e: Fix display error code in dmesg
028ea7b090ec i40e: Fix creation of first queue by omitting it if is not power of two
69868d7a8853 i40e: Fix warning message and call stack during rmmod i40e driver
20645482d159 i40e: Fix ping is lost after configuring ADq on VF
6d64743045ca i40e: Fix changing previously set num_queue_pairs for PFs
f866513ead43 i40e: Fix NULL ptr dereference on VSI filter sync
071948856587 i40e: Fix correct max_pkt_size on VF RX queue
8e6bae950da9 net: virtio_net_hdr_to_skb: count transport header in UFO
1c4099dc0d6a net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove
381a30f7e31c net: sched: act_mirred: drop dst for the direction from egress to ingress
a792e0128d23 scsi: core: sysfs: Fix hang when device state is set via sysfs
4b4302a02b7f net/mlx5: E-Switch, return error if encap isn't supported
68748ea4d122 net/mlx5: E-Switch, Change mode lock from mutex to rw semaphore
6190e1a2d41a net/mlx5: Lag, update tracker when state change event received
471c49289055 net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove()
d1f8f1e04a61 platform/x86: hp_accel: Fix an error handling path in 'lis3lv02d_probe()'
da16f907cb30 mips: lantiq: add support for clk_get_parent()
17dfbe1b2f4e mips: bcm63xx: add support for clk_get_parent()
34284b3a2f86 MIPS: generic/yamon-dt: fix uninitialized variable error
a61f90b2162d iavf: Fix for setting queues to 0
a8a1e601c2ea iavf: Fix for the false positive ASQ/ARQ errors while issuing VF reset
77f5ae5441f0 iavf: validate pointers
ddcc185baa2b iavf: prevent accidental free of filter structure
a420b2612825 iavf: Fix failure to exit out from last all-multicast mode
78638b471322 iavf: free q_vectors before queues in iavf_disable_vf
84a13bfe2714 iavf: check for null in iavf_fix_features
1555d83ddbb7 iavf: Fix return of set the new channel count
09decd0a102a net/smc: Make sure the link_id is unique
437e21e2c9ae sock: fix /proc/net/sockstat underflow in sk_clone_lock()
4da14ddad19f net: reduce indentation level in sk_clone_lock()
9c3c2ef6ca26 tipc: only accept encrypted MSG_CRYPTO msgs
3d5941664786 bnxt_en: reject indirect blk offload when hw-tc-offload is off
4fc060abaa26 net: bnx2x: fix variable dereferenced before check
3ae75cc38a84 net: ipa: disable HOLB drop when updating timer
3984876f91a3 tracing: Add length protection to histogram string copies
900ea2f6287f tcp: Fix uninitialized access in skb frags array for Rx 0cp.
d1a6150ca616 net-zerocopy: Refactor skb frag fast-forward op.
5f7aadf03f98 net-zerocopy: Copy straggler unaligned data for TCP Rx. zerocopy.
8da80ec6d4f7 drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame
aa31e3fda68f perf tests: Remove bash construct from record+zstd_comp_decomp.sh
2ada5c0877f4 perf bench futex: Fix memory leak of perf_cpu_map__new()
11589d3144bc perf bpf: Avoid memory leak from perf_env__insert_btf()
5b2f2cbbc925 tracing/histogram: Do not copy the fixed-size char array field over the field size
1d6125532755 blkcg: Remove extra blkcg_bio_issue_init
dadcc935f440 perf/x86/vlbr: Add c->flags to vlbr event constraints
68fcb52b610c sched/core: Mitigate race cpus_share_cache()/update_top_cache_domain()
91191d47af55 mips: BCM63XX: ensure that CPU_SUPPORTS_32BIT_KERNEL is set
fbe27d0e1dcf clk: qcom: gcc-msm8996: Drop (again) gcc_aggre1_pnoc_ahb_clk
9b3d3b72be84 clk/ast2600: Fix soc revision for AHB
03bc8ea0ae95 clk: ingenic: Fix bugs with divided dividers
7a5439474e69 f2fs: fix incorrect return value in f2fs_sanity_check_ckpt()
0a17fff6f045 f2fs: compress: disallow disabling compress on non-empty compressed file
4ce685cc9a0b sh: define __BIG_ENDIAN for math-emu
73383f670d8f sh: math-emu: drop unused functions
f44defd5694b sh: fix kconfig unmet dependency warning for FRAME_POINTER
3d7c5d08a483 f2fs: fix to use WHINT_MODE
e8bd5e33057c f2fs: fix up f2fs_lookup tracepoints
5d5bf899e57a maple: fix wrong return value of maple_bus_init().
8748f08a2fc0 sh: check return code of request_irq
29b742690a09 powerpc/8xx: Fix Oops with STRICT_KERNEL_RWX without DEBUG_RODATA_TEST
bc4bc07fb44c powerpc/dcr: Use cmplwi instead of 3-argument cmpli
1ac6cd87d8dd ALSA: gus: fix null pointer dereference on pointer block
850416beadef ARM: dts: qcom: fix memory and mdio nodes naming for RB3011
8c4d9764e74d powerpc/5200: dts: fix memory node unit name
833ad2792733 iio: imu: st_lsm6dsx: Avoid potential array overflow in st_lsm6dsx_set_odr()
e0fef1c8cd61 scsi: target: Fix alua_tg_pt_gps_count tracking
8176441373dd scsi: target: Fix ordered tag handling
8440377e1a56 scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs()
3e20cb072679 scsi: scsi_debug: Fix out-of-bound read in resp_readcap16()
9635581aa999 MIPS: sni: Fix the build
77e9fed33056 tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc
da82a207c4dc ALSA: ISA: not for M68K
c788ac47502e ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash
cbba09f86976 ARM: dts: ls1021a: move thermal-zones node out of soc/
2474eb7fc3bf usb: host: ohci-tmio: check return value after calling platform_get_resource()
02d9ebe0ccfa ARM: dts: omap: fix gpmc,mux-add-data type
c6c9bbe7facb firmware_loader: fix pre-allocated buf built-in firmware use
02a22911ed87 ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec
055eced3edf5 scsi: advansys: Fix kernel pointer leak
97f3cbb57b16 ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
ae2207a078cf clk: imx: imx6ul: Move csi_sel mux to correct base register
0c6daf479961 ASoC: SOF: Intel: hda-dai: fix potential locking issue
19d193c5761a arm64: dts: freescale: fix arm,sp805 compatible string
36446a094a45 arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
e52fecdd0c14 arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
568d94c5c9f0 ARM: BCM53016: Specify switch ports for Meraki MR32
3a53d9ad9bc3 staging: rtl8723bs: remove possible deadlock when disconnect (v2)
3544c338794b ARM: dts: ux500: Skomer regulator fixes
eff8b7628410 usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
679eee466d0f usb: musb: tusb6010: check return value after calling platform_get_resource()
2492de6f5edb bus: ti-sysc: Use context lost quirk for otg
5eca1c8412f4 bus: ti-sysc: Add quirk handling for reinit on context lost
dcd6eefceeb0 RDMA/bnxt_re: Check if the vlan is valid before reporting
4e5bc9fb23a7 arm64: dts: hisilicon: fix arm,sp805 compatible string
109a63bb07f0 arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
c097bd5a5916 scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
db90c507832a ARM: dts: NSP: Fix mpcore, mmc node names
5010df76ab1f staging: wfx: ensure IRQ is ready before enabling it
2651d06e461f arm64: dts: allwinner: a100: Fix thermal zone node name
fa98ac472e88 arm64: dts: allwinner: h5: Fix GPU thermal zone node name
aed195558f94 ARM: dts: sunxi: Fix OPPs node name
e2e105631265 arm64: zynqmp: Fix serial compatible string
48f154e8b94a arm64: zynqmp: Do not duplicate flash partition label property
99957dcea4e9 Linux 5.10.81
0685efd9840f selftests/x86/iopl: Adjust to the faked iopl CLI/STI usage
6a315471cb6a thermal: Fix NULL pointer dereferences in of_thermal_ functions
bd40513d0bee perf/core: Avoid put_page() when GUP fails
df58fb431aa3 scripts/lld-version.sh: Rewrite based on upstream ld-version.sh
be3f6035831a erofs: fix unsafe pagevec reuse of hooked pclusters
6c1ad56b2d78 erofs: remove the occupied parameter from z_erofs_pagevec_enqueue()
5bf5f464831c PCI: Add MSI masking quirk for Nvidia ION AHCI
f28c620e1ac1 PCI/MSI: Deal with devices lying about their MSI mask capability
9b61500ee536 PCI/MSI: Destroy sysfs before freeing entries
c49bfdfe535c parisc/entry: fix trace test in syscall exit path
b31bac061918 x86/iopl: Fake iopl(3) CLI/STI usage
a0958a5354f7 net: stmmac: dwmac-rk: fix unbalanced pm_runtime_enable warnings
80407c6ad9da net: stmmac: fix issue where clk is being unprepared twice
ac4bb9951c2c net: stmmac: fix system hang if change mac address after interface ifdown
bcf37522432d net: stmmac: fix missing unlock on error in stmmac_suspend()
483ed89522b0 net: stmmac: platform: fix build error with !CONFIG_PM_SLEEP
3afe11be6435 net: stmmac: add clocks management for gmac driver
f27060e28efc bootconfig: init: Fix memblock leak in xbc_make_cmdline()
04e46514fef6 loop: Use blk_validate_block_size() to validate block size
79ff56c613c1 block: Add a helper to validate the block size
eaafc590053b fortify: Explicitly disable Clang support
f884bb85b8d8 Linux 5.10.80
1e49a79bc312 soc/tegra: pmc: Fix imbalanced clock disabling in error code path
45490bfa1ebb x86/sev: Make the #VC exception stacks part of the default stacks storage
fc25889a6617 x86/sev: Add an x86 version of cc_platform_has()
74ba917cfddd arch/cc: Introduce a function to check for confidential computing features
5be42b203f2c selftests/bpf: Fix also no-alu32 strobemeta selftest
1e7340950dc2 mmc: moxart: Fix null pointer dereference on pointer host
188bf40391a5 ath10k: fix invalid dma_addr_t token assignment
d41f4d4dd7c8 SUNRPC: Partial revert of commit 6f9f17287e78
c7a440cd3079 PCI: aardvark: Fix PCIe Max Payload Size setting
f967d120a5b5 PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
f3396f6d8345 drm/sun4i: Fix macros in sun8i_csc.h
1023355234ca powerpc/85xx: fix timebase sync issue when CONFIG_HOTPLUG_CPU=n
77d543e68795 powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload
9dcdadd6cc73 mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines
51e34fcf72a3 mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines
e1de04df8eb1 mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines
b4e2e9fbd194 mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines
963db3ccc15b mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines
13566bc111ee mtd: rawnand: mpc5121: Keep the driver compatible with on-die ECC engines
9b366f5221d8 mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines
cbc55cf4a358 mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines
1f420818dfca s390/cio: make ccw_device_dma_* more robust
c9ca9669dec3 s390/ap: Fix hanging ioctl caused by orphaned replies
57de1fbecff0 s390/tape: fix timer initialization in tape_std_assign()
1174298a5b31 s390/cio: check the subchannel validity for dev_busid
7d0341b37d97 video: backlight: Drop maximum brightness override for brightness zero
332306b1e731 mfd: dln2: Add cell for initializing DLN2 ADC
1d457987366f mm, oom: do not trigger out_of_memory from the #PF
ac7f6befc3d1 mm, oom: pagefault_out_of_memory: don't force global OOM for dying tasks
1ada86999dc8 powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC
7fcf86565bb6 powerpc/security: Add a helper to query stf_barrier type
951fb7bf387f powerpc/bpf: Validate branch ranges
51cf71d5cb03 powerpc/lib: Add helper to check if offset is within conditional branch range
74293225f503 memcg: prohibit unconditional exceeding the limit of dying tasks
32246cefb992 9p/net: fix missing error check in p9_check_errors
a8cdf34ff8b7 net, neigh: Enable state migration between NUD_PERMANENT and NTF_USE
0bf5c6a1e43f f2fs: should use GFP_NOFS for directory inodes
7930892cbd40 irqchip/sifive-plic: Fixup EOI failed when masked
f67f6eb717ae posix-cpu-timers: Clear task::posix_cputimers_work in copy_process()
1372eb187108 x86/mce: Add errata workaround for Skylake SKX37
1ee5bc2ba83f MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL
fc42bbb7827b parisc: Fix backtrace to always include init funtion names
241c74cc6555 ARM: 9156/1: drop cc-option fallbacks for architecture selection
03f2578153eb ARM: 9155/1: fix early early_iounmap()
ee79560cb768 selftests/net: udpgso_bench_rx: fix port argument
8b215edb7a38 cxgb4: fix eeprom len when diagnostics not implemented
93bc3ef60758 net/smc: fix sk_refcnt underflow on linkdown and fallback
7e03b797bee0 vsock: prevent unnecessary refcnt inc for nonblocking connect
ad3d219e843d net: stmmac: allow a tc-taprio base-time of zero
b30459c0ca0d net: hns3: allow configure ETS bandwidth of all TCs
ee11f16fee95 net: hns3: fix kernel crash when unload VF while it is being reset
79aa8706b45c net/sched: sch_taprio: fix undefined behavior in ktime_mono_to_any
b5703462a428 seq_file: fix passing wrong private data
4af0cd17e724 gve: Fix off by one in gve_tx_timeout()
c842a4c4ae7f bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
8b5c98a67c1b bpf, sockmap: Remove unhash handler for BPF sockmap usage
0fe81d7a202d arm64: pgtable: make __pte_to_phys/__phys_to_pte_val inline functions
727c812433b6 nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
9f0e683e1bd4 llc: fix out-of-bound array index in llc_sk_dev_hash()
b833274ae6d9 perf bpf: Add missing free to bpf_event__print_bpf_prog_info()
7091fcc75ff6 zram: off by one in read_block_state()
64bde0c2db50 mm/zsmalloc.c: close race window between zs_pool_dec_isolated() and zs_unregister_migration()
a3c205c017f8 can: mcp251xfd: mcp251xfd_chip_start(): fix error handling for mcp251xfd_chip_rx_int_enable()
300d87474816 mfd: core: Add missing of_node_put for loop iteration
6439b91fef2c bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed
acb01e962af7 net: phy: fix duplex out of sync problem while changing settings
090e17075f67 drm/nouveau/svm: Fix refcount leak bug and missing check against null bug
ee8a3ae48a94 ACPI: PMIC: Fix intel_pmic_regs_handler() read accesses
d83832d4a838 ice: Fix not stopping Tx queues for VFs
354ae5ca6ce1 ice: Fix replacing VF hardware MAC to existing MAC filter
e04a7a84bb77 net: vlan: fix a UAF in vlan_dev_real_dev()
3fe164e7197b openrisc: fix SMP tlb flush NULL pointer dereference
628773a759d5 ethtool: fix ethtool msg len calculation for pause stats
e78c267eb74e net: davinci_emac: Fix interrupt pacing disable
111f77594ddf xen-pciback: Fix return in pm_ctrl_init()
de9721ee8ad3 i2c: xlr: Fix a resource leak in the error handling path of 'xlr_i2c_probe()'
8c3e204fb6bc NFSv4: Fix a regression in nfs_set_open_stateid_locked()
0afb3bc53435 scsi: qla2xxx: Turn off target reset during issue_lip
09595fd2cef5 scsi: qla2xxx: Fix gnl list corruption
cbe31149e5a7 scsi: qla2xxx: Relogin during fabric disturbance
bc3f207ed99a scsi: qla2xxx: Changes to support FCP2 Target
ba5eb0e44346 ar7: fix kernel builds for compiler test
ef9f7ab9ba20 watchdog: f71808e_wdt: fix inaccurate report in WDIOC_GETTIMEOUT
aaa64ee14ac9 m68k: set a default value for MEMORY_RESERVE
a4cbf00e5ab8 signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL)
b04c17acf42a dmaengine: dmaengine_desc_callback_valid(): Check for `callback_result`
bba31f3b1f43 netfilter: nfnetlink_queue: fix OOB when mac header was cleared
41968262bb24 soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
6caab6c96b67 auxdisplay: ht16k33: Fix frame buffer device blanking
178522aa755f auxdisplay: ht16k33: Connect backlight to fbdev
a1d6a60ee00c auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string
0e1709b2a07a Fix user namespace leak
90e7415221e1 NFS: Fix an Oops in pnfs_mark_request_commit()
10f210871736 NFS: Fix up commit deadlocks
91e43a8500f4 dmaengine: at_xdmac: fix AT_XDMAC_CC_PERID() macro
038dfd67d375 rtc: rv3032: fix error handling in rv3032_clkout_set_rate()
5061e102346e remoteproc: Fix a memory leak in an error handling path in 'rproc_handle_vdev()'
36104e1f71dd mtd: core: don't remove debugfs directory if device is in use
0b73c025bfcf PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation
d2ff7a8b079d mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare()
c4eb6849909a fs: orangefs: fix error return code of orangefs_revalidate_lookup()
3e7b08ebf40f NFS: Fix deadlocks in nfs_scan_commit_list()
14943891857d opp: Fix return in _opp_add_static_v2()
bea3213f191a PCI: aardvark: Fix preserving PCI_EXP_RTCTL_CRSSVE flag on emulated bridge
ec6dba3ffe3f PCI: aardvark: Don't spam about PIO Response Status
2e548581fe5b drm/plane-helper: fix uninitialized variable reference
e94c59b64e6c pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds
8ac076ce7193 NFS: Fix dentry verifier races
9d438dbf7342 i2c: mediatek: fixing the incorrect register offset
f3492c4a9264 nfsd: don't alloc under spinlock in rpc_parse_scope_id
602ab1fd40e2 rpmsg: Fix rpmsg_create_ept return when RPMSG config is not defined
851b622e7b4f apparmor: fix error check
9c9c33ea4cab power: supply: bq27xxx: Fix kernel crash on IRQ handler register error
dbdf0f220759 mips: cm: Convert to bitfield API to fix out-of-bounds access
c8447cb14a12 virtio_ring: check desc == NULL when using indirect with packed
80e6643393b7 ASoC: cs42l42: Correct configuring of switch inversion from ts-inv
cb0fdd9aae01 ASoC: cs42l42: Use device_property API instead of of_property
ef9d007a91f5 ASoC: cs42l42: Disable regulators if probe fails
c0faad6e9d56 powerpc/44x/fsp2: add missing of_node_put
4310970d0b4d HID: u2fzero: properly handle timeouts in usb_submit_urb
e2f0bff411f5 HID: u2fzero: clarify error check and length calculations
26be378079fc clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
f2886010a8d1 serial: xilinx_uartps: Fix race condition causing stuck TX
515778f9d841 phy: qcom-snps: Correct the FSEL_MASK
fd056574a7e8 phy: ti: gmii-sel: check of_get_address() for failure
0a46740a0af0 phy: qcom-qusb2: Fix a memory leak on probe
ec40a28495a8 pinctrl: equilibrium: Fix function addition in multiple groups
a0467ca4d25f soc: qcom: apr: Add of_node_put() before return
b41c528b14fe firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available()
31e7a836e2a2 usb: dwc2: drd: reset current session before setting the new one
fc86da757db7 usb: dwc2: drd: fix dwc2_drd_role_sw_set when clock could be disabled
6774a429327d usb: dwc2: drd: fix dwc2_force_mode call in dwc2_ovr_init
068dfa570d8c serial: imx: fix detach/attach of serial console
d293bd40fbad scsi: ufs: ufshcd-pltfrm: Fix memory leak due to probe defer
75df59394126 scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk
948d8f2f2fd5 iio: adis: do not disabe IRQs in 'adis_init()'
c8e5edca68a3 usb: typec: STUSB160X should select REGMAP_I2C
503d6e5fb878 soc: qcom: rpmhpd: Make power_on actually enable the domain
81e37cf40dbb soc: qcom: rpmhpd: Provide some missing struct member descriptions
b288b841c1d8 ASoC: cs42l42: Defer probe if request_threaded_irq() returns EPROBE_DEFER
1812deb08f86 ASoC: cs42l42: Correct some register default values
d34982c08714 ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
602fefd4561e ARM: dts: stm32: fix SAI sub nodes register range
3fb75227bdce ARM: dts: stm32: Reduce DHCOR SPI NOR frequency to 50 MHz
78238479b93b pinctrl: renesas: checker: Fix off-by-one bug in drive register check
51bcffb3951c staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC
0bb8359f9c0d staging: most: dim2: do not double-register the same device
8e1feecc04fc usb: musb: select GENERIC_PHY instead of depending on it
0058f7fbea13 RDMA/mlx4: Return missed an error if device doesn't support steering
bce61de56480 scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
12c46732042c power: supply: max17040: fix null-ptr-deref in max17040_probe()
c553d673018d power: supply: rt5033_battery: Change voltage values to µV
d8da6328ecae usb: gadget: hid: fix error code in do_config()
92a80e1ca20e serial: 8250_dw: Drop wrong use of ACPI_PTR()
cfbf58ac8ec2 powerpc: fix unbalanced node refcount in check_kvm_guest()
54965d92a464 powerpc: Fix is_kvm_guest() / kvm_para_available()
e01a4d7560b6 powerpc: Reintroduce is_kvm_guest() as a fast-path check
113207234aac powerpc: Rename is_kvm_guest() to check_kvm_guest()
61c5d9fa5671 powerpc: Refactor is_kvm_guest() declaration to new header
67074c63cd67 video: fbdev: chipsfb: use memset_io() instead of memset()
fb24243e6d7f clk: at91: check pmc node status before registering syscore ops
20cc0fa1d030 memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe
d3833d3c569a soc/tegra: Fix an error handling path in tegra_powergate_power_up()
9a2244200908 ASoC: SOF: topology: do not power down primary core during topology removal
8b6124d9245c arm: dts: omap3-gta04a4: accelerometer irq fix
e1959450b77a driver core: Fix possible memory leak in device_link_add()
ddb13ddacc60 scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()
4438a7457063 soundwire: debugfs: use controller id and link_id for debugfs
3fe8d239e35b ALSA: hda: Use position buffer for SKL+ again
c550c7c9ae91 ALSA: hda: Fix hang during shutdown due to link reset
23e8f775d962 ALSA: hda: Release controller display power during shutdown/reboot
5972e974ebbb ALSA: hda: Reduce udelay() at SKL+ position reporting
1db71de28bfc arm64: dts: qcom: pm8916: Remove wrong reg-names for rtc@6000
d833ddddec5b arm64: dts: renesas: beacon: Fix Ethernet PHY mode
d70247b752f7 arm64: dts: qcom: msm8916: Fix Secondary MI2S bit clock
980c7bdd20fc JFS: fix memleak in jfs_mount
c4edd206d52e MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
24149c954f32 scsi: dc395: Fix error case unwinding
6348983be709 ARM: dts: at91: tse850: the emac<->phy interface is rmii
b6493c2b7ddb bus: ti-sysc: Fix timekeeping_suspended warning on resume
85085c343705 arm64: dts: meson-g12b: Fix the pwm regulator supply properties
4ccb7e4a972c arm64: dts: meson-g12a: Fix the pwm regulator supply properties
20baf0163805 arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for PCIe
7a1617a9919b arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
64a43b771258 RDMA/bnxt_re: Fix query SRQ failure
fe3c11fc627b ARM: dts: qcom: msm8974: Add xo_board reference clock to DSI0 PHY
2887df89e7f6 arm64: dts: rockchip: Fix GPU register width for RK3328
3f33f09d9f6a ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
cdd3dd905cea clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
2fde76df1885 ARM: dts: BCM5301X: Fix memory nodes names
5282385ee655 RDMA/rxe: Fix wrong port_cap_flags
a2c17c93b771 iio: st_sensors: disable regulators after device unregistration
bfedc817769d iio: st_sensors: Call st_sensors_power_enable() from bus drivers
f84c7a03d1ea of: unittest: fix EXPECT text for gpio hog errors
4a50bc008476 bpf: Fix propagation of signed bounds from 64-bit min/max into 32-bit.
84dde8c8c933 bpf: Fix propagation of bounds from 64-bit min/max into 32-bit and var_off.
9308f9c9c7a5 cgroup: Fix rootcg cpu.stat guest double counting
a3fdcd16b138 ibmvnic: Process crqs after enabling interrupts
5b3f7204197a ibmvnic: don't stop queue in xmit
366235d4bebc udp6: allow SO_MARK ctrl msg to affect routing
8f3d88139df8 selftests/bpf: Fix fclose/pclose mismatch in test_progs
71ec65c70004 crypto: pcrypt - Delay write to padata->info
fb41b8f5e855 net: phylink: avoid mvneta warning when setting pause parameters
08449a5c0e56 net: amd-xgbe: Toggle PLL settings during rate change
b17f424f88ba selftests/bpf: Fix fd cleanup in sk_lookup test
2989a396b891 selftests: bpf: Convert sk_lookup ctx access tests to PROG_TEST_RUN
ae1f588ca1b0 drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits
a586453da90c wcn36xx: Fix discarded frames due to wrong sequence number
3965cc2e9fdd wcn36xx: add proper DMA memory barriers in rx path
62d12650b845 libertas: Fix possible memory leak in probe and disconnect
975c15a19bbc libertas_tf: Fix possible memory leak in probe and disconnect
3aa98ef8f7ad KVM: s390: Fix handle_sske page fault handling
5109802499fb samples/kretprobes: Fix return value if register_kretprobe() failed
c3ac751944ab spi: spi-rpc-if: Check return value of rpcif_sw_init()
5b7b4afead62 tcp: don't free a FIN sk_buff in tcp_remove_empty_skb()
3925134eff29 libbpf: Fix endianness detection in BPF_CORE_READ_BITFIELD_PROBED()
227efdda51b4 tpm_tis_spi: Add missing SPI ID
ff1a0f71cc77 tpm: fix Atmel TPM crash caused by too frequent queries
43b4860b58f3 irq: mips: avoid nested irq_enter()
29a1cc3b5011 KVM: s390: pv: avoid stalls for kvm_s390_pv_init_vm
759f27cfa344 KVM: s390: pv: avoid double free of sida page
a729eb55b3c7 s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
50fcaa715521 libbpf: Fix BTF header parsing checks
12872fd7e40b libbpf: Fix overflow in BTF sanity checks
255eb8f8affd libbpf: Allow loading empty BTFs
4d4d6aa2ef80 libbpf: Fix BTF data layout checks and allow empty BTF
0b95aaa493c6 bpftool: Avoid leaking the JSON writer prepared for program metadata
7cd4af996cd2 KVM: selftests: Fix nested SVM tests when built with clang
293fa72d62e4 KVM: selftests: Add operand to vmsave/vmload/vmrun in svm.c
d33753718156 smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi
807f01f60cd0 drm/msm: Fix potential NULL dereference in DPU SSPP
6d1f3157aa9b x86/sev: Fix stack type check in vc_switch_off_ist()
8e2f97df6a0b clocksource/drivers/timer-ti-dm: Select TIMER_OF
b9f142d748b6 PM: hibernate: fix sparse warnings
e8c0b748456a nvme-rdma: fix error code in nvme_rdma_setup_ctrl
7668cbe0cb77 phy: micrel: ksz8041nl: do not use power down mode
d405eb1150ce net: enetc: unmap DMA in enetc_send_cmd()
14e12b7a763e mwifiex: Send DELBA requests according to spec
4ed5bb3df6c7 rsi: stop thread firstly in rsi_91x_init() error handling
e27022647529 mt76: mt7915: fix muar_idx in mt7915_mcu_alloc_sta_req()
1a270dada035 mt76: mt7915: fix sta_rec_wtbl tag len
116652a3d5dd mt76: mt7915: fix possible infinite loop release semaphore
7a8e4effbbbc mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
4d5c7f07c725 mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
4187bf331010 platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
25c032c585a2 mmc: mxs-mmc: disable regulator on error and in the remove function
7c1c7ac9d13a media: ir_toy: assignment to be16 should be of correct type
daf15fa1fd99 net: stream: don't purge sk_error_queue in sk_stream_kill_queues()
14d241577227 drm/msm: uninitialized variable in msm_gem_import()
3424931fa39e drm/msm: potential error pointer dereference in init()
a342cb4772f4 tcp: switch orphan_count to bare per-cpu counters
c85c6fadbef0 kernel/sched: Fix sched_fork() access an invalid sched_task_group
e1ee11473a88 ath10k: fix max antenna gain unit
786976b25ae0 hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff
fbc80c83f118 hwmon: Fix possible memleak in __hwmon_device_register()
e29352f162db net, neigh: Fix NTF_EXT_LEARNED in combination with NTF_USE
41fe79cf1156 memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host()
4756d7fbaf8c memstick: avoid out-of-range warning
72de92d33f83 mmc: sdhci-omap: Fix context restore
2fd26ec36ef0 mmc: sdhci-omap: Fix NULL pointer exception if regulator is not configured
a9fbeb5bbc46 gve: Recover from queue stall due to missed IRQ
9e4f708df65e b43: fix a lower bounds test
508faf8721ae b43legacy: fix a lower bounds test
6a1610014181 hwrng: mtk - Force runtime pm ops for sleep ops
8d98683fa6df crypto: qat - disregard spurious PFVF interrupts
d99fdd13a75a crypto: qat - detect PFVF collision after ACK
1fe4b2441982 media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable()
740a794e01c5 netfilter: nft_dynset: relax superfluous check on set updates
af756be29c82 rcu: Always inline rcu_dynticks_task*_{enter,exit}()
68803253822c EDAC/amd64: Handle three rank interleaving mode
1b2d422a261b PM: EM: Fix inefficient states detection
d01e847d84bf ath9k: Fix potential interrupt storm on queue reset
52e3545eefb6 media: em28xx: Don't use ops->suspend if it is NULL
f03e0624e927 cpuidle: Fix kobject memory leaks in error paths
66f7de13d156 crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
848f1f00c637 kprobes: Do not use local variable when creating debugfs file
c34bfe4204cd media: cx23885: Fix snd_card_free call on null card pointer
388cebfa7342 media: tm6000: Avoid card name truncation
86626be4b629 media: si470x: Avoid card name truncation
88315edafe39 media: radio-wl1273: Avoid card name truncation
4280b30ea9b5 media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
e43b301cb1ba media: TDA1997x: handle short reads of hdmi info frame.
c85e591b77ca media: v4l2-ioctl: S_CTRL output the right value
e2f3608a0b50 media: dvb-usb: fix ununit-value in az6027_rc_query
0a85325fc565 media: cxd2880-spi: Fix a null pointer dereference on error handling path
4303b39b5075 media: em28xx: add missing em28xx_close_extension
375150b3aaf8 drm/amdgpu: fix warning for overflow check
8980f9d14481 arm64: mm: update max_pfn after memory hotplug
cbbf816cb7f9 drm/ttm: stop calling tt_swapin in vm_access
c39154d3d623 ath10k: sdio: Add missing BH locking around napi_schdule()
ffed64553817 ath10k: Fix missing frame timestamp for beacon/probe-resp
08fb0008d90b ath11k: Fix memory leak in ath11k_qmi_driver_event_work
4519fb910555 ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status
b6a46ec871ea ath11k: Avoid race during regd updates
ac49af173c64 ath11k: fix some sleeping in atomic bugs
9833cb32066a net: dsa: rtl8366rb: Fix off-by-one bug
78fb8c999242 rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies()
03725f7125db crypto: caam - disable pkc for non-E SoCs
f0b40bf3e48a Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
310f581f54cb wilc1000: fix possible memory leak in cfg_scan_result()
3a95dbc8b7f2 wcn36xx: Fix Antenna Diversity Switching
ba8ba7688594 cgroup: Make rebind_subsystems() disable v2 controllers all at once
a585e04e3472 net: net_namespace: Fix undefined member in key_remove_domain()
fb4a58f5194e lockdep: Let lock_is_held_type() detect recursive read as read
38098444b787 virtio-gpu: fix possible memory allocation failure
582de9e38584 drm/v3d: fix wait for TMU write combiner flush
f0bc12b84826 objtool: Fix static_call list generation
b36ab509e181 x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
abf37e855e53 objtool: Add xen_start_kernel() to noreturn list
6b72caabc470 MIPS: lantiq: dma: fix burst length for DEU
226d68fb6c0a rcu: Fix existing exp request check in sync_sched_exp_online_cleanup()
c20d8c197454 Bluetooth: fix init and cleanup of sco_conn.timeout_work
19337ed10e7e selftests/bpf: Fix strobemeta selftest regression
bc9199271c32 netfilter: conntrack: set on IPS_ASSURED if flows enters internal stream state
0c5e94679480 parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
a1ec31a0befa parisc/unwind: fix unwinder when CONFIG_64BIT is enabled
ee75174f6ab9 erofs: don't trigger WARN() when decompression fails
50a2d1229b51 task_stack: Fix end_of_stack() for architectures with upwards-growing stack
44d4c43babb0 parisc: fix warning in flush_tlb_all
d8166a27c648 selftests/core: fix conflicting types compile error for close_range()
6f038b1a941e drm/amd/display: dcn20_resource_construct reduce scope of FPU enabled
ddfcae905238 x86/hyperv: Protect set_hv_tscchange_cb() against getting preempted
c4cfdf5fa8fc wcn36xx: Correct band/freq reporting on RX
a27095cda17d spi: bcm-qspi: Fix missing clk_disable_unprepare() on error in bcm_qspi_probe()
b917f9b94633 btrfs: do not take the uuid_mutex in btrfs_rm_device
428bb3d71e35 btrfs: reflink: initialize return value to 0 in btrfs_extent_same()
eeb96ebdc686 ACPI: AC: Quirk GK45 to skip reading _PSR
42d8c280dd65 net: annotate data-race in neigh_output()
c2e5f43db0c1 vrf: run conntrack only in context of lower/physdev for locally generated packets
b3ae170b8e3f ARM: 9136/1: ARMv7-M uses BE-8, not BE-32
b870d8a76c04 gfs2: Fix glock_hash_walk bugs
16a7981188a3 gfs2: Cancel remote delete work asynchronously
9ceac307b58e gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
25a45d399996 ARM: clang: Do not rely on lr register for stacktrace
c11aecbe0542 smackfs: use __GFP_NOFAIL for smk_cipso_doi()
32a9a8fdbab7 iwlwifi: mvm: disable RX-diversity in powersave
e658d59f0ee4 selftests/bpf: Fix perf_buffer test on system with offline cpus
d6dca066fc4f selftests: kvm: fix mismatched fclose() after popen()
9f4bd00a6ec6 PM: hibernate: Get block device exclusively in swsusp_check()
7a0b68eecb5b nvme: drop scan_lock and always kick requeue list when removing namespaces
82327823f34e nvmet-tcp: fix use-after-free when a port is removed
2659d8213d88 nvmet-rdma: fix use-after-free when a port is removed
e73574f7bc9b nvmet: fix use-after-free when a port is removed
1a10bf4c9dd3 media: allegro: ignore interrupt if mailbox is not initialized
49cc377654d9 block: remove inaccurate requeue check
451cef276fe4 mwl8k: Fix use-after-free in mwl8k_fw_state_machine()
16c2dd0ab5c2 mt76: mt7915: fix an off-by-one bound check
ea7f8803a314 tracing/cfi: Fix cmp_entries_* functions signature mismatch
5736f1dead84 workqueue: make sysfs of unbound kworker cpumask more clever
ab5c46f258c9 lib/xz: Validate the value before assigning it to an enum variable
aa5d35e350f6 lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression
cad55afe37c9 memstick: r592: Fix a UAF bug when removing the driver
2338c3501726 md: update superblock after changing rdev flags in state_store
b34ea3c91eac block: bump max plugged deferred size from 16 to 32
517feec952ae drm/msm: prevent NULL dereference in msm_gpu_crashstate_capture()
e1d7f0202a9f leaking_addresses: Always print a trailing newline
9101e2574b81 net: phy: micrel: make *-skew-ps check more lenient
832fad367cac drm/amdkfd: fix resume error when iommu disabled in Picasso
65c84e09e8d4 ACPI: battery: Accept charges over the design capacity as full
b60086601832 iov_iter: Fix iov_iter_get_pages{,_alloc} page fault return value
219df0f6bad4 mmc: moxart: Fix reference count leaks in moxart_probe
38608d32adf0 ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create()
3c2434d9a6c6 tracefs: Have tracefs directories not set OTH permission bits by default
8524501a0e7a net-sysfs: try not to restart the syscall if it will fail eventually
b94e5bd540f4 media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()
e3bc3e114135 media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info
b499d4057160 media: ipu3-imgu: imgu_fmt: Handle properly try
272e54604cf7 ACPICA: Avoid evaluating methods too early during system resume
f09e1a2d2c74 fs/proc/uptime.c: Fix idle time reporting in /proc/uptime
6e242c557ad5 ipmi: Disable some operations during a panic
1f38e5e803df media: rcar-csi2: Add checking to rcsi2_start_receiver()
3d5575b3f536 brcmfmac: Add DMI nvram filename quirk for Cyberbook T116 tablet
7d54f52d8fdb rtw88: fix RX clock gate setting while fifo dump
d506a3d60df9 ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK
2709971f9f60 media: mceusb: return without resubmitting URB in case of -EPROTO error.
40b8e7dee544 media: imx: set a media_device bus_info string
a62edd8390ec media: s5p-mfc: Add checking to s5p_mfc_probe().
b570e36a779c media: s5p-mfc: fix possible null-pointer dereference in s5p_mfc_probe()
f4037b9b1062 media: uvcvideo: Set unique vdev name based in type
d9349416402d media: uvcvideo: Return -EIO for control errors
2052c4cebce9 media: uvcvideo: Set capability in s_param
0c91bb4fbde4 media: stm32: Potential NULL pointer dereference in dcmi_irq_thread()
309ea2248d0a media: atomisp: Fix error handling in probe
f4c652bd3506 media: netup_unidvb: handle interrupt properly according to the firmware
09ee09359af9 media: mt9p031: Fix corrupted frame after restarting stream
aded39ff1f7a ath10k: high latency fixes for beacon buffer
461a71a1a62a ath11k: Change DMA_FROM_DEVICE to DMA_TO_DEVICE when map reinjected packets
43ab64578836 ath11k: add handler for scan event WMI_SCAN_EVENT_DEQUEUED
97890f36333d ath11k: Avoid reg rules update during firmware recovery
2114f80889d8 drm/amdgpu: Fix MMIO access page fault
68ac723fb17e fscrypt: allow 256-bit master keys with AES-256-XTS
f526d948c38d mwifiex: Properly initialize private structure on interface type changes
bab15174ec2f mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
7ca1711d59f1 x86: Increase exception stack sizes
1c04dabbd1aa ath11k: Align bss_chan_info structure with firmware
3fac6feca95f smackfs: Fix use-after-free in netlbl_catmap_walk()
02ddf26d849d rcu-tasks: Move RTGS_WAIT_CBS to beginning of rcu_tasks_kthread() loop
8d433ab5c8c2 net: sched: update default qdisc visibility after Tx queue cnt changes
28118dcc871e locking/lockdep: Avoid RCU-induced noinstr fail
b92a5df2c7ad MIPS: lantiq: dma: reset correct number of channel
5af57ce8a615 MIPS: lantiq: dma: add small delay after reset
396e302cc835 platform/x86: wmi: do not fail if disabling fails
7f43cda650d5 rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
7987f31e54a2 drm/panel-orientation-quirks: add Valve Steam Deck
c10465f6d620 Bluetooth: fix use-after-free error in lock_sock_nested()
4dfba42604f0 Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()
509ae4a4f074 drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6
62b90d7eeb6d drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1
780fff2c75f0 drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)
6758d6651627 dma-buf: WARN on dmabuf release with pending attachments
890e4edcecfa power: supply: max17042_battery: Clear status bits in interrupt handler
898622adb7e9 USB: chipidea: fix interrupt deadlock
6edf4cffe1b4 USB: iowarrior: fix control-message timeouts
0e71591e916b most: fix control-message timeouts
edc546625456 serial: 8250: fix racy uartclk update
5f31af4e78b4 USB: serial: keyspan: fix memleak on probe errors
ab4755ea9114 iio: ad5770r: make devicetree property reading consistent
638462060859 iio: dac: ad5446: Fix ad5622_write() return value
a4e7a8c4321f coresight: cti: Correct the parameter for pm_runtime_put
46709163a54a pinctrl: core: fix possible memory leak in pinctrl_enable()
6bc8317b8cd5 quota: correct error number in free_dqentry()
ceeb0a8a8716 quota: check block number when reading the block in quota file
bc1274df3ff4 PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge
e2e8961fbc3a PCI: aardvark: Set PCI Bridge Class Code to PCI Bridge
bd5d982822cf PCI: aardvark: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
2b99c6fb65b4 PCI: aardvark: Fix support for bus mastering and PCI_COMMAND on emulated bridge
4bb5399c1c73 PCI: aardvark: Read all 16-bits from PCIE_MSI_PAYLOAD_REG
2ad10bbf8477 PCI: aardvark: Fix return value of MSI domain .alloc() method
6a0da19be5eb PCI: aardvark: Fix configuring Reference clock
5fb031fcd423 PCI: aardvark: Fix reporting Data Link Layer Link Active
2b861523d7ce PCI: aardvark: Do not unmask unused interrupts
1085ee5236ef PCI: aardvark: Fix checking for link up via LTSSM state
3bcbace714bb PCI: aardvark: Do not clear status bits of masked interrupts
c1a8fb237470 PCI: cadence: Add cdns_plat_pcie_probe() missing return
adcfc317d3f5 PCI: pci-bridge-emul: Fix emulation of W1C bits
4fd9f0509a14 ovl: fix use after free in struct ovl_aio_req
af7d25d7853c xen/balloon: add late_initcall_sync() for initial ballooning done
96e7880a432a ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume
694c0c84a6ec ALSA: mixer: oss: Fix racy access to slots
cd0b29a89bc2 ifb: fix building without CONFIG_NET_CLS_ACT
47462c5e600f serial: core: Fix initializing and restoring termios speed
c1e6e42740cb ring-buffer: Protect ring_buffer_reset() from reentrancy
93fccb1f8939 powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found
875609ad8020 can: j1939: j1939_can_recv(): ignore messages with invalid source address
c3cb7b5c9d14 can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport
9f9d6d391ff5 KVM: nVMX: Query current VMCS when determining if MSR bitmaps are in use
bd37419f4fde KVM: arm64: Extract ESR_ELx.EC only
924955df37f2 power: supply: max17042_battery: use VFSOC for capacity when no rsns
f2feac81edcd power: supply: max17042_battery: Prevent int underflow in set_soc_threshold
5720436bc7ba mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines
7e867f8bb3fe soc: fsl: dpio: use the combined functions to protect critical zone
55c97165adf6 soc: fsl: dpio: replace smp_processor_id with raw_smp_processor_id
62bd9eac5fa2 signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT
5e63b85a489d memory: renesas-rpc-if: Correct QSPI data transfer in Manual mode
4fbecebb31c7 signal: Remove the bogus sigkill_pending in ptrace_stop
5c6fedce4a6a RDMA/qedr: Fix NULL deref for query_qp on the GSI QP
30cdf5035769 perf/x86/intel/uncore: Fix Intel ICX IIO event constraints
aef1a67fbf49 perf/x86/intel/uncore: Support extra IMC channel on Ice Lake server
da8b3b95c57f rsi: Fix module dev_oper_mode parameter description
d69ffec3aa22 rsi: fix rate mask set leading to P2P failure
41d97e0360e9 rsi: fix key enabled check causing unwanted encryption for vap_id > 0
46752a7aed91 rsi: fix occasional initialisation failure with BT coex
a194e9c721d9 wcn36xx: handle connection loss indication
701cf28e019d libata: fix checking of DMA state
890e416c026e mwifiex: Try waking the firmware until we get an interrupt
d59d2f7af7e0 mwifiex: Read a PCI register after writing the TX ring write pointer
daccf40320d4 PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions
1c422d63010a wcn36xx: Fix (QoS) null data frame bitrate/modulation
c1b8ad661ff1 wcn36xx: Fix tx_status mechanism
3d62e1c9bc55 wcn36xx: Fix HT40 capability for 2Ghz band
c044f34ca22f ifb: Depend on netfilter alternatively to tc
c7400e2ec8de evm: mark evm_fixmode as __ro_after_init
eab090dfcb1d rtl8187: fix control-message timeouts
73b79ada4c1c PCI: Mark Atheros QCA6174 to avoid bus reset
30182b8c1388 ath10k: fix division by zero in send path
ce560076091a ath10k: fix control-message timeout
1336b2af8adc ath6kl: fix control-message timeout
f34487c7f223 ath6kl: fix division by zero in send path
fd1e4d8c61ef mwifiex: fix division by zero in fw download path
a5d8d76710e8 EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
31f5c925464a regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property
02ecf56faa56 regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled
5b7e3bb16310 hwmon: (pmbus/lm25066) Add offset coefficients
db04fb4111e6 selinux: fix race condition when computing ocontext SIDs
a09a5f4c075d ia64: kprobes: Fix to pass correct trampoline address to the handler
2f65b76c4445 KVM: VMX: Unregister posted interrupt wakeup handler on hardware unsetup
b4a4c9dc4407 btrfs: call btrfs_check_rw_degradable only if there is a missing device
b406439afe73 btrfs: fix lost error handling when replaying directory deletes
8992aab294cb btrfs: clear MISSING device status bit in btrfs_close_one_device
a99da5b68080 rds: stop using dmapool
0bfb1c1a16ff net/smc: Correct spelling mistake to TCPF_SYN_RECV
9b86eb2f34d1 net/smc: Fix smc_link->llc_testlink_time overflow
2167a9a12cc9 nfp: bpf: relax prog rejection for mtu check through max_pkt_offset
c9a7d5fe1552 vmxnet3: do not stop tx queues after netif_device_detach()
9813218e96db r8169: Add device 10ec:8162 to driver r8169
ad6a2a1e566f nvmet-tcp: fix header digest verification
c8270435cfb4 block: schedule queue restart after BLK_STS_ZONE_RESOURCE
7d1fb5c12cc0 drm: panel-orientation-quirks: Add quirk for GPD Win3
4d41059b9e23 watchdog: Fix OMAP watchdog early handling
b8cb3f4ffa3a net: multicast: calculate csum of looped-back and forwarded packets
07f7a1864929 spi: spl022: fix Microwire full duplex mode
db1d9d102ee4 nvmet-tcp: fix a memory leak when releasing a queue
0e86b727a94f xen/netfront: stop tx queues during live migration
69b14e23dfc3 gpio: mlxbf2.c: Add check for bgpio_init failure
b92ac0a9ca8f bpf: Prevent increasing bpf_jit_limit above max
a3564fb7b0bf bpf: Define bpf_jit_alloc_exec_limit for arm64 JIT
0ad7f317b933 fcnal-test: kill hanging ping/nettest binaries on cleanup
bc3e73ebb79b drm: panel-orientation-quirks: Add quirk for Aya Neo 2021
4002f3944d41 mmc: winbond: don't build on M68K
a1ea41f91dcb reset: socfpga: add empty driver allowing consumers to probe
a90398438517 ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode
f03e04bb9d11 hyperv/vmbus: include linux/bitops.h
6491ccdde2c5 sfc: Don't use netif_info before net_device setup
e519acba2fae sfc: Export fibre-specific supported link modes
7986fdbbe009 cavium: Fix return values of the probe function
ad01685177ce mISDN: Fix return values of the probe function
a6cb5e09e16a scsi: qla2xxx: Fix unmap of already freed sgl
77fee241e6eb scsi: qla2xxx: Return -ENOMEM if kzalloc() fails
940783d08d15 cavium: Return negative value when pci_alloc_irq_vectors() fails
75710d583cc4 ALSA: hda/realtek: Fixes HP Spectre x360 15-eb1xxx speakers
92556e3c2b2e ASoC: soc-core: fix null-ptr-deref in snd_soc_del_component_unlocked()
73199aadcd5c x86/irq: Ensure PI wakeup handler is unregistered before module unload
df8a74fc15ea x86/cpu: Fix migration safety with X86_BUG_NULL_SEL
115810a26527 x86/sme: Use #define USE_EARLY_PGTABLE_L5 in mem_encrypt_identity.c
b05eea1bcb36 fuse: fix page stealing
d81e341fb13a ext4: refresh the ext4_ext_path struct after dropping i_data_sem.
4089432dc030 ext4: ensure enough credits in ext4_ext_shift_path_extents
aa21b7e3d320 ext4: fix lazy initialization next schedule time computation in more granular unit
782025948bc6 ALSA: timer: Unconditionally unlink slave instances, too
b980ce4ebb8b ALSA: timer: Fix use-after-free problem
7c6fd525044c ALSA: synth: missing check for possible NULL after the call to kstrdup
ecd536c57ab7 ALSA: hda: Free card instance properly at probe errors
f503a25a3de3 ALSA: usb-audio: Add registration quirk for JBL Quantum 400
9259518fab5b ALSA: usb-audio: Line6 HX-Stomp XL USB_ID for 48k-fixed quirk
3c7a3f2d79f7 ALSA: line6: fix control and interrupt message timeouts
21f9c02a4ded ALSA: 6fire: fix control and bulk message timeouts
0e4c288a74a3 ALSA: ua101: fix division by zero at probe
4f9e9c389e10 ALSA: hda/realtek: Add quirk for HP EliteBook 840 G7 mute LED
62b189f9f3c5 ALSA: hda/realtek: Add quirk for ASUS UX550VE
a770cb746bdd ALSA: hda/realtek: Add a quirk for Acer Spin SP513-54N
88bcfcc50d0e ALSA: hda/realtek: Headset fixup for Clevo NH77HJQ
0288f838a2e3 ALSA: hda/realtek: Add quirk for Clevo PC70HS
3d0e5d2eaff1 ALSA: hda/realtek: Add a quirk for HP OMEN 15 mute LED
f0750e98010a ALSA: hda/realtek: Fix mic mute LED for the HP Spectre x360 14
a2b3dbc9fd24 media: v4l2-ioctl: Fix check_ext_ctrls
151eff588043 media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
71a137376b64 media: rkvdec: Support dynamic resolution changes
b2b5126a777b media: ite-cir: IR receiver stop working after receive overflow
39275d2ec6ff media: rkvdec: Do not override sizeimage for output format
949c5b6daa75 crypto: s5p-sss - Add error handling in s5p_aes_probe()
9ac25cd2f4ec firmware/psci: fix application of sizeof to pointer
dd189feebaf8 tpm: Check for integer overflow in tpm2_map_response_body()
32498b8889c8 parisc: Fix ptrace check on syscall return
15b4142aea0a parisc: Fix set_fixmap() on PA1.x CPUs
284ad310542f exfat: fix incorrect loading of i_blocks for large files
823b487cfbfc mmc: dw_mmc: Dont wait for DRTO on Write RSP error
7b24b669d3f9 mmc: mtk-sd: Add wait dma stop done flow
c1d31266de3d scsi: qla2xxx: Fix use after free in eh_abort path
37b15db1d87c scsi: qla2xxx: Fix kernel crash when accessing port_speed sysfs file
06cc8187dbb6 scsi: core: Remove command size deduction from scsi_setup_scsi_cmnd()
9d623bf1736b ocfs2: fix data corruption on truncate
39264eaa6d44 libata: fix read log timeout value
ab0a06769e69 Input: i8042 - Add quirk for Fujitsu Lifebook T725
8c341d11c8bd Input: elantench - fix misreporting trackpoint coordinates
d1eb42de7cf9 Input: iforce - fix control-message timeout
afbec52fbce0 binder: use cred instead of task for getsecid
0d9f4ae7cd6f binder: use cred instead of task for selinux checks
bd9cea41ac6e binder: use euid from cred instead of using task
7f1d5a1a7d80 usb: xhci: Enable runtime-pm by default on AMD Yellow Carp platform
ff32302687fd xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay

(From OE-Core rev: b0c843e4f1e7d255b5be1e4a0b2516a38256e25e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
11a689ca70 linux-yocto/5.15: update to v5.15.5
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

f00712e27083 Linux 5.15.5
e6818963e0b0 ALSA: hda: hdac_stream: fix potential locking issue in snd_hdac_stream_assign()
01085644673f ALSA: hda: hdac_ext_stream: fix potential locking issues
faed25ba98db x86/Kconfig: Fix an unused variable error in dell-smm-hwmon
fa5f8606353f net: add and use skb_unclone_keeptruesize() helper
f14c85733154 btrfs: update device path inode time instead of bd_inode
22efa065ff01 fs: export an inode_update_time helper
148ed0e75c5e ice: Delete always true check of PF pointer
0190a2f88823 ice: Fix VF true promiscuous mode
d87edd01ce22 usb: max-3421: Use driver data instead of maintaining a list of bound devices
11a8768144ea ASoC: rsnd: fixup DMAEngine API
330651b2c0d7 ASoC: DAPM: Cover regression by kctl change notification fix
83c8ab8503ad selinux: fix NULL-pointer dereference when hashtab allocation fails
439b99314b63 bpf: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progs
354313514e97 RDMA/netlink: Add __maybe_unused to static inline in C file
556d59293a2a hugetlbfs: flush TLBs correctly after huge_pmd_unshare
686bf792032a signal: Replace force_fatal_sig with force_exit_sig when in doubt
7614e046ed48 signal: Don't always set SA_IMMUTABLE for forced signals
02d28b5fdb41 signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV)
3e61002d0597 signal/x86: In emulate_vsyscall force a signal instead of calling do_exit
3c4d5a38ca93 signal/vm86_32: Properly send SIGSEGV when the vm86 state cannot be saved.
1998d85c83e3 signal/sparc32: In setup_rt_frame and setup_fram use force_fatal_sig
905e8609419b signal/sparc32: Exit with a fatal signal when try_to_clear_window_buffer fails
58484ab427f1 signal/s390: Use force_sigsegv in default_trap_handler
c7b7868dba81 signal/powerpc: On swapcontext failure force SIGSEGV
fe67da49f784 exit/syscall_user_dispatch: Send ordinary signals on failure
110ae07d2268 signal: Implement force_fatal_sig
21d727a394f0 drm/amd/pm: avoid duplicate powergate/ungate setting
ca28919fe90d drm/amdgpu: fix set scaling mode Full/Full aspect/Center not works on vga and dvi connectors
2e3eb81884de drm/i915: Fix type1 DVI DP dual mode adapter heuristic for modern platforms
a2dda2817a9a drm/i915/dp: Ensure max link params are always valid
72704e07a003 drm/i915/dp: Ensure sink rate values are always valid
c3d06f6067bf drm/nouveau: clean up all clients on device removal
0b1a35d63995 drm/nouveau: use drm_dev_unplug() during device removal
4ee6807a1ad7 drm/nouveau: Add a dedicated mutex for the clients list
4f8e469a2384 drm/prime: Fix use after free in mmap with drm_gem_ttm_mmap
59fb48db328b drm/udl: fix control-message timeout
f5b5ea165440 drm/i915/guc: Unwind context requests in reverse order
413e603c1447 drm/i915/guc: Don't drop ce->guc_active.lock when unwinding context
2a45b1c66ccc drm/i915/guc: Workaround reset G2H is received after schedule done G2H
ad583a961905 drm/i915/guc: Don't enable scheduling on a banned context, guc_id invalid, not registered
519bd9107ef6 drm/i915/guc: Fix outstanding G2H accounting
296188ce0360 drm/amd/display: Limit max DSC target bpp for specific monitors
d4b7d7b80bb6 drm/amd/display: Update swizzle mode enums
76025be187d2 mac80211: drop check for DONT_REORDER in __ieee80211_select_queue
60a3a889efe5 mac80211: fix radiotap header generation
5a9b671c8d74 cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
a1c9455f10be parisc/sticon: fix reverse colors
61b26492e7d1 net: stmmac: Fix signed/unsigned wreckage
7c48010ba348 fs: handle circular mappings correctly
47e6f9f69153 btrfs: fix memory ordering between normal and ordered work functions
cd198aea9e8d Drivers: hv: balloon: Use VMBUS_RING_SIZE() wrapper for dm_ring_size
d8f574fb5eb2 net: stmmac: socfpga: add runtime suspend/resume callback for stratix10 platform
37330f37f666 spi: fix use-after-free of the add_lock mutex
77a5baefe1be udf: Fix crash after seekdir
c3b0ab956d90 printk: restore flushing of NMI buffers on remote CPUs after NMI backtraces
76b46fa3f8d9 drm/cma-helper: Release non-coherent memory with dma_free_noncoherent()
94cc0809e525 KVM: nVMX: don't use vcpu->arch.efer when checking host state on nested state load
679a6ffd07b6 KVM: SEV: Disallow COPY_ENC_CONTEXT_FROM if target has created vCPUs
90342e02b471 fbdev: Prevent probing generic drivers if a FB is already registered
1560763677ff block: Check ADMIN before NICE for IOPRIO_CLASS_RT
520f8ac91f2b s390/dump: fix copying to user-space of swapped kdump oldmem
c0849d3157a8 s390/kexec: fix memory leak of ipl report buffer
cc8b2e0d5bd7 s390/vdso: filter out -mstack-guard and -mstack-size
44b6cc4367cc s390/boot: simplify and fix kernel memory layout setup
a4c7fe4409c5 s390/setup: avoid reserving memory above identity mapping
f07220f7d568 pinctrl: ralink: include 'ralink_regs.h' in 'pinctrl-mt7620.c'
4ac27afaf79d scsi: qla2xxx: Fix mailbox direction flags in qla2xxx_get_adapter_id()
e449d2e69ad7 ata: libata: add missing ata_identify_page_supported() calls
08a667e440d7 ata: libata: improve ata_read_log_page() error message
4ca2a26feeb4 Revert "parisc: Reduce sigreturn trampoline to 3 instructions"
586afe2b8420 Revert "drm/i915/tgl/dsi: Gate the ddi clocks after pll mapping"
de04ee7d7d54 powerpc/8xx: Fix pinned TLBs with CONFIG_STRICT_KERNEL_RWX
54e11a4e9df6 powerpc/xive: Change IRQ domain to a tree domain
7cc16be1ae66 powerpc/signal32: Fix sigset_t copy
c897c53642b9 KVM: x86/xen: Fix get_attr of KVM_XEN_ATTR_TYPE_SHARED_INFO
b22ef13e8e3a KVM: x86/mmu: include EFER.LMA in extended mmu role
c3168ef1f12d KVM: x86: Fix uninitialized eoi_exit_bitmap usage in vcpu_load_eoi_exitmap()
5969e2435cbd KVM: x86: Assume a 64-bit hypercall for guests with protected state
8823ea27fff6 x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails
60eec41ddb92 x86/sgx: Fix free page accounting
2495decce774 x86/boot: Pull up cmdline preparation and early param parsing
1e0d346be1cc mm/damon/dbgfs: fix missed use of damon_dbgfs_lock
cda10b34ecfb mm/damon/dbgfs: use '__GFP_NOWARN' for user-specified size buffer allocation
4dfddb52abc2 kmap_local: don't assume kmap PTEs are linear arrays in memory
b5069d44e2fb hugetlb, userfaultfd: fix reservation restore on userfaultfd error
11138d734963 mm: kmemleak: slob: respect SLAB_NOLEAKTRACE flag
e73114d9334e shm: extend forced shm destroy to support objects from several IPC nses
72bfd835ae71 ipc: WARN if trying to remove ipc object which is absent
9404c4145542 tipc: check for null after calling kmemdup
660859f0158c hexagon: clean up timer-regs.h
c0247013173c hexagon: export raw I/O routines for modules
17071fdcd01d pstore/blk: Use "%lu" to format unsigned long
007ebe2d61d4 Revert "mark pstore-blk as broken"
a705254c71fd tun: fix bonding active backup with arp monitoring
9e6b4c36e9ac dmaengine: remove debugfs #ifdef
6ffad92d05b0 blk-cgroup: fix missing put device in error path from blkg_conf_pref()
4220cc6e113c s390/kexec: fix return code handling
737143025c18 perf/x86/intel/uncore: Fix IIO event constraints for Snowridge
d55aa2391d01 perf/x86/intel/uncore: Fix IIO event constraints for Skylake Server
7955e4aca73f perf/x86/intel/uncore: Fix filter_tid mask for CHA events on Skylake Server
db66f2829caa pinctrl: qcom: sm8350: Correct UFS and SDC offsets
13d31d416cb3 pinctrl: qcom: sdm845: Enable dual edge errata
ad03b901d03b powerpc/pseries: Fix numa FORM2 parsing fallback code
ad9ade6c946e powerpc/pseries: rename numa_dist_table to form2_distances
a0995ebe4e1f powerpc: clean vdso32 and vdso64 directories
a7e700257135 KVM: PPC: Book3S HV: Use GLOBAL_TOC for kvmppc_h_set_dabr/xdabr()
9c2ff78cf833 riscv: fix building external modules
35d97fd89c12 tools build: Fix removal of feature-sync-compare-and-swap feature detection
20540cb666a6 ptp: ocp: Fix a couple NULL vs IS_ERR() checks
4d42da0c86b8 e100: fix device suspend/resume
ed35e950d8e5 NFC: add NCI_UNREG flag to eliminate the race
8a9c61c3ef18 NFC: reorder the logic in nfc_{un,}register_device
96a209038a99 NFC: reorganize the functions in nci_request
7a5c8a68f38f i40e: Fix display error code in dmesg
6c9c9f48b462 i40e: Fix creation of first queue by omitting it if is not power of two
593015973591 i40e: Fix warning message and call stack during rmmod i40e driver
0bccc44a54e8 RDMA/mlx4: Do not fail the registration on port stats
29148fffe93c i40e: Fix ping is lost after configuring ADq on VF
7299cd74718e i40e: Fix changing previously set num_queue_pairs for PFs
e91e8427a1e1 i40e: Fix NULL ptr dereference on VSI filter sync
fdd56291046c i40e: Fix correct max_pkt_size on VF RX queue
0f810d06b507 net: virtio_net_hdr_to_skb: count transport header in UFO
32d468622474 net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove
7cc1c7da94ea net: sched: act_mirred: drop dst for the direction from egress to ingress
d7d992cc3a7b net: mvmdio: fix compilation warning
39443eb70e29 scsi: ufs: core: Fix another task management completion race
bede57a71a68 scsi: ufs: core: Fix task management completion timeout race
bcc0e3175a97 scsi: core: sysfs: Fix hang when device state is set via sysfs
c36baca06efa scsi: ufs: core: Improve SCSI abort handling
7fbdbd4fe35b net/mlx5: E-Switch, return error if encap isn't supported
2c3b6e820d67 net/mlx5: Lag, update tracker when state change event received
486e8de6e233 net/mlx5e: CT, Fix multiple allocations and memleak of mod acts
8b45a377b582 net/mlx5: E-Switch, rebuild lag only when needed
a51a6da375d8 net/mlx5: Update error handler for UCTX and UMEM
2ae381570806 net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove()
158ec85d360e net/mlx5: E-Switch, Fix resetting of encap mode when entering switchdev
a49a9b92fcd2 net/mlx5e: Wait for concurrent flow deletion during neigh/fib events
ebeda7a9528a net/mlx5e: kTLS, Fix crash in RX resync flow
b70e072feffa RDMA/core: Set send and receive CQ before forwarding to the driver
9fe0ba31271c btrfs: make 1-bit bit-fields of scrub_page unsigned int
67fb5eac4063 udp: Validate checksum in udp_read_sock()
b4a677ffb67e platform/x86: think-lmi: Abort probe on analyze failure
6e6e4fce53fa platform/x86: hp_accel: Fix an error handling path in 'lis3lv02d_probe()'
871ee7e815fb gpio: rockchip: needs GENERIC_IRQ_CHIP to fix build errors
3d0f4ae1ad75 mips: lantiq: add support for clk_get_parent()
114404d22ee0 mips: bcm63xx: add support for clk_get_parent()
21e27ed8ce6b MIPS: generic/yamon-dt: fix uninitialized variable error
a5d1d3522232 bpf: Fix toctou on read-only map's constant scalar tracking
4d1834f39252 iavf: Restore VLAN filters after link down
cbb81563f5d4 iavf: Fix for setting queues to 0
366c1fd41689 iavf: Fix for the false positive ASQ/ARQ errors while issuing VF reset
9200f8c8600e iavf: validate pointers
99744c938f96 iavf: prevent accidental free of filter structure
f72da5a83a0d iavf: Fix failure to exit out from last all-multicast mode
c3db4fffb364 iavf: don't clear a lock we don't hold
9ef6589cac9a iavf: free q_vectors before queues in iavf_disable_vf
fb2be87cc330 iavf: check for null in iavf_fix_features
68d4274034e6 iavf: Fix return of set the new channel count
10c22d9519f3 NFSD: Fix exposure in nfsd4_decode_bitmap()
f6218db54351 net/smc: Make sure the link_id is unique
17b2c2e70d20 sock: fix /proc/net/sockstat underflow in sk_clone_lock()
95fe8904bcd6 tipc: only accept encrypted MSG_CRYPTO msgs
aff97b89a38e bnxt_en: reject indirect blk offload when hw-tc-offload is off
61566668ef3f net: bnx2x: fix variable dereferenced before check
aa67407ebb6d selftests: gpio: fix gpio compiling error
05a48cba2459 net: ipa: disable HOLB drop when updating timer
0f3de700c695 net: ipa: HOLB register sometimes must be written twice
e10e13319025 mac80211: fix monitor_sdata RCU/locking assertions
1d17f6179182 nl80211: fix radio statistics in survey dump
85f4a563c9e4 tracing: Add length protection to histogram string copies
0efd57d82ece tcp: Fix uninitialized access in skb frags array for Rx 0cp.
f4d1328e6e30 net/ipa: ipa_resource: Fix wrong for loop range
e9fd8938118a selftests: net: switch to socat in the GSO GRE test
f49175809074 samples/bpf: Fix incorrect use of strlen in xdp_redirect_cpu
ff12332ec614 samples/bpf: Fix summary per-sec stats in xdp_sample_user
bd4542006641 bpf: Fix inner map state pruning regression.
8369b01aa5a6 drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame
07b486f1a8fe perf tests: Remove bash construct from record+zstd_comp_decomp.sh
99643bdc6ff1 perf bench futex: Fix memory leak of perf_cpu_map__new()
ab7c3d8d81c5 perf bpf: Avoid memory leak from perf_env__insert_btf()
05e13b4a53b5 tracing/histogram: Do not copy the fixed-size char array field over the field size
04096d1b66cf blkcg: Remove extra blkcg_bio_issue_init
eda355db53c4 perf/x86/vlbr: Add c->flags to vlbr event constraints
512e21c150c1 sched/fair: Prevent dead task groups from regaining cfs_rq's
e4511d8dc256 sched/core: Mitigate race cpus_share_cache()/update_top_cache_domain()
725b5c9984cc MIPS: boot/compressed/: add __bswapdi2() to target for ZSTD decompression
1e3220ec23d9 mips: BCM63XX: ensure that CPU_SUPPORTS_32BIT_KERNEL is set
c0c51afb2e8c KVM: arm64: Fix host stage-2 finalization
595e359751d6 clk: qcom: gcc-msm8996: Drop (again) gcc_aggre1_pnoc_ahb_clk
c4584223f5de clk/ast2600: Fix soc revision for AHB
3024018bb2df clk: ingenic: Fix bugs with divided dividers
680a0c6332c4 f2fs: fix incorrect return value in f2fs_sanity_check_ckpt()
9c9afedf3ac5 f2fs: compress: disallow disabling compress on non-empty compressed file
3d937f901cea sh: define __BIG_ENDIAN for math-emu
d21ad7abba75 sh: math-emu: drop unused functions
c29506bfcf8b sh: fix kconfig unmet dependency warning for FRAME_POINTER
7228ed3293e0 f2fs: fix wrong condition to trigger background checkpoint correctly
9ad4e63e3cca f2fs: fix to use WHINT_MODE
0dfaa04f0161 f2fs: fix up f2fs_lookup tracepoints
6d28f6ba633d maple: fix wrong return value of maple_bus_init().
b80a7977299a sh: check return code of request_irq
23274bd8d7ad powerpc/8xx: Fix Oops with STRICT_KERNEL_RWX without DEBUG_RODATA_TEST
2f4dede20cdf powerpc/dcr: Use cmplwi instead of 3-argument cmpli
3c0c79d1261e iommu/dart: Initialize DART_STREAMS_ENABLE
c4ea7b0c6180 clk: at91: sama7g5: remove prescaler part of master clock
58fa50de595f ALSA: usb-audio: fix null pointer dereference on pointer cs_desc
16721797dcef ALSA: gus: fix null pointer dereference on pointer block
3f8da4b87f13 arm64: dts: qcom: Fix node name of rpm-msg-ram device nodes
93d0049268cd ARM: dts: qcom: fix memory and mdio nodes naming for RB3011
72b4e7b7beba powerpc/5200: dts: fix memory node unit name
619ce4646397 memory: tegra20-emc: Add runtime dependency on devfreq governor module
bf76f56a7fc7 scsi: lpfc: Allow fabric node recovery if recovery is in progress before devloss
28de48a7cea4 scsi: lpfc: Fix link down processing to address NULL pointer dereference
dbebf865b323 scsi: lpfc: Fix use-after-free in lpfc_unreg_rpi() routine
21903226c724 RDMA/core: Use kvzalloc when allocating the struct ib_port
a9d2d23b5032 iio: imu: st_lsm6dsx: Avoid potential array overflow in st_lsm6dsx_set_odr()
26af3ab9325e scsi: target: Fix alua_tg_pt_gps_count tracking
a2489880354d scsi: target: Fix ordered tag handling
66523553fa62 scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs()
5b8bed6464ad scsi: scsi_debug: Fix out-of-bound read in resp_readcap16()
5777ab62b21d MIPS: sni: Fix the build
5c34486f0470 tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc
0a85b47cd449 iommu/vt-d: Do not falsely log intel_iommu is unsupported kernel option
0a2ddbfd65b3 ALSA: ISA: not for M68K
eadee7f95b5d ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash
8e6920f7ac96 ARM: dts: ls1021a: move thermal-zones node out of soc/
8eab383460c4 ASoC: rt5682: fix a little pop while playback
065334f6640d usb: host: ohci-tmio: check return value after calling platform_get_resource()
31340f013582 ARM: dts: omap: fix gpmc,mux-add-data type
1f45b73679b9 ALSA: usb-audio: Add support for the Pioneer DJM 750MK2 Mixer/Soundcard
98b134cc4417 HID: multitouch: disable sticky fingers for UPERFECT Y
c37f9ee2bb9f firmware_loader: fix pre-allocated buf built-in firmware use
966e4def9001 ASoC: Intel: sof_sdw: add missing quirk for Dell SKU 0A45
1c6bd253dc9c ASoC: Intel: soc-acpi: add missing quirk for TGL SDCA single amp
2e46a58adfc6 ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec
fed89b5a4c18 arm64: dts: imx8mm-kontron: Fix reset delays for ethernet PHY
d29faaf81685 scsi: smartpqi: Add controller handshake during kdump
27490ae6a85a scsi: advansys: Fix kernel pointer leak
7f37066e0d13 ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
94ca62033dfb ASoC: rt5651: Use IRQF_NO_AUTOEN when requesting the IRQ
0864d7f686f9 ASoC: es8316: Use IRQF_NO_AUTOEN when requesting the IRQ
735939e2c8a7 clk: imx: imx6ul: Move csi_sel mux to correct base register
daf932eae1fa ALSA: usb-audio: disable implicit feedback sync for Behringer UFX1204 and UFX1604
e15de347faf4 scsi: core: Fix scsi_mode_sense() buffer length handling
ae893767385a ASoC: SOF: Intel: hda-dai: fix potential locking issue
3cff8b789ea5 RDMA/rxe: Separate HW and SW l/rkeys
b6f64bd4cf9f arm64: dts: ls1012a: Add serial alias for ls1012a-rdb
0479e598c773 arm64: dts: freescale: fix arm,sp805 compatible string
3f6946cfa798 arm64: dts: qcom: sdm845: Fix qcom,controlled-remotely property
e608d43f7603 arm64: dts: qcom: ipq8074: Fix qcom,controlled-remotely property
9bfe717293c0 arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
118c826ef8b4 arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
30a3826f7fa9 ARM: BCM53016: Specify switch ports for Meraki MR32
d330f1d4f797 staging: rtl8723bs: remove a third possible deadlock
12cfdef56c3b staging: rtl8723bs: remove a second possible deadlock
353a6e9acb45 staging: rtl8723bs: remove possible deadlock when disconnect (v2)
f78e23be336e ARM: dts: ux500: Skomer regulator fixes
2c71811c963b usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
06cfb4cb2241 usb: musb: tusb6010: check return value after calling platform_get_resource()
9dd4b84d5521 bus: ti-sysc: Use context lost quirk for otg
c182fa00fcdd bus: ti-sysc: Add quirk handling for reinit on context lost
1e299b02bae8 RDMA/bnxt_re: Check if the vlan is valid before reporting
bed5a80fc851 arm64: dts: hisilicon: fix arm,sp805 compatible string
376bad670585 arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
867cfea6ae55 ASoC: mediatek: mt8195: Add missing of_node_put()
814d3610c4ce scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
269a4311b15f scsi: pm80xx: Fix memory leak during rmmod
a070e30d1b7b arm64: dts: broadcom: bcm4908: Move reboot syscon out of bus
8e4b6c2f027e ARM: dts: NSP: Fix mpcore, mmc node names
8033b37f969a ARM: dts: BCM5301X: Fix MDIO mux binding
50b631c5a38e ARM: dts: BCM5301X: Fix nodes names
f7d67885beb3 staging: wfx: ensure IRQ is ready before enabling it
f08c0d6a673c arm64: dts: allwinner: a100: Fix thermal zone node name
f2b9e78b3e14 arm64: dts: allwinner: h5: Fix GPU thermal zone node name
ea4f91645d5b ARM: dts: sunxi: Fix OPPs node name
b5dd513daa70 clk: sunxi-ng: Unregister clocks/resets when unbinding
5d729f4b5b56 arm64: zynqmp: Fix serial compatible string
69d0f6a7c8cf arm64: zynqmp: Do not duplicate flash partition label property
9ac77cf6e1bd Linux 5.15.4
1af7386f5f71 Revert "ACPI: scan: Release PM resources blocked by unused objects"
ef2590a5305e thermal: Fix NULL pointer dereferences in of_thermal_ functions
bd378dcd5031 perf/core: Avoid put_page() when GUP fails
7931b7e31882 PCI: Add MSI masking quirk for Nvidia ION AHCI
06ce633b3bfd PCI/MSI: Deal with devices lying about their MSI mask capability
a912418410ab parisc/entry: fix trace test in syscall exit path
73f1e74f9c87 Bluetooth: btusb: Add support for TP-Link UB500 Adapter
c0991182aca3 loop: Use blk_validate_block_size() to validate block size
1f124a661191 block: Add a helper to validate the block size
8d0956438eec fortify: Explicitly disable Clang support
0fc2241ac237 btrfs: zoned: allow preallocation for relocation inodes
d0fdafa8fcf3 btrfs: check for relocation inodes on zoned btrfs in should_nocow
080f457f35c0 btrfs: zoned: use regular writes for relocation
f716e9827838 btrfs: zoned: only allow one process to add pages to a relocation inode
d282dd7f4109 btrfs: zoned: add a dedicated data relocation block group
02c5e9e992a2 btrfs: introduce btrfs_is_data_reloc_root
19e32bd1cc37 KVM: Fix steal time asm constraints
b06962406eca Revert "drm: fb_helper: fix CONFIG_FB dependency"
3256c84aaddc Revert "drm: fb_helper: improve CONFIG_FB dependency"
d27b2dcdb8d2 string: uninline memcpy_and_pad
3b17187f5ca1 Linux 5.15.3
712cb7ee75bc media: videobuf2-dma-sg: Fix buf->vb NULL pointer dereference
c8b0f8beb566 media: videobuf2: always set buffer vb2 pointer
6c087b0fbfe9 x86/sev: Make the #VC exception stacks part of the default stacks storage
411d939db1d0 x86/sev: Add an x86 version of cc_platform_has()
d15683461800 arch/cc: Introduce a function to check for confidential computing features
03fbc935ac62 selftests/bpf: Fix also no-alu32 strobemeta selftest
60e73f7e75cf selftests/x86/iopl: Adjust to the faked iopl CLI/STI usage
32d126ac68f5 mmc: moxart: Fix null pointer dereference on pointer host
6f11f2096b2c ath10k: fix invalid dma_addr_t token assignment
9ebaafec97fb cifs: fix memory leak of smb3_fs_context_dup::server_hostname
855eba695ddc media: vidtv: move kfree(dvb) to vidtv_bridge_dev_release()
bb7e50b476ab drm/amd/display: Look at firmware version to determine using dmub on dcn21
3e1e7e4a6b54 SUNRPC: Partial revert of commit 6f9f17287e78
7f837109586e PCI: aardvark: Fix PCIe Max Payload Size setting
0b86872ba468 PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
dfc6f0bec09c drm/sun4i: Fix macros in sun8i_csc.h
0084aaaec2d1 powerpc/85xx: fix timebase sync issue when CONFIG_HOTPLUG_CPU=n
310b6f976c74 powerpc/pseries/mobility: ignore ibm, platform-facilities updates
d05dc4bdc333 powerpc/64s/interrupt: Fix check_return_regs_valid() false positive
02da36324104 powerpc/security: Use a mutex for interrupt exit code patching
7c8ad3fc644a powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload
317cc5bacf69 powerpc/32e: Ignore ESR in instruction storage interrupt handler
6f657bb66f1e powerpc/bpf: Fix write protecting JIT code
0356cc5d27c2 powerpc/vas: Fix potential NULL pointer dereference
b75b27e4e640 mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines
ac4e55c17cba mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines
768e8c3b9850 mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines
2b33e01948fd mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines
d9d3d38049d5 mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines
365b3fefe51e mtd: rawnand: mpc5121: Keep the driver compatible with on-die ECC engines
f7e59ebde2ec mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines
9bfee3cd5eb1 mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines
bedb039360b2 mtd: rawnand: fsmc: Fix use of SM ORDER
bcd526c98adb remoteproc: imx_rproc: Fix rsc-table name
5cd861213e11 remoteproc: imx_rproc: Fix ignoring mapping vdev regions
3ff5812f164e remoteproc: Fix the wrong default value of is_iomem
6b8ea5da3be5 remoteproc: elf_loader: Fix loading segment when is_iomem true
ed8b06a0eb8e s390/cio: make ccw_device_dma_* more robust
3ef2272417f4 s390/ap: Fix hanging ioctl caused by orphaned replies
3134c317b1b3 s390/tape: fix timer initialization in tape_std_assign()
f33bf6015eaf s390/cio: check the subchannel validity for dev_busid
32f71f368086 s390/cpumf: cpum_cf PMU displays invalid value after hotplug remove
051d89f4dec2 PM: sleep: Avoid calling put_device() under dpm_list_mtx
ac8ffb5d9dfb bcache: Revert "bcache: use bvec_virt"
d6a300977ac9 bcache: fix use-after-free problem in bcache_device_free()
a958d144754e video: backlight: Drop maximum brightness override for brightness zero
d9dad32cb55e mfd: dln2: Add cell for initializing DLN2 ADC
3ea871f0d8e0 mm, thp: fix incorrect unmap behavior for private pages
fd8e972dc427 mm, thp: lock filemap when truncating page cache
c15aeead2488 mm, oom: do not trigger out_of_memory from the #PF
487a4c60c593 mm, oom: pagefault_out_of_memory: don't force global OOM for dying tasks
f1e83db27ad5 memcg: prohibit unconditional exceeding the limit of dying tasks
6560e8cd869b mm/filemap.c: remove bogus VM_BUG_ON
6847c4286297 9p/net: fix missing error check in p9_check_errors
1f03911876ab net, neigh: Enable state migration between NUD_PERMANENT and NTF_USE
6a85f01a89ef dmaengine: bestcomm: fix system boot lockups
c4cd9e5acc34 dmaengine: ti: k3-udma: Set r/tchan or rflow to NULL if request fail
68ae6ae1431f dmaengine: ti: k3-udma: Set bchan to NULL if a channel request fail
1dd578e98560 ksmbd: don't need 8byte alignment for request length in ksmbd_check_message
aacb2ddb67fb ksmbd: Fix buffer length check in fsctl_validate_negotiate_info()
5e84e9d61dba block: Hold invalidate_lock in BLKRESETZONE ioctl
373c2bfecb06 block: Hold invalidate_lock in BLKZEROOUT ioctl
f9bed86a35a0 block: Hold invalidate_lock in BLKDISCARD ioctl
876d6242d225 drm/i915/guc: Fix blocked context accounting
f60978969910 erofs: fix unsafe pagevec reuse of hooked pclusters
11a102de53a7 ceph: fix mdsmap decode when there are MDS's beyond max_mds
5e1b901dd470 f2fs: fix UAF in f2fs_available_free_memory
6fd542665e70 f2fs: include non-compressed blocks in compr_written_block
035302003cca f2fs: should use GFP_NOFS for directory inodes
910ea7dd1e62 irqchip/sifive-plic: Fixup EOI failed when masked
d5d21724af23 posix-cpu-timers: Clear task::posix_cputimers_work in copy_process()
fb58e9a26c3c KVM: x86: move guest_pv_has out of user_access section
d5e79d872bab PCI/MSI: Destroy sysfs before freeing entries
ab40a2e5e29e PCI/MSI: Move non-mask check back into low level accessors
affa1361642f x86/mce: Add errata workaround for Skylake SKX37
3cd12b61c37f MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL
9b1b68eaad2a MIPS: fix *-pkg builds for loongson2ef platform
70895879357f MIPS: fix duplicated slashes for Platform file path
8301503a728a parisc: Flush kernel data mapping in set_pte_at() when installing pte for user page
1dc7ce007aef parisc: Fix backtrace to always include init funtion names
ca8f29dc8b1b ARM: 9156/1: drop cc-option fallbacks for architecture selection
12f0dc47f274 ARM: 9155/1: fix early early_iounmap()
93114d5b3af0 smb3: do not error on fsync when readonly
c3f2809643ad thermal: int340x: fix build on 32-bit targets
2cc4450b5327 selftests/net: udpgso_bench_rx: fix port argument
3ce70c345537 cxgb4: fix eeprom len when diagnostics not implemented
ed8b7355e38b net/smc: fix sk_refcnt underflow on linkdown and fallback
244048220c04 vsock: prevent unnecessary refcnt inc for nonblocking connect
c8234e6086c1 net: marvell: mvpp2: Fix wrong SerDes reconfiguration order
6fb190ff5716 net: ethernet: ti: cpsw_ale: Fix access to un-initialized memory
0c8ee89e351c net: stmmac: allow a tc-taprio base-time of zero
cb85093e0c8e net: hns3: allow configure ETS bandwidth of all TCs
3d3f131b4032 net: hns3: fix kernel crash when unload VF while it is being reset
5c051366908b net: hns3: fix pfc packet number incorrect after querying pfc parameters
bcbee7cf14a6 net: hns3: fix ROCE base interrupt vector initialization bug
3e13ce88a3c8 net/sched: sch_taprio: fix undefined behavior in ktime_mono_to_any
422fb879961f net: dsa: mv88e6xxx: Don't support >1G speeds on 6191X on ports other than 10
f17e9e81004e drm/amdgpu: fix uvd crash on Polaris12 during driver unloading
f00e054b299c seq_file: fix passing wrong private data
acdc5065d967 init: make unknown command line param message clearer
2cf82ea0a46d drm/i915/fb: Fix rounding error in subsampled plane size calculation
fea0b9507bb7 gve: Fix off by one in gve_tx_timeout()
0bf8323e2c74 dmaengine: stm32-dma: avoid 64-bit division in stm32_dma_get_max_width
4ee1ac7f3cf5 dmaengine: stm32-dma: fix burst in case of unaligned memory address
0bff34d6712a bpf, sockmap: sk_skb data_end access incorrect when src_reg = dst_reg
1a8dba02a888 bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
c5cc0d23c541 bpf, sockmap: Fix race in ingress receive verdict with redirect to self
41c65a3ce9db bpf, sockmap: Remove unhash handler for BPF sockmap usage
b90d961cf635 arm64: pgtable: make __pte_to_phys/__phys_to_pte_val inline functions
f828915064fe arm64: arm64_ftr_reg->name may not be a human-readable string
2d57d522e2f0 litex_liteeth: Fix a double free in the remove function
2d2dfc33ef44 nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
72fb40d87c59 llc: fix out-of-bound array index in llc_sk_dev_hash()
63609f11cda8 perf bpf: Add missing free to bpf_event__print_bpf_prog_info()
18fdce809a9c zram: off by one in read_block_state()
3d6b113cbef4 mm/zsmalloc.c: close race window between zs_pool_dec_isolated() and zs_unregister_migration()
1ba8ddd87b02 can: mcp251xfd: mcp251xfd_chip_start(): fix error handling for mcp251xfd_chip_rx_int_enable()
7eb0881aec26 can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path
e16a1e4ba6da drm/amdgpu/powerplay: fix sysfs_emit/sysfs_emit_at handling
97308cd5ce8e Revert "drm/imx: Annotate dma-fence critical section in commit path"
94e18f5a5dd1 drm: fb_helper: improve CONFIG_FB dependency
39db3e5681bd selftests/bpf/xdp_redirect_multi: Limit the tests in netns
a99e4d94df31 selftests/bpf/xdp_redirect_multi: Give tcpdump a chance to terminate cleanly
00f991138c2f selftests/bpf/xdp_redirect_multi: Use arping to accurate the arp number
ddf4f3897357 selftests/bpf/xdp_redirect_multi: Put the logs to tmp folder
e13c75449905 libbpf: Fix lookup_and_delete_elem_flags error reporting
f0f8307c7db3 ACPI: PM: Fix device wakeup power reference counting error
27f2e5b91452 mfd: altera-sysmgr: Fix a mistake caused by resource_size conversion
5fb2bcf0affe mfd: sprd: Add SPI device ID table
bd20d4d8433e mfd: cpcap: Add SPI device ID table
34b1f6db7cea mfd: core: Add missing of_node_put for loop iteration
ca1362fdcbc2 ALSA: memalloc: Catch call with NULL snd_dma_buffer pointer
e9806f88b774 octeontx2-pf: select CONFIG_NET_DEVLINK
0c49ae7a8db9 bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed
71fb40ae9b07 drm/ttm: remove ttm_bo_vm_insert_huge()
9d5c7b0eeeca block: fix device_add_disk() kobject_create_and_add() error handling
8f1e23735636 net: phy: fix duplex out of sync problem while changing settings
96f9abc9183c cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
d8dedce3460e PCI: Do not enable AtomicOps on VFs
6d1d54003af4 ataflop: remove ataflop_probe_lock mutex
e107071961c5 block/ataflop: provide a helper for cleanup up an atari disk
875ffb42476b block/ataflop: add registration bool before calling del_gendisk()
9d3261d4606a block/ataflop: use the blk_cleanup_disk() helper
275e4a31a82c nvdimm/pmem: cleanup the disk if pmem_release_disk() is yet assigned
8e8ed252e483 drm/nouveau/svm: Fix refcount leak bug and missing check against null bug
e65a7ab548a3 selftests: net: properly support IPv6 in GSO GRE test
57488e25ef53 scsi: ufs: ufshpb: Properly handle max-single-cmd
e022fea64e8d scsi: ufs: core: Fix NULL pointer dereference
5dd6e6426805 scsi: ufs: ufshpb: Use proper power management API
1e476c9f63ee scsi: bsg: Fix errno when scsi_bsg_register_queue() fails
064b6b0592e1 nvdimm/btt: do not call del_gendisk() if not needed
4e7af8a90a2c PCI: j721e: Fix j721e_pcie_probe() error path
19c65258dde3 ACPI: PMIC: Fix intel_pmic_regs_handler() read accesses
fdcdc4c5ae3d kdb: Adopt scheduler's task classification
1deba5e29d9f ice: Fix not stopping Tx queues for VFs
abf65a2ee78b ice: Fix replacing VF hardware MAC to existing MAC filter
932224ba805d net: dsa: felix: fix broken VLAN-tagged PTP under VLAN-aware bridge
21032425c36f net: vlan: fix a UAF in vlan_dev_real_dev()
f48a13b3ec59 openrisc: fix SMP tlb flush NULL pointer dereference
2e746ef502c9 ethtool: fix ethtool msg len calculation for pause stats
351237a76e3f kselftests/net: add missed toeplitz.sh/toeplitz_client.sh to Makefile
fca8095c4206 kselftests/net: add missed vrf_strict_mode_test.sh test to Makefile
14a49eb8dcd1 kselftests/net: add missed SRv6 tests
19f67358b600 kselftests/net: add missed setup_loopback.sh/setup_veth.sh to Makefile
13bf487e33d6 kselftests/net: add missed icmp.sh test to Makefile
9c806a70fa4c net: davinci_emac: Fix interrupt pacing disable
cd63d080b9e8 io-wq: fix max-workers not correctly set on multi-node system
e99270d7f273 nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
795e6b378692 nbd: fix max value for 'first_minor'
f314286463bc xen-pciback: Fix return in pm_ctrl_init()
db651ace499c gpio: realtek-otto: fix GPIO line IRQ offset
01e189372d48 i2c: xlr: Fix a resource leak in the error handling path of 'xlr_i2c_probe()'
5b12e1931569 dmaengine: idxd: fix resource leak on dmaengine driver disable
9b882818aec1 NFSv4: Fix a regression in nfs_set_open_stateid_locked()
4b7e3d5ee357 scsi: qla2xxx: edif: Fix EDIF bsg
e56d80025ed0 scsi: qla2xxx: edif: Increase ELS payload
aac0a76cb318 scsi: qla2xxx: edif: Flush stale events and msgs on session down
dcd0c5e7dec2 scsi: qla2xxx: edif: Fix app start delay
696815ee50f6 scsi: qla2xxx: edif: Fix app start fail
09e4dafeca9b scsi: qla2xxx: Turn off target reset during issue_lip
411ca50eab27 scsi: qla2xxx: Fix gnl list corruption
7ee1c31ce9df scsi: qla2xxx: Relogin during fabric disturbance
b65e9044be04 scsi: target: core: Remove from tmr_list during LUN unlink
eb63b768afca ar7: fix kernel builds for compiler test
e5f9487c06bd watchdog: f71808e_wdt: fix inaccurate report in WDIOC_GETTIMEOUT
fb2b4c7b5477 m68k: set a default value for MEMORY_RESERVE
8f072ec8b41b signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL)
671dd8b385b2 dmaengine: idxd: reconfig device after device reset command
b1b9ef3abafa dmanegine: idxd: fix resource free ordering on driver removal
9fb118b077f6 dmaengine: tegra210-adma: fix pm runtime unbalance
8bc8be6ce69e dmaengine: dmaengine_desc_callback_valid(): Check for `callback_result`
5b380c56bb4b netfilter: nfnetlink_queue: fix OOB when mac header was cleared
9981e39ded4b soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
8ccaade05b00 auxdisplay: ht16k33: Fix frame buffer device blanking
fba8ce59bbd4 auxdisplay: ht16k33: Connect backlight to fbdev
d6d28153d49f auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string
5204722a9642 Fix user namespace leak
d9bd9732cad6 NFS: Fix an Oops in pnfs_mark_request_commit()
9443fcc22a6c NFS: Fix up commit deadlocks
b07aa21474d3 dmaengine: stm32-dma: fix stm32_dma_get_max_width
f12d23bc255d dmaengine: at_xdmac: fix AT_XDMAC_CC_PERID() macro
98b727511da8 dmaengine: at_xdmac: call at_xdmac_axi_config() on resume path
1976e7b3c033 rtc: rv3032: fix error handling in rv3032_clkout_set_rate()
84ea6245dc02 remoteproc: Fix a memory leak in an error handling path in 'rproc_handle_vdev()'
62eaaa154c8f mtd: core: don't remove debugfs directory if device is in use
152d0b535426 mtd: rawnand: arasan: Prevent an unsupported configuration
402239647cb3 PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation
321a355777d0 mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare()
1c60136d99c2 drm/bridge: nwl-dsi: Add atomic_get_input_bus_fmts
d36d2c35fd98 Input: st1232 - increase "wait ready" timeout
d268e0125c92 fs: orangefs: fix error return code of orangefs_revalidate_lookup()
a94284b0fdce sparc: Add missing "FORCE" target when using if_changed
cab693c0fe29 NFS: Fix deadlocks in nfs_scan_commit_list()
97eaf7af7fd1 opp: Fix return in _opp_add_static_v2()
5a67f827379f PCI: aardvark: Fix preserving PCI_EXP_RTCTL_CRSSVE flag on emulated bridge
e8c80586b8fb PCI: aardvark: Don't spam about PIO Response Status
c8ae61fe97c2 drm/plane-helper: fix uninitialized variable reference
c03c7f58ae49 drm/bridge/lontium-lt9611uxc: fix provided connector suport
5ab7612ff0b5 pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds
6967d9967b7a NFS: Fix dentry verifier races
597e9c7a4ace NFS: Ignore the directory size when marking for revalidation
69e0be0efe53 NFS: Don't set NFS_INO_DATA_INVAL_DEFER and NFS_INO_INVALID_DATA
7e2801edf23f NFS: Default change_attr_type to NFS4_CHANGE_TYPE_IS_UNDEFINED
47dbabb8279c i2c: mediatek: fixing the incorrect register offset
1721649965e4 Input: ariel-pwrbutton - add SPI device ID table
40f60ee1d33c rtc: mcp795: Add SPI ID table
46a2f7945553 dmaengine: idxd: move out percpu_ref_exit() to ensure it's outside submission
c31b0fe8e116 i2c: i801: Use PCI bus rescan mutex to protect P2SB access
aad5b030fa2e remoteproc: imx_rproc: Fix TCM io memory type
171b2888a410 rtc: pcf2123: Add SPI ID table
75ed1289c376 rtc: ds1390: Add SPI ID table
c7e81f2c0e8a rtc: ds1302: Add SPI ID table
d9dacf260671 nfsd: don't alloc under spinlock in rpc_parse_scope_id
a61698358b38 mtd: rawnand: intel: Fix potential buffer overflow in probe
e87c6bc32caf rpmsg: Fix rpmsg_create_ept return when RPMSG config is not defined
4f3de16a3ca6 apparmor: fix error check
1c6eefe997ad RDMA/core: Require the driver to set the IOVA correctly during rereg_mr
3f49a9d356bd power: supply: bq27xxx: Fix kernel crash on IRQ handler register error
dfd04b3a8191 mips: cm: Convert to bitfield API to fix out-of-bounds access
27ddb2735a6e vdpa/mlx5: Fix clearing of VIRTIO_NET_F_MAC feature bit
0099c7affb21 virtio_ring: check desc == NULL when using indirect with packed
bcf29e436895 serial: cpm_uart: Protect udbg definitions by CONFIG_SERIAL_CPM_CONSOLE
874b8c70f39d ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()'
98492898c367 RDMA/hns: Modify the value of MAX_LP_MSG_LEN to meet hardware compatibility
ff021c96a9a7 RDMA/hns: Fix initial arm_st of CQ
e4fa14bdf83a ASoC: cs42l42: Correct configuring of switch inversion from ts-inv
dfbcaef20204 powerpc: Don't provide __kernel_map_pages() without ARCH_SUPPORTS_DEBUG_PAGEALLOC
06cebea18a33 iommu/dma: Fix incorrect error return on iommu deferred attach
a4ce4337dc1c ALSA: oxfw: fix functional regression for Mackie Onyx 1640i in v5.14 or later
f5927a99737a powerpc/xmon: fix task state output
d6b102db217f powerpc/44x/fsp2: add missing of_node_put
5a8579005938 powerpc/book3e: Fix set_memory_x() and set_memory_nx()
f74827713955 powerpc/nohash: Fix __ptep_set_access_flags() and ptep_set_wrprotect()
6b4a3cfce497 HID: u2fzero: properly handle timeouts in usb_submit_urb
0fcb6023d149 HID: u2fzero: clarify error check and length calculations
33dcebb916a2 clk: at91: clk-master: fix prescaler logic
ffe896d043ca clk: at91: clk-master: check if div or pres is zero
5a5cd9597e7f clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
2efda16d42bf serial: xilinx_uartps: Fix race condition causing stuck TX
d0379ee4a864 phy: Sparx5 Eth SerDes: Fix return value check in sparx5_serdes_probe()
34f5e44c8f2d phy: qcom-snps: Correct the FSEL_MASK
9999e3d71197 phy: qcom-qmp: another fix for the sc8180x PCIe definition
69cd3bdff881 phy: ti: gmii-sel: check of_get_address() for failure
ca1e04c63850 phy: qcom-qusb2: Fix a memory leak on probe
2e8175481d5a ASoC: topology: Fix stub for snd_soc_tplg_component_remove()
804732ec30ba pinctrl: equilibrium: Fix function addition in multiple groups
286ff24b0002 arm64: dts: qcom: sdm845: Fix Qualcomm crypto engine bus clock
69ec5e3509f5 arm64: dts: qcom: sdm845: Use RPMH_CE_CLK macro directly
87201f2148f7 arm64: dts: qcom: pmi8994: Fix "eternal"->"external" typo in WLED node
59bb5796dfbe soc: qcom: apr: Add of_node_put() before return
1210a6388313 soc: qcom: rpmhpd: fix sm8350_mxc's peer domain
df84a4f71045 firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available()
58d68f2a2ca1 usb: dwc3: gadget: Skip resizing EP's TX FIFO if already resized
46256f11c2cf powerpc/booke: Disable STRICT_KERNEL_RWX, DEBUG_PAGEALLOC and KFENCE
b35b82e6648e usb: dwc2: drd: reset current session before setting the new one
27903e1ffbfa usb: dwc2: drd: fix dwc2_drd_role_sw_set when clock could be disabled
bd18f99c5c78 usb: dwc2: drd: fix dwc2_force_mode call in dwc2_ovr_init
977b112946ec serial: imx: fix detach/attach of serial console
be9866f92e9c scsi: lpfc: Wait for successful restart of SLI3 adapter during host sg_reset
d17f1042be86 scsi: ufs: ufshcd-pltfrm: Fix memory leak due to probe defer
3eab21ff9f87 soundwire: bus: stop dereferencing invalid slave pointer
d1d477cf9ba2 iio: adis: do not disabe IRQs in 'adis_init()'
715a48b65984 usb: typec: STUSB160X should select REGMAP_I2C
a8409b2f07a4 iio: buffer: Fix double-free in iio_buffers_alloc_sysfs_and_mask()
96c0265e8742 soc: qcom: socinfo: add two missing PMIC IDs
1c8a9b6365ea soc: qcom: rpmhpd: Make power_on actually enable the domain
94a60d141380 ASoC: cs42l42: Defer probe if request_threaded_irq() returns EPROBE_DEFER
001b7f31f50d ASoC: cs42l42: Correct some register default values
b7e17c293ec2 ASoC: cs42l42: Always configure both ASP TX channels
0204fbf40c95 ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
210d7e34a13a ARM: dts: stm32: fix SAI sub nodes register range
85d082965af6 ARM: dts: stm32: fix STUSB1600 Type-C irq level on stm32mp15xx-dkx
c80bba28b1f9 ARM: dts: stm32: Reduce DHCOR SPI NOR frequency to 50 MHz
ecca03f758fa pinctrl: renesas: checker: Fix off-by-one bug in drive register check
547eae8d290b powerpc/perf: Fix cycles/instructions as PM_CYC/PM_INST_CMPL in power10
a14e312ad42f dyndbg: make dyndbg a known cli param
88d564772486 RDMA/core: Set sgtable nents when using ib_dma_virt_map_sg()
cc7f21385c83 staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC
ab206dd35148 staging: most: dim2: do not double-register the same device
f1401c37fee2 usb: musb: select GENERIC_PHY instead of depending on it
de3c7a4167c2 RDMA/mlx4: Return missed an error if device doesn't support steering
8adfc48bda62 scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
40f7932e8ca4 power: supply: max17040: fix null-ptr-deref in max17040_probe()
2225dade4147 power: supply: rt5033_battery: Change voltage values to µV
82012f8f4926 usb: gadget: hid: fix error code in do_config()
64b913c6d40a serial: 8250_dw: Drop wrong use of ACPI_PTR()
e271314bf2a2 powerpc/paravirt: correct preempt debug splat in vcpu_is_preempted()
ddd95eb01afd powerpc: fix unbalanced node refcount in check_kvm_guest()
2af070265d6e video: fbdev: chipsfb: use memset_io() instead of memset()
11644855488e powerpc/mem: Fix arch/powerpc/mm/mem.c:53:12: error: no previous prototype for 'create_section_mapping'
62a1c92858c1 clk: at91: check pmc node status before registering syscore ops
383008a0e009 memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe
ee65ec08d36b soc/tegra: Fix an error handling path in tegra_powergate_power_up()
2a45a76ed146 iio: st_pressure_spi: Add missing entries SPI to device ID table
6551bac0eb42 ASoC: SOF: topology: do not power down primary core during topology removal
93322efe91f2 arm: dts: omap3-gta04a4: accelerometer irq fix
7f8beede9915 driver core: Fix possible memory leak in device_link_add()
c464ab169800 scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()
8e781506a76e scsi: megaraid_sas: Fix concurrent access to ISR between IRQ polling and real interrupt
ca92b5f2ec88 scsi: ufs: core: Stop clearing UNIT ATTENTIONS
0f1efc0c0ed2 scsi: ufs: core: Fix ufshcd_probe_hba() prototype to match the definition
a1e06f92b2db power: reset: at91-reset: check properly the return value of devm_of_iomap
9a8d7bdd5b5e soundwire: debugfs: use controller id and link_id for debugfs
784bf21bb6d1 ALSA: usb-audio: Fix possible race at sync of urb completions
34862fa65cc7 ALSA: hda: Use position buffer for SKL+ again
987bfc6eb7aa ALSA: hda: Reduce udelay() at SKL+ position reporting
f624d5495cc0 iommu/dma: Fix arch_sync_dma for map
d39f447f259a iommu/dma: Fix sync_sg with swiotlb
e9d8cb8dad2d arm64: dts: qcom: pm8916: Remove wrong reg-names for rtc@6000
6705c94d9017 iommu/mediatek: Fix out-of-range warning with clang
a7b0d0d6041c arm64: dts: renesas: beacon: Fix Ethernet PHY mode
94d42f3a174e arm64: dts: qcom: msm8916: Fix Secondary MI2S bit clock
8524d9f336cc ASoC: wcd9335: Use correct version to initialize Class H
a0274b002345 pinctrl: renesas: rzg2l: Fix missing port register 21h
259a6fdd691f JFS: fix memleak in jfs_mount
f776bb118318 MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
85e7a66ceb2b scsi: dc395: Fix error case unwinding
52a994c15a9a arm64: dts: qcom: sc7280: fix display port phy reg property
15a40b9fd396 soc: qcom: llcc: Disable MMUHWT retention
b2a98348f698 arm64: dts: qcom: sc7180: Base dynamic CPU power coefficients in reality
53616b7315ee ARM: dts: at91: tse850: the emac<->phy interface is rmii
b327d92c10b2 bus: ti-sysc: Fix timekeeping_suspended warning on resume
876ba79c7969 arm64: dts: meson-sm1: Fix the pwm regulator supply properties
2b9828e4bdbc arm64: dts: meson-g12b: Fix the pwm regulator supply properties
d2bbd1ce92d2 arm64: dts: meson-g12a: Fix the pwm regulator supply properties
4def729518ec arm64: dts: ti: j7200-main: Fix "bus-range" upto 256 bus number for PCIe
7b9ab4a7e52b arm64: dts: ti: j7200-main: Fix "vendor-id"/"device-id" properties of pcie node
ef26fb3a1931 arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for PCIe
461a478eabea arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
13fef1930da8 RDMA/bnxt_re: Fix query SRQ failure
280ad4f332f9 ARM: dts: qcom: msm8974: Add xo_board reference clock to DSI0 PHY
6096069c91ed arm64: dts: rockchip: Fix GPU register width for RK3328
df54f16f3c05 ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
ca4e26066748 scsi: lpfc: Fix NVMe I/O failover to non-optimized path
79becd68e16e scsi: qla2xxx: edif: Use link event to wake up app
a3e165e8e779 scsi: pm80xx: Fix lockup in outbound queue management
8525028b4652 clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
532c48310396 arm64: dts: broadcom: bcm4908: Fix UART clock name
ed1b1ab0581e ARM: dts: BCM5301X: Fix memory nodes names
d41e6c4fae29 RDMA/rxe: Fix wrong port_cap_flags
42a6f69c5aa8 iio: st_sensors: disable regulators after device unregistration
d5e4939b5e0c arm64: dts: meson: sm1: add Ethernet PHY reset line for ODROID-C4/HC4
03060aec7281 staging: r8188eu: fix memory leak in rtw_set_key
8853e04ea61d cpufreq: Fix parameter in parse_perf_domain()
2bbc554a98f9 of: unittest: fix EXPECT text for gpio hog errors
d55aca82dda6 bpf: Fix propagation of signed bounds from 64-bit min/max into 32-bit.
d03a5b00a336 bpf: Fix propagation of bounds from 64-bit min/max into 32-bit and var_off.
e3acd3a08462 cgroup: Fix rootcg cpu.stat guest double counting
c47be68b31cf skmsg: Lose offset info in sk_psock_skb_ingress
b5c69b9fb5c4 selftests: mptcp: fix proto type in link_failure tests
2c6197e7eac7 ibmvnic: delay complete()
3a208e02e9ee ibmvnic: Process crqs after enabling interrupts
fac0105a5c9f ibmvnic: don't stop queue in xmit
e619ad4e2d4c udp6: allow SO_MARK ctrl msg to affect routing
e89d244fef55 selftests/bpf: Fix fclose/pclose mismatch in test_progs
fb657a4e125d crypto: pcrypt - Delay write to padata->info
bbf7b2dbd131 selftests: net: bridge: update IGMP/MLD membership interval value
24c8fd323957 net: bridge: fix uninitialized variables when BRIDGE_CFM is disabled
e176585f054a net: phylink: avoid mvneta warning when setting pause parameters
9073b88b1b29 nfp: fix potential deadlock when canceling dim work
e9f7832a4f14 nfp: fix NULL pointer access when scheduling dim work
d6c25579a8a0 ipmi: kcs_bmc: Fix a memory leak in the error handling path of 'kcs_bmc_serio_add_device()'
e8dabc670c40 net: amd-xgbe: Toggle PLL settings during rate change
a1fafee96a7a sctp: return true only for pathmtu update in sctp_transport_pl_toobig
554153b1cd01 sctp: subtract sctphdr len in sctp_transport_pl_hlen
118eedc00644 sctp: reset probe_timer in sctp_transport_pl_update
8cebfaefcccf sctp: allow IP fragmentation when PLPMTUD enters Error state
4c51fa32f631 selftests/bpf: Fix memory leak in test_ima
844134cd097c selftests/bpf: Fix fd cleanup in sk_lookup test
e3e3c222c306 drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits
76eb97443810 drm/amdgpu: fix a potential memory leak in amdgpu_device_fini_sw()
d834f80e51d7 wcn36xx: Channel list update before hardware scan
677c9ad9839c bpf: Fixes possible race in update_prog_stats() for 32bit arches
ae1fffdf3b95 bpf: Avoid races in __bpf_prog_run() for 32bit arches
4ab36444a538 wcn36xx: Fix discarded frames due to wrong sequence number
e2e55ffee66f wcn36xx: add proper DMA memory barriers in rx path
960a216b078a libertas: Fix possible memory leak in probe and disconnect
59de456628bd libertas_tf: Fix possible memory leak in probe and disconnect
964b738fde92 KVM: s390: Fix handle_sske page fault handling
777194b87fb3 samples/kretprobes: Fix return value if register_kretprobe() failed
41c9a411aad0 spi: spi-rpc-if: Check return value of rpcif_sw_init()
ca5c67889bd6 cpufreq: intel_pstate: Fix cpu->pstate.turbo_freq initialization
4d9b7edfdcf2 tracing: Fix missing trace_boot_init_histograms kstrdup NULL checks
d3ec9c358a42 tcp: don't free a FIN sk_buff in tcp_remove_empty_skb()
d48715b25f2e libbpf: Fix endianness detection in BPF_CORE_READ_BITFIELD_PROBED()
bf5e3d54de65 tpm_tis_spi: Add missing SPI ID
bf736690bcbe tpm: fix Atmel TPM crash caused by too frequent queries
b5949ef0753b libbpf: Fix off-by-one bug in bpf_core_apply_relo()
af25dbc8460f blk-cgroup: synchronize blkg creation against policy deactivation
39581715d6e5 block: ataflop: more blk-mq refactoring fixes
6a8cd2686ec7 ath10k: fix module load regression with iram-recovery feature
a521a0ddd5aa ARM: 9142/1: kasan: work around LPAE build warning
348273847a56 net: dsa: avoid refcount warnings when ->port_{fdb,mdb}_del returns error
69abfe39c7d6 irq: mips: avoid nested irq_enter()
ca46cc192bec KVM: s390: pv: avoid stalls for kvm_s390_pv_init_vm
cb69970e0cd9 KVM: s390: pv: avoid double free of sida page
eadbd5d1ec29 s390/uv: fully validate the VMA before calling follow_page()
a9c017ab05a4 s390/mm: fix VMA and page table handling code in storage key handling functions
735d269aa767 s390/mm: validate VMA in PGSTE manipulation functions
dbeff6651f5e s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
9d6a0e31be0c s390/gmap: validate VMA in __gmap_zap()
908e8e54ef8d mt76: mt7615: mt7622: fix ibss and meshpoint
ae2df723141f libbpf: Fix BTF header parsing checks
ffb5d239e7ed libbpf: Fix overflow in BTF sanity checks
e6c63efb0c8d bpftool: Avoid leaking the JSON writer prepared for program metadata
5d33132c03ff libbpf: Fix memory leak in btf__dedup()
32293389e84a KVM: selftests: Fix nested SVM tests when built with clang
c6293f673f2d smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi
19bbbeb408d0 crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks
48ae8d2243f0 drm/msm/dsi: fix wrong type in msm_dsi_host
5f88d19f0f6a drm/msm: Fix potential NULL dereference in DPU SSPP
907d34b74c64 x86/sev: Fix stack type check in vc_switch_off_ist()
3dd4b42d95a0 clocksource/drivers/timer-ti-dm: Select TIMER_OF
8f74e6d5161e PM: hibernate: fix sparse warnings
ff950ae83201 nvme-rdma: fix error code in nvme_rdma_setup_ctrl
b2cf0bed6817 nbd: Fix use-after-free in pid_show
d0fd4b3aeea6 phy: micrel: ksz8041nl: do not use power down mode
89249cd9fa1f net: enetc: unmap DMA in enetc_send_cmd()
493a9e6367a1 iwlwifi: pnvm: read EFI data only if long enough
b0b49d055533 iwlwifi: pnvm: don't kmemdup() more than we have
f2fd84b36748 iwlwifi: mvm: reset PM state on unsuccessful resume
89f000f4c9e0 mwifiex: Send DELBA requests according to spec
f5b21a4c096d rsi: stop thread firstly in rsi_91x_init() error handling
ec280de6f409 mt76: mt7915: fix muar_idx in mt7915_mcu_alloc_sta_req()
a4ab42fbe70d mt76: mt7915: fix sta_rec_wtbl tag len
439393358568 mt76: connac: fix possible NULL pointer dereference in mt76_connac_get_phy_mode_v2
1f71b42e27e1 mt76: mt7615: fix monitor mode tear down crash
68acaaf117a9 mt76: mt7921: fix retrying release semaphore without end
5a881727bb3b mt76: mt7915: fix possible infinite loop release semaphore
dba165e255db mt76: mt7615: fix hwmon temp sensor mem use-after-free
32ec365cdca6 mt76: mt7915: fix hwmon temp sensor mem use-after-free
2c9e98bca4a5 mt76: mt7921: always wake device if necessary in debugfs
8ed4d081f2eb mt76: mt7921: fix kernel warning from cfg80211_calculate_bitrate
22f41d4f2e36 mt76: mt7921: fix firmware usage of RA info using legacy rates
90ecf88cc293 mt76: mt7921: report HE MU radiotap
bf5b9c9df69c mt76: overwrite default reg_ops if necessary
30dc676d4b02 mt76: connac: fix GTK rekey offload failure on WPA mixed mode
c8c0958687c7 mt76: mt7921: fix dma hang in rmmod
2bfda0a8dc77 mt76: mt7915: fix bit fields for HT rate idx
02c474990173 mt76: mt7915: fix potential overflow of eeprom page index
7f2d2c8d9307 mt76: mt7921: Fix out of order process by invalid event pkt
75ed8ca355fb mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
9fcee803e248 mt76: mt7921: fix survey-dump reporting
a7afd7a5e68d mt76: fix build error implicit enumeration conversion
21255ccf73bb mt76: connac: fix mt76_connac_gtk_rekey_tlv usage
95792d2088ea mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal()
8dea17cf36fa mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
d1c7ea995cbf mt76: mt7921: fix endianness warning in mt7921_update_txs
ef02f94e138e mt76: mt7915: fix endianness warning in mt7915_mac_add_txs_skb
90d9e4050bc3 mt76: mt7921: fix endianness in mt7921_mcu_tx_done_event
5a9bd1b941f4 drm/amdkfd: Fix an inappropriate error handling in allloc memory of gpu
1b7030b379e4 ACPI: PM: Fix sharing of wakeup power resources
453c3013a586 ACPI: PM: Turn off unused wakeup power resources
6500e7148a01 mailbox: mtk-cmdq: Fix local clock ID usage
ac2592454712 mailbox: mtk-cmdq: Validate alias_id on probe
62a0a0539da7 platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
3e6e11f8537c blk-wbt: prevent NULL pointer dereference in wb_timer_fn
456b47cacdc7 block: ataflop: fix breakage introduced at blk-mq refactoring
4eac23d60cbc io-wq: Remove duplicate code in io_workqueue_create()
c8dccb28c329 mmc: mxs-mmc: disable regulator on error and in the remove function
6eff31412bec media: ir_toy: assignment to be16 should be of correct type
13e59b7cb277 media: ivtv: fix build for UML
51911aa157ca mailbox: Remove WARN_ON for async_cb.cb in cmdq_exec_done
2a0b9ebec182 thermal/drivers/qcom/lmh: make QCOM_LMH depends on QCOM_SCM
3988164fe9dd net: stream: don't purge sk_error_queue in sk_stream_kill_queues()
fbc24df3a5f6 drm/msm: uninitialized variable in msm_gem_import()
3464103cf485 drm/msm: fix potential NULL dereference in cleanup
cbbe14644798 drm/msm: unlock on error in get_sched_entity()
de99b40b93ac drm/msm: potential error pointer dereference in init()
c14f0035476f drm/msm: Fix potential Oops in a6xx_gmu_rpmh_init()
dafe75a9a6dc drm/msm/dsi: do not enable irq handler before powering up the host
3f25451eae28 thermal/core: fix a UAF bug in __thermal_cooling_device_register()
b208436e229b crypto: octeontx2 - set assoclen in aead_do_fallback()
300ae3a5e884 tcp: switch orphan_count to bare per-cpu counters
cae022f91174 net: tulip: winbond-840: fix build for UML
be060f47ef38 net: intel: igc_ptp: fix build for UML
2fa75b667335 net: fealnx: fix build for UML
3869eecf0504 kernel/sched: Fix sched_fork() access an invalid sched_task_group
d719ff1151c7 ath10k: fix max antenna gain unit
dd0fe5985b0a hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff
b275c71a7b70 hwmon: Fix possible memleak in __hwmon_device_register()
9531d477589d net, neigh: Fix NTF_EXT_LEARNED in combination with NTF_USE
dacdfe7870ae memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host()
3d78b5b1ce01 memstick: avoid out-of-range warning
5b9c76df7ff0 mmc: sdhci-omap: Fix context restore
e28a1a0a412a mmc: sdhci-omap: Fix NULL pointer exception if regulator is not configured
6b084516fbc3 gve: Track RX buffer allocation failures
fd2c9032b88c gve: Recover from queue stall due to missed IRQ
e5be2a62567f b43: fix a lower bounds test
c9179a2da18c b43legacy: fix a lower bounds test
4bef6e617dbc ima: fix deadlock when traversing "ima_default_rules".
594a893df55d hwrng: mtk - Force runtime pm ops for sleep ops
51dbedbf08e0 crypto: qat - disregard spurious PFVF interrupts
d0536282842a crypto: qat - detect PFVF collision after ACK
b2805fb00de5 crypto: ccree - avoid out-of-range warnings from clang
0535d3506378 media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable()
a117b767084d media: venus: fix vpp frequency calculation for decoder
3ad069d68eea netfilter: nft_dynset: relax superfluous check on set updates
d846b69dc7ff rcu: Fix rcu_dynticks_curr_cpu_in_eqs() vs noinstr
fa1af3cb0e47 rcu: Always inline rcu_dynticks_task*_{enter,exit}()
d0b693aa948b EDAC/amd64: Handle three rank interleaving mode
3357b8a431b3 x86/insn: Use get_unaligned() instead of memcpy()
3c38c852c0ac PM: EM: Fix inefficient states detection
a8f0c3c39e26 ath9k: Fix potential interrupt storm on queue reset
428199299910 ath10k: Don't always treat modem stop events as crashes
ff3487b08949 media: em28xx: Don't use ops->suspend if it is NULL
b9a0ff08a69e cpuidle: Fix kobject memory leaks in error paths
c95380ba527a drm: fb_helper: fix CONFIG_FB dependency
a213407573c6 crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
af18fe767136 kprobes: Do not use local variable when creating debugfs file
69dce456e2be scs: Release kasan vmalloc poison in scs_free process
43cfb5df9289 media: atmel: fix the ispck initialization
ead5a141ea22 media: cx23885: Fix snd_card_free call on null card pointer
5a225627ba4a media: tm6000: Avoid card name truncation
afa370b5316f media: si470x: Avoid card name truncation
ccd29579f7e7 media: radio-wl1273: Avoid card name truncation
0fd64cd9ffde media: sun6i-csi: Allow the video device to be open multiple times
e44fa27c650f media: i2c: ths8200 needs V4L2_ASYNC
7b0b7b8a2ba5 media: imx-jpeg: Fix the error handling path of 'mxc_jpeg_probe()'
56bc844703f0 media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
4a2ab1ce79ba media: TDA1997x: handle short reads of hdmi info frame.
e7f187649c24 media: mtk-vcodec: venc: fix return value when start_streaming fails
4f0ea72e4a34 media: v4l2-ioctl: S_CTRL output the right value
9e14a3d9f768 media: imx258: Fix getting clock frequency
d30d3397db1e media: dvb-usb: fix ununit-value in az6027_rc_query
98cb3a055b18 media: ttusb-dec: avoid release of non-acquired mutex
f8b2ae89671d media: cxd2880-spi: Fix a null pointer dereference on error handling path
b6100e16716e media: meson-ge2d: Fix rotation parameter changes detection in 'ge2d_s_ctrl()'
2899243f272f media: em28xx: add missing em28xx_close_extension
e6a908c5935d libbpf: Fix skel_internal.h to set errno on loader retval < 0
798419802590 drm/amdgpu: fix warning for overflow check
09732e205684 arm64: mm: update max_pfn after memory hotplug
410a0f42ced0 drm/ttm: stop calling tt_swapin in vm_access
092e6cb650eb ath10k: sdio: Add missing BH locking around napi_schdule()
63287a77b138 ath10k: Fix missing frame timestamp for beacon/probe-resp
cef58d2c3466 gve: DQO: avoid unused variable warnings
9b955d5d6038 ath11k: Fix memory leak in ath11k_qmi_driver_event_work
f3ccc878b5fb ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status
3b087c2fc0d7 ath11k: Avoid race during regd updates
9b59c76797e6 ath11k: fix some sleeping in atomic bugs
e1ddaa5dcef6 bpf/tests: Fix error in tail call limit tests
739b92765e04 net: dsa: rtl8366: Fix a bug in deleting VLANs
57e4d980b7fe net: dsa: rtl8366rb: Fix off-by-one bug
9cc25e8529d5 net/mlx5: Accept devlink user input after driver initialization complete
cfaf70338314 cfg80211: always free wiphy specific regdomain
6adf16c2e5a2 mac80211: twt: don't use potentially unaligned pointer
80adbd8c4502 fortify: Fix dropped strcpy() compile-time write overflow check
c9f95c678318 mptcp: do not shrink snd_nxt when recovering
eade470b4351 rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies()
9fcd75ee9159 qed: Don't ignore devlink allocation failures
af484a1cde06 bnxt_en: Check devlink allocation and registration status
e4ecf64c0d10 Bluetooth: hci_h5: Fix (runtime)suspend issues on RTL8723BS HCIs
56dc06554516 crypto: qat - power up 4xxx device
891fec9f116c crypto: caam - disable pkc for non-E SoCs
adce47a6405c drm/amdgpu: move amdgpu_virt_release_full_gpu to fini_early stage
63c1435cab9b drm/amd/display: Pass display_pipe_params_st as const in DML
24b4d7102125 drm/amdgpu: Fix crash on device remove/driver unload
5481612c471f Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
7bcbced2534b wilc1000: fix possible memory leak in cfg_scan_result()
2c4415e819f1 wcn36xx: Fix Antenna Diversity Switching
26d3bf38ae3e cgroup: Make rebind_subsystems() disable v2 controllers all at once
3409f88809a6 spi: Fixed division by zero warning
bc79831b426b drm: bridge: it66121: Fix return value it66121_probe
1a1028f89646 net: phylink: don't call netif_carrier_off() with NULL netdev
02113c83f405 net: net_namespace: Fix undefined member in key_remove_domain()
c401830b0125 lockdep: Let lock_is_held_type() detect recursive read as read
255c569eeb46 virtio-gpu: fix possible memory allocation failure
a496b7090881 crypto: sm4 - Do not change section of ck and sbox
41cfb139c36c drm/v3d: fix wait for TMU write combiner flush
0a97e2fb9690 net/mlx5: Publish and unpublish all devlink parameters at once
d9b17a030a1b objtool: Handle __sanitize_cov*() tail calls
c8a2b96d755c x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
e6e4b75f977e MIPS: lantiq: dma: fix burst length for DEU
4a9334d04ba6 rcu: Fix existing exp request check in sync_sched_exp_online_cleanup()
3998e06d9511 Bluetooth: hci_uart: fix GPF in h5_recv
9fc04208643f libbpf: Don't crash on object files with no symbol tables
11080de0a75c Bluetooth: fix init and cleanup of sco_conn.timeout_work
5f14a2c4648c drm/bridge: it66121: Wait for next bridge to be probed
3c1ccfcae8a9 drm/bridge: it66121: Initialize {device,vendor}_ids
848df133cc42 perf/x86/intel/uncore: Fix Intel SPR M3UPI event constraints
a4a2da864e2a perf/x86/intel/uncore: Fix Intel SPR M2PCIE event constraints
ced11c1b40ca perf/x86/intel/uncore: Fix Intel SPR IIO event constraints
cdba93ecbbd2 perf/x86/intel/uncore: Fix Intel SPR CHA event constraints
5a31df7d0f9f drm/bridge: anx7625: Propagate errors from sp_tx_rst_aux()
e3b39825ed08 fbdev/efifb: Release PCI device's runtime PM ref during FB destroy
8085f032541b selftests/bpf: Fix strobemeta selftest regression
6c7a147b876a netfilter: conntrack: set on IPS_ASSURED if flows enters internal stream state
ad04ebbe715c parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
028459fab9a6 parisc/unwind: fix unwinder when CONFIG_64BIT is enabled
ab7ce95a04d6 erofs: don't trigger WARN() when decompression fails
f6ca0ac23202 task_stack: Fix end_of_stack() for architectures with upwards-growing stack
3b935cca35e4 parisc: fix warning in flush_tlb_all
ec6ceae80a42 perf/x86/intel: Fix ICL/SPR INST_RETIRED.PREC_DIST encodings
d0f6689591df selftests/core: fix conflicting types compile error for close_range()
116b6202b29a drm/amd/display: dcn20_resource_construct reduce scope of FPU enabled
ed515eea7701 x86/hyperv: Protect set_hv_tscchange_cb() against getting preempted
0f421e257e49 inet: remove races in inet{6}_getname()
b58be9a0495f ftrace: do CPU checking after preemption disabled
e24f9679c3c0 Revert "wcn36xx: Enable firmware link monitoring"
194e8d7ad91f wcn36xx: Fix packet drop on resume
397fec25850c wcn36xx: Correct band/freq reporting on RX
51421f89b909 spi: bcm-qspi: Fix missing clk_disable_unprepare() on error in bcm_qspi_probe()
6039fcd85896 btrfs: do not take the uuid_mutex in btrfs_rm_device
bfc4788e4481 btrfs: reflink: initialize return value to 0 in btrfs_extent_same()
91f8e91d93ce ACPI: resources: Add one more Medion model in IRQ override quirk
59f3feb05cfd ACPI: AC: Quirk GK45 to skip reading _PSR
0914663ac127 net: annotate data-race in neigh_output()
c90eb23eb709 vrf: run conntrack only in context of lower/physdev for locally generated packets
85a1da3d7a84 tools/latency-collector: Use correct size when writing queue_full_warning
0db6161eacda ARM: 9136/1: ARMv7-M uses BE-8, not BE-32
d2ab6689ed0d gfs2: Fix glock_hash_walk bugs
e10e8f490d6e gfs2: Cancel remote delete work asynchronously
af6f6ff3a78c can: bittiming: can_fixup_bittiming(): change type of tseg1 and alltseg to unsigned int
7b697bb86020 gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
7d341b27013e ARM: clang: Do not rely on lr register for stacktrace
7f11e51f0c9d smackfs: use __GFP_NOFAIL for smk_cipso_doi()
b94d32876378 iwlwifi: mvm: disable RX-diversity in powersave
c430f6255375 selftests/bpf: Fix perf_buffer test on system with offline cpus
19074f05307b selftests: kvm: fix mismatched fclose() after popen()
df0b6862b795 PM: hibernate: Get block device exclusively in swsusp_check()
77aa339ea59f arm64: vdso32: suppress error message for 'make mrproper'
3d890ac58a85 samples/bpf: Fix application of sizeof to pointer
54718ee9b8ee nvme: drop scan_lock and always kick requeue list when removing namespaces
0703920365d3 nvmet-tcp: fix use-after-free when a port is removed
3c82292ee9bc nvmet-rdma: fix use-after-free when a port is removed
e3d5ebee9c05 nvmet: fix use-after-free when a port is removed
1e7edd183481 drm/amdgpu/pm: properly handle sclk for profiling modes on vangogh
451be8bcdc17 media: allegro: ignore interrupt if mailbox is not initialized
a3d08aae1805 block: remove inaccurate requeue check
22d5a9add83b iwlwifi: change all JnP to NO-160 configuration
819efcac7c3c mwl8k: Fix use-after-free in mwl8k_fw_state_machine()
1c794f4b483a mt76: mt7915: fix an off-by-one bound check
84afcec2ca5a tracing/cfi: Fix cmp_entries_* functions signature mismatch
b09a201b714d workqueue: make sysfs of unbound kworker cpumask more clever
0b1a4d0ff911 lib/xz: Validate the value before assigning it to an enum variable
5329376ce6ae lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression
562d350a8809 locking/rwsem: Disable preemption for spinning region
e5d5e5317150 memstick: r592: Fix a UAF bug when removing the driver
9fff6457afad md: update superblock after changing rdev flags in state_store
22b68b015d44 floppy: fix calling platform_device_unregister() on invalid drives
396c9e834d69 block: bump max plugged deferred size from 16 to 32
3792174592b6 thermal/drivers/tsens: Add timeout to get_temp_tsens_valid
660446ff86ca drm/msm: prevent NULL dereference in msm_gpu_crashstate_capture()
38ef472ca8e5 thermal/core: Fix null pointer dereference in thermal_release()
7c0caa7e2636 leaking_addresses: Always print a trailing newline
9796eb9137b3 net: phy: micrel: make *-skew-ps check more lenient
abbc58deaab6 drm/amdkfd: fix resume error when iommu disabled in Picasso
5837c23f7ddd drm/amd/display: fix null pointer deref when plugging in display
cfc1a472a8d8 ACPI: scan: Release PM resources blocked by unused objects
37f2aebf1656 ACPI: battery: Accept charges over the design capacity as full
c45c83c1716f iov_iter: Fix iov_iter_get_pages{,_alloc} page fault return value
d78de051ff32 mmc: moxart: Fix reference count leaks in moxart_probe
e41d46fe0954 KVM: arm64: Propagate errors from __pkvm_prot_finalize hypercall
dd267d35d82a ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create()
4e4f6e33d6f2 tracing: Disable "other" permission bits in the tracefs files
1067f23c1ee7 tracefs: Have tracefs directories not set OTH permission bits by default
5425f404b527 drm/amdkfd: rm BO resv on validation to avoid deadlock
b3aa4e54add8 net-sysfs: try not to restart the syscall if it will fail eventually
74339549c8dc media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()
688ac68a23d4 media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info
eb795fd959ac media: ipu3-imgu: imgu_fmt: Handle properly try
4c2a4bad39e1 media: imx-jpeg: Fix possible null pointer dereference
a56e9d7609ee ice: Move devlink port to PF/VF struct
9053ab4dfc1b cpufreq: Make policy min/max hard requirements
e8e98aa12411 ACPICA: Avoid evaluating methods too early during system resume
5fc13c5d43f5 kselftests/sched: cleanup the child processes
a803c35d0b38 fs/proc/uptime.c: Fix idle time reporting in /proc/uptime
8c379a77ae33 ipmi: Disable some operations during a panic
60cbd3e635f0 media: rcar-csi2: Add checking to rcsi2_start_receiver()
77da4492ad93 brcmfmac: Add DMI nvram filename quirk for Cyberbook T116 tablet
f25c2738d68a rtw88: fix RX clock gate setting while fifo dump
7ea446e3363e ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK
5b55e15b6636 media: mceusb: return without resubmitting URB in case of -EPROTO error.
51ae7f962672 media: rcar-vin: Use user provided buffers when starting
88dcc2d14960 media: imx: set a media_device bus_info string
e922d0b6e6a6 media: videobuf2: rework vb2_mem_ops API
cdf5c3f84607 media: s5p-mfc: Add checking to s5p_mfc_probe().
bb2cb679699e media: s5p-mfc: fix possible null-pointer dereference in s5p_mfc_probe()
2bd28fe587a5 media: vidtv: Fix memory leak in remove
18c4e5e59f82 media: uvcvideo: Set unique vdev name based in type
477f767b9472 media: uvcvideo: Return -EIO for control errors
7c2695613989 media: uvcvideo: Set capability in s_param
673ce2812ed4 media: stm32: Potential NULL pointer dereference in dcmi_irq_thread()
25bde3ba1a34 media: atomisp: Fix error handling in probe
f92948e1e25a media: netup_unidvb: handle interrupt properly according to the firmware
944fc4717321 media: mt9p031: Fix corrupted frame after restarting stream
1a0e5b13f907 octeontx2-pf: Enable promisc/allmulti match MCAM entries.
26fcf9347ab4 ath10k: high latency fixes for beacon buffer
20e8a4f26534 ath11k: Change DMA_FROM_DEVICE to DMA_TO_DEVICE when map reinjected packets
163189aa6e44 ath11k: add handler for scan event WMI_SCAN_EVENT_DEQUEUED
8ea518dfa39b ath11k: Avoid reg rules update during firmware recovery
72d43bc26938 selftests: net: fib_nexthops: Wait before checking reported idle time
678e8cd1bf22 drm/amd/display: Fix null pointer dereference for encoders
351601af203d drm/amdgpu: Fix MMIO access page fault
9630d4d0d14d fscrypt: allow 256-bit master keys with AES-256-XTS
d6509627e06f spi: Check we have a spi_device_id for each DT compatible
33d2d8a12f8d mwifiex: Properly initialize private structure on interface type changes
bcf47459ee7b mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
7251782df85f x86: Increase exception stack sizes
a5a43cde6601 x86/mm/64: Improve stack overflow warnings
347f35130e4e crypto: aesni - check walk.nbytes instead of err
53aad1ad0e69 ath11k: Align bss_chan_info structure with firmware
4e246ca955ca smackfs: Fix use-after-free in netlbl_catmap_walk()
f85b0fe504ac rcu-tasks: Move RTGS_WAIT_CBS to beginning of rcu_tasks_kthread() loop
e36b7768aad6 ACPI: resources: Add DMI-based legacy IRQ override quirk
ae11b215aef8 net: sched: update default qdisc visibility after Tx queue cnt changes
d120d005b96f locking/lockdep: Avoid RCU-induced noinstr fail
a244da298418 MIPS: lantiq: dma: reset correct number of channel
6a5b3f5dfb02 MIPS: lantiq: dma: add small delay after reset
55bf61828ab3 drm/amdgpu: move iommu_resume before ip init/resume
36bd10013bdf platform/x86: wmi: do not fail if disabling fails
9508ee70d138 rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
f3135fa42b0f drm/panel-orientation-quirks: add Valve Steam Deck
a05a18cfbf9f Bluetooth: call sock_hold earlier in sco_conn_del
7e22e4db95b0 Bluetooth: fix use-after-free error in lock_sock_nested()
b990c219c4c9 Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()
8815bbe712f3 drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6
4fe898b1ec8d drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1
c9795f6bf0eb drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)
8ff10b430ca0 dma-buf: WARN on dmabuf release with pending attachments
061a8677ab37 component: do not leave master devres group open after bind
4c264dfbb6a4 power: supply: max17042_battery: Clear status bits in interrupt handler
fc49ca4dbae1 USB: chipidea: fix interrupt deadlock
273a85ac422d USB: iowarrior: fix control-message timeouts
2fbf746092c2 most: fix control-message timeouts
8b09d36daf47 Revert "serial: 8250: Fix reporting real baudrate value in c_ospeed field"
02981a96642f serial: 8250: Fix reporting real baudrate value in c_ospeed field
670f1f30ed70 io-wq: serialize hash clear with wakeup
5bfa57795dc1 ksmbd: set unique value to volume serial field in FS_VOLUME_INFORMATION
15e904c14951 serial: 8250: fix racy uartclk update
cefb16b7b2d5 USB: serial: keyspan: fix memleak on probe errors
309d6b5d45c9 Documentation:devicetree:bindings:iio:dac: Fix val
df56942798c4 iio: ad5770r: make devicetree property reading consistent
a92d075cb4b5 iio: dac: ad5446: Fix ad5622_write() return value
bd297200b747 drivers: iio: dac: ad5766: Fix dt property name
c32c68ac7ba1 iio: buffer: Fix memory leak in iio_buffer_register_legacy_sysfs_groups()
289884de9ff6 iio: buffer: Fix memory leak in __iio_buffer_alloc_sysfs_and_mask()
b6444e89525d iio: buffer: Fix memory leak in iio_buffers_alloc_sysfs_and_mask()
d7652924a132 iio: buffer: check return value of kstrdup_const()
1c531289b74e coresight: trbe: Defer the probe on offline CPUs
ea64104287cb coresight: trbe: Fix incorrect access of the sink specific data
d27fc5ba46fc coresight: cti: Correct the parameter for pm_runtime_put
76d6bf233c7e pinctrl: core: fix possible memory leak in pinctrl_enable()
eb4102bb3821 mfd: simple-mfd-i2c: Select MFD_CORE to fix build error
63dc291ab5e0 cifs: set a minimum of 120s for next dns resolution
1c35a216ef77 cifs: To match file servers, make sure the server hostname matches
120d9dca7d51 quota: correct error number in free_dqentry()
332db0909293 quota: check block number when reading the block in quota file
ddfea4b7d13b PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge
7c7ebe1ec81f PCI: aardvark: Set PCI Bridge Class Code to PCI Bridge
19a6b2b2f0fe PCI: aardvark: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
25540fbe7858 PCI: aardvark: Fix support for bus mastering and PCI_COMMAND on emulated bridge
7aaf8585eebc PCI: aardvark: Read all 16-bits from PCIE_MSI_PAYLOAD_REG
ce44e532b96e PCI: aardvark: Fix return value of MSI domain .alloc() method
643a20110083 PCI: aardvark: Fix configuring Reference clock
39579eb4f1f8 PCI: aardvark: Fix reporting Data Link Layer Link Active
9cb9b2bb7ab6 PCI: aardvark: Do not unmask unused interrupts
2c6b530a0e3c PCI: aardvark: Fix checking for link up via LTSSM state
da478902acec PCI: aardvark: Do not clear status bits of masked interrupts
39c5465c3639 cxl/pci: Fix NULL vs ERR_PTR confusion
afa7885b56e8 PCI: cadence: Add cdns_plat_pcie_probe() missing return
228028b01dab PCI: pci-bridge-emul: Fix emulation of W1C bits
5cffa333a2b2 ovl: fix filattr copy-up failure
2f372e38f572 ovl: fix use after free in struct ovl_aio_req
90817d78388c xen/balloon: add late_initcall_sync() for initial ballooning done
013fa93c79bd ifb: fix building without CONFIG_NET_CLS_ACT
ea531d52fa08 serial: core: Fix initializing and restoring termios speed
34c2a0d0a70a ring-buffer: Protect ring_buffer_reset() from reentrancy
4cac487a4730 io_uring: honour zeroes as io-wq worker limits
e1bb995036c7 powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found
e4b49c3f9d58 iio: adc: tsc2046: fix scan interval warning
24d8a24f5641 can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAM
e35f3d74bf06 can: j1939: j1939_can_recv(): ignore messages with invalid source address
d1be2ab08354 can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport
0c10d5d39563 can: mcp251xfd: mcp251xfd_irq(): add missing can_rx_offload_threaded_irq_finish() in case of bus off
dac06227e1a3 can: peak_usb: always ask for BERR reporting for PCAN-USB devices
df093c18bdb1 KVM: nVMX: Handle dynamic MSR intercept toggling
c98d5e42be2c KVM: nVMX: Query current VMCS when determining if MSR bitmaps are in use
35da6d291aca KVM: x86: Add helper to consolidate core logic of SET_CPUID{2} flows
9d12bf19b278 KVM: x86: Fix recording of guest steal time / preempted status
23e989b977e0 KVM: arm64: Extract ESR_ELx.EC only
1ff8dae30188 iio: core: check return value when calling dev_set_name()
91410e2a28ac iio: core: fix double free in iio_device_unregister_sysfs()
4ee77bdef8e4 power: supply: max17042_battery: use VFSOC for capacity when no rsns
165ca6e8ac5b power: supply: max17042_battery: Prevent int underflow in set_soc_threshold
aaf0562f7147 mctp: handle the struct sockaddr_mctp padding fields
22584cf24a51 mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines
b523b232e46a soc: fsl: dpio: use the combined functions to protect critical zone
e7c39e85f184 soc: fsl: dpio: replace smp_processor_id with raw_smp_processor_id
22c84fe73e64 soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE
82d43437f88c signal: Add SA_IMMUTABLE to ensure forced siganls do not get changed
e87f4856a2c4 signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT
9098de58b6d9 memory: renesas-rpc-if: Correct QSPI data transfer in Manual mode
4a2aba3252e8 signal: Remove the bogus sigkill_pending in ptrace_stop
b6a38dd58e4d ASoC: tegra: Restore AC97 support
0ed4b15a50fb ASoC: tegra: Set default card name for Trimslice
5f0d86c4fd2e RDMA/qedr: Fix NULL deref for query_qp on the GSI QP
8c0abfa673a7 perf/x86/intel/uncore: Fix Intel ICX IIO event constraints
54cabed24b73 perf/x86/intel/uncore: Fix invalid unit check
398318fb96c8 perf/x86/intel/uncore: Support extra IMC channel on Ice Lake server
a71f98f1b7a4 rsi: Fix module dev_oper_mode parameter description
a72ebbbc0f4f rsi: fix rate mask set leading to P2P failure
a23cb5f914e1 rsi: fix key enabled check causing unwanted encryption for vap_id > 0
d63343e5aa17 rsi: fix occasional initialisation failure with BT coex
60cbc288f8f3 wcn36xx: handle connection loss indication
4a41c6373c38 dma-buf: fix and rework dma_buf_poll v7
d5e659a7a6cb libata: fix checking of DMA state
023d9d9e74d6 mwifiex: Try waking the firmware until we get an interrupt
5240b74b3fe1 mwifiex: Read a PCI register after writing the TX ring write pointer
c8e31bfb3556 PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions
3883dbfcce48 wcn36xx: Fix (QoS) null data frame bitrate/modulation
bfe4950d90e2 wcn36xx: Fix tx_status mechanism
7fc610c422c1 wcn36xx: Fix HT40 capability for 2Ghz band
2c7f6d6154c4 HID: surface-hid: Allow driver matching for target ID 1 devices
31d61c42f116 HID: surface-hid: Use correct event registry for managing HID events
37200a451d7e mt76: mt7615: fix skb use-after-free on mac reset
bc1e276eea3d platform/surface: aggregator_registry: Add support for Surface Laptop Studio
e094a99911da ifb: Depend on netfilter alternatively to tc
11b37df34aa8 evm: mark evm_fixmode as __ro_after_init
364b9bf060f9 rtl8187: fix control-message timeouts
422cef790448 PCI: Mark Atheros QCA6174 to avoid bus reset
003ec78e77fc ath10k: fix division by zero in send path
ee8f6a4b4080 ath10k: fix control-message timeout
eb7c750c3d85 ath6kl: fix control-message timeout
0d52fb54f0cf ath6kl: fix division by zero in send path
d52b152a1f4a mwifiex: fix division by zero in fw download path
54d7dd169745 EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
79f21b74070b regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property
e61d145a0825 regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled
c4ffc1e0df1f hwmon: (pmbus/lm25066) Add offset coefficients
3c0049a01b21 md/raid1: only allocate write behind bio for WriteMostly device
805d775fe6bc ipmi:watchdog: Set panic count to proper value on a panic
dcfba4896069 selinux: fix race condition when computing ocontext SIDs
5ae00ac03dd7 ia64: kprobes: Fix to pass correct trampoline address to the handler
0e47821087de KVM: PPC: Tick accounting should defer vtime accounting 'til after IRQ handling
df4d4868d164 KVM: VMX: Unregister posted interrupt wakeup handler on hardware unsetup
7a8f76177494 KVM: x86/mmu: Drop a redundant, broken remote TLB flush
aba42e1ab188 btrfs: call btrfs_check_rw_degradable only if there is a missing device
1084e628b8c5 btrfs: fix lost error handling when replaying directory deletes
e94f785f6ef4 btrfs: clear MISSING device status bit in btrfs_close_one_device
5742269ad0cd x86/iopl: Fake iopl(3) CLI/STI usage
dead44f5c5a0 x86/irq: Ensure PI wakeup handler is unregistered before module unload
e90c6b8fe3b4 x86/cpu: Fix migration safety with X86_BUG_NULL_SEL
f75068bc6796 x86/sme: Use #define USE_EARLY_PGTABLE_L5 in mem_encrypt_identity.c
729bcb4c92ca fuse: fix page stealing
2cc2e56d9042 ext4: refresh the ext4_ext_path struct after dropping i_data_sem.
4e33566bb00a ext4: ensure enough credits in ext4_ext_shift_path_extents
b5be67d04989 ext4: fix lazy initialization next schedule time computation in more granular unit
46fd62b26822 Revert "ext4: enforce buffer head state assertion in ext4_da_map_blocks"
d90b9f87968a ALSA: timer: Unconditionally unlink slave instances, too
e1bcad600319 ALSA: timer: Fix use-after-free problem
47047ae0b779 ALSA: PCM: Fix NULL dereference at mmap checks
b9d4a8993500 ALSA: pci: rme: Fix unaligned buffer addresses
9a520938980b ALSA: synth: missing check for possible NULL after the call to kstrdup
b875f9be6275 ALSA: hda: Free card instance properly at probe errors
c2f07b0d171d ALSA: usb-audio: Add registration quirk for JBL Quantum 400
62448b6a73d0 ALSA: usb-audio: Line6 HX-Stomp XL USB_ID for 48k-fixed quirk
41714a17a217 ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume
b13a4908f4b5 ALSA: mixer: oss: Fix racy access to slots
46a2315ac327 ALSA: line6: fix control and interrupt message timeouts
cb104cd727d9 ALSA: 6fire: fix control and bulk message timeouts
8b86a54e00c2 ALSA: ua101: fix division by zero at probe
2b752ce22112 ALSA: hda/realtek: Add quirk for HP EliteBook 840 G7 mute LED
0b898ef1050d ALSA: hda/realtek: Add quirk for ASUS UX550VE
17c69c4f7f09 ALSA: hda/realtek: Add a quirk for Acer Spin SP513-54N
a2ea7dec7785 ALSA: hda/realtek: Headset fixup for Clevo NH77HJQ
6cd2cfd09f50 ALSA: hda/realtek: Add quirk for Clevo PC70HS
af31cffa09b7 ALSA: hda/realtek: Add a quirk for HP OMEN 15 mute LED
13c4f0e731e7 ALSA: hda/realtek: Fix mic mute LED for the HP Spectre x360 14
00845427c47d media: v4l2-ioctl: Fix check_ext_ctrls
7cfad3f87d80 media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
9e37e1cad5b0 media: rkvdec: Support dynamic resolution changes
2837d7277ea1 media: ite-cir: IR receiver stop working after receive overflow
09cca6f81dd1 media: rkvdec: Do not override sizeimage for output format
2a50d9fe9227 crypto: s5p-sss - Add error handling in s5p_aes_probe()
4a3ef4d6d330 firmware/psci: fix application of sizeof to pointer
d4efa4181ddf tpm: Check for integer overflow in tpm2_map_response_body()
c41492ee2014 parisc: Fix ptrace check on syscall return
9a5125dcb045 parisc: Fix set_fixmap() on PA1.x CPUs
7887fea0c0d4 io-wq: remove worker to owner tw dependency
e119d7ef5f92 exfat: fix incorrect loading of i_blocks for large files
aa0b015e87a8 mmc: dw_mmc: Dont wait for DRTO on Write RSP error
20af47eb7fd3 mmc: mtk-sd: Add wait dma stop done flow
3cddf1f7f7b5 char: xillybus: fix msg_ep UAF in xillyusb_probe()
d1c687148ed5 ce/gf100: fix incorrect CE0 address calculation on some GPUs
c07179037bcc scsi: qla2xxx: Fix use after free in eh_abort path
eb722507fb2c scsi: qla2xxx: Fix kernel crash when accessing port_speed sysfs file
eafa65575e6f scsi: qla2xxx: Fix crash in NVMe abort path
0bb97f2486ce scsi: lpfc: Fix FCP I/O flush functionality for TMF routines
bea230d0b26c scsi: lpfc: Don't release final kref on Fport node while ABTS outstanding
cd816d01efae scsi: core: Remove command size deduction from scsi_setup_scsi_cmnd()
005838becc27 scsi: core: Avoid leaving shost->last_reset with stale value if EH does not run
baf27c15ee89 scsi: scsi_ioctl: Validate command size
9dd45bf24027 ocfs2: fix data corruption on truncate
7d96493bd585 libata: fix read log timeout value
82e2f47f26a2 Input: i8042 - Add quirk for Fujitsu Lifebook T725
4f43e1c69280 Input: elantench - fix misreporting trackpoint coordinates
6655277462f3 Input: iforce - fix control-message timeout
eb86e9884f29 usb: xhci: Enable runtime-pm by default on AMD Yellow Carp platform
5a71fa1a1025 xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay

(From OE-Core rev: bc983e78154464f0f3db2bfa2302b1542f311db9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
4606bf77f8 linux-yocto/5.14: update to v5.14.21
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

545728d9e085 Linux 5.14.21
999805aaf925 Revert "ACPI: scan: Release PM resources blocked by unused objects"
0750f769b958 thermal: Fix NULL pointer dereferences in of_thermal_ functions
50812034d105 perf/core: Avoid put_page() when GUP fails
ae2afdf82a00 PCI: Add MSI masking quirk for Nvidia ION AHCI
18c55aed17b2 PCI/MSI: Deal with devices lying about their MSI mask capability
f64af1735731 PCI/MSI: Destroy sysfs before freeing entries
f41389affe96 parisc/entry: fix trace test in syscall exit path
56249b445477 Bluetooth: btusb: Add support for TP-Link UB500 Adapter
dbaa485bc5a1 bootconfig: init: Fix memblock leak in xbc_make_cmdline()
6bb162d35d74 loop: Use blk_validate_block_size() to validate block size
e2d865b3109c block: Add a helper to validate the block size
5b9f31a3be76 fortify: Explicitly disable Clang support
87304542f264 KVM: Fix steal time asm constraints
02eafa8f1558 Revert "drm: fb_helper: fix CONFIG_FB dependency"
bd462930f7e5 Revert "drm: fb_helper: improve CONFIG_FB dependency"
ff7124b91f52 Linux 5.14.20
1b86960dc451 Revert "x86: Fix get_wchan() to support the ORC unwinder"
961913f45ff6 Revert "sched: Add wrapper for get_wchan() to keep task blocked"
b51c1a592faa Revert "x86: Fix __get_wchan() for !STACKTRACE"
0e62c60b3e7e Linux 5.14.19
c6d58e3e55f5 media: videobuf2-dma-sg: Fix buf->vb NULL pointer dereference
283fd7d9fdea media: videobuf2: always set buffer vb2 pointer
6a1968a2f2f6 x86/sev: Make the #VC exception stacks part of the default stacks storage
8c57c9ff7e88 x86/sev: Add an x86 version of cc_platform_has()
0e1cd02ff0d8 arch/cc: Introduce a function to check for confidential computing features
45a47382941d IMA: reject unknown hash algorithms in ima_get_hash_algo
a3c6e358fbe4 selftests/bpf: Fix also no-alu32 strobemeta selftest
49ed44184d0c selftests/x86/iopl: Adjust to the faked iopl CLI/STI usage
35207858385e mmc: moxart: Fix null pointer dereference on pointer host
c254f7893bc1 ath10k: fix invalid dma_addr_t token assignment
733aac9beea8 cifs: fix memory leak of smb3_fs_context_dup::server_hostname
4f2bf4fe6c0d media: vidtv: move kfree(dvb) to vidtv_bridge_dev_release()
af09862cb566 drm/amd/display: Look at firmware version to determine using dmub on dcn21
697103ad736a pinctrl: amd: Handle wake-up interrupt
03e1b25d4079 pinctrl: amd: Add irq field data
f80264b897b2 SUNRPC: Partial revert of commit 6f9f17287e78
7a914508ca2f PCI: aardvark: Fix PCIe Max Payload Size setting
f12fbf40bf63 PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
7005ee54fc09 drm/sun4i: Fix macros in sun8i_csc.h
a595cc219051 powerpc/85xx: fix timebase sync issue when CONFIG_HOTPLUG_CPU=n
0a6412029f7e powerpc/pseries/mobility: ignore ibm, platform-facilities updates
baf19ea102c3 powerpc/64s/interrupt: Fix check_return_regs_valid() false positive
251959e47018 powerpc/security: Use a mutex for interrupt exit code patching
0795f5e71d1d powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload
36859829b783 powerpc/32e: Ignore ESR in instruction storage interrupt handler
db56efa61734 powerpc/bpf: Fix write protecting JIT code
b3e0a9cb6a67 powerpc/vas: Fix potential NULL pointer dereference
0bc921b6db55 mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines
f5a84162f174 mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines
426c3bda4995 mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines
26b77361800a mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines
8d37b0ee8875 mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines
0c82481e3064 mtd: rawnand: mpc5121: Keep the driver compatible with on-die ECC engines
6ad70604565c mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines
e4435dec6149 mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines
ab5fdf2c5a41 mtd: rawnand: fsmc: Fix use of SM ORDER
6e7363893639 remoteproc: imx_rproc: Fix rsc-table name
0f27656d5e26 remoteproc: imx_rproc: Fix ignoring mapping vdev regions
fce6586cd1d7 remoteproc: Fix the wrong default value of is_iomem
69dbe49b7eac remoteproc: elf_loader: Fix loading segment when is_iomem true
7d1ece44014b s390/cio: make ccw_device_dma_* more robust
60b9aef7f2eb s390/ap: Fix hanging ioctl caused by orphaned replies
9525ecf82f04 s390/tape: fix timer initialization in tape_std_assign()
efa70f3da72a s390/cio: check the subchannel validity for dev_busid
2ea358c095ad s390/cpumf: cpum_cf PMU displays invalid value after hotplug remove
e554c13dbe3c PM: sleep: Avoid calling put_device() under dpm_list_mtx
f36ada9c43db video: backlight: Drop maximum brightness override for brightness zero
c928e634b492 mfd: dln2: Add cell for initializing DLN2 ADC
8d55a5f82210 mm, oom: do not trigger out_of_memory from the #PF
dc6b83b8fef9 mm, oom: pagefault_out_of_memory: don't force global OOM for dying tasks
5741bd42f7c5 io-wq: serialize hash clear with wakeup
9f9d088a4b7d io-wq: fix queue stalling race
92b69466102b io-wq: ensure that hash wait lock is IRQ disabling
31132a895eaa memcg: prohibit unconditional exceeding the limit of dying tasks
d3a14035e51b mm/filemap.c: remove bogus VM_BUG_ON
4546a8cb993c 9p/net: fix missing error check in p9_check_errors
2febd1914ddc bpf, cgroup: Assign cgroup in cgroup_sk_alloc when called from interrupt
72c0c32d9dde bpf, cgroups: Fix cgroup v2 fallback on v1/v2 mixed mode
06cf324a465a net, neigh: Enable state migration between NUD_PERMANENT and NTF_USE
515cfde2a028 dmaengine: bestcomm: fix system boot lockups
3f5e4b70cd7a dmaengine: ti: k3-udma: Set r/tchan or rflow to NULL if request fail
3a127ccaf9a0 dmaengine: ti: k3-udma: Set bchan to NULL if a channel request fail
2f9e6bcab0a1 erofs: fix unsafe pagevec reuse of hooked pclusters
5b67adb7425e f2fs: fix UAF in f2fs_available_free_memory
616c1311b0f3 f2fs: include non-compressed blocks in compr_written_block
25b7077e30ee f2fs: should use GFP_NOFS for directory inodes
29868ae1478f irqchip/sifive-plic: Fixup EOI failed when masked
1bf2fc90b15b posix-cpu-timers: Clear task::posix_cputimers_work in copy_process()
f7ece74d0ab2 KVM: x86: move guest_pv_has out of user_access section
4c09233d17ce x86/mce: Add errata workaround for Skylake SKX37
e95e07bab005 MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL
70eeeb5aa01a MIPS: fix duplicated slashes for Platform file path
1eed13f0aba9 parisc: Flush kernel data mapping in set_pte_at() when installing pte for user page
1a396e845df7 parisc: Fix backtrace to always include init funtion names
b30255c8e2dd ARM: 9156/1: drop cc-option fallbacks for architecture selection
a39c9f2ff126 ARM: 9155/1: fix early early_iounmap()
a6e210f38fd9 smb3: do not error on fsync when readonly
05f320417823 selftests/net: udpgso_bench_rx: fix port argument
36810c9fc743 cxgb4: fix eeprom len when diagnostics not implemented
f9a2f543823f net/smc: fix sk_refcnt underflow on linkdown and fallback
eedcf3fb5e61 vsock: prevent unnecessary refcnt inc for nonblocking connect
ed5ac8bf1dbd net: marvell: mvpp2: Fix wrong SerDes reconfiguration order
e2abbf7dea22 net: ethernet: ti: cpsw_ale: Fix access to un-initialized memory
d2d62615396f net: stmmac: allow a tc-taprio base-time of zero
f116f0dad316 net: hns3: allow configure ETS bandwidth of all TCs
c7f7dc737f0d net: hns3: fix kernel crash when unload VF while it is being reset
214dbb2b4042 net: hns3: fix pfc packet number incorrect after querying pfc parameters
6fc15f27d462 net: hns3: fix ROCE base interrupt vector initialization bug
1959c3614227 net/sched: sch_taprio: fix undefined behavior in ktime_mono_to_any
45dea1317981 net: dsa: mv88e6xxx: Don't support >1G speeds on 6191X on ports other than 10
5862afa33cb1 seq_file: fix passing wrong private data
17f7aec830f5 drm/i915/fb: Fix rounding error in subsampled plane size calculation
e8cf4c96f11e gve: Fix off by one in gve_tx_timeout()
cf427bf68f29 dmaengine: stm32-dma: avoid 64-bit division in stm32_dma_get_max_width
b3ce1fc8100a dmaengine: stm32-dma: fix burst in case of unaligned memory address
af400d2469ae bpf, sockmap: sk_skb data_end access incorrect when src_reg = dst_reg
6b0db2a36f9a bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
0580e47c8895 bpf, sockmap: Fix race in ingress receive verdict with redirect to self
778aec90440f bpf, sockmap: Remove unhash handler for BPF sockmap usage
1ad5169dbb1c arm64: pgtable: make __pte_to_phys/__phys_to_pte_val inline functions
cdc29bc2748f arm64: arm64_ftr_reg->name may not be a human-readable string
8fbaf7b79caa nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
5dedc3a392e3 llc: fix out-of-bound array index in llc_sk_dev_hash()
78455257102e perf bpf: Add missing free to bpf_event__print_bpf_prog_info()
700f183edb05 zram: off by one in read_block_state()
ec82306f4509 mm/zsmalloc.c: close race window between zs_pool_dec_isolated() and zs_unregister_migration()
8f04fdb42298 can: mcp251xfd: mcp251xfd_chip_start(): fix error handling for mcp251xfd_chip_rx_int_enable()
4f389e1276a5 can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path
7a3210be9964 Revert "drm/imx: Annotate dma-fence critical section in commit path"
cd5d00738d62 drm: fb_helper: improve CONFIG_FB dependency
748dc40f1552 selftests/bpf/xdp_redirect_multi: Limit the tests in netns
67ebdf08154e selftests/bpf/xdp_redirect_multi: Give tcpdump a chance to terminate cleanly
63d52d3f722b selftests/bpf/xdp_redirect_multi: Use arping to accurate the arp number
52058c2e5516 selftests/bpf/xdp_redirect_multi: Put the logs to tmp folder
5ad1157af560 libbpf: Fix lookup_and_delete_elem_flags error reporting
006b5af213cd ACPI: PM: Fix device wakeup power reference counting error
c6d718f67eff mfd: altera-sysmgr: Fix a mistake caused by resource_size conversion
051b35b83508 mfd: sprd: Add SPI device ID table
fa6a7b427e3e mfd: cpcap: Add SPI device ID table
b862c9d1aa0d mfd: core: Add missing of_node_put for loop iteration
c85582ef7d42 ALSA: memalloc: Catch call with NULL snd_dma_buffer pointer
61ef4e2f3fbf bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed
51f230381aee drm/ttm: remove ttm_bo_vm_insert_huge()
1e520022ebb7 net: phy: fix duplex out of sync problem while changing settings
a3a5d0e13066 cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
d79404b45c10 PCI: Do not enable AtomicOps on VFs
267a022590e3 ataflop: remove ataflop_probe_lock mutex
4972bb9f9266 block/ataflop: provide a helper for cleanup up an atari disk
4f6264ed34b6 block/ataflop: add registration bool before calling del_gendisk()
ff8f1a821132 block/ataflop: use the blk_cleanup_disk() helper
5921ada07f55 drm/nouveau/svm: Fix refcount leak bug and missing check against null bug
86b53a83c55b nvdimm/btt: do not call del_gendisk() if not needed
02dea719283f PCI: j721e: Fix j721e_pcie_probe() error path
01b47659d9d1 ACPI: PMIC: Fix intel_pmic_regs_handler() read accesses
bbe42d65433a ice: Fix not stopping Tx queues for VFs
b15d8035cdb7 ice: Fix replacing VF hardware MAC to existing MAC filter
ff5b62b0decb net: dsa: felix: fix broken VLAN-tagged PTP under VLAN-aware bridge
1554b63d8751 net: dsa: tag_ocelot: break circular dependency with ocelot switch lib driver
fca96b3f852a net: vlan: fix a UAF in vlan_dev_real_dev()
7f639a03e4ab openrisc: fix SMP tlb flush NULL pointer dereference
e75b136530ce ethtool: fix ethtool msg len calculation for pause stats
f776103499bf kselftests/net: add missed icmp.sh test to Makefile
d2afb868adc9 net: davinci_emac: Fix interrupt pacing disable
5ed0d8c6af53 nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
69f35664ee1f nbd: fix max value for 'first_minor'
40804b6959fa xen-pciback: Fix return in pm_ctrl_init()
3612fdf488d5 gpio: realtek-otto: fix GPIO line IRQ offset
c64b55c85fb2 i2c: xlr: Fix a resource leak in the error handling path of 'xlr_i2c_probe()'
60e8a9733d82 NFSv4: Fix a regression in nfs_set_open_stateid_locked()
288be49e2e2e scsi: qla2xxx: Turn off target reset during issue_lip
66adfc54bd79 scsi: qla2xxx: Fix gnl list corruption
7c32b407ef0a scsi: target: core: Remove from tmr_list during LUN unlink
bac37c7433c5 ar7: fix kernel builds for compiler test
85b7c9ef119b watchdog: f71808e_wdt: fix inaccurate report in WDIOC_GETTIMEOUT
bae8c19f3063 m68k: set a default value for MEMORY_RESERVE
9c30504d85d2 signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL)
ab91e1ea48db dmaengine: dmaengine_desc_callback_valid(): Check for `callback_result`
ea52aeeb0da1 netfilter: nfnetlink_queue: fix OOB when mac header was cleared
fa46546d0871 soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
a4a5ee9741ea auxdisplay: ht16k33: Fix frame buffer device blanking
32d349f3e4ee auxdisplay: ht16k33: Connect backlight to fbdev
be51f4ed87ed auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string
cee0757bca0d Fix user namespace leak
2892327b226c NFS: Fix an Oops in pnfs_mark_request_commit()
f97d474f1b78 NFS: Fix up commit deadlocks
0adbe4155e0b dmaengine: stm32-dma: fix stm32_dma_get_max_width
ca3b5c976540 dmaengine: at_xdmac: fix AT_XDMAC_CC_PERID() macro
e8886cff93f0 dmaengine: at_xdmac: call at_xdmac_axi_config() on resume path
d08efac1f61e rtc: rv3032: fix error handling in rv3032_clkout_set_rate()
32fe246e33c6 remoteproc: Fix a memory leak in an error handling path in 'rproc_handle_vdev()'
c0bd86c72dc0 mtd: core: don't remove debugfs directory if device is in use
f3ecfa903c2f mtd: rawnand: arasan: Prevent an unsupported configuration
e5744356f335 PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation
9254b2c16ba3 mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare()
3189e1420b29 Input: st1232 - increase "wait ready" timeout
bef23befe1cd fs: orangefs: fix error return code of orangefs_revalidate_lookup()
f2deeaf169b8 NFS: Fix deadlocks in nfs_scan_commit_list()
0776aa4efe05 opp: Fix return in _opp_add_static_v2()
d192572a43b6 PCI: aardvark: Fix preserving PCI_EXP_RTCTL_CRSSVE flag on emulated bridge
b262b5fb60b4 PCI: aardvark: Don't spam about PIO Response Status
8d76b46f5810 drm/plane-helper: fix uninitialized variable reference
0bb7a9c31e4e drm/bridge/lontium-lt9611uxc: fix provided connector suport
9c8d416d7a52 pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds
be46326d9c65 NFS: Fix dentry verifier races
527b6ec3e979 NFS: Ignore the directory size when marking for revalidation
255fc6efacf2 NFS: Don't set NFS_INO_DATA_INVAL_DEFER and NFS_INO_INVALID_DATA
cbe0ef0063e5 NFS: Default change_attr_type to NFS4_CHANGE_TYPE_IS_UNDEFINED
6033546caa09 i2c: mediatek: fixing the incorrect register offset
a58fb2098608 Input: ariel-pwrbutton - add SPI device ID table
135c6ab095b0 rtc: mcp795: Add SPI ID table
f6136953df6e remoteproc: imx_rproc: Fix TCM io memory type
511a35aa4400 rtc: pcf2123: Add SPI ID table
e0fc7ea848f4 rtc: ds1390: Add SPI ID table
5c83c670e113 rtc: ds1302: Add SPI ID table
aeb40af85292 nfsd: don't alloc under spinlock in rpc_parse_scope_id
b33831877a0e mtd: rawnand: intel: Fix potential buffer overflow in probe
2c3a8b1701dc rpmsg: Fix rpmsg_create_ept return when RPMSG config is not defined
1f6483f7c0d4 apparmor: fix error check
12af444fb18b RDMA/core: Require the driver to set the IOVA correctly during rereg_mr
db35ff6ff095 power: supply: bq27xxx: Fix kernel crash on IRQ handler register error
17d0a494465f mips: cm: Convert to bitfield API to fix out-of-bounds access
e941eb7523e6 virtio_ring: check desc == NULL when using indirect with packed
8a1bf46732bf serial: cpm_uart: Protect udbg definitions by CONFIG_SERIAL_CPM_CONSOLE
cceb856eb7f3 ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()'
5e0210787cfa RDMA/hns: Modify the value of MAX_LP_MSG_LEN to meet hardware compatibility
45107b861a80 RDMA/hns: Fix initial arm_st of CQ
f3de2499242c ASoC: cs42l42: Correct configuring of switch inversion from ts-inv
03e45fb778c5 powerpc: Don't provide __kernel_map_pages() without ARCH_SUPPORTS_DEBUG_PAGEALLOC
14b05b63bfbb ALSA: oxfw: fix functional regression for Mackie Onyx 1640i in v5.14 or later
8af7e2b8d96f powerpc/xmon: fix task state output
8557ce3ddb0e powerpc/44x/fsp2: add missing of_node_put
694756f543b0 powerpc/book3e: Fix set_memory_x() and set_memory_nx()
f0a8154f6c66 powerpc/nohash: Fix __ptep_set_access_flags() and ptep_set_wrprotect()
15ccc53df3a4 HID: u2fzero: properly handle timeouts in usb_submit_urb
cc68082a3f76 HID: u2fzero: clarify error check and length calculations
463e138a67cb clk: at91: clk-master: fix prescaler logic
a4978a6cfd9e clk: at91: clk-master: check if div or pres is zero
b42bf5de6bef clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
e40f88ca6e5b serial: xilinx_uartps: Fix race condition causing stuck TX
b135a66c3410 phy: Sparx5 Eth SerDes: Fix return value check in sparx5_serdes_probe()
16db43fc0568 phy: qcom-snps: Correct the FSEL_MASK
f639952d70c6 phy: ti: gmii-sel: check of_get_address() for failure
02058ab1dcec phy: qcom-qusb2: Fix a memory leak on probe
05d2c884bbb0 ASoC: topology: Fix stub for snd_soc_tplg_component_remove()
20cef4273de0 pinctrl: equilibrium: Fix function addition in multiple groups
fbf843c5fde5 arm64: dts: qcom: sdm845: Fix Qualcomm crypto engine bus clock
24231d918e46 arm64: dts: qcom: sdm845: Use RPMH_CE_CLK macro directly
cd068f71c245 arm64: dts: qcom: pmi8994: Fix "eternal"->"external" typo in WLED node
0f2768e7aaa4 soc: qcom: apr: Add of_node_put() before return
5e313f56a004 soc: qcom: rpmhpd: fix sm8350_mxc's peer domain
fae72275217d firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available()
61bb3fac7a56 powerpc/booke: Disable STRICT_KERNEL_RWX, DEBUG_PAGEALLOC and KFENCE
d58dbd7c9765 usb: dwc2: drd: reset current session before setting the new one
c6a6138fd3d0 usb: dwc2: drd: fix dwc2_drd_role_sw_set when clock could be disabled
8d4801295664 usb: dwc2: drd: fix dwc2_force_mode call in dwc2_ovr_init
97714002eb5c serial: imx: fix detach/attach of serial console
f265551f304a scsi: lpfc: Wait for successful restart of SLI3 adapter during host sg_reset
9c9321f3af65 scsi: ufs: ufshcd-pltfrm: Fix memory leak due to probe defer
8104d165fe8c soundwire: bus: stop dereferencing invalid slave pointer
4e599aa437f8 iio: adis: do not disabe IRQs in 'adis_init()'
1cc004bb7e1d usb: typec: STUSB160X should select REGMAP_I2C
2c05b78785ae iio: buffer: Fix double-free in iio_buffers_alloc_sysfs_and_mask()
ddcdf294b31b soc: qcom: socinfo: add two missing PMIC IDs
4be134c2caf0 soc: qcom: rpmhpd: Make power_on actually enable the domain
c4607253ded6 ASoC: cs42l42: Defer probe if request_threaded_irq() returns EPROBE_DEFER
24d49d9f0dc6 ASoC: cs42l42: Correct some register default values
066f6d94e87b ASoC: cs42l42: Always configure both ASP TX channels
a9e0fed5c311 ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
de4c998f9634 ARM: dts: stm32: fix SAI sub nodes register range
d39348632e9e ARM: dts: stm32: fix STUSB1600 Type-C irq level on stm32mp15xx-dkx
74447d38de5e ARM: dts: stm32: Reduce DHCOR SPI NOR frequency to 50 MHz
d34d4f395674 pinctrl: renesas: checker: Fix off-by-one bug in drive register check
03f7759f9003 powerpc/perf: Fix cycles/instructions as PM_CYC/PM_INST_CMPL in power10
ae59bf224965 dyndbg: make dyndbg a known cli param
4d3bee930ce9 staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC
d9d577801350 staging: most: dim2: do not double-register the same device
65f101a4bb56 usb: musb: select GENERIC_PHY instead of depending on it
04ec60e77ef2 RDMA/mlx4: Return missed an error if device doesn't support steering
96e9a4068a2a scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
f0d4f0cd9442 power: supply: max17040: fix null-ptr-deref in max17040_probe()
71ad44224a78 power: supply: rt5033_battery: Change voltage values to µV
4848d094da0e usb: gadget: hid: fix error code in do_config()
ff22ff487e5a serial: 8250_dw: Drop wrong use of ACPI_PTR()
1e405bd00949 powerpc/paravirt: correct preempt debug splat in vcpu_is_preempted()
e093b8b68af7 powerpc: fix unbalanced node refcount in check_kvm_guest()
87557023bcf0 video: fbdev: chipsfb: use memset_io() instead of memset()
327788eb627c powerpc/mem: Fix arch/powerpc/mm/mem.c:53:12: error: no previous prototype for 'create_section_mapping'
5ec603fc4c1f clk: at91: check pmc node status before registering syscore ops
b885c49c7733 memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe
677ee2d1634a soc/tegra: Fix an error handling path in tegra_powergate_power_up()
3a39364557c3 iio: st_pressure_spi: Add missing entries SPI to device ID table
c23d6902073e ASoC: SOF: topology: do not power down primary core during topology removal
b810bd3db9ef arm: dts: omap3-gta04a4: accelerometer irq fix
c8542e40a779 driver core: Fix possible memory leak in device_link_add()
13f731ac9b17 scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()
945070ab3d91 scsi: megaraid_sas: Fix concurrent access to ISR between IRQ polling and real interrupt
e850922067ec power: reset: at91-reset: check properly the return value of devm_of_iomap
60b15e314825 soundwire: debugfs: use controller id and link_id for debugfs
ee6e999f3f3d ALSA: hda: Use position buffer for SKL+ again
51ebfe87c0a8 ALSA: hda: Reduce udelay() at SKL+ position reporting
9c738280085a iommu/dma: Fix arch_sync_dma for map
09339ff9e671 arm64: dts: qcom: pm8916: Remove wrong reg-names for rtc@6000
20997b9aca4c iommu/mediatek: Fix out-of-range warning with clang
c1b5c72d4d59 arm64: dts: renesas: beacon: Fix Ethernet PHY mode
44bd0cd11f10 arm64: dts: qcom: msm8916: Fix Secondary MI2S bit clock
75988ebce563 ASoC: wcd9335: Use correct version to initialize Class H
fd4bc9383153 JFS: fix memleak in jfs_mount
08276a9bb6db MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
e0d09ee78793 scsi: dc395: Fix error case unwinding
231b0e5b20cd soc: qcom: llcc: Disable MMUHWT retention
1ba41a69c079 arm64: dts: qcom: sc7180: Base dynamic CPU power coefficients in reality
39413a92656f ARM: dts: at91: tse850: the emac<->phy interface is rmii
87b20cedac64 bus: ti-sysc: Fix timekeeping_suspended warning on resume
b8f089162080 arm64: dts: meson-sm1: Fix the pwm regulator supply properties
ec2a1df6cb10 arm64: dts: meson-g12b: Fix the pwm regulator supply properties
fe4b9c0806c1 arm64: dts: meson-g12a: Fix the pwm regulator supply properties
b6a3e5310a23 arm64: dts: ti: j7200-main: Fix "bus-range" upto 256 bus number for PCIe
82b4981ce328 arm64: dts: ti: j7200-main: Fix "vendor-id"/"device-id" properties of pcie node
4cfacb5443c7 arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for PCIe
01d704aa590e arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
0bc01ceba816 RDMA/bnxt_re: Fix query SRQ failure
9c177b1c70eb ARM: dts: qcom: msm8974: Add xo_board reference clock to DSI0 PHY
9e2601ac84b4 arm64: dts: rockchip: Fix GPU register width for RK3328
1d292cf27d89 arm64: dts: rockchip: fix rk3568 mbi-alias
18d83fc611a8 ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
295bdd05ba50 scsi: pm80xx: Fix lockup in outbound queue management
b74b57b738ba clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
465c4e9b718d arm64: dts: broadcom: bcm4908: Fix UART clock name
042ee2a50f89 ARM: dts: BCM5301X: Fix memory nodes names
ce412216fbfc RDMA/rxe: Fix wrong port_cap_flags
2427a4c9e4e7 iio: st_sensors: disable regulators after device unregistration
a61cb0ecc913 arm64: dts: meson: sm1: add Ethernet PHY reset line for ODROID-C4/HC4
3260de8b35af of: unittest: fix EXPECT text for gpio hog errors
8426a23213dc bpf: Fix propagation of signed bounds from 64-bit min/max into 32-bit.
32df0ac1c97b bpf: Fix propagation of bounds from 64-bit min/max into 32-bit and var_off.
4c4491e856a0 cgroup: Fix rootcg cpu.stat guest double counting
2e510c262523 skmsg: Lose offset info in sk_psock_skb_ingress
8777d613b23f ibmvnic: delay complete()
93d1d1bd0d58 ibmvnic: Process crqs after enabling interrupts
611e75876907 ibmvnic: don't stop queue in xmit
b7bf97fc5621 udp6: allow SO_MARK ctrl msg to affect routing
e39668a15aa2 selftests/bpf: Fix fclose/pclose mismatch in test_progs
8cf265bafd33 crypto: pcrypt - Delay write to padata->info
1d0709398213 selftests: net: bridge: update IGMP/MLD membership interval value
fe5bffbf6214 net: bridge: fix uninitialized variables when BRIDGE_CFM is disabled
d4fe67943ae4 net: phylink: avoid mvneta warning when setting pause parameters
148557b62d51 ipmi: kcs_bmc: Fix a memory leak in the error handling path of 'kcs_bmc_serio_add_device()'
5139ace7231d net: amd-xgbe: Toggle PLL settings during rate change
c329460af68e sctp: return true only for pathmtu update in sctp_transport_pl_toobig
8880eccbc789 sctp: subtract sctphdr len in sctp_transport_pl_hlen
777591117cd9 sctp: reset probe_timer in sctp_transport_pl_update
269b14dd6e10 sctp: allow IP fragmentation when PLPMTUD enters Error state
af1d4c7c44a9 selftests/bpf: Fix memory leak in test_ima
a75f4f978bab selftests/bpf: Fix fd cleanup in sk_lookup test
317a0c71ba61 drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits
7f71a6a3bc4a drm/amdgpu: fix a potential memory leak in amdgpu_device_fini_sw()
a05760ad9460 wcn36xx: Channel list update before hardware scan
00da55838d50 bpf: Fixes possible race in update_prog_stats() for 32bit arches
81fe843efb4c wcn36xx: Fix discarded frames due to wrong sequence number
ff3948bc3d2a wcn36xx: add proper DMA memory barriers in rx path
65980896b216 libertas: Fix possible memory leak in probe and disconnect
e44f7a7cba46 libertas_tf: Fix possible memory leak in probe and disconnect
dd49c41472de KVM: s390: Fix handle_sske page fault handling
239e87d9f646 samples/kretprobes: Fix return value if register_kretprobe() failed
e1ff40b6194f x86: Fix __get_wchan() for !STACKTRACE
e9ede14c116f sched: Add wrapper for get_wchan() to keep task blocked
38bdcbf9828f spi: spi-rpc-if: Check return value of rpcif_sw_init()
e0eb459df7b2 cpufreq: intel_pstate: Fix cpu->pstate.turbo_freq initialization
ea3c5c9eabc2 tcp: don't free a FIN sk_buff in tcp_remove_empty_skb()
e6b885849667 libbpf: Fix endianness detection in BPF_CORE_READ_BITFIELD_PROBED()
a003933e5579 tpm_tis_spi: Add missing SPI ID
8d43e218d53e tpm: fix Atmel TPM crash caused by too frequent queries
71e3f2ea7765 blk-cgroup: synchronize blkg creation against policy deactivation
71711bee74a4 block: ataflop: more blk-mq refactoring fixes
8b19699ff671 ath10k: fix module load regression with iram-recovery feature
1ac33d3510a6 ARM: 9142/1: kasan: work around LPAE build warning
5b01c24de282 net: dsa: avoid refcount warnings when ->port_{fdb,mdb}_del returns error
3fb2e953a38b irq: mips: avoid nested irq_enter()
0238de13d5ef KVM: s390: pv: avoid stalls for kvm_s390_pv_init_vm
848686bc72d6 KVM: s390: pv: avoid double free of sida page
679a612a0d6a s390/uv: fully validate the VMA before calling follow_page()
dcc9648cd192 s390/mm: fix VMA and page table handling code in storage key handling functions
783d5c1c009e s390/mm: validate VMA in PGSTE manipulation functions
591aa785c1a9 s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
4fe9c6d097da s390/gmap: validate VMA in __gmap_zap()
d3601801b028 mt76: mt7615: mt7622: fix ibss and meshpoint
7462b70c2cb9 libbpf: Fix BTF header parsing checks
6eefcdb58847 libbpf: Fix overflow in BTF sanity checks
a526d92e239c bpftool: Avoid leaking the JSON writer prepared for program metadata
f1890b3e95ae libbpf: Fix memory leak in btf__dedup()
f0c966094386 KVM: selftests: Fix nested SVM tests when built with clang
3c26214f5114 smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi
951f277ddeff crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks
161b7ee0ab62 drm/msm: Fix potential NULL dereference in DPU SSPP
958d4b4dce1f x86/sev: Fix stack type check in vc_switch_off_ist()
eb82db5a1cb8 clocksource/drivers/timer-ti-dm: Select TIMER_OF
d2a0b63348ee PM: hibernate: fix sparse warnings
78a3123bafca nvme-rdma: fix error code in nvme_rdma_setup_ctrl
846394ea4227 nbd: Fix use-after-free in pid_show
3218ca577dc0 phy: micrel: ksz8041nl: do not use power down mode
6565d4b25229 net: enetc: unmap DMA in enetc_send_cmd()
f3b6b7f2124b iwlwifi: pnvm: read EFI data only if long enough
c0ee10049f0f iwlwifi: pnvm: don't kmemdup() more than we have
4925a9dc91ca iwlwifi: mvm: reset PM state on unsuccessful resume
150eeb5ecbb8 mwifiex: Send DELBA requests according to spec
b1aa768ec157 rsi: stop thread firstly in rsi_91x_init() error handling
3ccaadc5bd57 mt76: mt7915: fix muar_idx in mt7915_mcu_alloc_sta_req()
3a94ccdd929c mt76: mt7915: fix sta_rec_wtbl tag len
97d6c316e1aa mt76: connac: fix possible NULL pointer dereference in mt76_connac_get_phy_mode_v2
e1b1873523e4 mt76: mt7615: fix monitor mode tear down crash
754ce9d4062f mt76: mt7921: fix retrying release semaphore without end
5c6abb953396 mt76: mt7915: fix possible infinite loop release semaphore
3ff001be2c29 mt76: mt7615: fix hwmon temp sensor mem use-after-free
dd879ab927a3 mt76: mt7915: fix hwmon temp sensor mem use-after-free
3fe59d13aba0 mt76: mt7921: always wake device if necessary in debugfs
98967931f70f mt76: mt7921: fix kernel warning from cfg80211_calculate_bitrate
3ca3a4255e4e mt76: mt7921: fix firmware usage of RA info using legacy rates
a71eba425307 mt76: mt7921: report HE MU radiotap
f75989a2a4dd mt76: overwrite default reg_ops if necessary
1b2e3a89897f mt76: connac: fix GTK rekey offload failure on WPA mixed mode
c29855c0c1ed mt76: mt7921: fix dma hang in rmmod
d2697e6d8129 mt76: mt7915: fix bit fields for HT rate idx
b7282c7d0dc8 mt76: mt7915: fix potential overflow of eeprom page index
a95ec17c67a4 mt76: mt7921: Fix out of order process by invalid event pkt
37af03f35908 mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
02c06f2be95b mt76: mt7921: fix survey-dump reporting
d0e327a1646e mt76: fix build error implicit enumeration conversion
3a41d47d19ee mt76: connac: fix mt76_connac_gtk_rekey_tlv usage
93b3fa91782c mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal()
31a67f6c7c93 mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
b442c8a72323 mt76: mt7921: fix endianness warning in mt7921_update_txs
07b8ee848c28 mt76: mt7915: fix endianness warning in mt7915_mac_add_txs_skb
5d1a084a476c mt76: mt7921: fix endianness in mt7921_mcu_tx_done_event
07b20f34a965 drm/amdkfd: Fix an inappropriate error handling in allloc memory of gpu
2c57dbc453d3 ACPI: PM: Fix sharing of wakeup power resources
f04fab5d90fa ACPI: PM: Turn off unused wakeup power resources
bc568fe55a17 platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
77de203d9a4f block: ataflop: fix breakage introduced at blk-mq refactoring
d43d31346658 mmc: mxs-mmc: disable regulator on error and in the remove function
8901914cdbd4 media: ir_toy: assignment to be16 should be of correct type
146e4bf44d61 media: ivtv: fix build for UML
471ed2202bd3 mailbox: Remove WARN_ON for async_cb.cb in cmdq_exec_done
4437f3ead9e8 net: stream: don't purge sk_error_queue in sk_stream_kill_queues()
eed8766a9941 drm/msm: uninitialized variable in msm_gem_import()
fe7dcde39db7 drm/msm: fix potential NULL dereference in cleanup
5c13d4be499c drm/msm: potential error pointer dereference in init()
723d2914d817 drm/msm: Fix potential Oops in a6xx_gmu_rpmh_init()
bc4555ffd158 thermal/core: fix a UAF bug in __thermal_cooling_device_register()
650d1a2865e4 crypto: octeontx2 - set assoclen in aead_do_fallback()
24dfa642985f tcp: switch orphan_count to bare per-cpu counters
f270511247a5 x86: Fix get_wchan() to support the ORC unwinder
5652137ef653 net: tulip: winbond-840: fix build for UML
638d1283bbfc net: fealnx: fix build for UML
25d40b828fb8 kernel/sched: Fix sched_fork() access an invalid sched_task_group
27d16d8ec1a8 ath10k: fix max antenna gain unit
a57627b2ea67 hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff
4b898aa013d8 hwmon: Fix possible memleak in __hwmon_device_register()
b9e2477e4de4 net, neigh: Fix NTF_EXT_LEARNED in combination with NTF_USE
646dabb85ef7 memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host()
d288021988e0 memstick: avoid out-of-range warning
a5b536f042a4 mmc: sdhci-omap: Fix context restore
eab2681ca5bb mmc: sdhci-omap: Fix NULL pointer exception if regulator is not configured
e1628b6b6b7d gve: Track RX buffer allocation failures
89dda8da289e gve: Recover from queue stall due to missed IRQ
b8ba47d732d1 b43: fix a lower bounds test
7d14ae503c24 b43legacy: fix a lower bounds test
84328828d834 IMA: block writes of the security.ima xattr with unsupported algorithms
db75642768d2 hwrng: mtk - Force runtime pm ops for sleep ops
64bf6a343144 crypto: qat - disregard spurious PFVF interrupts
db60c3b02f4c crypto: qat - detect PFVF collision after ACK
693fc7e84bed crypto: ccree - avoid out-of-range warnings from clang
a0de5d1b841c media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable()
d16af0011cef media: venus: fix vpp frequency calculation for decoder
da821525882f netfilter: nft_dynset: relax superfluous check on set updates
05f2a14a2e4f rcu: Always inline rcu_dynticks_task*_{enter,exit}()
8dd1a500b7d8 EDAC/amd64: Handle three rank interleaving mode
dea84d9cfac2 x86/insn: Use get_unaligned() instead of memcpy()
4a1a695bee9e PM: EM: Fix inefficient states detection
e6335aef8b0f ath9k: Fix potential interrupt storm on queue reset
fe0c577b43e3 ath10k: Don't always treat modem stop events as crashes
ee85728ec044 media: em28xx: Don't use ops->suspend if it is NULL
2b942c364b77 cpuidle: Fix kobject memory leaks in error paths
94b691048402 drm: fb_helper: fix CONFIG_FB dependency
f28f2b20d05f crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
056e9bf9b4df kprobes: Do not use local variable when creating debugfs file
0706df90bcbf scs: Release kasan vmalloc poison in scs_free process
e3e9d565039b media: atmel: fix the ispck initialization
b3aa49fa1883 media: cx23885: Fix snd_card_free call on null card pointer
c6ac15417184 media: tm6000: Avoid card name truncation
7d87109753dd media: si470x: Avoid card name truncation
861532494e53 media: radio-wl1273: Avoid card name truncation
9e6a5f20278a media: sun6i-csi: Allow the video device to be open multiple times
80ef29aee4fe media: i2c: ths8200 needs V4L2_ASYNC
36c371057306 media: imx-jpeg: Fix the error handling path of 'mxc_jpeg_probe()'
0dd8fc82fa04 media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
e3a8abdb8f34 media: TDA1997x: handle short reads of hdmi info frame.
0d25488ab9a8 media: mtk-vcodec: venc: fix return value when start_streaming fails
a1120f37dfc4 media: v4l2-ioctl: S_CTRL output the right value
7d4317208c32 media: imx258: Fix getting clock frequency
f7baee6e0dd9 media: dvb-usb: fix ununit-value in az6027_rc_query
1505c5758932 media: ttusb-dec: avoid release of non-acquired mutex
ae0abe0db3f6 media: cxd2880-spi: Fix a null pointer dereference on error handling path
195ba4c00fd0 media: meson-ge2d: Fix rotation parameter changes detection in 'ge2d_s_ctrl()'
d3accf5edd7c media: em28xx: add missing em28xx_close_extension
051b36e399db libbpf: Fix skel_internal.h to set errno on loader retval < 0
5019c6127eb1 drm/amdgpu: fix warning for overflow check
75bf90feb4a6 arm64: mm: update max_pfn after memory hotplug
59f0c96b3f7a drm/ttm: stop calling tt_swapin in vm_access
61104f1c0083 ath10k: sdio: Add missing BH locking around napi_schdule()
bdf3ddbf83f0 ath10k: Fix missing frame timestamp for beacon/probe-resp
5e1f85a23ae0 gve: DQO: avoid unused variable warnings
b35a9d47203b ath11k: Fix memory leak in ath11k_qmi_driver_event_work
9b404c64784d ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status
afc36b6469bb ath11k: Avoid race during regd updates
aad8db659de2 ath11k: fix some sleeping in atomic bugs
24615ed29c06 net: dsa: rtl8366: Fix a bug in deleting VLANs
356b67db7834 net: dsa: rtl8366rb: Fix off-by-one bug
d759e6c0c090 cfg80211: always free wiphy specific regdomain
76ef0d62e488 fortify: Fix dropped strcpy() compile-time write overflow check
b17b52fe984d rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies()
188e62c48a53 qed: Don't ignore devlink allocation failures
b402ea43f6d1 bnxt_en: Check devlink allocation and registration status
30f53d14efb1 crypto: caam - disable pkc for non-E SoCs
d2891d4b5a2e drm/amdgpu: move amdgpu_virt_release_full_gpu to fini_early stage
9777ecdce80d Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
5c4f876eb2c6 wilc1000: fix possible memory leak in cfg_scan_result()
aa5324ab2f01 wcn36xx: Fix Antenna Diversity Switching
fa6aafb2411d cgroup: Make rebind_subsystems() disable v2 controllers all at once
9a7121cc8189 spi: Fixed division by zero warning
a69330b102ba drm: bridge: it66121: Fix return value it66121_probe
83285fa94ee4 net: phylink: don't call netif_carrier_off() with NULL netdev
246ea42a7b4e net: net_namespace: Fix undefined member in key_remove_domain()
391cdce61e3d lockdep: Let lock_is_held_type() detect recursive read as read
4adc275eba8a virtio-gpu: fix possible memory allocation failure
376bd99969e5 drm/v3d: fix wait for TMU write combiner flush
35d945ef6ac8 objtool: Handle __sanitize_cov*() tail calls
a9f61b66edc8 x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
8d5eda239810 MIPS: lantiq: dma: fix burst length for DEU
67761195ad83 rcu: Fix existing exp request check in sync_sched_exp_online_cleanup()
47a4b733e8ff libbpf: Don't crash on object files with no symbol tables
db63399389bc Bluetooth: fix init and cleanup of sco_conn.timeout_work
061fb293a9dc drm/bridge: it66121: Wait for next bridge to be probed
0bf7139300d0 drm/bridge: it66121: Initialize {device,vendor}_ids
18919d23f7aa drm/bridge: anx7625: Propagate errors from sp_tx_rst_aux()
f53dc812a258 fbdev/efifb: Release PCI device's runtime PM ref during FB destroy
f0d5bf1ecb13 selftests/bpf: Fix strobemeta selftest regression
d6a0aa933c86 netfilter: conntrack: set on IPS_ASSURED if flows enters internal stream state
68af9d200661 parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
db209b320754 parisc/unwind: fix unwinder when CONFIG_64BIT is enabled
2ce1c884ad0b erofs: don't trigger WARN() when decompression fails
a55c2f265b80 task_stack: Fix end_of_stack() for architectures with upwards-growing stack
3129c659e256 parisc: fix warning in flush_tlb_all
65fadad6022d perf/x86/intel: Fix ICL/SPR INST_RETIRED.PREC_DIST encodings
f206bd751daa selftests/core: fix conflicting types compile error for close_range()
9be249debf4d drm/amd/display: dcn20_resource_construct reduce scope of FPU enabled
2acb2cdcfc83 x86/hyperv: Protect set_hv_tscchange_cb() against getting preempted
19f1aba96f85 ftrace: do CPU checking after preemption disabled
a48bd49ee871 Revert "wcn36xx: Enable firmware link monitoring"
944285a03956 wcn36xx: Fix packet drop on resume
478d239fea12 wcn36xx: Correct band/freq reporting on RX
3874ef316cfe spi: bcm-qspi: Fix missing clk_disable_unprepare() on error in bcm_qspi_probe()
9124f94eeeb1 btrfs: do not take the uuid_mutex in btrfs_rm_device
55c9fca5f56d btrfs: reflink: initialize return value to 0 in btrfs_extent_same()
e9941a010249 ACPI: resources: Add one more Medion model in IRQ override quirk
efa7308f7821 ACPI: AC: Quirk GK45 to skip reading _PSR
6cbda510dc1b net: annotate data-race in neigh_output()
5b37f3fa42b4 vrf: run conntrack only in context of lower/physdev for locally generated packets
e43cb595915c tools/latency-collector: Use correct size when writing queue_full_warning
56d7461776e0 ARM: 9136/1: ARMv7-M uses BE-8, not BE-32
7da4447dbbec gfs2: Fix glock_hash_walk bugs
9b6a3985dc13 gfs2: Cancel remote delete work asynchronously
b108a79345c3 can: bittiming: can_fixup_bittiming(): change type of tseg1 and alltseg to unsigned int
3d9d9a77cdbe gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
69bfb5d7122e ARM: clang: Do not rely on lr register for stacktrace
002f1d6c7758 smackfs: use __GFP_NOFAIL for smk_cipso_doi()
6dbc76b0a53d iwlwifi: mvm: disable RX-diversity in powersave
6cf3abbda574 selftests/bpf: Fix perf_buffer test on system with offline cpus
65b5763eef82 selftests: kvm: fix mismatched fclose() after popen()
2093b1cdbdbf PM: hibernate: Get block device exclusively in swsusp_check()
cff152d77d9b arm64: vdso32: suppress error message for 'make mrproper'
c6065239b7cb nvme: drop scan_lock and always kick requeue list when removing namespaces
1e757b23aabe nvmet-tcp: fix use-after-free when a port is removed
844bbc958d8e nvmet-rdma: fix use-after-free when a port is removed
f252a62a2507 nvmet: fix use-after-free when a port is removed
9adc2bcdc812 drm/amdgpu/pm: properly handle sclk for profiling modes on vangogh
163ecd64c816 media: allegro: ignore interrupt if mailbox is not initialized
f63b9287375c block: remove inaccurate requeue check
bd45e6f3c0e9 iwlwifi: change all JnP to NO-160 configuration
8393c0806cc4 mwl8k: Fix use-after-free in mwl8k_fw_state_machine()
0ca511d52a28 mt76: mt7915: fix an off-by-one bound check
91dc3f6ea7c8 tracing/cfi: Fix cmp_entries_* functions signature mismatch
ab816ffa09d5 workqueue: make sysfs of unbound kworker cpumask more clever
75bbf9642bd1 lib/xz: Validate the value before assigning it to an enum variable
93cc20fa51e8 lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression
419ebe663671 locking/rwsem: Disable preemption for spinning region
38d7055de41a memstick: r592: Fix a UAF bug when removing the driver
ac14b0b119a4 md: update superblock after changing rdev flags in state_store
ca9ae3fb3315 floppy: fix calling platform_device_unregister() on invalid drives
8a6e8aa37207 block: bump max plugged deferred size from 16 to 32
f5ec8022cf54 thermal/drivers/tsens: Add timeout to get_temp_tsens_valid
cdcfcd25f40b drm/msm: prevent NULL dereference in msm_gpu_crashstate_capture()
6154aa2ab2e0 thermal/core: Fix null pointer dereference in thermal_release()
2fba88c1705d leaking_addresses: Always print a trailing newline
57cdc39776d3 net: phy: micrel: make *-skew-ps check more lenient
7e4804d1aa82 drm/amdkfd: fix resume error when iommu disabled in Picasso
082ed61dabbc drm/amd/display: fix null pointer deref when plugging in display
c40061dab6b1 ACPI: scan: Release PM resources blocked by unused objects
afdc107129b5 ACPI: battery: Accept charges over the design capacity as full
8fa361b1b3e3 iov_iter: Fix iov_iter_get_pages{,_alloc} page fault return value
af2af71fd12b mmc: moxart: Fix reference count leaks in moxart_probe
07a47bb0fba3 ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create()
b40f43fcd011 tracing: Disable "other" permission bits in the tracefs files
3d2f0cd9dcb9 tracefs: Have tracefs directories not set OTH permission bits by default
2a3c1044fc0d drm/amdkfd: rm BO resv on validation to avoid deadlock
84aa6d0e0767 net-sysfs: try not to restart the syscall if it will fail eventually
8e538cacf9be media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()
35f16d8e6153 media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info
d43da0118953 media: ipu3-imgu: imgu_fmt: Handle properly try
986b39450c48 media: imx-jpeg: Fix possible null pointer dereference
86d9d52d6856 ice: Move devlink port to PF/VF struct
f6afa36d653f cpufreq: Make policy min/max hard requirements
86a6e4f9815a ACPICA: Avoid evaluating methods too early during system resume
72742ae5e049 kselftests/sched: cleanup the child processes
aa171d3e8556 fs/proc/uptime.c: Fix idle time reporting in /proc/uptime
09bdbbc622e3 ipmi: Disable some operations during a panic
d051a3867bea media: rcar-csi2: Add checking to rcsi2_start_receiver()
f31b7caedd50 brcmfmac: Add DMI nvram filename quirk for Cyberbook T116 tablet
39e14b269e27 rtw88: fix RX clock gate setting while fifo dump
f431d9923a69 ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK
1f7d5294d2a7 media: mceusb: return without resubmitting URB in case of -EPROTO error.
6e0202ddccfb media: rcar-vin: Use user provided buffers when starting
352c818df095 media: imx: set a media_device bus_info string
8636c37018c3 media: videobuf2: rework vb2_mem_ops API
ee347b739d51 media: s5p-mfc: Add checking to s5p_mfc_probe().
6980d237fd4c media: s5p-mfc: fix possible null-pointer dereference in s5p_mfc_probe()
eb7da28fd166 media: vidtv: Fix memory leak in remove
2529c6a15579 media: uvcvideo: Set unique vdev name based in type
c115bfec8193 media: uvcvideo: Return -EIO for control errors
c0890fb5f421 media: uvcvideo: Set capability in s_param
7426dad05aaa media: stm32: Potential NULL pointer dereference in dcmi_irq_thread()
8277ec5aa8c5 media: atomisp: Fix error handling in probe
2ba21729c208 media: netup_unidvb: handle interrupt properly according to the firmware
2a1061af333e media: mt9p031: Fix corrupted frame after restarting stream
d808c6ee0c60 octeontx2-pf: Enable promisc/allmulti match MCAM entries.
2a27405cfaa5 ath10k: high latency fixes for beacon buffer
fb34da024434 ath11k: Change DMA_FROM_DEVICE to DMA_TO_DEVICE when map reinjected packets
d08b51d94747 ath11k: add handler for scan event WMI_SCAN_EVENT_DEQUEUED
08de8bf704a5 ath11k: Avoid reg rules update during firmware recovery
b584bd228614 selftests: net: fib_nexthops: Wait before checking reported idle time
9ea7c08eb634 drm/amd/display: Fix null pointer dereference for encoders
adb3b9b2a550 drm/amdgpu: Fix MMIO access page fault
40cfb8e68aa0 fscrypt: allow 256-bit master keys with AES-256-XTS
53283ee464c3 spi: Check we have a spi_device_id for each DT compatible
6cd93f39dd2b mwifiex: Properly initialize private structure on interface type changes
7871a1156efd mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
41592079230a x86: Increase exception stack sizes
bb3cc292e1a2 x86/mm/64: Improve stack overflow warnings
35512e506690 crypto: aesni - check walk.nbytes instead of err
b1b32bcc221a ath11k: Align bss_chan_info structure with firmware
8ed576395f6a smackfs: Fix use-after-free in netlbl_catmap_walk()
3f55b610b488 rcu-tasks: Move RTGS_WAIT_CBS to beginning of rcu_tasks_kthread() loop
0fcd85c7f3a1 ACPI: resources: Add DMI-based legacy IRQ override quirk
8a6214e36ff2 net: sched: update default qdisc visibility after Tx queue cnt changes
4f0ca9344d9e locking/lockdep: Avoid RCU-induced noinstr fail
134cef7b6974 MIPS: lantiq: dma: reset correct number of channel
1415242fd96b MIPS: lantiq: dma: add small delay after reset
f3b5ecab2735 platform/x86: wmi: do not fail if disabling fails
d50100c17038 rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
5aad1e68ff1e drm/panel-orientation-quirks: add Valve Steam Deck
b87da982da1b Bluetooth: fix use-after-free error in lock_sock_nested()
2c2b295af72e Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()
9314415aaed7 drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6
491defc1c9d6 drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1
b7a63c785ae6 drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)
e158f9b7feea dma-buf: WARN on dmabuf release with pending attachments
5493d7e67ec7 component: do not leave master devres group open after bind
10f54634341d power: supply: max17042_battery: Clear status bits in interrupt handler
ad80b75ab97f USB: chipidea: fix interrupt deadlock
b4b4c4b1499f USB: iowarrior: fix control-message timeouts
c852092e5692 most: fix control-message timeouts
2685d8b506da serial: 8250: fix racy uartclk update
bd7ac40cbfe8 USB: serial: keyspan: fix memleak on probe errors
93198e6da9eb Documentation:devicetree:bindings:iio:dac: Fix val
8bc3eac174aa iio: ad5770r: make devicetree property reading consistent
a664d4a75c07 iio: dac: ad5446: Fix ad5622_write() return value
e99fa2a9f9d7 drivers: iio: dac: ad5766: Fix dt property name
a9501b2bfc91 iio: buffer: Fix memory leak in iio_buffer_register_legacy_sysfs_groups()
46bb49301f46 iio: buffer: Fix memory leak in __iio_buffer_alloc_sysfs_and_mask()
3827d12e1a80 iio: buffer: Fix memory leak in iio_buffers_alloc_sysfs_and_mask()
364ee3057abd iio: buffer: check return value of kstrdup_const()
fdd9d3e268cf coresight: trbe: Defer the probe on offline CPUs
ddffd384d44c coresight: trbe: Fix incorrect access of the sink specific data
13de015c782d coresight: cti: Correct the parameter for pm_runtime_put
7a0a1d45b318 pinctrl: core: fix possible memory leak in pinctrl_enable()
217ece6c45a8 cifs: set a minimum of 120s for next dns resolution
49f933bb3016 cifs: To match file servers, make sure the server hostname matches
5d0714e7d979 quota: correct error number in free_dqentry()
b2d7d1845799 quota: check block number when reading the block in quota file
2830878daf16 PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge
a298da0df043 PCI: aardvark: Set PCI Bridge Class Code to PCI Bridge
17099eb5978b PCI: aardvark: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
137f450a17a0 PCI: aardvark: Fix support for bus mastering and PCI_COMMAND on emulated bridge
dba8de2c8771 PCI: aardvark: Read all 16-bits from PCIE_MSI_PAYLOAD_REG
937f91f8f621 PCI: aardvark: Fix return value of MSI domain .alloc() method
b775cd868cf3 PCI: aardvark: Fix configuring Reference clock
7083088eb99f PCI: aardvark: Fix reporting Data Link Layer Link Active
8b74250f05fb PCI: aardvark: Do not unmask unused interrupts
ca41077ee082 PCI: aardvark: Fix checking for link up via LTSSM state
b05c2e6638df PCI: aardvark: Do not clear status bits of masked interrupts
1110d1921cd3 cxl/pci: Fix NULL vs ERR_PTR confusion
f6c83346fbe5 PCI: cadence: Add cdns_plat_pcie_probe() missing return
a4935eef58d2 PCI: pci-bridge-emul: Fix emulation of W1C bits
500a1bac743c ovl: fix use after free in struct ovl_aio_req
88e9929b632e xen/balloon: add late_initcall_sync() for initial ballooning done
7373f03ae79c ifb: fix building without CONFIG_NET_CLS_ACT
0d546e9fc83b serial: core: Fix initializing and restoring termios speed
2348cadfddfd ring-buffer: Protect ring_buffer_reset() from reentrancy
6f67cf08fef0 powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found
9028e051345b iio: adc: tsc2046: fix scan interval warning
299623b1b088 can: j1939: j1939_can_recv(): ignore messages with invalid source address
a6591eb3c58b can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport
22237bb988c1 KVM: nVMX: Handle dynamic MSR intercept toggling
8a5180ecdcb6 KVM: nVMX: Query current VMCS when determining if MSR bitmaps are in use
ab71116b1f07 KVM: x86: Add helper to consolidate core logic of SET_CPUID{2} flows
da10e2d30634 KVM: x86: Fix recording of guest steal time / preempted status
b83f9cdc8066 KVM: arm64: Extract ESR_ELx.EC only
b594bf02dc6f iio: core: check return value when calling dev_set_name()
76289ff637ec iio: core: fix double free in iio_device_unregister_sysfs()
7c0f37ace715 power: supply: max17042_battery: use VFSOC for capacity when no rsns
6edf86431107 power: supply: max17042_battery: Prevent int underflow in set_soc_threshold
cb178acf8764 mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines
3c6ffb9bb1ea soc: fsl: dpio: use the combined functions to protect critical zone
54be06958eb4 soc: fsl: dpio: replace smp_processor_id with raw_smp_processor_id
38ae173cb7cf soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE
d3586ddc9889 signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT
9f3e024e6483 memory: renesas-rpc-if: Correct QSPI data transfer in Manual mode
b70a29116278 signal: Remove the bogus sigkill_pending in ptrace_stop
0509d911b94e ASoC: tegra: Restore AC97 support
64c65655758b ASoC: tegra: Set default card name for Trimslice
0aef11438832 RDMA/qedr: Fix NULL deref for query_qp on the GSI QP
7ed060a0ea38 perf/x86/intel/uncore: Fix Intel ICX IIO event constraints
2e11d51006ac perf/x86/intel/uncore: Fix invalid unit check
425e486c72d6 perf/x86/intel/uncore: Support extra IMC channel on Ice Lake server
a3d5adaee5ac rsi: Fix module dev_oper_mode parameter description
c76421bd155f rsi: fix rate mask set leading to P2P failure
437ce21d2076 rsi: fix key enabled check causing unwanted encryption for vap_id > 0
3945a7308f0d rsi: fix occasional initialisation failure with BT coex
471e28ecee8c wcn36xx: handle connection loss indication
4c13483e1fa4 libata: fix checking of DMA state
1a0963d1d448 mwifiex: Try waking the firmware until we get an interrupt
e5fbcd97b4be mwifiex: Read a PCI register after writing the TX ring write pointer
ad34c5f90c2c PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions
0f2d037e8ae9 wcn36xx: Fix (QoS) null data frame bitrate/modulation
ec82bede563b wcn36xx: Fix tx_status mechanism
52da1f9c5e9c wcn36xx: Fix HT40 capability for 2Ghz band
91fa7ec38256 HID: surface-hid: Allow driver matching for target ID 1 devices
4d55b85a1598 HID: surface-hid: Use correct event registry for managing HID events
6979b6f294c0 mt76: mt7615: fix skb use-after-free on mac reset
7761ffec11da platform/surface: aggregator_registry: Add support for Surface Laptop Studio
dd6c06c4538c ifb: Depend on netfilter alternatively to tc
2cd65a22a478 evm: mark evm_fixmode as __ro_after_init
e426e7842ee3 rtl8187: fix control-message timeouts
bab67ca269f9 PCI: Mark Atheros QCA6174 to avoid bus reset
0d74280d5dd9 ath10k: fix division by zero in send path
b5b911da1b16 ath10k: fix control-message timeout
abd6b17ca36f ath6kl: fix control-message timeout
dbe62858b49f ath6kl: fix division by zero in send path
96d108642240 mwifiex: fix division by zero in fw download path
2bbb56b7c305 EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
8f3420977c98 regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property
79814094ec44 regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled
5f31bc9bc695 hwmon: (pmbus/lm25066) Add offset coefficients
b3ebc3edaf92 md/raid1: only allocate write behind bio for WriteMostly device
dde0b4bd579f ipmi:watchdog: Set panic count to proper value on a panic
035d39cd5d36 selinux: fix race condition when computing ocontext SIDs
a2973f00755f ia64: kprobes: Fix to pass correct trampoline address to the handler
9a32b765fba3 KVM: PPC: Tick accounting should defer vtime accounting 'til after IRQ handling
fe2a3d975e27 KVM: VMX: Unregister posted interrupt wakeup handler on hardware unsetup
fe5827e78a1f btrfs: call btrfs_check_rw_degradable only if there is a missing device
12707e6406b5 btrfs: fix lost error handling when replaying directory deletes
a32bd15ddf38 btrfs: clear MISSING device status bit in btrfs_close_one_device
f73ba2e80142 tools/testing/selftests/vm/split_huge_page_test.c: fix application of sizeof to pointer
4bc152c6cd23 net/smc: Correct spelling mistake to TCPF_SYN_RECV
c5f3e2b44a3a net/smc: Fix smc_link->llc_testlink_time overflow
0019c6dc00d1 nfp: bpf: relax prog rejection for mtu check through max_pkt_offset
f108635d6d2f vmxnet3: do not stop tx queues after netif_device_detach()
2c8c7971019e r8169: Add device 10ec:8162 to driver r8169
0fb585017f75 net: hns3: ignore reset event before initialization process is done
4294c96432c3 net: hns3: change hclge/hclgevf workqueue to WQ_UNBOUND mode
a61294791f26 nvmet-tcp: fix header digest verification
a09a649a7677 block: schedule queue restart after BLK_STS_ZONE_RESOURCE
36d8544a8824 drm: panel-orientation-quirks: Add quirk for GPD Win3
c0c99f6c2c2d watchdog: Fix OMAP watchdog early handling
9498f85e5cac net: multicast: calculate csum of looped-back and forwarded packets
492ee5c41ad0 spi: spl022: fix Microwire full duplex mode
4b133d1b1f48 nvmet-tcp: fix a memory leak when releasing a queue
c1a4e29fbd7a xen/netfront: stop tx queues during live migration
7b0e2228b45b gpio: mlxbf2.c: Add check for bgpio_init failure
045e201e846d bpf: Prevent increasing bpf_jit_limit above max
1f889b6bb36d bpf: Define bpf_jit_alloc_exec_limit for arm64 JIT
589d0c47b3b6 bpf: Define bpf_jit_alloc_exec_limit for riscv JIT
24864d828c73 fcnal-test: kill hanging ping/nettest binaries on cleanup
a4754c6f2c02 drm: panel-orientation-quirks: Add quirk for Aya Neo 2021
dc93fe4bcffb spi: altera: Change to dynamic allocation of spi id
4916836b835e mmc: winbond: don't build on M68K
315f06005ed7 reset: socfpga: add empty driver allowing consumers to probe
6010e9d34c89 ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode
9068b17616de hyperv/vmbus: include linux/bitops.h
b84379371620 sfc: Don't use netif_info before net_device setup
7c25ad465426 sfc: Export fibre-specific supported link modes
83cc3d21cbcd cavium: Fix return values of the probe function
ee25673d8fae mISDN: Fix return values of the probe function
77fe2d67962b scsi: qla2xxx: Fix unmap of already freed sgl
54aaf0fddfcd scsi: qla2xxx: Return -ENOMEM if kzalloc() fails
7cc5b87e86a1 cavium: Return negative value when pci_alloc_irq_vectors() fails
7958b5d479b0 net: mscc: ocelot: Add of_node_put() before goto
3f7c0466d4dc net: sparx5: Add of_node_put() before goto
5586508b6c21 ptp: fix error print of ptp_kvm on X86_64 platform
b1d565357899 ALSA: hda/realtek: Fixes HP Spectre x360 15-eb1xxx speakers
0529cf90b489 ASoC: cs42l42: Ensure 0dB full scale volume is used for headsets
a1cd1d08acb4 ASoC: soc-core: fix null-ptr-deref in snd_soc_del_component_unlocked()
093801ba8fe6 KVM: arm64: Report corrupted refcount at EL2
b466d8ef1233 x86/iopl: Fake iopl(3) CLI/STI usage
bfa448e241cd x86/irq: Ensure PI wakeup handler is unregistered before module unload
38ce12ffb27f x86/cpu: Fix migration safety with X86_BUG_NULL_SEL
d61cc6067d08 x86/sme: Use #define USE_EARLY_PGTABLE_L5 in mem_encrypt_identity.c
78f5cc4a3261 fuse: fix page stealing
521423148dfe ext4: refresh the ext4_ext_path struct after dropping i_data_sem.
54939d4ce87c ext4: ensure enough credits in ext4_ext_shift_path_extents
11768f7391ba ext4: fix lazy initialization next schedule time computation in more granular unit
3d96ccb1ef2a ALSA: timer: Unconditionally unlink slave instances, too
147405da05f5 ALSA: timer: Fix use-after-free problem
a493519fd98d ALSA: PCM: Fix NULL dereference at mmap checks
975cc9314162 ALSA: synth: missing check for possible NULL after the call to kstrdup
b6cb248aaa9a ALSA: hda: Free card instance properly at probe errors
e266789d8122 ALSA: usb-audio: Add registration quirk for JBL Quantum 400
3c71ff248ac6 ALSA: usb-audio: Line6 HX-Stomp XL USB_ID for 48k-fixed quirk
4b2f167789cd ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume
0b879c816c0d ALSA: mixer: oss: Fix racy access to slots
3ab56cd15d22 ALSA: line6: fix control and interrupt message timeouts
c725f34ab982 ALSA: 6fire: fix control and bulk message timeouts
9bdf3120931f ALSA: ua101: fix division by zero at probe
733de916ec6b ALSA: hda/realtek: Add quirk for HP EliteBook 840 G7 mute LED
0a6fef615cd9 ALSA: hda/realtek: Add quirk for ASUS UX550VE
139ea889a60c ALSA: hda/realtek: Add a quirk for Acer Spin SP513-54N
1b0ca1a942a7 ALSA: hda/realtek: Headset fixup for Clevo NH77HJQ
09a84058016c ALSA: hda/realtek: Add quirk for Clevo PC70HS
d7d34eed508b ALSA: hda/realtek: Add a quirk for HP OMEN 15 mute LED
f35d48489cb7 ALSA: hda/realtek: Fix mic mute LED for the HP Spectre x360 14
47331981d71d media: v4l2-ioctl: Fix check_ext_ctrls
9d496fff4dfc media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
7577c6c1321a media: rkvdec: Support dynamic resolution changes
1c83764a8385 media: ite-cir: IR receiver stop working after receive overflow
ac698bd66a5c media: rkvdec: Do not override sizeimage for output format
cfb1311f92e1 crypto: s5p-sss - Add error handling in s5p_aes_probe()
ea5654a13b2e firmware/psci: fix application of sizeof to pointer
e06c0c6b038b tpm: Check for integer overflow in tpm2_map_response_body()
d0775031766f parisc: Fix ptrace check on syscall return
1af62b51aa5e parisc: Fix set_fixmap() on PA1.x CPUs
d4c5e024d73f exfat: fix incorrect loading of i_blocks for large files
de6acc5e6a95 mmc: dw_mmc: Dont wait for DRTO on Write RSP error
088a27043b2b mmc: mtk-sd: Add wait dma stop done flow
7038cb714d12 char: xillybus: fix msg_ep UAF in xillyusb_probe()
e1d2af3c9164 ce/gf100: fix incorrect CE0 address calculation on some GPUs
69e269a766b4 scsi: qla2xxx: Fix use after free in eh_abort path
5282d10eeaf0 scsi: qla2xxx: Fix kernel crash when accessing port_speed sysfs file
5fc7e0e194ff scsi: lpfc: Fix FCP I/O flush functionality for TMF routines
2080931c7849 scsi: lpfc: Don't release final kref on Fport node while ABTS outstanding
9bfe4b77333d scsi: core: Remove command size deduction from scsi_setup_scsi_cmnd()
0806efcadf8e scsi: core: Avoid leaving shost->last_reset with stale value if EH does not run
9020b4adf3a6 ocfs2: fix data corruption on truncate
762722cfd0a0 libata: fix read log timeout value
7f94e05338f5 Input: i8042 - Add quirk for Fujitsu Lifebook T725
94e0a6bc4130 Input: elantench - fix misreporting trackpoint coordinates
f9ccab9a050d Input: iforce - fix control-message timeout
d725957f4630 usb: xhci: Enable runtime-pm by default on AMD Yellow Carp platform
8eb1d2c82122 xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay

(From OE-Core rev: 0f135ce07863873b47a0284547e7cb5a0967c5ad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
796ca60fa9 selftest/recipetool: Add tests for branch parameter and srcbranch option
The recipetool support two ways to pass a branch and fallback to master
if no branch is defined. Add tests for default branch, branch parameter
and srcbranch option.

(From OE-Core rev: f232cffc09e917458d6e850b4aca4f87b53b43e4)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
5b54a2602d selftest: devtool: Separate common functions and devtool sstate setup into two classes
The selftest recipetool base class reuse the selftest devtool base
class. Thereby the selftest devtool base class setup its own devtool
sstate and the selftest recipetool classes trigger the build of recipes.
This leads to the problem that the build artifacts doesn't reach the
persistent sstate cache and rebuild on every selftest run.

Move the common selftest devtool functions into its own class and use
the sstate cache in the recipetool tests.

(From OE-Core rev: c0bd0686092181b6a5316c373b5b125d78a24e9f)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
d5a8ab8b56 selftest/recipetool: Split tests into separate test classes
Split tests into separate test classes to speed up individual test runs
by reducing the test setup to a minimum.

The pkgdata generation is only needed for the append tests and slow down
the other tests.

(From OE-Core rev: 2aef869bcca3e0de4afb9ef00492de3ee72b035c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
db210eef9a selftest/devtool: Check branch in git fetch
The commit 'meta/scripts: Manual git url branch additions (dc53fe75cc)'
forget the url branch= parameter in the devtool git fetch test.

(From OE-Core rev: 1419168a58a5caf99e24ada08c9ab639344a78b4)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
392f2933b6 recipetool: Set master branch only as fallback
The commit 'meta/scripts: Manual git url branch additions (dc53fe75cc)'
sets the branch= parameter too early to master and thereby breaks the
-B/--srcbranch option.

ERROR: branch= parameter and -B/--srcbranch option cannot both be specified - use one or the other

(From OE-Core rev: 34ece8030e7a6a100b5e3e7b94e6c786c0e199a6)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Ross Burton
7d2239d638 gstreamer1.0-plugins-bad: clean up X11 dependencies
libxcb and xkbcommon are only needed in builds with X11 enabled, so add
a PACKAGECONFIG and respect the x11 DISTRO_FEATURE.

Strictly speaking these are only required if Vulkan and X11 are enabled,
but it's possible that more plugins will respect the flag.

(From OE-Core rev: 5d88ce8f25f7c8d226e26f4ebbb652625ef02d9f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Ross Burton
67700e174d runqemu: check the qemu PID has been set before kill()ing it
If runqemu is killed, check that we have a valid PID for the qemu before
sending a kill() to it.

[ YOCTO #14651 ]

(From OE-Core rev: 0f3afbd3a6a6bef668612f818517df7543c0a683)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
8e8a7add6c ruby: update 3.0.2 -> 3.0.3
Do not tweak a file that is no longer installed.

(From OE-Core rev: 1af0c4ef56d1892f284b6787ccc5a925d023e178)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
9bf81a3d09 bitbake: fetch2/wget: do not hardcode tarball compressors in version check
(Bitbake rev: ba3aa8591327d43935f000c6884637997438ecb2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:53 +00:00
Justin Bronder
acd77c3ac9 bitbake: fetch2/wget: add redirectauth parameter
Add a parameter that limits sending Basic authentication in the
Authorization header to only the first host and not any that we're
redirected to.  Ignoring potential security concerns, temporary AWS URLs
will reject any request that includes authentication details in both the
query parameters (from the redirect) and in the Authorization header.

Temporary AWS URLs are now being used for release assets from private
Github repositories.  According to the previous discussion linked below,
they're also in use by bitbucket.

See also:
https://lore.kernel.org/bitbake-devel/CAC9ffDEuZL-k8199bUyN+8frjw6bg-g=vrumxxtvt+RVParQ8Q@mail.gmail.com/

(Bitbake rev: a6ab32013a4381a1b694ed46caf2c9da932644d0)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:53 +00:00
Richard Purdie
35f1345290 gst-plugins-bad: Bump cache versions to avoid libxkbcommon sstate issues
(From OE-Core rev: 9a60abe9149d9903e83ab4e59b2e2ffd36b74aa6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexey Brodkin
22eb7f218d openssl: Use linux-latomic target for ARC
Some atomic ops for 32-bit ARC processors are implemented in GCC's libatomic.
For example those dealing with 64-bit data (e.g. __atomic_load_8()) as well as
some others. That said it's required to add "-latomic" for successful linkage.

Otherwise error messages like this happen on OpenSSL building for ARC:
------------------------------->8------------------------------
| ...ld: libcrypto.a(libcrypto-lib-threads_pthread.o): in function `CRYPTO_atomic_or':
| .../openssl-3.0.0/crypto/threads_pthread.c:219: undefined reference to `__atomic_is_lock_free'
| ...ld: .../openssl-3.0.0/crypto/threads_pthread.c:219: undefined reference to `__atomic_is_lock_free'
| ...ld: .../openssl-3.0.0/crypto/threads_pthread.c:220: undefined reference to `__atomic_fetch_or_8'
------------------------------->8------------------------------

Fix that by using a special target, which does exactly what's needed.
See [1] and [2] for more details on the matter.

[1] cdf2986a70
[2] https://github.com/openssl/openssl/pull/15640

(From OE-Core rev: f48227a192022c604f8c2ea4fe973c6664861101)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
40660f4094 mesa: Define broadcom packageconfig knob
Fixes
ERROR: mesa-2_21.3.0-r0 do_configure: QA Issue: mesa: invalid PACKAGECONFIG: broadcom [invalid-packageconfig]

(From OE-Core rev: 6add96e4af46eaabb6c70e3ce3a27a4b198d7cb6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
921ef29760 mesa: Fix broadcom vulkan driver build on 32bit arches with 64bit time_t
(From OE-Core rev: 42067ccbf465197ab8d5d6be6d15b71a526decf8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
6fdfe7bc33 binutils: Drop patch to wider sh regexp
This was needed during uclibc days and remnants have lingered on.
Remove this patch

(From OE-Core rev: ffbde7ed072baf47ddfe89dd9f7630f67a7a8be3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
14322fdeae gdb: Drop sh4 support patch
This patch needs to be upstreamed, its not clear if it still works.

(From OE-Core rev: 5a009e67a9e6549bab495363cc7434384a4c94c4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Jagadeesh Krishnanjanappa
4e26e51a3d tune-cortexa72: remove crypto for the default cortex-a72
The cryptographic unit is optional for the Cortex-A72, but it was
included by default previously.  This breaks building systems that
lack this functionality when using tune-cortexa72.inc.

To correct this, add a crypto entry in the tune file.  Since CRC is
optional for ARMv8.0, do the same thing while we're at it.

For platforms that had been happily using tune-cortexa72.inc, a slight
degradation of performance will occur using the default.  To correct
this, simply add:
DEFAULTTUNE = "cortexa72-crc-crypto"

(From OE-Core rev: 2568d537087adb0b592aa250bf628a7b48c3a9d3)

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us> (rewording commit message)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
2ce06739ed libseccomp: update 2.5.2 -> 2.5.3
Drop all patches from MR https://github.com/seccomp/libseccomp/pull/327
as it has stalled, and rebasing them is non-trivial. Please land the
changes upstream first.

Drop 0001-configure.ac-Bump-version-to-2.5.99.patch as upstream
has addressed the issue.

(From OE-Core rev: 0374850b8abeecd3721215713481d9a802a19f46)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
5d73db9e49 libunwind: update 1.6.0 -> 1.6.2
(From OE-Core rev: ad0ec1ccd87e51e5f4f7ab9bb821a486ef5c2374)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
2084610215 go: update 1.17.3 -> 1.17.4
(From OE-Core rev: aa1dd053503f464dcc920e064a6d8ead6772cab2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
4ca1132b28 git: upgrade 2.34.0 -> 2.34.1
The issue with COMPUTE_HEADER_DEPENDENCIES
has been reported upstream, as it causes build races:
https://lore.kernel.org/git/20211207113101.69686-1-alex.kanavin@gmail.com/T/#u

(From OE-Core rev: 83635a1925e2d69344ea3f7b66f6b735b48f9eb7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
d1f27ddebb rust: update 1.56.1 -> 1.57.0
(From OE-Core rev: 295b9d51bad0b0da3ba9acec875972bf5e5ca4d7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
a8fe63942b erofs-utils: update 1.3 -> 1.4
(From OE-Core rev: 9e0a3f641081b3a3eecd9877c460d7cb68717bf6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
c8f8d1bbb8 cups: update 2.3.3op2 -> 2.4.0
Mark no-hardcode-lib patch as upstreamable.

(From OE-Core rev: 2d0475f9575a6679b4a9d5400220584597b84887)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
c1c93b4ea4 strace: update 5.14 -> 5.15
(From OE-Core rev: 5882ea00a3c9cf0b15958ea3677231a2a31d9a68)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
d14eb9aadb python3-pycryptodome: update to 3.12.0
License-Update: dropped a patents clarification
(From OE-Core rev: 790bedf9c99a581583fbe7e0b20d817562fc8c7b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
ddf2ade498 rustfmt: remove the recipe
There has been a discussion on the merits of keeping rustfmt in core,
and especially this message made me resubmit its removal:

https://lists.openembedded.org/g/openembedded-core/message/157471

(From OE-Core rev: 1e0eb06052942d88f135c5439f91ccad5c9ea0ab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
wangmy
415697fa90 xauth: upgrade 1.1 -> 1.1.1
(From OE-Core rev: 461a3cf91f72ecf36a264bf13b5f82adc5aecee2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
b86ab6c03d mesa: Fix build on ARM systems without Neon
See [1]

[1] https://github.com/YoeDistro/yoe-distro/issues/626

(From OE-Core rev: 48c898ae4e885d9f3af894d77946e5eb3a498112)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Ross Burton
5cfc6ef28d vim: upgrade to 8.2 patch 3752
There's a fairly constant flow of CVEs being fixed in Vim, which are
getting increasing non-trivial to backport.

Instead of trying to backport (and potentially introduce more bugs), or
just ignoring them entirely, upgrade vim to the latest patch in the hope
that vim 8.3 will be released before we release Kirkstone.

(From OE-Core rev: 78a4796de27d710f97c336d288d797557a58694e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
wangmy
5c073c52ed vala: upgrade 0.54.3 -> 0.54.4
Changelog:
===========
 * Various improvements and bug fixes:
  - codegen:
    + Use CCodeConstant for member access of constant symbol
    + Emit constants without initializer list in defines section [#440]
    + Add and use CCodeConstantIdentifier for accessing constants
    + Check required length of enum type name for GType support
    + Add missing check while overriding virtual async interface methods [#852]
    + Drop inconsistent space for ObjectType parameters
    + Accept CCode.type attribute on parameters [#876]
    + Fix CCodeUnaryExpression.write() for PREFIX_INCREMENT/PREFIX_DECREMENT
  - vala:
    + Improve error message for invalid handler of dynamic signal
    + Using SignalHandler.disconnect() is required for dynamic signals
    + Check for unavailable value-type of variable initializer [#1253]
    + Add [Profile] as known attribute for methods
    + Report error on missing gio-2.0 package for async constructors
    + Fix signals with generic return
    + parser: Split out Parser.parse_switch_section_statement()
    + parser: Better handling of misplaced switch sections [#1246]
  - genie:
    + Amend text of indent and dedent for error messages [#497]
    + Accept INTERR token before type arguments when parsing type [#1245]
    + Properly handle plain "get" or "set" property accessors [#1248]
    + "exception" is the expected string for TokenType.ERRORDOMAIN
    + Accept accessibility/async modifiers on "construct" creation methods [#1235]
  - girparser: Accept "sealed" for transformed records and compact classes
  - gtkmodule: Improve error message for invalid signal element in ui-file
  - build: Add "test-update" which passed UPDATE_EXPECTED=1 to refresh c-expected
  - tests: Rename colliding test cases to avoid conflicts

 * Bindings:
  - alsa: Add more API and fix a few things
  - gnome-desktop-3.0: Some parameter fixes
  - gstreamer: Cherry-pick bindings fixes from 0.56
  - gstreamer-base-1.0: Some parameter fixes [#1255]
  - gtk4: Update to 4.5.0~cd9b7307
  - pango: Cherry-pick bindings fixes from 0.56

(From OE-Core rev: 7cbea16bfa03b46b79954e5b31d8d495591fa62a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
wangmy
fde0d83de0 sysstat: upgrade 12.4.3 -> 12.4.4
Changelog:
=======================
* iostat: Always display persistent names with option -j.
* iostat: Fix how device mapper names are taken into account when
  entered on the command line.
* mpstat: Don't display offline CPU.
* mpstat: Fix values displayed when an offline CPU goes back online.
* mpstat: Fix untrusted loop bound.
* mpstat: Update non regression tests.
* Use 'grep -E' instead of deprecated 'egrep'.
* Spelling and grammar fixes.
* Update man pages with correct spelling of "JavaScript".

(From OE-Core rev: 7f0c802333e4154f10aef6a78c936677e62614bd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Steve Sakoman
26c83bbcc6 cve-extra-exclusions: add db CVEs to exclusion list
Since Oracle relicensed bdb, the open source community is slowly but surely replacing bdb with
supported and open source friendly alternatives. As a result these CVEs are unlikely to ever be fixed.

(From OE-Core rev: 679fc70f907fb221f4541ebf30c1610e937209b7)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Matthias Klein
df2031f369 gdb: fix aarch64 remote debugging gdb/28355
The raspberry3-64 machine from meta-raspberrypi is affected by this bug.

https://sourceware.org/bugzilla/show_bug.cgi?id=28355
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=eb79b2318066cafb75ffdce310e3bbd44f7c79e3
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7fd8546853e3f0333ba8d8238413aba7eb45c69f

(From OE-Core rev: 6643692a642b863b546e1ea96d8e486330061495)

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Jasper Orschulko
5d98b28c8a repo: upgrade 2.17.3 -> 2.18
(From OE-Core rev: 3a2cdd85faad0d6ba258788c7b05c7c82937d30e)

Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Jasper Orschulko
4d965f9326 repo: Use separate task for patching repo rev
Using a task instead of a version specific patch for setting the repo
revision within the source code. This drastically decreases the
maintenance burden and easier usage of the OE update helper.

(From OE-Core rev: beb5878bfd600ba8c9b53aa9d6b038838697b97d)

Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
zhengruoqin
ddc5baf4d9 opkg: upgrade 0.4.5 -> 0.5.0
Remove unsupported openssl and option --disable-pathfinder

[RP: Drop openssl QA related warning]

(From OE-Core rev: 9e2a5d6557ca7d2c3aea39cfe18003e35310db34)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
zhengruoqin
02f7376bb9 opkg-utils: upgrade 0.4.5 -> 0.5.0
(From OE-Core rev: a9561eeb710eee02cdf9817245882d29f797b9b0)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Richard Purdie
bbfe982f9f glibc: Drop patch for obsolete conflict issue
We're no longer patching files called "libm-test-ulps" so this patch isn't
really needed. Regardless, if we were, we should fix the real issue in the
upstream code which may have already happened. Drop this patch.

(From OE-Core rev: aef530a2d805c287c25ea8b4715602955e892ec9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
000f71e0f7 ffmpeg: Fix build on ppc32
Fixes
| powerpc-yoe-linux/11.2.0/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8'

(From OE-Core rev: d140306257a38615b84bc7f7595a4b2b5e97b808)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
7ccb65720c glibc: Drop ppc sqrt optimisations
OpenEmbedded isn't an upstream or a patch repository. These are optimisations
which for reasons unknown were never merged into upstream glibc. We have no
active ppc maintainers and these patches are at an evolutionary dead end.
Since they are optimisations, there may be small performance regressions by
removing them but OE can't carry patches like this indefinitely and these
appear to have no future.

(From OE-Core rev: 2511e937f4454813ab11a59057c29ae3f224ab5e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Ross Burton
d8b7e5fe1d tcf-agent: cleanup patches
ldflags.patch isn't really suitable for upstream, so mark inappropriate.

fix_ranlib.patch has been rebased into uselessness over time, it's now
setting RANLIB to just '$@' which expands to '' when called, so is a
null operation.

(From OE-Core rev: 726d6d77b4ec6034ba80974dcd291bac9720236d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:10 +00:00
Richard Purdie
d83fe40835 minicom: Upgrade 2.7.1 -> 2.8
* Update the url to use .bz2 instead of .gz compression.
* Drop three patches merged upstream
* Submit two patches upstream
* Drop the musl patch since half was already applied upstream and
  musl now builds fine without the other piece

(From OE-Core rev: 41f8760dd8a8ac388389bc17dbc5e0ae0f64bf57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:10 +00:00
Richard Purdie
9591698754 minicom: Mark patches as backports
These three patches are backports from upstream, mark as such.

(From OE-Core rev: d8f974004ac5a3518c4fc88c4eded4ad23fa98fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:10 +00:00
Richard Purdie
6245f65fa3 gcc: Update patch status submitted->backport
Patch was merged to upstream gcc, update status.

(From OE-Core rev: ece8f1471db443d4844d475af9c89d16ef3fbab3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:21:52 +00:00
Richard Purdie
22c8a711b4 gst-plugins-bad: Add missing libxkbcommon vulkan dependency
The vulkan module has a dependency on libxkbcommon which needs to be
listed so the dependency is correctly handled with debian renaming.

(From OE-Core rev: 9a6a4b02592cda62eb577f9deca835213c5abee7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Richard Purdie
343626fac9 debian: Fix renaming packagedata dependencies
We've recently seen issues where libxkbcommon was changed in/out of debian
renaming and weston which DEPENDS but doesn't RDEPEND on it would show build
failures.

Looking at the sigdata file for weston:do_package_write_XXX, there were
dependencies on packagedata for RDEPENDS but not DEPENDS. Some items like
libxkbcommon are in DEPENDS but become autodetected RDEPENDS. The debian
class already handles RDEPENDS but needs to handle DEPENDS in a similar way
to avoid failures since bitbake treats them as two separate namespaces (unlike
recrdepends).

(From OE-Core rev: 834f7d735286c47765beb65778634eec7c2bd64f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Richard Purdie
3d7b493f11 patchelf: Upgrade 0.14.1 -> 0.14.2
(From OE-Core rev: aa396ec57d0e15bd257f710290074984f0efbeed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Ross Burton
4d9a24d616 xkbcommon: add option for xkbregistry
Enable by default, now that libraries are split into separate packages
this won't cause a change to existing setups.

(From OE-Core rev: aced64cbf6408af0d34c1db21a02e0666ac44848)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Ross Burton
680470cd52 libxkbcommon: split libraries into separate packages
The sublibraries, such as libxkbcommon-x11, have specific linkage, so to
avoid link creep they can be put into separate packages.

(From OE-Core rev: 1a30af54d335db302393e14a0fa6cac4adbd1bee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Ross Burton
f11d868f47 xkbcommon: split xkbcli into a separate package
Not everyone wants the CLI, so put it in a separate package to reduce
mandatory dependencies.

(From OE-Core rev: f6777d4bc5a3f04c4fe12c508609ba84fdde67b2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Ross Burton
eeb85f6adf libxkbcommon: allow building of API documentation
(From OE-Core rev: 12aed9f72e610c0a20c7d9fe329edf7b7753740d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
28f9393d26 lttng: submit patches upstream
(From OE-Core rev: 6a7bd6cdf4f81808212807182861815483277272)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
063a0471b7 libgpg-error: submit patch upstream
(From OE-Core rev: 58b4aae2f7a539e80c61c50a04ec22983dbd0745)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
ddb6d0d666 libgcrypt: submit patch upstream
(From OE-Core rev: 18dfe5cc7645b4fb556d38946031f2f47c943159)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
236647539a libfm: submit patches upstream
(From OE-Core rev: f2cf904ad6c50a3974abb9d51b119cbec921873a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
338c36ac82 ffmpeg: submit patch upstream
(From OE-Core rev: 8d5f979ec84297f09490e3acee97c96094251fb3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
86d20f4a0d systemtap: submit patch upstream
(From OE-Core rev: c1648b54d3baafc91f2fcf8fb27847f226042897)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
a56b484d97 piglit: submit patches upstream
(From OE-Core rev: dea3890d045a203270d69375831376254109bce2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
2db176f5f2 kexec-tools: drop unneeded patch
(From OE-Core rev: 83ad4c858ad92637c26530aa80e37eed18d10b45)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
49e2197063 xserver-xorg: remove unneeded patch
(From OE-Core rev: a9c92a52155073e2db5f771efd36eedd5792273d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
39ac9a3083 wayland: drop unnecessary patch
wayland now picks the correct setting from the native .pc file.

(From OE-Core rev: 5438c4121c040c4153377d0ec285381a6e93fded)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
5583d450d0 igt-gpu-tools: correct patch status
(From OE-Core rev: 89bb72e0721be7d6afb2fbc35322c26182d59116)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
a893378e8c adwaita-icon-theme: submit patch upstream
(From OE-Core rev: e3a348abade24ece055e08ea7c290416aa0da114)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
121b6ba80c sudo: submit patch upstream
(From OE-Core rev: a8450f43b510404c1d7215ed98f1674e509ec760)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
4079060757 zstd: submit patch upstream
(From OE-Core rev: 07b3c8540c9e475a8f60fe352c19aaa45e4acf88)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
725a29b15b stress-ng: submit patch upstream
(From OE-Core rev: 73eebc7dc3fa44732b4a6f0ee010adfbf36e1b45)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
cc5791aa4e lighttpd: remove unneeded (since meson switch) patch
(From OE-Core rev: cf6f8daf24c5c5bd2c7cde2dc4ecfefd79de61ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
6778f069ca valgrind: remove unneeded patch
Whatever the issues were all those years ago,
current valgrind builds ok on qemux86_64 and qemuppc.

(From OE-Core rev: 4691b0566319797ab98b81e8e93c4615704edb70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
8d8734ef10 vala: submit patch upstream
(From OE-Core rev: 1aa863c8b0c3843125e419f882890c9207e1e19c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
7f1f9d843b python3: mark patch as inappropriate, with better explanation
(From OE-Core rev: 3a21835e69dfcdedf74512aec14583e8762317e5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
f9a533a8f5 perlcross: do not copy ${S}/patches into sysroot
That is not actually a part of the source tree, and will
clash with perl's own ${S}/patches.

(From OE-Core rev: 52f4ca245a6a5e99538bcd052a27bbe936bc7e08)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
40349dc51f meson: configure and use generic exe_wrapper
This replaces the specific gtkdoc wrapper setting
(which was rejected by upstream in https://github.com/mesonbuild/meson/pull/9627)
with a generic, officially supported and documented exe_wrapper,
which is enabled subject to qemu usermode support
(just as is done for g-i and gtk-doc with autotools).

gtk-doc support is adjusted so that this wrapper is passed to
meson's gtk-doc module, which passes it to gtk-doc.

The adjusted patch is re-submitted upstream.

The side effect of this is that meson is now able to run
target binaries in a generic way when it wants to, so this
may affect cross-builds - hopefully in a positive way.

(From OE-Core rev: 17fb047282a413aae5af991ecf5bbb225e19581e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
a9ad0c267e perl: replace a patch with a config option
Instead of patching in LDFLAGS into makefiles, simply
append them to 'lddlflags' (perl's keyword for 'linker flags').

See here for upstream discussions:
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/406
https://github.com/arsv/perl-cross/pull/124

(From OE-Core rev: b9bc216c8d25ad3696c858bf12ebe893b8fe0edd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Jose Quaresma
cc60236033 glslang: upgrade 11.7.0 -> 11.7.1
changelog:
1f8c8b88 Revert port of GL_EXT_shader_realtime_clock to GL_EXT_spirv_intrinsics

(From OE-Core rev: bf9dc667a1a3c4967fb8f0a18c8bdec4de5a7a1a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Khem Raj
11401c4505 perf: Enable libunwind packageconfig on riscv64
libunwind now supports risc64

(From OE-Core rev: 41ab1040b61a86157dd1995e36deb3df65d9c0c5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Khem Raj
ca1a3c8e90 libunwind: Enable for rv64
1.6.0+ has rv64 supports now.

(From OE-Core rev: 2b2f6ff01efd73d31084caab63138117500b2228)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Ross Burton
c4935c0dcb libxkbcommon: remove obsolete util-macros dependency
This is a hang-over from the autotools build system.

(From OE-Core rev: 500b63b000674f812e9f11681ff5c30a81107bb4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Ross Burton
8ae4af6030 libx11: update patch status
This patch has now been merged upstream.

(From OE-Core rev: 175ece3b5722c5bdbbe96bc55de849c62fb7a272)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Ross Burton
e904e9575c glew: update patch status
(From OE-Core rev: 2c0e3cd602c546a1cb2f20121d8098844524d8f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Joshua Watt
467c21abe4 yocto-check-layer: Relax README case checks
Relaxes the case requirements for checks in the README file so that word
like "Maintainer" and "Patch" are allowed

(From OE-Core rev: fdedf94d406ad3da85cb45d43ef87d3fdc8c14d4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-04 23:39:52 +00:00
Jon Mason
17d1c837a4 yocto-check-layer: disregard checks if referencing another README file
It is permissible to have a layer's README reference another README.  If
this is the case, avoid other checks.  Do this by checking for the word
README (case insensitive) in the README file.  This might be too
permissive, but follows the pattern of looking for exact words (like
"patch" or "maintainer") in READMEs.

(From OE-Core rev: 443c73d638519d6a7ea44d1c0e80d76306687ddc)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-04 23:39:52 +00:00
Dhruva Gole
aec629185e yocto-check-layer: Add additional README checks
This adds:
- Test case to review if the README file specifies the maintainer.
- Test case to review if the README file specifies the word patch.
- Test case to review if the README file contains an email address.

[YOCTO #11131]

(From OE-Core rev: 5d4937bce191b7e22b807c0595d4845c88ecc560)

Signed-off-by: Dhruva Gole <goledhruva@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Quentin Schulz
10c55a23bd ptest-packagelists: Add missing python3-webcolors entry
Resolves:

WARNING: python3-webcolors-1.11.1-r0 do_package_qa: QA Issue: supports ptests but is not included in oe-core's ptest-packagelists.inc [missing-ptest]

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: f5d63bb34627825bd9ff07ba686ce7c05f4db561)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Pavel Zhukov
ae57c83f03 patch.py: Initialize git repo before patching
If PATCHTOOL="git" has been specified but workdir is not git repo
bitbake fails to apply the patches with error message:
Command Error: 'git rev-parse --show-toplevel' exited with 0  Output:
fatal: not a git repository (or any of the parent directories): .git

Fix this by initializing the repo before patching.
This allows binary git patches to be applied.

(From OE-Core rev: 6184b56a7a0fc6f5d19fdfb81e7453667f7da940)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Khem Raj
b1984dd2f5 glibc: Drop patch to support/workaround prelinked apps on armv5
The usecase explained in bug #1443 works fine now a days on qemuarmv5,
tested by using lltng-ust and explicitly linking in liburcu-bp.so as
well, since its no more a direct dependency of liblttng-ust.so.1

Given that usecase works, unbolt this fix now.

(From OE-Core rev: 088cf642e4a58fd50f93b22b4fdf5a2f25e1ed53)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Khem Raj
5c8c4dd925 boost: Fix build on arches with no atomics
1.77 is broken on architectures which dont have lockfree atomics e.g.
armv5 [1], backport relevant fixes from upstream to unbreak the build

[1] https://github.com/boostorg/math/issues/673

(From OE-Core rev: 57dc797712abcf83b63694b21d2b3a3f09b1c9bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Kai Kang
8b99e34fb2 packagegroup-core-tools-testapps: clear GOTOOLS for riscv32
go-helloworld is not compatible with riscv32 and causes error:

| ERROR: Nothing RPROVIDES 'go-helloworld' (but
    meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
    RDEPENDS on or otherwise requires it)
| go-helloworld was skipped: Unsupported CPU architecture: riscv32

Clear GOTOOLS for riscv32 in recipe packagegroup-core-tools-testapps.

(From OE-Core rev: 16a730c803baef51b9475fbb67ece2d2c494d140)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Ross Burton
3cf97f84c6 recipetool: extend curl detection when creating recipes
If a configure.ac uses LIBCURL_CHECK_CONFIG it wants curl.

(From OE-Core rev: 16e830ca1352cee61e4ae4b98b1203f849bf71f3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Ross Burton
ad10932343 recipetool: handle GitLab URLs like we do GitHub
GitHub URLs are automatically transformed to git: fetches, so handle
GitLab URLs too.

(From OE-Core rev: 651fb951819840fe122458ddbd852ee6c7ec0455)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Ross Burton
1121148f13 openssl: fix EVP_PKEY_CTX_get_rsa_pss_saltlen() not returning a value
Backport a patch from upstream. Specifically, this fixes signature
validation in trusted-firmware-a with OpenSSL 3.

(From OE-Core rev: ac670fd4f543f439efdea26e813a4b5121161289)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Quentin Schulz
0000a5cae3 README.OE-Core.md: update URLs
Update URLs to what they actually redirect to.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: ec2131070cae6c3933e5b08986e8245fcd9deb99)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 22:42:00 +00:00
Ross Burton
5b359440bb vim: set PACKAGECONFIG idiomatically
Don't set an empty default value and them immediately assign to it.

(From OE-Core rev: d7565241437487618a57d8f3f21da6fed69f6b8a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Ross Burton
3eecf843e7 vim: fix CVE-2021-3968 and CVE-2021-3973
Backport a fix for -3972, and whitelist -3968: it isn't valid as it
fixes a bug which was introduced after 8.2.

(From OE-Core rev: bec5caadfb53638748d8c41ce7230c2bf7808d27)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Li Wang
7d2b8ac293 libtool: change the default AR_FLAGS from "cru" to "cr"
Backport patch to fix warning:
`u' modifier ignored since `D' is the default (see `U')

(From OE-Core rev: 3d5092e7ee63fb8119a22b3d9de1f23e94791b56)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Khem Raj
0e733283f6 Revert "weston-init: Pass --continue-without-input when launching weston"
This reverts commit 762a20b493cc219a46d9ac188fe4895a111ee7b4.

This breaks machines using fbdev backend, since this option is drm
backend specific, we need to know the backend before using it, until we
have a smart way to detect that, this will not be a fool proof solution,
therefore revert it for now.

(From OE-Core rev: 6b7d8b2a141cc79272010b24d0648e6238fa4c74)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Dhruva Gole
95de7e2b62 scripts/checklayer/common.py: Fixed a minor grammatical error
(From OE-Core rev: 8ea17456ae5318ed7a3b4c8f75c8441456d8b979)

Signed-off-by: Dhruva Gole <goledhruva@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
777a1e0885 python3-libarchive-c: upgrade 3.1 -> 3.2
This release fixes the seek callbacks passed to libarchive by the custom_reader and stream_reader function.
(https://github.com/Changaco/python-libarchive-c/pull/116)

(From OE-Core rev: b9176bf09e68fcb01b4d81d26bc507b6336afade)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
10f8c21606 python3-docutils: upgrade 0.18 -> 0.18.1
Changelog:
docutils/nodes.py
  Node.traverse() returns a list again to restore backwards compatibility. Fixes bug #431.
  New method Node.findall(): like Node.traverse() but returns an iterator. Obsoletes Node.traverse().

docutils/utils/__init__.py:
  Fix behaviour of get_stylesheet_list(): do not look up stylesheets given as "stylesheet" setting. Cf. bug #434.

docutils/writers/_html_base.py:
  Fix handling of footnote_backlinks==False (report Alan G Isaac).

docutils/writers/html5_polyglot/math.css:
  Fix typo (bug #432).

docutils/writers/odf_odt/__init__.py:
  Fix spurious output with Windows (bug #350).

test/test_error_reporting.py:
  Fix a false positive (bug #434).

License-Update:
 year updated to 2021
 update url of elyxer
 add url of BSD 3-Clause License
 change "2-Clause BSD license" to "BSD 2-Clause License"

(From OE-Core rev: 126444702f2c2e63a54d55dfb1844bc6e64c5727)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
f0e8d3042d ovmf: upgrade 202108 -> 202111
(From OE-Core rev: bb025ed25d0826f900208d4c4e52ae404ce523b7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
e8b059a274 sysklogd: upgrade 2.2.3 -> 2.3.0
Changes:
Add support for logger -k, early log to /dev/kmsg. Useful when
logging from early system startup scripts before syslogd has started
Support for extracting non-kernel log messages from /dev/kmsg
Ignore EINVAL from kernel, caused warning message at first startup
Use journald socket on systemd systems, not /dev/log
Issue #38: add support for syslogd -C file to use file for caching
the last seen kernel sequence number, default: /run/syslogd.cache.
Note: syslogd relies on the location of this file to be wiped at
system boot. The default, /run, is a RAM disk on modern systems

Fixes
Issue #34: regression in v2.2.3, causing loss of syslogd log messages
like syslogd v2.2.3: restart.
Issue #35: man pages lists -v as verbose mode, is actually version
Issue #36: retry DNS lookup of remote syslog servers with res_init()
to ensure name resolution at bootup when a remote DNS may temporarily
be unreachable. Retry at most every five seconds, to prevent syslogd
from monopolizing the CPU when emptying the kernel ring buffer
Issue #39: update tests to use -P fn and -C fn
Issue #40: improve documentation for syslogd.cache file requirements
Issue #41: add missing documentation for -H option
Issue #42: add option (-K) to always trust kernel timestamp. By
default syslogd only trusts the kernel timestamp for the initial
emptying of the kernel ring buffer
Issue #43: avoid asserting (exiting) on and around Jan 19, 2038, when
the UNIX epoch wraps around on 32-bit time_t systems
libsyslog: handle EOVERFLOW from gettimeofday() on Jan 19, 2038
Avoid NULL pointers to internal logit() function, only triggered
when in debug mode
Replace \m with \n (missing newline) in logger usage text

(From OE-Core rev: 84de7a1f3863989c437a8fcf34255399c10e4143)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
fb834580eb sqlite3: upgrade 3.36.0 -> 3.37.0
Changelog:
1.STRICT tables provide a prescriptive style of data type management, for
  developers who prefer that kind of thing.
2.When adding columns that contain a CHECK constraint or a generated column
  containing a NOT NULL constraint, the ALTER TABLE ADD COLUMN now checks new
  constraints against preexisting rows in the database and will only proceed if
  no constraints are violated.
3.Added the PRAGMA table_list statement.
4.CLI enhancements:
  a.Add the .connection command, allowing the CLI to keep multiple database
    connections open at the same time.
  b.Add the --safe command-line option that disables dot-commands and SQL
    statements that might cause side-effects that extend beyond the single
    database file named on the command-line.
  c.Performance improvements when reading SQL statements that span many lines.
5.Added the sqlite3_autovacuum_pages() interface.
6.The sqlite3_deserialize() does not and has never worked for the TEMP database.
  That limitation is now noted in the documentation.
7.The query planner now omits ORDER BY clauses on subqueries and views if
  removing those clauses does not change the semantics of the query.
8.The generate_series table-valued function extension is modified so that the
  first parameter ("START") is now required. This is done as a way to
  demonstrate how to write table-valued functions with required parameters.
  The legacy behavior is available using the -DZERO_ARGUMENT_GENERATE_SERIES
  compile-time option.
9.Added new sqlite3_changes64() and sqlite3_total_changes64() interfaces.
10.Added the SQLITE_OPEN_EXRESCODE flag option to sqlite3_open_v2().
11.Use less memory to hold the database schema.

(From OE-Core rev: b1c6e95d075531998de5b73e7ec7073647d5a2d2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
f7050dee8b patchelf: upgrade 0.13 -> 0.14.1
refresh handle-read-only-files.patch

(From OE-Core rev: 978f04fc520938b231c236c00582360aea63b364)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
205a60fa98 mtools: upgrade 4.0.35 -> 4.0.36
(From OE-Core rev: ada5da0ce05bfe1437543b6691ad18b4dc68adcf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
e0723d8b2b libexif: upgrade 0.6.23 -> 0.6.24
libexif-0.6.24 Changelog:

Translation updates: sr, vi, pl, uk, french
fixed regression in exif_data_load_data which could not load EXIF in JPEG data anymore
Decode lots of Canon tag names
removed empty strings from translation (empty string would translate to the PO info header)
various warning removals and code improvements
added sample "persistent" afl fuzzer (100x faster than normal afl fuzzer)

(From OE-Core rev: 7bfd1d2faa30cec9876901de718278ea013cc281)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
b96da7f120 libunwind: upgrade 1.5.0 -> 1.6.0
0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
0001-configure-Do-not-enforce-libdir-for-ppc64.patch
removed since they're included in 1.6.0

refresh the following patches:
0003-x86-Stub-out-x86_local_resume.patch
0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch
0006-Fix-for-X32.patch

(From OE-Core rev: fb4a298594e1722ab57cd312e391e6f7c5597f8a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
72c76db9d7 libsoup-2.4: upgrade 2.74.1 -> 2.74.2
Changes in libsoup from 2.74.1 to 2.74.2:

    * Error when libsoup3 is already loaded before libsoup2

(From OE-Core rev: 0640eb72ef4db97fc07011d8398dbafbd3c8b119)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
22fd9de07f libdrm: upgrade 2.4.108 -> 2.4.109
(From OE-Core rev: ba3bd5e6ae5c3893fa3dc61b768105d9203b96f3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Alexander Kanavin
b825ea5ced insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed
(From OE-Core rev: d679c35e087499075a5b8c2222d8e7007fc3e75d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Alexander Kanavin
fc5c6e373a ovmf: remove patch merged upstream
See here:
https://github.com/tianocore/edk2/pull/1513/files

The change was thus applied twice to the same file.

(From OE-Core rev: af90f9681bae3defe841ddcf80755960792faa88)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
c93239706f go: update 1.16.10 -> 1.17.3
This was additionally verified with meta-virtualization:
$ bitbake packagegroup-container packagegroup-kubernetes
$ bitbake container-base kvm-image-minimal xen-guest-image-minimal

(From OE-Core rev: 7acfadc2ef96cd205a85713624ce96129b679b28)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
6f092174b3 python3-rfc3339/3986-validator: correct upstream version check
(From OE-Core rev: dd2f4d263100ab09f79c2dc037346da7362765a2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
375c82ad00 go-helloworld: test at runtime
This adds a smoke check for whether the Go toolchain actually
produces working executables across a range of architectures.

(From OE-Core rev: 2819bb2cf22c6cfcaeaee79f0280097ec9cb9327)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
278cb0fc07 go-helloworld: update to latest revision
Adjust SRC_URI, github is only a mirror.

Adjust GO_IMPORT, as it does not match either github
or the official repo.

(From OE-Core rev: 2c0e20fca1491adfef4f79b0088664f587ade4fd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
fd5b5c6355 testimage.bbclass: request the use of kvm by default
In almost all cases there is no need to explicitly ask for it via local.conf
or similar custom config:
it is enabled in qemu_use_kvm() if target_arch == build_arch or both of them are x86 archs,
and QEMU_USE_KVM is set.

If that heuristic doesn't work, QEMU_USE_KVM = "" will do the disabling.

(From OE-Core rev: c2a2d475a976225e3a4eb687af6d2a62dca1d2bf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
f2404c5002 perl: submitted patch upstream
(From OE-Core rev: 8358b6e9218f9282e24fcee19a3aec17c15e7604)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
188362f75c perl-cross: submit patches upstream
(From OE-Core rev: 43f56eab9ef80a7d6d988d85af653ea68c9b3d62)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
87c2d49842 meson: submit patch upstream
(From OE-Core rev: de74501bce6b87281a07c98a75349cbffb05abfe)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
c36725d7d5 libdnf: submit patches upstream
(From OE-Core rev: 11a82aa6ad0c94fff018f03ba52e2c77fe3c45d8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
2588acf129 libcomps: remove unneeded patch
Somewhere along the way the issue was fixed upstream.

(From OE-Core rev: 8a5e34ff78fc74bce16b7aae173f047fce88dee5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Khem Raj
5c95402ff9 weston-init: Pass --continue-without-input when launching weston
This ensures that we do not need keyboard/mouse or other input system
Weston's default behavior is to not open if input devices are not
found, but we may not always have input devices connected for systems
running weston in field

(From OE-Core rev: 762a20b493cc219a46d9ac188fe4895a111ee7b4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Richard Purdie
f062749071 sanity/lib: Replace usage of LooseVersion() with bb.utils.vercmp_string_op()
distutils is going away and we have functionality in bitbake which can
handle these comparisions so switch to the bb.utils function.

(From OE-Core rev: fe624b520e6c75e16a8f394785ab0216341402f9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Richard Purdie
1dbcdfcdf8 oeqa/parselogs: Fix quoting
Fix deprecation warnings about invalid escape sequences.

(From OE-Core rev: 43542614395150e8fa34133ba0fc7ee90f215bcb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Stefan Herbrechtsmeier
a0320f3944 bitbake: test/fetch: Add striplevel unpack parameter test
(Bitbake rev: 7e1ca7ab50e3c6b642c3c11504c7c8f52cfa4528)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Stefan Herbrechtsmeier
6497b6ac67 bitbake: bitbake-user-manual: Add striplevel unpack parameter
(Bitbake rev: f0442a30d3a8459195dbf51a778ffb6150688a0a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Stefan Herbrechtsmeier
e241d0e78c bitbake: fetch2: Add striplevel support to unpack
Add a parameter `striplevel` to the SRC_URI to strip NUMBER leading
components (levels) from file names on extraction.

For example, if the archive `archive.tar.gz` contains `some/file`,
the SRC_URI `https://.../archive.tar.gz;subdir=other;striplevel=1`
will extract `some/file` to `other/file`.

This is useful to extract archives to a specified directory instead of
the original root component of the archive. The feature is required for
the npm support. The npm package contents should reside in a subfolder
inside a npm archive (usually it is called package/). npm strips one
directory layer when installing the package.

(Bitbake rev: aa4926e5d9c92f33b4434e2da709ff0bf3049f5b)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Stefan Herbrechtsmeier
8091ad4347 bitbake: fetch2: Unify tar command in unpack
The tar command and its arguments are repeated for many archive types in
the unpack function. Unify the common parts in a variable to prepare
further extension.

(Bitbake rev: a08e57c9eaec1d9740a96149bf4843e576da4e5c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Robert Yang
11ecd7628c bitbake: data_smart.py: Skip old override syntax checking for anonymous functions
Fixed when oe-core's path contians append/prepend/remove, e.g.:

/path/to/append_test/oe-core/

Initial a build in any build dirs:
$ bitbake -p
ERROR: Variable __anon_32__buildarea2_xhou_builds_append_test_layers_oe_core_meta_classes_patch_bbclass
contains an operation using the old override syntax. Please convert this
layer/metadata before attempting to use with a newer bitbake.

The anonymous fuctions has no names, so skip checking for it to fix the issue.

(Bitbake rev: ebd00330c41c75797529ff38d6a0955b93f05d1b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Richard Purdie
1c032b4d1d oeqa/utils/dump: Fix typo
(From OE-Core rev: 3770d539d83b589b3f8bde21fcf896bb046611d4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
80cd0b8a52 gcc: Drop further unneeded precompiled header patch
According to comments on the bug report from gcc developers, we
no longer need to do this post gcc 10. Lets therefore drop the patch.

(From OE-Core rev: 8ddc6f46d40cdcc462de23d1b1218f2ed9fd3d07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Jasper Orschulko
a27bf13e89 base.bbclass: Add sysroot deps for repo fetcher
Add repo-native as prerequisite for the repo fetcher.

(From OE-Core rev: 16b8939bf0450837d3bc9e44cd24d2f38e0cee58)

Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Jasper Orschulko
6f450a177b repo: Add recipe for 2.17.3
Add a recipe for repo 2.17.3, prerequisite for the repo fetcher.

(From OE-Core rev: db9d86bdf2878ebee9c2080038714fcc98142100)

Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Jacob Kroon
096c9037bc native/cross: Add ar wrapper for determinism
Add a wrapper around ar calls for native/cross recipes. This wrapper adds
the -D option so that deterministic archives are built for native/cross
output. This improves the changes of hash equivalence matches and hence
build artefact reuse.

We don't need this in the target case since we compile binutils-cross
with an option making this the default. We need a wrapper since we need
to remove the "u" option and replace it with "D" but also allow things like
"--version" to continue to work too.

(From OE-Core rev: 59922c95fcb20c66634c5677012d490be2246b0b)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
921d3aa667 gcc: Drop mips default ABI patch
gcc-configure-common.inc already sets --with-abi=64 for our mips64
targets so this patch is no longer needed.

[YOCTO #14639]

(From OE-Core rev: e0010af733825ed1050fd3342cf3ef1c478df1a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
8dd0a45c85 nativesdk: Handle chown/chgrp calls in nativesdk do_install tasks
We disable the useradd code for nativesdk targets since we don't support
postinstalls or multiple users in those cases. This means any usage
of chown/chgrp inside do_install tasks won't work and would have to be
conditional. Rather than require all recipes to do that, add intercepts
of the calls and map those to root/root user/groups. We can't just ignore
them as some calls are used to remove host contamination from the host
user ID so they need to be made, just as root.

(From OE-Core rev: e1f40670c438e33cae87678425de72ca03566888)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Max Krummenacher
44a3909bf6 perf: sort-pmuevents: allow for additional type qualifiers and storage class
With kernel 5.16 some structs in pmu-events do get a const qualifier, some
a static const storage class and qualifier.

The current sort-pmuevents cannot cope with that and drops all struct
arrays with such additional elements. This then leads to compiler errors.

Allow '^struct', '^const struct', '^static struct', '^static const struct'.

(From OE-Core rev: 8406e83ade1c34d8a7d8063f2e7445aafa471721)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Max Krummenacher
c67fab09fe perf: sort-pmuevents: don't drop elements
If a struct element neither has an element cpuid or name it gets silenty
dropped.
Kernel 5.15 for some ARCHs have at least one array of structs matching
this.
e.g. for arm pmu-events.c:

|#include "pmu-events/pmu-events.h"
struct pmu_events_map pmu_events_map[] = {
{
	.cpuid = 0,
	.version = 0,
	.type = 0,
	.table = 0,
},
};

struct pmu_sys_events pmu_sys_event_tables[] = {
	{
		.table = 0
	},
};

Before this patch the second struct is translated to an empty array::

struct pmu_sys_events pmu_sys_event_tables[] = {
};

(From OE-Core rev: e1382583cd5060be301afaa9998ccf250cc8bca3)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
1bac831fba linux-yocto-dev: introduce dt-validation PACKAGECONFIG
Add a PACKAGECONFIG to control which type of dt-validation
is installed (full, or wrapped).

This is currently in linux-yocto-dev, as 5.16 introduces
the functionality of required dt schema validation.

Other v5.16 providing recipes can use the base functionality
as they desire (with or without PACKAGECONFIG).

Over time, we can migrate the support the the core
kernel classes .. in particular when more providers are at
v5.16+

(From OE-Core rev: c12a91827e88230b4ec702a88534d4c51c1aabe3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
2566563ad4 kernel: introduce python3-dtschema-wrapper
The 5.16 kernel introduced mandatory schema checking on any dtb file
built through the kernel.

That funcionality is provided via python3-dt-schema.

The dependencies to enable that functionality is not small, and may
not always be desired (in particular on architectures that do not
support dtbs, or in development cycles). It may also be useful for
allowing a non-conformant dts to be compiled.

This commit introduces a set of wrapper scripts that when added
as a depenency to the kernel, can pass both the validation testing
and validation steps of a dts.

We use the wrapper by default, while more dts file are brought up
to spec and the dt-validation matures upstream.

To enable valiation, simply add 'dt-valiation' to the PACKAGECONFIG
variable and the full dt-schema package will be selected and
validation will occur.

(From OE-Core rev: a8525391f8a519426c92f0e28895f426bfcb3f84)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
13527d2409 linux-yocto: export pkgconfig variables to devshell
Not all of the kernel host/build Makefiles allow pkg-config
to be overriden to pkg-config-native. Exporting these variables
allow us to debug host tool issues with the kernel build.

(From OE-Core rev: ea71e50be2de5b7fc81f466ea5cd48c2f1e0ef6b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
1ba9c9690f python3: Add missing HOMEPAGE entries
Add missing HOMEPAGE entries to new python recipes from meta-python.

(From OE-Core rev: 333af4b995f62406898e7efcebd5e846cdc449f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
f460aa95d2 maintainers: update for kernel dtschema checking dependencies
These packages are required for dtschema checking in the
kernel build. Adding myself as the maintainer.

(From OE-Core rev: dff7ce9b72d54a0af0916424738ca0295eebc6c0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
a231268bd3 python: import vcversioner from meta-python
vcversioner is a dependency of jsonschema, which is being
imported to support kernel device tree validation.

(From OE-Core rev: 51265151041cf71f3bc799fc60662df6f2cfd7ae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
ab761b4a9b python: import strict-rfc3339 from meta-python
strict-rfc3339 is a dependency of jsonschema, which is being
imported to support kernel device tree valiation.

(From OE-Core rev: 1f00aad201b207e991d7679fbf45e7a308f48dd0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
fafdad5a61 python: import rfc3987 from meta-pyton
rfc3987 is a depenency of jsonschema and dtschema, which are being
added to support kernel device tree validation.

(From OE-Core rev: 9a3cb1a02a4c630e98137edcc8e33bd00343a957)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
e1943372fd python: import pyrsistent from meta-python
pyrsistent is a dependency of python3-jsonschema, which is being
imported to support kernel device tree validation.

(From OE-Core rev: e25d4417bc4ca01474c74dc5bd38594bcfbe6639)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
f0e30fcf2a python: import ruamel-yaml from meta-python
Importing ruamel-yaml from meta-python. This package is a
dependency of python3-dtschema, which is required to validate
kernel devicetrees.

(From OE-Core rev: 748f7d377b62a0cd6bae558791a4d84b8110ea1a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
919e5d27b0 python: import webcolors from meta-python
Importing webcolors, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: cbba71e821815f97bb1dcadadc067d28b9d1e5ab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
af7d5f02be python: import rfc3986-validator from meta-python
Importing rfc3986-validator, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: ffe53365633833e5134744730b00c74cbb462752)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
96853b0225 python: import rfc3339-validator from meta-python
Importing rfc3339-validator from meta-python, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: 8f9ade9448c1c87004d81bec049136a745dfb0b1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
8a03979b55 python: import idna from meta-python
Importing idna from meta-python, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: 14fdb80c3c32e728f32d798134acaef6250c001a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
1efdf92942 python: import jsonschema from meta-python
Importing this package as a dependency to python3-dt-schema,
which is required for kernel device tree validation.

(From OE-Core rev: c28fd66c673a852d287220ec0c9fe882464a0161)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
b9c33ca6ba ptest-packagelists: Add missing python3-jsonpointer entry
Resolves:

WARNING: python3-jsonpointer-2.2-r0 do_package_qa: QA Issue: supports ptests but is not included in oe-core's ptest-packagelists.inc [missing-ptest]

(From OE-Core rev: 7e561760278c980715fa966448f1f978b3767b8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
dc9020a605 python3-jsonpointer: Update 2.1 to 2.2
The import from meta-python was slightly out of date, and the
2.1 version was grabbed. We bump the oe-core version to 2.2
to match the latest meta-oe version.

(From OE-Core rev: 687823be0ec6ee93614e386af72c3d315d0258ef)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
f5c4069808 python: import jsonpointer from meta-python
required to support python3-json, which is required for python3-dtschema
and device tree checking by the kernel.

(From OE-Core rev: 5e057c058da55385d8566532bd713bcd7b4c9ebc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
91dbc50d6e python: introduce python3-dtschema
kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb
targets], which is part of v5.16+, makes the checking of dtb schemas
manditory.

To support the checking, we introduce this new recipe dtschema.

Dependencies will be imported in subsequent commits, so we can
track the dependency need on a per-import basis.

(From OE-Core rev: d56fcb5806784359a9e81ea5ac4816caaeee7750)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
ace63e94e3 kernel: export native PKGCONFIG variables
In a similar manner to cml1.bbclass, we export the pkg-config
variables to allow a direct call to pkg-config access to the
native sysroot versus the target sysroot.

The kernel doesn't use pkg-config for target configuration,
and has many explicit calls to pkg-config, without the
possibility of easy override to pkg-config-native.

The calls to pkg-config could be made cross friendly via
replacement with make variables, but until that effort is
undertaken upstream, we need a bridge approach.

In particular, this is required for dtschema validation,
which is a requirement in kernel 5.16+

(From OE-Core rev: 9172d61c57e23682c3d2c25701cbd53c84d01a27)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
4f3a8ee65b linux-yocto-dev: bump to v5.16+
Bumping the version of -dev ot 5.16. We also pickup two new
dependencies to support kernel dtschema validation. This
requirement was introduced by kernel commit:

   commit 53182e81f47d4ea0c727c49ad23cb782173ab849
   Author: Rob Herring <robh@kernel.org>
   Date:   Mon Sep 13 09:51:46 2021 -0500

       kbuild: Enable DT schema checks for %.dtb targets

       It is possible to build a single dtb, but not with DT schema validation
       enabled. Enable the schema validation to run for %.dtb and %.dtbo
       targets. Anyone building a dtb for a specific platform *should* pay
       attention to schema warnings.

       This could be supported with a separate %.dt.yaml target instead.
       However, the .dt.yaml format is considered an intermediate format and
       could possibly go away at some point if schema checking is integrated
       into dtc. Also, the plan is to enable the schema checks by default once
       platforms are free of warnings, and this is a move in that direction.

       Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
       Cc: Tom Rini <trini@konsulko.com>
       Cc: Masahiro Yamada <masahiroy@kernel.org>
       Cc: linux-kbuild@vger.kernel.org
       Signed-off-by: Rob Herring <robh@kernel.org>
       Acked-by: Masahiro Yamada <masahiroy@kernel.org>
       Link: https://lore.kernel.org/r/20210913145146.766080-1-robh@kernel.org

(From OE-Core rev: 37fb1592eb8bcc4a8bbfc3f4b1dc6373733827f0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Michael Opdenacker
1058cb38de bitbake: bitbake-user-manual: SRC_URI: mention gitsm fetcher
(Bitbake rev: 0d0e552d87c52c1f90b601698c3d54eec427ee21)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:27 +00:00
Richard Purdie
08ee6545a8 gcc: Drop no longer needed patch
This patch was mentioned upstream a long time ago:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47256

Changes from gcc 10 onward mean it is no longer needed as mentioned in the
above bug report. Drop the patch.

(From OE-Core rev: 6fca075a8d87d033359f81d476c8506df66ad53d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Yi Zhao
ac0cfb5ee4 meta-skeleton: fix warnings for append operators combined with +=
(From OE-Core rev: 619273ecb6c17efd0b4d01f17688f1b211991ca2)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Ross Burton
c6f23f1f0f oe/utils: by default cap cpu_count() to 64 cores
Larger systems may have large numbers of cores, but beyond a certain
point they can't all be used for compiling: whilst purely
compute-intensive jobs can be parallelised to hundreds of cores,
operations such as compressing (needs lots of RAM) or compiling (lots of
I/O) don't scale linearly.

For example, the Marvel ThunderX2 has 32 cores, each capable of
executing four threads, and can be configured with two sockets, making
256 CPUs according to Linux. Zstd using 256 threads has been seen to
fail to allocate memory during even small recipes such as iso-codes.

Add a default cap of 64 CPUs to the cpu_count() method so that extreme
parallisation is limited.  64 is high enough that meaningful gains
beyond it are unlikely, but high enough that most systems won't be
effected.

(From OE-Core rev: 765d0f25ce48636b1838a5968e2dc15de2127428)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Ross Burton
317511ce1f sstate: explicitly name the checkhashes thread pool
Give this thread pool a name for clarity.

(From OE-Core rev: 57ea50fcfe81f47b93b9302d1aab2e81dcdd3105)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Ross Burton
1fb99950a2 oe/utils: allow naming threads in ThreadedPool
When looking at logs involving thread pools it is useful if the threads
can be named.

(From OE-Core rev: 18342945b021608794d83ecf567afd43f4379b24)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
cd91af372f python3-setuptools: update 58.5.3 -> 59.2.0
(From OE-Core rev: 717e538e70f78d79ba7cec2797024af0dc91aeb0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
98b85e193e python3-packaging: update 21.2 -> 21.3
(From OE-Core rev: f1b1eaf63cd0a762f149d2fed9cbef98eb7f4977)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
13588826a5 bind: update 9.16.22 -> 9.16.23
(From OE-Core rev: cf024ecc5d19876ef6bd9a93606fae64426a0e4c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
09d5a495fe vulkan: update 1.2.191.0 -> 1.2.198.0
(From OE-Core rev: 5eb61a191acfb2a7d5fdcde2657b59d0e5a81997)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
636dea9459 systemd: update 249.6 -> 249.7
(From OE-Core rev: 5671ef44cf85df00406b391f7786ffaefd05a701)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
a0d0e9f3a6 cmake: update 3.21.4 -> 3.22.0
(From OE-Core rev: 3f83264a4d84669e62e801ce1bb5e04904aec73d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
8c0eef0f65 git: update 2.33.1 -> 2.34.0
(From OE-Core rev: b2a6b1b0711a75dada8276bc3d573436ba7051df)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
30b177ce71 gptfdisk: submit patch upstream
(From OE-Core rev: 9d3e9854ea15145277ba6deebfc1e9fb4c0c9aa9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
cef1f90a15 weston: mark patch as denied
upstream has explained in the patch submisstion how the issue should be solved differently;
we should work towards that.

(From OE-Core rev: 60c0f7fb94e81e644c3b5dc87126fe32a6780239)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
e6f91350d1 elfutils: submit patch upstream
(From OE-Core rev: a71a527ecf198e2e3712ed9608b74e78e09ece0f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
5185608b60 elfutils: update 0.185 -> 0.186
Drop glibc-2.34-fix.patch merged upstream.

Rework support for error() on non-glibc targets:
upstream now provides its own implementation, so we can drop
the patch that adds ours; said implementation isn't
build-tested with tests, so ptest has to be disabled on musl.
This, in turns, allows dropping 0004-Fix-error-on-musl.patch.

License-Update: copyright years
(From OE-Core rev: 9c51ae20c0e4c0d3e7161fc6b51fca078dbf014a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
8259247df2 dpkg: replace a patch with a tweak to an already existing sed fixup
(From OE-Core rev: b9751b21f4234854f8750f1048bb54f578bd95d3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
5002ac24a7 diffstat: remove unneeded patch
(From OE-Core rev: 54ddaef8eb90998c3256a3454450fd2e1aa250d2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
2071a99eb0 apt: drop unneeded chunk from a musl patch, submit the rest upstream
Upstream has inserted guards around the use of offending constant.

(From OE-Core rev: 67cf70f17e9b7afe7ee6416f80545be57714fcd9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
87b121eac3 ell: remove unneeded patch
Upstream added internal implementation shortly after the patch was added.

(From OE-Core rev: f72df428904921cb87223de4e72e784e97208e8f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
d9f44a5862 glib-2.0: submit patch upstream
(From OE-Core rev: 82288f0b1eb3189d14a006d2fa1844bc9d6303c1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
0ec51bf52a logrotate: add a link to upstream review for one of the patch
The patch author (Robert Yang) has been asked by email
to rework the patch.

(From OE-Core rev: 42b0ae35701ec459f621b9b2a3bc350c02c7267f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 10:00:10 +00:00
Alexander Kanavin
964e3c4445 groff: include references to corresponding upstream commits in a patch
(From OE-Core rev: 818684b458f20a66c26db5138d7ee185f5b790f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:59:37 +00:00
Bruce Ashfield
cccb8f4242 kernel-yocto: conditionally enable stack protection checking on x86-64
The kernel Makfile uses pkgconfig to check for libelf when enabling
CONFIG_STACK_VALIDATION. We already have libelf in our DEPENDS, but
the kernel Makefiles hardcode 'pkgconfig', so fail to pick up our
pkgconfig-native binary that would report the correct flags and paths
for libelf support.

Rather than patching the kernel Makefile's to use pkgconfig-native,
we can use the KERNEL_EXTRA_ARGS variable to pass the definition of
HOST_LIBELF_LIBS via the kernel build commmand line.

We conditionally set HOST_LIBELF_LIBS based on "stack" being in
a newly introduced variable KERNEL_DEBUG_OPTIONS. The value of
HOST_LIBELF_LIBS is the same as pkgconfig-native would set in a
kernel build (but we cannot call pkgconfig at the point this
variable is set).

(From OE-Core rev: 0ad2b69dace6ac851c1f0bdae6a3c41045fc2d1d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Bruce Ashfield
30d1eb3841 linux-yocto/5.10: update to v5.10.79
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    bd816c278316 Linux 5.10.79
    62424fe4c2cf rsi: fix control-message timeout
    8971158af1e0 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init
    1cf43e928954 staging: rtl8192u: fix control-message timeouts
    9963ba5b9d49 staging: r8712u: fix control-message timeout
    844b02496eac comedi: vmk80xx: fix bulk and interrupt message timeouts
    b7fd7f3387f0 comedi: vmk80xx: fix bulk-buffer overflow
    33d7a470730d comedi: vmk80xx: fix transfer-buffer overflows
    ef143dc0c3de comedi: ni_usb6501: fix NULL-deref in command paths
    786f5b034504 comedi: dt9812: fix DMA buffers on stack
    86d4aedcbc69 isofs: Fix out of bound access for corrupted isofs image
    c430094541a8 staging: rtl8712: fix use-after-free in rtl8712_dl_fw
    ab4af56ae250 printk/console: Allow to disable console output by using console="" or console=null
    07d1db141e47 binder: don't detect sender/target during buffer cleanup
    42681b90c4db usb-storage: Add compatibility quirk flags for iODD 2531/2541
    1309753b7841 usb: musb: Balance list entry in musb_gadget_queue
    27409143122f usb: gadget: Mark USB_FSL_QE broken on 64-bit
    94e5305a3816 usb: ehci: handshake CMD_RUN instead of STS_HALT
    a8db6fd04d58 Revert "x86/kvm: fix vcpu-id indexed array sizes"
    ecf58653f1e4 KVM: x86: avoid warning with -Wbitwise-instead-of-logical

(From OE-Core rev: 3356c5e7acc86be2e1584819a70e984d984b0d9c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Bruce Ashfield
0aa9d253b8 linux-yocto/5.14: update to v5.14.18
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    a0265dd8262d Linux 5.14.18
    1379769b0b46 rsi: fix control-message timeout
    eda57a310234 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init
    5013f2aaf959 staging: rtl8192u: fix control-message timeouts
    f3422d1fceba staging: r8712u: fix control-message timeout
    373ac8c59414 comedi: vmk80xx: fix bulk and interrupt message timeouts
    7b0e35618932 comedi: vmk80xx: fix bulk-buffer overflow
    278484ae9329 comedi: vmk80xx: fix transfer-buffer overflows
    4a9d43cb5d5f comedi: ni_usb6501: fix NULL-deref in command paths
    3ac273d154d6 comedi: dt9812: fix DMA buffers on stack
    b2fa1f52d22c isofs: Fix out of bound access for corrupted isofs image
    befd23bd3b17 staging: rtl8712: fix use-after-free in rtl8712_dl_fw
    bec32c40e438 binder: don't detect sender/target during buffer cleanup
    68abe9aefc40 binder: use cred instead of task for getsecid
    46088365bab7 binder: use cred instead of task for selinux checks
    fbb106e79524 binder: use euid from cred instead of using task
    f9b4ef2504bb Revert "proc/wchan: use printk format instead of lookup_symbol_name()"
    4674de4e2734 usb-storage: Add compatibility quirk flags for iODD 2531/2541
    6be11f54f5d4 usb: musb: Balance list entry in musb_gadget_queue
    d7f4ffba71d0 usb: gadget: Mark USB_FSL_QE broken on 64-bit
    d3c7daab289d usb: ehci: handshake CMD_RUN instead of STS_HALT
    a4cdb4c9c453 Revert "x86/kvm: fix vcpu-id indexed array sizes"
    2f63111ab86f KVM: x86: avoid warning with -Wbitwise-instead-of-logical
    f468cbedb2a7 ALSA: pci: cs46xx: Fix set up buffer type properly
    186155ac272e ALSA: pcm: Check mmap capability of runtime dma buffer at first

(From OE-Core rev: 7f09947f9fc12f7b548f18573ffbc452837527bd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Bruce Ashfield
116d8a3321 linux-yocto/5.15: update to v5.15.2
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    7cc36c3e14ae Linux 5.15.2
    5dbe126056fb rsi: fix control-message timeout
    7d6f8d3bab72 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init
    4787caef521c staging: r8188eu: fix memleak in rtw_wx_set_enc_ext
    8f60f9f6ee24 staging: rtl8192u: fix control-message timeouts
    9033490a3fef staging: r8712u: fix control-message timeout
    3a66e8a661a4 comedi: vmk80xx: fix bulk and interrupt message timeouts
    47b4636ebdbe comedi: vmk80xx: fix bulk-buffer overflow
    06ac746d57e6 comedi: vmk80xx: fix transfer-buffer overflows
    d6a727a681a3 comedi: ni_usb6501: fix NULL-deref in command paths
    20cebb8b620d comedi: dt9812: fix DMA buffers on stack
    e7fb722586a2 isofs: Fix out of bound access for corrupted isofs image
    a65c9afe9f2f staging: rtl8712: fix use-after-free in rtl8712_dl_fw
    a0041453ff9e btrfs: fix lzo_decompress_bio() kmap leakage
    d5dd3b44488b kfence: default to dynamic branch instead of static keys mode
    93ce7441001f kfence: always use static branches to guard kfence_alloc()
    5e57d171e2e6 binder: don't detect sender/target during buffer cleanup
    6e8813eadf8b binder: use cred instead of task for getsecid
    3f3c31dd0f8c binder: use cred instead of task for selinux checks
    ff1bd01f490b binder: use euid from cred instead of using task
    ec7c20d41714 Revert "proc/wchan: use printk format instead of lookup_symbol_name()"
    2e93afda0520 usb-storage: Add compatibility quirk flags for iODD 2531/2541
    ad5df979295b usb: musb: Balance list entry in musb_gadget_queue
    72a9bf9bb16a usb: gadget: Mark USB_FSL_QE broken on 64-bit
    adb1902a1246 usb: ehci: handshake CMD_RUN instead of STS_HALT
    aa8a82d6db0b Revert "x86/kvm: fix vcpu-id indexed array sizes"
    26ac7dec7ff0 KVM: x86: avoid warning with -Wbitwise-instead-of-logical

(From OE-Core rev: 0fe8d5a28d1161c152bf64cd67053b8f51fc7073)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Denys Dmytriyenko
f3b7489492 wayland-protocols: upgrade 1.23 -> 1.24
wayland-protocols 1.24 is now available.

This release adds feedback to the DMA buffer protocol, allowing smarter and
more dynamic DMA buffer allocation semantics. Other changes include
documentation improvements and improved testing infrastructure.

This is also the first release of wayland-protocols that do not include a
autotools build description.

https://lists.freedesktop.org/archives/wayland-devel/2021-November/042039.html

Disable build-time tests as they want to cross-compile in an allarch package:

| # Check buildability
| add_languages('c', 'cpp', native: false)

(From OE-Core rev: 08bf9f59ede30918e0cf8763cd2714734bb02b9f)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Richard Purdie
78bb5ff943 glibc: Fix i586/c3 support
CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly
to fix those builds.

[YOCTO #14632]

(From OE-Core rev: 26e4fed594daefb6923c50171360f925c4822683)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Pavel Zhukov
1a2eccb76e go: upgrade 1.16.8 -> 1.16.10
The release includes fixes for CVE-2021-41771 and CVE-2021-41772

(From OE-Core rev: 69c68f470e8e12456a4d9abf2d1c33b857e4ea37)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Khem Raj
46d287faa6 image: Include psplash only when screen machine feature is enabled
base-image boots in degraded mode when using systems without display
system since there is no fb device detected and pslash service would
fail to start. Removing this image feature means that core-image-base is
complete for headless devices

[RP: tweak the false case so it builds]
(From OE-Core rev: 7a6dbad7bf12d2f27f21a81a31a5173cacb49228)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Schmidt, Adriaan
9d1697e51d wic: support rootdev identified by partition label
We already support specifying the rootfs by PARTUUID. This adds general
support for letting the kernel find the rootfs by PARTLABEL.

(From OE-Core rev: 2fb247c5ecf057bb96649a3c0234794b4991c050)

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Richard Purdie
64444fae57 bitbake.conf: Pass -D option to ranlib for determisim
Add the -D option to BUILD_RANLIB so that deterministic archives
are built for native/cross output. This improves the changes of hash
equivalence matches and hence build artefact reuse.

We don't need this in the target case since we compile binutils-cross
with an option making this the default.

(From OE-Core rev: f5d136f5a9c14e6629a47bf3e796f1d951ed998b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Richard Purdie
3ddbfe0b15 buildhistory: Fix do_package race issues
The buildhistory_list_pkg_files function uses data from do_package, not
do_packagedata. Usally the two are restored together but it may see
a half complete directory or other races issues depending on timing.

Rework the function so that it uses the correct task dependencies. This
should avoid races but means the data is only restored to buildhistory
if the do_package or do_package_setscene tasks are restored.

(From OE-Core rev: b83823ce44e7531bbd2bfa62062c04147a11f724)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:53 +00:00
Khem Raj
60409917ea glibc-tests: Do not set SYSTEMD_SERVICE
These are glibc specific which comes from glibc packaging class

(From OE-Core rev: 9febfe70507035fd75b0aeb108b1bbb6996f9b78)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 14:04:02 +00:00
Richard Purdie
d804138674 ptest-packagelists: Handle glibc vs musl for ptest
(From OE-Core rev: f7bcb67342b4ee754b699c4c2f3b1a49bb8473b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 14:04:02 +00:00
Lukasz Majewski
0e0c481a25 glibc: ptest: Add running glibc time related test suite (Y2038) with ptest
This patch introduces new recipe - namely 'glibc-tests', which
builds and installs time related (to check if Y2038 support works) glibc
test suite to OE/Yocto built image.

It reuses code from already available 'glibc-testsuite' recipe,
which is run with 'bitbake glibc-testsuite -c check' and uses qemu
to execute remotely (via SSH) tests on some emulated machine.

This recipe installs time related glibc tests on some rootfs image.
Afterwards, those tests can be executed on the real hardware, to
facilitate validation of it with Y2038 problem compliance.

To test time related subset - one needs to call:
ptest-runner glibc-tests
then change the date after Y2038 threshold for 32 bit systems:
date -s "20 JAN 2038 18:00:00"
and then run ptest-runner again.

To facilitate debugging, source files are provided by default with
the unstripped debugging symbols. Such approach would reduce the
already complex recipe (as it inherits base glibc one), so there
is no need to also install *-dbg and *-src packages.

(From OE-Core rev: 0a64888e033694e7a68f12df81ef8edfdca0ba3c)

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 14:04:02 +00:00
Ross Burton
8dcf032592 gmp: fix CVE-2021-43618
(From OE-Core rev: fb3b9a7f668a6ffd56a99e1e8b83cdbad2a4bc66)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
70f0a4394f libjpeg-turbo: upgrade 2.1.1 -> 2.1.2
Significant changes relative to 2.1.1:
Fixed a regression introduced by 2.1 beta1[13] that caused the remaining
GAS implementations of AArch64 (Arm 64-bit) Neon SIMD functions
(which are used by default with GCC for performance reasons) to be placed in
the .rodata section rather than in the .text section.
This caused the GNU linker to automatically place the .rodata section in
an executable segment, which prevented libjpeg-turbo from working properly
with other linkers and also represented a potential security risk.

Fixed an issue whereby the tjTransform() function incorrectly computed the
MCU block size for 4:4:4 JPEG images with non-unary sampling factors and
thus unduly rejected some cropping regions, even though those regions aligned
with 8x8 MCU block boundaries.

Fixed a regression introduced by 2.1 beta1[13] that caused the build system
to enable the Arm Neon SIMD extensions when targetting Armv6 and other legacy
architectures that do not support Neon instructions.

libjpeg-turbo now performs run-time detection of AltiVec instructions on
FreeBSD/PowerPC systems if AltiVec instructions are not enabled at compile time.
This allows both AltiVec-equipped and non-AltiVec-equipped CPUs to be supported
using the same build of libjpeg-turbo.

cjpeg now accepts a -strict argument similar to that of djpeg and jpegtran,
which causes the compressor to abort if an LZW-compressed GIF input image
contains incomplete or corrupt image data.

(From OE-Core rev: f0740dd1ad0eabc57cc30cc9bdb891b2ccd18caa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
0e7d1889aa python3-mako: upgrade 1.1.5 -> 1.1.6
Fixed issue where control statements on multi lines with a backslash would
not parse correctly if the template itself contained CR/LF pairs as on
Windows.

(From OE-Core rev: 2fa42b223a9bdafd52a7feb335001ef0b5713af8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
b781b1f240 mesa: upgrade 21.2.5 -> 21.3.0
New features:
VK_EXT_color_write_enable on lavapipe
GL_ARB_texture_filter_anisotropic in llvmpipe
Anisotropic texture filtering in lavapipe
VK_EXT_shader_atomic_float2 on Intel and RADV.
VK_EXT_vertex_input_dynamic_state on RADV.
VK_KHR_timeline_semaphore on lavapipe
VK_EXT_external_memory_host on lavapipe
GL_AMD_pinned_memory on llvmpipe
GL 4.5 compatibility on llvmpipe
VK_EXT_primitive_topology_list_restart on RADV and lavapipe.
ES 3.2 on zink
VK_KHR_depth_stencil_resolve on lavapipe
VK_KHR_shader_integer_dot_product on RADV.
OpenGL FP16 support on llvmpipe
VK_KHR_shader_float16_int8 on lavapipe
VK_KHR_spirv_1_4 on lavapipe
Experimental raytracing support on RADV
VK_KHR_synchronization2 on Intel
NGG shader based culling is now enabled by default on GFX10.3 on RADV.
VK_KHR_maintenance4 on RADV
VK_KHR_format_feature_flags2 on RADV.
EGL_EXT_present_opaque on wayland

(From OE-Core rev: 5b5d29650b7fc2183df5129ef7f7ba855699b57c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
baa47e8e15 libcap: upgrade 2.60 -> 2.61
better number parsing in capsh and setcap;
fixed segfaulting in .so executables;
added example of capable shared library object.

(From OE-Core rev: b14f4f2195538e11a216a008f51e08ce1867c8b5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
3cfa8735d5 python3-scons: upgrade 4.2.0 -> 4.3.0
NOTE: 4.3.0 now requires Python 3.6.0 and above. Python 3.5.x is no longer supported

Changelog:
- Default hash algorithm check updated for SCons FIPS compliance. Now checks for hash viability
  first and then walks the tree to use the first viable hash as the default one. This typically
  selects SHA1 on FIPS-enabled systems less than Python 3.9 as the new default instead of MD5,
  unless SHA1 has also been disabled by security policy, at which point SCons selects SHA256
  as the default. For systems running Python 3.9 and later, the hashlib bug has been fixed,
  and SCons will once again default to MD5 as the preferred algorithm.
- Fix MSVS tests (vs-N.N-exec.py) for MSVS 6.0, 7.0, and 7.1 (import missing module).
- Add support for Visual Studio 2022.
- Fix reproducible builds. Restore logic respecting SOURCE_DATE_EPOCH when set.
- Fix version tests to work with updated scons --version output. (Date format changed)
- Fix issue #4021.  Change the way subst() is used in Textfile() to not evaluate '$$(' -> '$',
  but instead it should yield '$('.
- Change SCons.Platform.win32.get_architecture() to return platform.platform() when run in an
  environment where neither: PROCESSOR_ARCHITEW6432 nor PROCESSOR_ARCHITECTURE is set.
  This should fix platform tests which started failing when HOST_OS/HOST_ARCH changes
  introduced by Aaron Franke (listed below) were merged.
- Further PCH updates. It's now recommended that env['PCH'] should always be a File node.
  Either via return value from env.PCH() or by explicitly using File('StdAfx.pch').
- Added --no-ignore-skips to runtest.py. Changed default to ignore skips when setting
  runtest.py's exit status. Previously would exit 2 if any tests were skipped.
  Now will only exit 2 if user specifies --no-ignore-skips and some tests were skipped.
- Small fix to ensure CLVar default value is an empty list.
  See MongoDB bug report: https://jira.mongodb.org/browse/SERVER-59656
  Code contributed by MongoDB.
- Ninja - Fixed an issue where if you control-c and/or killed ninja while it was running scons to
  regenerate build.ninja you would end up with no build.ninja file and have to rerun scons from scratch.
  Code contributed by MongoDB.
- Define HOST_OS and HOST_ARCH in the environment for all platforms.
  Before this change, these were only defined for Win32 and OS/2.
- Fix ninja tool to never use for_sig substitution because ninja does not use signatures. This
  issue affected CommandGeneratorAction function actions specifically.
- Expanded ninja Mkdir to also support Mkdir actions.
- Added support for the PCH environment variable to support subst generators.
- Fix command line escaping for ninja dollar sign escape. Without escaping ninja properly,
  the ninja file scons regenerate and callback invocations will lose the $ characters used in
  the scons command line which ninja uses itself for escaping. For Example:
      scons BUILD=xyz OTHERVAR=$BUILD
  Prior to this fix, it would cause ninja to fail to escape the dollar sign, leading to the
  single dollar sign being used as a ninja escape character in the ninja file.
- Added ninja API 'NINJA_FORCE_SCONS_BUILD' to force a node to callback to scons.
- Two small Python 3.10 fixes: one more docstring turned into raw
  because it contained an escape; updated "helpful" syntax error message
  from 3.10 was not expected by SubstTests.py and test/Subst/Syntax.py
- EmitterProxy rich comparison set is completed (checker warning).
  Added __le__, __gt__, __ge__.
- Fix gcc/g++ tool failing if "gcc --version" returns text which fails
  to_String conversion (i.e., not UTF-8) - failure happens when tool
  initialization checks version. For gcc, the initial version string is
  not translated, for the rest, don't convert, just consume raw and discard.
- Maintenance and doc: modernize some usage in Scanner package,
  calling super(), switching some imitialization to comprehensions,
  and code formatting.  Docstring for scanner Base moved from
  init-method to class-level so it's picked up by Sphinx.
  Added new sconsign filenames to skip_entry_list in Scanner/Dir.py
- Change SCons.Scanner.Base to ScannerBase. Old name kept as an alias
  but is now unused in SCons itself.
- Call Variables option converter consistently - the converter should
  have access to the env if it needs to (issue #2064).
- Fixed the variables Add() method to accept a tuple for the variable
  name the same way AddVariables() does (issue #3869).
- The premade validator PathIsDirCreate for for PathVariable now catches
  the case where the directory could not be created due to permission
  problems, allowing a more helpful error to be emitted (issue #2828)
- Maintenance: Python thread.setDaemon is deprecated in favor of
  directly updating daemon attribute - update SCons to do this.
- Make sure when subst'ing a callable, the callable is called with
  the correct for_signature value, previously it would be true even
  if doing SUBST_RAW (issue #4037)
- Update Util/NodeList implementation to get rid of a workaround for
  early Python 3 slicing issue that is no longer a problem.
- Rework some Java tests to skip rather than fail on CI systems, where
  the working java is > v9, but a 1.8 or 9 was also found.
- Java updates: on Windows, detect more default JDK install locations.
  On all platforms, more Java versions (up to 17.0 now).  Add more information
  on version selection to docs.
  Update docs on JavaH tool in light of javah command dropped since 10.0.
  Try to be better about preserving user's passed-in JAVA* construction vars.
- Start the deprecation of the qt tool, which refers to Qt3 (usupported
  since around 2006). There's a deprecation warning added, initially
  defaulting to disabled.
- Fix crash when scons is run from a python environement where a signal
  is set from outside Python.

(From OE-Core rev: bd7b202e09dbf6749271ff57fed5296c2f8fed4a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
6a19373dc0 systemtap: upgrade 4.5 -> 4.6
support for 64-bit RISC-V architecture, liveness analysis for guru-mode write operations,
bpf syscall_any and abort() tapsets, bpf foreach iteration of multi-key arrays,
return of inter-cpu output ordering

Changelog is as follows:
= SystemTap frontend (stap) changes
- stap-prep now tries to download the main kernel debuginfo file from
  a debuginfod server, if configured.

= SystemTap backend changes
- SystemTap has added support for the 64-bit RISC-V architecture.
- SystemTap now uses DynInst to perform a liveness analysis on
  target variables and warn when a guru-mode modification to a variable
  will have no effect. The liveness analysis is currently done on
  x86_64, PowerPC, and AArch64.
- The kernel-user relayfs transport again sorts messages into a total
  time order across CPUs.  High output-volume scripts may need a
  larger "-s BUF" parameter to reliably transfer.  "-b" bulk mode
  is also available again as an alternative.
- The bpf backend now supports foreach iteration in multi-key associative arrays.

= SystemTap tapset changes
- Updated syscall_any tapset mapping to include newer syscalls.
- syscall_any tapset can be used by the bpf backend.
- abort() tapset can be used by the bpf backend.

= Known issues with this release
- There are known issues on kernel 5.10+ after adapting to set_fs()
  removal, with some memory accesses that previously returned valid data
  instead returning -EFAULT (see PR26811).
- An sdt probe cannot parse a parameter that uses a segment register.
  (PR13429)
- The presence of a line such as
      *CFLAGS += $(call cc-option, -fno-var-tracking-assignments)
  in older linux kernel Makefile unnecessarily reduces debuginfo quality,
  consider removing that line if you build kernels.  Linux 5.10+ fixes this.

= Bugs fixed for this release <https://sourceware.org/PR#####>
6562     $SYSTEMTAP_DEBUGINFO_PATH does not work
15724     stapdyn looking for libdyninstAPI_RT.a
26839     Systemtap build failures with clang
27820     abort() tapset not implemented in the bpf mode
27829     support for floating point values passed through sdt.h markers
27864     loc2stap.cxx assertion failure on loc_unavailable type location, rawhide
27881     failed to extend vma mapped entry when the address is adjacent
27903     handle f33 glibc $$parms
27932     List Python as a prerequisite in README
27933     Use of unitialized functioncall synthetic field in
27934     failure to attach statement
27940     The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")'
27942     testsuite/systemtap.base/perf.sh drop bashism
27984     stap skipping partially-inlined instance, but it is not inline function actually
28070     extend vma end address to the different module
28079     adapt to kernel 5.14 task_struct.__state change
28084     autoconf-x86-uniregs.c compile failled with -Werror cause STAPCONF_X86_UNIREGS missing
28140     kernel panic on tracepoint activation in stap module
28184     task_fd_lookup failed on linux 5.11
28244     linux objtool imposes symbol length limits on generated function names
28384     finish nfs_proc tapset port 4.3 string server_ip
28443     Provide syscall_any tapset for bpf
28449     loss of cross-cpu output ordering
28544     procfs_bpf.exp regression due to string handling error
28557     module kprobe insertion on modern kernels

(From OE-Core rev: 99ed4a3d78f8224d414bd49d887333a4509529f3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
bb91342d8b stress-ng: upgrade 0.13.06 -> 0.13.07
(From OE-Core rev: d1557f552c6945803642ea78f26bc2082a29bc22)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Richard Purdie
96f552377a buildhistory: Fix srcrevs output
The code was assuming that the a recipe with only one srcrev wouldn't "name"
it. This isn't the case as the glibc or bzip2 recipes show, you can have
a single srcrev which is named.

We can pull the data from the fetcher and in fact we already have it, we just
need to handle the "default" case and make that code the default for all srcrev
regardless of length.

[YOCTO #14017]

(From OE-Core rev: 45ae567932ba52b758eb41754453e9828d9533a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Richard Purdie
4819440904 buildhistory: Drop support for older bitbakes
We've bumped the minimum bitbake version past the point this fallback code
was needed, drop it.

(From OE-Core rev: c45ad27f3c43c9bbde5c4d19237411fdbc66920e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Joshua Watt
7574868367 classes/crate-fetch: Ensure crate fetcher is available
Reworks the crate fetcher class to have it install the fetcher at recipe
finalization so that it is always available before SRC_URI is expanded.
In addition, override the value of SRCPV to also install the fetcher
when SRCPV is expanded so that AUTOREV works.

[YOCTO #10867]

(From OE-Core rev: bc66c5dd65fb654af5cd91b47f9b4f7a5f53436e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Vyacheslav Yurkov
e7666d7cb8 rootfs-postcommands: update systemd_create_users
Process all systemd-sysusers configuration files in order to create
users/groups at build time. systemd-sysusers would try to create them at
run-time, but for read-only rootfs that's not possible and results in
warnings from different services:

systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring
systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring
systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:42 Unknown group 'sgx', ignoring

(From OE-Core rev: f86ffdb1b77c6ba32ec250545a40c1c54f983f21)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Joshua Watt
08a86c3646 classes/meson: Add optional rust definitions
Adds the rust tools to the cross and native files if present so that
projects that use both rust and meson can build

(From OE-Core rev: 0ec40fa3aff233bd0dde0461299150786da956ef)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Yi Zhao
a20e6a8a85 oeqa: fix warnings for append operators combined with +=
(From OE-Core rev: f2504115f08b173d919d9abe507a0ba440b0d4df)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Pgowda
8c5e589df8 rust-cross: Replace TARGET_ARCH with TUNE_PKGARCH
rust-cross-* imported from meta-rust has incorrect signatures,
depending on MACHINEOVERRIDES making it effectively MACHINE_ARCH
as shown by sstate-diff-machines.sh:

openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc \
--machines="qemuarm64 qemuarm64copy" --targets=rust-cross-aarch64-glibc \
--analyze

 === Comparing signatures for task do_configure.sigdata between
 qemuarm64 and qemuarm64copy ===
ERROR: gcc-runtime different signature for task do_configure.sigdata
between qemuarm64 and qemuarm64copy
NOTE: Starting bitbake server...
Hash for dependent task gcc/gcc-runtime_11.2.bb:do_prepare_recipe_sysroot
changed from
da4ebf1b272cb73153145a0a95e6438d2955ae2d36f84db10f6880b2781ec331 to
47a0ebb7a88c9f896fb9dbce269f575ab8a6faabb2b9e62d164be6e71c5e4e40
Unable to find matching sigdata for
openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.2.bb:
do_prepare_recipe_sysroot with hashes
da4ebf1b272cb73153145a0a95e6438d2955ae2d36f84db10f6880b2781ec331 or
47a0ebb7a88c9f896fb9dbce269f575ab8a6faabb2b9e62d164be6e71c5e4e40

The following patch takes TUNE_PKGARCH into consideration instead
of TARGET_ARCH and results in signatures as expected.

[YOCTO #14613]

RP: Added maintainer.inc corresponding change
(From OE-Core rev: bcf48766d1123cea41f80b0cb687584692c96158)

Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Michael Opdenacker
cdab3b7c31 bitbake: bitbake-user-manual: fix backslash issues
(Bitbake rev: ffd87a89393f25924f53dbc86dcf5a98c3a8d0ff)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:28:11 +00:00
Richard Purdie
37dcb8b372 bitbake: bitbake-user-manual: Remove newline string in MIRRORS/PREMIRRORS
This syntax is obsolete, update to the correct modern version.

(Bitbake rev: 744e9a4c2b6f44116435feb62ac64ff256c752e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:28:11 +00:00
Michael Opdenacker
2b3f944592 bitbake: bitbake-user-manual: add missing reference
(Bitbake rev: d05529cc322ba9198edc12954b982729fc628fa0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:25:39 +00:00
Michael Opdenacker
a34060c956 bitbake: bitbake-user-manual: fix typo
(Bitbake rev: 3ebaba2b2eada35e26c1105291de0d85bd6d2bb8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:25:39 +00:00
Michael Opdenacker
28aa26c152 bitbake: bitbake-user-manual: quoting fixes
(Bitbake rev: 0ac887253e6b2df187bcbac0b060dd39920538af)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:25:39 +00:00
Steve Sakoman
35cdb70406 ref-system-requirements.rst: Add openSUSE Leap 15.2 to list of supported distros
(From yocto-docs rev: 895ce3b9dda96a049c92754cf06eb34635097861)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Michael Opdenacker
2a550cceae documentation: prepare for 3.1.12 release
(From yocto-docs rev: d97525982602db05e31b89a9076c93420974fd68)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Steve Sakoman
f4de0f7fcd ref-system-requirements.rst: Add Fedora 33 and 34 to list of supported distros
(From yocto-docs rev: b85b532b8360756798c08482b94758d5df55f5ed)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Steve Sakoman
941a08f379 ref-system-requirements.rst: Add Debian 11 to list of supported distros
(From yocto-docs rev: aa212ce6c6fb9b92e0cf4e32ae8d2458aab4a055)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Michael Opdenacker
ed2880fbda ref-manual: simplify SRC_URI reference
After some features that also apply to BitBake
were moved to the BitBake manual.

(From yocto-docs rev: 1415521656427f351ab2d3f8bc498130c4653396)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Michael Opdenacker
ea0bc63dec ref-manual: BBFILES_DYNAMIC - fix punctuation and quoting issues
(From yocto-docs rev: a798e1172ac507549ad36c0cfd4b92f53a1bef87)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Michael Opdenacker
5c85099acc ref-manual: remove reference to TOPDIR
Already described in BitBake's manual
As it is not specific to OE / Yocto Project

(From yocto-docs rev: 150d5e938e9f413ade8bd6211ee7d55a2819a431)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:00 +00:00
Robert P. J. Day
7e8f513910 ref-manual: generalize definition of "container layer"
Given that there seems to be little value in being excruciatingly
pedantic about whether a container layer has a valid layer as a
top-level directory, expand the definition to allow either.

(From yocto-docs rev: 95e5df9a51a7cda6588af523a3a0d6752613f189)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:00 +00:00
Richard Purdie
ffe4af4feb bitbake: fetch2: Fix url remap issue and add testcase
Using "" as a target for .replace() is a really bad idea as it duplicates the replacement
for every character in the string. Add a testcase which triggered this and correct the
code to return the correct result.

(Bitbake rev: 3af1ecf049d2eed56f6d319dc7df6eb4a3d4eebc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:51 +00:00
Richard Purdie
273b124bf6 bitbake: utils: Handle lockfile filenames that are too long for filesystems
The fetcher mirror code can go crazy creating lock filenames which exceed the
filesystem limits. When this happens, the code will loop/hang.

Handle the filename too long exception correctly but also truncate lockfile
lengths to under 256 since the worst case situation is lockfile overlap
and lack of parallelism.

(Bitbake rev: 63baf3440b16e41ac6601de21ced94a94bdf1509)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:51 +00:00
Mingli Yu
a3b12619ba wic: use shutil.which
Use shutil.which to find the executable instead to silence the below warning:
 $ cat tmp/work/intel_x86_64-poky-linux/core-image-base/1.0-r5/temp/log.do_image_wic
 [snip]
 DEBUG: Executing shell function do_image_wic
 /path/layers/oe-core/scripts/wic:27: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils import spawn
 INFO: Creating image(s)...
 [snip]

[RP: Added conversion for missed function reference]
(From OE-Core rev: 3966cbf5c8a2dbc3a4f0f3eefdbeeb83f522bf87)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Ulrich Ölmann
b16100422f gstreamer1.0-plugins-base: add support for graphene
(From OE-Core rev: bc2e2ad6a9912ac36d9bbf6108f60d28eea3fc47)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Andres Beltran
7869000827 create-spdx: Fix key errors in do_create_runtime_spdx
Currently, the do_create_runtime_spdx task fails with a Key Error if a
dependency is not contained in the package providers dictionary. Add a
check before using "dep" as a key in "providers".

(From OE-Core rev: 140ce5ef5e8f10251091660e3ef76f315f409076)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Saul Wold
3b836f5817 create-spdx: Protect against None from LICENSE_PATH
If LICENSE_PATH is not set, then the split() will fail on a NoneType.

(From OE-Core rev: d6260decae6d2654f6e058f12ca02d582a8ef5a4)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Saul Wold
e1e8531c64 create_spdx: ensure is_work_shared() is unique
There is a function with the same name is_work_shared() in the archiver class
this causes a conflict when both classes are included. Use work-shared as the
check in WORKDIR to allow for other packages beyond the kernel and gcc that
use a common shared-work source directory.

(From OE-Core rev: 18eab77ee65c73b17225e69c7ba446ab1c69fa92)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Daniel Gomez
dbf4c65541 os-release: Add DISTRO_CODENAME as vardeps for do_compile
DISTRO_CODENAME is part of VERSION variable but not used as dependency
for do_compile task. Append it to the vardeps list to rebuild in case it
changes.

(From OE-Core rev: ee0345057459c6d77fb64902a955e836c6c1e8e4)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
a5fa7f0101 librsvg: submit system-deps patch upstream
(From OE-Core rev: c8ffbd04aeb91096bfbc6922092ccadbb8e1848f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
f1cd79a999 busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch
This was added 10 years ago, is almost certainly non-upstreamable
and it isn't clear what the issues it aims to fix are:
the AB revealed no problems when the patch is removed.

(From OE-Core rev: e4831586ee03f189f7cf90aa444f7dc71544d3ec)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
d93aa6305e slang: mark patch as inappropriate for upstream submission
(From OE-Core rev: a693275cbe710b140b0dca4e265fe812ad70a4e8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
e7ab3d8c82 expect: do not install examples, drop related patch
There is really no reason to install them; this was done
in the original recipe submission for unexplained reasons.

(From OE-Core rev: 34f07b88167e0ee6499efbc53142ba0a8dcc3117)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
0fb9f5eff3 numactl: add missing Upstream-Status to a patch
(From OE-Core rev: 33c2da75c5de1c89ea1ee423b175f8c78d674c40)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
8625310c8a rust-hello-world: add missing Upstream-Status to a patch
(From OE-Core rev: 582d379ac389b365df640e81310d5e322f30c13a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
bb5fb6bc6d libnl: add missing Upstream-Status tag
(From OE-Core rev: 1dde11fe8eddf616e97e1914977c60f23c1a82a7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
3e860e63af kea: add missing Upstream-Status to a patch
(From OE-Core rev: e6473c8d4a3f4150b1e226f2143664e4d7cf1df8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
8d933bf059 unfs3: add missing Upstream-Status tag
(From OE-Core rev: 52b0bfdd6ec0b65cad2d39007886b2198d29478d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
e14d46a44d libxml2: add missing Upstream-Status tag
(From OE-Core rev: 9b79981f3c9a677121a46f4d6d8c899100fee753)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
8091f7cb17 autoconf: add missing Upstream-Status to patches
All of them seem like very old, very oe specific tweaks; please adjust otherwise.

(From OE-Core rev: c9c0f7569559aa334f7b8f4486b70ead13226c11)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
b3ac015389 patches: correct whitespace/spelling for Upstream-Status tags
(From OE-Core rev: c613ca14c35a5d1782c79a25b83875cbfa2b952b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
cd610f1dca libsamplerate0: update 0.1.9 -> 0.2.2
Upstream moved to github.

Drop both patches: alsa configuration merged upstream,
shared version info fixed upstream.

License-Update: urls changed to github.

(From OE-Core rev: 7676e4964ab53b101f95aef469490643f9d1f52c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
d83f879bfb librsvg: update 2.52.3 -> 2.52.4
(From OE-Core rev: 9c7e978593e013bf720887955b5770ccb529eade)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
0dabf47665 curl: update 7.79.1 -> 7.80.0
(From OE-Core rev: 2c290dee4a1f951a9aa4af7252edace91f61e967)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
fe34eaef8d librstd-rs: submit patches upstream
(From OE-Core rev: f298853c50b50e79a2802e4e1781fea9b53b5f20)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
3350a1401d xwayland: upgrade 21.1.2 -> 21.1.3
(From OE-Core rev: 9bf945400f2a88f600450040ef130aed8e91566c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
730d2d6b2c systemd: upgrade 249.5 -> 249.6
(From OE-Core rev: 4744336d854b56cdd81a19f60f6d1c659bae7147)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
1ece184c7f piglit: upgrade to latest revision
(From OE-Core rev: 4c2e7bfe0683ea31371e1d5f02e2fab57f0a760d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
437f4fae52 diffoscope: upgrade 190 -> 192
(From OE-Core rev: 69144352ecfefa596d5ec94fbc7ef3eefe9a37c1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
217dfa979d libpipeline: upgrade 1.5.3 -> 1.5.4
License-Update: http -> https

(From OE-Core rev: 25009e391f06a0a5d60cb18e4d41f1a558c0e6f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
907d3dfd30 asciidoc: upgrade 10.0.1 -> 10.0.2
(From OE-Core rev: 81fa674bf15441280473d79ac8c082a9d91a8c36)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
d15efc744a python3-pyparsing: upgrade 3.0.5 -> 3.0.6
(From OE-Core rev: 23cbfdec46d33351156cb9d0f130c1324940136b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
ce56c937f6 python3-hypothesis: upgrade 6.24.2 -> 6.24.3
(From OE-Core rev: bbc438fca12c6c5d2c003e2c0529632a764a6757)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
fea8975cc9 ccache: upgrade 4.4.2 -> 4.5
License-Update: third party version references updated

(From OE-Core rev: 5454c193ff3997523592edd40642b9a0c0f88fb4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
0d8869e82c gettext: address automake 1.16.5 failures
(From OE-Core rev: afc39549400adec43ec7da1cf0bc9537d084359d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
fbc3830ecf libunistring: address automake 1.16.5 failures
(From OE-Core rev: fe0e7e4b626c70416a0e19f339cb5d52e16b9d2c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
b5c30fb196 automake: update 1.16.3 -> 1.16.5
(From OE-Core rev: 851167b3a41b1728407d331c1666827fb730daa1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
6e61460549 unzip/zip: mark all patches as non-upstreamable
While upstream is not technically dead as of today [1], it has not made
a release in over a decade, and there is no source code repo to
rebase the patches on. If/when a new release ever comes, or someone
takes over the maintenance, we can reassess the situation with these patches.

[1] Discussion in https://sourceforge.net/p/infozip/bugs/53/

(From OE-Core rev: 982e5fa5d7ca9920e2a63b5a3f1435cf57d94345)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
00e6198079 db: mark all patches as non-upstreamable
Since Oracle relicensed bdb, the open source community
is slowly but surely replacing bdb with supported and
open source friendly alternatives.

(From OE-Core rev: b30d3a3243ac9ca2fa0f10337373eac96fdb2602)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
fc90056b3c weston: submit patch upstream
(From OE-Core rev: f265a550bc057f653aea6f3611f71525e669a9f3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
c3814b7d29 ovmf: submit patch upstream
(From OE-Core rev: 589eca0d1a4653013e2172818f8bccafdab161e5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Ross Burton
7320b2b830 scripts/lnr: remove
lnr is a script that implements the same behaviour as 'ln --relative
--symlink', as at the time of creation --relative was only available in
coreutils 8.16 onwards which was too new for the older supported distros.

Now, however, everyone has a new enough coreutils, so we can remove this
script.

All users of lnr should be replaced with ln --relative --symbolic.

(From OE-Core rev: 723b6e40f5943426364bffce7c58ade65c4abbba)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Jim Wilson
e9d2a95237 gdb-common: Add --with-liblzma-prefix in xz PACKAGECONFIG.
This fixes an arch linux gdb configure error with liblzma installed.

Without the --with-liblzma-prefix option, when configuring the target
gdb, gdb configure may find the native liblzma (on a non-multiarch
system) and try to use it, which gives a configure error.  We already
use --with-libexpat-prefix for expat, we just need to do the same for
liblzma.

This was reported here:
https://github.com/sifive/meta-sifive/issues/34
https://github.com/sifive/freedom-u-sdk/issues/148

(From OE-Core rev: 56623848f45cf475f909beb75209323a89837169)

Signed-off-by: Jim Wilson <jim.wilson.gcc@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
wangmy
ea178f4a55 ethtool: upgrade 5.14 -> 5.15
(From OE-Core rev: a8af54d73dabca557fcc7b12eca29b28517933b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Richard Purdie
278e497c31 gcc: Tweak Upstream-Status formatting
(From OE-Core rev: f05cdcb428634086c12c1a087196bd16678eda80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-19 11:05:43 +00:00
Michael Halstead
63dc9002b6 releases: update to include 3.3.4
Adding 3.3.4 to documentation switcher and release list.

(From yocto-docs rev: 468e8bfb4b9bed662f1b32b0563339d0816a7e98)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-19 11:05:20 +00:00
wangmy
3f4eaa3b05 libtasn1: upgrade 4.17.0 -> 4.18.0
* Noteworthy changes in release 4.18.0 (2021-11-09) [stable]
- Improve GTK-DOC manual.  Closes: #35.
- Improve --help and --version for tools with gnulib.  Closes: #37.
- Update gnulib files and various maintenance fixes.

refresh dont-depend-on-help2man.patch

(From OE-Core rev: 0d15632f3db787d3f08eb260732567e62f52ffb3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Ross Burton
bbe0130c5c vim: fix CVE-2021-3927 and CVE-2021-3928
(From OE-Core rev: 2001631e7a6edb7adc40ee4357466cc54472db71)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
fad54baeab python3-more-itertools: upgrade 8.10.0 -> 8.11.0
8.11.0:
New functions
The :func:`before_and_after`, :func:`sliding_window`, and :func:`triplewise` recipes from the Python 3.10 docs were added
:func:`duplicates_everseen` and :func:`duplicates_justseen` (thanks to OrBin and DavidPratt512)
:func:`minmax` (thanks to Ricocotam, MSeifert04, and ruancomelli)
:func:`strictly_n` (thanks to hwalinga and NotWearingPants)
:func:`unique_in_window`
Changes to existing functions
:func:`groupby_transform` had its type stub improved (thanks to mjk4 and ruancomelli)
:func:`is_sorted` now accepts a strict parameter (thanks to Dutcho and ruancomelli)
:func:`zip_broadcast` was updated to fix a bug (thanks to kalekundert)

(From OE-Core rev: 7767810424a79c9cb60b4ea763bc1c10efe0b73b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
aa9b00d9d2 python3-jinja2: upgrade 3.0.2 -> 3.0.3
What's Changed
update requirements by @davidism in #1524
test Python 3.10 by @davidism in #1530
test Python 3.11 by @davidism in #1531
Tests: Adapt expected traceback regexes for Python 3.11.0a1 by @hroncok in #1527
simplify CodeType rewriting by @davidism in #1536
native: keep same behavior on Python 3.10 by @mkrizek in #1537
Reduce async overhead due to auto_await by @mohd-akram in #1516
Use object.__hash__ for Node.__hash__ by @klette in #1522
Fix typos by @kianmeng in #1509
rewrite Template class doc by @davidism in #1538
remove reference to macro.defaults by @davidism in #1539
rewrite docs about extending template objects by @davidism in #1540
document chained pow order by @davidism in #1541
PackageLoader works with single module file by @davidism in #1542
release version 3.0.3 by @davidism in #1543

(From OE-Core rev: cb39ee88f1e52551dd5093558fde4c67f30580ae)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
5ce6bb75e4 python3-importlib-metadata: upgrade 4.8.1 -> 4.8.2
(From OE-Core rev: baa194f77792d7f89775d0e8bae39bae8c0a6cc0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
4e430106e0 libhandy: upgrade 1.4.0 -> 1.5.0
=============
Version 1.5.0
=============

- Introduce HdyStyleManager for managing color schemes (light/dark) and
  high contrast mode.
  - Support the cross-platform color scheme preference in the
    settings portal.
- HdyPreferencesPage
  - Remove adaptive margins to fix default window sizes
- HdyTabBar
  - Handle middle click on button release rather than press
- Various memory leak fixes
- Translation updates:
  - Brazilian Portuguese
  - Finnish
  - Indonesian
  - Portuguese
  - Serbian
  - Swedish
  - Ukrainian

(From OE-Core rev: f0af9ed17f7fb18642d116ffaa6b25323a8df231)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
a5d3f4a0ec libdrm: upgrade 2.4.107 -> 2.4.108
(From OE-Core rev: 11ad9b4fd2a8d53a472344c3b47487fccbc96f7e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
3131a1b38f libevdev: upgrade 1.11.0 -> 1.12.0
determinism.patch removed since it is included in 1.12.0

(From OE-Core rev: d2b063f64ef00ef1fe947d3a92e79876e5df541e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Alexander Kanavin
698d994e51 spirv-headers: PV should be 1.5.4
As upstream hasn't actually tagged 1.5.5, we should
continue to use 1.5.4 until it does.

(From OE-Core rev: defcc1b3be3b6207b017458763af66abde952607)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Richard Purdie
4395c9e938 glibc: Backport fix for CVE-2021-43396
Backport the fix for CVE-2021-43396. It is disputed that this is a security issue
however the fix applies easily so we may as well.

(From OE-Core rev: e8de9b01c6b305b2498c5f942397a49ae2af0cde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Richard Purdie
26ff8acdc9 lua: Backport fix for CVE-2021-43396
Backport the fix for CVE-2021-43396 ("C stack overflow with coroutines")
from upstream.

(From OE-Core rev: e74fb3f7a8171cc1293583241a9ef43a515a9320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Chen Qi
50e0aed068 waffle: add cmake-native to DEPENDS
waffle currently requires cmake-native because it has the following lines
in git/src/waffle/meson.build.

  if meson.version().version_compare('>= 0.50')
    cmake = import('cmake')

In case of 'wayland' not being in DISTRO_FEATURES, we will get the
following error at do_configure.

  | ../git/src/waffle/meson.build:233:8: ERROR: Unable to find cmake

So explictly add 'cmake-native' to DEPENDS to solve this problem.

(From OE-Core rev: 19753e7fff81a4252d0095b54d37d52db11e3f56)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Richard Purdie
5bf43c8c29 gcc: Dropping mips workaround
I've tested without this and the ptest results for mips are the same with
and without it so the issue this was fixing in gcc 9 was likely resolved
by gcc 11.

(From OE-Core rev: 567e199862acb948cb8b3361010a9ec221147c41)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Pgowda
8becce5b63 gcc: Fix CVE-2021-35465
source : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102035

Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=3929bca9ca95de9d35e82ae8828b188029e3eb70]
Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=574e7950bd6b34e9e2cacce18c802b45505d1d0a]
Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=30461cf8dba3d3adb15a125e4da48800eb2b9b8f]
Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=809330ab8450261e05919b472783bf15e4b000f7]

(From OE-Core rev: c8a1726feaf705683e80d85811ae482c6ebc3172)

Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Jose Quaresma
91fab7aa7e sstate: add a function to get the sstate file name in sstate_checkhashes
(From OE-Core rev: dc64479264bdf3d60ece02a98b65be35650f8f86)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Jose Quaresma
e7acdb37af sstate: only search on the mirrors for the missing files
The existence of missed files on the local sstate cache is the
condition to search for it on the sstate mirror.
The missed collection are populated when we search the files
on the local sstate cache.

- When we have sstate mirrors we don't need to iterate all files
again because we already know what's missing.

- When we found a file on the sstate mirror is because of they
are missing on the local sstate mirror.
So avoid checking if the hash exists on the missed collection.

- When we can't find the file on the sstate mirror we don't need
to add the hash again to the missed collection as it already exists.

(From OE-Core rev: 46e1f9a900e2be1abeda0dc540fc14040ecd0d7c)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Jose Quaresma
52b768d700 sstate: cleanup the sstate mirror progress check
We only have the progress bar when there are more than 100 objects.
So we can check for this and store the result to show the progress bar.

(From OE-Core rev: 18e7a77aa1626e11820804ad64b86a32f97da2ca)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Jose Quaresma
bcc9d8f837 shaderc: upgrade 2021.2 -> 2021.3
- SHADERC_SKIP_COPYRIGHT_CHECK is a new cmake option to skip
the copyright check and as we don't needs it we can avoid the check.
f6d6dddfab

(From OE-Core rev: 8e8b24e7c557b436b5956081c5830f9fef6a02d4)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Jose Quaresma
b3c57d8b2f glslang: upgrade 11.6.0 -> 11.7.0
(From OE-Core rev: 70df8eca65a702f3d78ff1a683d21fc826163173)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Jose Quaresma
c2a5b3f4d7 spirv-tools: upgrade 2021.3 -> 2021.4
(From OE-Core rev: c0c414b2c27c4b0fe99a3c322d06e41a9030ab64)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Jose Quaresma
2766283365 spirv-headers: bump to last master
SPIRV-Tools v2021.4 require this revision
21e3f681e2

(From OE-Core rev: 8648351d9c4fc04ded400e5853bb1025ed3ba79f)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Jose Quaresma
cb5ae9f2d2 spirv-headers: upgrade 1.5.4 -> 1.5.5
(From OE-Core rev: b26596f113ae13214cd7bdd18a78500ff6a8ce75)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Khem Raj
dbee9d7adf vulkan-samples: Enable for architectures where it builds
With last upgade it has stopped working on arm/mips/x86/rv32
basically all 32bit architectures. Until this is fixed enable it
for architectures where its known to build now.

(From OE-Core rev: d11befad88893cfc1d872c8bfadfd14eec346f41)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Khem Raj
a8f34f0110 vulkan-samples: Fix cmake errors about plain signature
Fix some typecasting errors seen on 32bit platforms with clang

(From OE-Core rev: f37d209220e2393384facf676f33fb7c68ab11e6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Yi Zhao
d3a5074c67 python3-numpy: add python3-json to RDEPENDS
Fixes:
$ python3
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/numpy/__init__.py", line 138, in <module>
    from ._version import get_versions
  File "/usr/lib/python3.10/site-packages/numpy/_version.py", line 7, in <module>
    import json
ModuleNotFoundError: No module named 'json'
>>>

(From OE-Core rev: 1b762dc1e3a91884ce649504da787266fc53e928)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Yi Zhao
a6757e4a52 python3-numpy: move recipe to python directory
This recipe had been moved out from python directory since 2016[1] in
order to share patches between python2 and python3. But now there is no
reason to keep it in its own directory as we only keep python3-nump.
Move it back to python directory.

[1] https://git.openembedded.org/openembedded-core/commit/?id=9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349

(From OE-Core rev: e5702b8ebd16949c736b8c2f18bf35c0d64d80bd)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Claus Stovgaard
6c220ed3f4 cups: Fix missing installation of cups sysv init scripts
The packageconfig needs to be --disable-systemd as documented in
configure file for cups. With the current value "--without-systemd" the
SYSTEM_DIR variable ends up being set to "no"

It is caused by the --without-* section in configure file resulting in
eval with_$ac_useropt=no ;;

$ac_useropt is "systemd" causing the variable $with_systemd to be set
to "no", because of below test

if test ${with_systemd+y}
then :
  withval=$with_systemd; SYSTEMD_DIR="$withval"
else $as_nop
  SYSTEMD_DIR=""
fi

cups configure test for i if SYSTEMD_DIR is empty to decide if the init
scripts need to be installed. A value of "no" results in that no init
scripts is installed.

With --disable-systemd it works as expected - installing the init files.
Though cups should properly improve their configure script.

(From OE-Core rev: 967fdd2ba12f22d8e46600ff085833993a32cfeb)

Signed-off-by: Claus Stovgaard <clst@ambu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Richard Purdie
0562ab6593 package: Add sanity check for allarch packagegroups
We exclude allarch packagegroups from rebuilding when their dependencies change.
The reasoning is that we are just depending on a name so having these rebuild
lots is just pointless and inefficient. We also don't want them duplicated for
multiple machines for efficiency.

In general this works fine, as long as the package names don't change. That
is also rare but there is one corner case which does catch users out - debian
package renaming. When this does break, users question sstate and so on and
lose faith in the system even if this is a known choice we made.

This commit adds an error message if an allarch packagegroup depends on any
package which shows package renaming in action (through the PKG variable
being set).

If you run into this issue you either need to remove the dependency from the
packagegroup or mark the packagegroup as tune specific, i.e. set:

PACKAGE_ARCH = "${TUNE_PKGARCH}"

before the packagegroup inherit.

[YOCTO #7298]

(From OE-Core rev: 5bf3e447d2f5064495d83a8fad30229bcf1ecc9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Richard Purdie
f07a097213 bitbake: cache/ConfHandler: Drop TOPDIR/chdir manipulations
This code has been unchanged since 2006 apart from attempts to optimise
performance by minimising chdir() calls.

There is no reason the modern bitbake parser should be changing directory
all the time. We did have some path assumptions in the mists of time but
those were resovled and the code is deterministic and doesn't depend on
cwd now for parsing. We can therefore drop the changes in directory.

Also, TOPDIR is now being set by cookerdata in all cases so we don't
need the fallbacks in this code (which was used to effectively initialise
a value). We don't need to change TOPDIR when parsing a recipe, that makes
no sense. If we stop all the other messing around, we don't need to expand
TMPDIR either.

These changes have the potential to break some obscure use cases such
as an anonymous function assuming the current working directory, or some
case which depends on TOPDIR changing but I believe any such uses should
be fixed at this point.

(Bitbake rev: add5d488e1d6607a98441836075d01cb1dc9c0fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 11:03:25 +00:00
Richard Purdie
119c592530 bitbake: cookerdata: Set TOPDIR explicitly and fix broken findTopdir()
TOPDIR is set internally deep within the parser to os.getcwd(). Rather
than do that, set it explicitly if not set. Note that modern code will
almost always have a bblayers.conf file which would have already set
TOPDIR before this new code.

Also fix findTopdir since the conf/bitbake.conf codepath is just
plain incorrect, it would find build metadata, not the current
build directory that bitbake would use. Again, the use of bblayers.conf
means hitting the fallback code was unlikely.

This change makes everything clear and explicit.

(Bitbake rev: c03df5283408dfd089b6317677d2b7af6fa73936)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 11:03:25 +00:00
Richard Purdie
9e4b20119e bitbake: tests/runqueue: Set TOPDIR in test
It was clear with testing that we're asuming bitbake sets TOPDIR correctly
when running these tests. Remove that implict assumption and make it
explicit.

(Bitbake rev: c8f1eb377ceb1fc78cbfaed976107720ad78c075)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 11:03:25 +00:00
Michael Opdenacker
4aef8c214b bitbake: doc: bitbake-user-manual: expand SRC_URI description
>From contents from the Yocto Project manual
Took the opportunity to reorder SRC_URI fetchers and options
alphabetically.

(Bitbake rev: ee6a951de31471c610030d0cf745039a71706b50)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:12:24 +00:00
Richard Purdie
77d6e148a3 bitbake: cooker: Fix task-depends.dot for multiconfig targets
The right hand side of dependencies in the task dependency file generated
by bitbake -g was missing multiconfig prefixes, corrupting the data. Fix
this.

[YOCTO #14621]

(Bitbake rev: 1d5ca721040c5e39aefa11219f62710de6587701)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:12:24 +00:00
Yi Zhao
d507e6ea32 rpcbind: install rpcbind.conf
Although we provide rpcbind.conf, it isn't shipped to the package.
Also fix the sysconfdir in rpcbind.service.

(From OE-Core rev: 61fb93ff9b6129f6bd11a4535080529cc2a643df)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:28 +00:00
Adrian Freihofer
9c3e6fd9b6 runqemu: support rootfs mounted ro
Optionally allow to set QB_KERNEL_ROOT to e.g. "/dev/vda ro" to mount the
rootfs reay-only in Qemu.

(From OE-Core rev: 448eb1fd21287ba16b17e9402ce040b86ae3638c)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:28 +00:00
Khem Raj
7ca8dd76ea python3-pygobject: Improve introspection handling
meson 0.60 turns unknown options into them hard errors. Do not add
-Dintrospection by using the new configuration option.

(From OE-Core rev: a2023319eb315ba71f6c6699d2068e51524a2908)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:28 +00:00
Khem Raj
29249b6bc7 gstreamer1.0-python: Improve introspection option handling
meson 0.60 turns unknown options into them hard errors. Disable
the addition of -Dintrospection using the new configuration option.

(From OE-Core rev: ad5666970bdca52b5b4db657c3291b51f4928d7c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
33708f024d mirrors: Add kernel.org sources mirror for downloads.yoctoproject.org
kernel.org now has a mirror of the downloads.yoctoproject.org sources
archive so include this in our mirrors list.

(From OE-Core rev: f602b6c2046bbc52a95dcc68a754f1cbb2db6761)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Khem Raj
d5dc2866ec gobject-introspection: Add -Dintrospection only when GIR_MESON_OPTION is not empty
meson now does not allow unknown options which means we have to be
mindful of adding -Dintrospection unconditionally and provide an option
to recipes to set GIR_MESON_OPTION = "" and when recipe does that then
do not add -D<Dintrospection> option to meson. This will help recipes to
use meson 60.x+ just by adding

GIR_MESON_OPTION = ""

(From OE-Core rev: c75a9439154834d45b2be1ac95682586b4409fb4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
76d74e10d0 packagegroup-core-x11-base: Drop dbus dependency
dbus isn't an x11 dependency and this suffers from debian renaming. Simply drop
the dependency.

(From OE-Core rev: ba251b128baf05fea8ad62bc42dd98584e99ad28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
74e79e732a packagegroup-core-full-cmdline: Drop compatibility mappings
The task-core namespace was dropped years ago and we've had the compatibility
mappings for a long time. We should no longer need them as everyone should long
since have adapted.

(From OE-Core rev: 5b3606d3567eb87a9685e5de3437603b1a2d3569)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
4e99a5fa9c packagegroups-core-full-cmdline: Drop libraries packagegroup and gmp
We pull in libraries as/where needed as dependencies so there is no need
to have them as specific packagegroups. This change removes glib-2.0 and gmp.

This also has the advantage of meaning debian renaming now isn't used anywhere
and the packagegroup can remain allarch.

(From OE-Core rev: 170fbd5c606657009cf218e5d84c93e688a46ea6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
41b0cfbf27 packagegroup-core-buildessential: Mark as TUNE_PKGARCH specific
The libstdc++ dependency is debian renamed so this shouldn't be allarch,
mark accordingly.

(From OE-Core rev: ac6ec1979caa4032b710eb6f6523bcca29d42cd4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
d68e36973b ncurses: poll() works, but only on Linux
ncurses does AC_TRY_RUN() to determine is poll() actually works. As that
doesn't work in cross-compiles, we seed it with 'yes'.

However, MinGW doesn't have a working poll(), so use a :linux override
so that this only applies to Linux builds.

The ncurses build now compiles but doesn't link in MinGW, which is a step
forwards at least.

(From OE-Core rev: f57de22c4a40cd9178f7726d544beca66384d25d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
aeae9e45dd dtc: fix mingw build
Backport a patch to fix the build of fdtdump with mingw, which so the
tools now build successfully with mingw.

(From OE-Core rev: 1bbbd69d9f1600f53737f2c459a08eae0d74a42c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
8b5edbb9a2 dtc: add PACKAGECONFIGs for tools and yaml
Leave yaml off by default.

(From OE-Core rev: f70f9a7f44676f722e2541e1ef1f064c942fffcb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
cf9782c18a dtc: use Meson to build
(From OE-Core rev: f8f25c424079074b9ed4a7801122c2f59f22aacf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
ca02d07869 dtc: merge .bb/.inc
No reason for these to be split, so merge them.

(From OE-Core rev: ebfe71da5b27c4f7839837c79fb04acf84cd16e4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
39906f5d4d insane: remove unrecognised option check for Meson
Meson 0.60 onwards no longer simply warns when an unrecognised option is
passed, it errors out instead. This means we can remove the logic in
insane.bbclass to check for the warnings.

(From OE-Core rev: 472acf29abd4cdc9d8ef10a1940a541275d508cf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
ca97a835fe uninative: Add version to uninative tarball name
uninative works via hashes and doesn't need the version in the tarball name but
it does make things easier to inspect in DL_DIR. There were reasons such as
ease of publication of the build tarballs but we can handle those differently
now and the signature issues from the early code aren't an issue now. From 3.4
onwards we can use a version'd name.

[YOCTO #12970]

(From OE-Core rev: dadba70d6a24d8ebb5576598efffa973151c7218)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Khem Raj
e9792e1fef ptest-packagelists: Remove qemu ptests for rv32
qemu is not buildable on rv32 yet

(From OE-Core rev: 5987ac1dba7ffcdb23f837620f02aa2c1ed33fa1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Anuj Mittal
0140ac5b68 glibc-version.inc: remove branch= from GLIBC_GIT_URI
GLIBC_GIT_URI is used along with branch=${SRCBRANCH} so no need to add
it here.

(From OE-Core rev: 4c9cfe326913d28f82e6a91d1eeae55a6651f0f7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 22:26:46 +00:00
Jon Mason
045bc7682c scripts/lib/wic/help.py: Update Fedora Kickstart URLs
The URLs describing Kickstart are no longer valid and do not redirect to
the correct location.  Update them with the correct location.

(From OE-Core rev: e5ac75f93c8128b0761af5fee99e8603ddd1657d)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 22:26:46 +00:00
Khem Raj
1fc28908d0 qemu: Exclude building on riscv32
Needs syscalls issues addressed. fails currently to build

../qemu-6.1.0/linux-user/syscall.c:659:1: error: use of undeclared identi
fier '__NR_nanosleep'; did you mean 'safe_nanosleep'?

(From OE-Core rev: c4ba4da8d885d183cc6a6f8a5d8d5122184bc3a6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 22:26:46 +00:00
Richard Purdie
668584ca71 wpa-supplicant: Match package override to PACKAGES for pkg_postinst
In PACKAGES, ${PN} is used so it makes sense for the pkg_postinst variable
override to match that else it causes user confusion.

[YOCTO #14616]

(From OE-Core rev: ae9094d45bbfff377bd542939e12a8451a4959b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 22:26:46 +00:00
Richard Purdie
711d173d6e bitbake: fetch: Add README on fetcher design constraints
There have been requests to better document the contraints of fetcher
design and operation. This README attempts to start that.

(Bitbake rev: d9cda7835816ecd5a60f0575f6ce832ec9c6aced)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:27:20 +00:00
Robert Yang
c277bbaa8b bitbake: lib/pyinotify.py: Remove deprecated module asyncore
When build with nativesdk-python3 (3.10) from buildtools:
/path/to/bitbake/lib/pyinotify.py:55: DeprecationWarning: The asyncore module is deprecated. The recommended replacement is asyncio

The pyinotify.py's upstream didn't have any update in recent 7 years:
https://github.com/seb-m/pyinotify

And bitbake doesn't use the asyncore module, so remove the related code.

(Bitbake rev: 58fbb01c3e2111bef4f79f88e1aac1827350c82a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:39 +00:00
Richard Purdie
657f71e1f5 xserver-xorg: Remove orphaned comment
(From OE-Core rev: a74b6177f2042b5ad75d23ae96f93765b6a76793)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Richard Purdie
50b85e4855 scripts/oe-package-browser: Handle no packages being built
Give the user a proper error message if there aren't packages built,
rather than a less friendly traceback.

[YOCTO #14619]

(From OE-Core rev: b14c176b7dd74b7d63ca0f72e6e00fbf209f5a0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Richard Purdie
e21c967bd4 scripts/oe-package-browser: Fix after overrides change
After the overrides change, the format of pkgdata changed and this
usage of configparser no longer works. This change is a bandaid to make
things work but the pkgdata format isn't very similar to ini files
so this may need to be reimplmented in a better way in the long run.

[YOCTO #14619]

(From OE-Core rev: 25a8ec6e2891b71bc280aacaf5f62ecc4b0bd1d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Kai Kang
0a0052e456 convert-srcuri.py: use regex to check space in SRC_URI
There may be none, one or more spaces including tab before backslash in
SRC_URI. Use regex to check and update. It helps to avoid malformed uri
such as recipe open-iscsi-user in meta-openstack:

SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https  ;branch=master \

And help to check more recipes such as concurrent-ruby in the same
layer:

SRC_URI = "git://github.com/ruby-concurrency/concurrent-ruby.git;protocol=https;tag=v1.1.6\

(From OE-Core rev: a69a53573b1987ee5834a6fc27763f9bbf5fe5a4)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
fb4406073e gcc-common.inc: Remove mirrors that are no longer available
Also switch to https for https://gcc.gnu.org/pub/gcc/releases/

(From OE-Core rev: 45670d96119c3a483e9571821b6d5e984c2e2f93)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
3fcaef51ef testsdk.py: Clean up the additions to PREMIRRORS and SSTATE_MIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS and
SSTATE_MIRRORS with "\n".

(From OE-Core rev: 3db607deea3b2982edb333f99056119490fcf5ea)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
813499ed5f slang: Clean up the additions to PREMIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".

(From OE-Core rev: a7fc98fadab8779bf7975cca5b3ed006884b4910)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
40a42038ba gcc-common.inc: Clean up the additions to MIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in MIRRORS with "\n".

(From OE-Core rev: 5374c45725ef5796a563c0665cde0fc05cecd856)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
021b76a856 own-mirrors.bbclass: Clean up the additions to PREMIRRORS
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
  for the type field and instead anchor regexp) the type regexp has
  been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
  entries) there is no need to separate the entries in PREMIRRORS with
  "\n".

(From OE-Core rev: 1edc5e689d54b788c35ece14e0dbd76ec545f3ee)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
a3ba0a54fe mirrors.bbclass: Clean up the additions to MIRRORS
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
  for the type field and instead anchor regexp) the type regexp has
  been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
  entries) there is no need to separate the entries in MIRRORS with "\n".

(From OE-Core rev: ec806f1e3b08d73524515aa83c5ee8dea7a40215)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Peter Kjellerstedt
4a2b12c73a systemd-bootchart: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

(From OE-Core rev: 9ef86e740e7b95df615fdb476267c72cd9b3dd40)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Peter Kjellerstedt
7377f7cdfb systemd-conf: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

(From OE-Core rev: c436124eb9a98400cc6872b252971477bb451551)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Peter Kjellerstedt
04c99437a3 systemd: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

(From OE-Core rev: b3334c7134e812fe839e47a3d06aa5379b7b8bd8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Peter Kjellerstedt
c758988cb7 ncurses.inc: Remove a no longer relevant comment
(From OE-Core rev: 62f4a0a2291aa39a00b98358a539cc2177744e64)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
07fe973701 webkitgtk: remove unneeded patch
The file is already included just three lines below.

(From OE-Core rev: bcfb2539ed319fefd2b3605d8505666bdfc4704c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
8b11f3c12b webkitgtk: submit patches upstream
(From OE-Core rev: 0a71d871f4a9cbcbc178b5a1e038626ad1af717a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
bd2368d2bf shared-mime-info: fix meson 0.60 builds
(From OE-Core rev: 268400236a73ebdb1b6acf75fdd0a4a6d7965a7c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
e1691b1c84 meson: upgrade 0.59.2 -> 0.60.1
(From OE-Core rev: 687234cbac01608053c14cbab0fba6eecbba1b91)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
5afc62d491 valgrind: submit patch upstream
(From OE-Core rev: abc2ae3d1694e5aa393e7c28d238e90ce4f517bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
b4c4a2cf2e libgpg-error: mark patch as non-upstreamable
(From OE-Core rev: b01c20ac79ebe84090ee260a9d153d8398df6c88)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
b7d37f03ef gnu-config: update to latest revision
(From OE-Core rev: f6aa3d07a5049e3bbcd971ddcf3d15f7794bdd3f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
c171f4dbde vulkan-samples: update to latest revision
Mark as incompatible with 32 bit x86: there are several failures
and I do not think anyone is interested in vulkan on that platform.

(From OE-Core rev: 0be583c6cf34a68950dafad4ca3dbb74bc4eea70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
61f13c6d3e python3-pyparsing: update 3.0.4 -> 3.0.5
(From OE-Core rev: d5c83301004483a9dfe24df5ebf4a1b98fc20381)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
d713b9c794 python3-setuptools: upgrade 58.3.0 -> 58.5.3
(From OE-Core rev: b4fa2ff641fea72bc799e237b1b81643256614d0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
654e4ceaae python3-py: upgrade 1.10.0 -> 1.11.0
(From OE-Core rev: 75d53556a4aae59005e5d5ab76bfff74cc119047)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
b23929b70c python3-pbr: upgrade 5.6.0 -> 5.7.0
(From OE-Core rev: b9434854a625c2edbf140fa931d3756d7bab32ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
f7dbf89d5a python3-packaging: upgrade 21.0 -> 21.2
(From OE-Core rev: 7a317c575437dc5a1b9b32ba7711377896ee9db4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
7f30f96d73 python3-numpy: upgrade 1.21.3 -> 1.21.4
(From OE-Core rev: af984b65cfb3e887380c7fab9c5f8231ef165d54)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
777487c07f python3-hypothesis: upgrade 6.24.0 -> 6.24.2
(From OE-Core rev: 18f55f898401fa19e9ab52dc7b30485a44f2e069)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
3cf772cfa6 kexec-tools: update 2.0.22 -> 2.0.23
Drop patch as problem fixed upstream.

(From OE-Core rev: ed0984fe7888e971008d4bb6be0fe62de7aeacdc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
33898b06df socat: upgrade 1.7.4.1 -> 1.7.4.2
(From OE-Core rev: 7cbc3e501295147b573cf8d09deb4edcd522ff32)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
af7a8e775b libgpg-error: update 1.42 -> 1.43
(From OE-Core rev: 7637c0ccd5bc41eda7cd40e4f56dfbe5fbd17e0a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
259afff652 rust: update 1.56.0 -> 1.56.1
This update includes fixes for the 'trojan source' vulnerability:
https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html

Drop two unused patches.

(From OE-Core rev: 5ff0b0d8c6c37ebf916062f03a378fe0e34b1c53)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
7d88111fab xserver-xorg: add missing libtirpc dependency
This wasn't a problem in poky, but was exposed with a nodistro build.

(From OE-Core rev: 0afc9fdb93bb62a78ec6d3aaf870587f52c5a7a4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
9f4df8fa58 xserver-xorg: convert from autotools to meson
Not every option was carried over, drop them accordingly.

(From OE-Core rev: e05abd87ee5d23750c641d0129d9c83db68ee2e8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
6d7d97d787 xserver-xorg: update 1.20.13 -> 21.1.1
libxcvt is a new dependency (thanks Oleksandr!).

Include ${libdir}/xorg/modules/input/*.so into the main
package (if for someone separate packaging matters, please
investigate what they do).

Remove options no longer present upstream.

Remove patches available upstream; drop a chunk as well.

(From OE-Core rev: fe501ae1f6bea73882707c944c4fab5c5657a551)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
5e8410a954 mesa-demos: mark glew/glu patch as non-upstreamable
(From OE-Core rev: c5a101f14b469b92d2a2caf653fba7078abc6a45)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
5d7031945d mesa-demos: drop glx option and patch
As far as I can see the x11 option does the same thing.

(From OE-Core rev: a904c9492e86be39fcdd244e8f4b9768861c0e77)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
772afb2678 ovmf: submit patch upstream
(From OE-Core rev: df1ff8a0419039f03e390d96b5d615cad92b8879)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Bruce Ashfield
f748564653 kernel: provide virtual/kernel for all kernels
Since we allow the kernel package name to be varied, we should
allow those packages to provide virtua/kernel, which allows them
to be used as primary kernels.

This change drops the use of regex, since any regex would enforce
naming (and limit what can be a provider) and add complexity./

There are currently no recipes that I found, that inherit kernel
that are not kernel recipes (kernel-base, etc, provide other
facilities), so making this provides simpler shouldn't cause
problems.

Multiple kernel providers can be dealt with in the same way as
any multiple provider.

[YOCTO: #13172]

(From OE-Core rev: 365dc1471a1b67c45de58aadf29844a9ff83d30f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>

squash with provider

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
7435fb4481 linux-yocto/5.10: update to v5.10.78
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    5040520482a5 Linux 5.10.78
    4c7c0243275b ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
    f3eb44f496ef ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
    68765fc97762 Revert "wcn36xx: Disable bmps when encryption is disabled"
    f84b791d4c3b ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
    bbc920fb320f Revert "drm/ttm: fix memleak in ttm_transfered_destroy"
    6d67b2a73b8e mm: khugepaged: skip huge page collapse for special files
    5a7957491e31 Revert "usb: core: hcd: Add support for deferring roothub registration"
    50f46bd30949 Revert "xhci: Set HCD flag to defer primary roothub registration"
    d7fc85f61042 media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
    b93a70bf2b57 net: ethernet: microchip: lan743x: Fix skb allocation failure
    b9c85a71e1b4 vrf: Revert "Reset skb conntrack connection..."
    0382fdf9ae78 sfc: Fix reading non-legacy supported link modes
    748786564a35 Revert "io_uring: reinforce cancel on flush during exit"
    7b57c38d12ae scsi: core: Put LLD module refcnt after SCSI device is released

(From OE-Core rev: 7a7d1eed8e3d550ac9bfa301b26095100eeba111)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
156bc29540 linux-yocto/5.15: update to v5.15.1
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    b6abb62daa55 Linux 5.15.1
    569fd073a954 ALSA: usb-audio: Add quirk for Audient iD14
    fd5f954b690c Revert "drm/i915/gt: Propagate change in error status to children on unhold"
    8af3a335b553 drm/amd/display: Revert "Directly retrain link from debugfs"
    6ecad8906f05 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
    a273384cf1af Revert "wcn36xx: Disable bmps when encryption is disabled"
    57f31b313231 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
    110d5f4421ed Revert "soc: imx: gpcv2: move reset assert after requesting domain power up"
    f17dca0ab3f3 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
    f5e3b7f0f0b7 Revert "usb: core: hcd: Add support for deferring roothub registration"
    421f91bf0451 Revert "xhci: Set HCD flag to defer primary roothub registration"
    cb667140875a media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
    abc558fd0f89 sfc: Fix reading non-legacy supported link modes

(From OE-Core rev: 6a5ab16bbbf92ce99fbbd3ac7cb1d2e4e1690feb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
8e976d34fa linux-yocto/5.14: update to v5.14.17
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    3dfa869cb79d Linux 5.14.17
    b1dbd891bfe5 ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
    570b5004f827 ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
    db6d7c4acca3 Revert "drm/i915/gt: Propagate change in error status to children on unhold"
    aac2f6861683 drm/amd/display: Revert "Directly retrain link from debugfs"
    77d029e1e218 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
    9f9e09a59c58 Revert "wcn36xx: Disable bmps when encryption is disabled"
    b9722a7369f8 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
    e556fca311ce Revert "soc: imx: gpcv2: move reset assert after requesting domain power up"
    d6a60e6ada49 drm/i915: Remove memory frequency calculation
    7883e13c2494 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
    a82fa1213d12 Revert "usb: core: hcd: Add support for deferring roothub registration"
    0979b923ff3f Revert "xhci: Set HCD flag to defer primary roothub registration"
    02a476ca886d media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
    ec0c91e2ebb8 vrf: Revert "Reset skb conntrack connection..."
    6467b75cf9d1 sfc: Fix reading non-legacy supported link modes
    f30822c0b4c3 scsi: core: Put LLD module refcnt after SCSI device is released

(From OE-Core rev: a9ac5a388d682bcf0aad59d1b8ae8334846dfcd9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
1e2e299642 linux-yocto/5.10: update to v5.10.77
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    09df347cfd18 Linux 5.10.77
    fbb91dadb512 perf script: Check session->header.env.arch before using it
    6f416815c505 riscv: Fix asan-stack clang build
    7a4cf25d8329 riscv: fix misalgned trap vector base address
    acb8832f6a1c scsi: ufs: ufs-exynos: Correct timeout value setting registers
    8ecddaca7942 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
    e11a7355fb98 KVM: s390: clear kicked_mask before sleeping again
    727e5deca802 lan743x: fix endianness when accessing descriptors
    a7112b8eeb14 sctp: add vtag check in sctp_sf_ootb
    c2442f721972 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
    14c1e02b11c2 sctp: add vtag check in sctp_sf_violation
    dad2486414b5 sctp: fix the processing for COOKIE_ECHO chunk
    8c50693d25e4 sctp: fix the processing for INIT_ACK chunk
    ad111d4435d8 sctp: use init_tag from inithdr for ABORT chunk
    4509000a2515 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings
    5b88bb9377ee phy: phy_start_aneg: Add an unlocked version
    81780b624d1c phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
    258c5fea44cf phy: phy_ethtool_ksettings_get: Lock the phy for consistency
    58722323d4bc net/tls: Fix flipped sign in async_wait.err assignment
    44e8c93e1e49 net: nxp: lpc_eth.c: avoid hang when bringing interface down
    c2af2092c9bb net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
    bfa6fbdb4e39 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails
    e81bed557fe7 mlxsw: pci: Recycle received packet upon allocation failure
    be98be1a17e9 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
    aead02927af3 gpio: xgs-iproc: fix parsing of ngpios property
    863a423ee07b RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string
    2b7c5eed19d3 net: Prevent infinite while loop in skb_tx_hash()
    04121b10cdf0 cfg80211: correct bridge/4addr mode check
    aed897e96b19 net-sysfs: initialize uid and gid before calling net_ns_get_ownership
    b0a2cd38553c net: batman-adv: fix error handling
    36e911a16b37 regmap: Fix possible double-free in regcache_rbtree_exit()
    e51371bd687e reset: brcmstb-rescal: fix incorrect polarity of status bit
    2cf7d935d6ba arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
    10e40fb2f508 RDMA/mlx5: Set user priority for DCT
    24fd8e2f027d octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
    c63d7f2ca99a nvme-tcp: fix possible req->offset corruption
    32f3db20f126 nvme-tcp: fix data digest pointer calculation
    4286c72c5321 nvmet-tcp: fix data digest pointer calculation
    d98883f6c33e IB/hfi1: Fix abba locking issue with sc_disable()
    c3e17e58f571 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
    ee4908f909b3 bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()
    dd2260ec643d bpf: Fix potential race in tail call compatibility check
    15dec6d8f864 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function
    cac6b043cea3 riscv, bpf: Fix potential NULL dereference
    01599bf7cc2b cgroup: Fix memory leak caused by missing cgroup_bpf_offline
    eb3b6805e3e9 drm/amdgpu: fix out of bounds write
    c21b4002214c drm/ttm: fix memleak in ttm_transfered_destroy
    69a7fa5cb0de mm, thp: bail out early in collapse_file for writeback page
    8fb858b74ac5 net: lan78xx: fix division by zero in send path
    4c22227e39c7 cfg80211: fix management registrations locking
    fa29cec42c2d cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
    db1191a529e4 nvme-tcp: fix H2CData PDU send accounting (again)
    5043fbd294f5 ocfs2: fix race between searching chunks and release journal_head from buffer_head
    01169a43353d mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
    ee3213b117ce mmc: sdhci: Map more voltage level to SDHCI_POWER_330
    a95a76fc01a0 mmc: dw_mmc: exynos: fix the finding clock sample value
    12a46f72f499 mmc: mediatek: Move cqhci init behind ungate clock
    44c2bc2a6bbe mmc: cqhci: clear HALT state after CQE enable
    efe934629fff mmc: vub300: fix control-message timeouts
    f3dec7e7ace3 net/tls: Fix flipped sign in tls_err_abort() calls
    c828115a14ea Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
    11c0406b4c33 nfc: port100: fix using -ERRNO as command type mask
    0b1b3e086b0a tipc: fix size validations for the MSG_CRYPTO type
    5aa5bab57957 ata: sata_mv: Fix the error handling of mv_chip_id()
    9a52798dce73 pinctrl: amd: disable and mask interrupts on probe
    01c2881bb0e0 Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
    017718dfbb6f usbnet: fix error return code in usbnet_probe()
    693ecbe8f799 usbnet: sanity check for maxpacket
    b663890d8544 ext4: fix possible UAF when remounting r/o a mmp-protected file system
    d4d9c065988c arm64: Avoid premature usercopy failure
    e184a21b5ccc powerpc/bpf: Fix BPF_MOD when imm == 1
    3f2c12ec8a3f io_uring: don't take uring_lock during iowq cancel
    5a768b4d3e1a ARM: 9141/1: only warn about XIP address when not compile testing
    15b278f94bbb ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
    c06d7d9bfcf6 ARM: 9138/1: fix link warning with XIP + frame-pointer
    8a6af97c31be ARM: 9134/1: remove duplicate memcpy() definition
    6ad8bbc9d301 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
    3ceaa85c331d ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images

(From OE-Core rev: d57bc7281015d09e2ff7a8a028dbf31559ff7331)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
750ce5eae3 linux-yocto/5.14: update to v5.14.16
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    f63179c1e68c Linux 5.14.16
    e874c870dfd8 KVM: x86: Take srcu lock in post_kvm_run_save()
    9ab39a3d0cec KVM: SEV-ES: fix another issue with string I/O VMGEXITs
    eb0461c572e9 KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock
    10242cc2ad79 KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in kvm_vcpu_block()
    669a7e147ee6 perf script: Check session->header.env.arch before using it
    e914237feb46 riscv: Fix asan-stack clang build
    4606bbb6b19c riscv: Do not re-populate shadow memory with kasan_populate_early_shadow
    7567abe63797 riscv: fix misalgned trap vector base address
    20bd764387ac scsi: ibmvfc: Fix up duplicate response detection
    f6782c0ca808 perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support
    04ced3822a66 scsi: ufs: ufs-exynos: Correct timeout value setting registers
    d748da838b21 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
    4faa35ce98c7 KVM: s390: clear kicked_mask before sleeping again
    ae566351ca18 octeontx2-af: Check whether ipolicers exists
    45d9cd363786 virtio-ring: fix DMA metadata flags
    52a936b037b5 net: hns3: expand buffer len for some debugfs command
    efccb66bc917 net: hns3: add more string spaces for dumping packets number of queue info in debugfs
    e5c6ad377c07 bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE outside of CONFIG_NET
    b341612b659d watchdog: sbsa: only use 32-bit accessors
    de709ec74f8b bpf: Use kvmalloc for map values in syscall
    0717c71deae6 sctp: add vtag check in sctp_sf_ootb
    1c255b5f68f4 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
    dd82b3a345ab sctp: add vtag check in sctp_sf_violation
    44ef3ecbc24a sctp: fix the processing for COOKIE_ECHO chunk
    7975f42f1038 sctp: fix the processing for INIT_ACK chunk
    6277d424ead2 sctp: fix the processing for INIT chunk
    332933f9ae0a sctp: use init_tag from inithdr for ABORT chunk
    44d44bf72591 RDMA/irdma: Do not hold qos mutex twice on QP resume
    6392f26fbe92 RDMA/irdma: Set VLAN in UD work completion correctly
    7762917173cc RDMA/irdma: Process extended CQ entries correctly
    7860484eeb90 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings
    37a1b9befb73 phy: phy_start_aneg: Add an unlocked version
    1f9c99e0bb5b phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
    2191b1e8eb3d phy: phy_ethtool_ksettings_get: Lock the phy for consistency
    e2b4dd261720 net/tls: Fix flipped sign in async_wait.err assignment
    373f94d73651 net: ethernet: microchip: lan743x: Fix skb allocation failure
    228862acb549 net: hns3: fix data endian problem of some functions of debugfs
    20d88211706b net: hns3: fix pause config problem after autoneg disabled
    7cc73feb57f6 net: nxp: lpc_eth.c: avoid hang when bringing interface down
    d8774769d198 net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
    69d3c7785ec4 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails
    18bd5e285a78 mlxsw: pci: Recycle received packet upon allocation failure
    960f4a54b909 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
    030f05812d81 gpio: xgs-iproc: fix parsing of ngpios property
    c653c522e521 RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string
    5f6995295f65 RDMA/mlx5: Initialize the ODP xarray when creating an ODP MR
    ed894f5439ab net: Prevent infinite while loop in skb_tx_hash()
    f435287d719b cfg80211: correct bridge/4addr mode check
    da279dac227a net-sysfs: initialize uid and gid before calling net_ns_get_ownership
    a8f7359259dd net: batman-adv: fix error handling
    50cc1462a668 regmap: Fix possible double-free in regcache_rbtree_exit()
    c9e39214fddf reset: brcmstb-rescal: fix incorrect polarity of status bit
    86f9394073d8 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
    63a97a9f95f2 ice: check whether PTP is initialized in ice_ptp_release()
    ebd0edad1cdf RDMA/mlx5: Set user priority for DCT
    e83b3cce4722 ice: Respond to a NETDEV_UNREGISTER event for LAG
    f1e3cd1cc802 octeontx2-af: Fix possible null pointer dereference.
    98db2a8c14be octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
    c7752ec9ad39 nvme-tcp: fix possible req->offset corruption
    7258a6eef5be nvme-tcp: fix data digest pointer calculation
    daa12f0c1d1b nvmet-tcp: fix data digest pointer calculation
    5d33bd6b4d4d IB/hfi1: Fix abba locking issue with sc_disable()
    0d4395477741 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
    6525bfbd546f bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()
    adb17f828177 bpf: Fix potential race in tail call compatibility check
    6f226ffe4458 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function
    e1b80a5ebe54 riscv, bpf: Fix potential NULL dereference
    b529f88d9388 cgroup: Fix memory leak caused by missing cgroup_bpf_offline
    b7ca59297fa3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    0a8b7eba95a0 drm/amd/display: Fix deadlock when falling back to v2 from v3
    a363d80566cc drm/amd/display: Fallback to clocks which meet requested voltage on DCN31
    aeadb0662478 drm/amd/display: Moved dccg init to after bios golden init
    5a5f1f070c3e drm/amd/display: Increase watermark latencies for DCN3.1
    85cf47160d0e drm/amd/display: increase Z9 latency to workaround underflow in Z9
    01f39421d590 drm/amd/display: Fix prefetch bandwidth calculation for DCN3.1
    b60efcaf5e8b drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1
    c3ae5cf3e3ee drm/amdgpu: support B0&B1 external revision id for yellow carp
    d3ed72495a59 drm/amdgpu: fix out of bounds write
    9eb4bdd554fc drm/amdgpu: Fix even more out of bound writes from debugfs
    d87ac6054e3d drm/i915/dp: Skip the HW readout of DPCD on disabled encoders
    7650327e7174 drm/i915: Catch yet another unconditioal clflush
    0ed2dfb5f598 drm/i915: Convert unconditional clflush to drm_clflush_virt_range()
    132a3d998d67 drm/ttm: fix memleak in ttm_transfered_destroy
    15a4f2bdbdfd mac80211: mesh: fix HE operation element length check
    ce277959d77c arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct
    8c684aaceaf3 arm64: dts: imx8mm-kontron: Set lower limit of VDD_SNVS to 800 mV
    f5eaf91dd8af arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY
    da32086a0203 arm64: dts: imx8mm-kontron: Fix CAN SPI clock frequency
    d2bdcd23cba9 arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2
    5fcb6fce74ff mm: khugepaged: skip huge page collapse for special files
    5e669d8ab30a mm, thp: bail out early in collapse_file for writeback page
    6ac017254b59 mm: filemap: check if THP has hwpoisoned subpage for PMD page fault
    8821fedc7f83 mm: hwpoison: remove the unnecessary THP check
    67979d186c51 drm/amd/display: Require immediate flip support for DCN3.1 planes
    75b1b172ae5a net: lan78xx: fix division by zero in send path
    3c897f39b71f cfg80211: fix management registrations locking
    2a000d137589 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
    e6d02b0da2df ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub
    ea081b13b00e nvme-tcp: fix H2CData PDU send accounting (again)
    2e382600e885 ocfs2: fix race between searching chunks and release journal_head from buffer_head
    7335acd51f6b block: Fix partition check for host-aware zoned block devices
    10bcaafc5753 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
    78873d5a2717 mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield
    b572d6c18511 mmc: sdhci: Map more voltage level to SDHCI_POWER_330
    ac6f66f208a1 mmc: dw_mmc: exynos: fix the finding clock sample value
    b1ad3ecffaac mmc: tmio: reenable card irqs after the reset callback
    e1b94f0e744f mmc: mediatek: Move cqhci init behind ungate clock
    9106d68c8082 mmc: cqhci: clear HALT state after CQE enable
    aa2f3e425e22 mmc: vub300: fix control-message timeouts
    e41473543f75 net/tls: Fix flipped sign in tls_err_abort() calls
    8ba94a7f7b9f Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
    836f40777d58 nfc: port100: fix using -ERRNO as command type mask
    e029c9828c5b tipc: fix size validations for the MSG_CRYPTO type
    43849df432c9 ata: sata_mv: Fix the error handling of mv_chip_id()
    66a1c8748068 pinctrl: amd: disable and mask interrupts on probe
    18f31a907c9f Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
    b5c410a4af7d usbnet: fix error return code in usbnet_probe()
    7e8b6a4f18ed usbnet: sanity check for maxpacket
    a350df591870 ARM: 9148/1: handle CONFIG_CPU_ENDIAN_BE32 in arch/arm/kernel/head.S
    351d0f587b4c ARM: 9141/1: only warn about XIP address when not compile testing
    a51d78193d21 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
    4108f38c05bd ARM: 9138/1: fix link warning with XIP + frame-pointer
    6aa2d9cf81f9 ARM: 9134/1: remove duplicate memcpy() definition
    78a7a2694e69 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
    e108afbd38a5 ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images

(From OE-Core rev: ae32a59571abec59cc9f19bf9289ec9472b3923b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
b8dc54ba99 linux-yocto-rt/5.15: update to -rt17
Integrating the following commit(s) to linux-yocto-rt/5.15:

    6f51b8d2b7dc Add localversion for -RT release
    3c8ff0c09156 sysfs: Add /sys/kernel/realtime entry
    828d8f9b903f POWERPC: Allow to enable RT
    6db76b613e53 powerpc/stackprotector: work around stack-guard init from atomic
    44be16e0180a powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT
    a5c27dfc178a powerpc/pseries/iommu: Use a locallock instead local_irq_save()
    dce767609e50 powerpc: traps: Use PREEMPT_RT
    9cad1f8c7dd7 ARM64: Allow to enable RT
    5bd881944e4f ARM: Allow to enable RT
    715792fbbaf7 tty/serial/pl011: Make the locking work on RT
    69221f2f5b91 tty/serial/omap: Make the locking RT aware
    5fa50218f3e3 arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND.
    c004c410d380 arm64/sve: Make kernel FPU protection RT friendly
    7ffcb4485981 arm64/sve: Delay freeing memory in fpsimd_flush_thread()
    322561563b01 KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable()
    fe5ed302a1ec ARM: enable irq in translation/section permission fault handlers
    f17af435c3a3 arch/arm64: Add lazy preempt support
    10e096c7a491 powerpc: Add support for lazy preemption
    5e15c21804be arm: Add support for lazy preemption
    abc04080e1b3 entry: Fix the preempt lazy fallout
    2fb1741e933b x86: Support for lazy preemption
    24b379de7afc x86/entry: Use should_resched() in idtentry_exit_cond_resched()
    860dbaa27ad1 sched: Add support for lazy preemption
    4d5c9c824eee */softirq: Disable softirq stacks on PREEMPT_RT
    2676f33e2cf4 generic/softirq: Disable softirq stacks on PREEMPT_RT
    1886700e5658 leds: trigger: Disable CPU trigger on PREEMPT_RT
    694e3f263964 drivers/block/zram: Replace bit spinlocks with rtmutex for -rt
    97f765c75d6d mm/zsmalloc: Replace bit spinlock and get_cpu_var() usage.
    49c7010ff12e tpm_tis: fix stall after iowrite*()s
    df583a002c38 virt: acrn: Remove unsued acrn_irqfds_mutex.
    a68737287907 smack: Guard smack_ipv6_lock definition within a SMACK_IPV6_PORT_LABELING block
    ac9df8459eda ASoC: mediatek: mt8195: Remove unsued irqs_lock.
    02bc2e3cbe09 genirq: update irq_set_irqchip_state documentation
    ac932078b2e6 x86: Enable RT also on 32bit
    e262f9f76c5b x86: Allow to enable RT
    fef570ba4596 x86: kvm Require const tsc for RT
    e5a9202c3535 signal/x86: Delay calling signals in atomic
    2c0f317da8b9 drm/i915: Drop the irqs_disabled() check
    06b3f43f370b drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock()
    ac58ec9af512 drm/i915/gt: Queue and wait for the irq_work item.
    aaa6ddcfd053 drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE
    6db29073f209 drm/i915: Disable tracing points on PREEMPT_RT
    5d34e949e11c drm/i915: Don't check for atomic context on PREEMPT_RT
    0ca85efbe2e9 drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates
    688ce2658570 drm/i915: Use preempt_disable/enable_rt() where recommended
    9a76a256848c drm/i915: Don't disable interrupts and pretend a lock as been acquired in __timeline_mark_lock().
    766248132ccf random: Make it work on rt
    ba411ba63b8e x86: stackprotector: Avoid random pool on rt
    3c158aab9acc panic: skip get_random_bytes for RT_FULL in init_oops_id
    bf099c9ff70f net: dev: always take qdisc's busylock in __dev_xmit_skb()
    783862056952 net: Dequeue in dev_cpu_dead() without the lock
    61793a50d51d net: Use skbufhead with raw lock
    4e369dc108af net/core: use local_bh_disable() in netif_rx_ni()
    8056c6bd6380 rcu: Delay RCU-selftests
    1372b981252b fs/dcache: disable preemption on i_dir_seq's write side
    8f35827f634d fs/dcache: use swait_queue instead of waitqueue
    dc26bf05c680 ptrace: fix ptrace vs tasklist_lock race
    54332013d985 signal: Revert ptrace preempt magic
    65309bca8d9c mm/memcontrol: Disable on PREEMPT_RT
    5d193966a444 u64_stats: Disable preemption on 32bit-UP/SMP with RT during updates
    9e7c9b1a7d21 softirq: Check preemption after reenabling interrupts
    0d4e38f0610e crypto: cryptd - add a lock instead preempt_disable/local_bh_disable
    4a01578f1878 sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light()
    03f8b0f0eedb net: Remove preemption disabling in netif_rx()
    ddd725b42e48 mm/vmalloc: Another preempt disable region which sucks
    28545272667f scsi/fcoe: Make RT aware.
    dcb042c59ca4 md: raid5: Make raid5_percpu handling RT aware
    393999301a85 block/mq: do not invoke preempt_disable()
    8485ff82f922 kernel/sched: add {put|get}_cpu_light()
    274408c7b291 sched: Make preempt_enable_no_resched() behave like preempt_enable() on PREEMPT_RT
    9708837923a7 locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h
    b5f1fc042d2f lockdep/selftests: Adapt ww-tests for PREEMPT_RT
    3e6dd28f0231 lockdep/selftests: Skip the softirq related tests on PREEMPT_RT
    0da6a4f59354 lockdep/selftests: Unbalanced migrate_disable() & rcu_read_lock()
    b29dc4a9ef20 lockdep/selftests: Add rtmutex to the last column
    db92f5fc3fb7 lockdep: Make it RT aware
    fae24609aafa rtmutex: Add rt_mutex_lock_nest_lock() and rt_mutex_lock_killable().
    9d8c380fa819 rtmutex: Add a special case for ww-mutex handling.
    d6b24f0f2a8a sched: Trigger warning if ->migration_disabled counter underflows.
    6e09a284f2a6 lockdep/selftests: Avoid using local_lock_{acquire|release}().
    bd833044483a locking: Remove rt_rwlock_is_contended()
    36839db14247 jump-label: disable if stop_machine() is used
    5a657ef837de tcp: Remove superfluous BH-disable around listening_hash
    c11095ec78ef mm: workingset: replace IRQ-off check with a lockdep assert.
    168e3d8875c7 cgroup: use irqsave in cgroup_rstat_flush_locked()
    639d2eb6493f sched: Move mmdrop to RCU on RT
    590419b10863 sched: Delay task stack freeing on RT
    37860896be2e sched: Move kprobes cleanup out of finish_task_switch()
    dc3565cd6bbd sched: Disable TTWU_QUEUE on RT
    77db91d4d2b5 sched: Limit the number of task migrations per batch on RT
    8ea3ab8bb409 locking/rt: Take RCU nesting into account for __might_resched()
    b2f56dfeab18 sched: Make cond_resched_lock() variants RT aware
    9bac73a04b71 sched: Make RCU nest depth distinct in __might_resched()
    4f3dd3cb71e5 sched: Make might_sleep() output less confusing
    b8c4ad5ceaec sched: Cleanup might_sleep() printks
    588c973bd55b sched: Remove preempt_offset argument from __might_sleep()
    5b8fbf83bb40 sched: Make cond_resched_*lock() variants consistent vs. might_sleep()
    8e4b532478f2 sched: Clean up the might_sleep() underscore zoo
    3a5e868f92f0 fscache: Use only one fscache_object_cong_wait.
    67ba86618a1e fs/namespace: Boost the mount_lock.lock owner instead of spinning on PREEMPT_RT.
    cad3bedc2a83 smp: Wake ksoftirqd on PREEMPT_RT instead do_softirq().
    394e3bdd3242 irq_poll: Use raise_softirq_irqoff() in cpu_dead notifier
    4de8f9d6a1ad irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on PREEMPT_RT
    87e75faa338d irq_work: Handle some irq_work in a per-CPU thread on PREEMPT_RT
    d2100f67254d irq_work: Allow irq_work_sync() to sleep if irq_work() no IRQ support.
    ada60e0098ea sched/rt: Annotate the RT balancing logic irqwork as IRQ_WORK_HARD_IRQ
    f657de711e15 net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding.
    0d3a9c303dd9 net: sched: remove one pair of atomic operations
    853f1349041a net: sched: fix logic error in qdisc_run_begin()
    68f3b93760b7 net: sched: Allow statistics reads from softirq.
    86e29a3d2d68 net: sched: Remove Qdisc::running sequence counter
    304640d0b862 net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data types
    1c7a827367ee net: sched: Use _bstats_update/set() instead of raw writes
    22701ce1b59f net: sched: Protect Qdisc::bstats with u64_stats
    54538aff544a u64_stats: Introduce u64_stats_set()
    69534c384086 gen_stats: Move remaining users to gnet_stats_add_queue().
    e1f89d46623c mq, mqprio: Use gnet_stats_add_queue().
    d3968711bb65 gen_stats: Add gnet_stats_add_queue().
    c2b1af791919 gen_stats: Add instead Set the value in __gnet_stats_copy_basic().
    3d38b89d239a net/sched: sch_ets: properly init all active DRR list handles
    b59a9b759b1a kcov: Replace local_irq_save() with a local_lock_t.
    8e2db8a2201a kcov: Avoid enable+disable interrupts if !in_task().
    d244291fb820 kcov: Allocate per-CPU memory on the relevant node.
    6eec9f99da0e Documentation/kcov: Define `ip' in the example.
    e619eb9cb198 Documentation/kcov: Include types.h in the example.
    f002c820156b x86/softirq: Disable softirq stacks on PREEMPT_RT
    12b80085754b mm: Disable NUMA_BALANCING_DEFAULT_ENABLED and TRANSPARENT_HUGEPAGE on PREEMPT_RT
    a1411120989b mm/scatterlist: Replace the !preemptible warning in sg_miter_stop()
    56fb69cc8a0b mm: page_alloc: Use migrate_disable() in drain_local_pages_wq()
    39d1d6a46eaa mm: Allow only SLUB on PREEMPT_RT
    bf1b661248f6 crypto: testmgr - Only disable migration in crypto_disable_simd_for_test()
    ddd1767afd69 samples/kfifo: Rename read_lock/write_lock
    a6c921dd2368 net/core: disable NET_RX_BUSY_POLL on PREEMPT_RT
    96cc6b82ae54 mm: Disable zsmalloc on PREEMPT_RT
    f77af3465961 efi: Allow efi=runtime
    8b3cde535f8f efi: Disable runtime services on RT
    7082e94c5405 lockdep: Let lock_is_held_type() detect recursive read as read
    ffc314d30f16 genirq: Disable irqfixup/poll on PREEMPT_RT.
    1ec49f38b6ae genirq: Move prio assignment into the newly created thread
    e272fc66d6bc kthread: Move prio/affinite change into the newly created thread
    468813504d5a rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
    e6a408241cee sched: Switch wait_task_inactive to HRTIMER_MODE_REL_HARD
    cd6bda4839a6 printk: Enhance the condition check of msleep in pr_flush()
    2ad1282d77e8 printk: add pr_flush()
    cd582486f3e8 printk: add console handover
    25f13bd1d07b printk: remove deferred printing
    2d440f3f2ee5 printk: move console printing to kthreads
    df0a27dbd128 printk: introduce kernel sync mode
    4efb519165f1 printk: use seqcount_latch for console_seq
    8653ea7d3c45 printk: call boot_delay_msec() in printk_delay()
    892cddfada1f printk: relocate printk_delay()
    e1ac77117990 serial: 8250: implement write_atomic
    967b98b7c528 kdb: only use atomic consoles for output mirroring
    36422a33e3b3 console: add write_atomic interface
    7b9055c4c17d printk: rename printk cpulock API and always disable interrupts
    3791dee37847 arm64: mm: Make arch_faults_on_old_pte() check for migratability
    e5b82790a28d sched: Introduce migratable()
    0cf3b776c423 rcu/tree: Protect rcu_rdp_is_offloaded() invocations on RT

(From OE-Core rev: a784cd98bb095e19957bc5aeec3c3303bea64def)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Ross Burton
c0583c6bfc meta: use ln -rs instead of lnr
lnr is a script in oe-core that creates relative symlinks, with the same
behaviour as `ln --relative --symlink`.  It was added back in 2014[1] as
not all of the supported host distributions at the time shipped
coreutils 8.16, the first release with --relative.

However the oldest coreutils release in the supported distributions is
now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln.

[1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d

(From OE-Core rev: 1ca455a98de4c713f58df0a537d4c982d256cd68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Ross Burton
974df2f61c vim: add patch number to CVE-2021-3778 patch
(From OE-Core rev: 222be29051a3543ac63a0eb07019e90d44429b16)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Khem Raj
c44131cf61 wic: Use os.rename instead of bb.utils.rename
This is not invoked with bitbake context as a result bb.utils is not
visible when this function is called during image creation and builds
fail e.g.

NameError: name 'bb' is not defined

(From OE-Core rev: df9dca9fe4dd1abfe5f3986389a8e8ff524da5d7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Ross Burton
ce534e8e16 vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875
Backport patches from upstream to fix these CVEs.

(From OE-Core rev: b493eb4f9a6bb75a2f01a53b6c70762845bf79f9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
47b01a4ef3 msmtp: upgrade 1.8.18 -> 1.8.19
(From OE-Core rev: 52b44cb8770097310549aaef9bf014cc30ab83c6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
9552b4ce0b libpcre2: upgrade 10.37 -> 10.39
This release is mainly to fix an important JIT bug, but it also
contains an update to Unicode 14.0.0 and some code and configuration tidies.

License-Update:
 Add "Retired from" before "University of Cambridge Computing Service"

(From OE-Core rev: 928afb0d6faa48dd43cdc2c1a6598ad048a43d36)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
05e07584ca iw: upgrade 5.9 -> 5.16
(From OE-Core rev: bdc61a7c56d45561aa2441de6e4634962c9b59a9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
72fe0c2603 iso-codes: upgrade 4.7.0 -> 4.8.0
- ISO 3166-1: Add flag emoji to countries. Thanks to Pander
  for the suggestion. Fixes #19
- ISO 639-5: New translation for Chinese (Simplified)

- ISO 3166-2: Major update of data.
  Thanks to the script of Kevin Kaiser, which enables
  the download of ISO pages and parses the data.
  Fixes #15, #16, #27
- Rename ChangeLog.md to CHANGELOG.md and follow the suggestions
  from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Move all CHANGELOG entries from versions before 4.0 to an
  archive file (CHANGELOG-PRE-4.0.md) in order to reduce the
  massive size of this CHANGELOG.
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 15924

(From OE-Core rev: bc2b7decc9a9720500c381ee4839718dd820a15a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
93c449d6b2 iproute2: upgrade 5.14.0 -> 5.15.0
(From OE-Core rev: 609fd71c5d132b77072f1eb0cc4fe94370371eff)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
0ab57c6816 harfbuzz: upgrade 3.0.0 -> 3.1.1
Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod)
Documentation improvements. (Matthias Clasen)

(From OE-Core rev: e1bcaabdf73e995dd01b9c81807c855a2f0ad6bc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Kai Kang
2c01924791 squashfs-tools: follow-up fix for CVE-2021-41072
Squash a follow-up fix for CVE-2021-41072 from upstream:
https://github.com/plougher/squashfs-tools/commit/19fcc93

(From OE-Core rev: 70709ff0741ed9fb9c111ef4b7aa2ee7432453f4)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
40a8f79dda ell: upgrade 0.44 -> 0.45
Fix issue with ICMPv6 and handling re-entrantly callbacks.

(From OE-Core rev: 2968b9f18e35c2b9393dab666f229ab2419778b3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
ac34f24442 diffoscope: upgrade 189 -> 190
Changelog:
[Chris Lamb]
Don't raise a traceback if we cannot de-marshal Python bytecode to support
Python 3.7 loading newer .pyc files.
(Closes: reproducible-builds/diffoscope#284)
Fix Python tests under Python 3.7 with file 5.39+.

[Vagrant Cascadian]
Skip Python bytecode testing when "file" is older than 5.39.

[Roland Clobus]
Detect whether the GNU_BUILD_ID field has been modified.

(From OE-Core rev: b9c59b5d2ac29544c1877f50ec10d2126339d814)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
a0b518d332 btrfs-tools: upgrade 5.14.2 -> 5.15
Changelog v5.15 (Nov 2021)

mkfs: new defaults!
no-holes
free-space-tree
DUP for metadata unconditionally
libbtrfsutil: add missing profile defines
libbtrfs: minimize its impact on the other code, refactor and separate implementation where needed, cleanup afterwards, reduced header exports
documentation: introduce sphinx build and RST versions of manual pages, will become the new format and replace asciidoc
fixes: fix warning regarding v1 space cache when only v2 (free space tree) is enabled

(From OE-Core rev: 77d08d327b9e675109dc95c27ee4910d9047ec49)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Martin Jansa
87b49474f6 gdb-cross: add dependency on gmp-native
* it was already added for target and cross-canadian gdb in:
  commit 4643d1eb222151384f77d13a936537aae5ca3fe6
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Fri Nov 5 17:37:33 2021 -0700

    gdb: Add dependency on libgmp

    gdb 11 has added this library as must have

* but gdb-cross.inc overwrites DEPENDS from gdb-common.inc
  and needs the dependency as well as shown in log.do_compile:

  checking for libgmp... no
  configure: error: GMP is missing or unusable
  make[1]: *** [Makefile:9418: configure-gdb] Error 1

  and in gdb-cross-i686/11.1-r0/build-i686-oe-linux/gdb/config.log:

  configure:10402: checking for libgmp
  configure:10422: gcc  -o conftest -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -O2 -pipe     -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -I/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include  -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib                         -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/OE/tmp-glibc/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 conftest.c -lncursesw -lm -ldl  -lgmp >&5
  conftest.c:52:10: fatal error: gmp.h: No such file or directory
     52 | #include <gmp.h>
        |          ^~~~~~~

* this fails only when the host OS doesn't have GMP installed
  otherwise it will use libgmp from host and ignore
  --with-libgmp-prefix=/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr

(From OE-Core rev: 09a7d9d8d83529d82f847e52feac7719efb02a99)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Richard Purdie
c7fa673c79 mirrors: Add uninative mirror on kernel.org
At the last nas outage, we realised that we don't have good mirrors of the
uninative tarball if our main system can't be accessed. kernel.org mirrors
some Yocto Project data so we've ensured uninative is there. Add the appropriate
mirror url to make use of that.

(From OE-Core rev: 1833cb0c5841afafb468b963b74b63366b09a134)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Khem Raj
e4ade82d40 qemu: Fix build on aarch64/musl
(From OE-Core rev: 35040bba25bf994fa9e03f2b8f0c49822c41192c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Richard Purdie
ec2ba25376 bitbake: cooker: Handle parsing results queue race
The previous fix introduced a race where the queue might not be empty
but all the parser processes have exited. Handle this correctly to avoid
occasional errors.

(Bitbake rev: 8e7f2b6500e26610f52d128b48ca0a09bf6fb2cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:25:38 +00:00
Richard Purdie
2c46245f44 bitbake: fetch/wget: Add timeout for checkstatus calls (30s)
We had an issue where a webserver serving sstate had filesystem issues so
would accept connections but effectively not do anything with them. This
causes bitbake to hang whilst processing things like sstate objects inside
the checkstatus() calls. It can be replicated by setting up a server like:

socat -u TCP4-LISTEN:NNN,fork OPEN:/dev/null

and pointing SSTATE_MIRRORS in OE at that address.

Adding a timeout to the checkstatus calls of 15s means that whilst the
system will pause, it will then continue and not hang entirely. Since there
isn't a large transfer here, 30s should be a reasonable response time after
which we should fall back to building things ourselves.

[YOCTO #13716]

(Bitbake rev: edc3b0c3953cab675e29fe295b58cfa84ba811c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:25:38 +00:00
Richard Purdie
02f36dc832 bitbake: parse/ast: Show warnings for append/prepend/remove operators combined with +=/.=
Operations like XXX:append += "YYY" are almost always wrong and this
is a common mistake made in the metadata. Show warnings for these usages
with a view to making it a fatal error eventually.

(Bitbake rev: 8c31e75557dc6a8d8f407b5d24d6327889a3e3b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:25:38 +00:00
Richard Purdie
d922f577ae bitbake: cooker: Remove debug code, oops :(
(Bitbake rev: 19291665fa8b6cc331290f2542af3e8e653203f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 12:21:14 +00:00
Leif Middelschulte
6bc5e9a03c meson: improve SDK's wrapper to make Wraps work
Meson, as provided by the SDK, would fail to fetch Wraps' sources on bare
systems (i.e. systems, that only provide little more than the SDK).

This change modifies the wrapper script so that it sets an environment
variable (unless it is already set) that is used to determine valid
certificates for secured connections.

It does not affect bitbake's interaction with meson.

The SDK's SSL directory was not searched, so meson would fail when it tried
to fetch sources via https, that were specified in wrap files.
Specifically `urllib` would fail:
```
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
```

Caution: this patch depends on the underlying C library (i.e. openssl)
to consider this environment variable.

(From OE-Core rev: afad2f09ebbfe395f8fafce8218e26056479fe39)

Signed-off-by: Leif Middelschulte <Leif.Middelschulte@klsmartin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Chen Qi
c22ebd2f54 avahi: update CVE id fixed by local-ping.patch
CVE-2021-36217 is treated as a duplicate of CVE-2021-3502.
Update the local-ping.patch to mark it resolve both.

(From OE-Core rev: 4d75d6c39f1faeb38191b55f1fa9311b63fcfb29)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Khem Raj
65b01cbb7b qemu: Build on musl targets
This has been disabled for the given compile error which has been fixed
over time, qemu for target builds fine with musl now a days

(From OE-Core rev: c8902102a96475d7d292a04f0a2e5564cdab4cfe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Tom Hochstein
db9660c7db bitbake.conf: Use wayland distro feature for native builds
The wayland-scanner is missing from SDKs with weston, but the weston build
requires wayland-scanner. Allow the distro feature in order to include
the wayland-scanner packages via nativesdk-packagegroup-sdk-host.bb.

(From OE-Core rev: 858cc6f257e22e39df83f4808ea27c6d12cd1b80)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Tom Hochstein
9e929c83f1 nativesdk-packagegroup-sdk-host.bb: Update host tools for wayland
The wayland-scanner host tool required to build weston is moved to the
wayland-tools package, so update the SDK host tools list accordingly.

Also, the weston build requires wayland-scanner.pc to find wayland-scanner,
so add wayland-dev.

(From OE-Core rev: 31ed91bdbb0ec05730fb98d7cc523bb46aca50e3)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Tom Hochstein
166cbbbd48 wayland: Fix wayland-tools packaging
There are some packaging problems due to the wayland-tools packaging
implementation. The wayland-tools package currently looks like this:

wayland-tools
└── usr
    ├── bin
    │   └── wayland-scanner
    └── share
        └── wayland
            ├── wayland.dtd
            ├── wayland-scanner.mk
            └── wayland.xml

The files wayland.dtd and wayland.xml belong in the main package,
while wayland-scanner.mk belongs in wayland-dev.

Fix the wayland.dtd and wayland.xml packaging by prepending the
wayland-tools package and dropping the main package FILES variable
override. The file wayland-scanner.mk is included in the main
package by default, and so must be explicitly added to wayland-dev.

(From OE-Core rev: a31fbec45d24df5b74091940d0e0b2daf34d8492)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Richard Purdie
28937721ab bitbake: runqueue: Fix runall option handling
The previous fix for runall option handling had a small bug in it, it
didn't clear the originally processed task list which meant it was running
too many tasks. Fix this so the list is reset and rebuild correctly.

(Bitbake rev: 87c9e120897ed04dfc64d4752fc602f9bfcb8645)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:01:19 +00:00
Richard Purdie
267eca35c1 bitbake: fetch2/checksum/siggen: Fix taskhashes not tracking file directories
Currently if you have something like:

SRC_URI = "file://foobar;subdir=${S}"

and a file like:

foobar/1/somefile

and then move it to:

foobar/2/somefile

the task checksums don't reflect/notice this. The file-checksum fields
encode two pieces of data, the file path and whether or not the file
exists. Changing the code which uses these fields is problematic.

We can however add a "/./" path element which means "include the bit
after the marker in the checksum" which the path walking code can use
to mark which bits of the path are visible to the fetcher.

I'm not convinced this is great design but it does appear to work.

(Bitbake rev: b4975d2ecf615ac4c240808fbc5a3f879a93846b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:01:19 +00:00
Richard Purdie
bf411441f5 bitbake: cooker: Handle parse threads disappearing to avoid hangs
If one of the parse threads disappears during parsing for some reason, bitbake
currently hangs. Avoid this (and zombie threads hanging around) by joining()
threads which have exited.

(Bitbake rev: dc86a533d951d13643ce446533370da804782afc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:01:19 +00:00
Richard Purdie
d8e5d5fc16 bitbake: tests/fetch: Update pcre.org address after github changes
vcs.pcre.org was a redirect to github which we use for subversion testing.
With the protocol changes at github and the removal of the redirect, use a
direct address for github.

(Bitbake rev: 6230ca71eb7eb2a6db162e28a01727d00af5299b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:50:32 +00:00
Peter Kjellerstedt
66914d05dc libx11-compose-data: Update LICENSE to better reflect reality
There are no traces of neither the BSD-2-Clause license nor the
BSD-4-Clause license being used in the code. There is one occurrence
of the BSD-1-Clause license. On the other hand, HPND and
HPND-sell-variant are all over the place.

(From OE-Core rev: b0f30792fd0ea41f1d1590dbe0452c956e018c82)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:52 +00:00
Peter Kjellerstedt
04492e42fd libx11: Update LICENSE to better reflect reality
There are no traces of neither the BSD-2-Clause license nor the
BSD-4-Clause license being used in the code. There is one occurrence
of the BSD-1-Clause license. On the other hand, HPND and
HPND-sell-variant are all over the place.

(From OE-Core rev: 5cd90092e21ad245df40a60feed3598dd9c6b98b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Ross Burton
daa069382c scons: support out-of-tree builds
SCons has a slightly unusual implementation of out-of-tree builds where
there is no standard way of doing it. However, if a recipe sets B to
the idiomatic ${WORKDIR}/build and passes the right arguments so that this
is used then scons will fail as it is trying to find the SConstruct file
in ${B} not ${S}.

Always pass --directory=${S} to scons so that the SConstruct file can be
found, and don't call --clean if out-of-tree builds are being used as
we would have just deleted the entire build tree already.

(From OE-Core rev: 88d77d82ee506576988936e06b8d624879a80f2e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Joel Winarske
ddcaf35962 mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driver
Enables building the Vulkan 1.1 compliant v3d driver.

(From OE-Core rev: 8cc28b231b821bb9669eb3980281d27399f378be)

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Bruce Ashfield
b3f26faf05 linux-yocto/5.15: introduce recipes
The 5.15 kernel will be a LTS release, so we introduce our reference
recipes to track the release.

We have some configuration tweaks for the final 5.15 release, but this
is otherwise the same as the kernel that was tested in linux-yocto-dev.

(From OE-Core rev: 9241266d18fc081f570bbb22b45d0875546a2e93)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Bruce Ashfield
f4bafee142 linux-libc-headers: update to v5.15
No patches needed refreshing or removal, so we just update the
SRC_URI and pick up the latest uapi / kernel headers.

(From OE-Core rev: 9cebccedb16919b70198ee26acb8fcb6c4565359)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Bruce Ashfield
824782d6b5 ppp: fix build against 5.15 headers
The 5.15 kernel has removed ipx support, along with the userspace
visible header.

The build error was found for muslc, since it doesn't have a
fallback header, we disable it for both glibc/muslc.

This support wasn't used previously (as it hasn't been very well
maintained in the kernel for several years), so we can simply
disable it in our build and wait for upstream to do a release that
drops the support.

Although the tarball we use for our build (versus git), doesn't
use the autoconf disable flag to turn off the support, it is included
in this patch in case someone is building via git source base.

Upstream-Status: Inappropriate [OE-specific configuration/headers]

(From OE-Core rev: 2d61b061f52cc8dbed82e2d9547e8b52d3ec9e34)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Khem Raj
ed151b32e8 librsvg: Disable 64bit atomics on riscv32/mipsel in crossbeam
(From OE-Core rev: d1635d80c2e0c8680c0af9966eb6007700601c39)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:56:26 +00:00
Khem Raj
099199c951 gdb: Add dependency on libgmp
gdb 11 has added this library as must have

(From OE-Core rev: 4643d1eb222151384f77d13a936537aae5ca3fe6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:56:26 +00:00
Khem Raj
7bfe8b2f8c gdb: Upgrade to 11.1
Drop backported patches
Changes are here [1]

[1] https://sourceware.org/pipermail/gdb-announce/2021/000129.html

(From OE-Core rev: e1c421c0450212201ad9737bf203eac2bfcd37db)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:56:26 +00:00
Michael Opdenacker
eec7affb53 manuals: start of documentation standards document
This first version specifies how to create consistent SGV graphics

(From yocto-docs rev: 370b9e34e9092c9eed22df2e8b2d0bb979487e5c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Ross Burton
3c3e8c4f39 kickstart: update busybox note regarding PARTUUID
As of oe-core c996cabf the default BusyBox configuration supports
PARTUUID, so update the note to reflect this.

(From yocto-docs rev: cfd0498c6a981bcdc4b6bd03cb5f8dd42f0b39fc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Vyacheslav Yurkov
683a7db46d ref-manual: update overlayfs class
Describe how to use a generated helper service to set up a proper
systemd dependency chain.

(From yocto-docs rev: c8c1f7e852830dae4468da70e1ac732d7bbce06f)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Michael Opdenacker
fdcbca09f8 manuals: correct "take affect" by "take effect"
(From yocto-docs rev: aeaf46f78b940744ce2e160e78b244395087e8e7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Ross Burton
f8f44cb476 ref-manual: improve documentation for SDKMACHINE
(From yocto-docs rev: 69bfb07772e7d358bb532191189a2518d1046178)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Alexander Kanavin
5315936006 libpcre/libpcre2: correct SRC_URI
http://ftp.pcre.org is down, take sources according to links on
http://www.pcre.org

(From OE-Core rev: 81ba0ba3e8d9c08b8dc69c24fb1d91446739229b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Alexander Kanavin
b495d60a09 libxml2: mark patch as non-upstreamable
(From OE-Core rev: be5be9e36dc76215f8563d87f5a6b09c1ac7190b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Alexander Kanavin
ead2f6ced9 librsvg: set the needed atomic configuration flags directly per-target
Do not try to mangle the upstream list of targets;
after discussion with upstream it turns out it's neither
necessary nor upstreamable:
https://github.com/crossbeam-rs/crossbeam/pull/751

(From OE-Core rev: 97562668e1a76710acd2be7c8cdbcc1deb80bd9f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Alexander Kanavin
d5f7ee0e30 systemd-bootchart: submit musl patches upstream
(From OE-Core rev: abb4f439cdb364f7b04da8bd452fc18dbe44e67e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Alexander Kanavin
206dadd9c2 valgrind: mark ptest-specific patch as inappropriate
I do not think upstream is going to accept this; if you disagree
please do the submission.

(From OE-Core rev: 22b0bd6cfdbf7216a6aca34fa9ca93133a3cee64)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Jose Quaresma
45f732273c bitbake: cooker: check if upstream hash equivalence server is available
When the user specify an invalid upstream hash equivalence server in
BB_HASHSERVE_UPSTREAM notify the user that we can't connect the server.

(Bitbake rev: be45aeb9a84f30c28711e87e2d2a4a86320a8d94)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:46 +00:00
Richard Purdie
47e5c456a2 bitbake: runqueue: Fix runall option task deletion ordering issue
The runbuild option handling in runqueue was flawed as items deleted from the
main task list may be dependencies and hence cause index errors.

Rather than modify runtaskentries straight away, compute a new shorted list
and use that as an input to the second phase. This avoids the need to add tasks
back to the list meaning delcount can be simplifed to a simple counter.

The second use case in runonly doen't re-add items so doesn't have this
issue.

(Bitbake rev: 3428e3c54eb5cc03ff96f9cee6dc839afee7a419)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:46 +00:00
Khem Raj
a45d5e201c kernel-devsrc: Add vdso.lds and other build files for riscv64 as well
These additional bits are needed on riscv64 as well
Fixes
make[1]: *** No rule to make target 'arch/riscv/kernel/vdso/vdso.lds', needed by 'arch/riscv/kernel/vdso/vdso.so.dbg'.  Stop.
make: *** [arch/riscv/Makefile:114: vdso_prepare] Error 2

(From OE-Core rev: 446972600ed51ca75a2a4e579cdc3e6dd2e05195)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Ross Burton
1406a4f678 meson: set objcopy in the cross and native toolchain files
(From OE-Core rev: 0a589998e717ae3865f0db5abe6005ab4eee86d9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Jose Quaresma
5b9210d66c sstate: another fix for touching files inside pseudo
This patch is a fixup for 676757f "sstate: fix touching files inside pseudo"

running the 'id' command inside the sstate_unpack_package
function shows that this funcion run inside the pseudo:

 uid=0(root) gid=0(root) groups=0(root)

The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ]
will always return true and the touch can fail when the real user
don't have permission or in readonly filesystem.

As the documentation refers:
- the file test operator "-w" check if the file has write permission
(for the user running the test).
- the file test operator "-O" check if you are owner of file

We can avoid this test running the touch and mask any return errors
that we have.

(From OE-Core rev: 29fc85997ade490ae46ffca37ef8e1a56957c876)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Andres Beltran
d313f53126 create-spdx: Set the Organization field via a variable
Currently, the "Organization" field for SBOMs is hard-coded in
create-spdx. Create a new variable SPDX_ORG to make this field more
generic.

(From OE-Core rev: f239814f3f5d9bd54de54b0f2a5081067336e32b)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Bruce Ashfield
993b6ec2c2 strace: fix build against 5.15 kernel/kernel-headers
kernel 5.15 removed ipx.h from the uapi, but strace hasn't adjusted
its tests to the removal.

There is a WIP patch on the esyr/5.15 branch that solves the problem,
so we grab it here, adjust for context and fix our build problem.

When strace updates to 5.15, and we can bump our version and drop
this patch.

Upstream-Status: Backport [commit cca828197c0e16c2599129114]

(From OE-Core rev: a8c4ba727251e53494a4aec483fcc51982e6fb75)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Bruce Ashfield
b0605db35d linux-yocto-rt/5.10: update to -rt54
Integrating the following commit(s) to linux-yocto-rt/5.10:

    f01089784fd6 Linux 5.10.73-rt54
    f34df8f3c666 Linux 5.10.65-rt53
    271c5e6e4064 Linux 5.10.59-rt52
    1a4bba4bc32c locking/rwsem-rt: Remove might_sleep() in __up_read()
    ff591a2bdcfb Linux 5.10.59-rt51
    8d185ac23c11 Linux 5.10.58-rt50
    2c0fd44153f5 Linux 5.10.56-rt49
    8b083d3c993c printk: Enhance the condition check of msleep in pr_flush()
    448cd29e3bc9 Linux 5.10.56-rt48

(From OE-Core rev: 7c7dc8f38cf1e874a7722389c95d895e10855d9a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Bruce Ashfield
c4eaae88f2 linux-yocto/5.10: update to v5.10.76
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    378e85d1aeb5 Linux 5.10.76
    cfa79faf7e1f pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume()
    c56c801391c3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG
    d088db8637bb selftests: bpf: fix backported ASSERT_FALSE
    3a845fa00fd7 e1000e: Separate TGP board type from SPT
    021b6d11e590 tracing: Have all levels of checks prevent recursion
    3a0dc2e35a5d net: mdiobus: Fix memory leak in __mdiobus_register
    cfe9266213c4 bpf, test, cgroup: Use sk_{alloc,free} for test cases
    188907c25218 s390/pci: fix zpci_zdev_put() on reserve
    f18b90e9366f can: isotp: isotp_sendmsg(): fix TX buffer concurrent access in isotp_sendmsg()
    2304dfb548a4 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma()
    c58654f344dd net: hns3: fix for miscalculation of rx unused desc
    96fe5061291d sched/scs: Reset the shadow stack when idle_task_exit
    96f0aebf29be scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()
    90c8e8c0829b scsi: iscsi: Fix set_param() handling
    0eb254479685 Input: snvs_pwrkey - add clk handling
    ea9c1f5d8a3a perf/x86/msr: Add Sapphire Rapids CPU support
    7a5a1f09c8b4 libperf tests: Fix test_stat_cpu
    e56a3e7ae353 ALSA: hda: avoid write to STATESTS if controller is in reset
    85c8d8c1609d platform/x86: intel_scu_ipc: Update timeout value in comment
    9f591cbdbed3 isdn: mISDN: Fix sleeping function called from invalid context
    ab4f542b515b ARM: dts: spear3xx: Fix gmac node
    15d3ad79885b net: stmmac: add support for dwmac 3.40a
    f9d16a428489 btrfs: deal with errors when checking if a dir entry exists during log replay
    369db2a91d5c ALSA: hda: intel: Allow repeatedly probing on codec configuration errors
    81d8e70cdce4 gcc-plugins/structleak: add makefile var for disabling structleak
    69078a94365a net: hns3: fix the max tx size according to user manual
    f40c2281d2c0 drm: mxsfb: Fix NULL pointer dereference crash on unload
    96835b68d7b3 net: bridge: mcast: use multicast_membership_interval for IGMPv3
    0e033cb40761 selftests: netfilter: remove stray bash debug line
    f8a6541345c2 netfilter: Kconfig: use 'default y' instead of 'm' for bool config option
    7f221ccbee4e isdn: cpai: check ctr->cnr to avoid array index out of bound
    77c0ef979e32 nfc: nci: fix the UAF of rf_conn_info object
    8f042315fcc4 KVM: nVMX: promptly process interrupts delivered while in guest mode
    b41fd8f5d2ad mm, slub: fix incorrect memcg slab count for bulk free
    568f906340b4 mm, slub: fix potential memoryleak in kmem_cache_open()
    48843dd23c7b mm, slub: fix mismatch between reconstructed freelist depth and cnt
    c5c2a80368e9 powerpc/idle: Don't corrupt back chain when going idle
    197ec50b2df1 KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest
    fbd724c49bea KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()
    9258f58432c5 powerpc64/idle: Fix SP offsets when saving GPRs
    3e16d9d525a7 net: dsa: mt7530: correct ds->num_ports
    16802fa4c33e audit: fix possible null-pointer dereference in audit_filter_rules
    0d867a359979 ASoC: DAPM: Fix missing kctl change notifications
    a2606acf418e ALSA: hda/realtek: Add quirk for Clevo PC50HS
    6411397b6d7a ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
    b721500c979b vfs: check fd has read access in kernel_read_file_from_fd()
    895ceeff31b1 elfcore: correct reference to CONFIG_UML
    3cda4bfffd4f userfaultfd: fix a race between writeprotect and exit_mmap()
    93be0eeea14c ocfs2: mount fails with buffer overflow in strlen
    f1b98569e81c ocfs2: fix data corruption after conversion from inline format
    1727e8688d2e ceph: fix handling of "meta" errors
    603d4bcc0fcd ceph: skip existing superblocks that are blocklisted or shut down when mounting
    d48db508f911 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes
    5abc9b9d3ca5 can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length
    864e77771a24 can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv
    ecfccb1c58c9 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer
    053bc12df0d6 can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible()
    0917fb04069a can: isotp: isotp_sendmsg(): fix return error on FC timeout on TX path
    28f28e4bc3a5 can: peak_pci: peak_pci_remove(): fix UAF
    9697ad6395f9 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification
    4758e92e75ca can: rcar_can: fix suspend/resume
    4a0928c3ebca net: enetc: fix ethtool counter name for PM0_TERR
    00ad7a015409 drm/panel: ilitek-ili9881c: Fix sync for Feixin K101-IM2BYL02 panel
    eccd00728b1a ice: Add missing E810 device ids
    6418508a3ac2 e1000e: Fix packet loss on Tiger Lake and later
    29f1bdcaa3dd net: stmmac: Fix E2E delay mechanism
    d36b15e3e7b5 net: hns3: disable sriov before unload hclge layer
    6a72e1d78a2f net: hns3: fix vf reset workqueue cannot exit
    32b860d364d2 net: hns3: schedule the polling again when allocation fails
    96c013f40c9b net: hns3: add limit ets dwrr bandwidth cannot be 0
    21f61d10435c net: hns3: reset DWRR of unused tc to zero
    53770a411559 powerpc/smp: do not decrement idle task preempt count in CPU offline
    81dbd898fb7b NIOS2: irqflags: rename a redefined register name
    6edf99b000d6 net: dsa: lantiq_gswip: fix register definition
    ef97219d5fec ipv6: When forwarding count rx stats on the orig netdev
    38d984e5e845 tcp: md5: Fix overlap between vrf and non-vrf keys
    c28bea6b876f lan78xx: select CRC32
    9c8943812dac netfilter: ipvs: make global sysctl readonly in non-init netns
    911e01990c70 netfilter: ip6t_rt: fix rt0_hdr parsing in rt_mt6
    69ea08c1b539 ice: fix getting UDP tunnel entry
    842fce43190c ASoC: wm8960: Fix clock configuration on slave mode
    39afed394cc6 dma-debug: fix sg checks in debug_dma_map_sg()
    2a670c323055 netfilter: xt_IDLETIMER: fix panic that occurs when timer_type has garbage value
    0f4308a164a9 NFSD: Keep existing listeners on portlist error
    546c04c85791 xtensa: xtfpga: Try software restart before simulating CPU reset
    bfef5d826276 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
    d8284c981c1c drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI
    101e1bcb1147 xen/x86: prevent PVH type from getting clobbered
    a6285b1b2212 block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output
    85c1827eeee7 ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default
    5489c1bed5b8 arm: dts: vexpress-v2p-ca9: Fix the SMB unit-address
    f59da9f7efa7 io_uring: fix splice_fd_in checks backport typo
    b6f32897af19 xhci: add quirk for host controllers that don't update endpoint DCS
    b3b7f831a49b parisc: math-emu: Fix fall-through warnings

(From OE-Core rev: 61f8f7d18417334e3b13e4447f318107372dcfe0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Bruce Ashfield
641e3a90f5 linux-yocto/5.14: update to v5.14.15
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    b46092c7497e Linux 5.14.15
    96e4ea34f6d7 pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume()
    4850e9e3c6a3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG
    80344938e468 e1000e: Separate TGP board type from SPT
    0c4e87ba11eb net: mdiobus: Fix memory leak in __mdiobus_register
    2f4356963624 bpf, test, cgroup: Use sk_{alloc,free} for test cases
    4e5d794a2743 s390/pci: fix zpci_zdev_put() on reserve
    e27170d5f2fc s390/pci: cleanup resources only if necessary
    2be38f02ec89 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma()
    ff261f9aa654 autofs: fix wait name hash calculation in autofs_wait()
    1009f098dfbe drm/kmb: Limit supported mode to 1080p
    217d42e8b835 drm/kmb: Enable alpha blended second plane
    c1ad040dbea8 net/mlx5: Lag, change multipath and bonding to be mutually exclusive
    d2ec7d208d8e net/mlx5: Lag, move lag destruction to a workqueue
    42b6431f1c17 net: hns3: fix for miscalculation of rx unused desc
    f1972f14f16e sched/scs: Reset the shadow stack when idle_task_exit
    c4813d308517 mm/thp: decrease nr_thps in file's mapping on THP split
    a7fbb56e6c94 scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()
    c8c1b2183fb8 scsi: mpi3mr: Fix duplicate device entries when scanning through sysfs
    ce527668277c scsi: storvsc: Fix validation for unsolicited incoming packets
    08d82a9b65e7 scsi: iscsi: Fix set_param() handling
    6408a4c8da2f ASoC: codec: wcd938x: Add irq config support
    9eb2aaede632 Input: snvs_pwrkey - add clk handling
    9dd0389d77b9 perf/x86/msr: Add Sapphire Rapids CPU support
    11d6811cbde0 libperf tests: Fix test_stat_cpu
    65eec1fb58c1 libperf test evsel: Fix build error on !x86 architectures
    b6062308c510 spi-mux: Fix false-positive lockdep splats
    722ef19a161c spi: Fix deadlock when adding SPI controllers on SPI buses
    785d69099ef4 ALSA: hda: avoid write to STATESTS if controller is in reset
    3972b03ed085 platform/x86: intel_scu_ipc: Update timeout value in comment
    6659008140b4 platform/x86: intel_scu_ipc: Increase virtual timeout to 10s
    f5966ba53013 isdn: mISDN: Fix sleeping function called from invalid context
    ef24577a52ba ARM: dts: spear3xx: Fix gmac node
    834cc3fc2b99 net: stmmac: add support for dwmac 3.40a
    0c878175dd2f btrfs: deal with errors when checking if a dir entry exists during log replay
    051995bd0f42 ALSA: hda: intel: Allow repeatedly probing on codec configuration errors
    9906da162dc8 objtool: Update section header before relocations
    e73e72be194e objtool: Check for gelf_update_rel[a] failures
    515e03331255 bitfield: build kunit tests without structleak plugin
    3f66b6e01c82 thunderbolt: build kunit tests without structleak plugin
    d9f94a8ec35a device property: build kunit tests without structleak plugin
    2c793a67d71b iio/test-format: build kunit tests without structleak plugin
    930f561aae28 gcc-plugins/structleak: add makefile var for disabling structleak
    1d1af4da1c44 drm/msm/a6xx: Serialize GMU communication
    bbdd158b40b6 kunit: fix reference count leak in kfree_at_end
    dfcc47a1fe36 KVM: MMU: Reset mmu->pkru_mask to avoid stale data
    e647d75565ab net: hns3: fix the max tx size according to user manual
    b0e6db0656dd drm: mxsfb: Fix NULL pointer dereference crash on unload
    56a3d9637b77 KVM: SEV-ES: Set guest_state_protected after VMSA update
    d469678d6b50 net: bridge: mcast: use multicast_membership_interval for IGMPv3
    8f20259f186e selftests: netfilter: remove stray bash debug line
    057aef8df940 netfilter: Kconfig: use 'default y' instead of 'm' for bool config option
    cc20226e218a isdn: cpai: check ctr->cnr to avoid array index out of bound
    6197eb050cfa nfc: nci: fix the UAF of rf_conn_info object
    fb82d4dbee95 KVM: x86: remove unnecessary arguments from complete_emulator_pio_in
    66e46fe3f276 KVM: x86: split the two parts of emulator_pio_in
    9887c1668ada KVM: x86: check for interrupts before deciding whether to exit the fast path
    169577c8840e KVM: x86: leave vcpu->arch.pio.count alone in emulator_pio_in_out
    62a1a254ed83 KVM: SEV-ES: reduce ghcb_sa_len to 32 bits
    3f54362dc7d7 KVM: SEV-ES: go over the sev_pio_data buffer in multiple passes if needed
    4988e000b3a8 KVM: SEV-ES: fix length of string I/O
    727286b23f93 KVM: SEV-ES: keep INS functions together
    98c55c508df0 KVM: SEV-ES: clean up kvm_sev_es_ins/outs
    abcae3cd6272 KVM: SEV-ES: rename guest_ins_data to sev_pio_data
    6697ceb9f6cd KVM: SEV: Flush cache on non-coherent systems before RECEIVE_UPDATE_DATA
    495bd03b6ba5 KVM: nVMX: promptly process interrupts delivered while in guest mode
    dc94b8b3f28a mm, slub: fix incorrect memcg slab count for bulk free
    159d8cfbd042 mm, slub: fix potential use-after-free in slab_debugfs_fops
    42b81946e3ac mm, slub: fix potential memoryleak in kmem_cache_open()
    ec93d4a439c3 mm, slub: fix mismatch between reconstructed freelist depth and cnt
    65ede7bd9713 powerpc/idle: Don't corrupt back chain when going idle
    5a8c22e7fb66 KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest
    6d077c37c464 KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()
    e8735e2e306f ucounts: Fix signal ucount refcounting
    1eb825343d63 ucounts: Proper error handling in set_cred_ucounts
    f7f7e4dbc41c ucounts: Pair inc_rlimit_ucounts with dec_rlimit_ucoutns in commit_creds
    32880dcecb51 ucounts: Move get_ucounts from cred_alloc_blank to key_change_session_keyring
    04b938ff2d2c net: dsa: mt7530: correct ds->num_ports
    4e9e46a70020 audit: fix possible null-pointer dereference in audit_filter_rules
    b1a34f86b41f blk-cgroup: blk_cgroup_bio_start() should use irq-safe operations on blkg->iostat_cpu
    152f35191d12 ASoC: nau8824: Fix headphone vs headset, button-press detection no longer working
    a60ce083dcbf ASoC: DAPM: Fix missing kctl change notifications
    9da68a107d07 ALSA: hda/realtek: Add quirk for Clevo PC50HS
    896fc3ab9fc1 ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
    b77ba1e02345 mm/secretmem: fix NULL page->mapping dereference in page_is_secretmem()
    abe046ddf311 vfs: check fd has read access in kernel_read_file_from_fd()
    3681e4772c78 elfcore: correct reference to CONFIG_UML
    9ee4e9ae98f1 mm/mempolicy: do not allow illegal MPOL_F_NUMA_BALANCING | MPOL_LOCAL in mbind()
    149958ecd062 userfaultfd: fix a race between writeprotect and exit_mmap()
    6de91691768c mm/userfaultfd: selftests: fix memory corruption with thp enabled
    0e677ea5b739 ocfs2: mount fails with buffer overflow in strlen
    fa9b6b6c953e ocfs2: fix data corruption after conversion from inline format
    909c8482d8ac tracing: Have all levels of checks prevent recursion
    54dc25f4e31e ceph: fix handling of "meta" errors
    0ff7b35631ac ceph: skip existing superblocks that are blocklisted or shut down when mounting
    d832133cf228 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes
    03ec23e55e3e can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length
    6e8811707e2d can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv
    fb545be86c53 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer
    013e7890663d can: isotp: isotp_sendmsg(): fix TX buffer concurrent access in isotp_sendmsg()
    a76abedd2be3 can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible()
    1d12d110a820 can: isotp: isotp_sendmsg(): fix return error on FC timeout on TX path
    0e5afdc2315b can: peak_pci: peak_pci_remove(): fix UAF
    44c353a14375 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification
    e18b9f4d62c1 can: rcar_can: fix suspend/resume
    113f7a1f3421 net: enetc: make sure all traffic classes can send large frames
    284c68cae7e0 net: enetc: fix ethtool counter name for PM0_TERR
    eff55ddd240f drm/kmb: Enable ADV bridge after modeset
    c0179dbae96d drm/kmb: Corrected typo in handle_lcd_irq
    566ec004ed8b drm/kmb: Disable change of plane parameters
    2317b45fb3d2 drm/kmb: Remove clearing DPHY regs
    97cfc4b28c4d drm/kmb: Work around for higher system clock
    4dbf3d658540 drm/panel: ilitek-ili9881c: Fix sync for Feixin K101-IM2BYL02 panel
    3b194affe445 net/mlx5e: IPsec: Fix work queue entry ethernet segment checksum flags
    ea7a4d6132ce net/mlx5e: IPsec: Fix a misuse of the software parser's fields
    e867502bc4f6 ice: Add missing E810 device ids
    9b76c3fedb24 igc: Update I226_K device ID
    3300633367b6 e1000e: Fix packet loss on Tiger Lake and later
    95c0a0c5ec88 ptp: Fix possible memory leak in ptp_clock_register()
    d487413c020f net: stmmac: Fix E2E delay mechanism
    9b5a29f0acef net: hns3: disable sriov before unload hclge layer
    82a136c15a77 net: hns3: fix vf reset workqueue cannot exit
    9ee9191d3384 net: hns3: schedule the polling again when allocation fails
    6446be7c9090 net: hns3: add limit ets dwrr bandwidth cannot be 0
    dddafeda454a net: hns3: reset DWRR of unused tc to zero
    93fa0277ea4e net: hns3: Add configuration of TM QCN error event
    3ea0b497a7a2 powerpc/smp: do not decrement idle task preempt count in CPU offline
    0666c4cd67b1 net: dsa: Fix an error handling path in 'dsa_switch_parse_ports_of()'
    9ef9a287aab5 NIOS2: irqflags: rename a redefined register name
    8b523da74a22 net/sched: act_ct: Fix byte count on fragmented packets
    872b836a183d net: dsa: lantiq_gswip: fix register definition
    57deb5ffd8f6 hamradio: baycom_epp: fix build for UML
    c74f3c127e6c ipv6: When forwarding count rx stats on the orig netdev
    1dda424ef5c4 tcp: md5: Fix overlap between vrf and non-vrf keys
    9c281a1006f4 lan78xx: select CRC32
    5220cad0e69e sctp: fix transport encap_port update in sctp_vtag_verify
    ddffcd23d325 netfilter: ipvs: make global sysctl readonly in non-init netns
    cd3d0282dd3d netfilter: ip6t_rt: fix rt0_hdr parsing in rt_mt6
    aabf95dddb45 ice: Print the api_patch as part of the fw.mgmt.api
    75ebc3b08bbd ice: fix getting UDP tunnel entry
    777682e59840 ice: Avoid crash from unnecessary IDA free
    31b4517293bf ice: Fix failure to re-add LAN/RDMA Tx queues
    18b4fcfeab6d ASoC: wm8960: Fix clock configuration on slave mode
    2b7d598b9651 dma-debug: fix sg checks in debug_dma_map_sg()
    90c7c58aa2bd netfilter: nf_tables: skip netdev events generated on netns removal
    cae7cab804c9 netfilter: xt_IDLETIMER: fix panic that occurs when timer_type has garbage value
    78325fcb17f3 KVM: arm64: Release mmap_lock when using VM_SHARED with MTE
    b372264c66ef KVM: arm64: Fix host stage-2 PGD refcount
    649c2e76632d ASoC: cs4341: Add SPI device ID table
    efdcc26785de ASoC: pcm179x: Add missing entries SPI to device ID table
    242ce1c51b69 ASoC: fsl_xcvr: Fix channel swap issue with ARC
    41551810285e ASoC: pcm512x: Mend accesses to the I2S_1 and I2S_2 registers
    c8ecd221db9a powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC
    663e89b7f4cc powerpc/security: Add a helper to query stf_barrier type
    23d127cf5e66 powerpc/bpf: Validate branch ranges
    e680ab91a034 powerpc/lib: Add helper to check if offset is within conditional branch range
    6fe5d304ca49 NFSD: Keep existing listeners on portlist error
    9ad89fcde18c xtensa: xtfpga: Try software restart before simulating CPU reset
    8287678c20b2 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
    2602e9cc283a drm/amdgpu: init iommu after amdkfd device init
    68771262aab3 drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI
    537a7189df57 r8152: avoid to resubmit rx immediately
    7d8cdaffc518 xen/x86: prevent PVH type from getting clobbered
    28d084adc22d block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output
    96a37f6acb6a ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default
    470585caf603 arm: dts: vexpress-v2p-ca9: Fix the SMB unit-address
    79e3dc32f14f sh: pgtable-3level: fix cast to pointer from integer of different size
    d3f4c51c2a7f parisc: math-emu: Fix fall-through warnings
    4248f37f6cfc block/mq-deadline: Move dd_queued() to fix defined but not used warning

(From OE-Core rev: 5c2c7e54bf17d28fe8b918ee8f053748b2b13e01)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Richard Purdie
dfd532aa30 opkg: Fix poor operator combination choice
Combining :append with += rarely makes sense. Improve it to use the standard
format (and tweak the implied spacing).

(From OE-Core rev: 768766dc007ebe9b4bc38d425584be03fbdb98c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Alexander Kanavin
d96c3dd1c4 perl: backport gdbm 1.2x compatibility fixes
(From OE-Core rev: 2ac647ca63e240f982d08a8b538648f602071cd9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Alexander Kanavin
bc2e9475a9 gdbm: upgrade 1.19 -> 1.22
(From OE-Core rev: f379e20f8e35ce1ddaf0669051b9c82c39a882ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Peter Kjellerstedt
3e9c480121 insane.bbclass: Add a check for directories that are expected to be empty
The empty-dirs QA check verifies that all directories specified in
QA_EMPTY_DIRS are empty. It is possible to specify why a directory is
expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:<path>,
which will then be included in the error message if the directory is
not empty. If it is not specified for a directory, then "but it is
expected to be empty" will be used.

(From OE-Core rev: a454fda9c3d6b11cfdc54a49a7bb3f8a76a5ed58)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
wangmy
97850bbc8e python3-docutils: upgrade 0.17.1 -> 0.18
The exceptions to the "Public Domain Dedication" changed.

-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 4ca6eb8d4f7209af70bba6f50d4acd105134fa51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
wangmy
1f67c53f43 python3-dbusmock: upgrade 0.24.0 -> 0.24.1
Do not register standard D-Bus service directories (Thanks Benjamin Berg)
templates: Add IIO Sensors Proxy support (Thanks Marco Trevisan)
Fix importlib module import (Thanks Marco Trevisan)
Clean up code for most recent pylint version

(From OE-Core rev: f290414f206904136c79ab6834c6c7ad7052c6d9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
wangmy
2b10adc084 glib-2.0: upgrade 2.70.0 -> 2.70.1
Fix network changes not being signalled from NetworkManager (work by
Julian Andres Klode) (#2505)

Fix build when building with --fatal-meson-warnings (work by Eli Schwartz) (!2304)

Bugs fixed:

2245 gdesktopappinfo: Do not call xterm when it does not exist, inform the caller the launch failed

2253 Backport 2251 "GString: Bump minimum size" to glib-2-70

2256 Backport 2254 "Small optimization for g_object_set" to glib-2-70

2259 Backport 2257 "Fix documentation for g_dbus_object_manager_get_object()." to glib-2-70

2262 Backport 2244 "gutils: Avoid segfault in g_get_user_database_entry" to glib-2-70

2271 Backport 2266 "fix uninitial variable" to glib-2-70

2276 Backport 2274 "Do not try to access errno after calling getpwnam_r." to glib-2-70

2300 Backport 2285 "fix issues found by svace static code analyzer" to glib-2-70

2301 Backport 2293 "glib-private: Fix MSVC build with AddressSanitizer" to glib-2-70

2302 Backport 2291 "gnetworkmonitornm: Stop using removed PropertiesChanged signal" to glib-2-70

2304 meson: fix warnings for extract_all_objects function

(From OE-Core rev: 0924cdc5b266f18840ebe30bdaa84df56e3f8c76)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
wangmy
b0f8f2e3d3 bind: upgrade 9.16.21 -> 9.16.22
(From OE-Core rev: 96ac0ef5797d58d879c81b040cac77024def5b83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Kai Kang
8b07a6769c squashfs-tools: fix CVE-2021-41072
Backport patch to fix CVE-2021-41072. And 3 more ancestor commits are
backported too, otherwise it fails to compile.

CVE: CVE-2021-41072

Ref:
* https://nvd.nist.gov/vuln/detail/CVE-2021-41072

(From OE-Core rev: 5a6ef2c040154a5a4e5516013a8ff58c8ca7a518)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
7ee9a45fe0 libjitterentropy: upgrade 3.3.0 -> 3.3.1
(From OE-Core rev: 9fe674c9d782996ba2625367d1ffc82fb9501156)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
d4ebd6361a lrzsz: patch is not upstreamable
(From OE-Core rev: fed850280c376c0668c238980d34f75e1db6d908)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
50f4e44502 docbook-xml: patch is not upstreamable
(From OE-Core rev: 9ca29d47755929c5c26c96150cb5e2e353182c70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
1b1f71c0a7 cracklib: patches submitted upstream
(From OE-Core rev: 3d2e9354945dcf4e89e001f9816c8ea2dc79b066)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
8111876d1c cracklib: update 2.9.5 -> 2.9.7
(From OE-Core rev: d5486e497db0582d9b30ecdf8b34e4b2d33b6d37)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5e71dde477 xf86-video-intel: update to latest commit
Drop patches merged upstream.

(From OE-Core rev: 22bb5991e604cc6897d80623af49412db482db05)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
933a4bd663 librsvg: update 2.52.2 -> 2.52.3
(From OE-Core rev: 72a378cf09d297ab7d64b3905cdf313b63c5fa6b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5b543a7e72 icu: update 69.1 -> 70.1
License-Update: formatting, updated copyright holders

(From OE-Core rev: dc4b988fa3bc53028bed1a2245de36003690a23c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
c537fbff68 ffmpeg: update 4.4 -> 4.4.1
(From OE-Core rev: f3afff95455153a89df1d0b15b6173b910863be8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
6a9bc76d6e cmake: update 3.21.3 -> 3.21.4
(From OE-Core rev: d3bc081c2c8c0e278b0b4376f0526cf514429f30)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5e101a3ab0 gawk: update 5.1.0 -> 5.1.1
(From OE-Core rev: ff2a4b3c2f1e81d8cc1bd2b4f823e83a775f641a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5d31cc3ef9 diffoscope: upgrade 188 -> 189
(From OE-Core rev: a77af2b54f96cf0b743b3e22978f9a979aaf3712)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
86887c58fe nghttp2: upgrade 1.45.1 -> 1.46.0
(From OE-Core rev: 3d7ad21e7ac66f96752dcd9eeb1018c718d9b7ff)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
ec10f3dfcd libsoup-2.4: upgrade 2.74.0 -> 2.74.1
(From OE-Core rev: e344f359b1fb14cec9d48743bd1bfd2d943f7da6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
d386e6041b libsoup: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: c9e367cbdd24750f83baf89d6926e4e77f4e2295)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
e72a8b91a5 puzzles: upgrade to latest revision
(From OE-Core rev: a7914d117f93f234074cfe0d5220fad029ca27b5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
f5060a93b7 linux-firmware: upgrade 20210919 -> 20211027
License-Update: additional firmwares listed

(From OE-Core rev: 1ca3fb1c7f11e04bf8d8bf59901ddd60178cb13c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
e593687190 mesa: upgrade 21.2.4 -> 21.2.5
(From OE-Core rev: 24e8b9af5188405fdc72e42c26d95f0749e91a0c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
85bc62cc5e stress-ng: upgrade 0.13.00 -> 0.13.06
(From OE-Core rev: 6e87b43f1fec8430529d22b5c0c970afdc39b9f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5845d1b0f9 lighttpd: upgrade 1.4.60 -> 1.4.61
(From OE-Core rev: 1377aeba6bbdb6a8d0bfa9cb754ef52f6e9b06d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
6d4079f77e asciidoc: upgrade 10.0.0 -> 10.0.1
(From OE-Core rev: 80f1045d7eb871994fb7379d27bd339e1efa70ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
4c41868b29 vala: upgrade 0.54.2 -> 0.54.3
(From OE-Core rev: 64424bd2de7b890bf0df14c4545a1144d75675ce)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
3e276f598b python3-pyparsing: upgrade 3.0.0 -> 3.0.4
(From OE-Core rev: 6909ecaef580c43d2e439249b0134bf850448d93)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
a9b65ad9cb python3-gitdb: upgrade 4.0.7 -> 4.0.9
(From OE-Core rev: b0de9c477dcc63a4b28a430b0a45cd63f731721b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
0cb32ebdec psplash: upgrade to latest revision
(From OE-Core rev: 2275251cdcb2f1002e846f7796aac3661370dbd9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Manuel Leonhardt
659b5540a6 dpkg: Install dkpg-perl scripts to versioned perl directory
Install dpkg-perl scripts to versioned perl directory, otherwise the
following traceback happens when running, e.g. dpkg-architecture on the
target:

Can't locate Dpkg.pm in @INC (you may need to install the Dpkg module)
  (@INC contains: /usr/lib/perl5/site_perl/5.30.1/aarch64-linux
  /usr/lib/perl5/site_perl/5.30.1
  /usr/lib/perl5/vendor_perl/5.30.1/aarch64-linux
  /usr/lib/perl5/vendor_perl/5.30.1
  /usr/lib/perl5/5.30.1/aarch64-linux
  /usr/lib/perl5/5.30.1 .) at /usr/bin/dpkg-architecture line 25.

Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: bdd4757ae057c7b3bfe27353fa25c4d7807a86ce)

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Manuel Leonhardt
4c6efbf035 sstate: Account for reserved characters when shortening sstate filenames
Previously, when shortening sstate filenames, the reserved
characters for .siginfo were not considered, when siginfo=False,
resulting in differently shortend filenames for the sstate and siginfo
files. With this change, the filenames of the truncated sstate and
siginfo files have the same basename, just as is already the case for
untruncated filenames.

Making sure that the .siginfo files always have the filename of the
corresponding sstate file plus its .siginfo suffix, also when being
truncated, makes it easier to manage the sstate cache and an sstate
mirror outside of Bitbake/Yocto.

(From OE-Core rev: c2e0e43b7123cf5149833e0072c8edaea3629112)

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Ross Burton
851be8baed python3: silence DeprecationWarnings in python3-config
Our patched python3-config uses distutils, but that will emit a
DeprecationWarning when imported.  This isn't useful when using the
output of python3-config to find include paths.

This isn't a huge problem typically as the warning goes to stderr, but
some build systems read both stdout and stderr.

(From OE-Core rev: e25b8f5af70a094307dc5c0a25f213ae9570f349)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Jon Mason
859776220f runqemu: work without SERIAL_CONSOLES being defined
Not all machine definitions need to have SERIAL_CONSOLES defined, but
runqemu currently will fail with the following script error if not
present:

Traceback (most recent call last):
  File "/builder/meta-arm/poky/scripts/runqemu", line 1604, in main
    config.setup_final()
  File "/builder/meta-arm/poky/scripts/runqemu", line 1446, in setup_final
    self.setup_serial()
  File "/builder/meta-arm/poky/scripts/runqemu", line 1381, in setup_serial
    self.kernel_cmdline_script += ' console=%s' %entry.split(';')[1]
IndexError: list index out of range

To get around this issue, add a sanity check to runqemu to avoid the
parsing of SERIAL_CONSOLES if empty.

(From OE-Core rev: e8359000e765f876c041b6ccabe63f069f83efec)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Peter Kjellerstedt
94133e1366 apt: Do not install /var/log/apt for target
/var/log is normally a link to /var/volatile/log and /var/volatile is a
tmpfs mount. So anything created in /var/log will not be available when
the tmpfs is mounted.

Also some whitespace clean up.

(From OE-Core rev: 876d09bd42e24db3a498148e3305fb27f70ceda0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Ross Burton
bc18edd076 openssl: fix builds on ARMv8 targets without Aarch64
ARMv8 doesn't imply Aarch64, so correct a check that was making that
assumption.  This fixes the build on 32-bit ARMv8 targets such as
Cortex-A32.

(From OE-Core rev: 78ae8b02bfbf0d98ae481682179439845d30c797)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Robert Yang
4f0400c3e5 sanity.bbclass: Update required gcc version to v7.5
qemu-native 6.1.0 requires at least gcc v7.5:
ERROR: You need at least GCC v7.5 or Clang v6.0 (or XCode Clang v10.0)

(From OE-Core rev: 0137c3da41f8d9328888167fb497539436ead4e9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Alexander Kanavin
53754fa3b5 libxml2: submit patch upstream
(From OE-Core rev: 62d0992ae831caa4b6bda5a300db5e8068480a7b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Alexander Kanavin
640e2e9b77 curl: submit patch upstream
(From OE-Core rev: 9b1dba1a8e56f95bb3ab44130da293795975b67d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Chen Qi
574856a3d6 opkg: use oe.qa.add_message istead of package_qa_add_message
Since the following commit, package_qa_add_message is no longer
available, use oe.qa.add_message instead.

"""
commit f0ad152ef4cc15c042bc9eeefb6af096d054b220
Author: Mike Crowe <mac@mcrowe.com>
Date:   Fri Oct 15 15:39:53 2021 +0100

    lib/oe/qa,insane: Move extra error handling functions to library

    Extract package_qa_write_error, package_qa_handle_error and
    package_qa_add_message functions from insane.bbclass to lib/oe/qa.py and
    drop the package_qa_ prefixes.
...
"""

(From OE-Core rev: d181f8c3798165808b1f529650ca47aae7730d9d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
18e7c41351 go-helloworld/glide: Fix urls
Handle github protocol changes not covered by the script due to variable indirection.

(From OE-Core rev: 3bb1cb476dbad1037522970af9afd69691a7033c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
ba2f6c64a1 recipes: Update github.com urls to use https
Github has announced there will be no more git:// fetching from their servers:

https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git

and they're about to start having brownout periods to encourage people
to update. This runs the conversion script over OE-Core to update our
urls to use https instead of git.

(From OE-Core rev: b37b61e9a1e448a34957db9ae39285d21352552e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
e177e03320 scripts/convert-srcuri: Update SRC_URI conversion script to handle github url changes
Github are dropping support for git:// protocol fetching. Update the script
to learn about corner cases found in the previous conversion and
support remapping the github urls as needed too.

(From OE-Core rev: e59fe8279b209f67ff79b9d6dbb69389a64db236)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
f57b77ff32 bitbake.conf: Fix corruption of GNOME mirror url
The url changes from the script accidentally corrupted this mirror
url, fix it.

(From OE-Core rev: a16dd60fb058ec2257eb1c6c0baa86e11e78cb42)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
b3dcb6b179 bitbake: tests/fetch: Add test for url parameter rewriting
Add a test to ensure that a parameter like protocol=git can be rewritten
to a different url and protocol.

(Bitbake rev: 69b4f9a09ff74378788cc2ec1ad58cd66b27ca59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
a4c1325251 bitbake: fetch: Handle mirror user/password replacements correctly
Username or password replacements in URIs were being appended rather than
replaced in mirror url remapping. Fix this and add a test case.

[YOCTO #13823]

(Bitbake rev: 66ad58bb87e5158aced572be4f1d5726bc97fcce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
34e4eebc32 bitbake: lib/bb: Fix string concatination potential performance issues
Python scales badly when concatinating strings in loops. Most of these
references aren't problematic but at least one (in data.py) is probably
a performance issue as the issue is compounded as strings become large.

The way to handle this in python is to create lists which don't reconstruct
all the objects when appending to them. We may as well fix all the references
since it stops them being copy/pasted into something problematic in the future.

This patch was based on issues highligthted by a report from AWS Codeguru.

(Bitbake rev: d654139a833127b16274dca0ccbbab7e3bb33ed0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
791d6e63be bitbake: daemonize: Avoid unclosed file warning
In theory we can leak the so file descriptor so refactor the code
to avoid that.

(Bitbake rev: dfad69d4d8c894a5e1e2686023e41552de09bf3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
9abab49f2b bitbake: lib/bb: Clean up use of len()
(Bitbake rev: bbbc843e86639604d00d76b1949b94a78cf1d95d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
5fb6b453f6 bitbake: fetch/git: Show warning for invalid github urls
On master, tell the users they need to update their urls for github.

(Bitbake rev: 42526a402357e04794f4cb6f21ac18f562220a9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
489fe8ff39 bitbake: fetch/git: Handle github dropping git:// support
github is dropping support for git protocol in Git urls. Add code to remap
this to https in a way that could be used in older bitbake versions.

(Bitbake rev: f05e19135b3ddee509c0cb427b3b9376bb4738d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
2cf162f5fe bitbake: tests/fetch: Update github urls
(Bitbake rev: 07fca7e3ab696ba985b3ef86ab9031d688bf2df2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
d576d9ca3a bitbake: fetch2/git: Add a warning asking users to set a branch in git urls
There is much uncertainty around what tools and hosting providers will
do about default git branch naming in the future. To help ensure we
can handle the various scenarios, we will make branch names required in
SRC_URI. To start that process, show users a warning if it isn't set.
This may also allow us to change the default at some point in the future.

(Bitbake rev: 86a9c26828479be55865bcce72bcc7e12b93caa7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
5acc697506 bitbake: fetch2/git: Allow git fetcher to support subdir param
The git fetcher is odd in that it supports destsuffix as a parameter but not
the default documented subdir parameter. destsuffix is more limited as it can't
take absolute paths. Rework the code to correctly support subdir.

Also cleanup to use the None default .get() values and be a bit more pythonic
and use subpath as the variable name for subpath for code clarity.

We could consider dropping destsuffix as a parameter as some future point.

Also fix the tests not to pass in a subdir parameter which was never used
but now causes errors.

(Bitbake rev: 66953f06fe822e4001efabd9fc1c985ea2b03f96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Stefan Herbrechtsmeier
e17d4895ca bitbake: fetch2: npmsw: Add support for github prefix in npm shrinkwrap version
(Bitbake rev: 1d8af6aed0a929f493d2c3e31b8d3ee3a70beb43)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Stefan Herbrechtsmeier
a3a26e500a bitbake: fetch2: npmsw: Add support for duplicate dependencies without url
(Bitbake rev: 9dcd9a3c671b24982aff9a994e31cb9f491471f5)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Chen Qi
c94075d623 bitbake: fetch2: fix downloadfilename issue with premirror
The following commit to fix [Yocto #13039] causes regression of
the behavior of PREMIRRORS.

  "bitbake: fetch2: fix premirror URI when downloadfilename defined"

Take meta-openembedded/meta-networking/recipes-protocols/freediameter/freediameter_1.4.0.bb
as an example.
SRC_URI = "\
    http://www.freediameter.net/hg/${fd_pkgname}/archive/${PV}.tar.gz;downloadfilename=${fd_pkgname}-${PV}.tar.gz \
    ...
"
With the above commit, it now tries to fetch 1.4.0.tar.gz instead of
freeDiameter-1.4.0.tar.gz. This makes https://downloads.yoctoproject.org/mirror/sources
not work for freediameter, as it holds freeDiameter-1.4.0.tar.gz.

The commit above tries to avoid fetching from invalid url such as:
https://<some_mirror>/1.4.0.tar.gz/freeDiameter-1.4.0.tar.gz.
And its solution is to make basename to be 1.4.0.tar.gz, thus causing the
regression.

This patch fixes the above regression. For Yocto #13039, it now tries
to fetch from url: https://<some_mirror>/freeDiameter-1.4.0.tar.gz.

(Bitbake rev: 96c30007dc0b32eee2b15771daec7948bc9bfd97)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Chen Qi
1e5744c46d bitbake: tests/fetch.py: add test case to ensure downloadfilename is used for premirror
Add a test case test_fetch_premirror_use_downloadfilename_to_fetch to ensure
that 'downloadfilename' is used when fetching from premirror.

Although the other two previous test cases, test_fetch_premirror_specify_downloadfilename_regex_uri
and test_fetch_premirror_specify_downloadfilename_specific_uri already
implicitly contain such verification, we still need to add a very clear
case to ensure no regression.

(Bitbake rev: 20aabc3d53f69949810ecf02295725db947ffef8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Chen Qi
e36765222d bitbake: tests/fetch.py: fix premirror test cases
When downloadfilename is specified, it is used to fetch from premirror.
So fix the test cases accordingly.

(Bitbake rev: 3b4d2e3b5024324058360a2a28f33c34114218d0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Peter Kjellerstedt
16b2acfff2 base-files: Ignore the empty-dirs QA error due to files in /var/volatile
(From OE-Core rev: f33f3f1d3800fe4a1fe47f2ae1056d1ac2b0c2a5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Peter Kjellerstedt
8aa69972a6 systemd: Do not install anything in /var/volatile
/var/log is typically a symbolic link to inside /var/volatile, which
is expected to be empty. Check ${VOLATILE_LOG_DIR} to see if it is ok
to install /var/log.

(From OE-Core rev: 73356f6d9d3881cf8ebde91a84758b25c63432cf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Khem Raj
671aa4424a libsolv: Enable correct qsort_r on musl
Newer musl now has this function implemented and signatures are same as
glibc, current codepaths forces it on BSD path which is wrong for musl
and results in random segfaults in apps using libsolv e.g. opkg

(From OE-Core rev: caf0457ef1e081eed177ade5e727dd7aa3f41bdd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Khem Raj
887fa42d44 site/common-musl: Enable qsort_r in glib
musl now has qsort_r

(From OE-Core rev: 35065c75bdb4725745ecc8b41fe920b6dc81f1e1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Khem Raj
bee392a326 musl: Update to tip of trunk
This brings following fixes

* b76f37fd add qsort_r and make qsort a wrapper around it
* 7be59733 add SPE FPU support to powerpc-sf
* e3e7189c fix undefined behavior in getdelim via null pointer arithmetic and memcpy
* b713b8b2 fix excessively slow TLS performance on some mips models
* 3eed6a6f fix error checking in pthread_getname_np

(From OE-Core rev: 81e754f35847d6dc7b346706cd428fdcbc9d7796)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Khem Raj
da105e157d wpebackend-fdo: Add -Wno-c++11-narrowing
This commit e4c578f233
causes this warning due to int to uint conversion without static casts
unless its fixes properly by upstream make behaviour same as g++ where
this is flagged too but only as a warning unlike clang which is pedantic
and enables it as error

(From OE-Core rev: 0be006cc5f6df32fbc4df8c73851a960d4081ed3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Yi Zhao
05bd39df1c bind: remove -r option from rndc-confgen in initscript
The -r option has been removed from rndc-confgen since bind 9.13[1].

Fix the bind startup error:
$ /etc/init.d/bind start
Starting domain name service: namedrndc-confgen: The -r option has been deprecated.
chmod: cannot access '/etc/bind/rndc.key': No such file or directory

[1]: 3a4f820d62

(From OE-Core rev: a5c5977bef44b7b014af590515ea1f93d7d51f46)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Richard Purdie
1694bb6f69 libgfortran: Set GFORTRAN
The libgfortran configure sets FC to be $GFORTRAN. We did used to patch
that out but rather than carry a patch to gcc, just set GFORTRAN as
needed.

(From OE-Core rev: 4ec096a9ce8a49b631efc50e7d95ff653d4c4374)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:36:51 +00:00
Richard Purdie
3ae309ea06 pseudo: Add fcntl64 wrapper
Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find
command in the libtool removal code when built with LFS compile flags on Gentoo.

(From OE-Core rev: f26867fe4daec7299f59a82ae4a0d70cceb3e082)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
4d2d216803 overlayfs: add debug information
(From OE-Core rev: ce55a411d7dd1189ce9a849081e52cb9c5ebb002)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
39f3274dd5 oeqa/selftest: extend overlayfs test
Test that overlayfs.bbclass generates one systemd unit, that
applications can set dependencies on, and that this unit mounts all
required overlays

(From OE-Core rev: b0e335268de78cfe163f3cfdc0209ae26309fc78)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
57979576f3 overlayfs: meta-selftest recipe fix
Avoid strict assignment in the recipe to allow overrides in .inc file

(From OE-Core rev: 2006e157d7dae3fd6aefd8f0f84afa0371b69449)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
8eb35a9558 oeqa/selftest: refactor common functions
(From OE-Core rev: 66de5de793f3c86502d193f7e3abc8fa17642369)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
9c8ea9dcf1 overlayfs: all overlays unit
Application can depend on several overlayfs mount points. Provide a
systemd unit application can depend on to make sure all overlays are
mounted before it is started to avoid any race conditions

(From OE-Core rev: b38e194db0c6825f28c56123cf88af94d3f52beb)

Signed-off-by: Bruno Knittel <Bruno.Knittel@bruker.com>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Richard Purdie
d81238da57 gcc: Drop libgfortran patch
As far as I can see, when building libgfortran we don't set GFORTRAN so this
patch does nothing any more. The fortran build and gcc recipes have changed
massively since gcc 4.2.2 so I think this patch is simply obsolete.

I did test building libgfortran with and without this patch and there was
no difference, the correct fortran compiler is found. If it were an issue
we should just set GFORTRAN correctly. Therefore drop the patch.

(From OE-Core rev: bc5209aa5f07cea00416852532b90aba044defd5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Richard Purdie
d10ce1059d archiver: Default to xz compresison instead of gz
We should default to xz or zstd instead of gz, pick xz for now as it is more tested.

(From OE-Core rev: 658f274c161ec67b91f133ee9b5c3767c2925787)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Richard Purdie
6370dd2b42 linunistring: Add missing gperf-native dependency
(From OE-Core rev: 73d3efbaeb2f412ab8d3491d2da3f3124fc009f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Richard Purdie
dc53fe75cc meta/scripts: Manual git url branch additions
Following the scripted conversion adding branches to git://
SRC_URI entries, add the remaining references, mainly in the selftests
and recipetool.

(From OE-Core rev: 5340c0d688036c1be6c938f05d8a8c1e3b49ec38)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Richard Purdie
ddcf16d1f7 meta: Add explict branch to git SRC_URIs
There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.

This update was made with the script added to contrib in this patch which
aims to help others convert other layers.

(From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Oleksandr Kravchuk
b777781ebf libxcvt: add recipe
This library is a dependancy of xserver-xorg 21.1.0.

(From OE-Core rev: b52bfac18a6b0f9216cd14da60e6fffb3e5669f1)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Alexander Kanavin
05ce40b2ce runqemu: unbreak non-gl displays
Correct two issues:
1. Looking for dri.pc is only needed when gl is enabled.
2. virtio-vga-gl works only when gl is enabled via -display,
otherwise virtio-vga needs to be selected.

(From OE-Core rev: d6d5fe44510d2087b735758ac85e804533a1778c)

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>
2021-10-30 18:56:47 +01:00
Richard Purdie
d78650b980 gcc: Add missing patch Upstream-Status
(From OE-Core rev: c884878f6c833b18a3a95b193f5de68df5bcea48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-29 10:23:35 +01:00
Richard Purdie
b0a67a0531 gcc: Drop testsuite failure fix patch
This patch has headers as if it were submitted upstream but I can't find any
record of it. I did try tests with it removed, building the referenced testsuite
files with -Werror and it all works just fine with no warnings or errors (tested
on MACHINE=qemux86). I suspect this was fixed in gcc itself in other ways.

As such I think this patch isn't needed and suggest we drop it. If there is
a reason it is needed, please report along with an example of how to reproduce
issues.

(From OE-Core rev: d83e12da74b853ae33045e5c216c90c78a19f54d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-29 07:27:47 +01:00
Richard Purdie
0729c13304 gcc: Update patches submitted/merged upstream
I took 5 of our patches and submitted to upstream gcc. This highlighted that
patches 0026 and 0018 should be merged together and some tweaks were made to
try and make it acceptable to upstream. The other patches have their headers
updated to match what was submitted.

The libstdc++ option patch was also cleaned up ready for upstream as the
documentation wasn't quite right.

The CXXFLAGS_FOR_BUILD piece of 0026 is separated out into a new patch which
can be submitted separately to upstream.

Two of the patches have been merged, status updated accordinly.

(From OE-Core rev: df9b8ec56ff29f14feb1fde6acbdf9c4667430cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-29 07:27:47 +01:00
Teoh Jay Shen
9c6b31c27b oeqa/runtime/parselogs: modified drm error in common errors list
Changed the following line from:

  [drm] Cannot find any crtc or sizes - going 1024x768  >  [drm] Cannot find any crtc or sizes

This will expand the coverage of the failure to also cover the case when fallback size is not set.

(From OE-Core rev: 0569fa735458512d6e15aa3315218ecbdf8510a3)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 15:18:15 +01:00
Saul Wold
540182dd5b create-spdx: cross recipes are native also
Recipes that inherit cross should also be categorized as isNative

(From OE-Core rev: ee113e3894deb1cfb18622085a3fe0600e1ef01d)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Saul Wold
36c184344e create-spdx: add create_annotation function
This allows code reuse and future usage with relationship annotations

(From OE-Core rev: 1f8fdb7dc9d02d0ee3c42674ca16e03f0ec18cba)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Saul Wold
b2f859ee61 spdx.py: Add annotation to relationship
Having annotations on relationship can provide additional information
about the relationship such as how it was derived.

(From OE-Core rev: d98585aa89e1d3819f8139a07fb7376ef89b37f8)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
c98d05523f cups: exclude beta/rc versions from version check
(From OE-Core rev: d651eea3dce926399cd42c62494e4ce1940bcf06)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
70011ac7cc webkitgtk: drop unnecessary SSE disabling patch
(From OE-Core rev: 825467808949c1024a470d45a2468987648d8984)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
c69f416c93 gstreamer1.0-python: do not supply unknown g-i options
meson 0.60 turns unknown options into them hard errors, so instead of relying on g-i class
(where the options are mandatory) add g-i dependencies explicitly.

(From OE-Core rev: f4bbbf2cd3e711875489b19f9b55b52ebd7be4bd)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
091a598f30 python3-pygobject: do not supply unknown g-i options
meson 0.60 turns unknown options into them hard errors, so instead of relying on g-i class
(where the options are mandatory) add g-i dependencies explicitly.

(From OE-Core rev: 9c0cc06a3d857124c0e1c1c9342f79ba5a3b10bc)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
d9adc413ca igt-gpu-tools: address meson 0.60 compatibility
(From OE-Core rev: 33cd0f7e23d714869eda249ae6c3f9761caa4c96)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
da28073b01 systemtap: address ncurses 6.3 compatibility
(From OE-Core rev: 807f9bc8e35c24dba45724c3075f128e117cffad)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
daa2b49a23 powertop: address ncurses 6.3 compatibility
(From OE-Core rev: 0b6e9db98b69d931f965d32a57ca67afea8f4f11)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
b3d1a8ac9b gptfdisk: address ncurses 6.3 compatibility
(From OE-Core rev: 1a5254939a72319ffcd302449c0187c0383da0c9)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
77c631a6f9 virgl: skip headless test on specific older distros and fail otherwise
This allows catching failures on new build hosts, instead of quietly skipping
the test due to incomplete host setup.

(From OE-Core rev: c93f95f2e48a2bba76b231692f2c15bb32005132)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
aae23182ef waffle: update 1.6.1 -> 1.7.0
(From OE-Core rev: 95acd86a4aeb8d2122285dd1745c77622462d33f)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
145a9c3671 asciidoc: update 9.1.1 -> 10.0.0
Convert from autotools to setuptools.

(From OE-Core rev: 94e656959aba02491bf2f665391369d69c0fb039)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
8e10511865 tzdata: update 2021d -> 2021e
(From OE-Core rev: 660f932c21fed410ad092ec610749e7090b6a324)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
72cc10c929 ncurses: update 6.2 -> 6.3
(From OE-Core rev: db7666551ee1f0e0cf63a36ea24babe986e36713)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
f1c9341c29 vte: upgrade 0.64.2 -> 0.66.0
(From OE-Core rev: 35fa233f295bbbffafaa26bb446c4f0a4d166c8d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
ba09f9031f libcap: upgrade 2.59 -> 2.60
(From OE-Core rev: 3b8d3da7cf1988685684e91249f71994022fe435)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
377ebfeda7 diffoscope: upgrade 187 -> 188
(From OE-Core rev: 3d505d3eed4b7ab5c18555e8d0b5489118261d21)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
6aa7e685ff wpebackend-fdo: upgrade 1.10.0 -> 1.12.0
(From OE-Core rev: 85266e431bc3556353a983b941c96b34cb638434)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
b5a4c25c69 webkitgtk: upgrade 2.34.0 -> 2.34.1
(From OE-Core rev: 2a9ae637d95cbf41e1cc2a3516ddd41e1c958104)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
44f3acf4c7 puzzles: upgrade to latest revision
(From OE-Core rev: 142016c9c68dc21195b0c39cfd611d5d05ab195c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
d826be3035 mpg123: upgrade 1.29.0 -> 1.29.2
(From OE-Core rev: d426cc82f198d400f6f09ae95d1283b14d9c8fc2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
054b9ad64b libinput: upgrade 1.19.1 -> 1.19.2
(From OE-Core rev: 39a19417d2bd755ce0fcc6d34be265759030ee49)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
7eee50cd01 piglit: upgrade to latest revision
(From OE-Core rev: 1ccd71eb3ea71b0f91e5d0aded8b8ebafd76c5f1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
a7b75bb29c gi-docgen: upgrade 2021.7 -> 2021.8
(From OE-Core rev: ea394748a7d6973f266a9c1c9bae39ce36cb506e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
a4167b842c msmtp: upgrade 1.8.17 -> 1.8.18
(From OE-Core rev: 3e95794412c1dfcdf1a505b2a9718d3faf113ef6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
c0e674dba8 python3-setuptools: upgrade 58.2.0 -> 58.3.0
(From OE-Core rev: 609afb2b408a4275fc4927886c53d337cef604e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
b29dacedc1 python3-pip: upgrade 21.3 -> 21.3.1
(From OE-Core rev: f95381108536e838fb66ba05657e579d2f85fad1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
363b15e16e python3-numpy: upgrade 1.21.2 -> 1.21.3
(From OE-Core rev: a17e00567f4c3c6a20cbb86ef066a84f7cecdf9b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
d674cbd0cd createrepo-c: upgrade 0.17.6 -> 0.17.7
(From OE-Core rev: 71690d138761817586aec6615fe0b17a94d8a29f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
a72e70f991 json-c: correct upstream version check
(From OE-Core rev: bbfa8046fc0999a0e4fdeb9a143ca0c80a7b40ec)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
3d399b7b08 stress-ng: convert to git, website is down
(From OE-Core rev: 0bc00868993d7093a70f29de9047f9ae0be33836)

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>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
ec582c412d psplash: upgrade to latest revision
(From OE-Core rev: 735579852f995a5620d5e960897b2608d26a5c07)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Ahmed Hossam
82070da31d go.bbclass: Allow adding parameters to go ldflags
Currently, there is no clean way to pass extra parameters to the go tool link,
which is passed by the go build ldflags flag, the append needs to happen inside
the quotes of the ldflags parameter

See [YOCTO #14554].

Add a variable to allow adding extra parameters to -ldflags in the GO_LDFLAGS
variable, one of the main usecases is setting the application version.

For example, adding to the recipe something like
GO_EXTRA_LDFLAGS="-X main.Version=v1.0.0"
or
GO_EXTRA_LDFLAGS="-X main.Version=${PV}"

(From OE-Core rev: eaa7a61dab9a1d7bb039f16abdd9aacb44faa595)

Signed-off-by: Ahmed Hossam <Ahmed.Hossam@opensynergy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:30 +01:00
Ian Ray
52e97dc769 archiver: Configurable tarball compression
In order to be more efficient, we use xz as compression method
to create GPL sources archives.

(From OE-Core rev: 877b27b0cbf4f4544f75e0f0a78a82baeb46b159)

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
[V1 was https://patchwork.openembedded.org/patch/155985/]
[Rebased]
Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:30 +01:00
Paul Barker
5933782d2b bitbake: doc: bitbake-user-manual: Document BB_GIT_SHALLOW and friends
Documentation is based on the commit message of bitbake rev 5ed7d85fda
and mailing list discussion.

[YOCTO #14493]

(Bitbake rev: a183322ef56c64c97aa2b72fedcdf58e29dbb3cf)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:49:02 +01:00
Richard Purdie
75e63f41a8 bitbake: tests/runqueue: Drop python version test decorators
Our minimum python version is 3.6 so these are now unneeded.

(Bitbake rev: 15f16bf973666807e94f3b356095f8265af0282a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:49:02 +01:00
Alexander Kanavin
6f1f697aa1 u-boot: upgrade 2021.07 -> 2021.10
(From OE-Core rev: 24a4b34e25548d71bd430224adb58d87015674a7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Oleksandr Kravchuk
4c00dab038 python3-pyparsing: update to 3.0.0
(From OE-Core rev: ab8f974232972fdfbadded5479e54502e8d76dda)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
wangmy
24df057854 lttng-tools: upgrade 2.13.0 -> 2.13.1
2021-10-18 lttng-tools 2.13.1 (National Chocolate Cupcake Day)
 Fix: ust: app stuck on recv message during UST comm timeout scenario
 Fix: ust: UST communication can return -EAGAIN
 Fix: ust: segfault on lttng start on filter bytecode copy
 Fix: sessiond: previously created channel cannot be enabled
 Build fix: Missing message in LTTNG_DEPRECATED invocation
 Fix: notification-thread: handling event from a removed tracer event src
 include: add missing "extern"
 include: remove spurious spaces in condition/session-rotation.h
 tests: fix header of regression/ust/getcpu-override/run-getcpu-override
 fix: wrong define used for GCC version check
 Fix: userspace-probe: unreported error on string copy error
 Fix: userspace-probe: truncating binary path for SDT
 Fix: lttng: add-trigger: don't provide a default event rule type
 Fix: statements with side-effects in assert statements
 Fix: lttng_trace_archive_location_serialize is called on freed memory
 Fix: sessiond: ust session is inactive during ust_app_global_update
 Fix: common: error query for trigger action protocol error
 Fix: common: un-hide two rate policy functions
 Fix: include: remove unneeded declaration of lttng_session_descriptor_get_session_name
 Fix: Tests: race condition in test_ns_contexts_change
 Fix: Tests: race condition in test_event_tracker
 Fix: man: lttng-rotate: trace file count/size limitation does not apply
 Fix: runas: less-than-zero comparison of an unsigned value
 Fix: runas: supplementary groups are ignored on lttng save
 Docs: lttng-event-rule(7): --exclude does not exist, use --exclude-name
 sessiond: logging typo: {triger, triggger} -> trigger
 Fix: lttng: free sessions in cmd_destroy
 Fix: lttng: free domains and channels in get_session_stats_str

0001-Fix-Tests-race-condition-in-test_event_tracker.patch
0002-Fix-Tests-race-condition-in-test_ns_contexts_change.patch
are removed since they're included in 2.13.1

(From OE-Core rev: 9541cac079b0fa4961328f610e3df3ccf5316cea)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
wangmy
ddeb19361d libdnf: upgrade 0.64.0 -> 0.65.0
(From OE-Core rev: 46338fce3186e16ad7c7534485dda1b8667e8484)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
wangmy
56da9f74f7 file: upgrade 5.40 -> 5.41
(From OE-Core rev: cf501dd94e16e4dfad7df6e57ef6b5bd6ab6d7d1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
wangmy
7f6b6dd274 dnf: upgrade 4.9.0 -> 4.10.0
(From OE-Core rev: 7584e8268ace0ffe41812773e2151863db308e51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
wangmy
bd468de87b dhcpcd: upgrade 9.4.0 -> 9.4.1
0002-src-privsep-linux.c-add-support-for-arc-28.patch
removed since it is included in 9.4.1

-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 85bf75384a60e3db5458153e46dcdeb756d05b47)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Peter Kjellerstedt
71d1f23204 qemu.inc: Remove empty egg-info directories before running meson
This is the same solution that has been applied to meson.bbclass to
allow building with meson after it has been updated to a new
version. It needs to be applied here as well since qemu uses meson
without inheriting meson.bbclass.

(From OE-Core rev: 9d05227e910d3f374ba7a9763ff2584b9e40db61)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Peter Kjellerstedt
2fc0ba7efa meson.bblcass: Remove empty egg-info directories before running meson
sstate.bbclass no longer removes empty directories to avoid a race (see
commit 4f94d929 "sstate/staging: Handle directory creation race issue").
Unfortunately Python apparently treats an empty egg-info directory as if
the version it previously contained still exists and fails if a newer
version is required, which Meson does. To avoid this, make sure there
are no empty egg-info directories from previous versions left behind.

(From OE-Core rev: 47d9d90b4ec7d04d6f3f1a9b97c0ab7f1264a88e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
David Joyner
ec2eaed901 rust: add support for big endian 64-bit PowerPC
(From OE-Core rev: 91cc84afbfa6aad154f9a6402b538ea1b7c0ecd4)

Signed-off-by: David Joyner <dbjoyner@amazon.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Hsia-Jun(Randy) Li
4311fe0324 meson: install native file in sdk
Without a native environment file, find_program() can't
locate the native program inside SDK.

That stops wayland compositor using wayland scanner.

(From OE-Core rev: c6aed1084006727e3baf70ab9d1f70d9d2d6c01f)

Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Randy Li
15487d272f meson: move lang args to the right section
After meson 0.56.0, <lang>_args and <lang>_link_args would be
regarded as meson built-in options.

(From OE-Core rev: 50c8f654e9006a7c902dd76f75082d4f8d668d0c)

Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Khem Raj
b9c1107ae6 librsvg: Disable 64bit atomics in crossbeam for rv32
This fixes
| error[E0412]: cannot find type `AtomicU64` in module `core::sync::atomic`
|     --> /usr/src/debug/librsvg/2.52.2-r0/librsvg-2.52.2/vendor/crossbeam-utils/src/atomic/consume.rs:  78:14

(From OE-Core rev: 3e289efb283cc4cff44b63405103299b90e3af9b)

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>
2021-10-27 09:46:41 +01:00
Tim Orling
9ec9a1a122 python3-tomli: upgrade 1.2.1 -> 1.2.2
1.2.2

  * Fixed
    - Illegal characters in error messages were surrounded by two
      pairs of quotation marks
  * Improved
    - TOMLDecodeError.__module__ is now the public import path (tomli)
      instead of private import path (tomli._parser)
    - Eliminated an import cycle when typing.TYPE_CHECKING is True.
      This allows sphinx-autodoc-typehints to resolve type annotations.

(From OE-Core rev: ab86f496fdead3dabe8b252a6cacaeb10ce03b5a)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Tim Orling
353d3d2f8a python3-hypothesis: upgrade 6.23.2 -> 6.24.0
6.24.0 - 2021-10-23
  * This patch updates our vendored list of top-level domains, which is used
    by the provisional domains() strategy.
  * (did you know that gTLDs can be both added and removed?)

6.23.4 - 2021-10-20
  * This patch adds an error for when shapes in xps.arrays() is not passed
    as either a valid shape or strategy.

6.23.3 - 2021-10-18
  * This patch updates our formatting with shed.

(From OE-Core rev: b7d90cf4fe2a021e8709a64bcae285ec81eb5ed8)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Tim Orling
18f933d20d python3-manifest: -pprint RDEPENDS on -profile
python3-profile includes dataclasses.

pprint imports dataclasses:
https://github.com/python/cpython/blob/3.10/Lib/pprint.py#L38

(From OE-Core rev: 900d7c3a8f68e9ce751a0b5cc839b8838fdebf3f)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Bruce Ashfield
7d45aa6919 linux-yocto/5.10: update to v5.10.75
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3a9842b42e42 Linux 5.10.75
    3e2873652163 net: dsa: mv88e6xxx: don't use PHY_DETECT on internal PHY's
    3593fa147c86 ionic: don't remove netdev->dev_addr when syncing uc list
    f33890d9bb59 net: mscc: ocelot: warn when a PTP IRQ is raised for an unknown skb
    9c546af181bc nfp: flow_offload: move flow_indr_dev_register from app init to app start
    6da9af2d2531 r8152: select CRC32 and CRYPTO/CRYPTO_HASH/CRYPTO_SHA256
    ecfd4fa15b06 qed: Fix missing error code in qed_slowpath_start()
    51f6e72ca656 mqprio: Correct stats in mqprio_dump_class_stats().
    fdaff7f9e806 platform/x86: intel_scu_ipc: Fix busy loop expiry time
    057ee6843bbb acpi/arm64: fix next_platform_timer() section mismatch error
    c6b2400095ba drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling
    2c5658717428 drm/msm/dsi: Fix an error code in msm_dsi_modeset_init()
    b28586fb04f3 drm/msm/a6xx: Track current ctx by seqno
    abd11864159b drm/msm/mdp5: fix cursor-related warnings
    91a340768b01 drm/msm: Fix null pointer dereference on pointer edp
    a7b45024f66f drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read
    d0f0e1710397 drm/panel: olimex-lcd-olinuxino: select CRC32
    a4a37e6516f8 spi: bcm-qspi: clear MSPI spifie interrupt during probe
    d9428f08e1c3 platform/mellanox: mlxreg-io: Fix read access of n-bytes size attributes
    c216cebdd245 platform/mellanox: mlxreg-io: Fix argument base in kstrtou32() call
    e59d839743b5 mlxsw: thermal: Fix out-of-bounds memory accesses
    7eef482db728 ata: ahci_platform: fix null-ptr-deref in ahci_platform_enable_regulators()
    116932c0e45e pata_legacy: fix a couple uninitialized variable bugs
    50cb95487c26 NFC: digital: fix possible memory leak in digital_in_send_sdd_req()
    3f2960b39f22 NFC: digital: fix possible memory leak in digital_tg_listen_mdaa()
    2f21f06a5e7a nfc: fix error handling of nfc_proto_register()
    ba39f55952a2 vhost-vdpa: Fix the wrong input in config_cb
    84e0f2fc662e ethernet: s2io: fix setting mac address during resume
    e19c10d6e07c net: encx24j600: check error in devm_regmap_init_encx24j600
    f2e1de075018 net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work
    9053c5b4594c net: stmmac: fix get_hw_feature() on old hardware
    12da46cb6a90 net/mlx5e: Mutually exclude RX-FCS and RX-port-timestamp
    4f7bddf8c5c0 net/mlx5e: Fix memory leak in mlx5_core_destroy_cq() error path
    afb0c67dfdb5 net: korina: select CRC32
    33ca85010511 net: arc: select CRC32
    17a027aafd52 gpio: pca953x: Improve bias setting
    d84a69ac410f sctp: account stream padding length for reconf chunk
    6fecdb5b54a5 nvme-pci: Fix abort command id
    2d937cc12c14 ARM: dts: bcm2711-rpi-4-b: Fix pcie0's unit address formatting
    6e6082250b53 ARM: dts: bcm2711-rpi-4-b: fix sd_io_1v8_reg regulator states
    48613e687e28 ARM: dts: bcm2711: fix MDIO #address- and #size-cells
    6e6e3018d3ce ARM: dts: bcm2711-rpi-4-b: Fix usb's unit address
    76644f94595b tee: optee: Fix missing devices unregister during optee_remove
    07f885682486 iio: dac: ti-dac5571: fix an error code in probe()
    6c0024bcaadc iio: ssp_sensors: fix error code in ssp_print_mcu_debug()
    0fbc3cf7dd9a iio: ssp_sensors: add more range checking in ssp_parse_dataframe()
    abe5b13dd959 iio: adc: max1027: Fix the number of max1X31 channels
    41e84a4f25b6 iio: light: opt3001: Fixed timeout error when 0 lux
    e811506f609a iio: mtk-auxadc: fix case IIO_CHAN_INFO_PROCESSED
    1671cfd31b66 iio: adc: max1027: Fix wrong shift with 12-bit devices
    f931076d32b6 iio: adc128s052: Fix the error handling path of 'adc128_probe()'
    4425d059aa2e iio: adc: ad7793: Fix IRQ flag
    d078043a1775 iio: adc: ad7780: Fix IRQ flag
    a8177f0576fa iio: adc: ad7192: Add IRQ flag
    be8ef91d6166 driver core: Reject pointless SYNC_STATE_ONLY device links
    d5f13bbb5104 drivers: bus: simple-pm-bus: Add support for probing simple bus only devices
    b45923f66eb6 iio: adc: aspeed: set driver data when adc probe.
    ea947267eb6f powerpc/xive: Discard disabled interrupts in get_irqchip_state()
    9e46bdfb55a3 x86/Kconfig: Do not enable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT automatically
    57e48886401b nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells
    a7bd0dd3f2ed EDAC/armada-xp: Fix output of uncorrectable error counter
    92e6e08ca2b0 virtio: write back F_VERSION_1 before validate
    86e3ad8b759d misc: fastrpc: Add missing lock before accessing find_vma()
    3f0ca245a834 USB: serial: option: add prod. id for Quectel EG91
    ecad614b0c68 USB: serial: option: add Telit LE910Cx composition 0x1204
    bf26bc72dc59 USB: serial: option: add Quectel EC200S-CN module support
    d4b77900cffe USB: serial: qcserial: add EM9191 QDL support
    3147f5721588 Input: xpad - add support for another USB ID of Nacon GC-100
    9d89e2871167 usb: musb: dsps: Fix the probe error path
    3b4275140142 efi: Change down_interruptible() in virt_efi_reset_system() to down_trylock()
    5100dc4489ab efi/cper: use stack buffer for error record decoding
    2c5dd2a8af77 cb710: avoid NULL pointer subtraction
    d40e193abd07 xhci: Enable trust tx length quirk for Fresco FL11 USB controller
    dec944bb7079 xhci: Fix command ring pointer corruption while aborting a command
    dc3e0a20dbb9 xhci: guard accesses to ep_state in xhci_endpoint_reset()
    0ee66290f006 USB: xhci: dbc: fix tty registration race
    9f0d6c781cb5 mei: me: add Ice Lake-N device id.
    e4f7171c2395 x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails
    0e32a2b85c7d btrfs: fix abort logic in btrfs_replace_file_extents
    52924879ed45 btrfs: update refs for any root except tree log roots
    352349aa4948 btrfs: check for error when looking up inode during dir entry replay
    4ed68471bc37 btrfs: deal with errors when adding inode reference during log replay
    95d3aba5febe btrfs: deal with errors when replaying dir entry during log replay
    206868a5b6c1 btrfs: unlock newly allocated extent buffer after error
    e7e3ed5c92b6 drm/msm: Avoid potential overflow in timeout_to_jiffies()
    a31c33aa80a5 arm64/hugetlb: fix CMA gigantic page order for non-4K PAGE_SIZE
    0c97008859ca csky: Fixup regs.sr broken in ptrace
    5dab6e8f141a csky: don't let sigreturn play with priveleged bits of status register
    e3c37135c9ca clk: socfpga: agilex: fix duplicate s2f_user0_clk
    faba7916cdc0 s390: fix strrchr() implementation
    7ef43c0f68fb nds32/ftrace: Fix Error: invalid operands (*UND* and *UND* sections) for `^'
    c3bf276fd7c8 ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW
    1099953b32c6 ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo 13s Gen2
    554a5027f536 ALSA: hda/realtek: Add quirk for TongFang PHxTxX1
    0fa256509b9f ALSA: hda/realtek - ALC236 headset MIC recording issue
    1e10c6bf15d2 ALSA: hda/realtek: Add quirk for Clevo X170KM-G
    8a5f01f4b01c ALSA: hda/realtek: Complete partial device name to avoid ambiguity
    c6e5290e6cc1 ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254
    9bb1659ac594 ALSA: hda/realtek: Enable 4-speaker output for Dell Precision 5560 laptop
    7680631ac7ab ALSA: seq: Fix a potential UAF by wrong private_free call order
    4aab156d302c ALSA: pcm: Workaround for a wrong offset in SYNC_PTR compat ioctl
    f077d699c1d2 ALSA: usb-audio: Add quirk for VF0770

(From OE-Core rev: 08857198b40617d53701ac46d95d6d60dfbdb4af)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Bruce Ashfield
b77f026543 linux-yocto/5.14: update to v5.14.14
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    fe024e004fa3 Linux 5.14.14
    9513ce07f05b ionic: don't remove netdev->dev_addr when syncing uc list
    6b55eadb0b1d net: dsa: felix: break at first CPU port during init and teardown
    9d2cec10ea9e net: mscc: ocelot: cross-check the sequence id from the timestamp FIFO with the skb PTP header
    23a6801c0585 net: mscc: ocelot: deny TX timestamping of non-PTP packets
    de32ef6d79dd net: mscc: ocelot: warn when a PTP IRQ is raised for an unknown skb
    3b4241817601 net: mscc: ocelot: avoid overflowing the PTP timestamp FIFO
    34fd7a2e375a net: mscc: ocelot: make use of all 63 PTP timestamp identifiers
    f7697d70d76b nfp: flow_offload: move flow_indr_dev_register from app init to app start
    9d162f541ba3 block/rnbd-clt-sysfs: fix a couple uninitialized variable bugs
    61616be89997 ice: fix locking for Tx timestamp tracking flush
    99eef638a327 r8152: select CRC32 and CRYPTO/CRYPTO_HASH/CRYPTO_SHA256
    821dca5635e2 qed: Fix missing error code in qed_slowpath_start()
    1a4554e94f0d mptcp: fix possible stall on recvmsg()
    4fd74935619f mqprio: Correct stats in mqprio_dump_class_stats().
    395218b5c7e0 platform/x86: intel_scu_ipc: Fix busy loop expiry time
    b4fb645a7412 acpi/arm64: fix next_platform_timer() section mismatch error
    6302ce26eceb drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling
    3c403c4c0580 drm/msm/dsi: Fix an error code in msm_dsi_modeset_init()
    f1457eea4ccd drm/msm/dsi: dsi_phy_14nm: Take ready-bit into account in poll_for_ready
    d59e44e7821a drm/msm/a3xx: fix error handling in a3xx_gpu_init()
    3962d626eb3e drm/msm/a4xx: fix error handling in a4xx_gpu_init()
    20cfa89cd7e1 drm/msm/a6xx: Track current ctx by seqno
    00ba7a3951f4 drm/msm/submit: fix overflow check on 64-bit architectures
    2d28dafbc88e drm/msm/mdp5: fix cursor-related warnings
    46c8ddede027 drm/msm: Fix null pointer dereference on pointer edp
    09f3946bb452 drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read
    8b0462c25eff drm/panel: olimex-lcd-olinuxino: select CRC32
    dc4f4acadabf spi: bcm-qspi: clear MSPI spifie interrupt during probe
    2a51f25a7ed9 spi: spidev: Add SPI ID table
    b461c8553474 platform/mellanox: mlxreg-io: Fix read access of n-bytes size attributes
    1da4f33681b5 platform/mellanox: mlxreg-io: Fix argument base in kstrtou32() call
    df8e58716afb mlxsw: thermal: Fix out-of-bounds memory accesses
    2d14f8a9f1b7 ata: ahci_platform: fix null-ptr-deref in ahci_platform_enable_regulators()
    55b033b82dde pata_legacy: fix a couple uninitialized variable bugs
    6432d7f1d1c3 NFC: digital: fix possible memory leak in digital_in_send_sdd_req()
    564249219e5b NFC: digital: fix possible memory leak in digital_tg_listen_mdaa()
    e005ba2235b6 nfc: fix error handling of nfc_proto_register()
    0b84e32840b7 vhost-vdpa: Fix the wrong input in config_cb
    2d902349653c ethernet: s2io: fix setting mac address during resume
    322c0e534963 net: encx24j600: check error in devm_regmap_init_encx24j600
    38eaccdcc811 net: dsa: fix spurious error message when unoffloaded port leaves bridge
    383239a33cf2 net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work
    b1752d2f4fc2 net: dsa: mv88e6xxx: don't use PHY_DETECT on internal PHY's
    f71c73a1275c net: phy: Do not shutdown PHYs in READY state
    568feb737f5e net: stmmac: fix get_hw_feature() on old hardware
    947442b62090 net/mlx5e: Switchdev representors are not vlan challenged
    2f306483d547 net/mlx5e: Mutually exclude RX-FCS and RX-port-timestamp
    ed8aafea4fec net/mlx5e: Fix memory leak in mlx5_core_destroy_cq() error path
    0d9ddf515cde net/smc: improved fix wait on already cleared link
    844b62f61709 net: korina: select CRC32
    af9a33bfff34 net: arc: select CRC32
    81099749174e gpio: pca953x: Improve bias setting
    9025c92a6cc7 gpio: 74x164: Add SPI device ID table
    4f0bc44b9191 sctp: account stream padding length for reconf chunk
    5ccd69157a9a nvme-pci: Fix abort command id
    9036542c2bef clk: renesas: rzg2l: Fix clk status function
    abab28387755 ARM: dts: bcm2711-rpi-4-b: Fix pcie0's unit address formatting
    264e77ee3987 ARM: dts: bcm2711-rpi-4-b: fix sd_io_1v8_reg regulator states
    06560ba731e2 firmware: arm_ffa: Add missing remove callback to ffa_bus_type
    b2da1ae1941d firmware: arm_ffa: Fix __ffa_devices_unregister
    a0dfb710735d ARM: dts: bcm2711: fix MDIO #address- and #size-cells
    83fe15846c48 ARM: dts: bcm283x: Fix VEC address for BCM2711
    2a7374dd882d ARM: dts: bcm2711-rpi-4-b: Fix usb's unit address
    a009758b28f3 tee: optee: Fix missing devices unregister during optee_remove
    362d067a231d tracing: Fix missing osnoise tracer on max_latency
    ce5c6dd07473 iio: dac: ti-dac5571: fix an error code in probe()
    8d3fd8fdf2cb fpga: ice40-spi: Add SPI device ID table
    645e2c994b6a eeprom: at25: Add SPI ID table
    362fe6c8d5ab eeprom: 93xx46: fix MODULE_DEVICE_TABLE
    42c587653cb7 eeprom: 93xx46: Add SPI device ID table
    1a5ba478c41c Input: resistive-adc-touch - fix division by zero error on z1 == 0
    6ad4dc9602fa iio: ssp_sensors: fix error code in ssp_print_mcu_debug()
    af8aae7a1257 iio: ssp_sensors: add more range checking in ssp_parse_dataframe()
    3903e5404214 iio: adc: max1027: Fix the number of max1X31 channels
    43e399d862ef iio: accel: fxls8962af: return IRQ_HANDLED when fifo is flushed
    56e3bcdf6b9b iio: light: opt3001: Fixed timeout error when 0 lux
    07415de29ded iio: mtk-auxadc: fix case IIO_CHAN_INFO_PROCESSED
    04e03b907022 iio: adis16475: fix deadlock on frequency set
    06a6230a5683 iio: adc: max1027: Fix wrong shift with 12-bit devices
    45b54f7f6ae7 iio: adc128s052: Fix the error handling path of 'adc128_probe()'
    2c675f25eb35 iio: adis16480: fix devices that do not support sleep mode
    696eef458c31 iio: adc: ad7793: Fix IRQ flag
    c9e8c11b1a84 iio: adc: ad7780: Fix IRQ flag
    d8f72ea6ccfd iio: adc: ad7192: Add IRQ flag
    10dea2bc52e4 driver core: Reject pointless SYNC_STATE_ONLY device links
    e733c7a6f754 drivers: bus: simple-pm-bus: Add support for probing simple bus only devices
    11d6dbd807aa iio: adc: aspeed: set driver data when adc probe.
    74c078866ff4 powerpc/xive: Discard disabled interrupts in get_irqchip_state()
    202975c570d2 x86/Kconfig: Do not enable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT automatically
    128f38289215 x86/fpu: Mask out the invalid MXCSR bits properly
    bce9adf0b5ea Revert "virtio-blk: Add validation for block size in config space"
    f2935e790419 virtio-blk: remove unneeded "likely" statements
    0e822e5413da nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells
    eb1e9f2ec683 EDAC/armada-xp: Fix output of uncorrectable error counter
    2c2e626d9ba4 virtio: write back F_VERSION_1 before validate
    d22592f1fd8d misc: fastrpc: Add missing lock before accessing find_vma()
    6df4c42e0b60 USB: serial: option: add prod. id for Quectel EG91
    b39adce3afe1 USB: serial: option: add Telit LE910Cx composition 0x1204
    8372fb17ebf2 USB: serial: option: add Quectel EC200S-CN module support
    1e2c4a11a59b USB: serial: qcserial: add EM9191 QDL support
    96703298fc51 Input: xpad - add support for another USB ID of Nacon GC-100
    ff9249aab398 usb: musb: dsps: Fix the probe error path
    85c6f477b357 efi: Change down_interruptible() in virt_efi_reset_system() to down_trylock()
    3b7951e32193 efi/cper: use stack buffer for error record decoding
    746b00a48688 cb710: avoid NULL pointer subtraction
    2b6c75bf9202 xhci: Enable trust tx length quirk for Fresco FL11 USB controller
    e54abefe703a xhci: Fix command ring pointer corruption while aborting a command
    fa3093d37cce xhci: add quirk for host controllers that don't update endpoint DCS
    eacfdec26656 xhci: guard accesses to ep_state in xhci_endpoint_reset()
    db96c1d87c95 USB: xhci: dbc: fix tty registration race
    7c0af62f11c3 mei: hbm: drop hbm responses on early shutdown
    fe87a580929e mei: me: add Ice Lake-N device id.
    ce8f1faa8140 x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails
    0294b7ccb00b module: fix clang CFI with MODULE_UNLOAD=n
    0e309e1152fc btrfs: fix abort logic in btrfs_replace_file_extents
    f86531a3115f btrfs: update refs for any root except tree log roots
    5dbc0d798074 btrfs: check for error when looking up inode during dir entry replay
    439cce2df925 btrfs: deal with errors when adding inode reference during log replay
    790dbfcd43a0 btrfs: deal with errors when replaying dir entry during log replay
    0adda9f173f1 btrfs: unlock newly allocated extent buffer after error
    697ee8c3d3fa drm/msm: Avoid potential overflow in timeout_to_jiffies()
    2479f72f5328 drm/msm: Do not run snapshot on non-DPU devices
    95a9523afb3d drm/nouveau/fifo: Reinstate the correct engine bit programming
    0af9c042cd6e arm64/hugetlb: fix CMA gigantic page order for non-4K PAGE_SIZE
    f66b6d61f2e3 drm/fbdev: Clamp fbdev surface size if too large
    2c7820141702 csky: Fixup regs.sr broken in ptrace
    f8e8e5448c77 csky: don't let sigreturn play with priveleged bits of status register
    46f067744387 clk: socfpga: agilex: fix duplicate s2f_user0_clk
    d429630cde94 s390: fix strrchr() implementation
    8ca9745efe35 dm rq: don't queue request to blk-mq during DM suspend
    d856f5d13d65 ACPI: PM: Include alternate AMDI0005 id in special behaviour
    6e506f07c5b5 dm: fix mempool NULL pointer race when completing IO
    594a97f7617b nds32/ftrace: Fix Error: invalid operands (*UND* and *UND* sections) for `^'
    24262c6439c6 mtd: rawnand: qcom: Update code word value for raw read
    f7744bdec09f spi: atmel: Fix PDC transfer setup bug
    26a88eedfc88 platform/x86: amd-pmc: Add alternative acpi id for PMC controller
    1a707ec090e9 platform/x86: gigabyte-wmi: add support for B550 AORUS ELITE AX V2
    52d44bd028c1 ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW
    8c5628cbb26e ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo 13s Gen2
    9a13d0f9c3d9 ALSA: hda/realtek: Add quirk for TongFang PHxTxX1
    f8d3c17e1c37 ALSA: hda/realtek - ALC236 headset MIC recording issue
    1f923b81f49e ALSA: hda/realtek: Add quirk for Clevo X170KM-G
    07015c2e0f35 ALSA: hda/realtek: Complete partial device name to avoid ambiguity
    a2fc31b3699a ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254
    72653bfc9b9d ALSA: hda/realtek: Enable 4-speaker output for Dell Precision 5560 laptop
    14137ae740cb ALSA: seq: Fix a potential UAF by wrong private_free call order
    dfd5633ae775 ALSA: usb-audio: Fix a missing error check in scarlett gen2 mixer
    1a98c3c68795 ALSA: pcm: Workaround for a wrong offset in SYNC_PTR compat ioctl
    ca3dccb96511 ALSA: usb-audio: Add quirk for VF0770

(From OE-Core rev: 3471c208fe87e80e4e8d54bc3e24d8ea9c3f6b2a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Bruce Ashfield
3507fe29ff linux-yocto/5.14: common-pc: enable CONFIG_ATA_PIIX as built-in
Jacob Kroon reported that generic/custom x86 kernels would no
longer boot out of the box since the IDE options were removed
and the PATA migration happened.

To re-enable that use case, we grab the following kernel
configuration change:

    common-pc*/qemux86*: set CONFIG_ATA_PIIX as built-in

    Since the IDE options were made obselete in the kernel, and the
    PATA driver is the replacement, we haven't had one of the commonly
    used qemu boot devices enabled in our kernel by default.

    We change CONFIG_ATA_PIIX to built-in, to re-enable use cases that
    boot from default qemu 'hardware'.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>

Reported-by: Jacob Kroon <jacob.kroon@gmail.com>
(From OE-Core rev: 341707513a7c3cfcd797f6631b8daf09ddf5bae8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Bruce Ashfield
7b047c54ba linux-yocto/5.10: update to v5.10.74
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    77434fe5a077 Linux 5.10.74
    42b49f012b6a hwmon: (pmbus/ibm-cffps) max_power_out swap changes
    bb893f075431 sched: Always inline is_percpu_thread()
    bdae2a083436 perf/core: fix userpage->time_enabled of inactive events
    57c7ca3d5592 scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
    d993d1e1c411 scsi: ses: Fix unsigned comparison with less than zero
    621ddffb70db drm/amdgpu: fix gart.bo pin_count leak
    a5ba615fbeb3 net: sun: SUNVNET_COMMON should depend on INET
    db868b45324d vboxfs: fix broken legacy mount signature checking
    42c871d38e3d mac80211: check return value of rhashtable_init
    bda06aff03a1 net: prevent user from passing illegal stab size
    3d68c7b0ab5b hwmon: (ltc2947) Properly handle errors when looking for the external clock
    194e8a4f0acd m68k: Handle arrivals of multiple signals correctly
    977aee58142a mac80211: Drop frames from invalid MAC address in ad-hoc mode
    9ec9a975ea37 netfilter: nf_nat_masquerade: defer conntrack walk to work queue
    5182d6db80bb netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic
    bcb647c1e15d ASoC: SOF: loader: release_firmware() on load failure to avoid batching
    f6952b1e22c2 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs
    ddc4ba737bcb netfilter: ip6_tables: zero-initialize fragment offset
    ddf026d6ae9a HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
    0bcfa99e8fae ASoC: Intel: sof_sdw: tag SoundWire BEs as non-atomic
    14cbfeeee41b ext4: correct the error path of ext4_write_inline_data_end()
    d7a15e1e4fd7 ext4: check and update i_disksize properly

(From OE-Core rev: 8e863e9c57fc26e4158b6c10b04931976c54efb8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:40 +01:00
Bruce Ashfield
a8d7f4de41 linux-yocto/5.14: update to v5.14.13
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    b9ed05407395 Linux 5.14.13
    d7c187ab28f6 hwmon: (pmbus/ibm-cffps) max_power_out swap changes
    e798dcd960a3 io_uring: kill fasync
    15571bb5bb64 sched: Always inline is_percpu_thread()
    643c519c36dc perf/core: fix userpage->time_enabled of inactive events
    15f69a666166 scsi: qla2xxx: Fix excessive messages during device logout
    cc07ecaf9a9c scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
    21c2e89e7caa scsi: ses: Fix unsigned comparison with less than zero
    18d1c5ea3798 drm/amdgpu: fix gart.bo pin_count leak
    048389b85643 net: sun: SUNVNET_COMMON should depend on INET
    e36444b36ff0 vboxfs: fix broken legacy mount signature checking
    5c85a825615a net: bgmac-platform: handle mac-address deferral
    af13e6176b25 mac80211: check return value of rhashtable_init
    ebb25ff84341 net: prevent user from passing illegal stab size
    998e080844c9 hwmon: (ltc2947) Properly handle errors when looking for the external clock
    1d0996b0d2b3 m68k: Handle arrivals of multiple signals correctly
    4d38fb418f71 pinctrl: qcom: sc7280: Add PM suspend callbacks
    9a8a181ed97e mac80211: Drop frames from invalid MAC address in ad-hoc mode
    a3ea231aa3f0 netfilter: nf_nat_masquerade: defer conntrack walk to work queue
    36f822c301c7 netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic
    6c3e84af3944 KVM: arm64: nvhe: Fix missing FORCE for hyp-reloc.S build rule
    1fd0252cad6b ASoC: SOF: loader: release_firmware() on load failure to avoid batching
    2dd40af15d19 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs
    95cb145dcfc8 netfilter: ip6_tables: zero-initialize fragment offset
    f117530a10e0 HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
    13e6abfa0b1e ALSA: usb-audio: Unify mixer resume and reset_resume procedure
    cb315326664d ALSA: oxfw: fix transmission method for Loud models based on OXFW971
    3c13d6e6fc56 ASoC: Intel: sof_sdw: tag SoundWire BEs as non-atomic
    7c2893a12fc0 ext4: correct the error path of ext4_write_inline_data_end()
    501f3491d99e ext4: check and update i_disksize properly

(From OE-Core rev: a1028453439db361d5f77fa220d77c49bc7a1f82)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:40 +01:00
Bruce Ashfield
d061bd53cd linux-yocto/5.14: update to v5.14.12
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    325225e2f9fa Linux 5.14.12
    58f0e59efa34 dsa: tag_dsa: Fix mask for trunked packets
    5dc24f3e0841 x86/hpet: Use another crystalball to evaluate HPET usability
    4e9ec1c65da9 x86/entry: Clear X86_FEATURE_SMAP when CONFIG_X86_SMAP=n
    2ba3e3026f4f x86/entry: Correct reference to intended CONFIG_64_BIT
    0723d4f8b179 x86/fpu: Restore the masking out of reserved MXCSR bits
    44976b5cb6af x86/sev: Return an error on a returned non-zero SW_EXITINFO1[31:0]
    6665c1c5770f x86/Kconfig: Correct reference to MWINCHIP3D
    1d4092c10125 x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI
    8ba6e4551011 pseries/eeh: Fix the kdump kernel crash during eeh_pseries_init
    da0cb12f1983 powerpc/32s: Fix kuap_kernel_restore()
    d7a8e38999fb powerpc/64s: Fix unrecoverable MCE calling async handler from NMI
    22ee1f15a72e powerpc/traps: do not enable irqs in _exception
    c835b3d1d636 powerpc/64s: fix program check interrupt emergency stack path
    6b77166ffee7 powerpc/bpf ppc32: Fix BPF_SUB when imm == 0x80000000
    b8601d47e87a powerpc/bpf ppc32: Do not emit zero extend instruction for 64-bit BPF_END
    491976e521c1 powerpc/bpf ppc32: Fix JMP32_JSET_K
    9a3e91f94473 powerpc/bpf ppc32: Fix ALU32 BPF_ARSH operation
    096d4c941f0e powerpc/bpf: Fix BPF_SUB when imm == 0x80000000
    2d7781883b3e powerpc/bpf: Fix BPF_MOD when imm == 1
    a7ce57ca9407 objtool: Make .altinstructions section entry size consistent
    039a68957f81 objtool: Remove reloc symbol type checks in get_alt_entry()
    1642f51ac0d4 scsi: iscsi: Fix iscsi_task use after free
    412754da783d RISC-V: Include clone3() on rv32
    cf63b49349cc i2c: mlxcpld: Modify register setting for 400KHz frequency
    3655a1934519 i2c: mlxcpld: Fix criteria for frequency setting
    d590a410e472 bpf, s390: Fix potential memory leak about jit_data
    f344ad3060c4 riscv/vdso: make arch_setup_additional_pages wait for mmap_sem for write killable
    b8b60c1139c7 riscv/vdso: Move vdso data page up front
    309fd6f1e7cf riscv/vdso: Refactor asm/vdso.h
    ff26f96fe0a2 RISC-V: Fix VDSO build for !MMU
    363128071346 riscv: explicitly use symbol offsets for VDSO
    26e7025ef25a i2c: mediatek: Add OFFSET_EXT_CONF setting back
    90f1077c9184 i2c: acpi: fix resource leak in reconfiguration device addition
    d40c4da7318f powerpc/iommu: Report the correct most efficient DMA mask for PCI devices
    272b85c2fdb2 net: prefer socket bound to interface when not in VRF
    8d2a1e7fb90c iavf: fix double unlock of crit_lock
    75099439209d i40e: Fix freeing of uninitialized misc IRQ vector
    d6db5bcd1817 i40e: fix endless loop under rtnl
    1fad5d7f75f7 gve: report 64bit tx_bytes counter from gve_handle_report_stats()
    bcf4f5e4d33d gve: fix gve_get_stats()
    f4479f3bc861 rtnetlink: fix if_nlmsg_stats_size() under estimation
    f5cfed82e0f3 gve: Properly handle errors in gve_assign_qpl
    2044137a268a gve: Avoid freeing NULL pointer
    3e8df2cada21 gve: Correct available tx qpl check
    bb23ade18ad7 net: stmmac: trigger PCS EEE to turn off on link down
    940ee87907f0 net: pcs: xpcs: fix incorrect steps on disable EEE
    88c3610045ca drm/nouveau/debugfs: fix file release memory leak
    0b4e9fc14973 drm/nouveau/kms/nv50-: fix file release memory leak
    548f2ff8ea5e drm/nouveau: avoid a use-after-free when BO init fails
    23514c752f9b video: fbdev: gbefb: Only instantiate device when built for IP32
    ae7a72cd325c drm/panel: abt-y030xx067a: yellow tint fix
    e6b90dcda29b drm/nouveau/fifo/ga102: initialise chid on return from channel creation
    8228b3b3b5a2 drm/sun4i: dw-hdmi: Fix HDMI PHY clock setup
    ad0fca5a28b3 bus: ti-sysc: Use CLKDM_NOAUTO for dra7 dcan1 for errata i893
    37e2d7fe11ae perf jevents: Free the sys_event_tables list after processing entries
    72e9a1bf9b72 drm/amdgpu: handle the case of pci_channel_io_frozen only in amdgpu_pci_resume
    7e5ce6029b62 drm/amdkfd: fix a potential ttm->sg memory leak
    50002489a20c ARM: defconfig: gemini: Restore framebuffer
    942bde2caec2 netlink: annotate data races around nlk->bound
    464be37f127b net: pcs: xpcs: fix incorrect CL37 AN sequence
    6594158f24e1 net: sfp: Fix typo in state machine debug string
    7a1c1af34104 net/sched: sch_taprio: properly cancel timer from taprio_destroy()
    ba07883c780f net: bridge: fix under estimation in br_get_linkxstats_size()
    df7983fdbc83 net: bridge: use nla_total_size_64bit() in br_get_linkxstats_size()
    47afb35c4f87 afs: Fix afs_launder_page() to set correct start file position
    2eb0a5440068 netfs: Fix READ/WRITE confusion when calling iov_iter_xarray()
    cd4dcab5d20c drm/i915/bdb: Fix version check
    4e7c20e5166e drm/i915/tc: Fix TypeC port init/resume time sanitization
    185e4eeac58e drm/i915/jsl: Add W/A 1409054076 for JSL
    8eb67e815d5e drm/i915/audio: Use BIOS provided value for RKL HDA link
    a23d12eeb1ad ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence
    94d64d44e41a dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value
    b07494f81da2 arm64: dts: ls1028a: fix eSDHC2 node
    26a949f2335b arm64: dts: imx8mm-kontron-n801x-som: do not allow to switch off buck2
    4350e1f61930 arm64: dts: imx8: change the spi-nor tx
    672285df5e0a ARM: dts: imx: change the spi-nor tx
    baa59a36ff1b ptp_pch: Load module automatically if ID matches
    9b5198c1e041 powerpc/fsl/dts: Fix phy-connection-type for fm1mac3
    6d1e04d8f044 netfilter: nf_tables: honor NLM_F_CREATE and NLM_F_EXCL in event notification
    96117e85b83b MIPS: Revert "add support for buggy MT7621S core detection"
    8efe947ea1ea net: stmmac: dwmac-rk: Fix ethernet on rk3399 based devices
    f1325381177c net: mscc: ocelot: fix VCAP filters remaining active after being deleted
    fb58cd799174 net_sched: fix NULL deref in fifo_set_limit()
    9e8e7504e098 libbpf: Fix memory leak in strset
    064c2616234a phy: mdio: fix memory leak
    8b6cd17219c3 libbpf: Fix segfault in light skeleton for objects without BTF
    2ca78aa65bc1 net/mlx5e: Fix the presented RQ index in PTP stats
    c0b1de56a40e net/mlx5: Fix setting number of EQs of SFs
    5ef55400217f net/mlx5: Fix length of irq_index in chars
    f1c4eaf49d5d net/mlx5: Avoid generating event after PPS out in Real time mode
    4f3369d3e5e8 net/mlx5: Force round second at 1PPS out start time
    ea0b8ffff565 net/mlx5: E-Switch, Fix double allocation of acl flow counter
    d7954cedb9e6 net/mlx5e: Keep the value for maximum number of channels in-sync
    35460565138f net/mlx5e: IPSEC RX, enable checksum complete
    3a1ac1e368be bpf: Fix integer overflow in prealloc_elems_and_freelist()
    0385744b240a soc: ti: omap-prm: Fix external abort for am335x pruss
    f419febd396e bpf, arm: Fix register clobbering in div/mod implementation
    34362a65c248 netfilter: nf_tables: reverse order in rule replacement expansion
    0b1891aa588a netfilter: nf_tables: add position handle in event notification
    3ece5c4bf601 netfilter: conntrack: fix boot failure with nf_conntrack.enable_hooks=1
    9039a8596370 iwlwifi: pcie: add configuration of a Wi-Fi adapter on Dell XPS 15
    8979fa2c43b0 xtensa: call irqchip_init only when CONFIG_USE_OF is selected
    c4a9836c9dd6 xtensa: use CONFIG_USE_OF instead of CONFIG_OF
    5be9d1335749 arm64: dts: qcom: pm8150: use qcom,pm8998-pon binding
    1c186680c89f ath5k: fix building with LEDS=m
    436f61a89655 PCI: hv: Fix sleep while in non-sleep context when removing child devices from the bus
    11fc74ddd63a ARM: dts: imx6qdl-pico: Fix Ethernet support
    871b9129ca6d ARM: dts: imx: Fix USB host power regulator polarity on M53Menlo
    d5cbf524d90c ARM: dts: imx: Add missing pinctrl-names for panel on M53Menlo
    64a64a031fc1 soc: qcom: mdt_loader: Drop PT_LOAD check on hash segment
    432d8185e9ff iwlwifi: mvm: Fix possible NULL dereference
    306b7fe278ac ARM: at91: pm: do not panic if ram controllers are not enabled
    55f37cc6ee05 Revert "arm64: dts: qcom: sc7280: Fixup the cpufreq node"
    5ceb465692d6 ARM: dts: qcom: apq8064: Use 27MHz PXO clock as DSI PLL reference
    457673bfee0b soc: qcom: socinfo: Fixed argument passed to platform_set_data()
    54607728e944 bus: ti-sysc: Add break in switch statement in sysc_init_soc()
    f1c7aa87c423 riscv: Flush current cpu icache before other cpus
    b514b752b626 scsi: ufs: core: Fix task management completion
    4a0775d0c030 ARM: dts: qcom: apq8064: use compatible which contains chipid
    d62956ddb915 ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe
    05d9d419220b ARM: dts: omap3430-sdp: Fix NAND device node
    35c6691812b7 xen/balloon: fix cancelled balloon action
    f574ab3192eb SUNRPC: fix sign error causing rpcsec_gss drops
    ace054d4e523 nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
    9228f2a0d1bc nfsd: fix error handling of register_pernet_subsys() in init_nfsd()
    d9f9dfb9040c ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO
    71b8b36187af ovl: fix missing negative dentry check in ovl_rename()
    b0ee6190e856 fbdev: simplefb: fix Kconfig dependencies
    897e427ef37c mmc: sdhci-of-at91: replace while loop with read_poll_timeout
    aa7c4ce94835 mmc: sdhci-of-at91: wait for calibration done before proceed
    266fd4b85ce3 mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk
    527d377da38f xen/privcmd: fix error handling in mmap-resource processing
    c2a35a408070 drm/i915: Extend the async flip VT-d w/a to skl/bxt
    6dafefe60cb2 drm/i915: Fix runtime pm handling in i915_gem_shrink
    92c92e554553 drm/amd/display: Fix DCN3 B0 DP Alt Mapping
    1a9c5c132686 drm/amd/display: Fix detection of 4 lane for DPALT
    4fd24bff9fac drm/amd/display: Limit display scaling to up to 4k for DCN 3.1
    c43e26907d91 drm/nouveau/ga102-: support ttm buffer moves via copy engine
    e4c1d18cb951 drm/nouveau/kms/tu102-: delay enabling cursor until after assign_windows
    4df3adab896f drm/amdgpu: During s0ix don't wait to signal GFXOFF
    ec36503dffdd drm/amd/display: USB4 bring up set correct address
    4b55ade094de drm/amd/display: Fix B0 USB-C DP Alt mode
    3048656f5abf usb: typec: tipd: Remove dependency on "connector" child fwnode
    f5155225108f usb: typec: tcpm: handle SRC_STARTUP state if cc changes
    108d39a6b5a7 usb: typec: tcpci: don't handle vSafe0V event if it's not enabled
    267d19e300c1 USB: cdc-acm: fix break reporting
    aff426d4b887 USB: cdc-acm: fix racy tty buffer accesses
    09c4c413bc56 usb: gadget: f_uac2: fixed EP-IN wMaxPacketSize
    66dd03b10e1c usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle
    9b70e9acfceb usb: cdc-wdm: Fix check for WWAN
    d92e0c42cfee Partially revert "usb: Kconfig: using select for USB_COMMON dependency"
    924356b31dcb Linux 5.14.11
    add46a06b8d3 Revert "ARM: imx6q: drop of_platform_default_populate() from init_machine"
    cfd436c4b683 Revert "brcmfmac: use ISO3166 country code and 0 rev as fallback"
    86524ac0ddac libata: Add ATA_HORKAGE_NO_NCQ_ON_ATI for Samsung 860 and 870 SSD.
    2cef02f53d59 perf/x86: Reset destroy callback on event init failure
    12058756a220 KVM: x86: nSVM: restore int_vector in svm_clear_vintr
    b232ba59feb9 kvm: x86: Add AMD PMU MSRs to msrs_to_save_all[]
    9c827ab0cb09 KVM: x86: reset pdptrs_from_userspace when exiting smm
    ce64d61801d9 KVM: do not shrink halt_poll_ns below grow_start
    11e4acd09e3f selftests: KVM: Align SMCCC call with the spec in steal_time
    96320e3316f8 kasan: always respect CONFIG_KASAN_STACK
    7d434c5f4687 tools/vm/page-types: remove dependency on opt_file for idle page tracking
    004b8f8a6912 block: don't call rq_qos_ops->done_bio if the bio isn't tracked
    648f59a06b0e io_uring: allow conditional reschedule for intensive iterators
    1b5b6666e235 x86/insn, tools/x86: Fix undefined behavior due to potential unaligned accesses
    d022e4c48e16 smb3: correct smb3 ACL security descriptor
    629c6e725d10 irqchip/gic: Work around broken Renesas integration
    ab0a257d1591 scsi: ses: Retry failed Send/Receive Diagnostic commands
    cd402c666fe7 thermal/drivers/tsens: Fix wrong check for tzd in irq handlers
    7efa50dd020c nvme-fc: avoid race between time out and tear down
    70f57c93f10b nvme-fc: update hardware queues before using them
    2e4a7695c8df swiotlb-xen: ensure to issue well-formed XENMEM_exchange requests
    3ad674aa1742 Xen/gntdev: don't ignore kernel unmapping error
    95342046ba4e selftests: kvm: fix get_run_delay() ignoring fscanf() return warn
    80b7cc21401b selftests: kvm: move get_run_delay() into lib/test_util
    b6d7e8c09c40 selftests:kvm: fix get_trans_hugepagesz() ignoring fscanf() return warn
    b664df7bb40a selftests:kvm: fix get_warnings_count() ignoring fscanf() return warn
    2085e5ad67f4 selftests: be sure to make khdr before other targets
    656998200410 habanalabs/gaudi: fix LBW RR configuration
    6874cdba4daa habanalabs: fail collective wait when not supported
    1c806d5a425b habanalabs/gaudi: use direct MSI in single mode
    337f00a0bc62 usb: dwc2: check return value after calling platform_get_resource()
    6b5af31c50ac usb: testusb: Fix for showing the connection speed
    6a48e3f46ef4 scsi: elx: efct: Do not hold lock while calling fc_vport_terminate()
    e95f62013a11 scsi: sd: Free scsi_disk device via put_device()
    ac7d732b24f4 drm/amdkfd: fix svm_migrate_fini warning
    4c5a564bf968 drm/amdkfd: handle svm migrate init error
    3c2830d0cb6f ext2: fix sleeping in atomic bugs on error
    a3b450333d64 platform/x86: gigabyte-wmi: add support for B550I Aorus Pro AX
    3702afcf0aac sparc64: fix pci_iounmap() when CONFIG_PCI is not set
    e4cff35be8ff xen-netback: correct success/error reporting for the SKB-with-fraglist case
    0cfda0cc59d4 net: mdio: introduce a shutdown method to mdio device drivers
    7a08b2e1e477 btrfs: fix mount failure due to past and transient device flush error
    31e401cb05ac btrfs: replace BUG_ON() in btrfs_csum_one_bio() with proper error handling
    20282e53d6bd nfsd: back channel stuck in SEQ4_STATUS_CB_PATH_DOWN
    5c1e84b7ae04 platform/x86: touchscreen_dmi: Update info for the Chuwi Hi10 Plus (CWI527) tablet
    77e6b00985f6 platform/x86: touchscreen_dmi: Add info for the Chuwi HiBook (CWI514) tablet
    bf4597f45f31 afs: Add missing vnode validation checks
    20137432e181 spi: rockchip: handle zero length transfers without timing out
    b133f076639b Linux 5.14.10
    81971ea5ec5c HID: amd_sfh: Fix potential NULL pointer dereference - take 2
    fe6f7b77796e objtool: print out the symbol type when complaining about it
    a7d4cb29f556 drivers: net: mhi: fix error path in mhi_net_newlink
    14492ff96387 netfilter: nf_tables: Fix oversized kvmalloc() calls
    7ea6f5848281 netfilter: conntrack: serialize hash resizes and cleanups
    4664318f73e4 KVM: x86: Handle SRCU initialization failure during page track init
    38c84dfafed5 crypto: aesni - xts_crypt() return if walk.nbytes is 0
    2b704864c92d HID: usbhid: free raw_report buffers in usbhid_stop
    24f3fc95b56b mm: don't allow oversized kvmalloc() calls
    3213f5f8d4ad netfilter: ipset: Fix oversized kvmalloc() calls
    708107b80aa6 HID: betop: fix slab-out-of-bounds Write in betop_probe
    eae2fce438f1 usb: hso: remove the bailout parameter
    47d791dbe1ba NIOS2: setup.c: drop unused variable 'dram_start'
    a7931aa81760 net: udp: annotate data race around udp_sk(sk)->corkflag
    aa3a4f5913a9 HID: u2fzero: ignore incomplete packets without data
    a4f316af25ba ext4: flush s_error_work before journal destroy in ext4_fill_super
    2021f187321c ext4: fix potential infinite loop in ext4_dx_readdir()
    27e10c5d31ff ext4: add error checking to ext4_ext_replay_set_iblocks()
    9bef6f6e2172 ext4: fix reserved space counter leakage
    a5a403aed8a0 ext4: limit the number of blocks in one ADD_RANGE TLV
    68a5ca234225 ext4: fix loff_t overflow in ext4_max_bitmap_size()
    811178f296b1 ipack: ipoctal: fix module reference leak
    382ef7ff1854 ipack: ipoctal: fix missing allocation-failure check
    fcd28f229175 ipack: ipoctal: fix tty-registration error handling
    4953ef80af5f ipack: ipoctal: fix tty registration race
    0a9c36a2e06a ipack: ipoctal: fix stack information leak
    ec889a8be77b debugfs: debugfs_create_file_size(): use IS_ERR to check for error
    e554f26ea453 driver core: fw_devlink: Improve handling of cyclic dependencies
    133578ac70a2 elf: don't use MAP_FIXED_NOREPLACE for elf interpreter mappings
    617f0ea5dfc4 nvme: add command id quirk for apple controllers
    bad1cb95af71 kvm: fix objtool relocation warning
    77744fa757b1 hwmon: (pmbus/mp2975) Add missed POUT attribute for page 1 mp2975 controller
    ec9331ef103f hwmon: (occ) Fix P10 VRM temp sensors
    9ea06d55278e sched/fair: Null terminate buffer when updating tunable_scaling
    fce08b03923e sched/fair: Add ancestors of unthrottled undecayed cfs_rq
    d42683c2b196 perf/x86/intel: Update event constraints for ICX
    3aa381480fbe objtool: Teach get_alt_entry() about more relocation types
    ec716aac7fe4 af_unix: fix races in sk_peer_pid and sk_peer_cred accesses
    97f1c1783c1b net: stmmac: fix EEE init issue when paired with EEE capable PHYs
    dab4677bdbff net: sched: flower: protect fl_walk() with rcu
    e88c502ef7be net: phy: bcm7xxx: Fixed indirect MMD operations
    4cdec1041cd3 net: hns3: disable firmware compatible features when uninstall PF
    3937b9c2961e net: hns3: fix always enable rx vlan filter problem after selftest
    fd519ae5a816 net: hns3: reconstruct function hns3_self_test
    851c0b9913b8 net: hns3: fix show wrong state when add existing uc mac address
    18e609791fa6 net: hns3: fix mixed flag HCLGE_FLAG_MQPRIO_ENABLE and HCLGE_FLAG_DCB_ENABLE
    8bcaeeefccfb net: hns3: don't rollback when destroy mqprio fail
    8d4ad0ab2874 net: hns3: remove tc enable checking
    3dac38bdce79 net: hns3: do not allow call hns3_nic_net_open repeatedly
    2744341dd52e ixgbe: Fix NULL pointer dereference in ixgbe_xdp_setup
    81369dce6d85 scsi: csiostor: Add module softdep on cxgb4
    7a73120f8eaf Revert "block, bfq: honor already-setup queue merges"
    27b9ff88f1f6 ionic: fix gathering of debug stats
    477e7f62b358 net: ks8851: fix link error
    9d561381e48c bpf, x86: Fix bpf mapping of atomic fetch implementation
    0157eb81e339 selftests, bpf: test_lwt_ip_encap: Really disable rp_filter
    54d54d2e02c7 selftests, bpf: Fix makefile dependencies on libbpf
    173dbe4fdb22 libbpf: Fix segfault in static linker for objects without BTF
    b822ce7334d5 bpf: Exempt CAP_BPF from checks against bpf_jit_limit
    b96fc31338ca RDMA/hns: Add the check of the CQE size of the user space
    8ba300a48a3b RDMA/hns: Fix the size setting error when copying CQE in clean_cq()
    714bfabe5f29 RDMA/hfi1: Fix kernel pointer leak
    d1db35d832a8 e100: fix buffer overrun in e100_get_regs
    474443c9982b e100: fix length calculation in e100_get_regs_len
    ed3617b8aeb4 dsa: mv88e6xxx: Include tagger overhead when setting MTU for DSA and CPU ports
    2c3c98b40e1f dsa: mv88e6xxx: Fix MTU definition
    eabd1e182225 dsa: mv88e6xxx: 6161: Use chip wide MAX MTU
    3027d7ba264f drm/i915: Remove warning from the rps worker
    406b3c0f64ab drm/i915/request: fix early tracepoints
    60edf381ca21 smsc95xx: fix stalled rx after link change
    bac85b1d0745 net: ipv4: Fix rtnexthop len when RTA_FLOW is present
    3636e045de1f net: enetc: fix the incorrect clearing of IF_MODE bits
    d4a6139e651f hwmon: (tmp421) fix rounding for negative values
    8776ad745092 hwmon: (tmp421) report /PVLD condition as fault
    0fe76b4171e4 RDMA/hns: Work around broken constant propagation in gcc 8
    62adc41df3b5 mptcp: allow changing the 'backup' bit when no sockets are open
    385cf9ac00c2 mptcp: don't return sockets in foreign netns
    8180611c238e sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb
    734652b0a231 net: mdiobus: Set FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD for mdiobus parents
    7f9cb654462d driver core: fw_devlink: Add support for FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD
    ed2adf69e298 mac80211-hwsim: fix late beacon hrtimer handling
    35367a5b63d9 mac80211: mesh: fix potentially unaligned access
    997ee230e4f5 mac80211: limit injected vht mcs/nss in ieee80211_parse_tx_radiotap
    764a80c53dee mac80211: Fix ieee80211_amsdu_aggregate frag_tail bug
    2e46f261b28c Revert "mac80211: do not use low data rates for data frames with no ack flag"
    5f66dd17451d netfilter: log: work around missing softdep backend module
    f65c73d3aabb netfilter: nf_tables: unlink table before deleting it
    ec0eb6794804 RDMA/irdma: Report correct WC error when there are MW bind errors
    c3044d872d6d RDMA/irdma: Report correct WC error when transport retry counter is exceeded
    63a5c2119924 RDMA/irdma: Validate number of CQ entries on create CQ
    7dce0dc364c4 RDMA/irdma: Skip CQP ring during a reset
    aa85fb7bde55 hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs
    dbe853968d4d bpf, mips: Validate conditional branch offsets
    e56a5146ef8c RDMA/cma: Fix listener leak in rdma_cma_listen_on_all() failure
    2288eafe2c4a IB/cma: Do not send IGMP leaves for sendonly Multicast groups
    67b07e7b490f bpf: Handle return value of BPF_PROG_TYPE_STRUCT_OPS prog
    473c59ab5de5 ipvs: check that ip_vs_conn_tab_bits is between 8 and 20
    ce1cccb000bd drm/i915/gvt: fix the usage of ww lock in gvt scheduler.
    8bb4ef3807d5 interconnect: qcom: sdm660: Correct NOC_QOS_PRIORITY shift and mask
    f3856fe1a057 interconnect: qcom: sdm660: Fix id of slv_cnoc_mnoc_cfg
    5c488a28b436 drm/amdgpu: correct initial cp_hqd_quantum for gfx9
    73bb3f4e877c drm/amdgpu: check tiling flags when creating FB on GFX8-
    0d77b5d94301 drm/amdgpu: force exit gfxoff on sdma resume for rmb s0ix
    be6f8fb11a24 drm/amd/display: Fix Display Flicker on embedded panels
    f43a2abf5dd7 drm/amd/display: Pass PCI deviceid into DC
    81a22172ba35 drm/amd/display: initialize backlight_ramping_override to false
    25011c9ec8e7 nbd: use shifts rather than multiplies
    03d884671572 RDMA/cma: Ensure rdma_addr_cancel() happens before issuing more requests
    d9ba5565c7f8 RDMA/cma: Do not change route.addr.src_addr.ss_family
    698c8a0a029b media: ir_toy: prevent device from hanging during transmit
    4ed5f2656691 mmc: renesas_sdhi: fix regression with hard reset on old SDHIs
    dd2ee266dd58 KVM: VMX: Fix a TSX_CTRL_CPUID_CLEAR field mask issue
    2cebb9aed993 KVM: nVMX: Fix nested bus lock VM exit
    efd7866e114d KVM: SVM: fix missing sev_decommission in sev_receive_start
    540dd9506ae0 KVM: SEV: Allow some commands for mirror VM
    d6e7fd7ece71 KVM: SEV: Acquire vcpu mutex when updating VMSA
    c9343f03e522 KVM: SEV: Pin guest memory for write for RECEIVE_UPDATE_DATA
    0c1a1c505432 KVM: SEV: Update svm_vm_copy_asid_from for SEV-ES
    5d522f759211 KVM: nVMX: Filter out all unsupported controls when eVMCS was activated
    17e96fe4a8ec KVM: x86: Swap order of CPUID entry "index" vs. "significant flag" checks
    3e7144429936 KVM: x86: Clear KVM's cached guest CR3 at RESET/INIT
    4639ee36e064 KVM: x86: nSVM: don't copy virt_ext from vmcb12
    99a9e9b80f19 KVM: x86: Fix stack-out-of-bounds memory access from ioapic_write_indirect()
    99a016076ed5 ptp: Fix ptp_kvm_getcrosststamp issue for x86 ptp_kvm
    81bfd6268fd3 x86/kvmclock: Move this_cpu_pvti into kvmclock.h
    9a75f445a4a1 platform/x86/intel: hid: Add DMI switches allow list
    27d3eb5616ee mac80211: fix use-after-free in CCMP/GCMP RX
    38b789c914b1 scsi: ufs: Fix illegal offset in UPIU event trace
    de6c8af17f53 gpio: pca953x: do not ignore i2c errors
    16887ae4e3de hwmon: (w83791d) Fix NULL pointer dereference by removing unnecessary structure field
    24af1fe376e2 hwmon: (w83792d) Fix NULL pointer dereference by removing unnecessary structure field
    746011193f44 hwmon: (w83793) Fix NULL pointer dereference by removing unnecessary structure field
    7635f8a7fc8a hwmon: (tmp421) handle I2C errors
    343307d050c1 fs-verity: fix signed integer overflow with i_size near S64_MAX
    2a0d1a8ff21c ACPI: NFIT: Use fallback node id when numa info in NFIT table is incorrect
    062055d4f23e ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops.
    c949aaec0208 ALSA: firewire-motu: fix truncated bytes in message tracepoints
    12d508014972 ALSA: rawmidi: introduce SNDRV_RAWMIDI_IOCTL_USER_PVERSION
    3327293839d0 scsi: ufs: ufs-pci: Fix Intel LKF link stability
    e130f2ed1da9 cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory
    920e3c77f130 drm/amdgpu: stop scheduler when calling hw_fini (v2)
    8ba968ae672b drm/amdgpu: avoid over-handle of fence driver fini in s3 test (v2)
    05c8a9dca354 drm/amdgpu: adjust fence driver enable sequence
    8a88b1529a39 scsi: qla2xxx: Changes to support kdump kernel for NVMe BFS
    8d62aec52a8c cpufreq: schedutil: Use kobject release() method to free sugov_tunables
    699d926585da tty: Fix out-of-bound vmalloc access in imageblit
    7be199764d46 watchdog/sb_watchdog: fix compilation problem due to COMPILE_TEST
    a55e7c3f7e4d perf iostat: Fix Segmentation fault from NULL 'struct perf_counts_values *'
    af0bbcbba0d5 perf iostat: Use system-wide mode if the target cpu_list is unspecified
    018e7ce13f2d perf test: Fix DWARF unwind for optimized builds.
    283e4bee701d HID: amd_sfh: Fix potential NULL pointer dereference
    a3d0bfc22a99 kasan: fix Kconfig check of CC_HAS_WORKING_NOSANITIZE_ADDRESS
    5a309b91dd57 NIOS2: fix kconfig unmet dependency warning for SERIAL_CORE_CONSOLE
    a688abc484b5 m68k: Update ->thread.esp0 before calling syscall_trace() in ret_from_signal
    e450c422aa23 crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()
    0bfe74174132 s390/qeth: fix deadlock during failing recovery
    0184084365c4 s390/qeth: Fix deadlock in remove_discipline
    946aa1b742df net/mlx4_en: Resolve bad operstate value
    262468353f59 pinctrl: qcom: spmi-gpio: correct parent irqspec translation
    b1ca0c6353d4 ASoC: SOF: imx: imx8m: Bar index is only valid for IRAM and SRAM types
    5f589b073843 ASoC: SOF: imx: imx8: Bar index is only valid for IRAM and SRAM types
    a6bb576ead07 ASoC: SOF: Fix DSP oops stack dump output contents
    69c9494d1450 scsi: elx: efct: Fix void-pointer-to-enum-cast warning for efc_nport_topology
    0a0d0ce37578 ASoC: mediatek: common: handle NULL case in suspend/resume function
    9b5de0165d67 ASoC: fsl_xcvr: register platform component before registering cpu dai
    4916efd4385c ASoC: fsl_spdif: register platform component before registering cpu dai
    63ff9da3572a ASoC: fsl_micfil: register platform component before registering cpu dai
    b04db30f71bb ASoC: fsl_esai: register platform component before registering cpu dai
    799b9ffd7f5a ASoC: fsl_sai: register platform component before registering cpu dai
    ef074ff5a776 media: s5p-jpeg: rename JPEG marker constants to prevent build warnings
    add13fd5e07e media: cedrus: Fix SUNXI tile size calculation
    00426cf7effb media: hantro: Fix check for single irq

(From OE-Core rev: ddf50256fa94f240d62719d74e144e68a2302797)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:40 +01:00
Bruce Ashfield
193ecdbd90 linux-yocto/5.10: update to v5.10.73
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    0268aa579b1f Linux 5.10.73
    825c00c2ee14 x86/hpet: Use another crystalball to evaluate HPET usability
    f2447f6587b8 x86/entry: Clear X86_FEATURE_SMAP when CONFIG_X86_SMAP=n
    6bfe1f6fc876 x86/entry: Correct reference to intended CONFIG_64_BIT
    5d637bc6f98a x86/sev: Return an error on a returned non-zero SW_EXITINFO1[31:0]
    df121cf55003 x86/Kconfig: Correct reference to MWINCHIP3D
    d7c36115fb81 x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI
    f73ca4961d51 pseries/eeh: Fix the kdump kernel crash during eeh_pseries_init
    411b38fe68ba powerpc/64s: fix program check interrupt emergency stack path
    18a2a2cafcf9 powerpc/bpf: Fix BPF_SUB when imm == 0x80000000
    a4037dded56b RISC-V: Include clone3() on rv32
    29fdb11ca88d bpf, s390: Fix potential memory leak about jit_data
    2c152d9da8fe riscv/vdso: make arch_setup_additional_pages wait for mmap_sem for write killable
    de834e12b96d i2c: mediatek: Add OFFSET_EXT_CONF setting back
    f86de018fd7a i2c: acpi: fix resource leak in reconfiguration device addition
    87990a60b45f powerpc/iommu: Report the correct most efficient DMA mask for PCI devices
    985cca1ad11e net: prefer socket bound to interface when not in VRF
    97aeed72af4f i40e: Fix freeing of uninitialized misc IRQ vector
    2dc768a98c9b i40e: fix endless loop under rtnl
    d3a07ca78ace gve: report 64bit tx_bytes counter from gve_handle_report_stats()
    35f6ddd934e6 gve: fix gve_get_stats()
    9a043022522e rtnetlink: fix if_nlmsg_stats_size() under estimation
    72c2a68f1d83 gve: Avoid freeing NULL pointer
    5d903a694b08 gve: Correct available tx qpl check
    f69556a42043 drm/nouveau/debugfs: fix file release memory leak
    65fff0a8efcd drm/nouveau/kms/nv50-: fix file release memory leak
    f86e19d918a8 drm/nouveau: avoid a use-after-free when BO init fails
    008224cdc126 video: fbdev: gbefb: Only instantiate device when built for IP32
    d2ccbaaa6615 drm/sun4i: dw-hdmi: Fix HDMI PHY clock setup
    18d2568cc7ff bus: ti-sysc: Use CLKDM_NOAUTO for dra7 dcan1 for errata i893
    40a84fcae2bf perf jevents: Tidy error handling
    628b31d96711 netlink: annotate data races around nlk->bound
    144715fbab1b net: sfp: Fix typo in state machine debug string
    3ec73ffeef54 net/sched: sch_taprio: properly cancel timer from taprio_destroy()
    60955b65bd6a net: bridge: fix under estimation in br_get_linkxstats_size()
    c480d15190eb net: bridge: use nla_total_size_64bit() in br_get_linkxstats_size()
    cb8880680bdf ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence
    2b0035d1058a dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value
    10afd1597263 arm64: dts: ls1028a: add missing CAN nodes
    95ba03fb4cb1 ptp_pch: Load module automatically if ID matches
    442ea65d0ccb powerpc/fsl/dts: Fix phy-connection-type for fm1mac3
    acff2d182c07 net_sched: fix NULL deref in fifo_set_limit()
    0d2dd40a7be6 phy: mdio: fix memory leak
    6e6f79e39830 net/mlx5: E-Switch, Fix double allocation of acl flow counter
    d70cb6c77ad9 net/mlx5e: IPSEC RX, enable checksum complete
    064faa8e8a9b bpf: Fix integer overflow in prealloc_elems_and_freelist()
    d5f4b27c3cfc soc: ti: omap-prm: Fix external abort for am335x pruss
    1d8f4447e8c4 bpf, arm: Fix register clobbering in div/mod implementation
    29a19eaeb29d iwlwifi: pcie: add configuration of a Wi-Fi adapter on Dell XPS 15
    6b0132f73094 xtensa: call irqchip_init only when CONFIG_USE_OF is selected
    3d288ed98314 xtensa: use CONFIG_USE_OF instead of CONFIG_OF
    997bec509a83 arm64: dts: qcom: pm8150: use qcom,pm8998-pon binding
    fbca14abc111 ath5k: fix building with LEDS=m
    8aef3824e946 PCI: hv: Fix sleep while in non-sleep context when removing child devices from the bus
    d9b838ae390e ARM: dts: imx6qdl-pico: Fix Ethernet support
    9e99ad4194a5 ARM: dts: imx: Fix USB host power regulator polarity on M53Menlo
    2ba34cf0c16c ARM: dts: imx: Add missing pinctrl-names for panel on M53Menlo
    8f977e97b2b9 soc: qcom: mdt_loader: Drop PT_LOAD check on hash segment
    14f52004bda5 ARM: at91: pm: do not panic if ram controllers are not enabled
    d89a313a5739 ARM: dts: qcom: apq8064: Use 27MHz PXO clock as DSI PLL reference
    25ac88e601eb soc: qcom: socinfo: Fixed argument passed to platform_set_data()
    ab8073794be3 bus: ti-sysc: Add break in switch statement in sysc_init_soc()
    427faa29e06f riscv: Flush current cpu icache before other cpus
    05287407dedf ARM: dts: qcom: apq8064: use compatible which contains chipid
    ac06fe40e889 ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe
    71d3ce62ac88 ARM: dts: omap3430-sdp: Fix NAND device node
    f9a855d1bcb2 xen/balloon: fix cancelled balloon action
    9aac782ab0ab SUNRPC: fix sign error causing rpcsec_gss drops
    8f174a208c4c nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
    12d4b179022a nfsd: fix error handling of register_pernet_subsys() in init_nfsd()
    1bc2f315a215 ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO
    9763ffd4da21 ovl: fix missing negative dentry check in ovl_rename()
    1500f0c83670 mmc: sdhci-of-at91: replace while loop with read_poll_timeout
    3a0feae5f642 mmc: sdhci-of-at91: wait for calibration done before proceed
    e5cb3680b958 mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk
    13d17cc717d5 xen/privcmd: fix error handling in mmap-resource processing
    de1e8bd36ab4 drm/nouveau/kms/tu102-: delay enabling cursor until after assign_windows
    1d4e9f27d20d usb: typec: tcpm: handle SRC_STARTUP state if cc changes
    feb3fe702a58 USB: cdc-acm: fix break reporting
    fc8b3e838bdf USB: cdc-acm: fix racy tty buffer accesses
    b3265b88e83b usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle
    16d728110bd7 Partially revert "usb: Kconfig: using select for USB_COMMON dependency"
    5aa003b38148 Linux 5.10.72
    387aecdab7fa libata: Add ATA_HORKAGE_NO_NCQ_ON_ATI for Samsung 860 and 870 SSD.
    02bf504bc32b perf/x86: Reset destroy callback on event init failure
    b56475c29bd8 KVM: x86: nSVM: restore int_vector in svm_clear_vintr
    ae34f26d4a84 kvm: x86: Add AMD PMU MSRs to msrs_to_save_all[]
    6d0ff9205999 KVM: do not shrink halt_poll_ns below grow_start
    b8add3f47ae7 selftests: KVM: Align SMCCC call with the spec in steal_time
    352b02562a3e tools/vm/page-types: remove dependency on opt_file for idle page tracking
    84778fd66d3d smb3: correct smb3 ACL security descriptor
    a7be240d1703 irqchip/gic: Work around broken Renesas integration
    8724a2a0e6d9 scsi: ses: Retry failed Send/Receive Diagnostic commands
    2e28f7dd3743 thermal/drivers/tsens: Fix wrong check for tzd in irq handlers
    7a670cfb0f4c nvme-fc: avoid race between time out and tear down
    c251d023ed22 nvme-fc: update hardware queues before using them
    c4506403e1f3 selftests:kvm: fix get_warnings_count() ignoring fscanf() return warn
    bcc4b4de63a4 selftests: be sure to make khdr before other targets
    6a4aaf1d84f7 habanalabs/gaudi: fix LBW RR configuration
    2754fa3b73df usb: dwc2: check return value after calling platform_get_resource()
    ed6574d48469 usb: testusb: Fix for showing the connection speed
    60df9f55562a scsi: sd: Free scsi_disk device via put_device()
    76c7063c7405 ext2: fix sleeping in atomic bugs on error
    b114f2d18e0f sparc64: fix pci_iounmap() when CONFIG_PCI is not set
    fdfb3bc87381 xen-netback: correct success/error reporting for the SKB-with-fraglist case
    a41938d07201 net: mdio: introduce a shutdown method to mdio device drivers
    63c89930d4b5 btrfs: fix mount failure due to past and transient device flush error
    50628b06e604 btrfs: replace BUG_ON() in btrfs_csum_one_bio() with proper error handling
    83050cc23909 nfsd: back channel stuck in SEQ4_STATUS_CB_PATH_DOWN
    f986cf270284 platform/x86: touchscreen_dmi: Update info for the Chuwi Hi10 Plus (CWI527) tablet
    e5611503249f platform/x86: touchscreen_dmi: Add info for the Chuwi HiBook (CWI514) tablet
    2ababcd8c2ab spi: rockchip: handle zero length transfers without timing out
    5cd40b137cba Linux 5.10.71
    96f439a7eda6 netfilter: nf_tables: Fix oversized kvmalloc() calls
    e2d192301a0d netfilter: conntrack: serialize hash resizes and cleanups
    deb294941767 KVM: x86: Handle SRCU initialization failure during page track init
    f7ac4d24e161 HID: usbhid: free raw_report buffers in usbhid_stop
    57a269a1b12a mm: don't allow oversized kvmalloc() calls
    da5b8b9319f0 netfilter: ipset: Fix oversized kvmalloc() calls
    dedfc35a2de2 HID: betop: fix slab-out-of-bounds Write in betop_probe
    17ccc64e4fa5 crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()
    28f0fdbac0f5 usb: hso: remove the bailout parameter
    4ad4852b9adf ASoC: dapm: use component prefix when checking widget names
    5c3a90b6ff75 net: udp: annotate data race around udp_sk(sk)->corkflag
    a7f4c633ae12 HID: u2fzero: ignore incomplete packets without data
    3770e21f60fc ext4: fix potential infinite loop in ext4_dx_readdir()
    a63474dbf692 ext4: add error checking to ext4_ext_replay_set_iblocks()
    9ccf35492b08 ext4: fix reserved space counter leakage
    dc0942168ab3 ext4: limit the number of blocks in one ADD_RANGE TLV
    d11502fa2691 ext4: fix loff_t overflow in ext4_max_bitmap_size()
    7cea84867847 ipack: ipoctal: fix module reference leak
    843efca98e6a ipack: ipoctal: fix missing allocation-failure check
    67d1df661088 ipack: ipoctal: fix tty-registration error handling
    f46e5db92fa2 ipack: ipoctal: fix tty registration race
    5f6a309a6996 ipack: ipoctal: fix stack information leak
    3bef1b7242e0 debugfs: debugfs_create_file_size(): use IS_ERR to check for error
    15fd3954bca7 elf: don't use MAP_FIXED_NOREPLACE for elf interpreter mappings
    011b4de950d8 nvme: add command id quirk for apple controllers
    44c600a57d57 hwmon: (pmbus/mp2975) Add missed POUT attribute for page 1 mp2975 controller
    7fc5f60a01bb perf/x86/intel: Update event constraints for ICX
    3db53827a0e9 af_unix: fix races in sk_peer_pid and sk_peer_cred accesses
    d0d520c19e7e net: sched: flower: protect fl_walk() with rcu
    e63f6d8fe74a net: phy: bcm7xxx: Fixed indirect MMD operations
    071febc37e06 net: hns3: fix always enable rx vlan filter problem after selftest
    85e4f5d28d25 net: hns3: reconstruct function hns3_self_test
    8e89876c84b2 net: hns3: fix prototype warning
    d4a14faf7919 net: hns3: fix show wrong state when add existing uc mac address
    64dae9551f8a net: hns3: fix mixed flag HCLGE_FLAG_MQPRIO_ENABLE and HCLGE_FLAG_DCB_ENABLE
    8d3d27664ef4 net: hns3: keep MAC pause mode when multiple TCs are enabled
    f8ba689cb695 net: hns3: do not allow call hns3_nic_net_open repeatedly
    20f6c4a31a52 ixgbe: Fix NULL pointer dereference in ixgbe_xdp_setup
    16138cf938dc scsi: csiostor: Add module softdep on cxgb4
    0306a2c7df7e Revert "block, bfq: honor already-setup queue merges"
    1f2ca30fbde6 net: ks8851: fix link error
    f1dd6e10f077 selftests, bpf: test_lwt_ip_encap: Really disable rp_filter
    4967ae9ab44b selftests, bpf: Fix makefile dependencies on libbpf
    59efda5073ab bpf: Exempt CAP_BPF from checks against bpf_jit_limit
    f908072391a6 RDMA/hns: Fix inaccurate prints
    7e3eda32b881 e100: fix buffer overrun in e100_get_regs
    f2edf80cdd03 e100: fix length calculation in e100_get_regs_len
    c20a0ad7b6a0 dsa: mv88e6xxx: Include tagger overhead when setting MTU for DSA and CPU ports
    7b771b12229e dsa: mv88e6xxx: Fix MTU definition
    ee4d0495a65e dsa: mv88e6xxx: 6161: Use chip wide MAX MTU
    d35d95e8b9da drm/i915/request: fix early tracepoints
    8321738c6e5a smsc95xx: fix stalled rx after link change
    8de12ad9162c net: ipv4: Fix rtnexthop len when RTA_FLOW is present
    b22c5e2c8e03 net: enetc: fix the incorrect clearing of IF_MODE bits
    5ee40530b0a6 hwmon: (tmp421) fix rounding for negative values
    89d96f147d82 hwmon: (tmp421) report /PVLD condition as fault
    560271d09f78 mptcp: don't return sockets in foreign netns
    9c6591ae8e63 sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb
    2c204cf594df mac80211-hwsim: fix late beacon hrtimer handling
    8576e72ac5d6 mac80211: mesh: fix potentially unaligned access
    1282bb00835f mac80211: limit injected vht mcs/nss in ieee80211_parse_tx_radiotap
    3748871e1215 mac80211: Fix ieee80211_amsdu_aggregate frag_tail bug
    76bbb482d33b hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs
    c61736a994fe bpf, mips: Validate conditional branch offsets
    3f4e68902d2e RDMA/cma: Fix listener leak in rdma_cma_listen_on_all() failure
    62ba3c50104b IB/cma: Do not send IGMP leaves for sendonly Multicast groups
    d93f65586c59 bpf: Handle return value of BPF_PROG_TYPE_STRUCT_OPS prog
    12cbdaeeb5d4 ipvs: check that ip_vs_conn_tab_bits is between 8 and 20
    9f382e1edf90 drm/amdgpu: correct initial cp_hqd_quantum for gfx9
    c331fad63b6d drm/amd/display: Pass PCI deviceid into DC
    0a16c9751e0f RDMA/cma: Do not change route.addr.src_addr.ss_family
    31a13f039e15 media: ir_toy: prevent device from hanging during transmit
    249e5e5a501e KVM: rseq: Update rseq when processing NOTIFY_RESUME on xfer to KVM guest
    3778511dfc59 KVM: nVMX: Filter out all unsupported controls when eVMCS was activated
    4ed671e6bc62 KVM: x86: nSVM: don't copy virt_ext from vmcb12
    bebabb76ad9a KVM: x86: Fix stack-out-of-bounds memory access from ioapic_write_indirect()
    782122ae7db0 x86/kvmclock: Move this_cpu_pvti into kvmclock.h
    57de2dcb1874 mac80211: fix use-after-free in CCMP/GCMP RX
    201ba843fef5 scsi: ufs: Fix illegal offset in UPIU event trace
    bd4e446a6947 gpio: pca953x: do not ignore i2c errors
    516d90550390 hwmon: (w83791d) Fix NULL pointer dereference by removing unnecessary structure field
    1499bb2c3a87 hwmon: (w83792d) Fix NULL pointer dereference by removing unnecessary structure field
    7c4fd5de39f2 hwmon: (w83793) Fix NULL pointer dereference by removing unnecessary structure field
    196dabd96bbf hwmon: (tmp421) handle I2C errors
    23a6dfa10f03 fs-verity: fix signed integer overflow with i_size near S64_MAX
    d1d0016e4a7d ACPI: NFIT: Use fallback node id when numa info in NFIT table is incorrect
    e9edc7bc611a ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops.
    23115ca7d227 usb: cdns3: fix race condition before setting doorbell
    3945c481360c cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory
    2193cf76f43a scsi: qla2xxx: Changes to support kdump kernel for NVMe BFS
    a7d4fc84404d cpufreq: schedutil: Use kobject release() method to free sugov_tunables
    d570c48dd37d tty: Fix out-of-bound vmalloc access in imageblit

(From OE-Core rev: c9697cc081208a91d21b0c41219dc1b30d772f13)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:40 +01:00
Richard Purdie
0de0bcdc62 gcc: Drop broken/unneeded patch
This patch looks obsolete because it looks like part of an upstream
backport on a very old gcc version (4.3.3) and looks incomplete. The
diff also has little context making it likely to be a rebase error.

Builds seem find without it so drop it.

(From OE-Core rev: 7bc50b6de2df8555f7e19ff37f103bbe65955f72)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 23:30:16 +01:00
Richard Purdie
094f33efa9 gcc: Drop sdt (dtrace) header patch
Since we now have recipe specific sysroots we no longer need this patch
to avoid the dtrace headers affecting the build of gcc-runtime. Drop
the patch.

(From OE-Core rev: 9aa8ff2dbbbf38cb0c87efd32db64b8ddf485ddf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 23:30:16 +01:00
Richard Purdie
da2e04d0dd gcc: Merge three related patches together
The SYSTEMLIBS_DIR change was spread over three patches, merge these
together since there is no value in having them separate.

(From OE-Core rev: dd1fef1b520efaac6a21f26332c25bdcc0110c12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 23:30:16 +01:00
Michael Halstead
0d4c97c24d releases: update to include 3.4 honister
Adding 3.4 to the release switcher and incrementing dev to say 3.5.

(From yocto-docs rev: a171e88bc572e45d700d257a9de521520b4d5d5e)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 14:04:19 +01:00
Richard Purdie
cc186ac962 poky.conf: Post release version bump
(From meta-yocto rev: 146ee1738e7742215b360d58fb1c97bc523cc5e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 14:03:45 +01:00
Richard Purdie
b6b863311f bitbake: bitbake: Bump to post release verion 1.53.0
(Bitbake rev: 17d74fc64003770a94dfffa2ab102254fa52d585)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 14:03:45 +01:00
Richard Purdie
491b23a932 bitbake: fetch2/perforce: Fix typo
(Bitbake rev: cf421235bd6f5eb12e9193634c0e870ab035b191)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 13:47:24 +01:00
Richard Purdie
2ca853a01e patch: Fix exception reporting with repr()
The exceptions generated with repre are more detailed but escaped the
newlines making them unreadable. Fix this.

(From OE-Core rev: 26a7012e6e17e6b4b4478a25b1b2d5608fe77cfc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 12:08:18 +01:00
Richard Purdie
c2bbcd4158 staging: Fix autoconf-native rebuild failure
When rebuilds are triggered, autoconf-native can fail with:

| DEBUG: Executing shell function update_gnu_config
| install: cannot stat '[BUILDPATH]tmp/work/x86_64-linux/autoconf-native/2.71-r0/recipe-sysroot-native/usr/share/gnu-config/config.guess': No such file or directory

which is due to update_gnu_config running before extend_recipe_sysroot.
This only happens rarely since usually the prepare_recipe_sysroot
function would already have set things up and only in the invalidated
task hash cases does this rebuild in this way from configure only.

Fix the code to prepend this function instead of appending which
resolves the ordering issue.

(From OE-Core rev: b9535f513366536b13d0522058f517d2e04451b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 12:08:18 +01:00
Richard Purdie
544c53bd75 libtool: Update patchset to match those submitted upstream
I went through and cleaned up the headers/descriptions on several of the
libtool patchset and submitted (or resubmitted in some cases) them
upstream. This patch updates/renames them to match what I did.

I did fix some whitespace issues in some of the patches and also merged
one case where we had a patch of already patched code.

This makes it clear what was submitted and makes resubmission easier if
ever needed too.

(From OE-Core rev: 9bb9a4e8bd408c7a42913aa3e1ec541919b59584)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 12:08:18 +01:00
Alexandre Belloni
805d4dd978 ruby: fix Upstream-Status
(From OE-Core rev: c71bb9247e6342b49698c19a0c9512c8a9b54bde)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 23:11:35 +01:00
Alexandre Belloni
9a98a2e900 libevent,btrfs-tools: fix Upstream-Status tag
(From OE-Core rev: fe3b2d0cb23a0d4abd229682beaa0bb64f4a97bd)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 22:26:48 +01:00
Khem Raj
dec1a60146 rust: Upgrade to 1.56.0
This is latest major release, changes are here [1]

Forward port libstd-rs patches and refresh musl/rv64 port

[1] https://github.com/rust-lang/rust/releases/tag/1.56.0

(From OE-Core rev: 183204cbc70a4ef418b16df48bc7eb6e3a75a114)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 22:14:13 +01:00
Joshua Watt
6e23879162 classes/populate_sdk_base: Add setscene tasks
do_populate_sdk was added to SSTATETASKS, but had no _setscene task
created to allow it to actually run from sstate. Add it so that SDKs can
be restored from sstate.

Note that like do_image_complete, do_populate_sdk is marked with
SSTATE_SKIP_CREATION by default so sstate is not used for them; adding
this task will allow it to work if the user overrides this default
though.

(From OE-Core rev: 1f204592903a2fd9375b0f3c9c52e7dde0467460)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 22:14:13 +01:00
Khem Raj
faf705cd68 librsvg: Bump to 2.52.0 -> 2.52.2
Drop backports which are already in this release
Bunch of bugfixes and features

Details of changes

https://gitlab.gnome.org/GNOME/librsvg/-/releases#2.52.2
https://gitlab.gnome.org/GNOME/librsvg/-/releases#2.52.1

(From OE-Core rev: cff39e2028afadd42fa53639f4ac2a9c9c3818a3)

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>
2021-10-23 22:14:13 +01:00
Kai Kang
0e0b545014 sudo: update multilib patch for sudo.conf
Update multilib patch for sudo.conf that there is one more replacement
of @plugindir@ to avoid installation conflict.

(From OE-Core rev: e1afed1569bc076a1823e997137884172acc7123)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 22:14:13 +01:00
Khem Raj
7d6f264fab librsvg: Fix vendored libc to work on riscv and musl
These are patches applied to rust libc already but since librsvg uses
its own copy of libc, we need to patch it here too

(From OE-Core rev: 7ff7e97a73ae2e5fb37fd9248d3dd011053eaa6c)

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>
2021-10-23 22:14:13 +01:00
Ross Burton
c43b4d6785 strace: show test suite log on failure
If the tests fail, dump the log so we can see the failures.

(From OE-Core rev: 3154a65039831b1e041217707fdd6ca042f588fb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Alexander Kanavin
28e8d76683 waffle: convert to git, website is down
(From OE-Core rev: 28391c20044058e05a1bfdacc31a3e876828fb72)

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>
2021-10-23 17:42:28 +01:00
Tim Orling
2156f9be5e python3-pyyaml: upgrade 5.4.1 -> 6.0
Now uses "vendored" distutils from setuptools by default
rather than from Python stdlib.

Changes
=======

* https://github.com/yaml/pyyaml/pull/327
  -- Change README format to Markdown
* https://github.com/yaml/pyyaml/pull/483
  -- Add a test for YAML 1.1 types
* https://github.com/yaml/pyyaml/pull/497
  -- fix float resolver to ignore `.` and `._`
* https://github.com/yaml/pyyaml/pull/550
  -- drop Python 2.7
* https://github.com/yaml/pyyaml/pull/553
  -- Fix spelling of “hexadecimal”
* https://github.com/yaml/pyyaml/pull/556
  -- fix representation of Enum subclasses
* https://github.com/yaml/pyyaml/pull/557
  -- fix libyaml extension compiler warnings
* https://github.com/yaml/pyyaml/pull/560
  -- fix ResourceWarning on leaked file descriptors
* https://github.com/yaml/pyyaml/pull/561
  -- always require `Loader` arg to `yaml.load()`
* https://github.com/yaml/pyyaml/pull/564
  -- remove remaining direct distutils usage

(From OE-Core rev: 2abc7a612a71b3594f3183fbb824a708269ae694)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Tim Orling
aa600e70d9 python3-setuptools: _distutils/sysconfig fix
Add patch to append STAGING_LIBDIR python-sysconfigdata to sys.path so
that packages which set SETUPTOOLS_USE_DISUTILS='local' cross-compile
properly with python3-setuptools-native.

Fixes:
ModuleNotFoundError: No module named '_sysconfigdata'

References:
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html#porting-from-distutils

(From OE-Core rev: f6fb99c53f779966fc902a629d0a8bbd9f84c6be)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Ross Burton
00372aa2f5 testimage: remove target_modules_path
There is no need to pass target_modules_path anymore, so remove it.

(From OE-Core rev: 3d579fb7e4eb96fe0e20e2a7a5948940ca086f99)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Ross Burton
9fa83474ad oeqa/runtime: search sys.path explicitly for modules
The controller module loading code needs to be told what directories
to search for modules via the target_modules_path keyword argument, which
is set to BBPATH.

However, as the actual module loading is done via importlib this relies
on the paths being on sys.path, which it is as base.bbclass puts each
layer's lib/ in sys.path.

Simplify the code by removing this indirection, and simply search
sys.path directly.

(From OE-Core rev: 570a19581f582f77e04d6892adb647cd649a6943)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Ross Burton
c7d6f9965e oeqa/runtime: load modules using importlib
Instead of using __import__() which is low-level and discouraged, use
importlib.

(From OE-Core rev: 9f501d22eab5dbd565f3f5783f4f484a6d1f70a2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Jose Quaresma
676757f187 sstate: fix touching files inside pseudo
running the 'id' command inside the sstate_create_package
function shows that this funcion run inside the pseudo:

 uid=0(root) gid=0(root) groups=0(root)

The check for touch files [ ! -w ${SSTATE_PKG} ]
will always return true and the touch can fail
when the real user don't have permission or
in readonly filesystem.

As the documentation refers, the file test operator "-w"
check if the file has write permission (for the user running the test).

We can avoid this test running the touch and mask any return errors
that we have.

(From OE-Core rev: f6e7445c94443544e92fda97a017ce93393c5f84)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Stefan Herbrechtsmeier
700202afb1 npm: Remove unnecessary configs argument from npm run command
(From OE-Core rev: e5031366ff3519814aff8b95c524659a398e62c1)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Stefan Herbrechtsmeier
7ab5afa819 recipetool: Simplify common source files skip in guess_license
(From OE-Core rev: 189c0297632968900715d7a4a5edcdf3a56e25f5)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Peter Hoyes
b8127b50e2 u-boot: Fix syntax error in ${UBOOT_ENV}.scr compilation
A previous commit (a3d3c2d4ac) introduced
support for compiling a U-Boot boot script, but the logic contained a
syntax error which was only visible in the build log. Fix the error by
using separate []s for each expression in the if statement.

(From OE-Core rev: e33994157abbea897ceaf465f9d2a99a9c8212b1)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Martin Jansa
f482f1d531 boost: allow searching for python310
(From OE-Core rev: a8add0bdec7c51c9a7f851b2c63017c79faaa273)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Thomas Perrot
cbfd377c7d image_types: allow the creation of block devices on top of UBI volumes
Currently, the function multiubi_mkfs doesn't allow using anything else than
UBIFS over UBI.

Here, we propose to introduce two variables that allow to customize the ubinize
configuration and the image dependency, in order to be able to build UBI
images using the ubiblock abstraction layer and block filesystems.

For example, with this change it is possible to build a UBI volume using a
compressed squashfs, with the following configuration:
UBI_VOLTYPE ?= "static"
UBI_IMGTYPE ?= "squasfs-lz4"

(From OE-Core rev: 6f0c6a0cc9b4685716f0991ce350d046810eb8ec)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Andreas Müller
3622d27b84 webkitgtk: add gperf-native to DEPENDS to fix build
|   Could NOT find Gperf (missing: GPERF_EXECUTABLE) (Required is at least
|   version "3.0.1")

(From OE-Core rev: 840c5b442d4b27a3791ced63565bf757de1d95ca)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Jose Quaresma
d7b24328bf sstate.bbclass: count the files on mirrors using the pre local files
We don't need extra python collections to count the found files
on the sstate cache and sstate mirrors.

The main found collections provides all the files that were found.
Then we only need to store the nunber of files that found on the
local sstate cache and the files that found on the sstate cache
mirror is derived from that.

(From OE-Core rev: 0fe71f31593e87b9188b388860d2ba94bf8266bc)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Alexander Kanavin
43f07bdc9f systemd: disable seccomp on mips32
(From OE-Core rev: abf13cf886a50429b15d46e414112646cd935c2e)

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>
2021-10-23 17:42:27 +01:00
Ross Burton
5fcae1bb66 strace: remove TOOLCHAIN assignment
Back in 2016 strace failed to link when using clang, but this isn't the
case anymore.

(From OE-Core rev: 6ff24e6a8192525fbce69e03a317cc1a30870ed0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Ross Burton
9889cebcdd strace: remove obsolete patch
This patch isn't needed with strace 5.14, which includes stdint.h
centrally.

(From OE-Core rev: 3bd3e7302618cd82d1448e3fd84a8a7a27e36656)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Ross Burton
0b66f93a70 gawk: reduce strictness of the time test
The time.awk test does a sleep() and verifies that the actual delay is
close to the requested time. However on a loaded system the range of
acceptable durations is quite tight and will occasionally fail.

Solve this by increasing the range of acceptable delays slightly to
between 50% and 200% of the requested delay.

[ YOCTO #14371 ]

(From OE-Core rev: 92920dd698c5d3a3d8197083f0a1932e7f6550dc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Ross Burton
52f2c3413c gawk: replace AR patch with upstreamed patch
(From OE-Core rev: 18da900ec1b4a9bac2c205145ec2282c52543fd2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Alexandre Belloni
1037d5b2b0 maintainers.inc: fix up rust-cross entry
(From OE-Core rev: 5fedca5c3bcfc7643176e30e045434321ffbc21d)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Pgowda
a87bff5925 rust-cross: Fix directory not deleted for race glibc vs. musl
Use different recipe names for the two different targets so that
when switching libcs overlapping files in the sysroot don't cause
issues.

(From OE-Core rev: 33be44a02beb7c52f075f660ad8e0641e360011c)

Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Pablo Saavedra Rodi?o
6a6b4755ee mesa: upgrade 21.2.1 -> 21.2.4
Contains 'Make YUV formats we're going to emulate external-only' [1]
was applied in 21.2.4. This fixes red label issues on video for VC4,
Freedreno and others.

Deletes meta/recipes-graphics/mesa/files/without-neon.patch [2]
already in Mesa since 21.2.

Release notes:

* 21.2.2: https://docs.mesa3d.org/relnotes/21.2.2.html
* 21.2.3: https://docs.mesa3d.org/relnotes/21.2.3.html
* 21.2.4: https://docs.mesa3d.org/relnotes/21.2.4.html

[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13038
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12569

(From OE-Core rev: 51fccaa16a3cb78ace077ba593b6cdde5e085528)

Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Kiran Surendran
1c1dd2097f ffmpeg: fix CVE-2021-38114
backport from upstream

(From OE-Core rev: fe9cdf74f7ef3637ed7c600182f8a0ba40510d2a)

Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Martin Jansa
e736b200a0 webkitgtk: add PACKAGECONFIG for opengl-or-es
* added in:
  29421afdcd

* fixes build without opengl in DISTRO_FEATURES which was failing since upgrade to 2.34.0 with:

| CMake Error at Source/cmake/OptionsGTK.cmake:353 (message):
|   Either GLX or EGL is needed.
| Call Stack (most recent call first):
|   Source/cmake/WebKitCommon.cmake:220 (include)
|   CMakeLists.txt:20 (include)

* and add a patch to fix building this version with opengl and gles disabled
  (default oe-core setup without opengl in DISTRO_FEATURES)

(From OE-Core rev: 7214f09c77675b66e63b8f342a93c6b4db16e53d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Yureka
faf701d2d5 systemd: add missing include for musl
Fixes "error: ‘FTW_ACTIONRETVAL’ undeclared (first use in this
function)" in src/shared/mount-setup.c.

(From OE-Core rev: 7707d08bb10db5eb782a2476be58ebe4b8bba154)

Signed-off-by: Yureka <yuka@yuka.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
af067d427f libssh2: skip one of the ptests until openssh 8.8 compatibility is fixed
(From OE-Core rev: 0a4275e61ec719247ddd1df5950ad570e8d3af02)

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>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
e76d5c9140 gnupg: update 2.3.2 -> 2.3.3
(From OE-Core rev: dabf520ef0868eb5e0f97444da28ff44e9f8d0c1)

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>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
c3d0437b26 libsoup-2.4: upgrade 2.72.0 -> 2.74.0
(From OE-Core rev: 56cae0c26f4795735487536affa7b28278e8af39)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
bc294b1894 libmd: upgrade 1.0.3 -> 1.0.4
(From OE-Core rev: f8db9cb455482ca811f7e76c5ca62476ae0c363d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
da18999915 libcap: upgrade 2.54 -> 2.59
(From OE-Core rev: da4b08a95523b44e1893a3cf42083dd459d1f6a6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
b7c5da9e9e libatomic-ops: upgrade 7.6.10 -> 7.6.12
(From OE-Core rev: ee3672b87f89658902080619f62e8a447eebe525)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
fb5b9b4c98 iso-codes: upgrade 4.6.0 -> 4.7.0
(From OE-Core rev: 0e35b943d75e0eec1bed3141e2c5c015db60fb8f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
c3fb35fa54 fribidi: upgrade 1.0.10 -> 1.0.11
(From OE-Core rev: a0e4bcd7c161cfe44bd3f930d1043fd6d001226a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
5357004743 diffoscope: upgrade 182 -> 187
(From OE-Core rev: abaa36442f1617bcaa941d5b159b6e40042141f8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
3f03a5ab34 libwpe: upgrade 1.10.1 -> 1.12.0
(From OE-Core rev: 41619fa9e544e0710895b2df36c44db55530e684)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
017e212004 puzzles: upgrade to latest revision
(From OE-Core rev: f543568534a0d082a35537bdf12377e74acdafb0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
c845dd2fac mpg123: upgrade 1.28.2 -> 1.29.0
(From OE-Core rev: fbb90b1e5c975ca1cfdf8b23b9e26351abee1d95)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
6ee2cf5b64 wireless-regdb: upgrade 2021.07.14 -> 2021.08.28
(From OE-Core rev: 00c590f50d6894089ff7ce8ad6e263431d9cc550)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
bb33f95a25 linux-firmware: upgrade 20210818 -> 20210919
License-Update: additional files
(From OE-Core rev: 8dac57dfed45a0d8a049473f2efc1711b56273a4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
ddfd77653a libinput: upgrade 1.19.0 -> 1.19.1
(From OE-Core rev: 31c5fc68779f480b162b0d37e63fd63be69bbc9a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
2cd0f675b4 pango: upgrade 1.48.9 -> 1.48.10
(From OE-Core rev: e722519f38c1f9e8ac481238c31da47a4a07b470)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
52da172bcd harfbuzz: upgrade 2.9.1 -> 3.0.0
(From OE-Core rev: 978c85d09a0deb89822caf5618cd793527ca404c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
a5ddc17014 libdazzle: upgrade 3.40.0 -> 3.42.0
(From OE-Core rev: e839aa6f554198fd68139bade029646339abc182)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
676d7313c9 json-glib: upgrade 1.6.4 -> 1.6.6
(From OE-Core rev: e56081b228ef6873c505641dd0a661fd6d537731)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
64ab9d93fe gsettings-desktop-schemas: upgrade 40.0 -> 41.0
(From OE-Core rev: 56503d928e62ddd100aa7d3cf78b70ed37879c20)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
2bbd3f6440 gobject-introspection: upgrade 1.68.0 -> 1.70.0
(From OE-Core rev: dd256fc5ef67175f5ce7f8a599a42a2807ad63a0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
81fe8f63be sudo: upgrade 1.9.8p1 -> 1.9.8p2
(From OE-Core rev: f34e0126128a35e2d9d58ae097929ba292d80f33)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
9019337aa6 msmtp: upgrade 1.8.15 -> 1.8.17
(From OE-Core rev: 0a5854ed80133ad4610c90b81d5743cc922bfbca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
901d69e9a3 libarchive: upgrade 3.5.1 -> 3.5.2
(From OE-Core rev: f8f39cd5757907d50444203e0e6e2c5ed0a47152)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
5e45018a02 asciidoc: upgrade 9.1.0 -> 9.1.1
(From OE-Core rev: cc5f720f6ecd45815db83fbb14ba4e214717680f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
16d9785c8c acpica: upgrade 20210730 -> 20210930
(From OE-Core rev: b11b0e99e3e1cc74f046a09e89d284ff81c9640c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
d72ca5de02 vala: upgrade 0.52.5 -> 0.54.2
(From OE-Core rev: 4b0ba21b41885c53c3a9be78db08fe0022cee3b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
479cfc3b53 python3-setuptools: upgrade 58.0.4 -> 58.2.0
(From OE-Core rev: 0235e0bea0692d641c7118ddae5a08a9610d76dd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
0ddce9242c python3-pygobject: upgrade 3.40.1 -> 3.42.0
(From OE-Core rev: b65725375868e9acbe317c3bfbe989d3da300c50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
35c9953c60 python3-jinja2: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: 6814a2286ee6931c8c4a590b71a90436d57e80e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
05c66f906f librepo: upgrade 1.14.1 -> 1.14.2
(From OE-Core rev: 65f1e07af359f78f2368d6b36416b819a43c08d8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
7b90167839 libedit: upgrade 20210714-3.1 -> 20210910-3.1
(From OE-Core rev: e18c5d22604f4728f8184c1f11b7af8a4821fd16)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
9e2489d1bb libcomps: upgrade 0.1.17 -> 0.1.18
(From OE-Core rev: 058d9ae4f9067072777cf996018e7b48e13d141d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
09d91a0e62 createrepo-c: upgrade 0.17.5 -> 0.17.6
(From OE-Core rev: 1b6253bcc2a7915d881e16462f652b2e3b7d30f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
75aca0d641 ccache: upgrade 4.4 -> 4.4.2
License-Update: formatting
(From OE-Core rev: efe7f1063f0cf001286ff277537c9fa0a5521047)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
2e73c16ab8 btrfs-tools: upgrade 5.13.1 -> 5.14.2
(From OE-Core rev: 72d5401a00d0332c9072ddcf1c8ba8f3f88a831c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
daadc03748 sysvinit: upgrade 2.99 -> 3.00
(From OE-Core rev: f80ba18ffbe4a8db45a1f15ab2a2aa72f6f2d65b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
9454f1c22f openssh: upgrade 8.7p1 -> 8.8p1
(From OE-Core rev: 15ae6c75ed201d1f16c5cc1494314cb49968370c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
b8c8cc20e7 ofono: upgrade 1.32 -> 1.33
(From OE-Core rev: adf01e8fbaf94ed11626e1fd910874b39810b252)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
fe2dada676 tzdata: upgrade 2021a -> 2021d
(From OE-Core rev: f171f4f528090fc108624de6049274aa4d4880eb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
6b4741f53e git: upgrade 2.33.0 -> 2.33.1
(From OE-Core rev: c2ccedd1ecb44fbc0711e1be5b4c69b0f78bded3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
26a43c2e1c cmake: update 3.21.2 -> 3.21.3
(From OE-Core rev: 1ed10b337ebdfe302bde1e01131206f2b1150908)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
5308579373 bison: upgrade 3.8.1 -> 3.8.2
(From OE-Core rev: 0bae444c93bfb3ab49d6e7a147190c72acd519f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
c541aadf5e libxcrypt: upgrade 4.4.25 -> 4.4.26
License-Update: additional copyright holders
(From OE-Core rev: a124dc48780013abed70de4acb68cc8eeb719eaf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
98de468054 libgit2: update 1.2.0 -> 1.3.0
(From OE-Core rev: d8735cacb0e573ac91c3aee3e3e573d804646c63)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
a901b31888 curl: update 7.78.0 -> 7.79.1
(From OE-Core rev: b4f08791b7652898f398c86db9352b706eeda9e4)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
1f827cbf5e ca-certificates: update 20210119 -> 20211016
(From OE-Core rev: c479b8a810d966d7267af1b4dac38a46f55fc547)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
a76f09511f liberation-fonts: update 2.1.4 -> 2.1.5
(From OE-Core rev: 606796bb700c0a9d3554be6d83d24216fc3ef508)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
00ebc6afb4 libva: update 2.12.0 -> 2.13.0
(From OE-Core rev: 565d3f463ea4d67be2854789638ad4477c95ab5d)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
a70d89d8c0 librsvg: update 2.52.0 -> 2.52.2
(From OE-Core rev: 4a5cb680d66e8375a287cd5d87ed82c0832b6e57)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
3129eb9dd6 valgrind: update 3.17.0 -> 3.18.1
(From OE-Core rev: da8f9c5e1ebe655a1a8e9935dd6560121bca2e74)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
a8a97eb845 python3-pip: update 21.2.4 -> 21.3
Adjust patch as file is removed from source tree.

(From OE-Core rev: e6fc7d2825d6c26f5dc65e38f3313cd9b3556238)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
1d345f0bc8 meson: update 0.59.1 -> 0.59.2
Drop patch as upstream fixed the issue.

(From OE-Core rev: 6f9ce677f5315c82e090609314ba99ba4bebc168)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
0e3748c5f3 systemd: update 249.4 -> 249.5
(From OE-Core rev: d5d3704acf4d2e70ee41eb5e6fe852a4c1bc3595)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
f65a34764c ovmf: update 202105 -> 202108
(From OE-Core rev: 9e5d15aba7515952614f69e06d3d9b9316a77204)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
100c1ca849 bluez5: update 5.61 -> 5.62
Drop the patch as issue is addressed upstream.

(From OE-Core rev: e3cb95cd185c44fd82f1507114e2b75b87035b50)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
50a9e1e306 lighttpd: update 1.4.59 -> 1.4.60
(From OE-Core rev: f7753438aa164be1371f599969c829a276881589)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
6f138098b1 ghostscript: update 9.54.0 -> 9.55.0
jbig2dec seems no longer optional; the source for it
is bundle with ghostscript.

License-Update: removed patent references
(From OE-Core rev: 44a3bea7e8fedbc76b6e8f97e1f669def81e158a)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
39a7aeddfb kea: update 1.8.2 -> 2.0.0
Remove 0001-keactrl.in-create-var-lib-kea-and-var-run-kea-folder.patch
as code removed upstream.

License-Update: formatting

(From OE-Core rev: 3af27805d8cf88d03c34690241ecba899c33a26b)

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>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
878ca97e7a libjitterentropy: update 3.1.0 -> 3.3.0
(From OE-Core rev: 3d27221475a58a27f2b5bc0f4c8c2d773dfb9a98)

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>
2021-10-23 17:42:25 +01:00
Michael Opdenacker
bdc84d86aa docs: poky.yaml: updates for 3.4
(From yocto-docs rev: d080c62f3ec489275b2f241ccea51cf127f4f782)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Michael Opdenacker
5e529aefde releases.rst: fix release number for 3.3.3
(From yocto-docs rev: 8e0e33663b4f7e58b02e3b5153e4164a7d3db20e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Daiane Angolini
634b7f1fdc ref-manual: Update how to set a useradd password
Partial fix for [YOCTO 14605]

(From yocto-docs rev: 3f3e5574ac9801ad92940168b61b532e0bd53a80)

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Paul Eggleton
fd6e9609d1 migration-3.4: add some extra packaging notes
Add some notes on minor packaging changes that I missed earlier.

(From yocto-docs rev: a4f345f888b466bd1459b767c1b8cf8b9397e27e)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Paul Eggleton
a43cb3d607 poky.yaml: fix lz4 package name for older Ubuntu versions
It turns out that for Ubuntu, lz4 is the valid package name for newer
versions (e.g. 20.04 LTS) but not for older ones (e.g. 18.04 LTS, where
the correct package is liblz4-tool). In 20.04 the lz4 package includes
liblz4-tool in its "provides" so it's best to list that one for now.

(From yocto-docs rev: 2a4e259d2786c14b19a632b3a8f1a06383b6a80c)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Michael Opdenacker
002967ee23 ref-manual: fix description of SOURCE_DATE_EPOCH
Update the reference to the code that computes this default
value for this variable.

(From yocto-docs rev: b115a1c07f76d2cca37565ac678c21e0e6056fff)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Michael Opdenacker
90b29420c7 ref-manual: document SOURCE_DATE_EPOCH
(From yocto-docs rev: 160d672641c52338ba499edfb66339a10b088490)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Michael Opdenacker
07108739ce manuals: rename "devpyshell" to "pydevshell"
This addresses [YOCTO #14531] after the "devpyshell" task was renamed
to "pydevshell" in OE core.

(From yocto-docs rev: 1056320e90545c8dff0fc71a5fde752295d4d6e4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Michael Opdenacker
5550d83ff7 ref-manual: document TOOLCHAIN_HOST_TASK_ESDK
(From yocto-docs rev: 2adac164a2d4cf23c0372c1154709f2866d483fa)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
b2170a460b migration: tweak introduction section
Ensure we have a brief introductory section and tweak the general
migration considerations a little.

(From yocto-docs rev: b127348bbc6a7a6e48ee14434fffc56e08aa9e02)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
64f1f876a1 migration-3.4: add additional migration info
Add migration instructions gathered by combing the commits in this
release.

(From yocto-docs rev: 2fc89fa1d4e29d2498d5b736ffe85c1cdc8b62e7)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
9ababc0b5b poky.yaml: add lz4 and zstd to essential host packages
These are now required so update the corresponding distro-specific
lists used in the system requirements documentation.

(From yocto-docs rev: 604deb5c30a8808a60187f81645fa08b67ef2de9)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
9b0f90ff6a ref-manual: remove meta class
This was recently removed so remove the reference to it.

(From yocto-docs rev: 53f52adf212e35e7588a90e94b03b5cfae6f867c)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
1088e2d9d1 migration-3.4: tweak overrides change section
Minor grammar and readability improvements.

(From yocto-docs rev: e33a809d139d52a8aa262a25fe3031a8882dee2e)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Oleksandr Kravchuk
2d5e0f13e3 python3-smmap: update to 5.0.0
(From OE-Core rev: 63a235d86edb5ca628c8601ed06fb04da3186141)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Lukasz Majewski
5f5660c7fa glibc: Extract common code to build tests to glibc-tests.inc
The common code to build tests has been extracted from glibc-testsuite
recipe to glibc-tests.inc

This code will be reused in the recipe necessary for providing glibc
tests executed with ptest framework.

(From OE-Core rev: 4ee26ef672c75e73b10412e87cee23797105d9bc)

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
573c336353 python3-setuptools-scm: upgrade 6.0.1 -> 6.3.2
RDEPENDS on python3-tomli instead of python3-toml

Cleanup RDEPENDS (common vs. class-target)

For changes, see:
https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.rst#632

(From OE-Core rev: db2f3df621ada3f4a87136279fc8015f81a6ad0c)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
6cc9954c6b python3-tomli: add recipe for 1.2.1
A lil' TOML parser

This is a runtime dependency for setuptools-scm upgrade as well as for
several other Python Packaging Authority (pypa) tools that will be
replacing distutils and setuptools in the future.

Upstream does not have a setup.py, but rather relies on flit_core to
build. This introduces a circular dependency, as flit_core has a runtime
dependency on tomli.

Borrow a setup.py from Gentoo until a better solution is found by
upstream Python Packaging Authority (pypa).

(From OE-Core rev: 86430833b463d606ffc345ad6b7e51840dc9f9ba)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
836ab3c757 python3-packaging: BBCLASSEXTEND nativesdk
python3-setuptools-scm RDEPENDS on it for nativesdk

Fixes:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2766/steps/13/logs/warnings

(From OE-Core rev: c984ef67f8dff27e0ce24628f28d196cdc76055e)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
db7c1da81f python3-packaging: DEPENDS on python3-setuptools-native
Not python3-setuptools-scm-native

Upgrade to python3-setuptools-scm introduces a circular dependency.

Drop python3-six from RDEPENDS as this was removed in 20.5

(From OE-Core rev: 58e1f76a37d649e648dd9d436abbf4d3bfaea0ab)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Andrej Valek
ea92f2ee91 kernel-fitimage: use correct kernel image
Even if initramfs_bundle_path was used, a wrong compression was reflected
in output its template file. Use linux.bin as universal kernel image.
The linux.bin file covers both cases because it's beying created from
vmlinux.

We know, that vmlinux is created inside compressed directory already,
so no external compression will be used.

(From OE-Core rev: 27fbbeaf972bb7e2535c1b23375cfa9d66b69db6)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Walter Schweizer <walter.schweizer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Andrej Valek
2b5f5e295e featimage: refactor style
- use bash variable notation without {} where possible
  - just to make sure it looks like bash variable not bitbake variable one
- fix indent style in "cat" commands
- replace "! -z" -> "-n"
- make debug info in ramdisk section creation more verbose

(From OE-Core rev: f44bb458884da64356ee188917094b5515d3b159)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Khem Raj
d3b5389e7d opensbi-payloads: Add dependency on kernel if fdt is set
fdts are built as part of kernel, so add missing dependency on kernel
deploy task

Fixes opensbi build errors
| make: *** No rule to make target '/mnt/b/yoe/master/build/tmp/deploy/images/unmatched/hifive-unmatched-a00.dtb', needed
 by '/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opensbi/0.9+gitAUTOINC+bd355213bf-r0/git/build/platform/gene
ric/firmware/fw_dynamic.o'.  Stop.

(From OE-Core rev: 3a6bcd97f5239c73f036cd64b93a3ef8515d29a6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Ross Burton
5e2f0c8120 sstate: don't silently handle all exceptions in sstate_checkhashes
If checkstatus returns an exception we should silently handle
FetchError, as this means the fetch failed for 'normal' reasons such as
file not found.  However, other exceptions may be raised, and these
should be made visible.

(From OE-Core rev: 50d99faf88a1d82cbd939b9bd6e33ebed2b1ffd8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Ross Burton
f59811aeeb oe/utils: log exceptions in ThreadedWorker functions
If the function a ThreadedWorker is executing raises an exception, don't
use print() as that mostly disappears.  Instead, output it to the logger.

This is done using bb.mainlogger.debug directly instead of bb.debug() as
this allows us to pass the exception instance directly, which is then
incorporated into the log stream.

(From OE-Core rev: 2f1ea25c222b344dd8b784b2bc73a6540ab30274)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:16 +01:00
Richard Purdie
4359dba4fe bitbake: test/fetch: Update urls to match upstream branch name changes
(Bitbake rev: 473e2a5486bd972ad0f808db089abcb8945d3a48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 22:51:59 +01:00
Richard Purdie
1028d0158a bitbake: siggen: Fix type conversion issues
The switch to using json has messed up the type handling as the code
does assume that set()s are present. Add a decoder to reconstruct
the set() objects. Also fix the change of tuples to lists for the
file checksums and fix an existing type bug where dicts insteads of
lists was used.

Drop some old siginfo format handling code which is now long since
obsolete.

(Bitbake rev: 2d704842c0928f8dbe78fd081042aa7280af96be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:57:27 +01:00
Richard Purdie
b8be48c718 bitbake: bitbake-worker: Add debug when unpickle fails
We occasionally see bitbake-worker failing and from the logs, an unpickle error
occurs. Add more debug so we can further debug this next time it fails.

[YOCTO #14595]

(Bitbake rev: fe8105cc06beca8240b76ea366a1eff5aa9c5412)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:57:27 +01:00
Oleksandr Kravchuk
b635e7980f man-pages: update to 5.13
(From OE-Core rev: 9a9cd95fcc792b1daf71d75aa61488611e9490ce)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:33 +01:00
Mike Crowe
cdeb02654f insane,license,license_image: Allow treating license problems as errors
Use the same WARN_WA and ERROR_QA variables as insane.bbclass to allow
individual recipes, the distro or other configuration to determine
whether the various detected license errors should be treated as a
warning (as now) or as an error.

oe.qa.handle_error isn't immediately fatal, so oe.qa.exit_if_errors must
be called at the end of do_populate_lic to fail the task.

(From OE-Core rev: bb164adca94b5a43751aabe6b6d702a3d60dfdc7)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:33 +01:00
Mike Crowe
51b1611e20 lib/oe/qa,insane: Move extra error handling functions to library
Extract package_qa_write_error, package_qa_handle_error and
package_qa_add_message functions from insane.bbclass to lib/oe/qa.py and
drop the package_qa_ prefixes.

Update various bbclasses to use the new functions. No import is required
since base.bbclass puts oe.qa in OE_IMPORTS.

Stop requiring callers to manually track whether a fatal error has been
encountered via a "sane" flag. Instead replace the QA_SANE variable with
QA_ERRORS_FOUND and call oe.qa.exit_if_errors or
oe.qa.exit_with_message_if_errors at the end of each task.

Inspired by discussion resulting from
https://lists.openembedded.org/g/openembedded-core/message/156793 and
https://lists.openembedded.org/g/openembedded-core/message/156900

(From OE-Core rev: f0ad152ef4cc15c042bc9eeefb6af096d054b220)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:32 +01:00
Tim Orling
25675706b6 at-spi2-core: upgrade 2.40.3 -> 2.42.0
Add patch to ensure x11_dep is defined.

What's new in at-spi2-core 2.42.0:
* Set X root property when Xwayland starts on demand.
* Several dbus introspection fixes.

Reference:
  https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/42
  https://gitlab.gnome.org/GNOME/at-spi2-core/-/merge_requests/60

(From OE-Core rev: 05c0e34122ea1272704ddb90657e592f15f5c557)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:32 +01:00
Ross Burton
b3fd59873d testimage: fix unclosed testdata file
(From OE-Core rev: 0c192a97e3e1c015a48667d6903cc07a8b2620e4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:32 +01:00
Richard Purdie
663a7d6574 bitbake: tests/runqueue: Ensure hashserv exits before deleting files
We've seen races where the socket may be gone but the server is still writing
out it's database. Handle that case too to avoid cleanup tracebacks.

[YOCTO #14440]

(Bitbake rev: b9e4fb843cb9d3a4d4404af093a781fab5520465)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:43:00 +01:00
Richard Purdie
9d12605d7e poky: Reproducible builds are now the default
(From meta-yocto rev: 829e48e3cd3c3dd90855750ef469cb65f93f0d20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Khem Raj
ebf94f1f37 qemu: Add knob for enabling PMDK pmem support
This ensures that libpmem dependency is added in a consistent manner

(From OE-Core rev: 740a52dd10c6e9cb03d39c51eeb955acf438614e)

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>
2021-10-16 17:41:59 +01:00
Khem Raj
d763b9a7ca mesa: Enable svga for x86 only
Enable svga only on x86/x86_64 since some arches e.g. riscv64 do not
support it

(From OE-Core rev: d7d380a45ab0efedcba33baaae37589da4d25a2b)

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>
2021-10-16 17:41:59 +01:00
Khem Raj
43e6557190 opensbi-payloads.inc: Use strings for fallback
This function is evaluated during parse and some machines maynot use
external payload, on such machines this fails to parse

Fixes
bb.data_smart.ExpansionError: Failure expanding variable do_compile[depends], expression was  ${@riscv_get_do_compile_depends(d)} which triggered exception TypeError: argument of type 'NoneType' is not iterab
le

(From OE-Core rev: b5c93cb9a63ebd8601623f411737c0af7f7efd4a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Marek Vasut
db22ea8dba piglit: upgrade to latest revision
Update piglit to latest git revision and update the branch name,
since the original one is no longer updated. Make sure the VK
tests are only enabled if VK is also enabled in PACKAGECONFIG,
and that this is opt-in, otherwise older systems fail to build.

(From OE-Core rev: 9ba6df1b2cda5d95b60e9a80bf6b1d4e4855b10c)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Anuj Mittal <anuj.mittal@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
d2344474eb mirrors.bbclass: remove dead infozip mirrors
(From OE-Core rev: 0140df8724a1c73f7b62fbbbaee58c3eb119eeba)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
f4886717e5 oeqa: Update cleanup code to wait for hashserv exit
We sometimes see exceptions from code seeing the hashserv DB files
being removed at directory cleanup time. Add a check to ensure the
hashserv has written the data base journal (and hence likely exited)
before cleaning up.

This will hopefully avoid errors like:

Traceback (most recent call last):
  File "[...]/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 30, in test_libc
    delay = delay - 1
  File "/usr/lib/python3.6/tempfile.py", line 948, in __exit__
    self.cleanup()
  File "/usr/lib/python3.6/tempfile.py", line 952, in cleanup
    _rmtree(self.name)
  File "/usr/lib/python3.6/shutil.py", line 486, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib/python3.6/shutil.py", line 424, in _rmtree_safe_fd
    _rmtree_safe_fd(dirfd, fullname, onerror)
  File "/usr/lib/python3.6/shutil.py", line 444, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib/python3.6/shutil.py", line 442, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'hashserv.db-wal'

(From OE-Core rev: 0b07d9add687d78495176cda0f3011c10ffa4d4b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
a34a0e75e7 libxkbcommon: update to 1.3.1
(From OE-Core rev: f238d6e766b05e730613127b503a1de63e3b7de8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
7aba0ae69f xkeyboard-config: update to 2.34
(From OE-Core rev: 79fa8c02d584e214dcce2b124c132cf58e2253de)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
7f1a58eb0d xorgproto: update to 2021.5
(From OE-Core rev: 151d054c585c700b6fff28b066682800f6e37efe)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
294624937b libxi: update to 1.8
(From OE-Core rev: e8099731d4cd586ff4525b3a036ea89debe06115)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
zhengruoqin
3ea4b61032 python3-pycryptodome: upgrade 3.10.1 -> 3.11.0
3.11.0 (8 October 2021)
Resolved issues
GH#512: Especially for very small bit sizes,
Crypto.Util.number.getPrime() was occasionally generating primes
larger than given the bit size. Thanks to Koki Takahashi.
GH#552: Correct typing annotations for PKCS115_Cipher.decrypt().
GH#555: decrypt() method of a PKCS#1v1.5 cipher returned a bytearray
instead of bytes.
GH#557: External DSA domain parameters were accepted even when the
modulus (p) was not prime. This affected
Crypto.PublicKey.DSA.generate() and Crypto.PublicKey.DSA.construct().
Thanks to Koki Takahashi.

New features
Added cSHAKE128 and cSHAKE256 (of SHA-3 family).
Thanks to Michael Schaffner.
GH#558: The flag RTLD_DEEPBIND passed to dlopen() is not well
supported by address sanitizers. It is now possible to set the
environment variable PYCRYPTDOME_DISABLE_DEEPBIND to drop that flag
and allow security testing.

(From OE-Core rev: 5dd1c7eb074d8b0089163f8283751676c756d2bc)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
zhengruoqin
c8862ead4d libsolv: upgrade 0.7.19 -> 0.7.20
(From OE-Core rev: 77650314fe85a487f390cc7ea5351a804a64b289)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
hongxu
0e3c787113 libcap: fix nativesdk-libcap relocate failure
./lat-sdk-poky-intel-x86-64-1.0.sh -y -d sdk-3
...
Setting it up...ERROR: could not relocate
/buildarea/raid5/hjia/community/lat_github_090816/build-3/tmp/deploy/sdk/sdk-3/sysroots/x86_64-pokysdk-linux/usr/lib/libpsx.so.2.54, interp size = 93 and 134 is needed.
...

Since upstream libcap applied commit [ee3b25c Support simply executing
the built shared libraries.][1], it manually append interp section to shared
libraries.

Refer the implement of Yocto glibc[2], allocated a 4096 byte .interp section
for nativesdk

[1] https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/commit/?id=ee3b25c0a877fa74d1aec88f325ac45b09963c82
[2] meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch

(From OE-Core rev: 99c62d5d134bf69021a348d40b6aa21f4fc5f8a8)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Peter Hoyes
a3d3c2d4ac u-boot: Convert ${UBOOT_ENV}.cmd into ${UBOOT_ENV}.scr
* Add extra SRC variables to uboot-config.class for source cmd file
 * Add DEPENDS on u-boot-mkimage-native if UBOOT_ENV_SUFFIX is scr
 * Compile cmd -> scr in do_compile if UBOOT_ENV_SUFFIX is scr

(From OE-Core rev: 0ea02ca5c1fc4e15f640b1c26c0a5ce34fc08c05)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
wangmy
7300618171 libical: upgrade 3.0.10 -> 3.0.11
Version 3.0.11 is a patch release.
This release is binary and source compatible with version 3.0.0.
Note that the libical-glib library is considered unstable; therefore not binary compatible with previous releases

ReleaseNotes:
Fix icalrecur_iterator_set_start() for hourly, minutely, and secondly recurrences
Fix build for Berkeley DB version greater than 5
Fix vcal for some architectures (like aarch64, ppc64le and s390x)
Fix memory leaks in vcal
Prevent crash when looking for tzid in initialize_rscale
Adjust libdir and includedir in generated pkgconfig files
Built-in timezones updated to tzdata2021c

(From OE-Core rev: a148c21a03c298933ecac1ca4204eb453ce1c22a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
b8b59872fa kernel: Rework kernel make flag to variable mappings
In 2017 we added changes to pass the BUILD_CFLAGS into the kernel
via BUILD_CC. This isn't really correct and the upstream kernel now has
places to pass build cflags, ldflags and more. Update our kernel
make flags to correctly use the kernel's variables. This addresses
concerns raised by kernel developers.

If this breaks some usecase please report it so we can work out how
to fix it properly.

(From OE-Core rev: 7fd06a57a1d91d8534721923f6e3951ec8220cec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
20f6477b63 reproducible: Drop BUILD_REPRODUCIBLE_BINARIES variable
We want things to be reproduicble and the variable doesn't really change
much any more. Drop the remaining uses and make those code paths always
active.

(From OE-Core rev: d15fb02c7ee7da50e322d74bc6a545234e20c7f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
0dc5920862 kernel: Add KERNEL_DEBUG_TIMESTAMPS variable
Change the "binary reproducibility" configuration within the kernel to
work off a separate variable, defaulting to reproducible builds.

This allows kernel developers wanting timestamps in their images to enable
it easily and clearly without changing the rest of the reproduciblity
code which they likely don't need to change anyway.

(From OE-Core rev: 0725ca18af7a2835aeb9616592a45ead2ee87987)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
4b424bdfdb reproducible: Merge code into base.bbclass
Reproducibility is here to stay and needs to be part of our default workflow.
Move the remaining code to base.bbclass so it is always a first class citizen
and it is clear people need to be mindful of it.

(From OE-Core rev: abb0671d2cebfd7e8df94796404bbe9c7f961058)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
f47a396964 reproducible: Move variable definitions to bitbake.conf
The reproducibility code was originally developed as separate
standalone class but development is no longer experimental and
the code is widely tested and used by default for poky. Reproducible
builds are the direction we need to take as a project.

Transition the core variable definitions to bitbake.conf as part of
a move to make these part of the default workflow.

This also helps reduce test matrix complexity as there is now one
code path.

(From OE-Core rev: f38a8de19550ae216575b5b39163666f74b07e2d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
a28891c779 reproducible: Move class function code into library
To try and avoid parse/memory overhead of functions within bitbake,
move the bulk of the reproducibility functions to the function library.

(From OE-Core rev: f2fd1c9d75e774c8a5271cdc1ec6f65c4492f941)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
4f8eec834a reproducible_build: Drop now unneeded compiler warning
We now pass compiler options that mean the compiler will adjust these values to
SOURCE_DATE_EPOCH, the compiler warnings are now unneeded.

(From OE-Core rev: 80afddd3ae862b125f674702aff6330e87d55338)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
ec6edfc27f patch: Use repr() with exceptions instead of str()
This gives more meaningful errors.

(From OE-Core rev: 5b285796b618623289992faea1282f1822335239)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Jon Mason
e53c974ace bitbake: bitbake-user-manual: update sources mirror URL
The URL for the sources mirror no longer works.  Update to the new
location.

(Bitbake rev: 160feefd4af07c0b057495f19c8dd94fe243853b)

(Bitbake rev: 45ea7a937d81d68e3c1203a6e04a3f2f3cc607da)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Khem Raj
d54d049eda openssl: Drop riscv32 upstreamed patches
These patches are already available in 3.0

(From OE-Core rev: 063d085534b7b3659c5721228bb58f4e8115b5ee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-15 17:55:09 +01:00
Richard Purdie
b85fd33e7d sstate: Fixes for eSDK generation after zstd switch
(From OE-Core rev: f5a90df08631117cd66bec68cb1851db96822bb8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-15 12:58:00 +01:00
Daniel McGregor
652fdf8719 sstate: Allow validation of sstate singatures against list of keys
Allow a user to validate sstate objects against a list of keys, instead
of just any known key in the user's keychain.

(From OE-Core rev: 52ba0c5e6e2e3d5d01dc3f01404f0ab1bb29b3b5)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:52:31 +01:00
Michael Halstead
9a7bc68135 scripts/autobuilder-worker-prereq-tests: jinja2 check
Ensure the jinja2 module is available during bringup.

(From OE-Core rev: c46a6ec91bd40a458cb0ef5ec84bc0cc274d9cef)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:39:50 +01:00
Henry Kleynhans
3579782a44 sstate: Switch to ZStandard compressor support
This patch switches the compressor from Gzip to ZStandard for ssate cache
files.

Zstandard compression provides a significant improvement in
decompression speed as well as improvement in compression speed and disk
usage over the 'tgz' format in use.  Furthermore, its configurable
compression level offers a trade-off between time spent compressing
sstate cache files and disk space used by those files.  The reduced disk
usage also contributes to saving network traffic for those sharing their
sstate cache with others.

Zstandard should therefore be a good choice when:
* disk space is at a premium
* network speed / resources are limited
* the CI server can sstate packages can be created at high compression
* less CPU on the build server should be used for sstate decompression

(From OE-Core rev: 0710e98f40ec7394567ede1f88f7c7bae306b925)

Signed-off-by: Henry Kleynhans <hkleynhans@fb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Ross Burton
ca8ef6bc38 bitbake: codegen: implement ast.NodeVisitor.visit_Constant
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant.  We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.

(Bitbake rev: 4edd5767fc6d699f5262862b763b6a99ad1f1bbf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Caner Altinbasak
bd5a07fbcb bitbake: fetch2: Do not attempt to verify donestamp if download is not complete
npmsw(and maybe other fetchers) may try to download same files simulatenously.

if a premirror is set, download method tries premirror location first. If file
is not found, done is set to false. In the meantime, other fetchers may download
the files required and verify_donestamp might return true.

In this scenerio, fetcher doesn't try to download again and fails. Do not
attempt to verify_donestamp if done is not set. By this way, we ensure that
fetcher attempts to do another download after premirror failure.

(Bitbake rev: 4fa25714916e84f99ecd22cb76cb5adada01e5e8)

Signed-off-by: Caner Altinbasak <cal@brightsign.biz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Caner Altinbasak
8e6aaed8ff bitbake: npmsw: Avoid race condition with multiple npm fetchers
If multiple npmsw fetchers are trying to download the same npm file, one of them
can try to download the file while other is calling verify. npmsw methods gets
called without holding the lock, which causes race conditions in fetching and
verification etc. Lock the lockfile before calling proxy fetcher methods.

(Bitbake rev: fa39e6689d0f0fff772e1c81682698f4b1587b8a)

Signed-off-by: Caner Altinbasak <cal@brightsign.biz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Richard Purdie
4c33a6e52b bitbake: siggen: Change file format of siginfo files to use zstd compressed json
Since OE is about to change to zstd compression of sstate, it would make it
timely to convert the siginfo files from pickle which isn't reproducible
to json which is both reproducible and also human readable. At the same time
add zstd compression. This makes the siginfo files smaller, reprodubicle
and easier to debug.

Backwards compatibility mixing the two formats hasn't been supported since
in reality if sstate changes at the same time, files will be in one format
or the new one but comparing mixed formats won't make much sense.

Since json doesn't support sets, we translate them into lists in the files
themselves. We only use sets in bitbake since it makes things easier in
the internal code, sorted lists are fine for the file format.

[YOCTO #13973]

(Bitbake rev: 22c18494c9072788e6e26eb73de70378ae5c5bf5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Richard Purdie
d080eaa163 bitbake: compress: Allow to operate on file descriptor
The code works fine if we pass a file descriptor in and we need to
do this from the siggen code so add that as a valid input.

(Bitbake rev: fc8d74b7de576005ecf67920501dc7e694880fda)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Richard Purdie
5cd1fd86f4 bitbake: bitbake-worker: Set BB_CURRENTTASK earlier
For some debugging, BB_CURRENTTASK is set too late to be useful as
it isn't present in some event handlers for example. There is no
other way to know which task is actually running so set the value
earlier.

(Bitbake rev: 7daaaaa27f55b5a458656857c6d61a51b34a62fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Richard Purdie
5d11fecd3f python: Update now reproducibile builds are the default
Now reproducible builds are the default move the qemu-usermode check to anon
python code so that invalid configurations are detected.

(From OE-Core rev: 6c195acb400efeeebdacdd8d081b35f7417a694c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
59d990ad09 reproducible_build: Drop obsolete sstate workaround
sstate has been sufficiently invalidated since this change was made, drop
the workaround now.

(From OE-Core rev: 7a497d8f30f21bafc78d0f22f3442a9cc99544cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Ross Burton
09ca5e87ec license.bbclass: implement ast.NodeVisitor.visit_Constant
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant.  We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.

(From OE-Core rev: 875a944392a3c93f40081a14af357f70b6b8264f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Ross Burton
b6611957cc oe/license: implement ast.NodeVisitor.visit_Constant
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant.  We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.

(From OE-Core rev: abc93390a3f19bc4cc159c5690a478b9e2270906)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Jon Mason
47d033595a runqemu: add DEPLOY_DIR_IMAGE replacement in QB_OPT_APPEND
Add the ability to replace DEPLOY_DIR_IMAGE with that path in
QB_OPT_APPEND.  This allows for anything present in DEPLOY_DIR_IMAGE to
be passed into the qemu parameters.  This is especially useful if you
want to run multiple flash images (as -bios only allows for one).

(From OE-Core rev: 1f0bec0421617e8aa9645c385195a755f0d44e75)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Daniel McGregor
f7bc56fbd8 bitbake.conf: Add gpg-agent as a host tool
If gpg is used, it will find the first gpg agent in the path, this
may lead to issues where gpg comes from the host, and the agent
comes from a gnupg-native due to package signing. The versions
being out of sync causes gpg to fail.

(From OE-Core rev: 2b59fb9d52a405a32a1d069d4c5320b72fbd35ce)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Daniel McGregor
dc41944f19 bison: prevent checking for textstyle.
Bison's autoconf is also very good at finding textstyle, force it
to not find it unless it's explictly enabled.

(From OE-Core rev: 4f80931136462546f70f5e40d86d5e566f78d2e3)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Ross Burton
21d529bdf3 curl: fix CVE-2021-22945 through -22947
(From OE-Core rev: cff6888f3b2b4bd0a42329b7f7c59b33c9d51265)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
abdcc31c82 bitbake.conf: Add BB_CURRENTTASK to BB_HASHEXCLUDE
Tasks shouldn't vary dependning on the value of BB_CURRENTTASK. They
happen not to due to when bitbake sets this but to fix other issues,
bitbake needs to set it earlier. Therefore exclude from hashes
globally.

(From OE-Core rev: 04a4ed1c509b0ef6af6d9ff53901c674ca402252)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
ed18e29bcf base: Use repr() for printing exceptions
Exceptions print more clearly using repr() instead of str(), fix
in fetch and unpack tasks.

Drop part of the test which no longer makes sense after this change.

(From OE-Core rev: c94816259cc1c09746353ad26ca0c811e0c962c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
2ef219407d base: Clean up unneeded len() calls
This code pattern isn't very pythonic, improve it to drop the unneeded
len() calls.

(From OE-Core rev: 69376ac1a6147b26fe1abaa4cf68414024814d63)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
188a6e5895 base/insane: Import oe.qa by default
(From OE-Core rev: 3b4ce5f69cd962cd219aa3c0e7a2de9096e2ecb8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Ross Burton
4a791f342f bitbake: fetch2: document checkstatus API
The checkstatus semantics are unconventional, so document them.

(Bitbake rev: efb949020215b580e7dc3694c377b18df2fd7e9c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 21:31:09 +01:00
Alexander Kanavin
fae4ba632b python3: update 3.9.7 -> 3.10.0
native and target 0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
replaced by native-only 0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
which is more reboust against upstream changes, and keeps target code unmodified.

This however necessitated adding 0001-sysconfig.py-use-platlibdir-also-for-purelib.patch
to avoid hardcoding 'lib' on target builds as libdir.

Drop chunk from 0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch as
upstream now uses sysconfig directly inside distutils.

Add 0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch and
0001-multiprocessing-disable-a-failing-test.patch to address ptest failures.

License-Update: copyright years, case corrections.

(From OE-Core rev: 72a75043a946f7db01d3ec04c8889e055f542cca)

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>
2021-10-14 11:57:38 +01:00
Pgowda
11df8c79a7 Fix rust-native build issue when debug is enabled
When DEBUG_BUILD is set for building rust-native, it generated
error as follows:-
=========================================================
Building : rustdoc, rustdoc-json-types
error[E0463]: can't find crate for `rustc_llvm`
which `rustc_driver` depends on
  --> src/librustdoc/lib.rs:37:1
   |
37 | extern crate rustc_driver;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
=========================================================
On analyzing the issue, it was found that rustc_llvm crate was present
at required path. However, it was very huge due to the presence of
debugging information. Hence, it was somehow not recognized as a valid
crate. The following patch removes the debug information from
rust-llvm-native which is built prior to rust-native but retains debug
information as required in rust-native binaries.

(From OE-Core rev: 7261a4b4d5778a48c8d72c9125233b1b0bc009e6)

Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:57:38 +01:00
Jose Quaresma
99ab2198e2 patch.bbclass: when the patch fails show more info on the fatal error
There are situations when the user have the 'patchdir' defined
as a parameter on SRC_URI. However he doesn't know that with this
the patch is applied relatively to the receipe source dir 'S'.

- When user have 'patchdir' defined check if this directory exist.
- If the patch fails show addition info to the user:
  - Import: show the striplevel
  - Resolver: show the expanded 'patchdir' to the user.

The next example is from opencv in meta-oe layer, here the
patch is applied on the target directory ${WORKDIR}/git/contrib.

S = "${WORKDIR}/git"
SRCREV_FORMAT = "opencv_contrib"
SRC_URI = "git://github.com/opencv/opencv.git;name=opencv \
           git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib \
           file://0001-sfm-link-with-Glog_LIBS.patch;patchdir=../contrib \
           "

* When the patch fail there are no message that indicates the real reason.
  patchdir=../no-found-on-file-system

ERROR: opencv-4.5.2-r0 do_patch: Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?

* The check of the patchdir will add a new fatal error
  when the user specifies a wrong path than don't exist.
  patchdir=../no-found-on-file-system

ERROR: opencv-4.5.2-r0 do_patch: Target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../no-found-on-file-system' not found, patchdir '../no-found-on-file-system' is incorrect in patch file '0001-sfm-link-with-Glog_LIBS.patch'

* When we can't aplly the patch but the patchdir exist,
  show the expanded patchdir on fatal error.
  patchdir=../git

ERROR: opencv-4.5.2-r0 do_patch: Applying patch '0001-sfm-link-with-Glog_LIBS.patch' on target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../git'
Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?

(From OE-Core rev: c44bc7c0fb8b7c2e44dd93607a3bfd9733e1df80)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:57:38 +01:00
Zoltán Böszörményi
7d3b5e8af3 libpam: Fix build with DISTRO_FEATURES usrmerge
(From OE-Core rev: 71780bb9ac3c9e096888128d9cf3441c1758d816)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
1c6080c4b7 python3-pytest: upgrade 6.2.4 -> 6.2.5
Drop pluggy-1.0 patch; fixed upstream

pytest 6.2.5 (2021-08-29)
  Trivial/Internal Changes
    #8494: Python 3.10 is now supported.
    #9040: Enable compatibility with pluggy 1.0 or later.

References:
  https://github.com/pytest-dev/pytest/pull/8494
  https://github.com/pytest-dev/pytest/pull/9040

(From OE-Core rev: cd83fa054d133eb2b189ad3f0a743cc72001e064)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
666cffcad2 libconvert-asn1-perl: upgrade 0.31 -> 0.33
0.33 -- Wed Sep 22 19:49:53 ADT 2021
  * Official CPAN release of 0.33

0.32 -- Tue Sep 21 18:45:20 ADT 2021
  * examples/x509decode: parameters are optional for AlgorithmIdentifier
    when using [ec]dsa algorithms
  * t/19issue14.t: issue with warnings
  * Fixes #44 Redundant argument in printf warning
  * examples/x509decode: fix prototype error
  * examples/ldap: fix asn1_dump not working

(From OE-Core rev: c43a57540eb7351fb096d85de72adbef467bfafd)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
e3c677a181 python3-zipp: upgrade 3.5.0 -> 3.6.0
v3.6.0
  #78: Only Path is exposed in the public API.

v3.5.1
  #77: Remove news file intended only for CPython.

References:
  https://github.com/jaraco/zipp/issues/78
  https://github.com/jaraco/zipp/issues/77

(From OE-Core rev: 682db790542212e921eb6d874c2915ac815ee9bd)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
cbc0b73b9b python3-more-itertools: upgrade 8.9.0 -> 8.10.0
8.10.0
  Changes to existing functions
    - The type stub for iter_except was improved (thanks to
      MarcinKonowalczyk)

  Other changes:
    - Type stubs now ship with the source release (thanks to
      saaketp)
    - The Sphinx docs were improved (thanks to MarcinKonowalczyk)

8.9.0
  New functions
    - interleave_evenly (thanks to mbugert)
    - repeat_each (thanks to FinalSh4re)
    - chunked_even (thanks to valtron)
    - map_if (thanks to sassbalint)
    - zip_broadcast (thanks to kalekundert)

  Changes to existing functions
    - The type stub for chunked was improved (thanks to
      PhilMacKay)
    - The type stubs for zip_equal and zip_offset were improved
      (thanks to maffoo)
    - Building Sphinx docs locally was improved (thanks to
      MarcinKonowalczyk)

(From OE-Core rev: 981014d7122270ceca961e7f88a2b6d1aa322361)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
83f6f5faea python3-importlib-metadata: upgrade 4.6.4 -> 4.8.1
v4.8.1
  #348: Restored support for EntryPoint access by item, deprecating
        support in the process. Users are advised to use direct member
        access instead of item-based access:

    - ep[0] -> ep.name
    - ep[1] -> ep.value
    - ep[2] -> ep.group
    - ep[:] -> ep.name, ep.value, ep.group

v4.8.0
  #337: Rewrote EntryPoint as a simple class, still immutable and
        still with the attributes, but without any expectation for
        namedtuple functionality such as _asdict.

v4.7.1
  #344: Fixed regression in packages_distributions when neither
        top-level.txt nor a files manifest is present.

v4.7.0
  #330: In packages_distributions, now infer top-level names from
        .files() when a top-level.txt (Setuptools-specific metadata)
        is not present.

References:
  https://github.com/python/importlib_metadata/issues/348
  https://github.com/python/importlib_metadata/issues/337
  https://github.com/python/importlib_metadata/issues/344
  https://github.com/python/importlib_metadata/issues/330

(From OE-Core rev: 21d72ace8f9486bd1b478e28d53da64087d790fa)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
6940a07131 python3-hypothesis: upgrade 6.15.0 -> 6.23.2
For changes, see:
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-23-2

(From OE-Core rev: b01db599d754f7fe654ae4edfc076333b54bbce5)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
a7f4e0572a epiphany: update 40.3 -> 41.0
Correct an option to use libsoup 3.

(From OE-Core rev: c86732e1add2e743d1bae0d1d6348b692e039439)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
bd370c38e2 webkitgtk: update 2.32.3 -> 2.34.0
(From OE-Core rev: 69208e6e5572858954a995cfdcb4c4404a22013c)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
4eabaefafa epiphany: trim down DEPENDS
(From OE-Core rev: 5a7300300e82abd4d635bb1fecf3f2ec4c96bfa3)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
3ccd23a0da webkitgtk: trim down DEPENDS
(From OE-Core rev: a5b6f978ef4aef6d484acc6e3c4558df7fec65d2)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
de296e2b2b libsoup: add a 3.x recipe
libsoup 2.x is still needed until all consumers update to 3.x.

(From OE-Core rev: 0038a5b3145d0b0b07c987742b6fb54f9edc9882)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
f5ed0980b3 nghttp2: add recipe from meta-oe
It is needed for latest libsoup.

(From OE-Core rev: 1ea50f0e11a30516ca0d5da03570b940cced34f2)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
6cddf1ff19 itstool: update 2.0.6 -> 2.0.7
(From OE-Core rev: 19743c855b5897993566c72e13cf79fbfbcee7ef)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
370041dca1 coreutils: update 8.32 -> 9.0
License-Update: copyright years

(From OE-Core rev: 07c303cd906e4e1d0c4d3ebb500b3baac06ca56e)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
0fbfcdf980 wget: update 1.21.1 -> 1.21.2
(From OE-Core rev: 3c57a4b0d3d2886c2e4f96d4f24a7b86bf04cfd7)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
90a03db51b sudo: update 1.9.7p2 -> 1.9.8p1
Drop specialhandling for mksig items; issue fixed upstream.

(From OE-Core rev: c5226a62fe90ff6b24d5063f1ecefd656b3494a3)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
266d5bdb10 libexif: update 0.6.22 -> 0.6.23
(From OE-Core rev: 65a54f72e15f59bdf9d8c4618f3ef8510541d134)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
12aa32c7e2 libdnf: update 0.63.1 -> 0.64.0
Drop patch merged upstream.

(From OE-Core rev: ea8562459425e54f5809ff00dba133ff7e30d2b5)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
e91ac346da bison: update 3.7.6 -> 3.8.1
Drop patch merged upstream.

(From OE-Core rev: 0f07360ebcab7e337c1cb9b9a7a844b102bd5e15)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
6e6507327a glib-networking: update 2.68.2 -> 2.70.0
(From OE-Core rev: adcbaadd9117e2bac68288c7e08547b39aa1ff8b)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
a8ff4b25c7 glib-2.0: update 2.68.4 -> 2.70.0
Internal copy of pcre is no longer provided.

(From OE-Core rev: e359ee75e67b72eeb73eddbc1bc46549e00dded5)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
1c3c69d100 ruby: disable openssl extension
It is incompatible with openssl 3 in currently released versions, and given
very marginal use of ruby in oe, I do not think not having it matters.

(From OE-Core rev: 7a477de350eaf7095745db81fb03e7ab20188f5a)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
6938cea87b serf: add a openssl 3 compatibility fix
(From OE-Core rev: 02a66905fa48402589e1799deed2a7f32896525a)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
5d98fcc934 cryptodev-tests: do not use -Werror with openssl 3
(From OE-Core rev: 8ffab3cc437d9c4f3cbd41e1a52db768d6fbe938)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
9a95f11100 openssl: update 1.1.1l -> 3.0.0
Drop 0001-skip-test_symbol_presence.patch - testing revealed
no need for it, and I couldn't quite understand what it does.

Drop reproducible.patch - upstream has removed the non-reproducible
bit.

Process lines in run-ptest with sed one by one rather than with
perl after the test completes, avoiding ptest-runner timeout errors.

License-Update: openssl relicense to apache 2.0. Goodbye awkward
gpl exceptions in consumers.

DEPRECATED_CRYPTO_FLAGS is now empty by default but available
by anyone who wants to set it. Trying to come up with a working
set was not a good idea as shown in the deleted comment.

(From OE-Core rev: f028a55383588d68c052f19f16d0f3f4d0560c57)

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>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
d6b563710e rust: generate target definitions from (arch, abi), not just arch
This allows to add the missing x32 definition and others in the future.

(From OE-Core rev: 79bd6389585327820dfc1a1d29f60779ef08b2e0)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
463bcb876e rust: do not write ar into target json definitions
latest rust does not use it and prints a ton of warnings
because of it.

(From OE-Core rev: 320f2c5aa535237fab4f4a1e6f75358f53221459)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
4abd6ee9d4 rust-common.bbclass: rewrite toolchain wrappers in (native) python
librsvg on centos 7 and friends exhibits the same libtinfo leakage
problem, this time coming from the compiler and not the linker.
Simply covering the compiler by the existing C wrapper-of-wrapper
does not work, as rust-native builds put Important Stuff into
LD_LIBRARY_PATH and unsetting it breaks things badly.

Rather than try to figure out which combination of wrappers and
LD_LIBRARY_PATH settings works for which situation, or provide
some kind of sh-native, let's simply use python3-native for the
wrappers, which should insulate builds from the the host shell.
rust-native already depends on python3-native, so this does not
lengthen the builds.

This also reverts:
rust-common: Hack around LD_LIBRARY_PATH issues on centos7
(commit 63b1fd2226).

I'd also like to say boo to Red Hat (or GNU?) for breaking ABI
compatibility for stat() in glibc 2.33, we ended up sorting
this mess because of it.

(From OE-Core rev: 997d54363a3cb3a0e949b3626855f2fa41afeb2b)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
bcab6dd34f rust/cargo: exclude UNINATIVE_LOADER from task signature
(From OE-Core rev: 8915dfa2034d939b504f134e83811ed2ba18a6f1)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
a6ea3e0217 gstreamer1.0-plugins-bad: disable rsvg on x32
librsvg throws:

| error[E0080]: erroneous constant used
|    --> /home/alex/development/poky/build-x32/tmp/work/x86_64_x32-poky-linux-gnux32/librsvg/2.52.0-r0/librsvg-2.52.0/vendor/thin-slice/src/lib.rs:111:25
|     |
| 111 |         } else if len < TAG_LIMIT {
|     |

(From OE-Core rev: 3ebf15d74cfd4ac3ee5f3afffd3532d9ef340208)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
01af095ce2 adwaita-icon-theme: update 3.34/38 -> 41.0
The original reason to pin the version (outdated librsvg)
no longer applies.

(From OE-Core rev: 354207b58e8511e0bf72f046142a1e150319fa74)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
4b2fa040eb librsvg: restore reproducibility
(From OE-Core rev: c6fbac3b1db14aa73b4161371dd49644f3cced74)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
b88709a5b9 librsvg: use only the target architecture to determine availability of atomic primitives
This eliminates the hardcoded list of rust targets which can't
possibly include everything from OE universe.

(From OE-Core rev: d59f69b136dceb490dbb1ca3c2f20e7ff3e28ad6)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
c7af21fd8b librsvg: add backports to fix big endian targets (e.g. mips)
(From OE-Core rev: 2fd0ad104b29473c8a1b0b5c173ab54c48994271)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
a83dc97c7b librsvg: do not enable nativesdk
rust is not currently available for nativesdk builds:

WARNING: Nothing PROVIDES 'nativesdk-libstd-rs' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-gnome/librsvg/librsvg_2.52.0.bb DEPENDS on or otherwise requires it). Close matches:
WARNING: Nothing PROVIDES 'virtual/nativesdk-x86_64-pokysdk-linux-rust' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-gnome/librsvg/librsvg_2.52.0.bb DEPENDS on or otherwise requires it). Close matches:

(From OE-Core rev: 67dd505c4292cc526da6bea2be5d5d2a497cd30c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
2ff9a053ac librsvg: update 2.40.21 -> 2.52.0 (transition to rust!)
After some poking and hacking I have arrived to the settings that work.
Please refer to the commit for details.

Some of these issues may re-occur in other components; in that case
we need to come up with more generic solutions or upstream fixes.

So far, it's a learning exercise for everybody in getting to know the rust toolchain.

(From OE-Core rev: e060ee5ea96f3c3903b8aa018a5a3af3c60e5ab3)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
5efebf3be0 rust: update 1.54.0 -> 1.55.0
(From OE-Core rev: a21705c33a6a69e9a625b8a75d76b76bd078aba2)

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>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
d91db6917f rust: drop PV from include file names
This complicates (semi) automated upgrades, and isn't necessary
as we carry only a single version of the toolchain.

(From OE-Core rev: f7a6b23d99fba5855cfb34788199877a14206293)

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>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
0e973d814b recipetool: Rework crunch_license to recognize more variants
(From OE-Core rev: 6c70f5bd2acd036c21be5b03df89d3a8f381a822)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
fe87ab0a6a npm: Use configs for npm environment and args for npm run command
Use parameter configs of class NpmEnvironment and parameter args of
function run to support a common npmrc for all run calls of a single
NpmEnvironment.

(From OE-Core rev: 6490de38ba9563181653ef223224de066faf9166)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
9f452b4831 npm: Add variable NPM_NODEDIR with default value
Replace the variable NPM_NODEDIR fallback to a default value inside the
code with a variable NPM_NODEDIR with default value.

(From OE-Core rev: f0a47afb43bd63b66c565ba3d084e20d6725495e)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
36965547e3 recipetool: npm: Use README as license fallback
Use the README as license fallback if a license file is missing. Use the
linenumbers parameter of get_license_md5sums function to determine the
license text inside the README.

(From OE-Core rev: eff85c86f36673a1cb5a5dc8c66598e0dc457374)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
4ca5b3fcb0 recipetool: npm: Do not add package.json files to LIC_FILES_CHKSUM
The package.json files doesn't contain any licenses. The name of the
license doesn't comply the license requirements of most liceneses.

(From OE-Core rev: 194df9c240378b6befeb10183889093ec7bb4d5f)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
aee9854734 recipetool: Add support for linenumbers to licenses.csv
Add support for linenumbers (begin and end lines) to licenses.csv. Add
an optional linenumbers parameter to get_license_md5sums to support
different use cases.

(From OE-Core rev: d5c4979669f125e73c24dcc73fa3c4f3787bbb62)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
bb54949b17 recipetool: Add logger info for missing license entries
(From OE-Core rev: 0548a5d8eeee682a6e250ddc1886279f52747db2)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
f0a43c39cb recipetool: ignore empty license files
(From OE-Core rev: a00720344d1996db9e4afff1c974b3158fb8dae7)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
d8655d3e15 recipetool: Change default paramter fallback_licenses of function split_pkg_licenses from None to []
(From OE-Core rev: ab06305bf9a8ee2250aae8043e37119df2fbfc15)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
f70715b54a recipetool: Skip common source files in guess_license
(From OE-Core rev: a930d39787dd77e10dfa7b7297af5fa04ca731ea)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
17798d21e0 recipetool: Move license md5sums into CSV files
(From OE-Core rev: 631f6b7d1856e0e4f2313703fa1162d05e5deea6)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
a4acb5472e npm: Add support for EXTRA_OENPM arguments
Add support for EXTRA_OENPM arguments to set node-gyp variables for
example. This allows use of shared librariess, avoid download
of external sources or build from source.

(From OE-Core rev: 9b22b50b77a5979934193e9affbe47a05d763777)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Petr Vorel
7a17e14be9 ltp: Update to 20210927
New patches to fix functionality:
* 0002-lib-fix-MemAvailable-parsing.patch
* 0003-lapi-rtnetlink.h-Fix-include-guards.patch
* 0004-lapi-Create-if_addr.h-and-reuse-it-in-rtnetlink.h.patch
* 0005-lapi-if_addr.h-Define-IFA_FLAGS.patch

Removed patch from this release
* 0001-syscalls-ioctl_ns05.c-ioctl_ns06.c-Fix-too-small-buf.patch

Rebased patch
* 0001-Remove-OOM-tests-from-runtest-mm.patch

* Updated copying (reduced files in 5eff445d4 ("Reduce LICENCE/COPYING files"))

* Updated removed musl incompatible files in
  remove_broken_musl_sources() (process.c was removed in 926d3b906
  ("sched: Remove process.c")), also update link to CI file.

[RP: Fixed Upstream-Status lines in patches]
(From OE-Core rev: c227daf3c40666ea8f2b28bd1006633f5efb4692)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:27:12 +01:00
Richard Purdie
04d9b25833 linux-yocto-dev: Ensure DEPENDS matches recent 5.14 kernel changes
DEPENDS here should match what 5.14 is using.

(From OE-Core rev: 899fd41723f41fe0a0cc24373c326b88cb385fe9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:22:18 +01:00
Ross Burton
c209cc58fe linux-yocto: add libmpc-native to DEPENDS
5.14 changed how the GCC plugins are built, which means they now
depend on both GMP and MPC to be built. We already depend on gmp-native,
so add libmpc-native aswell.

(From OE-Core rev: f242a6db0757b31c0d4eba5c362f616e1ace14d6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:22:18 +01:00
Andres Beltran
f3518bcdab buildhistory: Fix package output files for SDKs
Currently, installed packages are listed for images in image-info.txt, but
not for SDKs in sdk-info.txt. Add TOOLCHAIN_HOST_TASK and
TOOLCHAIN_TARGET_TASK to the output variables in sdk-info.txt.

Moreover, package output files for the SDK host are empty because
PKGDATA_DIR defaults to the target directory. Fix this bug and create a new
variable called PKGDATA_DIR_SDK which stores the correct path for the SDK
host package data.

(From OE-Core rev: 82e6172c1df378dff4e503aa878501c08937b5bb)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:22:18 +01:00
Mingli Yu
433201369e packagedata.py: silence a DeprecationWarning
Use regex strings (r’’) to silence below deprecation warning [1]:
 $ cat tmp/work/intel_x86_64-wrs-linux/linux-yocto/5.10.x+gitAUTOINC+917c420111_373c02c3ca-r0/temp/log.do_deploy
 [snip]
 /build/layers/oe-core/meta/lib/oe/packagedata.py:22: DeprecationWarning: invalid escape sequence \s
 r = re.compile("(^.+?):\s+(.*)")
 [snip]

[1] https://docs.python.org/3/library/re.html

(From OE-Core rev: b5b70cba70067466da5e94f69632a2a029203838)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Alexander Kanavin
97bce4f410 lttng-tools: replace ad hoc ptest fixup with upstream fixes
(From OE-Core rev: 87fd3080c86f6987e4403a2cb8263564f6e1ac4f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Alexander Kanavin
d97caeb6bb qemu: install qmp module without hardcoding the python version in oeqa scripts
(From OE-Core rev: 6d3f55ea8f7190e6825dc72424088658cbc0a13c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Richard Purdie
1670d22835 bootchart2: Don't compile python modules
"make install" may attempt to compile the python modules but it uses the host python
and host paths which means the binaries are not reproducbile. Make things consistent.
If anyone needs compiling, it will beed to be fixed to be cross compile compatible.

(From OE-Core rev: 1189f95e05c80286e009e1ab46a603ee5b7ca239)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Richard Purdie
134f8f5926 libnewt: Use python3targetconfig to fix reproducibility issue
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

(From OE-Core rev: 3fe5101b335384ef83e96ccc58687fd631164075)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Richard Purdie
90ef73e8de libxml2: Use python3targetconfig to fix reproducibility issue
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

(From OE-Core rev: 1bc5378db760963e2ad46542f2907dd6a592eb66)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Michael Opdenacker
12ca5f7209 devpyshell: rename to pydevshell
For consistency with "pydevshell" which is also used.
This addresses [YOCTO #14531]

(From OE-Core rev: 958133f4e97275d1f2c74a7e715c4506cca3582f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Andrej Valek
e89193298a busybox: 1.34.0 -> 1.34.1
- update to next stable version 1.34.1

(From OE-Core rev: 84c9bb0796aa4382cc08075ec2908aea81892f64)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
7f9d89a3a0 gst-examples: 1.18.4 -> 1.18.5
(From OE-Core rev: b1bddc80dc172563b7cd469a8de6b9db2e6ad985)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
b1654bb6a7 gst-devtools: 1.18.4 -> 1.18.5
(From OE-Core rev: fe1345f72e41fe0fd0a8c69ac8e7cb7551666fcb)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
b1374c1b6a gstreamer1.0-python: 1.18.4 -> 1.18.5
(From OE-Core rev: 3c68529eb99c74de5a30520261f62a5544be9b39)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
e5ba71e108 gstreamer1.0-omx: 1.18.4 -> 1.18.5
(From OE-Core rev: 65ed3c4e6c0fbade647ec31a6a77f06ed4e97e7a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
dddc48512c gstreamer1.0-vaapi: 1.18.4 -> 1.18.5
(From OE-Core rev: a46b9209b5f2f45b4206a7819e00c48795885093)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
566ab48990 gstreamer1.0-libav: 1.18.4 -> 1.18.5
(From OE-Core rev: 6a52088c1938c197d8e89e10d8e6622fa4b41465)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
028ff9216b gstreamer1.0-rtsp-server: 1.18.4 -> 1.18.5
(From OE-Core rev: 809db373816ed896048f551275589bac0f04ff92)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
78081332cb gstreamer1.0-plugins-ugly: 1.18.4 -> 1.18.5
(From OE-Core rev: 09373e8c33cd0c585e146b55d9f7680832f2ad09)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
8067f53602 gstreamer1.0-plugins-bad: 1.18.4 -> 1.18.5
(From OE-Core rev: 4e7789ecfdb1bd7afa6ff5be40f1d0e2a1a09e4c)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
d5f53a6619 gstreamer1.0-plugins-good: 1.18.4 -> 1.18.5
Drop backport patches:
    * 0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch

    * 0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch
      a1bf3d8d54

(From OE-Core rev: b51d46790e582556a7230a1fe8f67375e785cc43)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
53bbc43e79 gstreamer1.0-plugins-base: 1.18.4 -> 1.18.5
Drop backport patches:
    * 4ef5c91697a141fea7317aff7f0f28e5a861db99.patch

(From OE-Core rev: de0ee4323a19a27b6bcef7cc791d0373c311ef22)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
5847afb51d gstreamer1.0: 1.18.4 -> 1.18.5
(From OE-Core rev: d325f0d31bb1cbe889c7303ac2999c4dae391b34)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Alexandre Belloni
dae4a4e27a oeqa/selftest/sstatetests: fix typo ware -> were
(From OE-Core rev: c94a9ece226b1d2012f5ee966b81bf607d954937)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Khem Raj
2eb0630516 libseccomp: Upgrade to 2.5.2 and beyond
Forward port the rv32 port

(From OE-Core rev: 269133fed2854cdfe9c23a17a86fb1f1ea7e11cb)

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>
2021-10-11 18:41:39 +01:00
Sakib Sajal
ed32b9ebe9 go: upgrade 1.16.7 -> 1.16.8
(From OE-Core rev: 97a2f406635f51bad1ab070f018a6466209f257b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
c8262de33e ell: upgrade 0.43 -> 0.44
ver 0.44:
        Fix issue with allowing zero byte input for AEAD cipher.
        Fix issue with filling in DNS info in DHCP lease objects.
        Add support neighbor discovery utility helpers.

(From OE-Core rev: 1190b241d7b7ba815b34d63fabc0f5fc862d8837)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
a2a4d35239 dnf: upgrade 4.8.0 -> 4.9.0
(From OE-Core rev: 0bea76e84135cb5a0fb435f7115d1bcb47daefc0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
573b0ea55e createrepo-c: upgrade 0.17.4 -> 0.17.5
(From OE-Core rev: 9f10592a011a58e0d481b529cd6a337ab68152d6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
7563013456 bind: upgrade 9.16.20 -> 9.16.21
(From OE-Core rev: 10b4ba8f7e5ad0eb9e0b927a29a2dea5c1b23c21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
2655a2b75f acpid: upgrade 2.0.32 -> 2.0.33
(From OE-Core rev: 5289c6ab3352d396446df02de2dec580cb5873e8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
e736be6303 libinput: update to 1.19.0
(From OE-Core rev: 2e2d5fe3883e39b99860523133c56d8f37190ff6)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
97c6c742e2 xf86-input-libinput: update to 1.2.0
(From OE-Core rev: d9f9016b56134e71ea911cc9a068f993bd5348e9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Changhyeok Bae
76281dd2b5 ethtool: update to 5.14
(From OE-Core rev: f169ffde59fcf05d0ea14e0a67c0892f89fcda43)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
5db1de261f python3-setuptools: minor cleanup
(From OE-Core rev: 7c1525bfd7b56db5e78e5459e2e415799675a13c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
62ef53c4a9 python3-setuptools: update to 58.0.4
(From OE-Core rev: 0dbf98b2a23b1af3e017256be305817d9267028f)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
3cb0a9875f python3-dbusmock: update to 0.24.0
(From OE-Core rev: e1222dab5f4426e702d9cea05da51eff1d12c9fc)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
fbac587652 python3-git: update to 3.1.24
(From OE-Core rev: cf38a27efeac5b6bdee42f9f4c88867c250a0561)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
258c55368d python3: update to 3.9.7
(From OE-Core rev: 9612bb0639c13571e661f208aa7b28789953d9ec)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Khem Raj
310740aeb3 pkgconfig: Update to latest
Brings following change

  * d97db4f Update URL for bug reporting
  * eb866ad Spelling and grammar in pkg.m4
  * 1f81c80 Fix spelling of rra's name
  * 350515e Use https for developer.gnome.org URL
  * 834ecc2 Update bug reporting URL to point to gitlab
  * 38936b2 Call setlocale in main function
  * 2ad16fa pkg: Make ordering of output from print_package_list() deterministic
  * 2dd2b19 parse: Don't emit unknown keyword warning for Libs.private

(From OE-Core rev: fd621eefee1a4acaffa3754b76f8e14d2684ab3f)

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>
2021-10-11 18:41:38 +01:00
Denys Dmytriyenko
dbf8d2b538 wayland-protocols: upgrade 1.22 -> 1.23
wayland-protocols 1.23 is now available.

This release adds the new gesture "hold" to the pointer gesture protocol.

https://lists.freedesktop.org/archives/wayland-devel/2021-September/041979.html

(From OE-Core rev: e63debe73233df93089de65f599e335ffd7d38a8)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Pavel Zhukov
28e89f8ade weston: wrapper for weston modules argument
Due to custom option parser implementation weston accepts only one
argument of a given type. As the result if multiple modules add
multiple --modules agruments only last will be used. This fix
introduces wrapper around modules in terms of weston-init to prepare
proper modules argument for weston and adds systemd-notify module into
weston-init module to support Type=notify in systemd service file.

(From OE-Core rev: c8aa0222ce2be647911114aaebcbb0d55d7caf87)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
b0c788d7be python3-more-itertools: upgrade 8.8.0 -> 8.9.0
(From OE-Core rev: 665c8ee52a3d1c636a72df5668da397d9c636454)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
7aaa56b959 help2man: upgrade 1.48.4 -> 1.48.5
* Use @samp{} around the option in the menu description for "--help
     recommendations" to avoid rendering the -- as endash.
   * Update French translations
   * Update standards version to 4.6.0 (no changes).

(From OE-Core rev: acfb0bd59dfa14a84e3b2b57ddc0dbbe1b065707)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
d334181ac8 vulkan-tools: upgrade 1.2.182 -> 1.2.191
(From OE-Core rev: f8edaf76ad0231d8f41e9ea3f69a25ebeafe681f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
9511d9a08d vulkan-loader: upgrade 1.2.182 -> 1.2.191
(From OE-Core rev: db1c5c530fd1e0a26182a13ef26bd10e41c373b7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
b372f5dcc2 vulkan-headers: upgrade 1.2.182 -> 1.2.191
(From OE-Core rev: e79a68d26f3126c16290355de6e391c15a539a60)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Ralph Siemsen
45dace7e9f tar: filter CVEs using vendor name
Recently a number of CVEs have been logged against a nodejs project
called "node-tar". These appear as false positives against the GNU tar
being built by Yocto. Some of these have been manually excluded using
CVE_CHECK_WHITELIST.

To avoid this problem, use the vendor name (in addition to package name)
for filtering CVEs. The syntax for this is:
  CVE_PRODUCT = "vendor:package"
When not specified, the vendor defaults to "%" which matches anything.

(From OE-Core rev: 45d1a0bea0c628f84a00d641a4d323491988106f)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Maximilian Blenk
e325390b91 mount-copybind: add rootcontext mountoption for overlayfs
If selinux is enabled, the context of the mountpoint for overlayfs
needs to be specified manually via the rootcontext option. To this
end, the required context is determined using matchpathcon(1) and
passed via the rootcontext mount option.

Additionally, if the mount source directory is created by mount-copybind
it also needs to take care that the context of the directory is correct

(From OE-Core rev: 57f51e8c73ab9f55f20815a9459c3afad2b281e6)

Signed-off-by: Tobias Kaufmann <Tobias.KA.Kaufmann@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Tobias Kaufmann
e1d658ef11 mount-copybind: add SELinux support
bind mounts don't use the SELinux label of the target, but the SELinux
label of the source.

This patch restores the SELinux context of the bind mount recursively using
restorecon.

(From OE-Core rev: 6f3e231dc9bc11772573bf9683de9804460362d1)

Signed-off-by: Tobias Kaufmann <Tobias.KA.Kaufmann@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleh Matiusha
6c0a5594cc findutils: add ptest
Placed it in PTESTS_SLOW since it takes 36s to execute this ptest on qemu.

(From OE-Core rev: da489ef6e36711cb40d26f64f292fb92a0073f4a)

Signed-off-by: Oleh Matiusha <oleh.matiusha@globallogic.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
840a468553 harfbuzz: upgrade 2.9.0 -> 2.9.1
Final subset API is in place and if no issues are discovered,
it will be the stable subset API of HarfBuzz 3.0.0.
Old API is kept to ease transition, but will be removed in 3.0.0.
Various fuzzer-found bug fixes.
hb_buffer_append() now handles the pre- and post-context which
previously were left unchanged in the destination buffer.
hb-view / hb-shape now accept following new arguments:
--unicodes-before/after: takes a list of hex numbers that represent Unicode
codepoints.
Undeprecated API:
hb_set_invert()

(From OE-Core rev: 0a9d19f575fda7db2f768f77701a137da8f73a97)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
da55405f52 gzip: upgrade 1.10 -> 1.11
(From OE-Core rev: 67ee7aeaafcfdeeadcc3a7a33dd038de241b339f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Changhyeok Bae
0a71a22073 iproute2: update to 5.14.0
(From OE-Core rev: 6c5d37fd42f7ed53c293717d815b4e2ebc1aa3fc)

Signed-off-by: Changhyeok <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
6077252cf2 libhandy: update 1.2.3 -> 1.4.0
(From OE-Core rev: 1254ba120600a7edd8a88ee8a37900cbf66365ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
0f89346baa libssh2: update 1.9.0 -> 1.10.0
0001-configure-Conditionally-undefine-backend-m4-macro.patch no
longer needed; code removed upstream.

License-Update: copyright years
(From OE-Core rev: 6547e565cc1685eb4e42f61d88203cf743a06284)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
8bddba7249 libgit2: update 1.1.1 -> 1.2.0
License-Update: includes portions of openssl headers
0903cac1d0

(From OE-Core rev: 81a101332e7e59848165b06b734056a385e8cc3f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
7c6fb38d70 rt-tests: update 2.1 -> 2.2
(From OE-Core rev: dddc71a2060ebb5a73957becfcd3904d128608f5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
54bead59d9 libpam: update 1.5.1 -> 1.5.2
Drop patches: issues fixed upstream.

Move .pc files to correct place as libpam is instructed to install them in /lib via
--libdir.

(From OE-Core rev: b2aeaab36d7d46d47301d0729b634d182277cfbd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
094dcb2936 lsof: update 4.91 -> 4.94.0
Drop all custom sourcedir handling as the source is now a standard
git checkout.

(From OE-Core rev: 13965426b79e8c32f800a4317454321cfd2d06d1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
ce636119aa systemd: update 249.3 -> 249.4
(From OE-Core rev: 14c6e5a4b72d0e4665279158a0740dd1dc21f72f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexandre Belloni
9ccf0f47a9 inetutils: drop CVE-2021-40491 patch
This CVE is already fixed in inetutils 2.2

(From OE-Core rev: d0c64bd9aef5fa4bf60cac922b1d5e43652f7919)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
2d4bdfdff6 inetutils: update 2.1 -> 2.2
(From OE-Core rev: c5095396909e6b1450ba2020472b5eb7d14a4751)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
8bd18c0960 shaderc: update 2021.1 -> 2021.2
(From OE-Core rev: 82d3acd5bdc8821c07b754ae1abf49c544c4de19)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
3cc4bc6e0b glslang: update 11.5.0 -> 11.6.0
(From OE-Core rev: 15eeaa54c2b8c2c159cd3b4cb7db0b6f0ebb3630)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
c68cc9095b spirv-tools: update 2021.2 -> 2021.3
Drop 0001-fix-strncpy-bound-error.patch; issue fixed upstream.

Bump spirv-headers revision to avoid outdated headers causing
build errors.

(From OE-Core rev: b1a6ac721fba17afa09f4da6c0c01730228b129c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
c9690cc3c4 pinentry: update 1.1.1 -> 1.2.0
Rebase patches.

(From OE-Core rev: dbb0e50375a5720d38c966fc4c5810eea1ec0203)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
623a73cefd gnupg: update 2.3.1 -> 2.3.2
Drop chunk from relocate.patch, the upstream code no longer exists.

(From OE-Core rev: 8f268f981d53615d8ac9ee3ee64d840dc7051ced)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
8dfe2412da runqemu: correct vga-virtio option to keep virgl enabled
qemu 6.1 has (perhaps unintentionally) disabled virgl in -vga virtio:
https://gitlab.com/qemu-project/qemu/-/issues/586

(From OE-Core rev: 2c6c7f0ff24da7060cea35f8ff89f2cabd96f2fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
d87987fc1a qemu: update 6.0.0 -> 6.1.0
Recipe changes:
qemu-plugin.h is installed by both qemu-native and qemu-system-native

qmp.py module is now provided in a module directory (no other files
from that directory are necessary to use it though)

additional host-specific info is stripeed from ptest tests/tcg/*.mak

Patches:
drop all backports

drop 0001-Add-enable-disable-udev.patch (change added upstream)

drop 0001-linux-user-Tag-vsx-with-ieee128-fpbits.patch
(issue fixed upstream)

drop 0004-qemu-disable-Valgrind.patch (valgrind detection moved
from configure to meson, and should be robust against host contamination)

rebase 0010-configure-Add-pkg-config-handling-for-libgcrypt.patch
(upstream moved libgcrypt handling from configure to meson, and using
pkg-config is now a one-liner adjustment)

rebase cross.patch

(From OE-Core rev: b2710d25e3d8d79a35dbd4332ffc5cc8053d5eb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
4a4d5f78a6 package_rpm: use zstd instead of xz
zstd has similar time and space performance in compression but is
vastly faster in decompression, which benefits rootfs creation
(especially when installing very large packages) and on-target
package installation.

Also, ensure ZSTD_THREADS doesn't change sstate checksums. The
detailed explanation is in the commit making similar change for
XZ_THREADS.

(From OE-Core rev: e72c0b94554a9bc293844ec2bddb0c04ea19791d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
543e83e852 perl: do not build berkeley db module by default
Bdb is unmaintained and altogether obsolete, the less dependencies
we have on it, the better.

This leaves only apt (specifically, apt-ftparchive) in core as a bdb consumer,
sadly it has a hard dependency that isn't easy to patch out. Maybe apt
upstream will get to it at some point.

(From OE-Core rev: 0d9ca78951cfe98bfaaf426572c42dbbb6169cd6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
de8b04c9d3 libsolv: disable rpm bdb format support
Otherwise this causes runtime errors when only sqlite is present.

(From OE-Core rev: 190d9944383d525fa57a0fa9ac634480d50e56bb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
7aa703bf88 libdnf: fix the rpm sqlite-only target setup
(From OE-Core rev: 8bbbcf9f8db1112a08c89ed8ee76c8c65f1ea179)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
c3189b9efe rpm: update 4.16.1.3 -> 4.17.0
The flagship features are migration from bdb to sqlite and zstd support,
both are enabled and taken into use. The relationship and upstream preference
between sqlite and ndb formats isn't quite clear.

Lua is now a hard dependency.

Added packageconfig option for r/o support for bdb (that doesn't need bdb
itself), but not enabled it as upstream marks it EXPERIMENTAL in capital
letters.

Drop sed adjustment for a file that is not anymore installed.

Adjust oeqa test to check for sqlite database instead of bdb.

Drop
0001-Fix-build-with-musl-C-library.patch (nss support removed upstream)
0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch
(difficult to undersand and rebase; obsolete with the move to zstd)
0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch
(upstream made the same change)

Portions of 0001-tools-Add-error.h-for-non-glibc-case.patch dropped
(upstream moved the files to a separate component).

Added 0001-docs-do-not-build-manpages-requires-pandoc.patch to avoid
pandoc dependency.

Added 0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
to restore reproducibility when compression thread amount varies between hosts.

(From OE-Core rev: 6080fcf7e4f64faedd98ed26b65a3bc29ef08238)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
6500c74e62 lua: update 5.3.6 -> 5.4.3
Drop three backports and 0001-Allow-building-lua-without-readline-on-Linux.patch
(feature added upstream, adjust the recipe accordingly).

Adjust ar/ranlib flags for reproducibility on liblua.a.

License-Update: lines moved around, formatting
(From OE-Core rev: c2cad5ecfbbcee99b3cbe71efeeac9a875b6e5ff)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
5196cfbbf8 lua: add a recipe from meta-oe
Lua is a hard dependency in rpm 4.17.

(From OE-Core rev: b06a2ffb5ded807dbb30078d10740ec294732cad)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
801a17bfbe libcap: update 2.51 -> 2.54
Rebase patches.

Delete 0001-tests-do-not-statically-link-a-test.patch as centos
builds are now using their own buildtools.

(From OE-Core rev: ecadaa08956f53dfedee908a0344f512673b770b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
f33e81a643 meson: update 0.58.1 -> 0.59.1
Drop 0003-native_bindir.patch: it doesn't seem to actually define
anything where the use_native parameter is set to true.

Also, the issue should be solved without invasive, custom patching
of the code: via meson.cross, custom .pc files for the items in
question or some other configuration mechanism.

(From OE-Core rev: 191d6d1f614a78ef8496e4357d419c68d1e03170)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
wangmy
ba92cdc55f cmake: upgrade 3.21.1 -> 3.21.2
(From OE-Core rev: 6f39d593687e7b90be8f7fdc671c539c3d95a57b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Denys Dmytriyenko
64fcab97fc wayland-protocols: upgrade 1.21 -> 1.22
wayland-protocols 1.22 is now available.

This release includes a new staging protocol: DRM object leasing.

Besides that, various test and build system improvements are included, as
well as a set of clarifications to the xdg-activation protocol and other
protocols.

https://lists.freedesktop.org/archives/wayland-devel/2021-September/041972.html

(From OE-Core rev: 17c59e425148c3b9e8110c79442c7f3e0dea198a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
wangmy
3b4b8e5ca7 diffoscope: upgrade 181 -> 182
(From OE-Core rev: 0410d639bb1b54feddd790e7ac71fa949f7151d8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Richard Purdie
04b37f914e layer.conf: Extend recipes not to install without explict dependencies
There are several dependencies which recipes have which are not needed
at runtime, only at build time. Extend the list of these from bison to
include quilt, patch, meson, autoconf, automake and ninja which should
reduce the amount of data being included in native sysroots.

This speeds up and reduces the sstate needed for image builds for example.

If this change breaks recipes, it probably means they're missing an explicit
DEPENDS on something in this list which is a bug in the recipe.

(From OE-Core rev: 8e26252b45b7660c7c67c702411bdec187a76ffc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Richard Purdie
f6d1126fff build-appliance-image: Update to honister head revision
(From OE-Core rev: bb1dea6806f084364b6017db2567f438e805aef0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:06:51 +01:00
Richard Purdie
156767d3ed bitbake: bitbake: Bump to version 1.52.0
(Bitbake rev: c78ebac71ec976fdf27ea24767057882870f5c60)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:06:18 +01:00
Richard Purdie
8b66613ad3 build-appliance-image: Update to honister head revision
(From OE-Core rev: b3c387547c8b73ef134e6665e18bd4724d943133)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:04:32 +01:00
Richard Purdie
fafe050714 poky.conf: Bump version for 3.4 honister release
(From meta-yocto rev: fc8c4b3b6bb0798edd4ac32c3c19a553a15b5749)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:03:45 +01:00
Richard Purdie
02bc1b422b bitbake: hashserv: Improve behaviour for better determinism/sstate reuse
We have a choice of policy with hashequivalence - whether to reduce
sstate duplication in the sstate feed to a minimum or have maximal
sstate reuse from the user's perspective.

The challenge is that non-matching outhashes are generated due to
determinism issues, or due to differences in host gcc version,
architecture and so on and the question is how to reconcile then.

The approach before this patch is that any new match is added and
matches can update. This has the side effect that a queried value
from the server can change due to the replacement and you may not
always get the same value from the server. With the client side
caching bitbake has, this can be suboptimal and when using the
autobuilder sstate feed, it results in poor artefact reuse.

This patch switches to the other possible behaviour, once a hash is
assigned, it doesn't change. This means some sstate artefacts may be
duplicated but dependency chains aren't invalidated which I suspect
may give better overall performance.

Update the tests to match the new behaviour.

(Bitbake rev: 20d6ac753efa364349100cdc863e5eabec8e5b78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:00:06 +01:00
Joshua Watt
c7c47bb0d2 bitbake: hashserv: Fix diverging report race condition
Fixes the hashequivalence server to resolve the diverging report race
error. This error occurs when the same task(hash) is run simultaneous on
two different builders, and then the results are reported back but the
hashes diverge (e.g. have different outhashes), and one outhash is
equivalent to a hash and another is not. If taskhash was not originally
in the database, the client will fallback to using the taskhash as the
suggested unihash and the server will see reports come in like:

    taskhash: A
    unihash: A
    outhash: B

    taskhash: C
    unihash: C
    outhash: B

    taskhash: C
    unihash: C
    outhash: D

Note that the second and third reports are the same taskhash, with
diverging outhashes.

Taskhash C should be equivalent to taskhash (and unihash) A because they
share an outhash B, but the server would not do this when tasks were
reported in the order shown.

It became clear while trying to fix this that single large table to
store all reported hashes was going to make these updates difficult
since updating the unihash of all entries would be complex and time
consuming. Instead, it makes more sense to split apart the database into
two tables: One that maps taskhashes to unihashes and one that maps
outhashes to taskhashes. This should hopefully improve the parsing query
times as well since they only care about the taskhashes to unihashes
table, at the cost of more complex INNER JOIN queries on the lesser used
API.

Note this change does delete existing hash equivlance data and starts a
new database table rather than converting existing data.

(Bitbake rev: dff5a17558e2476064e85f35bad1fd65fec23600)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:00:06 +01:00
Joshua Watt
ecb11a6848 bitbake: hashserv: Add tests for diverging reports
(Bitbake rev: 953c8d622c9d1bc1eb06bcaf1eaa3aa9f85d0bc2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:00:06 +01:00
Joshua Watt
cac6facc9d bitbake: async: Close sync client event loop
Prevents `ResourceWarning: unclosed event loop` warnings when using the
synchronous client and python exits

(Bitbake rev: 8b95972bc04ce52a98c7780184af15a5e95f987b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:00:06 +01:00
Tim Orling
baa7f7f62f ptest-runner: install -collect-system-data script
When ptest-runner times out or otherwise fails, it tries to
call ptest-runner-collect-system-data, so install the script.

The script currently calls dmesg, df, free (which are provided
by busybox, etc.) and pstree (which is a sub-package of psmisc).

Add pstree as an RDEPENDS.

(From OE-Core rev: 4e6be3fb521b23cfc175d0c09725bcc3ebbc73b2)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-09 17:21:47 +01:00
Fred Liu
99f50e7762 glibc: Drop libcidn package
libcidn has been dropped since glibc 2.28

(From OE-Core rev: cf83790728ad569af01300f793754c0108c78b4e)

Signed-off-by: Fred Liu <yclw3d2y@live.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-09 17:21:47 +01:00
Changqing Li
d70364fd35 lttng-ust: fix do_compile failure for arm32 with DEBUG_BUILD enabled
After upgrade to 2.13.0, for arm32, with DEBUG_BUILD enabled, lttng-ust
build failed with error:
| /path/to/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/11.2.0/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `_uatomic_link_error'
| collect2: error: ld returned 1 exit status
| Makefile:399: recipe for target 'test_ust_error' failed
| make[3]: *** [test_ust_error] Error 1

The problem has reported to upstream, and upstream suggests to use
-DUATOMIC_NO_LINK_ERROR for the failure case, refer [1].

[1]https://lists.lttng.org/pipermail/lttng-dev/2021-September/030056.html

(From OE-Core rev: 722d58bccd5616b3b3364845bbf1121d3cc0c3cd)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-09 17:21:47 +01:00
Richard Purdie
966f805ff0 poky.conf: Update tested distros list with recent changes
(From meta-yocto rev: 4b923df6cb2858864c351fa1fd862547d5ad00c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:23:39 +01:00
Michael Opdenacker
96594eb948 dev-manual: warn about license compliance issues when static libraries are used
This partly addresses [YOCTO #14407]

(From yocto-docs rev: 444ca8900e8057562d2a71a77e6e6798aca3ce85)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:25 +01:00
Michael Opdenacker
6118a0510a dev-manual: correct NO_GENERIC_LICENSE section title
(From yocto-docs rev: 522841b4715295c6f399fc5affe2ade128d139ae)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-By: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:25 +01:00
Michael Opdenacker
e467ddd9e2 overview-manual: simplify expression
(From yocto-docs rev: ea1e5d4214f30927119f0124ee8a80a558601161)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
c46317a30e dev-manual: remove errant /
(From yocto-docs rev: 5a10c78c574eae48f50f5c912fd6534bdf99f71c)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
0638b77576 documentation: use YOCTO_DL_URL
(From yocto-docs rev: e3ad609d9fce8d6729bf6cb553993bddba1785ae)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
58645b0586 documentation: replace http with https for URLs
https has been the preferred way to access websites for many years now.
Change all of the URLs with a _working_ https server/certificate to use
that URL.

(From yocto-docs rev: c77868c780df94356d5f21453f80ace073fade9b)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
8c5c32619a manuals: introduce 'yocto_sstate' extlink
(From yocto-docs rev: f428c8d3bb12bfdb2b2afb03e0e6b80e28fd0e62)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
6910fceb7a docs: add "make all" to build old types of docs (html, epub, pdf) at once
(From yocto-docs rev: 8ce6aa0d4c0985e187464c7578662ff7581bc9ce)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
9c70174e5c overview-manual: SVG diagram for the git workflow
Set in full-width mode to make it ready in PDF
and EPUB outputs.

(From yocto-docs rev: 394c7c26c6591153670c67740d9a64f54725321b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
858a9af30f conf.py: use PNG first in EPUB output
SVG directly included in EPUB output has multiple issues,
in particular font size and alignment ones (tested on two
EPUB readers). Instead, using PNG, generated from SVG when available
as the primary format for images. GIF and JPEG are fine too.

(From yocto-docs rev: ff3876ca4910cf61bc25bfeb07e65ad6f6a93b48)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
bca3caeaea Makefile: allow epub and latexpdf outputs to use diagrams from SVG sources
html output is great when directly using SVG
epub output has to use exported PNG because of issues using SVG directly
latexpdf output cannot use SVG, it needs exported PDF instead

This adds rules to generate PNG and PDF formats from new SVG sources.

Newly added diagrams have be stored in svg/ subdirectories
so that PNG and PDF files generated from SVG can be "gitignored"
without ignoring the original PNG diagrams that have no SVG source.

Note: had to remove the dependency to "Makefile" in the final "catch-all" target,
otherwise it was also catching the SVG to PNG and SVG to PDF targets.

(From yocto-docs rev: cd9bbd41d323bc124057396f142010509c65bbaf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
33ea53f00d manuals: replace "apt-get" by "apt"
Modern Debian based distros (such as Ubuntu) now
use "apt" instead of "apt-get"

Also make sure "apt" is invoked with root privileges (mandatory)

(From yocto-docs rev: 380ef2474f3ecc2bce83f11cd838d054bef56d22)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
4ca20be7fe documentation: update sources mirror URL
The URL for the sources mirror no longer works.  Update to the new
location.

(From yocto-docs rev: 616c326437c03d7f4530168c4c9d6ef50743952e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
60b02e9daa ref-manual: document DEBUG_PREFIX_MAP
Fixes [YOCTO #14433]

(From yocto-docs rev: 23eb07c26044d06bc51c757bf1b0a53b1b357dc8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
f7a8e145e9 manuals: font fixes
This fixes font inconsistencies, mixing a ``text`` string
with another string with the regular font, where the whole string
makes more sense with a single font.

The result is also much simpler and will make future
searches easier.

(From yocto-docs rev: e6d1c166a97a1b6bb42ca49dfcbd3d39f8eadc16)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
2e78ec95be bitbake: bitbake: replace http with https for URLs
https has been the preferred way to access websites for many years now.
Change all of the URLs with a _working_ https server/certificate to use
that URL.

(Bitbake rev: da543cdaf88a387675e25d3555765f1146e4105e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 17:04:59 +01:00
Jon Mason
fd232ab906 yocto-bsp/poky: replace http with https for URLs
https has been the preferred way to access websites for many years now.
Change all of the URLs with a _working_ https server/certificate to use
that URL.

(From meta-yocto rev: 89de71da1c1e46d42a5c786bcac76462aa9c31e0)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:38 +01:00
Jon Mason
fab7f4355e bitbake: bitbake:toaster:test: Update SSTATE URL
(Bitbake rev: b3c0dbddd7eb3c87e3989977d7640f09b49a460b)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:06 +01:00
Richard Purdie
a9fbdd9b24 bitbake: bitbake-worker: Handle pseudo shutdown in Ctrl+C case
If the build is interrupted, handle the shutdown of pseudo even in this
case to avoid data corruption inside docker containers.

[YOCTO #14555]

(Bitbake rev: a2a04c6fe94bc56efcff299c669a151746e35916)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:06 +01:00
Richard Purdie
0f939ecaf8 bitbake: knotty/uihelper: Show setscene task progress in summary output
With the changes to task accounting, bitbake doesn't show progress
when executing setscene tasks on the summary console output.

Change to show a progress within the setscene tasks and a progress
within the main tasks. I can't see any way to display this more easily
without confusing users.

[YOCTO #14586]

(Bitbake rev: 0244acb968eb593d2ad7bc6e52f222c2b1d39aa9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:06 +01:00
Stefan Herbrechtsmeier
fb437d6db1 bitbake: fetch2: npmsw: Add support for local tarball and link sources
(Bitbake rev: 4f983dc419a1a6f635a5d333f253d49244cec374)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:06 +01:00
Stefan Herbrechtsmeier
00f2b6d0b7 bitbake: fetch2: npm: Create config npmrc in environment instantiation
Create a configuration npmrc per npm environment to avoid repeated
creation of the same configuration file. Create the file via python to
avoid multiple npm config calls and add the ability to pass a file
path instead of a temporary file.

Deprecate the npm configs argument of the run function. The configs
should be passed to npm environment or as command specific arguments.

(Bitbake rev: 2c2df49b06a2bad7a5b8872a9998338a4660498f)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Stefan Herbrechtsmeier
d2d40e7332 bitbake: fetch2: npm: Support npm archives with missing search directory mode
Delay directory restore and set execute/search directory mode bits in
unpack to support npm archives with a missing search directory mode.

(Bitbake rev: 60cbd34d3da8f0f523281aad7eec93eec9cd4db8)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Ross Burton
c3b3d7c14f bitbake: fetch2/gitsm: remove the 'nugget' SRCREV caching
The cached revisions which are used to decide if a repository doesn't
need to be updated are misleading when used in conjunction with mirror
tarballs and can cause partial fetches to happen, resulting in unpack
errors as repositories were not fetched.

A concrete example: edk2-firmware in meta-arm is at version 202102
(ef91b0). This is built on the autobuilder so the source mirror contains
the repository as a mirror tarball.  If I build edk2-firmware 202102 the
gitsm fetcher will initially download the top-level repository and then
iterate into the submodules to also fetch those repositories, including
cmocka from cryptomilk.org.  edk2-firmware will then unpack and build
successfully.

I then update edk2-firmware to 202105 (e1999b) and build it.
Gitsm.needs_update() starts by calling Git.needs_update() which returns
False, as the mirror tarball contains this revision. It then looks at
the "nuggets" which are SRCREVs it has fetched before.  The mirror
tarball itself contains the nugget for e1999b as this has been built on
the autobuilder, so needs_update return False, no more fetching is done,
and the build proceeds to unpack.

However, as part of the 202105 upgrade the URL of the cmocka submodule
changed, and this new repository was never fetched. This means that
unpack fails as one of the required git repositories isn't available.

The nugget codepaths appear to be an attempt at optimising the fetch
process, but have demonstratable failure cases.  Just removing them
entirely solves the edk2-firmware example, and all of the fetcher test
cases still pass.

(Bitbake rev: 51212507ce3f670ace9efb691c92887d66f7aaf8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Ross Burton
07996f492b bitbake: fetch2: clarify the command-no-found error message
If runfetchcmd() fails with bb.process.NotFoundError, the message output
is simply "Fetch command" which doesn't really explain what the problem
is.

Add "not found" to clarify what happened.

(Bitbake rev: 8de9dc02ed6a73b47f2ab10be30d1aed7954bc72)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Ross Burton
c1e7369af1 bitbake: tests/fetch: prefix the FetcherTest temporary directory
Set a prefix so the temporary directories are identifable.

(Bitbake rev: c3440b82cbe9c317f9961d61e12ea37fc9541ce0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Ross Burton
cf9cc196dc bitbake: tests/utils: mark a regex as a raw string
Avoids a warning from Python as \s isn't a valid escape.

(Bitbake rev: be39c2e926beebe78030fbe26c6737f08f960fcb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Alejandro Hernandez Samaniego
1c0c82f8ba baremetal-image: Fix do_image dependencies
Commit 282d596b8 added a fix for image.bbclass related to QEMU
dependencies, such fix made the older logic borrowed from
image.bbclass incompatible.

Update the dependency logic to reflect new changes, we no longer
need to add the do_addto_recipe_sysroot dependency specifically.

(From OE-Core rev: 4663f06c81285aeab8e8d33ec5338d7854b9dd9f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:44:00 +01:00
Jon Mason
37258c4567 oeqa/manual: Fix no longer valid URLs
autobuilder.yoctoproject.org URLS no longer work.  Update them to a
working location.

(From OE-Core rev: 56f7bac1f0d1ced41e6908706be27149aa7b87e2)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Richard Purdie
6fdceeab20 multilib: Avoid sysroot race issues when multilib enabled
Multilib changes RECIPE_SYSROOT which can make the value in PSEUDO_IGNORE_PATHS
incorrect. Add the correct value, which fixes races over files in the sysroot.

[YOCTO #14581]

(From OE-Core rev: 64003e5e1b51c0cd561681b1ac13293546b8182b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Richard Purdie
f5e1c084d7 abi_version/sstate: Bump to fix rpm corruption issues
(From OE-Core rev: 14feca0dc781f8e9003f70f317b63b242dc579b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Richard Purdie
d441b484eb rpm: Deterministically set vendor macro entry
On an aarch64 build host, vendor is found to be "unknown", on x86 systems
it is "pc". This filters through to the PLATFORM tag in target rpms.

We saw reproducibility test failures where the PLATFORM tags in noarch
rpms were changing depending upon which host built them. Forcing the
vendor value to a consistent one makes things deterministic.

(From OE-Core rev: f6434075b2bdfc23c683d22281b674b1e6abde77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Richard Purdie
58c9790293 sstatesig: Only apply group/other permissions to pseudo files
We hardlink some files into the build, such as licence files in
do_populate_lic tasks. Depending on the umask that the source tree
was checked out with, the group permissions would vary. This
results in inconsistent task outhashes.

Avoid this by ignoring the group/other bits unless we're under
pseudo context.

Bump the ABI numbers to ensure we don't see cache corruption from
earlier builds.

(From OE-Core rev: 2bd9c806de7e5197168360e3bd1d223a04a92291)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Daiane Angolini
a56aad137b machine/qemuarm*: Fix UBOOT_MACHINE value
(From OE-Core rev: e212473e698bee64fd710948c59392398d0c9a58)

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:35 +01:00
Andrei Gherzan
eb77788769 qemu: Define libnfs PACKAGECONFIG
The upstream qemu recipe uses host's pkg-config files as a solution to
detecting host's SDL. This has a side effect of using other host
libraries that are later queried by the configure script. This can get
into a situation when the host provides libnfs (for example) and because
later this dependency is not in place anymore, qemu will fail at
runtime.

This change adds a PACKAGECONFIG definition for libnfs that is disabled
by default, in turn disabling the pkgconfig autodetection in configure.

(From OE-Core rev: 42b364a25fdbc987c85dd46b8427045033924d99)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
f35d0fac9b linux-yocto/5.14: revert: scripts/gcc-plugins: consistently use HOSTCC
The previously picked up gcc-plugins script wasn't correct and has
been retracted upstream. We do the same in our 5.14 kernel:

    c4def465fc44 Revert "scripts/gcc-plugins: consistently use HOSTCC"

(From OE-Core rev: ed725fb0f27c867fa5a17a28c9ec4e21ce44867a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
7cc512559b kernel-yocto: don't apply config metadata patches twice
(From OE-Core rev: 0b88ed0af350c609ce8075e7d89ca7db91486858)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
b30b97b571 linux-yocto/5.14: update to v5.14.9
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    70248e7b378b Linux 5.14.9
    f6fceb4e9ce6 usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval
    007574d6ac26 usb: gadget: f_uac2: Add missing companion descriptor for feedback EP
    d401d7d2f5c8 nvmet: fix a width vs precision bug in nvmet_subsys_attr_serial_show()
    958c616efce3 qnx4: work around gcc false positive warning bug
    f67f85ec19fa xen/balloon: fix balloon kthread freezing
    8ea750370cd6 software node: balance refcount for managed software nodes
    62a27861b4ea USB: serial: cp210x: fix dropped characters with CP2102
    7b389ef53115 arm64: add MTE supported check to thread switching and syscall entry/exit
    338db6ec41ca irqchip/armada-370-xp: Fix ack/eoi breakage
    8467f200fd38 thermal/drivers/int340x: Do not set a wrong tcc offset on resume
    fe5eaf1cdf9c x86/setup: Call early_reserve_memory() earlier
    5111b05125bd EDAC/dmc520: Assign the proper type to dimm->edac_mode
    845350d4e34b EDAC/synopsys: Fix wrong value type assignment for edac_mode
    ef8eac0c61d7 Revert drm/vc4 hdmi runtime PM changes
    8aef50b390c4 libperf evsel: Make use of FD robust.
    5f35f78ead51 spi: Fix tegra20 build with CONFIG_PM=n
    9367a8fbd9d9 net: 6pack: Fix tx timeout and slot time
    501b0fa2f7f2 alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
    95d6bf1d19fd arm64: Mark __stack_chk_guard as __ro_after_init
    28f2eee9fc03 amd/display: enable panel orientation quirks
    fca67e1c4b8c drm/amd/display: Link training retry fix for abort case
    76438685048a drm/amd/display: Fix unstable HPCP compliance on Chrome Barcelo
    b58ffd21ec45 drm/amdkfd: make needs_pcie_atomics FW-version dependent
    47c6e796abe4 parisc: Use absolute_pointer() to define PAGE0
    01452e3c727e qnx4: avoid stringop-overread errors
    dd24b4ba2d8d sparc: avoid stringop-overread errors
    32f93161620a net: i825xx: Use absolute_pointer for memcpy from fixed memory location
    eb136917b022 compiler.h: Introduce absolute_pointer macro
    7c2c69e01043 blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd
    a5067abc52ef block: flush the integrity workqueue in blk_integrity_unregister
    282aed19c590 block: check if a profile is actually registered in blk_integrity_unregister
    e7f8b507fe58 drm/ttm: fix type mismatch error on sparc64
    2b60676ac850 amd/display: downgrade validation failure log level
    5780971d7dbd sparc32: page align size in arch_dma_alloc
    d268a182c56e nvme-rdma: destroy cm id before destroy qp to avoid use after free
    e0b9644a4903 nvme-multipath: fix ANA state updates when a namespace is not present
    922fd5b6bb13 xen/balloon: use a kernel thread instead a workqueue
    b5fe7cdfee59 bpf: Add oversize check before call kvcalloc()
    ded7d5c44d8a cpufreq: intel_pstate: Override parameters if HWP forced by BIOS
    de4afec2d294 dma-debug: prevent an error message from causing runtime problems
    4a23ae2c6a60 ipv6: delay fib6_sernum increase in fib6_add
    88ad6f3803ca m68k: Double cast io functions to unsigned long
    5cee359945e0 blk-mq: avoid to iterate over stale request
    cde9ad77f20b net: stmmac: allow CSR clock of 300MHz
    4ad6f2d23b0f net: macb: fix use after free on rmmod
    b7646fadde06 net: phylink: Update SFP selected interface on advertising changes
    a5f8e8619261 blktrace: Fix uaf in blk_trace access after removing by sysfs
    2f6caa538735 io_uring: don't punt files update to io-wq unconditionally
    05ac8e4c8aec io_uring: put provided buffer meta data under memcg accounting
    24d38dcce407 io_uring: fix missing set of EPOLLONESHOT for CQ ring overflow
    4e81f12cc00c io_uring: fix race between poll completion and cancel_hash insertion
    6724710fd8d4 x86/asm: Fix SETZ size enqcmds() build failure
    a46d5e3603bd md: fix a lock order reversal in md_alloc
    e0c1c2e5da19 irqchip/gic-v3-its: Fix potential VPE leak on error
    546886700105 irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build
    329cb72b3241 scsi: lpfc: Use correct scnprintf() limit
    f56250ae28af scsi: qla2xxx: Restore initiator in dual mode
    e607120e15b0 scsi: ufs: core: Unbreak the reset handler
    1d65bff00936 scsi: ufs: Retry aborted SCSI commands instead of completing these successfully
    4368d7a1aa0f scsi: ufs: Revert "Utilize Transfer Request List Completion Notification Register"
    1fc9119eda5b scsi: sd_zbc: Support disks with more than 2**32 logical blocks
    309c4b00c687 cifs: fix a sign extension bug
    a5024c719888 thermal/core: Potential buffer overflow in thermal_build_list_of_policies()
    ed1e0252111b nvme: keep ctrl->namespaces ordered
    08a14a654f4f nvme-tcp: fix incorrect h2cdata pdu offset accounting
    8cd1ae341b22 x86/fault: Fix wrong signal when vsyscall fails with pkey
    bfacc1de136d fpga: machxo2-spi: Fix missing error code in machxo2_write_complete()
    674fd6adbfbf fpga: machxo2-spi: Return an error on failure
    0ee0fbc2a3c0 tty: synclink_gt: rename a conflicting function name
    8cbf9ac9941f scsi: target: Fix the pgr/alua_support_store functions
    0c1b2c0d1c1e scsi: iscsi: Adjust iface sysfs attr detection
    c7da1781a6ad drm/amdkfd: fix dma mapping leaking warning
    bb8078d3a778 drm/amdkfd: map SVM range with correct access permission
    80ec71bd37d4 atlantic: Fix issue in the pm resume flow.
    d0a3a062c91f net/mlx4_en: Don't allow aRFS for encapsulated packets
    6909a55ce459 net: mscc: ocelot: fix forwarding from BLOCKING ports remaining enabled
    6081c82c2ff8 net: ethernet: mtk_eth_soc: avoid creating duplicate offload entries
    339440b11728 nfc: st-nci: Add SPI ID matching DT compatible
    741760fa6252 nexthop: Fix memory leaks in nexthop notification chain listeners
    f8ff625a8082 mptcp: ensure tx skbs always have the MPTCP ext
    3d6374d5c386 qed: rdma - don't wait for resources under hw error recovery flow
    18eab899f43f gpio: uniphier: Fix void functions to remove return value
    26c204fbdbc5 gpiolib: acpi: Make set-debounce-timeout failures non fatal
    9b00fb12cdc9 s390/qeth: fix NULL deref in qeth_clear_working_pool_list()
    b9fc4ed7520a spi: Revert modalias changes
    9839bb2b0e83 kselftest/arm64: signal: Skip tests if required features are missing
    6407eb6692fe kselftest/arm64: signal: Add SVE to the set of features we can check for
    d12feda3daf7 platform/x86: dell: fix DELL_WMI_PRIVACY dependencies & build error
    5e95328ad0cd net: dsa: realtek: register the MDIO bus under devres
    880ee7cf0f02 net: dsa: don't allocate the slave_mii_bus using devres
    e15b7001ce5e net: dsa: fix dsa_tree_setup error path
    79816b227dab net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work
    edb96e602d84 net/smc: add missing error check in smc_clc_prfx_set()
    1791e8eef88a net: hns3: fix a return value error in hclge_get_reset_status()
    18d1e07be773 net: hns3: check vlan id before using it
    3d4b460aeb83 net: hns3: check queue id range before using
    fa6126e4eda4 net: hns3: fix misuse vf id and vport id in some logs
    faf83d55e293 net: hns3: fix inconsistent vf id print
    6a627ccb2ce9 net: hns3: fix change RSS 'hfunc' ineffective issue
    fab9a160ef76 bnxt_en: Fix TX timeout when TX ring size is set to the smallest
    ce6c8a9246ad napi: fix race inside napi_enable
    d9448073ee71 net: bgmac-bcma: handle deferred probe error due to mac-address
    1e3d85f911f8 net: dsa: tear down devlink port regions when tearing down the devlink port on error
    135c541dee18 enetc: Fix uninitialized struct dim_sample field usage
    6f329d9da2a5 enetc: Fix illegal access when reading affinity_hint
    f020bb63b5d2 virtio-net: fix pages leaking when building skb in big mode
    9a5ba85e8dce NLM: Fix svcxdr_encode_owner()
    2f95dd831be0 regulator: max14577: Revert "regulator: max14577: Add proper module aliases strings"
    50cb50a99fae platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
    fa3aac2b4386 afs: Fix updating of i_blocks on file/dir extension
    e66fc460d6dc afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server
    95671c6c6374 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation
    d130b5fdd422 afs: Fix page leak
    7f797c79fccd regulator: qcom-rpmh-regulator: fix pm8009-1 ldo7 resource name
    f217b6c1e28e comedi: Fix memory leak in compat_insnlist()
    b032354df6ed arm64: Mitigate MTE issues with str{n}cmp()
    0375ec7559ba arm64: Restore forced disabling of KPTI on ThunderX
    eda7a025a580 platform/x86: amd-pmc: Increase the response register timeout
    449d6043c81d net: hso: fix muxed tty registration
    06a18e64256f drm/amd/pm: Update intermediate power state for SI
    d7ee7ccdc786 scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE
    21907692fbf3 serial: mvebu-uart: fix driver's tx_empty callback
    590e6c408e30 serial: 8250: 8250_omap: Fix RX_LVL register offset
    807ac762afee xhci: Set HCD flag to defer primary roothub registration
    f8f91342dc0e btrfs: prevent __btrfs_dump_space_info() to underflow its free space
    e9d32ec26e7f nexthop: Fix division by zero while replacing a resilient group
    e1854b6cad5f erofs: fix up erofs_lookup tracepoint
    336dabf99386 KVM: rseq: Update rseq when processing NOTIFY_RESUME on xfer to KVM guest
    9fc198f415de mcb: fix error handling in mcb_alloc_bus()
    9dfda47040e1 misc: genwqe: Fixes DMA mask setting
    3e9a41195afe misc: bcm-vk: fix tty registration race
    e50c102f362e USB: serial: option: add device id for Foxconn T99W265
    924956f203db USB: serial: option: remove duplicate USB device ID
    4bb92efc9bd5 USB: serial: option: add Telit LN920 compositions
    8db009cb6655 USB: serial: mos7840: remove duplicated 0xac24 device ID
    e9ce1992a338 usb: core: hcd: Add support for deferring roothub registration
    0fff3d5cd436 usb: cdns3: fix race condition before setting doorbell
    41d5aff380c0 usb: dwc3: core: balance phy init and exit
    c9f0252e4508 Re-enable UAS for LaCie Rugged USB3-FW with fk quirk
    b55704091500 usb: isp1760: do not sleep in field register poll
    9872ff6fdce8 staging: greybus: uart: fix tty use after free
    b0e001ae6060 binder: fix freeze race
    b95483d8d94b binder: make sure fd closes complete
    63239b0336b1 Revert "USB: bcma: Add a check for devm_gpiod_get"
    af5947c5157d USB: cdc-acm: fix minor-number release
    166f843bb68c USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter
    5a377e1d7ac9 usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c
    842f8bde1ed9 xen/x86: fix PV trap handling on secondary processors
    9b73af491ffe cifs: fix incorrect check for null pointer in header_assemble
    9f6c7aff21f8 cifs: Fix soft lockup during fsstress
    6344bc6cd2b4 cifs: Not to defer close on file when lock is set
    14582e4d65dc usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
    11453ccd21b1 usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA
    eba598563d06 usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
    40fe83550d86 usb: gadget: u_audio: EP-OUT bInterval in fback frequency
    29517795c4fe usb: gadget: r8a66597: fix a loop in set_feature()
    9c93c402c467 mm: fix uninitialized use in overcommit_policy_handler
    a7032c95c6e8 mm/debug: sync up MR_CONTIG_RANGE and MR_LONGTERM_PIN
    9ad0f5ca9ccd ocfs2: drop acl cache for directories too
    0414a521d1ea mm, hwpoison: add is_free_buddy_page() in HWPoisonHandlable()

(From OE-Core rev: 9e0a213388be5d758e5e043386af3d7c7e535fe4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
0d9ebbef5d linux-yocto/5.10: update to v5.10.70
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    f93026b28e2a Linux 5.10.70
    59094296058d qnx4: work around gcc false positive warning bug
    35c0dfbbd344 xen/balloon: fix balloon kthread freezing
    8373d58c89be USB: serial: cp210x: fix dropped characters with CP2102
    67cdb51ab5e2 thermal/drivers/int340x: Do not set a wrong tcc offset on resume
    cc71740ee4d4 EDAC/dmc520: Assign the proper type to dimm->edac_mode
    9afad85a43f5 EDAC/synopsys: Fix wrong value type assignment for edac_mode
    db76cb05c046 spi: Fix tegra20 build with CONFIG_PM=n
    890e25c424ea net: 6pack: Fix tx timeout and slot time
    044513c1fada alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
    0a511ba6d2a7 arm64: Mark __stack_chk_guard as __ro_after_init
    fec3bd622db0 parisc: Use absolute_pointer() to define PAGE0
    61454e7fd624 qnx4: avoid stringop-overread errors
    5520d27f02a1 sparc: avoid stringop-overread errors
    8d768beaf0ef net: i825xx: Use absolute_pointer for memcpy from fixed memory location
    e99f9032715e compiler.h: Introduce absolute_pointer macro
    f58d305887ad blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd
    1ef68b84bc11 block: flush the integrity workqueue in blk_integrity_unregister
    1963bdb7489c block: check if a profile is actually registered in blk_integrity_unregister
    526261c1b706 amd/display: downgrade validation failure log level
    54a4860c6257 sparc32: page align size in arch_dma_alloc
    ecf0dc5a9048 nvme-rdma: destroy cm id before destroy qp to avoid use after free
    2a08960577af nvme-multipath: fix ANA state updates when a namespace is not present
    372d3e6ea1e1 xen/balloon: use a kernel thread instead a workqueue
    6345a0bee801 bpf: Add oversize check before call kvcalloc()
    e567d33508a9 cpufreq: intel_pstate: Override parameters if HWP forced by BIOS
    9561bb98879e ipv6: delay fib6_sernum increase in fib6_add
    31df1d037cfd m68k: Double cast io functions to unsigned long
    cc3dd119d3cf blk-mq: avoid to iterate over stale request
    de7e03003367 net: stmmac: allow CSR clock of 300MHz
    7721221e87d2 net: macb: fix use after free on rmmod
    a632288053b7 net: phylink: Update SFP selected interface on advertising changes
    3815fe7371d2 blktrace: Fix uaf in blk_trace access after removing by sysfs
    ce092350b452 io_uring: put provided buffer meta data under memcg accounting
    7040b37a9630 x86/asm: Fix SETZ size enqcmds() build failure
    54e85b6c287c x86/asm: Add a missing __iomem annotation in enqcmds()
    b18ba3f477a2 md: fix a lock order reversal in md_alloc
    568662e37f92 irqchip/gic-v3-its: Fix potential VPE leak on error
    af7c9ffe2bee irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build
    0595fc4794c3 scsi: lpfc: Use correct scnprintf() limit
    cb948b158a86 scsi: qla2xxx: Restore initiator in dual mode
    3d42ed6b7905 cifs: fix a sign extension bug
    8cba4c2698e2 thermal/core: Potential buffer overflow in thermal_build_list_of_policies()
    215df4349916 nvme: keep ctrl->namespaces ordered
    55e6f8b3c0f5 treewide: Change list_sort to use const pointers
    419fab1cb086 nvme-tcp: fix incorrect h2cdata pdu offset accounting
    c6ecdcba9da3 fpga: machxo2-spi: Fix missing error code in machxo2_write_complete()
    5c6bfde245d8 fpga: machxo2-spi: Return an error on failure
    4ea4925c70fd tty: synclink_gt: rename a conflicting function name
    56a8f0b18f46 tty: synclink_gt, drop unneeded forward declarations
    c64e6c307a76 scsi: target: Fix the pgr/alua_support_store functions
    2d0305425179 scsi: iscsi: Adjust iface sysfs attr detection
    0032f8b3cf2a atlantic: Fix issue in the pm resume flow.
    c2598bce4152 net/mlx4_en: Don't allow aRFS for encapsulated packets
    b4e54f5f4288 qed: rdma - don't wait for resources under hw error recovery flow
    1bba406c07b3 gpio: uniphier: Fix void functions to remove return value
    db94f89e1dad s390/qeth: fix NULL deref in qeth_clear_working_pool_list()
    3aa50241e1ed kselftest/arm64: signal: Skip tests if required features are missing
    91d4da33c367 kselftest/arm64: signal: Add SVE to the set of features we can check for
    2eaa39d83e30 net: dsa: realtek: register the MDIO bus under devres
    43c880b860c7 net: dsa: don't allocate the slave_mii_bus using devres
    b4561bd29e62 net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work
    8a00c832ef88 net/smc: add missing error check in smc_clc_prfx_set()
    4e0fd1d79534 net: hns3: check queue id range before using
    ca435999bcaf net: hns3: fix change RSS 'hfunc' ineffective issue
    1365a0dc5596 bnxt_en: Fix TX timeout when TX ring size is set to the smallest
    d5afe3cf52e5 enetc: Fix uninitialized struct dim_sample field usage
    6c3f1b741c6c enetc: Fix illegal access when reading affinity_hint
    117661cb9d3a platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
    22538c1bde27 afs: Fix updating of i_blocks on file/dir extension
    55352944b497 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation
    8d6a21e4cd6a comedi: Fix memory leak in compat_insnlist()
    43241a6c6e6c net: hso: fix muxed tty registration
    68d4fbe6220c drm/amd/pm: Update intermediate power state for SI
    7dc9225fcde0 scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE
    3dfffcd26029 serial: mvebu-uart: fix driver's tx_empty callback
    640946fc56b8 serial: 8250: 8250_omap: Fix RX_LVL register offset
    0ea9ac731a31 xhci: Set HCD flag to defer primary roothub registration
    80af86c12290 btrfs: prevent __btrfs_dump_space_info() to underflow its free space
    8326be9e5121 erofs: fix up erofs_lookup tracepoint
    91e4ad05bf18 mcb: fix error handling in mcb_alloc_bus()
    2c28bb016bed USB: serial: option: add device id for Foxconn T99W265
    600b19610ad4 USB: serial: option: remove duplicate USB device ID
    0daf57973ff0 USB: serial: option: add Telit LN920 compositions
    dc131d3f1335 USB: serial: mos7840: remove duplicated 0xac24 device ID
    d58fc9e9c158 usb: core: hcd: Add support for deferring roothub registration
    996f7c4a1fcf usb: dwc3: core: balance phy init and exit
    a05ff800013e Re-enable UAS for LaCie Rugged USB3-FW with fk quirk
    b9e697e60ce9 staging: greybus: uart: fix tty use after free
    d5b0473707fa binder: make sure fd closes complete
    302e60e26ad5 Revert "USB: bcma: Add a check for devm_gpiod_get"
    b33b3db476e6 USB: cdc-acm: fix minor-number release
    0809b8576fa8 USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter
    a34d6ef0c71a usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c
    f79282849187 xen/x86: fix PV trap handling on secondary processors
    93028da5e92d cifs: fix incorrect check for null pointer in header_assemble
    5940e22528df usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
    d071c7fd45dc usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA
    5f4bfac26173 usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
    1fbd7eb385c3 usb: gadget: r8a66597: fix a loop in set_feature()
    838297222b2b mm: fix uninitialized use in overcommit_policy_handler
    437be4d6faed ocfs2: drop acl cache for directories too
    31bd6cd06a18 PCI: aardvark: Increase polling delay to 1.5s while waiting for PIO response

(From OE-Core rev: 3306240202254ba8ddcd2604f852a65888b4078a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
a55e07e5c3 linux-yocto/5.10: update to v5.10.69
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    5f4196eaa90c Linux 5.10.69
    7c09505e9e6b drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV
    83a3cb200eff sched/idle: Make the idle timer expire in hard interrupt context
    647c19bc6102 rtc: rx8010: select REGMAP_I2C
    9a14014df72d blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for multiple_queues
    23dfb959c6cb blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
    a2551d0a29e9 pwm: stm32-lp: Don't modify HW state in .remove() callback
    a6a2b36a8cc4 pwm: rockchip: Don't modify HW state in .remove() callback
    0a2ea5c0e5d1 pwm: img: Don't modify HW state in .remove() callback
    db8838e48a0a habanalabs: add validity check for event ID received from F/W
    d7736e2faa13 nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
    0f36028d0133 nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
    5770b54b112e nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
    5acb21e30d85 nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
    0480f7a480bc nilfs2: fix NULL pointer in nilfs_##name##_attr_release
    d95b50ff07b8 nilfs2: fix memory leak in nilfs_sysfs_create_device_group
    aa1af89a6697 btrfs: fix lockdep warning while mounting sprout fs
    c43803c1aa76 btrfs: update the bdev time directly when closing
    921ef7cfef15 ceph: lockdep annotations for try_nonblocking_invalidate
    487ead34a208 ceph: remove the capsnaps when removing caps
    386fd6fd01bd ceph: request Fw caps before updating the mtime in ceph_write_iter
    b26ced26251c dmaengine: xilinx_dma: Set DMA mask for coherent APIs
    9c1ea8537730 dmaengine: ioat: depends on !UML
    35492619e010 dmaengine: sprd: Add missing MODULE_DEVICE_TABLE
    c12cf7f9afe2 dmaengine: idxd: depends on !UML
    b4bb0b171b6e iommu/amd: Relocate GAMSup check to early_enable_iommus
    2a07348e9821 parisc: Move pci_dev_is_behind_card_dino to where it is used
    ca907291e116 dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
    b9a1526d5174 drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()
    45bd9dd1bee8 drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform
    c9538018cb2d thermal/core: Fix thermal_cooling_device_register() prototype
    d1f9ecc00da1 tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh
    912afe602eac Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH
    e418ce8b8dfd ceph: cancel delayed work instead of flushing on mdsc teardown
    8193ad306ea0 ceph: allow ceph_put_mds_session to take NULL or ERR_PTR
    41aa21573486 platform/chrome: cros_ec_trace: Fix format warnings
    113a69460de5 platform/chrome: sensorhub: Add trace events for sample
    48271d10bf4c dmaengine: idxd: fix wq slot allocation index check
    777344da345a pwm: mxs: Don't modify HW state in .probe() after the PWM chip was registered
    322b70b522ab pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered
    c63df77c40ca PM: sleep: core: Avoid setting power.must_resume to false
    74190973ab01 profiling: fix shift-out-of-bounds bugs
    0796d99c1b16 nilfs2: use refcount_dec_and_lock() to fix potential UAF
    30417cbeccff prctl: allow to setup brk for et_dyn executables
    e464b3876b02 9p/trans_virtio: Remove sysfs file on probe failure
    375e779ec32a thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
    38ab04186fb3 perf tools: Allow build-id with trailing zeros
    87c4144450e6 tools lib: Adopt memchr_inv() from kernel
    ebcd3fd9207c perf test: Fix bpf test sample mismatch reporting
    fa64b08931ee dmaengine: acpi: Avoid comparison GSI with Linux vIRQ
    9d49973b0848 um: virtio_uml: fix memory leak on init failures
    5d0e6a5e4441 coredump: fix memleak in dump_vma_snapshot()
    6b24588708fe staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb()
    ccb79116c372 sctp: add param size validation for SCTP_PARAM_SET_PRIMARY
    ffca46766850 sctp: validate chunk size in __rcv_asconf_lookup
    473cea4983b5 Revert "net/mlx5: Register to devlink ingress VLAN filter trap"
    5ce134e65f3b ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE
    f91d25a7c89e ARM: 9079/1: ftrace: Add MODULE_PLTS support
    ad00533858f7 ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link()
    ce90c6706d5a ARM: 9077/1: PLT: Move struct plt_entries definition to header
    eb46d7c8ae83 ARM: Qualify enabling of swiotlb_init()
    79286ea830b3 s390/pci_mmio: fully validate the VMA before calling follow_pte()
    74d54e5ceba3 console: consume APC, DM, DCS
    9493e92a3953 PCI: aardvark: Fix reporting CRS value
    9e766b86a9ef PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
    4d8524048a35 Linux 5.10.68
    a23d3576215f net: dsa: bcm_sf2: Fix array overrun in bcm_sf2_num_active_ports()
    9f2972e151dd bnxt_en: Fix error recovery regression
    619d747c1850 x86/mce: Avoid infinite loop for copy from user recovery
    47bc9c3929eb net: renesas: sh_eth: Fix freeing wrong tx descriptor
    b2f9b7455baf mfd: lpc_sch: Rename GPIOBASE to prevent build error
    027c44b8c8e4 mfd: lpc_sch: Partially revert "Add support for Intel Quark X1000"
    52a7e6667133 bnxt_en: Fix possible unintended driver initiated error recovery
    9a3f52f73c04 bnxt_en: Improve logging of error recovery settings information.
    639a2eddb731 bnxt_en: Convert to use netif_level() helpers.
    01cad477a968 bnxt_en: Consolidate firmware reset event logging.
    fad75e046363 bnxt_en: log firmware debug notifications
    f90a34fabaa5 bnxt_en: Fix asic.rev in devlink dev info command
    724502318455 bnxt_en: fix stored FW_PSID version masks
    eb635e008cb1 net: dsa: b53: Fix IMP port setup on BCM5301x
    87b34cd64851 ip_gre: validate csum_start only on pull
    9c98d2bd1434 qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
    8c01c620ae61 fq_codel: reject silly quantum parameters
    6e2d36f2b1d1 netfilter: socket: icmp6: fix use-after-scope
    c361c955609a net: dsa: b53: Set correct number of ports in the DSA struct
    0db7e0d9f67d net: dsa: b53: Fix calculating number of switch ports
    f89b0d032f86 net: hso: add failure handler for add_net_device
    f450958f7ff8 selftests: mptcp: clean tmp files in simult_flows
    5711ced58eb4 net: dsa: tag_rtl4_a: Fix egress tags
    b167a0cec187 gpio: mpc8xxx: Use 'devm_gpiochip_add_data()' to simplify the code and avoid a leak
    f86956143da9 gpio: mpc8xxx: Fix a resources leak in the error handling path of 'mpc8xxx_probe()'
    c2b52963fd0c perf bench inject-buildid: Handle writen() errors
    5a20adc38811 perf unwind: Do not overwrite FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64}
    f5176a0798bd ARC: export clear_user_page() for modules
    9da1fb128c54 mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()'
    5402b31c0c46 PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n
    a957d82b2316 KVM: arm64: Handle PSCI resets before userspace touches vCPU state
    53921242cf99 KVM: arm64: Fix read-side race on updates to vcpu reset state
    b9b89da56af7 mtd: mtdconcat: Check _read, _write callbacks existence before assignment
    812cbb143c12 mtd: mtdconcat: Judge callback existence based on the master
    e8dfc446a16a tracing/boot: Fix a hist trigger dependency for boot time tracing
    87479b10eb72 mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
    f10f727cf9f4 PCI: Fix pci_dev_str_match_path() alloc while atomic bug
    ed44be1cbe5e KVM: arm64: Restrict IPA size to maximum 48 bits on 4K and 16K page size
    62f813769f50 netfilter: nft_ct: protect nft_ct_pcpu_template_refcnt with mutex
    1cf43a1e5782 netfilter: Fix fall-through warnings for Clang
    9e89c22d1c94 PCI: iproc: Fix BCMA probe resource handling
    b1f3be0c302a PCI: of: Don't fail devm_pci_alloc_host_bridge() on missing 'ranges'
    063c3d980d78 backlight: ktd253: Stabilize backlight
    00303e459251 mfd: axp20x: Update AXP288 volatile ranges
    ab7cf2250161 s390/bpf: Fix branch shortening during codegen pass
    4320c222c2ff s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant
    d92d3a9c2b65 s390/bpf: Fix optimizing out zero-extensions
    4a9339320338 NTB: perf: Fix an error code in perf_setup_inbuf()
    ce660d6dfcdd NTB: Fix an error code in ntb_msit_probe()
    e76ccbdedbdd ethtool: Fix an error code in cxgb2.c
    70ac967a7b88 PCI: ibmphp: Fix double unmap of io_mem
    9ae759a36b61 block, bfq: honor already-setup queue merges
    7f2b3242f0d4 net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920
    ca8ecd7444a9 Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6
    c422c555053e octeontx2-af: Add additional register check to rvu_poll_reg()
    1cac475eeb9f watchdog: Start watchdog in watchdog_set_last_hw_keepalive only if appropriate
    e5609d3fd57d PCI: Add ACS quirks for Cavium multi-function devices
    365cdfcc6eba PCI: j721e: Add PCIe support for AM64
    81381b72f40c PCI: j721e: Add PCIe support for J7200
    4892b1515b40 PCI: cadence: Add quirk flag to set minimum delay in LTSSM Detect.Quiet state
    a83e032cc489 PCI: cadence: Use bitfield for *quirk_retrain_flag* instead of bool
    3aedfe4b0800 tracing/probes: Reject events which have the same name of existing one
    75420f9400a6 PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe()
    b6352e2e2764 mfd: Don't use irq_create_mapping() to resolve a mapping
    aa638669c8a4 PCI: tegra: Fix OF node reference leak
    d5c5d1b141fa PCI: tegra194: Fix MSI-X programming
    13f366bab077 PCI: tegra194: Fix handling BME_CHGED event
    b7d4f310bb8f fuse: fix use after free in fuse_read_interrupt()
    03cc3a2923d6 PCI: Add ACS quirks for NXP LX2xx0 and LX2xx2 platforms
    7a44361a1f6a mfd: db8500-prcmu: Adjust map to reality
    619f137ffd69 dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation
    49cf30ebb35c mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range()
    aa39eb744a82 net: hns3: fix the timing issue of VF clearing interrupt sources
    ad47e0922108 net: hns3: disable mac in flr process
    b76522c7c349 net: hns3: change affinity_mask to numa node range
    34fc06d0477e net: hns3: pad the short tunnel frame before sending to hardware
    0511d099db6f bnxt_en: make bnxt_free_skbs() safe to call after bnxt_free_mem()
    49eff4ab7d43 KVM: PPC: Book3S HV: Tolerate treclaim. in fake-suspend mode changing registers
    e68795c1101e ibmvnic: check failover_pending in login response
    aeb67214ce94 dt-bindings: arm: Fix Toradex compatible typo
    0ab9981fa0c5 udp_tunnel: Fix udp_tunnel_nic work-queue type
    5221e6632991 qed: Handle management FW error
    e00eae1d6b1f selftest: net: fix typo in altname test
    53947b68c56b tcp: fix tp->undo_retrans accounting in tcp_sacktag_one()
    35d3ab2ea2ed x86/uaccess: Fix 32-bit __get_user_asm_u64() when CC_HAS_ASM_GOTO_OUTPUT=y
    cf6f29bb2c18 net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setup
    df38f941a7e4 net/af_unix: fix a data-race in unix_dgram_poll
    cad96d0e50e4 vhost_net: fix OoB on sendmsg() failure.
    7843861e2140 gen_compile_commands: fix missing 'sys' package
    983ef866291c net: ipa: initialize all filter table slots
    c5102ced8ac0 events: Reuse value read using READ_ONCE instead of re-reading it
    8f8ad122ffe0 nvme-tcp: fix io_work priority inversion
    c586bc31d5b9 net/mlx5: Fix potential sleeping in atomic context
    29a5af9112a2 net/mlx5: FWTrace, cancel work on alloc pd error flow
    229e9293b2ba perf machine: Initialize srcline string member in add_location struct
    33c983f7a182 drm/rockchip: cdn-dp-core: Make cdn_dp_core_resume __maybe_unused
    fd9ed47fe6be tipc: increase timeout in tipc_sk_enqueue()
    abe460eb6fbb r6040: Restore MDIO clock frequency after MAC reset
    edfab735d518 net/l2tp: Fix reference count leak in l2tp_udp_recv_core
    6c3cb65d561e dccp: don't duplicate ccid when cloning dccp sock
    f6f80766558b ptp: dp83640: don't define PAGE0
    bd6d9a0dd411 net-caif: avoid user-triggerable WARN_ON(1)
    855c17ffa65f net/{mlx5|nfp|bnxt}: Remove unnecessary RTNL lock assert
    c5c9ee2d367b ethtool: Fix rxnfc copy to user buffer overflow
    ee3ffd56b40e tipc: fix an use-after-free issue in tipc_recvmsg
    12551b75b00b x86/mm: Fix kern_addr_valid() to cope with existing but not present entries
    6672dc68e28e x86/pat: Pass valid address to sanitize_phys()
    0346f8a2c5ec s390/sclp: fix Secure-IPL facility detection
    cc9d96c9f9e0 drm/etnaviv: add missing MMU context put when reaping MMU mapping
    ea995e8a6294 drm/etnaviv: reference MMU context when setting up hardware state
    660dfbf208a4 drm/etnaviv: fix MMU context leak on GPU reset
    22163efedcf3 drm/etnaviv: exec and MMU state is lost when resetting the GPU
    6b1c223d8a53 drm/etnaviv: keep MMU context across runtime suspend/resume
    c63e6e0951ff drm/etnaviv: stop abusing mmu_context as FE running marker
    cf24bd826e4b drm/etnaviv: put submit prev MMU context when it exists
    0759f648470b drm/etnaviv: return context from etnaviv_iommu_context_get
    8f95553f0016 drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
    87f7032dc227 PCI: Add AMD GPU multi-function power dependencies
    cd64b416aed2 PM: base: power: don't try to use non-existing RTC for storing data
    a67e7cdbc633 arm64/sve: Use correct size when reinitialising SVE state
    84da60070c36 bnx2x: Fix enabling network interfaces without VFs
    1a5a3ba21aee xen: reset legacy rtc flag for PV domU
    ce8f81b76d3b io_uring: ensure symmetry in handling iter types in loop_rw_iter()
    88f3d951e2db btrfs: fix upper limit for max_inline for page size 64K
    575279059e26 drm/bridge: lt9611: Fix handling of 4k panels
    faf816b0f8d0 Linux 5.10.67
    ad3ea16746cc fanotify: limit number of event merge attempts
    412974e75fdd drm/panfrost: Clamp lock region to Bifrost minimum
    8976e09443cb drm/panfrost: Use u64 for size in lock_region
    95251e6833fa drm/panfrost: Simplify lock_region calculation
    b80a99e04827 drm/amd/display: Update bounding box states (v2)
    583c4f3d09c3 drm/amd/display: Update number of DCN3 clock states
    7b1abace16a9 drm/amdgpu: Fix BUG_ON assert
    c29485e34e63 drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv
    bb693c114e8b drm/dp_mst: Fix return code on sideband message failure
    84cac4f80605 drm/msi/mdp4: populate priv->kms in mdp4_kms_init
    be1fcecfc145 drm/mgag200: Select clock in PLL update functions
    d0aaea1f117d net: dsa: lantiq_gswip: fix maximum frame length
    5944d0e2b0ab lib/test_stackinit: Fix static initializer test
    00cdb2fb4df1 platform/chrome: cros_ec_proto: Send command again when timeout occurs
    b2e72e53cd26 libnvdimm/pmem: Fix crash triggered when I/O in-flight during unbind
    6d86634d7bd1 memcg: enable accounting for pids in nested pid namespaces
    388f12dabbe0 mm,vmscan: fix divide by zero in get_scan_count
    2d2d8b0eca64 mm/hugetlb: initialize hugetlb_usage in mm_init
    ce75a6b399e0 mm/hmm: bypass devmap pte when all pfn requested flags are fulfilled
    e1fa3b2b60ab hugetlb: fix hugetlb cgroup refcounting during vma split
    27dd91221b3f s390/pv: fix the forcing of the swiotlb
    086faa4a2e86 cpufreq: powernv: Fix init_chip_info initialization in numa=off
    55be9eb1936a scsi: qla2xxx: Sync queue idx with queue_pair_map idx
    9c8414325eee scsi: qla2xxx: Changes to support kdump kernel
    137dafa72230 scsi: BusLogic: Fix missing pr_cont() use
    69775e4e17f2 ovl: fix BUG_ON() in may_delete() when called from ovl_cleanup()
    7a5756e90563 parisc: fix crash with signals and alloca
    9a4e7f903866 io_uring: remove duplicated io_size from rw
    6930a2a5be5c fs/io_uring Don't use the return value from import_iovec().
    2c304c65defd net: hns3: clean up a type mismatch warning
    fb1ee027878b net: w5100: check return value after calling platform_get_resource()
    c49a52046da7 fix array-index-out-of-bounds in taprio_change
    a4301d06a0b8 net: fix NULL pointer reference in cipso_v4_doi_free
    5ed5d594d9a7 ath9k: fix sleeping in atomic context
    aa3708236ea0 ath9k: fix OOB read ar9300_eeprom_restore_internal
    be457b27dd0a wcn36xx: Fix missing frame timestamp for beacon/probe-resp
    b1d547f2f51a selftests/bpf: Fix potential unreleased lock
    3ad66d67822d parport: remove non-zero check on count
    1e9302537804 net/mlx5: DR, Enable QP retransmission
    9c5c65ecbd87 net/mlx5: DR, fix a potential use-after-free bug
    4bbf0a9d90e8 iwlwifi: mvm: Fix scan channel flags settings
    a693aff5e8d7 iwlwifi: fw: correctly limit to monitor dump
    4ed6510e0559 iwlwifi: mvm: fix access to BSS elements
    9e80a3d88f4d iwlwifi: mvm: avoid static queue number aliasing
    3ed8982df50e iwlwifi: mvm: fix a memory leak in iwl_mvm_mac_ctxt_beacon_changed
    608c8359c567 iwlwifi: pcie: free RBs during configure
    eb04c51a439e nfsd: fix crash on LOCKT on reexported NFSv3
    0e9f4492219f drm/amdkfd: Account for SH/SE count when setting up cu masks.
    27d4a96addef ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B
    969eddc3b4dc ASoC: rockchip: i2s: Fix regmap_ops hang
    7344a8a80190 usbip:vhci_hcd USB port can get stuck in the disabled state
    29c8f13a345d usbip: give back URBs for unsent unlink requests during cleanup
    8de01a896c1b usb: musb: musb_dsps: request_irq() after initializing musb
    c0751eeb938c Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set"
    ba2faddf1f14 cifs: fix wrong release in sess_alloc_buffer() failed path
    7c7d6c9cd879 mmc: core: Return correct emmc response in case of ioctl error
    d1e382a04ada selftests/bpf: Enlarge select() timeout for test_maps
    3aab5bffdde0 mmc: rtsx_pci: Fix long reads when clock is prescaled
    7f43da79ebc5 mmc: sdhci-of-arasan: Check return value of non-void funtions
    834ecf61cebd mmc: sdhci-of-arasan: Modified SD default speed to 19MHz for ZynqMP
    1a40e60e2af4 of: Don't allow __of_attached_node_sysfs() without CONFIG_SYSFS
    be69ed7bb9d3 ASoC: Intel: Skylake: Fix passing loadable flag for module
    4a48ed479467 ASoC: Intel: Skylake: Fix module configuration for KPB and MIXER
    d72afec087f7 soundwire: intel: fix potential race condition during power down
    b225eeaf3a02 btrfs: tree-log: check btrfs_lookup_data_extent return value
    87ae522e467e m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch
    c10b1afc2f43 octeontx2-pf: Fix NIX1_RX interface backpressure
    6d657f1fa121 rtw88: wow: fix size access error of probe request
    aa82a11176bd rtw88: wow: build wow function only if CONFIG_PM is on
    2fd1964f7501 rtw88: use read_poll_timeout instead of fixed sleep
    9baf6f8ca285 rtl8xxxu: Fix the handling of TX A-MPDU aggregation
    756924bc1804 drm/exynos: Always initialize mapping in exynos_drm_register_dma()
    9ce6e29375ba lockd: lockd server-side shouldn't set fl_ops
    2d3fab9ceafa usb: chipidea: host: fix port index underflow and UBSAN complains
    2225a5cd2fbc gfs2: Don't call dlm after protocol is unmounted
    0df5eba67bf0 kselftest/arm64: pac: Fix skipping of tests on systems without PAC
    9486d7ac9f30 kselftest/arm64: mte: Fix misleading output when skipping tests
    1f5db5b8a3d6 net: Fix offloading indirect devices dependency on qdisc order creation
    2a69325ee510 staging: rts5208: Fix get_ms_information() heap buffer size
    868831492dd6 hwmon: (pmbus/ibm-cffps) Fix write bits for LED control
    39738ebfad39 selftests/bpf: Fix flaky send_signal test
    c53c68c9bf2a rpc: fix gss_svc_init cleanup on failure
    4b1b4d3f45df tcp: enable data-less, empty-cookie SYN with TFO_SERVER_COOKIE_NOT_REQD
    fca514f25c4d iomap: pass writeback errors to the mapping
    49e2bcb7cf58 serial: sh-sci: fix break handling for sysrq
    a99eec36ed39 opp: Don't print an error if required-opps is missing
    6698029de35b Bluetooth: Fix handling of LE Enhanced Connection Complete
    240a7025a6f8 nvme: code command_id with a genctr for use-after-free validation
    24618e92d50f nvme-tcp: don't check blk_mq_tag_to_rq when receiving pdu data
    27e8bc1f5b32 arm64: dts: ls1046a: fix eeprom entries
    aa06cfc5291c arm64: tegra: Fix compatible string for Tegra132 CPUs
    9c2b89f64f2e ARM: tegra: tamonten: Fix UART pad setting
    035e8d5a6dd8 ARM: tegra: acer-a500: Remove bogus USB VBUS regulators
    9713dfa5185a mac80211: Fix monitor MTU limit so that A-MSDUs get through
    83449db3aac0 drm/display: fix possible null-pointer dereference in dcn10_set_clock()
    2254383788ff gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port()
    155e7047909d net/mlx5: Fix variable type to match 64bit
    f86bc4a1a401 drm/msm/dp: return correct edid checksum after corrupted edid checksum read
    98d44b7be6f1 Bluetooth: avoid circular locks in sco_sock_connect
    a1073aad497d Bluetooth: schedule SCO timeouts with delayed_work
    d6c91423993e drm/vmwgfx: fix potential UAF in vmwgfx_surface.c
    3841dfa7eb5c selftests/bpf: Fix xdp_tx.c prog section name
    63ebc1f1df81 drm/amd/display: fix incorrect CM/TF programming sequence in dwb
    d763afc4ea2b drm/amd/display: fix missing writeback disablement if plane is removed
    491c8be21993 thunderbolt: Fix port linking by checking all adapters
    0f0f1de02b9b drm: xlnx: zynqmp: release reset to DP controller before accessing DP registers
    f76f78f9f479 drm: xlnx: zynqmp_dpsub: Call pm_runtime_get_sync before setting pixel clock
    127f3610a0e3 drm/msm/dsi: Fix DSI and DSI PHY regulator config from SDM660
    0bbbe3ec67f0 drm/msm: mdp4: drop vblank get/put from prepare/complete_commit
    ac21cd44c954 net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe()
    2b0fa8d53041 nvmem: qfprom: Fix up qfprom_disable_fuse_blowing() ordering
    35e5c99b152d arm64: dts: qcom: sm8250: Fix epss_l3 unit address
    43ccafc91f63 arm64: dts: qcom: msm8996: don't use underscore in node name
    f868c2d62a27 arm64: dts: qcom: msm8994: don't use underscore in node name
    bda9c84edbb3 arm64: dts: qcom: sdm630: don't use underscore in node name
    aa16e76c80af arm64: dts: qcom: ipq6018: drop '0x' from unit address
    da714a198342 arm64: dts: qcom: sdm660: use reg value for memory node
    34e9c56675a8 arm64: dts: qcom: ipq8074: fix pci node reg property
    74287874c91d ARM: dts: imx53-ppd: Fix ACHC entry
    6a00decce3a6 serial: 8250_omap: Handle optional overrun-throttle-ms property
    699c91475847 arm64: dts: qcom: sdm630: Fix TLMM node and pinctrl configuration
    310a127178b0 arm64: dts: qcom: sdm630: Rewrite memory map
    783be2a94299 gfs2: Fix glock recursion in freeze_go_xmote_bh
    4e014ff22e4b media: tegra-cec: Handle errors of clk_prepare_enable()
    c159db240cf2 media: TDA1997x: fix tda1997x_query_dv_timings() return value
    e3a2e20ed503 media: v4l2-dv-timings.c: fix wrong condition in two for-loops
    ac1bcf53e32f media: imx258: Limit the max analogue gain to 480
    4cb4967472c8 media: imx258: Rectify mismatch of VTS value
    a64e3f1d8a27 ASoC: Intel: update sof_pcm512x quirks
    9cf827242033 ASoC: Intel: bytcr_rt5640: Move "Platform Clock" routes to the maps for the matching in-/output
    f1fb1f6fa172 arm64: tegra: Fix Tegra194 PCIe EP compatible string
    8fb3d8c151a7 ARM: dts: at91: use the right property for shutdown controller
    f710323dcd24 bonding: 3ad: fix the concurrency between __bond_release_one() and bond_3ad_state_machine_handler()
    5d008cb7636d ARM: dts: stm32: Update AV96 adv7513 node per dtbs_check
    3142476fa002 ARM: dts: stm32: Set {bitclock,frame}-master phandles on ST DKx
    37437a60a93b ARM: dts: stm32: Set {bitclock,frame}-master phandles on DHCOM SoM
    f4c7c95e3ee5 workqueue: Fix possible memory leaks in wq_numa_init()
    6528cc687c88 Bluetooth: skip invalid hci_sync_conn_complete_evt
    3b82e4799f53 ata: sata_dwc_460ex: No need to call phy_exit() befre phy_init()
    4af60a543ba6 libbpf: Fix race when pinning maps in parallel
    874d5aa06ce2 samples: bpf: Fix tracex7 error raised on the missing argument
    035f83b5abd3 staging: ks7010: Fix the initialization of the 'sleep_status' structure
    d0a8ef04c220 serial: 8250_pci: make setup_port() parameters explicitly unsigned
    2603740df8b2 hvsi: don't panic on tty_register_driver failure
    dd3307a8b383 xtensa: ISS: don't panic in rs_init
    b763d2e7d45c serial: 8250: Define RX trigger levels for OxSemi 950 devices
    973c57c5e649 s390: make PCI mio support a machine flag
    77d62f2bcc7f s390/jump_label: print real address in a case of a jump label bug
    863d2eb2f726 flow_dissector: Fix out-of-bounds warnings
    64583448c231 ipv4: ip_output.c: Fix out-of-bounds warning in ip_copy_addrs()
    bcc61adefd78 video: fbdev: riva: Error out if 'pixclock' equals zero
    63abc0eb8af5 video: fbdev: kyro: Error out if 'pixclock' equals zero
    6a8dcd2ffb41 video: fbdev: asiliantfb: Error out if 'pixclock' equals zero
    3740418ccde8 arm64: dts: allwinner: h6: tanix-tx6: Fix regulator node names
    be2e11b9f8fa drm/bridge: nwl-dsi: Avoid potential multiplication overflow on 32-bit
    6a3564739b9f bpf/tests: Do not PASS tests without actually testing the result
    99121dec14b0 bpf/tests: Fix copy-and-paste error in double word test
    6f51f4241253 drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex
    a5999d18a8d8 drm/amdgpu: Fix a printing message
    5b3a45eedd27 ethtool: improve compat ioctl handling
    52bb703f71d3 nfp: fix return statement in nfp_net_parse_meta()
    23e5fb647589 media: atomisp: pci: fix error return code in atomisp_pci_probe()
    e5cecb9105d4 media: atomisp: Fix runtime PM imbalance in atomisp_pci_probe
    9a85b9e37601 media: platform: stm32: unprepare clocks at handling errors in probe
    c6e5eebd9540 media: hantro: vp8: Move noisy WARN_ON to vpu_debug
    f462a39eb833 drm/amd/display: Fix timer_per_pixel unit error
    b4f5c9454dfc selftests: firmware: Fix ignored return val of asprintf() warn
    e944a221262e bus: fsl-mc: fix mmio base address for child DPRCs
    165c55af5f5f tty: serial: jsm: hold port lock when reporting modem line changes
    642639bb8d42 staging: board: Fix uninitialized spinlock when attaching genpd
    03f4492dbff3 usb: gadget: composite: Allow bMaxPower=0 if self-powered
    5534de13b6dc USB: EHCI: ehci-mv: improve error handling in mv_ehci_enable()
    b2b8137ec920 usb: gadget: u_ether: fix a potential null pointer dereference
    566ddd2d94b0 usb: host: fotg210: fix the actual_length of an iso packet
    224cf5e8c853 usb: host: fotg210: fix the endpoint's transactional opportunities calculation
    463b3edfba90 igc: Check if num of q_vectors is smaller than max before array access
    d3ca78775db4 rcu: Fix macro name CONFIG_TASKS_RCU_TRACE
    34609faad0c9 drm: protect drm_master pointers in drm_lease.c
    06a553a99bac drm: serialize drm_file.master with a new spinlock
    54e51d288b38 drm: avoid blocking in drm_clients_info's rcu section
    df19d95141d1 Smack: Fix wrong semantics in smk_access_entry()
    3533aa65e6a9 netlink: Deal with ESRCH error in nlmsg_notify()
    9de06dcd4710 video: fbdev: kyro: fix a DoS bug by restricting user input
    29ab7f6d505f ARM: dts: qcom: apq8064: correct clock names
    e0c17c11b15d iavf: fix locking of critical sections
    67c9262e3f31 iavf: do not override the adapter state in the watchdog task
    9f11de56012c iio: dac: ad5624r: Fix incorrect handling of an optional regulator.
    e78a0b4a339e net: phy: Fix data type in DP83822 dp8382x_disable_wol()
    cca61275874a tipc: keep the skb in rcv queue until the whole data is read
    cc12ab5951aa PCI: Use pci_update_current_state() in pci_enable_device_flags()
    aad29a00a598 crypto: mxs-dcp - Use sg_mapping_iter to copy data
    871abd1e6185 x86/hyperv: fix for unwanted manipulation of sched_clock when TSC marked unstable
    c327b69e96b0 libbpf: Fix reuse of pinned map on older kernel
    6a985c579499 media: dib8000: rewrite the init prbs logic
    2048907d8cb7 ASoC: atmel: ATMEL drivers don't need HAS_DMA
    10a135969fd7 drm/amdgpu: Fix amdgpu_ras_eeprom_init()
    b32d3ded9dc2 drm/vc4: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SET
    6afd1e053d9b userfaultfd: prevent concurrent API initialization
    1e4cfe954bd9 kbuild: Fix 'no symbols' warning when CONFIG_TRIM_UNUSD_KSYMS=y
    981bf9b0aa1b MIPS: Malta: fix alignment of the devicetree buffer
    bb8108546da9 f2fs: should put a page beyond EOF when preparing a write
    d04925fb8d70 f2fs: deallocate compressed pages when error happens
    4b71928e5c54 f2fs: fix to unmap pages from userspace process in punch_hole()
    1c934aba9fd5 f2fs: fix unexpected ENOENT comes from f2fs_map_blocks()
    45cb5f86c1c6 f2fs: fix to account missing .skipped_gc_rwsem
    fd69f613af53 soc: mediatek: cmdq: add address shift in jump
    d320c1b2e728 KVM: PPC: Fix clearing never mapped TCEs in realmode
    6bf98b94ffeb clk: at91: clk-generated: Limit the requested rate to our range
    9bab2bc4c238 fscache: Fix cookie key hashing
    b4849e2ac706 RDMA/hns: Fix QP's resp incomplete assignment
    e91077cf1780 powerpc/smp: Update cpu_core_map on all PowerPc systems
    903ca538f588 platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call
    add8e8c3402f KVM: PPC: Book3S HV Nested: Reflect guest PMU in-use to L0 when guest SPRs are live
    4c0c4f702196 scsi: ufs: ufs-exynos: Fix static checker warning
    bda5602c1c35 KVM: PPC: Book3S HV: Fix copy_tofrom_guest routines
    926bf91248dd clk: imx8m: fix clock tree update of TF-A managed clocks
    e84a72f69621 HID: i2c-hid: Fix Elan touchpad regression
    253bac6c60ad iommu/vt-d: Update the virtual command related registers
    947579a6967a powerpc/config: Renable MTD_PHYSMAP_OF
    1bc19e4062e9 scsi: qedf: Fix error codes in qedf_alloc_global_queues()
    dc4577749987 scsi: qedi: Fix error codes in qedi_alloc_global_queues()
    782c4017845d scsi: smartpqi: Fix an error code in pqi_get_raid_map()
    41066433be42 powerpc/numa: Consider the max NUMA node for migratable LPAR
    d3612083ecc1 pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry()
    6291fd0eeafc scsi: fdomain: Fix error return code in fdomain_probe()
    f02ab9d1d3a6 sunrpc: Fix return value of get_srcport()
    21a2be1a5145 SUNRPC query transport's source port
    f19abe046354 SUNRPC/xprtrdma: Fix reconnection locking
    f3d301612787 SUNRPC: Fix potential memory corruption
    9aa7a3ffb11c NFSv4/pnfs: The layout barrier indicate a minimal value for the seqid
    2a542421eb7f NFSv4/pNFS: Always allow update of a zero valued layout barrier
    4b96edea5cd1 NFSv4/pNFS: Fix a layoutget livelock loop
    fa55e76641d8 dma-debug: fix debugfs initialization order
    ca7f7e37bae4 openrisc: don't printk() unconditionally
    31fd3211ef8b f2fs: reduce the scope of setting fsck tag when de->name_len is zero
    49e4c83db885 cpuidle: pseries: Mark pseries_idle_proble() as __init
    876e45c95eb6 RDMA/mlx5: Delete not-available udata check
    a77da9de0d7d RDMA/efa: Remove double QP type assignment
    1988836e30c5 powerpc/stacktrace: Include linux/delay.h
    c5a5528da722 cpuidle: pseries: Fixup CEDE0 latency only for POWER10 onwards
    3b2bbcccd6e9 scsi: ufs: Fix memory corruption by ufshcd_read_desc_param()
    d353e093c0d5 vfio: Use config not menuconfig for VFIO_NOIOMMU
    0f711378f0b1 pinctrl: samsung: Fix pinctrl bank pin count
    59137b7dfff1 scsi: BusLogic: Use %X for u32 sized integer rather than %lX
    8ea3e622af56 docs: Fix infiniband uverbs minor number
    fe2a1cd62267 RDMA/iwcm: Release resources if iw_cm module initialization fails
    b824bae96f73 IB/hfi1: Adjust pkey entry in index 0
    273ed4f47e6f clk: rockchip: drop GRF dependency for rk3328/rk3036 pll types
    f1eccc408168 scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND
    ef5395fbadac pinctrl: armada-37xx: Correct PWM pins definitions
    782ceaba977c pinctrl: remove empty lines in pinctrl subsystem
    2d586a3f5b7e f2fs: quota: fix potential deadlock
    70fd9363673b HID: input: do not report stylus battery state as "full"
    4e89aea738b5 PCI: aardvark: Fix masking and unmasking legacy INTx interrupts
    b50db4c02f45 PCI: aardvark: Fix checking for PIO status
    9d6090575406 PCI: Export pci_pio_to_address() for module use
    fa3c15ccf2ea PCI: aardvark: Configure PCIe resources from 'ranges' DT property
    df23bd40ed88 PCI: xilinx-nwl: Enable the clock through CCF
    72f2be343272 PCI: Return ~0 data on pciconfig_read() CAP_SYS_ADMIN failure
    088a1052f7b0 PCI: Restrict ASMedia ASM1062 SATA Max Payload Size Supported
    9302a3c00cc6 PCI/portdrv: Enable Bandwidth Notification only if port supports it
    74d6dfcb0f9d f2fs: fix to do sanity check for sb/cp fields correctly
    ce7e64e63acf ARM: 9105/1: atags_to_fdt: don't warn about stack size
    ba73bc166615 libata: add ATA_HORKAGE_NO_NCQ_TRIM for Samsung 860 and 870 SSDs
    bcbc44e42dc6 dmaengine: imx-sdma: remove duplicated sdma_load_context
    300ccb129252 Revert "dmaengine: imx-sdma: refine to load context only once"
    76668bdee0b0 s390/qdio: cancel the ESTABLISH ccw after timeout
    bcc0c767f9b3 s390/qdio: fix roll-back after timeout on ESTABLISH ccw
    2d2aaa200ced media: rc-loopback: return number of emitters rather than error
    c0eaaa686864 media: uvc: don't do DMA on stack
    516dbe27f447 VMCI: fix NULL pointer dereference when unmapping queue pair
    6cae39f45754 crypto: ccp - shutdown SEV firmware on kexec
    7509c4cb7c80 dm crypt: Avoid percpu_counter spinlock contention in crypt_page_alloc()
    4f920fefd857 power: supply: max17042: handle fails of reading status register
    0d54bbad80f7 block: bfq: fix bfq_set_next_ioprio_data()
    5df14bba0056 crypto: public_key: fix overflow during implicit conversion
    646870ad8e56 wcn36xx: Ensure finish scan is not requested before start scan
    4753723f8b48 iio: ltc2983: fix device probe
    de32e151800d arm64: head: avoid over-mapping in map_memory
    2d3a9dff763f arm64: mm: Fix TLBI vs ASID rollover
    01e6c64bbc5d soc: aspeed: p2a-ctrl: Fix boundary check for mmap
    3fdf2feb6cbe soc: aspeed: lpc-ctrl: Fix boundary check for mmap
    e80c45dbe263 soc: qcom: aoss: Fix the out of bound usage of cooling_devs
    610e8b2621d6 pinctrl: ingenic: Fix incorrect pull up/down info
    1e1136fbe89f pinctrl: stmfx: Fix hazardous u8[] to unsigned long cast
    7524fcd09c3e clk: socfpga: agilex: add the bypass register for s2f_usr0 clock
    96bf326fb93c clk: socfpga: agilex: fix up s2f_user0_clk representation
    7eb16be25f0f clk: socfpga: agilex: fix the parents of the psi_ref_clk
    ac99b3aa8375 tools/thermal/tmon: Add cross compiling support
    2daa118a3f7b selftests/ftrace: Fix requirement check of README file
    8248b61b86fb ceph: fix dereference of null pointer cf
    c37085d60634 9p/xen: Fix end of loop tests for list_for_each_entry
    907944851aa0 xen: fix setting of max_pfn in shared_info
    37566a343fe9 powerpc/perf/hv-gpci: Fix counter value parsing
    5f13c8bae824 PCI/MSI: Skip masking MSI-X on Xen PV
    d15554f98597 blk-zoned: allow BLKREPORTZONE without CAP_SYS_ADMIN
    a58f08255490 blk-zoned: allow zone management send operations without CAP_SYS_ADMIN
    c1b249e02a80 btrfs: reset replace target device to allocation state on close
    0901af53da8f btrfs: wake up async_delalloc_pages waiters after submit
    9ac218642dfc io-wq: fix wakeup race when adding new work
    548ee201fb4a io_uring: fail links of cancelled timeouts
    54eb6211b979 io_uring: add ->splice_fd_in checks
    a3ed34bcada5 io_uring: place fixed tables under memcg limits
    5103b733348e io_uring: limit fixed table size by RLIMIT_NOFILE
    ebedb252a47f rtc: tps65910: Correct driver module alias
    44a32dcb2fb5 Linux 5.10.66
    1de280adb209 Revert "time: Handle negative seconds correctly in timespec64_to_ns()"
    f49fd9882f54 Revert "posix-cpu-timers: Force next expiration recalc after itimer reset"
    0daa75bf750c Revert "block: nbd: add sanity check for first_minor"
    d3c3f4e07826 Revert "Bluetooth: Move shutdown callback before flushing tx and rx queue"
    c31c2cca229a Linux 5.10.65
    b216a075a9ab clk: kirkwood: Fix a clocking boot regression
    5866b1175df0 backlight: pwm_bl: Improve bootloader/kernel device handover
    4c00435cb813 fbmem: don't allow too huge resolutions
    34d099a330e7 IMA: remove the dependency on CRYPTO_MD5
    5cc1ee31353b IMA: remove -Wmissing-prototypes warning
    131968998109 fuse: flush extending writes
    8018100c5444 fuse: truncate pagecache on atomic_o_trunc
    a8ca1fba54be ARM: dts: at91: add pinctrl-{names, 0} for all gpios
    c2c7eefc9371 KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter
    bf3622446335 KVM: VMX: avoid running vmx_handle_exit_irqoff in case of emulation
    c06e6ff2fcc3 KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted
    1db337b10d12 KVM: s390: index kvm->arch.idle_mask by vcpu_idx
    dc9db2a2aae4 Revert "KVM: x86: mmu: Add guest physical address check in translate_gpa()"
    c6b42ec1c936 x86/resctrl: Fix a maybe-uninitialized build warning treated as error
    bafece6cd1f9 perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op
    ae95c3a147d5 tty: Fix data race between tiocsti() and flush_to_ldisc()
    4d0e6d6fe4e2 bio: fix page leak bio_add_hw_page failure
    24fbd77d5a0f io_uring: IORING_OP_WRITE needs hash_reg_file set
    656f343d724b time: Handle negative seconds correctly in timespec64_to_ns()
    611b7f9dc9f6 f2fs: guarantee to write dirty data when enabling checkpoint back
    75ffcd85dff5 iwlwifi Add support for ax201 in Samsung Galaxy Book Flex2 Alpha
    3853c0c0703d ASoC: rt5682: Remove unused variable in rt5682_i2c_remove()
    c4f1ad393026 ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
    dc4ff31506f4 octeontx2-af: Set proper errorcode for IPv4 checksum errors
    bf2991f8e783 octeontx2-af: Fix static code analyzer reported issues
    ee485124b7fa octeontx2-af: Fix loop in free and unmap counter
    a67c66c1bb12 net: qualcomm: fix QCA7000 checksum handling
    f96bc82e0348 net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
    5867e20e1808 ipv4: make exception cache less predictible
    8692f0bb2992 ipv6: make exception cache less predictible
    4663aaef24df brcmfmac: pcie: fix oops on failure to resume and reprobe
    e68128e078da bcma: Fix memory leak for internally-handled cores
    26fae720c112 atlantic: Fix driver resume flow.
    cb996dc9f937 ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point()
    baecab8c469f ice: Only lock to update netdev dev_addr
    bd6d9c83f44d iwlwifi: skip first element in the WTAS ACPI table
    4c4f868082ed iwlwifi: follow the new inclusive terminology
    5c305b90d8a1 ASoC: wcd9335: Disable irq on slave ports in the remove function
    729a459efd30 ASoC: wcd9335: Fix a memory leak in the error handling path of the probe function
    9c640a2bb551 ASoC: wcd9335: Fix a double irq free in the remove function
    8446bb0ff1d0 tty: serial: fsl_lpuart: fix the wrong mapbase value
    9ee4ff8cbe39 usb: bdc: Fix a resource leak in the error handling path of 'bdc_probe()'
    4d2823abd1fe usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available
    86b79054d76b usb: ehci-orion: Handle errors of clk_prepare_enable() in probe
    f0bb63127354 i2c: xlp9xx: fix main IRQ check
    7ac3090e0123 i2c: mt65xx: fix IRQ check
    6c4857203ffa CIFS: Fix a potencially linear read overflow
    b0491ab7d4c7 bpf: Fix possible out of bound write in narrow load handling
    cfaefbcc6bc4 mmc: moxart: Fix issue with uninitialized dma_slave_config
    ced0bc748185 mmc: dw_mmc: Fix issue with uninitialized dma_slave_config
    8a9f9b97558e mmc: sdhci: Fix issue with uninitialized dma_slave_config
    dd903083cbe4 ASoC: Intel: Skylake: Fix module resource and format selection
    b0159dbd1dd6 ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
    7934c79fb0ed ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373
    56d976f45000 rsi: fix an error code in rsi_probe()
    110ce7d256a3 rsi: fix error code in rsi_load_9116_firmware()
    b4bbb77d886b gfs2: init system threads before freeze lock
    ee029e3aa129 i2c: hix5hd2: fix IRQ check
    d36ab9b3ee49 i2c: fix platform_get_irq.cocci warnings
    187705a4b1fa i2c: s3c2410: fix IRQ check
    3913fa307a33 i2c: iop3xx: fix deferred probing
    50e6f34499a5 Bluetooth: add timeout sanity check to hci_inquiry
    cc59ad70cfb6 lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQ
    9295566a136c mm/swap: consider max pages in iomap_swapfile_add_extent
    a9c29bc2a578 usb: gadget: mv_u3d: request_irq() after initializing UDC
    b2f4dd13b211 firmware: raspberrypi: Fix a leak in 'rpi_firmware_get()'
    60831f5ae6c7 firmware: raspberrypi: Keep count of all consumers
    5c68b7795b4c i2c: synquacer: fix deferred probing
    f577e9f58ff0 clk: staging: correct reference to config IOMEM to config HAS_IOMEM
    5ae5f087c9d6 arm64: dts: marvell: armada-37xx: Extend PCIe MEM space
    cb788d698a10 nfsd4: Fix forced-expiry locking
    c9773f42c1de lockd: Fix invalid lockowner cast after vfs_test_lock
    2600861b9069 locking/local_lock: Add missing owner initialization
    d5462a630f7d locking/lockdep: Mark local_lock_t
    22b106df73c6 mac80211: Fix insufficient headroom issue for AMSDU
    0ad4ddb27e2b libbpf: Re-build libbpf.so when libbpf.map changes
    494629ba62a9 usb: phy: tahvo: add IRQ check
    46638d6941ee usb: host: ohci-tmio: add IRQ check
    4b7874a32ec2 PM: cpu: Make notifier chain use a raw_spinlock_t
    471128476819 Bluetooth: Move shutdown callback before flushing tx and rx queue
    d993a6f137ec samples: pktgen: add missing IPv6 option to pktgen scripts
    2c0b826f4a79 devlink: Clear whole devlink_flash_notify struct
    2aa3d5c9e19e selftests/bpf: Fix test_core_autosize on big-endian machines
    c03bf1bc84ea usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse
    eabbb2e8cc41 usb: phy: twl6030: add IRQ checks
    fa5dbfd53982 usb: phy: fsl-usb: add IRQ check
    99ad1be3e9cb usb: gadget: udc: s3c2410: add IRQ check
    0a7731458968 usb: gadget: udc: at91: add IRQ check
    27f102bcee52 usb: dwc3: qcom: add IRQ check
    c4e0f54a56d0 usb: dwc3: meson-g12a: add IRQ check
    96ba1e20e252 ASoC: rt5682: Properly turn off regulators if wrong device ID
    1a2feb23043b ASoC: rt5682: Implement remove callback
    628acf6ee2f1 net/mlx5: Fix unpublish devlink parameters
    fe6322774ca2 net/mlx5: Register to devlink ingress VLAN filter trap
    dbeb4574ddf0 drm/msm/dsi: Fix some reference counted resource leaks
    059c2c09f4b7 Bluetooth: fix repeated calls to sco_sock_kill
    6df58421da13 ASoC: Intel: Fix platform ID matching
    10dfcfda5c6f cgroup/cpuset: Fix violation of cpuset locking rule
    cbc97661439d cgroup/cpuset: Miscellaneous code cleanup
    974ab0a04fe6 counter: 104-quad-8: Return error when invalid mode during ceiling_write
    c158f9b23279 arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7
    7125705623f9 drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs
    a6e980b110d2 drm/msm/mdp4: move HW revision detection to earlier phase
    90363618b552 drm/msm/mdp4: refactor HW revision detection into read_mdp_hw_revision
    416929eaf44e selftests/bpf: Fix bpf-iter-tcp4 test to print correctly the dest IP
    d6337dfd1e77 PM: EM: Increase energy calculation precision
    5014a8453f02 Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow
    afffa7b4c6e4 debugfs: Return error during {full/open}_proxy_open() on rmmod
    17830b041534 soc: qcom: smsm: Fix missed interrupts if state changes while masked
    b8361513ac76 bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstring
    cd6008e31af0 PCI: PM: Enable PME if it can be signaled from D3cold
    3890c6e1da31 PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently
    eda4ccca906f media: venus: venc: Fix potential null pointer dereference on pointer fmt
    519ad41a0989 media: em28xx-input: fix refcount bug in em28xx_usb_disconnect
    a7dd8b778a4d leds: trigger: audio: Add an activate callback to ensure the initial brightness is set
    917191d582f9 leds: lt3593: Put fwnode in any case during ->probe()
    eef8496579de i2c: highlander: add IRQ check
    11dd40c18918 net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set()
    b376ae5597fc devlink: Break parameter notification sequence to be before/after unload/load driver
    9fa9ff10408f arm64: dts: renesas: hihope-rzg2-ex: Add EtherAVB internal rx delay
    e4da0e0006f9 arm64: dts: renesas: rzg2: Convert EtherAVB to explicit delay handling
    61b1db235868 Bluetooth: mgmt: Fix wrong opcode in the response for add_adv cmd
    bca46d228393 net: cipso: fix warnings in netlbl_cipsov4_add_std
    b6b5dc12bd7c drm: mxsfb: Clear FIFO_CLEAR bit
    1a0014c1c62c drm: mxsfb: Increase number of outstanding requests on V4 and newer HW
    46f546394063 drm: mxsfb: Enable recovery on underflow
    e0f3de1573fd cgroup/cpuset: Fix a partition bug with hotplug
    7a0b297480dd net/mlx5e: Block LRO if firmware asks for tunneled LRO
    c40ed983b874 net/mlx5e: Prohibit inner indir TIRs in IPoIB
    a11fc1cd8a31 ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
    2e68547e99a7 ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
    0d40e59c03b8 ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
    eda87dd4738a ARM: dts: meson8: Use a higher default GPU clock frequency
    a7d0a59e21ef tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos
    1f60072320b5 drm/amdgpu/acp: Make PM domain really work
    c7ebd3622bf8 6lowpan: iphc: Fix an off-by-one check of array index
    def6efdf91e7 Bluetooth: sco: prevent information leak in sco_conn_defer_accept()
    e9a62740876b media: atomisp: fix the uninitialized use and rename "retvalue"
    b0e87701b813 media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
    c062253748d8 media: rockchip/rga: fix error handling in probe
    dc49537334a7 media: rockchip/rga: use pm_runtime_resume_and_get()
    94d6aa2b871f media: go7007: remove redundant initialization
    ffd9c8cecbad media: go7007: fix memory leak in go7007_usb_probe
    fb22665c37b3 media: dvb-usb: Fix error handling in dvb_usb_i2c_init
    6b0fe6953430 media: dvb-usb: fix uninit-value in vp702x_read_mac_addr
    372890e0b41e media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
    83f7297a4af4 ionic: cleanly release devlink instance
    203537ff35ea driver core: Fix error return code in really_probe()
    4225d357bc75 firmware: fix theoretical UAF race with firmware cache and resume
    c4aaad8a3389 gfs2: Fix memory leak of object lsi on error return path
    8c3b5028ec02 libbpf: Fix removal of inner map in bpf_object__create_map
    ffb887c15f7f soc: qcom: rpmhpd: Use corner in power_off
    f32b433d8e25 i40e: improve locking of mac_filter_hash
    5ac21a4e6e85 arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
    a8c1eaed2374 ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi
    6ca0b4089166 libbpf: Fix the possible memory leak on error
    f1673e85254d gve: fix the wrong AdminQ buffer overflow check
    1568dbe8892d drm/of: free the iterator object on failure
    389dfd114780 bpf: Fix potential memleak and UAF in the verifier.
    d4213b709316 bpf: Fix a typo of reuseport map in bpf.h.
    56e5c527cc2e drm/of: free the right object
    38235f195de9 media: cxd2880-spi: Fix an error handling path
    25fbfc31ceec soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
    c391728c9b25 leds: is31fl32xx: Fix missing error code in is31fl32xx_parse_dt()
    d4abb6e14105 media: TDA1997x: enable EDID support
    8ce22f85381f ASoC: mediatek: mt8183: Fix Unbalanced pm_runtime_enable in mt8183_afe_pcm_dev_probe
    3d58f5e83f97 drm/gma500: Fix end of loop tests for list_for_each_entry
    54912723f16b drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()
    1e1423449d1c EDAC/i10nm: Fix NVDIMM detection
    a20e6868cbfc spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible
    e2cb04c61bcf spi: sprd: Fix the wrong WDG_LOAD_VAL
    cd8cca7268a2 regulator: vctrl: Avoid lockdep warning in enable/disable ops
    8665e30317c8 regulator: vctrl: Use locked regulator_get_voltage in probe path
    80b1a70b0450 blk-crypto: fix check for too-large dun_bytes
    ba6e5af621ab spi: davinci: invoke chipselect callback
    c0aec70a256c x86/mce: Defer processing of early errors
    6627be8b36dc tpm: ibmvtpm: Avoid error message when process gets signal while waiting
    bd2028e9e27c certs: Trigger creation of RSA module signing key if it's not an RSA key
    fddf3a72abe1 crypto: qat - use proper type for vf_mask
    e7273d57d2b7 irqchip/gic-v3: Fix priority comparison when non-secure priorities are used
    f1f6d3d2ada8 spi: coldfire-qspi: Use clk_disable_unprepare in the remove function
    4b21d4e820bb block: nbd: add sanity check for first_minor
    31fc50cd93cd clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel
    dde7ff1c1977 lib/mpi: use kcalloc in mpi_resize
    20d84fc59e85 irqchip/loongson-pch-pic: Improve edge triggered interrupt support
    e9a902f88207 genirq/timings: Fix error return code in irq_timings_test_irqs()
    10d3bdd2d578 spi: spi-pic32: Fix issue with uninitialized dma_slave_config
    d4ec971bfa88 spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config
    87aa69aa10b4 block: return ELEVATOR_DISCARD_MERGE if possible
    386850718153 m68k: Fix invalid RMW_INSNS on CPUs that lack CAS
    497f3d9c3f58 rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock
    ea5e5bc881a4 rcu: Add lockdep_assert_irqs_disabled() to rcu_sched_clock_irq() and callees
    527b56d7856f rcu: Fix to include first blocked task in stall warning
    e6778e1b22d0 sched: Fix UCLAMP_FLAG_IDLE setting
    718180c24675 sched/numa: Fix is_core_idle()
    bf4b0fa3a2e2 m68k: emu: Fix invalid free in nfeth_cleanup()
    246c771b8562 power: supply: cw2015: use dev_err_probe to allow deferred probe
    a758b1d4ca20 s390/ap: fix state machine hang after failure to enable irq
    86f9980909f3 s390/debug: fix debug area life cycle
    0980d2b21f4d s390/debug: keep debug data on resize
    0404bf4a660c s390/pci: fix misleading rc in clp_set_pci_fn()
    8b471e72b51e s390/kasan: fix large PMD pages address alignment check
    9d999957cb39 udf_get_extendedattr() had no boundary checks.
    db2f238d8d12 fcntl: fix potential deadlock for &fasync_struct.fa_lock
    349633ed311c crypto: qat - do not export adf_iov_putmsg()
    205cfad5c0ca crypto: qat - fix naming for init/shutdown VF to PF notifications
    c29cc43e30ba crypto: qat - fix reuse of completion variable
    e53575ea28d9 crypto: qat - handle both source of interrupt in VF ISR
    9819975c636c crypto: qat - do not ignore errors from enable_vf2pf_comms()
    6f3c58bd62f2 crypto: omap - Fix inconsistent locking of device lists
    fc4073df2968 libata: fix ata_host_start()
    cf619a528e01 s390/zcrypt: fix wrong offset index for APKA master key valid state
    b4aa00bf8a4d s390/cio: add dev_busid sysfs entry for each subchannel
    d0831db736bb power: supply: max17042_battery: fix typo in MAx17042_TOFF
    5d59f38c6ba5 power: supply: smb347-charger: Add missing pin control activation
    10e759e350d7 nvmet: pass back cntlid on successful completion
    ea4a353c0ef4 nvme-rdma: don't update queue count when failing to set io queues
    5d0f0c3bbe99 nvme-tcp: don't update queue count when failing to set io queues
    591f69d7c415 blk-throtl: optimize IOPS throttle for large IO scenarios
    cf13537be54c bcache: add proper error unwinding in bcache_device_init
    48aa6e4e28c4 isofs: joliet: Fix iocharset=utf8 mount option
    940ac461323e udf: Fix iocharset=utf8 mount option
    4cf1551af31d udf: Check LVID earlier
    3d12ccecfa31 hrtimer: Ensure timerfd notification for HIGHRES=n
    aadfa1d6ca5f hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()
    13ccaef77ee8 posix-cpu-timers: Force next expiration recalc after itimer reset
    8a6c5eec811c EDAC/mce_amd: Do not load edac_mce_amd module on guests
    4b680b3fc6f3 rcu/tree: Handle VM stoppage in stall detection
    1cc05d71f04d sched/deadline: Fix missing clock update in migrate_task_rq_dl()
    104adbffbe4c crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
    ce7f2b516c77 power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors
    3ebd7b38415e sched/deadline: Fix reset_on_fork reporting of DL tasks
    8c4d94db5acd crypto: mxs-dcp - Check for DMA mapping errors
    7bb6302e9d09 regulator: tps65910: Silence deferred probe error
    a85985099644 regmap: fix the offset of register error log
    97bc540bfb61 locking/mutex: Fix HANDOFF condition
    cb83afdc0b86 Linux 5.10.64
    f72fce550709 PCI: Call Max Payload Size-related fixup quirks early
    8c04a16d2037 x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions
    1234849353b0 xhci: fix unsafe memory usage in xhci tracing
    3f7f1baf7045 xhci: fix even more unsafe memory usage in xhci tracing
    30e6e9f8bf2c usb: mtu3: fix the wrong HS mult value
    8a4439aaf4f7 usb: mtu3: use @mult for HS isoc or intr
    147819723c74 usb: mtu3: restore HS function when set SS/SSP
    c75e2fd0d3c5 usb: gadget: tegra-xudc: fix the wrong mult value for HS isoc or intr
    d544c9a2190a usb: host: xhci-rcar: Don't reload firmware after the completion
    c3fd7b0b9aa1 ALSA: usb-audio: Add registration quirk for JBL Quantum 800
    798679af7978 blk-mq: clearing flush request reference in tags->rqs[]
    e51ff3ffc316 netfilter: nftables: clone set element expression template
    36983fc2f87e netfilter: nf_tables: initialize set before expression setup
    3fda454f909c netfilter: nftables: avoid potential overflows on 32bit arches
    cad6239f5080 blk-mq: fix is_flush_rq
    ceffaa61b5bb blk-mq: fix kernel panic during iterating over flush request
    bc1b5c5f3e3b x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gating
    554efc9a6138 Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM"
    d24347e2ff11 tty: drop termiox user definitions
    0757a883b970 net: linux/skbuff.h: combine SKB_EXTENSIONS + KCOV handling
    0b62660c6a33 serial: 8250: 8250_omap: Fix unused variable warning
    7ff0b71b6826 net: kcov: don't select SKB_EXTENSIONS when there is no NET
    c4225992060b mm/page_alloc: speed up the iteration of max_order
    50e56c68e1ef net: ll_temac: Remove left-over debug message
    6e2c4e665623 USB: serial: mos7720: improve OOM-handling in read_mos_reg()
    ddd7e8b7b848 igmp: Add ip_mc_list lock in ip_check_mc_rcu

(From OE-Core rev: 86bfda41a74bd19c22a6294bd080adf17b14c116)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
d27637df53 linux-yocto/5.14: bsp/qemuarm*-gfx: use virtio graphics
Integrating the following configuration change:

  Author: Jon Mason <jdmason@kudzu.us>
  Date:   Thu Sep 16 18:22:33 2021 -0400

      bsp/qemuarm*-gfx: use virtio graphics

      Remove Bochs and start using virtio graphics

      Signed-off-by: Jon Mason <jdmason@kudzu.us>

(From OE-Core rev: a1231dd2f7c6744df843db4283ae72c83e635ede)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
44fa735093 linux-yocto/5.14: update to v5.14.8
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    c34892e1995d Linux 5.14.8
    1236431c8531 drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV
    bef2b32a1490 selinux,smack: fix subjective/objective credential use mixups
    dcd45a08b9a6 io_uring: fix off-by-one in BUILD_BUG_ON check of __REQ_F_LAST_BIT
    d1217e40d082 cifs: properly invalidate cached root handle when closing it
    cacfce79af9b sched/idle: Make the idle timer expire in hard interrupt context
    affd236df3e8 rtc: rx8010: select REGMAP_I2C
    46384252a8f4 blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for multiple_queues
    a3330c1c8319 blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
    2ab96bfe3201 block: genhd: don't call blkdev_show() with major_names_lock held
    e2860e2175c0 nvmet: fixup buffer overrun in nvmet_subsys_attr_serial()
    da6643141740 pwm: stm32-lp: Don't modify HW state in .remove() callback
    2c92f9e8e039 pwm: rockchip: Don't modify HW state in .remove() callback
    f53bd7fe1bf6 pwm: img: Don't modify HW state in .remove() callback
    ddd8601dd853 habanalabs: cannot sleep while holding spinlock
    f621eeead8d6 habanalabs: add "in device creation" status
    836c0806500d habanalabs: fix mmu node address resolution in debugfs
    46d712b46080 habanalabs: add validity check for event ID received from F/W
    350b2f2b1f2a drm/amdgpu: fix fdinfo race with process exit
    25b4e51e2333 drm/amd/display: Fix memory leak reported by coverity
    682645659796 drm/amdgpu: Fixes to returning VBIOS RAS EEPROM address
    d5b10c0b4288 habanalabs: fix nullifying of destroyed mmu pgt pool
    d51100f73561 thermal/drivers/rcar_gen3_thermal: Store TSC id as unsigned int
    0ea5f803c39d nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
    7797daf14c3f nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
    6e17978ca9b8 nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
    90b8f51480a4 nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
    e005476348f9 nilfs2: fix NULL pointer in nilfs_##name##_attr_release
    255c3bfa2826 nilfs2: fix memory leak in nilfs_sysfs_create_device_group
    0e78f3da8e58 btrfs: fix lockdep warning while mounting sprout fs
    ebed7d89e54c btrfs: delay blkdev_put until after the device remove
    13d4c38e5c51 btrfs: update the bdev time directly when closing
    e0f8639c87e1 s390/unwind: use current_frame_address() to unwind current task
    31db9b13e54e ceph: lockdep annotations for try_nonblocking_invalidate
    6ca3781b4664 ceph: remove the capsnaps when removing caps
    8e46eccfc10f ceph: request Fw caps before updating the mtime in ceph_write_iter
    8e4e080b2be0 ceph: fix memory leak on decode error in ceph_handle_caps
    abae6b3bab39 ACPI: PM: s2idle: Run both AMD and Microsoft methods if both are supported
    417cd319e998 ASoC: audio-graph: respawn Platform Support
    0a96c9734bd8 s390: add kmemleak annotation in stack_alloc()
    5c9fc5418714 dmaengine: xilinx_dma: Set DMA mask for coherent APIs
    996a4337be96 dmaengine: ioat: depends on !UML
    964a98344922 cxl/pci: Introduce cdevm_file_operations
    e921d59a75c7 cxl: Move cxl_core to new directory
    786c11aebd4f dmaengine: sprd: Add missing MODULE_DEVICE_TABLE
    70100a0fb72d dmaengine: idxd: depends on !UML
    4d74704a3975 riscv: dts: microchip: mpfs-icicle: Fix serial console
    f8d2c2cfbff3 of: property: Disable fw_devlink DT support for X86
    f7525b4c5d40 drm/ttm: Fix a deadlock if the target BO is not idle during swap
    3a4a126d3515 arm64: mm: limit linear region to 51 bits for KVM in nVHE mode
    4ca60140f83e iommu/vt-d: Fix a deadlock in intel_svm_drain_prq()
    cab628d695ab iommu/vt-d: Fix PASID leak in intel_svm_unbind_mm()
    f74210e642c8 iommu/amd: Relocate GAMSup check to early_enable_iommus
    2d0bfe7e6f5d parisc: Move pci_dev_is_behind_card_dino to where it is used
    9a9d2fb4995a dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER
    7eb2c8604702 dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
    0a1b8623d10c drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()
    52cf80714d50 drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform
    654b40ff096e thermal/core: Fix thermal_cooling_device_register() prototype
    57df1f724b35 tracing/boot: Fix to loop on only subkeys
    59faa7816df1 tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh
    bdf3f584913c Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH
    71f9ab9c157c init: move usermodehelper_enable() to populate_rootfs()
    4abef9e11035 math: RATIONAL_KUNIT_TEST should depend on RATIONAL instead of selecting it
    7e68a2bd2169 SUNRPC: don't pause on incomplete allocation
    bf55b052cfeb s390/entry: make oklabel within CHKSTG macro local
    674534e6327e platform/chrome: cros_ec_trace: Fix format warnings
    c3315f6436e7 platform/chrome: sensorhub: Add trace events for sample
    0e53af9116e4 dmaengine: idxd: clear block on fault flag when clear wq
    ecf3158aad68 dmaengine: idxd: fix abort status check
    858343654607 dmaengine: idxd: fix wq slot allocation index check
    6c578df6fdd9 dmaengine: idxd: have command status always set
    acf769fe268d dmanegine: idxd: cleanup all device related bits after disabling device
    81680e81b71a pwm: mxs: Don't modify HW state in .probe() after the PWM chip was registered
    1c90a357cef4 pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered
    ec33d4bcec80 ceph: cancel delayed work instead of flushing on mdsc teardown
    02006feaf26f thermal/drivers/qcom/spmi-adc-tm5: Don't abort probing if a sensor is not used
    04864f20674f PM: sleep: core: Avoid setting power.must_resume to false
    07906d13ba6b profiling: fix shift-out-of-bounds bugs
    ada62fe1bdbc nilfs2: use refcount_dec_and_lock() to fix potential UAF
    154d764b1f82 prctl: allow to setup brk for et_dyn executables
    861006fa37d8 pwm: ab8500: Fix register offset calculation to not depend on probe order
    bc013a3943af 9p/trans_virtio: Remove sysfs file on probe failure
    e0e873820b55 thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
    61c87f0674e5 n64cart: fix return value check in n64cart_probe()
    8843c3dc1ad2 staging: rtl8723bs: fix wpa_set_auth_algs() function
    24a026e4ae1d perf tools: Allow build-id with trailing zeros
    60a830dc0a2b perf symbol: Look for ImageBase in PE file to compute .text offset
    d4e7c85ae25f perf test: Fix bpf test sample mismatch reporting
    b005ce62b39c dmaengine: acpi: Avoid comparison GSI with Linux vIRQ
    e0291e6fb03d RDMA/mlx5: Fix xlt_chunk_align calculation
    e00e0ed534a2 RDMA/hns: Enable stash feature of HIP09
    6909fa41fbd4 um: virtio_uml: fix memory leak on init failures
    dc25d3bebac1 coredump: fix memleak in dump_vma_snapshot()
    069c28830690 um: fix stub location calculation
    5cd412eda5d6 staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb()
    f59fcad27535 console: consume APC, DM, DCS
    fb28e3d5d0d8 PCI: aardvark: Fix reporting CRS value
    952d4ed0bd65 PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
    56c0ace445bd Linux 5.14.7
    a7593244dc31 s390/bpf: Fix branch shortening during codegen pass
    6a8787093b04 s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant
    7a31ec4d215a s390/bpf: Fix optimizing out zero-extensions
    10203c14d608 net: dsa: bcm_sf2: Fix array overrun in bcm_sf2_num_active_ports()
    45c0e1ee3e9f bnxt_en: Fix error recovery regression
    47b119613dcf net: renesas: sh_eth: Fix freeing wrong tx descriptor
    45f8ba56d4dd cxgb3: fix oops on module removal
    dc2ebd4105b0 mfd: lpc_sch: Rename GPIOBASE to prevent build error
    4666248379e9 ip6_gre: Revert "ip6_gre: add validation for csum_start"
    9ae3fccac631 bnxt_en: Fix possible unintended driver initiated error recovery
    05935d1da3c7 bnxt_en: Fix asic.rev in devlink dev info command
    a4dc86f679b2 bnxt_en: fix stored FW_PSID version masks
    c70b2b2ca0c0 net: dsa: b53: Fix IMP port setup on BCM5301x
    4bf5d5224ffc ip_gre: validate csum_start only on pull
    faa3bd11de91 iwlwifi: pnvm: Fix a memory leak in 'iwl_pnvm_get_from_fs()'
    b5fe5a750923 iwlwifi: move get pnvm file name to a separate function
    2b6c8100c693 qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
    ec5150055362 fq_codel: reject silly quantum parameters
    7d0458a67e6d netfilter: socket: icmp6: fix use-after-scope
    864251f26753 mptcp: Only send extra TCP acks in eligible socket states
    bd65986f3e2d net: dsa: b53: Set correct number of ports in the DSA struct
    7c5800c3cab8 net: dsa: b53: Fix calculating number of switch ports
    98641c732e95 net: hso: add failure handler for add_net_device
    5d37e739f531 selftests: mptcp: clean tmp files in simult_flows
    e35820fb5641 mptcp: fix possible divide by zero
    122a20d062e8 tools build: Fix feature detect clean for out of source builds
    e67dcd6556fa net: dsa: tag_rtl4_a: Fix egress tags
    fcf7264e8714 io_uring: retry in case of short read on block device
    e7009e8ecdf6 gpio: mpc8xxx: Use 'devm_gpiochip_add_data()' to simplify the code and avoid a leak
    450adfabe059 gpio: mpc8xxx: Fix a potential double iounmap call in 'mpc8xxx_probe()'
    8c7ba0ec7c45 gpio: mpc8xxx: Fix a resources leak in the error handling path of 'mpc8xxx_probe()'
    17bf84a9e8a2 perf bench inject-buildid: Handle writen() errors
    20e60bf86492 perf unwind: Do not overwrite FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64}
    82d7271c9ead perf config: Fix caching and memory leak in perf_home_perfconfig()
    eb15078cd848 ARC: export clear_user_page() for modules
    6989067d55cd mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()'
    08a901da171d watchdog: Fix NULL pointer dereference when releasing cdev
    59aba0148404 PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n
    638fb35ca3e4 PCI/PTM: Remove error message at boot
    b3c9eff1a853 KVM: arm64: Handle PSCI resets before userspace touches vCPU state
    bd5ad57a4dc7 KVM: arm64: Fix read-side race on updates to vcpu reset state
    7655140eda86 mtd: mtdconcat: Check _read, _write callbacks existence before assignment
    5cd5c566aaf3 mtd: mtdconcat: Judge callback existence based on the master
    a452dc09a5a6 tracing/boot: Fix a hist trigger dependency for boot time tracing
    3be43a9ac4a9 mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
    1104ea6b8e2a PCI: Fix pci_dev_str_match_path() alloc while atomic bug
    619b6ad1b135 KVM: arm64: Restrict IPA size to maximum 48 bits on 4K and 16K page size
    39880692657c netfilter: nft_ct: protect nft_ct_pcpu_template_refcnt with mutex
    408c5b7081b1 PCI: iproc: Fix BCMA probe resource handling
    43f59fff1fdf PCI: of: Don't fail devm_pci_alloc_host_bridge() on missing 'ranges'
    b4ae6f96d7db PCI: controller: PCI_IXP4XX should depend on ARCH_IXP4XX
    86bfda3f6cb5 backlight: ktd253: Stabilize backlight
    31c16809d0bc mfd: axp20x: Update AXP288 volatile ranges
    eb3eeb317385 net: phylink: add suspend/resume support
    54f62219145c stmmac: dwmac-loongson:Fix missing return value
    a308deafe4e3 NTB: perf: Fix an error code in perf_setup_inbuf()
    9c787064f0a8 NTB: Fix an error code in ntb_msit_probe()
    23edad31b827 ethtool: Fix an error code in cxgb2.c
    0fc65686c1de loop: reduce the loop_ctl_mutex scope
    b1438181dcee PCI: ibmphp: Fix double unmap of io_mem
    88013a0c5d99 block, bfq: honor already-setup queue merges
    488e251c6987 net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920
    2bbf4c40bfb2 flow: fix object-size-mismatch warning in flowi{4,6}_to_flowi_common()
    2a2ada738da6 Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6
    1680812a0f7d octeontx2-af: Add additional register check to rvu_poll_reg()
    ed0f3b99c5a1 watchdog: Start watchdog in watchdog_set_last_hw_keepalive only if appropriate
    a1d4322f6782 PCI: Add ACS quirks for Cavium multi-function devices
    a87aa051d7bd PCI: j721e: Add PCIe support for AM64
    1def82a63892 PCI: j721e: Add PCIe support for J7200
    06ef79094f16 PCI: cadence: Add quirk flag to set minimum delay in LTSSM Detect.Quiet state
    cdade20269a4 PCI: cadence: Use bitfield for *quirk_retrain_flag* instead of bool
    53347ed7cc2e tracing/probes: Reject events which have the same name of existing one
    86ddc7397906 KVM: arm64: Make hyp_panic() more robust when protected mode is enabled
    35f2ecc7a6e5 riscv: fix the global name pfn_base confliction error
    f9910fae78de PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe()
    24bc88f6d28e mfd: Don't use irq_create_mapping() to resolve a mapping
    2edfc28e4a80 PCI: tegra: Fix OF node reference leak
    119f11c0a5fd PCI: tegra194: Fix MSI-X programming
    2338e1b02584 PCI: tegra194: Fix handling BME_CHGED event
    cba893f7193a fuse: fix use after free in fuse_read_interrupt()
    bd95a58ccd96 PCI: Add ACS quirks for NXP LX2xx0 and LX2xx2 platforms
    6bd777c9cece mfd: db8500-prcmu: Adjust map to reality
    28fd51c13227 remoteproc: qcom: wcnss: Fix race with iris probe
    65fa28b7695f dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation
    d49e2c649480 mlxbf_gige: clear valid_polarity upon open
    0cacc8c5f8b8 net: dsa: flush switchdev workqueue before tearing down CPU/DSA ports
    3e8418e36177 blkcg: fix memory leak in blk_iolatency_init
    2990e56bb82c nvme: avoid race in shutdown namespace removal
    0eb2133475b4 net: hns3: fix the exception when query imp info
    cd0015a07cf7 net: dsa: lantiq_gswip: Add 200ms assert delay
    a4604b3cde1c net: dsa: qca8k: fix kernel panic with legacy mdio mapping
    d2a6d9c240e5 ice: Correctly deal with PFs that do not support RDMA
    084ba1ace0b9 net/mlx5e: Fix mutual exclusion between CQE compression and HW TS
    080ce6343eff Drivers: hv: vmbus: Fix kernel crash upon unbinding a device from uio_hv_generic driver
    4664ad853f4b net: stmmac: platform: fix build warning when with !CONFIG_PM_SLEEP
    dbf905bcd28a net: hns3: fix the timing issue of VF clearing interrupt sources
    39da2bc7e5ac net: hns3: disable mac in flr process
    6f3d5ea0f817 net: hns3: change affinity_mask to numa node range
    ab73511cb258 net: hns3: pad the short tunnel frame before sending to hardware
    acd97a2a900b bnxt_en: make bnxt_free_skbs() safe to call after bnxt_free_mem()
    da15ae0968fa s390/pci_mmio: fully validate the VMA before calling follow_pte()
    722ee4b29a59 powerpc/mce: Fix access error in mce handler
    31f2beef3ef1 powerpc/64s: system call rfscv workaround for TM bugs
    9151f0bdc3a1 KVM: PPC: Book3S HV: Tolerate treclaim. in fake-suspend mode changing registers
    d5bf0fd8f4d1 ibmvnic: check failover_pending in login response
    e7b260fd7309 dt-bindings: arm: Fix Toradex compatible typo
    322b40b5094e udp_tunnel: Fix udp_tunnel_nic work-queue type
    2a791fa9de15 qed: Handle management FW error
    01d935828325 selftest: net: fix typo in altname test
    88ed682408f1 tcp: fix tp->undo_retrans accounting in tcp_sacktag_one()
    e50f1df204d5 x86/uaccess: Fix 32-bit __get_user_asm_u64() when CC_HAS_ASM_GOTO_OUTPUT=y
    893124376b0a net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setup
    43867a55875e net/af_unix: fix a data-race in unix_dgram_poll
    178c282e543f vhost_net: fix OoB on sendmsg() failure.
    e8f84d205910 gen_compile_commands: fix missing 'sys' package
    b5663238281f net: ipa: initialize all filter table slots
    bb84e79f4f79 events: Reuse value read using READ_ONCE instead of re-reading it
    398026b3e1fe powerpc/64s: system call scv tabort fix for corrupt irq soft-mask state
    ae66447e9959 nvme-tcp: fix io_work priority inversion
    48e04f88a216 igc: fix tunnel offloading
    2283da2a64fb net: stmmac: fix system hang caused by eee_ctrl_timer during suspend/resume
    c29323ea0eb6 net/mlx5: Fix potential sleeping in atomic context
    31aec563de90 net/mlx5: FWTrace, cancel work on alloc pd error flow
    bef2db97a77c perf machine: Initialize srcline string member in add_location struct
    a628e6c8eaa7 drm/i915/dp: return proper DPRX link training result
    80e336d29217 rtc: cmos: Disable irq around direct invocation of cmos_interrupt()
    bc9299c5270f drm/rockchip: cdn-dp-core: Make cdn_dp_core_resume __maybe_unused
    2926d3827105 tipc: increase timeout in tipc_sk_enqueue()
    3433e7d135de r6040: Restore MDIO clock frequency after MAC reset
    6e4a2519c912 net/l2tp: Fix reference count leak in l2tp_udp_recv_core
    51f7b364a2d1 dccp: don't duplicate ccid when cloning dccp sock
    3e811a5c96fa ptp: dp83640: don't define PAGE0
    9ac80ef7cc41 net-caif: avoid user-triggerable WARN_ON(1)
    1f2f637b31e5 net/{mlx5|nfp|bnxt}: Remove unnecessary RTNL lock assert
    a2db1c64f2ce net: remove the unnecessary check in cipso_v4_doi_free
    35ee11c8f438 ethtool: Fix rxnfc copy to user buffer overflow
    ba099fe50c0a tipc: fix an use-after-free issue in tipc_recvmsg
    54089df947b0 x86/mce: Avoid infinite loop for copy from user recovery
    d6d35beff5d4 x86/mm: Fix kern_addr_valid() to cope with existing but not present entries
    388e1fd62e8c x86/pat: Pass valid address to sanitize_phys()
    6ed2d5e30cf4 net: qrtr: revert check in qrtr_endpoint_post()
    2aeb3cfb82ae s390/sclp: fix Secure-IPL facility detection
    3405e0d5e4a3 drm/etnaviv: add missing MMU context put when reaping MMU mapping
    ac533196011b drm/etnaviv: reference MMU context when setting up hardware state
    3e8cfbab6c8b drm/etnaviv: fix MMU context leak on GPU reset
    4ad4e5f3f20a drm/etnaviv: exec and MMU state is lost when resetting the GPU
    c80772895cc0 drm/etnaviv: keep MMU context across runtime suspend/resume
    18e0930dd776 drm/etnaviv: stop abusing mmu_context as FE running marker
    d73f98558f4a drm/etnaviv: put submit prev MMU context when it exists
    3ea21946ba7b drm/etnaviv: return context from etnaviv_iommu_context_get
    dc1fd142dcf2 drm/i915/dp: Use max params for panels < eDP 1.4
    d717dcf122ea io_uring: allow retry for O_NONBLOCK if async is supported
    3704a556158e drm/radeon: pass drm dev radeon_agp_head_init directly
    fe232886fb71 drm/amdkfd: separate kfd_iommu_resume from kfd_resume
    815cf7b38a1c drm/amd/pm: fix the issue of uploading powerplay table
    413a8644966a drm/amdgpu: move iommu_resume before ip init/resume
    64ca7170c9b1 drm/amdgpu: add amdgpu_amdkfd_resume_iommu
    2a0dfd8e2878 drm/amdgpu: fix use after free during BO move
    05e7e2d760aa drm/amdgpu: use IS_ERR for debugfs APIs
    ab55e44ea8dc drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
    deeb5db10001 drm/amd/pm: fix runpm hang when amdgpu loaded prior to sound driver
    05a19da7efcd drm/amd/display: Fix white screen page fault for gpuvm
    c6d921d1e88c drm/amd/display: dsc mst 2 4K displays go dark with 2 lane HBR3
    c5548625a758 drm/amd/display: Get backlight from PWM if DMCU is not initialized
    73892cbd7c88 PCI: Add AMD GPU multi-function power dependencies
    0b4547d3ee46 PM: base: power: don't try to use non-existing RTC for storing data
    06cd58aa18f2 arm64/sve: Use correct size when reinitialising SVE state
    5c687b528a92 bnx2x: Fix enabling network interfaces without VFs
    6860535176f2 xen: fix usage of pmd_populate in mremap for pv guests
    93ce214dc0c4 xen: reset legacy rtc flag for PV domU
    90b2c99e4769 swiotlb-xen: fix late init retry
    4eb05451173e swiotlb-xen: avoid double free
    71e32edd2210 io_uring: ensure symmetry in handling iter types in loop_rw_iter()
    1e93a76c6995 net: stmmac: fix MAC not working when system resume back with WoL active

(From OE-Core rev: cb2b0a78feed4e4ad5db2b0aafa37b39ac358b11)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
6625b75c99 linux-yocto/5.14: scripts/gcc-plugins: consistently use HOSTCC
Integrating the following commit(s) to linux-yocto/5.14:

    724df5812165 scripts/gcc-plugins: consistently use HOSTCC

(From OE-Core rev: c849a0695b0f1b1708dd7519e5f39654598663ed)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Konrad Weihmann
2be47ef344 libical: fix append in DEPENDS
fix the append with a leading blank, otherwise this messes up
DEPENDS when globally inherited classes add dependecies of their own

(From OE-Core rev: 65aa0e61d613bf395c08636bac0b1a3d080778b8)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Richard Purdie
80f2b56ad8 reproducible_build: Work around caching issues
SOURCE_DATE_EPOCH can be expanded early in the parsing process before
the class extensions are applied. This can mean the directory pointed
to for the SDE can be incorrect until later in parsing. Cache the file
name in the cached value and allow it to dynamically update.

This isn't ideal but avoding expansion of the variable likely isn't
possible and I'm not sure how else to handle this. This works around
the issue until a better solution can be found.

(From OE-Core rev: 44dc97cd1223e4d2b635669627ec5f796838d42d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:54 +01:00
Richard Purdie
a26db5c944 abi_version/sstate: Bump HASH_VERSION and SSTATE_VERSION
At this point the hash equivalence and sstate is 'junk' on the autobuilder
unforuntately due to the volume of fixes and also the volume of slighly
not quite right patches tested during the development of the fixes.

In order to try and help any remaining sanity I might have, bump the
version numbers to start with a clean slate so we're working from a known
good baseline rather than risk chasing phantom issues. For those
upgrading, there wouldn't be much reuse anyway after the changes.

(From OE-Core rev: be32692c627a14509de5eb3834e7321c3c5faf25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:54 +01:00
Richard Purdie
1c37bbab4f image-artifact-names: Use SOURCE_DATE_EPOCH when making reproducible builds for deploy
Using DATETIME means the do_deploy output is not deterministic. Use SDE
when using reproducible builds since it is consistent for given input data.

(From OE-Core rev: 0e2fbdb32bae67e71e904a036a38395efb6ec6a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:54 +01:00
Richard Purdie
58298e9717 python3: Drop broken pyc files
The underlying py files are editted so delete the now incorrect pyc files.

(From OE-Core rev: c4a6d4bfb34a2dd9c50859d5b8bd9c6fe227ca81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:54 +01:00
Richard Purdie
86c7d3e031 sstatesig: Add processing for full build paths in sysroot files
Some files in the populate_sysroot tasks have hardcoded paths in them,
particularly if they are postinst-useradd- files or crossscripts.

Add some filtering logic to remove these paths.

This means that the hashequiv "outhash" matches correcting in more
cases allowing for better build artefact reuse.

To make this work a new variable is added SSTATE_HASHEQUIV_FILEMAP
which maps file globbing to replacement patterns (paths or regex)
on a per sstate task basis. It is hoped this shouldn't be needed
in many cases. We are in the process to developing QA tests which
will better detect issues in this area to allow optimal sstate
reuse.

(From OE-Core rev: d9852ffbbe728dac33dc081538a08af98f52fd4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:53 +01:00
Richard Purdie
0b4198eeac externalsrc: Fix a source date epoch race in reproducible builds
When reproducible builds are enabled and externalsrc is in use, the
source date epoch function is added. The conditions on the conditional
code removing the unpack task need to match the deltask function, else
the source date epoch function can end up running twice and the functions
can race with each other causing build failures or corruption.

(From OE-Core rev: e82095c02881410035ca23dc12692f074d8ed39b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:53 +01:00
Richard Purdie
aedb8d58ea bitbake.conf: Set vardepvalue for PARALLEL_MAKEINST
If you leave PARALLEL_MAKEINST at its default from PARALLEL_MAKE,
sstate checksums are fine and don't change as the number of cores do.
If you override it to a specific value, this does the cause the sstate
checksums to change. We don't want the checksums to change if the
value of this variable differs.

Therefore set a vardepvalue so a specific value is used for checksum
purposes.

(From OE-Core rev: 0a20d7f462b42800a8420dbb57e6ac8b84770b39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:53 +01:00
Kristian Klausen
b8c0f073f6 wic/bootimg-efi: Add Unified Kernel Image option
"A unified kernel image is a single EFI PE executable combining an EFI
stub loader, a kernel image, an initramfs image, and the kernel command
line.

[...]

Images of this type have the advantage that all metadata and payload
that makes up the boot entry is monopolized in a single PE file that can
be signed cryptographically as one for the purpose of EFI
SecureBoot."[1]

This commit adds a create-unified-kernel-image=true option to the
bootimg-efi plugin for creating a Unified Kernel Image[1] and installing
it into $BOOT/EFI/Linux/ with a .efi extension per the the Boot Loader
Specification[1][2]. This is useful for implementing Secure Boot.

systemd-boot is the only mainstream bootloader implementing the
specification, but GRUB should be able to boot the EFI binary, this
commit however doesn't implement the necessary changes to the GRUB
config generation logic to boot the Unified Kernel Image.

[1] https://systemd.io/BOOT_LOADER_SPECIFICATION/#type-2-efi-unified-kernel-images
[2] https://systemd.io/BOOT_LOADER_SPECIFICATION/

(From OE-Core rev: b0573f240525df561ddef6e47cb285b217d38487)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:53 +01:00
Richard Purdie
75b79d5c05 bitbake: data: Ensure functions are defined in a deterministic order
When writing functions into shell scripts, write then in a deterministic
order. This is unlikely to affect anything at runtime but it does change
the signatures of the generated useradd postinst scripts in OE-Core and is
a good thing to be consistent about in general.

(Bitbake rev: 8a181dc8f3c8c9c9885ea3011cb234321a296d92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-03 00:37:27 +01:00
Richard Purdie
1b3415acd2 sstatesig: Revert "Test cross/native hashserv method extension"
This reverts commit 2a76082363d189880613765ad339718e3614049d.

We have an issue where x86 host builds are not matching hashes with
aarch64 host builds. We'd expect that for a given target, the target
artefacts should work regardless of the host architecture, compiler
version etc. but this isn't happening and the hashes are differing.
This is due to issues from hash equivalence.

I believe the commit being reverted was added as a test and there were
other fixes at the time which resolved these issues.

As illustration of that, different gcc versions are not cauing issues
with hash equivalence. That should be similar to the aarch64 case vs.
x86-64 and hence if we're not seeing gcc verison issues, we also don't
need this special case. As such, revert it as we don't need it and it
is in fact breaking sstate reuse cross platform.

[YOCTO #14578]

(From OE-Core rev: be67dc551ca15a6f19855e8e99848aab2a33800d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
830059cdeb image: Exclude IMAGE_VERSION_SUFFIX from expansion in image tasks
Similarly to DATETIME, exclude IMAGE_VERSION_SUFFIX from expansion in
image tasks to ensure the sstate signatures are calculated correctly.

(From OE-Core rev: ceabe8b89f8a0b75d22a286e6f86d260f7e2fd3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
6a276318af oeqa/selftest/bbtests: Add uuid to force build test
With hash equivalence working properly, this test breaks as it detects
an unchanged tasks and doesn't rerun subsequent tasks.

Add a uuid to the payload to ensure it doesn't ever match
equivalence and the test works as intended.

(From OE-Core rev: d19873b6b5d0068f857a8f9f3686729ba4e67f0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
089b8d3e7e gobject-introspection: Don't write $HOME into scripts
Writing an expanded version of $HOME into the wrapper script breaks
reproducibility. We don't need this here so don't.

(From OE-Core rev: 5df092524e93cd7d0eaa633ec8a5689d4c0d018d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
0e7806771e libtool: Allow libtool-cross to reproduce
The hostname removal from the script is useful to make libtool-cross
reproduce. Apply the patch everywhere as it doesn't cause any issues.

(From OE-Core rev: 3c61c6f20187154d677085fc9ccdcd762d4cdf3a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
3539c214dd util-linux: Fix reproducibility
Sort the list of files to ensure the pkgdata output is deterministic.

(From OE-Core rev: 82e683f8f9ae630dea46ec6be6e636e498579835)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
86125379b2 mesa: Ensure megadrivers runtime mappings are deterministic
Add a sort to ensure the package dependency output is determnistic.

(From OE-Core rev: 693e8d0dfe0b475bc233ccc1ad7674d39de346ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
9f0b69e91c gnupg: Be deterministic about sendmail
Set a path to where sendmail would exist making the output deterministic
as it no longer depends on the build host and the presense of sendmail
there.

(From OE-Core rev: 32e03a430f13960fe07f08c04eaa58017d977f6c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
a543230b34 package: Ensure pclist files are deterministic and don't use full paths
Currently the pkgconfig pclist files contain full paths which are build
host specific and the order of entries is not deterministic.

Fix both these issues so the files are deterministic.

(From OE-Core rev: e422e29bca4af3ab4073e04490f38b05cd7c38c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
b6e74ba64e rpm: Ensure compression parallelism isn't coded into rpms
We don't want the compression thread numbers to be encoded into the rpm
since this results in the rpm not being deterministic. Add a patch
from Alex Kanavin which addresses this issue (was queued for rpm 4.17
but we need to fix this with 4.16 too).

(From OE-Core rev: 1ba0bf50c72f2506dfa507559c49a70e16cd5124)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Robert P. J. Day
6c29f198d9 overview-manual: delete bad backslashes in SSTATE_MIRRORS example
Two inappropriate backslashes in the example for setting
SSTATE_MIRRORS are apparently the result of an error by the
transmogrification script for migrating XML to rST.

(From yocto-docs rev: 9cff301a768b248f19fc1d5834f04d3defffcbc7)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Daniel Wagenknecht
b82097b9c0 ref-manual: add note about license implications of bundled initramfs
Ensure users are aware that usage of INITRAMFS_IMAGE_BUNDLE is only
appropriate for use with GPLv2 compatible software.

(From yocto-docs rev: ecf4582b454aa301905f0f9e3c6f5adb98dc1991)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Daniel Wagenknecht
b0eedf4dca common-tasks: add note about license implications of bundled initramfs
Ensure users are aware that usage of INITRAMFS_IMAGE_BUNDLE is only
appropriate for use with GPLv2 compatible software.

(From yocto-docs rev: 1859654663ebb3b051fb6c4da4dc76f0dd46c47c)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Robert P. J. Day
65cfd937a2 ref-manual: mention INHIBIT_PACKAGE_DEBUG_SPLIT variable
Following a detailed discussion of PACKAGE_DEBUG_SPLIT_STYLE, it seems
only appropriate to refer the reader to INHIBIT_PACKAGE_DEBUG_SPLIT.

(From yocto-docs rev: d12a6149ed9ec4a5f7c47f4a8c0330c6024c9de5)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Quentin Schulz
f25e408268 ref-manual: fix missed override syntax change
Cc: Quentin Schulz <foss@0leil.net>
(From yocto-docs rev: 527e885fa9beedbdcf9942d0d227862af55fcc40)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Robert P. J. Day
b6b6e81db1 ref-manual: extend explanation of PACKAGE_DEBUG_SPLIT_STYLE
The current explanation of this variable seems incomplete, so be a
bit more verbose to make sure the reader understands the packaging
possibilities.

(From yocto-docs rev: 1914705f062b232c10624c11fc85935cc454d2eb)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Thomas Perrot
aeb712ebb0 ruby: fix the reproducibility issue
Apply some changes on the Ruby makefiles in order to fix the reproducibility:
- use a fixed timestamp,
- sort linked objects,
- doesn't use the current date,
- and use UTC date.

[YOCTO #14268]

(From OE-Core rev: 59b07ab51ff932a4632a31675445ba4192bae36b)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
Joshua Watt
3115aa157d python3: Fix sysroot reproducibility
Fixes the reformatting of the sysconfigdata to be reproducible in the
sysroot as well as in the package. During this a bug was uncovered in
the way that the data was reformatted where it appears that python
cannot parse a single line of code over 40000 characters. To work around
this, pass a maximum with of "1" to pprint instead of sys.maxsize which
will cause it to wrap as often as possible and should keep it
reproducible.

(From OE-Core rev: 2def2c145c303f27d93ba73876d4c6b214f18166)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
wangmy
cf08db9f83 strace: upgrade 5.13 -> 5.14
Improvements

Implemented decoding of memfd_secret and quotactl_fd syscalls, introduced in Linux 5.14.
Enhanced prctl syscall decoding.
Enhanced decoding of IFLA_* netlink attributes.
Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes.
Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*, and UFFD_* constants.
Updated lists of ioctl commands from Linux 5.14.
Bug fixes

Fixed build using bionic libc.

(From OE-Core rev: bca3d163d9ed804b4c734ac8fe4fa96e1d05906d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
Thomas Perrot
c619d748ab libevent: mark util/monotonic_prc_fallback as retriable
Backport a patch to fix the below ptest failure:
 # ./run-ptest
 Running tests:
 EVPORT
 Skipping test
 KQUEUE
 Skipping test
 EPOLL
 test-eof: OKAY
 test-dumpevents: OKAY (output not checked)
 regress:
  FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback:
  [monotonic_prc_fallback FAILED]
 1/312 TESTS FAILED. (33 skipped)
 FAILED
 regress_debug:
  FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback:
  [monotonic_prc_fallback FAILED]
 1/312 TESTS FAILED. (33 skipped)
 FAILED
 [snip]

(From OE-Core rev: edecbbdacab5227c75e4a199e124389f8036b421)

[YOCTO #14507]

(From OE-Core rev: cae0eb03e8e754bd77651fc017b2669f8fd57f75)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
Kristian Klausen
3ac9722e0f ovmf: add TPM PACKAGECONFIG and enable if tpm is in MACHINE_FEATURES
By enabling TPM support the boot will be measured into the TPM's
Platform Configuration Registers (PCRs).

(From OE-Core rev: e71280883c217d86b4636da6e549334183f1aff7)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
Chandana kalluri
327ea9d446 scriptutils.py: Add check before deleting path
Add a check before deleting path when using recipetool commands to avoid the following type of errors:

Traceback (most recent call last):
   File "<workdir>/sources/core/scripts/lib/scriptutils.py", line 218, in fetch_url
    shutil.rmtree(path)
  File "/usr/local/lib/python3.7/shutil.py", line 476, in rmtree
    onerror(os.lstat, path, sys.exc_info())
  File "/usr/local/lib/python3.7/shutil.py", line 474, in rmtree
    orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '<workdir>/build/tmp/work/recipetool-usg7o81n/work/recipe-sysroot'
ERROR: Command 'script -e -q -c "recipetool --color=always create --devtool -o /tmp/devtool5sq_op37 'file:///<SRCTREE>'  -x <workdir>/build/workspace/sources/devtoolsrcxc1b9zjq -N test" /dev/null' failed

(From OE-Core rev: b6aa8b47e023004ffd6958d1cec18c2d9c95d77b)

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
Minjae Kim
59a0f26b8a vim: fix CVE-2021-3778
vim is vulnerable to Heap-based Buffer Overflow

reference:
65b6056659
(From OE-Core rev: 494929c4cec21712884e13172c37efad7c908411)

(From OE-Core rev: d7fac573f1e1c9cd93181bce60df5666f5b5b03f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-29 21:47:46 +01:00
Anibal Limon
35b8966e61 recipes-support/ptest-runner: Bump to v2.4.2
Changes,

bcb8280 utils.c: add system data collection when a test gets stuck.
c29240c utils.c: handle test timeouts directly with poll()
d6f509f tests/utils.c: fix a memory corruption in find_word
c10e747 main: Do not return number of failed tests when calling ptest-runner
4958988 utils.c: fix memory leak in run_ptests()
fcfa6a1 clang: clean-ups to avoid -Weverything warnings.
215e52d Makefile: allow using CC env var to pick compiler
fdd233d mem: Simplify memory management
e5e218a mem: Fix memleak for ptest_opts
0dc42eb git: Extend the gitignore

(From OE-Core rev: 710fa373375beb977af704e17a925ed41c9a858d)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-29 21:47:45 +01:00
William A. Kennington III
3af6389ece rm_work.bbclass: Fix for files starting with -
This makes it possible to name files starting with a hyphen in the work
directory. Without this change rm will fail due to an unexpected option
being passed.

(From OE-Core rev: 5f1a63e0de4921ef970114a16d0827fcddcdaa0e)

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Joshua Watt
17bd442f1a lib/oe/spdx.py: Add comments
Adds several comments to this file to explain the intention and how it
should be used

(From OE-Core rev: 0be0ba70e68b57a3617d3c1ea4b6233b37d5d648)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Saul Wold
6d98af48f4 create-spdx: Use SPDXAnnotation to track native recipes
Create a small function that checks for 'isNative' as part of an Annotation

When the collect_dep_sources() runs, it collects sources from both native
and non-native recipes. Later when the GENERATED_FROM matching occurs it
may find the file (via checksum) from the native recipe since it's the
same checksum as the target file. The that are generated DocumentRefs
point to the native recipe rather than the target recipe DocumentRef.

(From OE-Core rev: ba5ec03986a0bce8dccbc381fd34e44b8a135e66)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Saul Wold
859e6a0d00 spdx.py: Add SPDXAnnotation Object
This is added to allow the create-spdx code to create annotations
that store values properly according to the SPDX Specification.

Initialy they will be used to track if a recipe is a native type.

(From OE-Core rev: 8db551bba619f3b3612c59270043148214a462cc)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Kenfe-Mickael Laventure
64ebd0d97c package_ipk: Use localdata store when signing packages
When signing a package, we were resolving the `PKGV` version using the
original data store (`d`). However, since that store does not have the
package name in its `OVERRIDES` list the wrong version can be returned in
recipes that produce multiple packages. One such example would be
`external-arm-toolchain.bb`.

The above issue is fixed by using `localdata` instead of `d` when
resolving the needed variables.

(From OE-Core rev: 2b5f01cf5a92a873ac4c3f0ba0584cab2cc05714)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@verkada.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Saul Wold
0e80ffc6c8 spdx-licenses.json: Use 3.14 tagged version
The validation tools expect the licenseListVersion to be a proper X.Y version,
not an intermedite git hash version.

(From OE-Core rev: b96bb3fe6e17a194db0dcb86d2877946eaa77341)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Richard Purdie
da9409d26e glew: Stop polluting /tmp during builds
Currently the glew code creates a new directory in /tmp for each make
invocation. This is a bit ugly, don't do that. The patch does break the
dist targets but we don't use them.

(From OE-Core rev: 3a55194f90e11da5671b24391a4aaf2b86a8e1e6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Trevor Woerner
4ba745f828 hello-mod/hello.c: convert printk to pr_xxx
Convert to the newer pr_xxx aliases for logging, which embed the log level in
the macro names.

(From OE-Core rev: be119ead6d5bb01a50f78fd34024ded1289c9fd7)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Rasmus Villemoes
165b089a7d kernel.bbclass: remove unnecessary dead code
The grep pattern seems to have been wrong ever since we stopped adding
the -ffile-prefix-map via a patch in commit 20aea61385e, because the
actual upstream gcc produces

  -ffile-prefix-map=<old>=<new>

and not

  -ffile-prefix-map=<old=new>

Besides, these *-prefix-map options are already used when building the
kernel due to the setting of KERNEL_CC, and the kernel build system
itself also probes for and uses at least -fmacro-prefix-map (hence
taking care of __FILE__ etc., but not necessarily things that go in
.debug_info sections).

(From OE-Core rev: 5d56de8cd653d2a3a7f4c104d50c14e22d412f66)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Michael Halstead
0afeb9f740 releases: update to include 3.1.11
Adding 3.1.11 to documentation switcher and release list.

(From yocto-docs rev: 29fb29547322520698b13a4d7c94dbb8defa93b1)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 07:49:57 +01:00
Richard Purdie
a3d96f122c oeqa/selftest/tinfoil: Update to use test command
We've had IO load issues on the autobuilder with this test. Avoid
those by using a specilised test command instead.

(From OE-Core rev: 106445b1eb74fc37e03c72a0c011541b50a16c19)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Markus Volk
37b4fa7a10 wic:direct.py: ignore invalid mountpoints during fstab update
wic fstab-update creates invalid entries for partitons that are not supposed to
be mounted from userspace eg u-boot partitions.

The following lines were added to fstab on a rock-pi-4:
/dev/mmcblk1p1 loader1 vfat defaults 0 0
/dev/mmcblk1p2 reserved1 vfat defaults 0 0
/dev/mmcblk1p3 reserved2 vfat defaults 0 0
/dev/mmcblk1p4 loader2 vfat defaults 0 0
/dev/mmcblk1p5 atf vfat defaults 0 0
/dev/mmcblk1p6 /boot vfat defaults 0 0

With this patch only valid entries should be added
/dev/mmcblk1p6 /boot vfat defaults 0 0

(From OE-Core rev: 7aa678ce804c21dc1dc51b9be442671bc33c4041)

Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
c4f0ccb561 libc_package/buildstats: Fix python regex quoting warnings
(From OE-Core rev: 6a8077317ce12e13018ec4472f728dd24880bda9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
694a1ae8f8 oeqa/buildproject: Ensure temp directories are cleaned up
(From OE-Core rev: d10aff865120a5feecc42c24726bd119364e0188)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
4252b89865 oeqa/selftest/gotoolchain: Fix temp file cleanup
The go tests leave readonly files and directories behind.
Fix this to allow cleanup.

[YOCTO #14575]

(From OE-Core rev: 5680e95d7bd9fe00a797b2d0deb8cb4790027508)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
2446bdf59a bitbake: cooker/command: Add a dummy event for tinfoil testing
We need a command genetating an event to test through the tinfoil API. The
current test has IO load issues so add a dummy version which won't have
the IO constraints.

(Bitbake rev: a144178584394ea0700ffc2f2bfac94e8690effc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
72e03d8a91 bitbake: siggen: Fix sorting in diff output
The diff output isn't deterministic at the moment as the sets can have differing
ordering. Sort the output so it is consistent.

(Bitbake rev: 117830c1d7ef3e53052fa326e1ca62c5c3946c45)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:37:34 +01:00
Richard Purdie
eab1c2087f bitbake: bitbake-worker: Allow shutdown/database flush of pseudo server at task exit
We have a problem where pseudo server processes exist after bitbake exits
and hold the pseudo database in memory. In a docker container, the processes
will be killed as the container is destroyed with no warning and no opportunity
to write the data to disk. This leads to permissions/inode corruptions and
data loss.

Send a shutdown message to pseudo which in new versions of pseudo will flush
the database, thereby fixing some of the issues people using docker containers
see.

(Bitbake rev: a07a971b40acd3eee12e203d2cfa3e49f56109f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:37:34 +01:00
Bruce Ashfield
2692037fec yocto-bsp/5.13: drop recipes
5.13 has been removed from core, and we've moved the default
support to 5.14, so we can drop our bbappend.

(From meta-yocto rev: 5cb9ef98c90321ae5d57123d82b68f14e6c85f39)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:37:05 +01:00
Richard Purdie
4e5321e4bb packagegroup-core-tools-profile: Exclude systemtap from riscv32 as well
The recipe can't be built for riscv32 so exclude it alongside riscv64.

(From OE-Core rev: 61feb650ac450db0a30675fc40bb65fab773159a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Matt Madison
d6a0c61432 autotools.bbclass: use ordinary append for file-checksums update
Commit 29daffc2410f06f36b779d5bf1fd1ef6e900ca8f added an
anonymous python function to append the site file dependencies
for do_configure. This causes any recipe that inherits allarch
after autotools to end up with a different set of file checksums
for each machine, since the anonymous python would get processed
before the TARGET_ARCH changes in allarch.

Use an ordinary += assignment to fix this.

(From OE-Core rev: 60af398f520c938600205ef40e27f90e5342209c)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Richard Purdie
a6f6bcb9db pseudo: Add in ability to flush database with shutdown request
Pulls in:
  pseudo_db: Flush DB if there is a shutdown request
  fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ (test fix)

(From OE-Core rev: 0882095d608ce3abbcc9814517434c21ea549063)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Richard Purdie
1d2e3d006a oeqa/qemurunner: Use oe._exit(), not sys.exit()
sys.exit will cause finally statements and other code to run at exit. Since
we're using os.fork() here, os._exit() is apprioriate in this codepath.

(From OE-Core rev: ec08498ff29de9ccd23be88b9d7af3dab6bbb81e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Tom Pollard
24a32132a5 libsamplerate0: Set correct soname for 0.1.9
Manually patch SHARED_VERSION_INFO, which was missed in
the 0.1.9 release and later incorrectly fixed until 0.2.1

(From OE-Core rev: cb2e8efd316d44b9b1453882114856e0eb7b3500)

Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Tom Pollard
7f66855d11 bzip2: Update soname for libbz2 1.0.8
Set shared library name as libbz2.so.1.0.8, version in configure.ac
already synced via do_configure PV substitution.

(From OE-Core rev: 07e3abc9d282a54add69a6905ec4248f3104219f)

Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Bruce Ashfield
8bcec870b4 linux-yocto/5.13: drop recipes
5.13 is EOL upstream, and we've moved to 5.14 for the release, so
we drop the versioned recipes. The kernel tree and branches will
stay available for use, but other layers must create recipes if
they wish to continue with 5.13.

(From OE-Core rev: b08456824ce5d8701ddd2db0be3f8f2f4894853c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Bruce Ashfield
b5fba5026b lttng-modules: fix build against 5.15+
When testing linux-yocto-dev 5.15-rc, lttng-modules fails to build.
Upstream already has fixes for 5.15 in the release branch, so we
backport the two patches here and we can drop them on the next version
bump.

(From OE-Core rev: af17b507009be14d6f7069d39feb1fbd7563471d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Bruce Ashfield
7b39470660 lttng-modules/dev-upstream: update to 2.13-latest
To ensure we can build against 5.15, and to keep in sync with the
versioned recipe, we bump to the latest commit on the 2.13 release
branch.

(From OE-Core rev: 1317bd6f92f32444301c5f6cf0c98e7a64e92f66)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Bruce Ashfield
eb61ab4088 linux-yocto-dev: update to v5.15-rcX
The main reference kernel has moved to 5.14, so we bump -dev to
5.15 for the release.

(From OE-Core rev: 36e3ae14af7df8584063e5aac4fa32a57542c3a3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Kiran Surendran
bcf0b25248 ffmpeg: fix CVE-2021-38171
backport from upstream

(From OE-Core rev: 3cb40cabc79e4c9b4ffaf99543368b0c57d18df1)

Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Yi Zhao
eafac9940a inetutils: fix CVE-2021-40491
CVE-2021-40491:
The ftp client in GNU Inetutils before 2.2 does not validate addresses
returned by PASV/LSPV responses to make sure they match the server
address. This is similar to CVE-2020-8284 for curl.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-40491

Patch from:
https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=58cb043b190fd04effdaea7c9403416b436e50dd

(From OE-Core rev: 1b857807f1cf8fee3175f8479a0c7cb1850bd9a9)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 12:05:03 +01:00
Kevin Hao
06dcace68b meta-yocto-bsp: Update the default kernel to v5.14
Introduce the bbappend for v5.14 and also set the default kernel to
v5.14 for all the boards.

(From meta-yocto rev: bed70a64b5b772fd71a7ff88a9f3719082e9398c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:29 +01:00
Bruce Ashfield
414c5f1103 poky: set default kernel to 5.14
both -rt and -standard have been updated to 5.14, so we switch out
defaults.

(From meta-yocto rev: 952a771f5707d9e84beee6195b7a3cfb3a930702)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:29 +01:00
Bruce Ashfield
c744decea1 conf/machine: bump qemu preferred versions to 5.14
5.14 is the latest reference kernel, so let's make it the
default.

(From OE-Core rev: af19c44c4af68568de2ddb5c11d8ad34ac600522)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:28 +01:00
Bruce Ashfield
99fcf48327 systemtap: update to 4.5-latest
To fix issues with 5.14+ kernels, we bump to the latest 4.5 systemtap.
This means that we can drop a backported patch, and we pickup the
following changes:

    7f6992539 Correct RISC-V handling of SDT markers and document their format.
    2dfd140fd Fix races in perf probe task finder callback
    f463f6053 The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")'
    0bd97a806 Use task_state tapset function to avoid task_struct changes
    4996a29c6 tapset: start adopting kernel netif_* tracepoints in netdev.* tapset
    fb0851e62 dwflpp.h: add conditional EM_RISCV define
    c5599df8e Add dwarfless register access for RISC-V
    33d861435 Add bactrace support for RISC-V
    2ae3fc866 RISC-V dwarf register number to pt_reg mappings
    3df603720 Eliminate the sa_restorer field in sigaction struct for RISC-V.
    a6aff9d33 Avoid generating problematic asynchronous unwind tables on RISC-V
    a463860c3 Add RISC-V 64-bit processor support
    8486fd78d Add the actual RISC-V syscall-number mappings to the tapsets.
    1e383aa38 Add creation of mappings between syscall names and numbers for RISC-V
    aedb2dbe7 RISC-V doesn't have crash available, disable it for rpmbuilds.
    33a9bf1a1 Update to newer config.guess to support RISC-V
    3bca17469 Use lex_cast instead of to_string when shortening function names.
    0b5bc934a Revert "runtime: unregister the control channel before cleaning up"
    166a95089 runtime: fix panics when polling on the control channel while unloading
    e6a1b008b Shorten function names that will exceed the kernel's objtool limit of 128
    4f54ba033 runtime/transport: add a comment blurb for ordering invariant at shutdown
    dbe08f1ac runtime: unregister the control channel before cleaning up
    798a67290 bpf pr23478 :: test non-unique key/val iteration
    079f5d708 bpf pr23478 :: test multi-key associative array iteration
    70b24879d rhbz1938312: un-disable bpf.exp after kernel bugfix
    2896d6f5a pr23478 WIP: fixes for existing foreach testcases
    0d1a38dbc pr23478 WIP: rework bpf foreach to handle multi-key array
    14a2c8f54 Run task_fd_lookup.exp with --compatible 4.0
    f2c147767 PR28184: Adapt to kernel rename __fcheck_files to files_lookup_fd_raw
    0581a6560 PR28184: Adapt to kernel rename __fcheck_files to files_lookup_fd_raw
    559fd51fe testsuite: time-limit auxiliary child processes
    5d89bb03e stapbpf bugfix: missing in_block() in try-catch code
    04b43f48f releng: ditch custom pie/ssp CFLAGS engine in configure.ac
    b47d03c20 PR28079: Adapt to kernel 5.14 task_struct.__state change
    e66f3a83b runtime: adapt to -Werror=implicit-fallthrough=5, dyninst runtime
    ea00c1070 PR28140: kernel 5.14-rc adaptation, jump_label_patch
    ffb0a38ea runtime: adapt to -Werror=implicit-fallthrough=5
    efba2178f Revert to using test_tsk_thread_flag for uprobes2
    23db8b29f PR27984: Adjust the address so dwfl_module_addrinfo finds correct function name
    a29f65d57 PR28079: Adapt to kernel 5.14 task_struct.__state change
    2f7e966c0 testsuite item typo fix
    5abb4d130 PR27934: give fuller diagnosis for pass-5 probe-registration errors
    371805aa0 PR27820 tapset/bpf/logging.stp: implement abort() tapset function
    ee361f183 PR27820 tapset/bpf/logging.stp: move bpf versions of functions
    968173f7f runtime: linux 5.14 compat: <linux/panic_notifier.h>
    ef5a8b9ed runtime: fix unintended compile error with autoconf-x86-uniregs.c
    84ef6bd9f Revert "systemtap.spec: don't buildrequire emacs"
    65fc44163 spin-rawhide: ok tweak the git-archive top level path too
    c7f1c12e1 spin-rawhide: switch to ~ versioning for Source: file names too
    bff2b2ff5 spin-rawhide: switch to ~ versioning for n-v-r
    7c2751e37 task_finder_vma: add autoconf check for hlist_add_tail_rcu()
    ea7c27bbe Don't fail vma tracking mmap callback if module is already known.
    2eb7fdfdb Use the path instead of the module for vma tracking mmap callback.
    a5104a612 update READMEs + man pages for freenode -> oftc move
    23c351645 Update list of reasons for latencytap.stp example
    5409ddea1 rhbz1972805: add basic syscall-in-ptregs support for s390x
    0fc73fc4e systemtap.spec: don't Require: libvirt
    515a6a2d6 rhbz1972828: tapsets: iommu tracepoints
    eaf63df6a ppc64 runtime: FULL_REGS() gone
    757d4f654 c++ buildability: util.cxx - unique_ptr
    1a6e7aea7 systemtap.spec: don't buildrequire emacs
    5ff28c970 Allow for adjacent segments belonging to different modules.
    b1e8cd5de Note that Python is a requirement.
    27115ab4c Get the enumerator's enumeration type
    1288bee31 testsuite/systemtap.base/perf.sh drop bashism
    4755bc453 Add hlist macros for use by hlist_add_tail_rcu
    bccf5123f parse.cxx: Initialize functioncall synthetic field
    9bbee6518 Add hlist_add_tail_rcu for rhel 6.
    630e406b8 Don't assume ISO C99
    4a3ad3532 Extend vma mapped entries when the address is adjacent.
    294b7a53e stap-prep: switch to using main vmlinuz file as debuginfod test download
    643351d22 PR27903: grok more glibc dwarf
    3a843482a c++11 hygiene: use cxx_override macro for pre-4.7 g++
    3e9bcd7b1 Fix more -Wformat-nonliteral and -Wmismatched-tags when compiling with clang
    8e5145ae4 dtrace: Use -o option to specify output file for CPP
    b3a392975 Fix -Wformat-nonliteral and -Wformat warnings with clang
    545535f82 Fix -Woverloaded-virtual warnings when building with clang
    0f4bd3219 set2: Return this from assignment operator
    6de815bca Add missing copy constructors to set1_ref and set1_const_ref
    930b54119 Add some override specifiers where missing
    14f04522b util.cxx: Use abs() instead of labs()
    13016e9dd systemtap.spec: python3 tweaks
    494ece199 PR27864: tolerate loc_unavailable during loc2c transform
    e8f5c058f autoconf: version bumps for the next release-4.6
    77abac91d version bumps for the next release-4.6
    0eba8a46b NEWS: release-4.5

(From OE-Core rev: aa27c2e7570f229bf82f18cf07aae93ba96ca9f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:28 +01:00
Bruce Ashfield
073321803b linux-yocto: introduce 5.14 reference kernel
Each release of the kernel is not typically used as a versioned
reference kernel, but since 5.13 has gone EOL upstream and was
never part of a release, we take the opportunity to udpate our
reference to 5.14.

5.13 will be removed in subsequent commits, once all dependent
BSPs and layers have been updated.

No issues were found across all architectures, images in qemu
boot testing.

(From OE-Core rev: 634760461542a14bbf3625ff12393dc7428f6001)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:28 +01:00
Bruce Ashfield
f66dbd933d libc-headers: bump to v5.14
The reference kernel is moving to 5.14, and 5.13 is EOL upstream, so
we update the libc-headers to match.

No patch issues were found for musl or glibc.

(From OE-Core rev: 3cdaf2cb64303bc58ab8be40fce4091b5a7809b4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:28 +01:00
Changqing Li
fc0e7347f7 lttng-ust: fix do_compile error when PACKAGECONFIG examples is enabled
when PACKAGECONFIG enabled examples, compile failed with error:
fix below compile error during PACKGAGECONFIG examples is enabled:
tmp/work/corei7-64-wrs-linux/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/11.2.0/ld: warning: liblttng-ust-common.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
tmp/work/corei7-64-wrs-linux/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/11.2.0/ld: warning: liblttng-ust-tracepoint.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)

(From OE-Core rev: 907ebb5bb3d44dd5f68deb238098fb6f6413e2d4)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:53 +01:00
Richard Purdie
d08c9290e8 oeqa/selftest: Add tests for bitbake shell/python task output
We've seen issues where shell/python tasks lose their log file entries
or output and also where output is duplicated. Add some tests to attempt
to spot regressions in this area in future.

(From OE-Core rev: 414020a9bd656ee61efe2f47db1b31d86b15c1c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:53 +01:00
Richard Purdie
7d0437c4e8 bitbake: build: Fix log flushing race
There is a race between sending the TaskFailed event which could trigger
the UI to look at the logs and flushing and closing the log files.

Reverse the order of the finally clause and the exception handling
to ensure we've handled the logfiles before sending the task events.

This should fix a race seen in bblogging.BitBakeLogging.test_python_exit_logging

(Bitbake rev: 032190aac31604d37740d8aecf6e74a5448de358)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:08 +01:00
Richard Purdie
3d06c164dd bitbake: build: Make exception printing clearer
Shows:

ERROR: SystemExit(1)

instead of:

ERROR: 1

(Bitbake rev: df89e37c33e4398a5f8ece9a8b973be3fe2ff361)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:08 +01:00
Richard Purdie
8f1c2f851a bitbake: build: Ensure python stdout/stderr is logged correctly
Currently we see things like:

Log data follows:
| DEBUG: Executing python function do_pythontest_exit
| DEBUG: Python function do_pythontest_exit finished
| ERROR: 1
| This is python stdout

Whilst after the change we see things like:

Log data follows:
| DEBUG: Executing python function do_pythontest_exit
| This is python stdout
| DEBUG: Python function do_pythontest_exit finished
| ERROR: 1

since the output is now correctly mixed with the log messages. In some cases the logging
tests indicate the output is being lost entirely which is bad for debugging and makes
things rather confusing.

(Bitbake rev: 8966b43761500e0505333d8c9a3f0f2c3dbe7559)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:08 +01:00
Richard Purdie
10e7310730 ssate: Cleanup directtasks handling
There are several tasks which should only be triggered by direct
dependencies. Some are listed in the dep loop, some are not. They
should all be in both cases.

Fix this by making a list and using the list in both cases to fix
various inconsistencies.

(From OE-Core rev: 29d285bc07bd7732c7ea39c0fd03c0b3c0d93e52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:52:08 +01:00
Richard Purdie
fb69823486 sstate: Avoid deploy_source_date_epoch sstate when unneeded
This sstate task is only needed when depended upon, it can be skipped
if there are no tasks running that directly depend upon it.

This reduced the number of sstate tasks in something like an image
build.

(From OE-Core rev: 601cee016da5c7505915e26641a085714de175ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:52:08 +01:00
Richard Purdie
1d394c64f5 sstate: Ensure deploy tasks don't pull in toolchains
If an image is built from sstate, the cross toolchain was being pulled in.
This was due to the sstate dependencies for deploy tasks not being considered
in the "depvalid" logic.

do_deploy tasks do not need their populate_sysroot dependencies when installed
from sstate so skip these. This reduces the sstate pulled in by an image
build from sstate significantly.

(From OE-Core rev: 8047c184f8266fc047c0e5a5524586d414528626)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:52:08 +01:00
Richard Purdie
353171e841 staging: Mark deploy an sstate task
Deploy is a tricky task as it isn't in SSTATETASKS as it isn't always
present. We do need to ensure dependency chains around do_deploy tasks
are correctly handled as sstate tasks though. For now add to the list of
sstate tasks manually (like the other locale task reference).

Without this, missing manifest files could be reported now that do_deploy
tasks no longer have their dependencies added by the depvalid function.

(From OE-Core rev: 1fdbe550323b98ca67ed7130f5a0d7d626bd2c64)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
d19571cefc meta: Drop useless class
This class was added by me back in 2007 and has changed one for a whitespace issue
since. It only has two lines and neither are particularly useful, one was replaced
by the nopackages class, the other adding recursive dependencies also is now
mainly problematic adding tons of unneeded dependencies. The name is hard to
understand and the class doesn't have a clear purpose. Drop it.

Remove the references in devtool (which may be the one reason to keep it around
but in my view still not worth it).

(From OE-Core rev: 6e2cbfc561dac89bf9183d24d90e52f7d9117826)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
8568adfc18 buildtools-tarball/uninative-tarball/meta-ide-support: Drop useless meta class
The class adds an emtpy PACKAGES setting but most code now uses the
nopackages class which is much clearer. It also adds recursive do_build
dependencies which don't really serve any useful purpose any more.

Simplify the code and drop the class use.

(From OE-Core rev: 030d56e2e8ece93472adc51fe467221d846c9ac0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
ad7cdc4f01 populate_sdk_base/images: Drop use of 'meta' class and hence do_build dependencies
The 'meta' is old and not very useful. It empties PACKAGES and creates
recursive do_build dependencies.

We shouldn't need such recursive build dependencies any more so simplify the code.

This does cause behaviour changes as some dependencies are no longer built.
It did show up issues with qemu-helper-native handling for example but those
issues look like real races and the underlying dependency chains were not correct.

'bitbake XXX --runall build' would give the previous behaviour.

(From OE-Core rev: 41d7f1aa2cc9ef5dba4db38435402d4c9c0a63e1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
4aa4eadecb reproducible_build/package_XXX: Ensure SDE task is in dependency chain
(From OE-Core rev: 938e4dfb68a465f61cb754b2cd28d0728616b5a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
568f62214b package_ipk/deb/rpm: Drop recursive do_build task dependencies
This is a controversial change which removes the recursive dependencies
from the do_build target of packaging tasks of recipes.

Currently this means when you "bitbake <image>" or "bitbake <recipe>",
the packaging tasks run for all packaging backends enabled for all recipes
in the dependency chain. The same therefore then applies to images.

We don't actually need that, it is a convinience thing. Removing it
massively simplifies the task graph and causes much fewer tasks to execute
in many common scenarios. It also means less sstate is fetched for
example when building an image.

This means when building a recipe all package formats would be built
but when building an image, only the format used by the image would be
generated. This should be an improvement in most cases but some CI systems
may need to be explict about what they're building.

'bitbake XXX --runall build' would give the previous behaviour.

(From OE-Core rev: 220d29a5abb5be8b80c64d8f2f48949bc8c534a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
3dfd4ed0ef siteinfo/autotools: Ensure task checksums reflect site files
Currently, if you change the site files, nothing rebuilds since they are
not accounted for in task checksums. They could/should be through the
file-checksums task flag. We need to cache all the files looked for,
whether the exist or not so that if they do exist and didn't,
the checksum also changes.

This gets complicated by the need to clean out hardcoded build
paths from the variable and that other layers can have site files.

This patch adds this functionality. A new variable, SITEINFO_PATHVARS
is added which controls which substitutions to make on the file-checksum
values to remove the hardcoded paths. Layers adding site files will need
to set this to a variable that has the layer path in it and is excluded
from task hashes (COREBASE is the one the core layer uses).

This patch will cause yocto-check-layer to fail for some layers
where site files are added yet the layer isn't a machine specific layer.
This is arguable correct since these additional site files apply to
all recipes and things from a layer like core could be changed by such
changes so it is right they should rebuild. There is a determinism issue
potentially there if not. meta-openembedded does have some such references
but looking at them they should move to core or likely just be removed as
most look obsolete anyway.

[YOCTO #13729]

(From OE-Core rev: 29daffc2410f06f36b779d5bf1fd1ef6e900ca8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
282d596b8c image/qemu: Add explict depends for qemu-helper addto_recipe_sysroot task
The populate_sysroot task isn't enough for qemu-helper-native, we need
it's addto_recipe_sysroot task. This corrects what amounts to bad
dependency information to be explicit.

(From OE-Core rev: 55623420208bc4c77a61492d2bbcbc71d3123acd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Khem Raj
bea6a00da3 site: Drop ORBit2 relared cached variables
ORBit2 is long gone

(From OE-Core rev: a5c5dd9229553e0e364f083d661382fe0c15600c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Khem Raj
68be1b4a90 site: Drop caching libIDL_cv_long_long_format
recipe for libidl has long been deleted

(From OE-Core rev: 587d0b51b09cd426dc4b2b7646fa063d10ae4f2f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Steve Sakoman
40c44728ab connman: add CVE_PRODUCT
Upstream database uses both "connman" and "connection_manager" to report CVEs

(From OE-Core rev: eadf7bb17289731be9747822e3d4084ab69cf109)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
d40438e247 scripts/oe-publish-sdk: Disable git gc to avoid build errors
I've puzzled over why I see local eSDK test failures. It is due to having a
messy git tree locally, git then runs git gc in the background which races
against the deletion code for the publish test. Disable git gc to avoid this.

(From OE-Core rev: d938a74097202396beda2e3bb4f582342d6dfa1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
8c5ecd2e21 bitbake: tests/fetch2: Use our own git server for dtc test repo
(Bitbake rev: 36f6dce1b21a7d9f39a73f081395c71045960318)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-22 22:45:24 +01:00
Ross Burton
48587b5e63 oeqa/target/ssh: don't assume target_dumper is set
The target_dumper property is only set by the QemuTarget subclass, so
assign a default value and check it isn't None before calling it.

(From OE-Core rev: add36cf85380bf7dc5339a9d65f951923317440b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
7be05f5228 pybootchart: Avoid divide by zero
Avoid a rare divide by zero error if there isn't data point spread.

[YOCTO #14547]

(From OE-Core rev: d7e36d01e87ddf89f76f164a0b7d98f597a53fa5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Ross Burton
e030167881 libsoup-2.4: remove obsolete intltool dependency
This hasn't been needed since libsoup 2.65.2.

(From OE-Core rev: 250a3f9a804917c8a9427d0209365d27b1b8fa4a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Ross Burton
300b51ac6b shared-mime-info: use a more concise description
For example we don't need to talk about historic build dependencies.

(From OE-Core rev: b67ae98ef803b889fceb5713c539504d48f1a926)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
3f53f869ae cross: Drop unused do_install
All the users of the cross class I could find redefine the do_install
function. It is unusual and likely undesirable for the class to be
changing this from the default and likely a leftover from different
times. Remove it as it isn't doing anything.

[YOCTO #9272]

(From OE-Core rev: 72f0e03a6909e6856510d913863fc9301de32cec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Ross Burton
27024e544b avahi: remove obsolete intltool-native dependency
intltool was replaced with gettext in the 0.8 release.

(From OE-Core rev: 0438c8e73419c0a81bbb42f777eb3e36f4878e79)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Jon Mason
23cf785f0c testimage: remove aarch64 xorg exclusion
aarch64/qemuarm64 has had graphics support for some time.  Remove this
exclusion and allow graphics tests to be against qemuarm64.

(From OE-Core rev: 1b436e4894663fa76865636b0b41c0c1503cc3bf)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Martin Jansa
689097cdf3 qemu-native: add direct dependency on ninja-native and meson-native
* with many native dependencies excluded in:
  layer.conf: Extend recipes not to install without explict dependencies
  this was now failing with:
  ERROR: Cannot find Ninja
  and after adding ninja-native to DEPENDS it was failing due to missing meson as well:
  /OE/build/oe-core/tmp-glibc/work/x86_64-linux/qemu-native/6.0.0-r0/qemu-6.0.0/configure: 6415: --version: not found
  /OE/build/oe-core/tmp-glibc/work/x86_64-linux/qemu-native/6.0.0-r0/qemu-6.0.0/configure: 6418: setup: not found

(From OE-Core rev: 7b2dfb49105e6465c5436869863e6a9720c60bbd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
50c1efdeb9 lttng-tools: Add missing DEPENDS on bison-native
This was being provided by other pieces of the dependency chain but is
specifically required by configure and could fail if those pieces come
from sstate. Fix such builds by adding the missing dependency.

(From OE-Core rev: ba2587beb2a3fb0ef9139f846e161542d2c5c4ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
596cbbf615 recipes: Add missing pkgconfig inherit
Various recipes were missing a pkgconfig inherit or pkgconfig-native
dependency despite using pkgconfig.

Add the inherit to igt-gpu-tools/gdb/libmodulemd/libwpe/xwayland/waffle
shaderc/iputils/wpebackend-fdo/lttng-ust/cargo.

(From OE-Core rev: 777d9744570c2dc119dc5d04985896bbb1da5885)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
e899b2e25b sqlite3: Exclude CVE-2021-36690 from cve checks
Issue is in an experimental extension we don't have/use. Could also
be windows only.

(From OE-Core rev: 6f5770b49f06168e3d6914bd92f0594bd05f1f8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
f84fb1032d libgcrypt: Upgrade 1.9.3 -> 1.9.4
Includes a fix for CVE-2021-40528.

(From OE-Core rev: 24664297abd3844902fa40c21e4e975d89f40383)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
b29863b6ba vim: Backport fix for CVE-2021-3770
(From OE-Core rev: 54d3d023ce55ba4a7160ed25a283f0918e7d8e2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Alexander Kanavin
b0bcf539e9 testimage: symlink the task log and qemu console log to tmp/log/oeqa
This makes it easier for the AB scripts (particularly, collect-results)
to access and archive these items, as they can contain useful information
when ptests or other qemu tests fail (and also if they don't fail).

[YOCTO #14518]

(From OE-Core rev: 1965b344abcff0ba584136f929b4a14645f1585e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
c4fa4f9735 bitbake: fetch2/svn: Allow peg-revision functionality to be disabled
Sometimes the peg revision functionality we use in the svn fetcher is
not the correct option. Add a parameter nopegrevision which can be added
to disable this behaviour.

[YOCTO #6258]

(Bitbake rev: ea26682b706f655a8e418f56bebe742e2d130a1d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
81ace08c7f bitbake: data_smart: Don't add None to ExpansionError varlist
If a "None" value gets into the varlist, it doesn't display properly.
Ensure we don't add one to have the exception display properly.

(Bitbake rev: ee26e258888114143e66330c256b5bfe7d071c53)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
7e680b5e78 bitbake: tests/fetch2: Fix quoting warning
Fix:

lib/bb/tests/fetch.py:1288: DeprecationWarning: invalid escape sequence

for several lines of the fetch tests.

(Bitbake rev: 9d84fd557a3fcbae2cdd70b24e69325ad737a01e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
435bce9bf9 bitbake: fetch2/git: Use os.rename instead of mv
os.rename will overwrite the destination file if present so we can use this
instead of the process call overhead.

(Bitbake rev: b3cccaa6a896c41d8c9be5eebc327f726542d16b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Kai Kang
a0a9df0e8b rust-common.bbclass: make sure ccache exist
It fails to run task rust_create_wrappers of recipe which inherit
rust-common.bbclass such as rust-hello-world if no host ccache exists:

| DEBUG: Executing shell function do_rust_create_wrappers
| /path/to/project/tmp-glibc/work/core2-64-wrs-linux/rust-hello-world/git-r0/temp/run.do_rust_create_wrappers.3422:
    line 179: ccache: command not found

Run task rust_create_wrappers before do_prepare_recipe_sysroot to make
sure required tools such as ccache exist.

(From OE-Core rev: 46575e0d5b9e722558b64e22ed928e6d7b2c654a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Alexander Kanavin
4335ee7063 cpan-base.bbclass: use raw string for regexp
This eliminates a deprecation warning and a future error as stipulated by
https://docs.python.org/3/library/re.html

(From OE-Core rev: 1753a8d8fd2e9d98255beb81428f70cdf3421321)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Alexander Kanavin
2697d3984f wic: keep rootfs_size as integer
The corrected line accidentally converted it to float,
which causes problems later on with python 3.10:

|   File "/home/alex/development/poky/scripts/lib/wic/partition.py", line 278, in prepare_rootfs_ext
|     os.ftruncate(sparse.fileno(), rootfs_size * 1024)
| TypeError: 'float' object cannot be interpreted as an integer

(From OE-Core rev: d1d260dd2d196d10379ed9e238bcb34f39f3a3b7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Alexander Kanavin
5128defbc3 meta: correct collections vs collections.abc deprecation
collections.abc is available since 3.3 and doesn't need special handling.

(From OE-Core rev: 01152c9410ba00274c8415a5d914dc33dfd0cf46)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Claudius Heine
c5d1550fe6 rng-tools: add systemd-udev-settle wants to service
rngd needs to start after `systemd-udev-settle` in order for the kernel
modules of the random source hardware to be loaded before it is started.

However, since the `rngd.service` does not require or want
`systemd-udev-settle.service` it might not be scheduled for start and
the `After=systemd-udev-settle.service` there has no effect.

Adding `Wants=systemd-udev-settle.service` provides a weak requirement
to it, so that the `rngd` is started after it, if possible.

(From OE-Core rev: e9715d4234eb7b45dee8b323799014646f0a1b07)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Jon Mason
7bbd93f8dc machine/qemuarm*: use virtio graphics
Switch to using virtio graphics for the Arm QEMU machines.  You will
noticed the difference in the dmesg by seeing:
[    2.693337] [drm] pci: virtio-gpu-pci detected at 0000:00:10.0

(From OE-Core rev: 961158653170f53de58672e474c41f1533f469fc)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Richard Purdie
025896f5f5 bitbake: cookerdata: Show a readable error for invalid multiconfig name
If a multiconfig starts with a digit, users would see pages of
errors as we use the multiconfig as a python function name prefix
and python functions cannot start with a digit. We could avoid doing
that but it is easier just to ask users to name multiconfigs not
starting with digits.

This tweak ensures the user sees an easier to understand error.

(Bitbake rev: f9cddaeef35b2ea0dadf717101ed896f6b857abd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Alexander Kanavin
2b399a01b5 bitbake: bitbake: enable python warnings at the first opportunity
We really do want to see those, as they tend to turn into
hard errors eventually, as what happened with collections
vs collections.abc in python 3.10.

(Bitbake rev: bc43fbb86361a21dc2d5deb910810c5a77fdabe8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Michael Halstead
ab55ae5d39 releases: update to include 3.3.3
Adding 3.3.3 to documentation switcher and release list.

(From yocto-docs rev: cc88f73ea0e38f536cb3e05b504df80048856a84)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:35:32 +01:00
Robert P. J. Day
f14b77b8ff dev-manual: update output of "wic list images"
Output order from "wic list images" is in different order, and was
missing a couple entries.

(From yocto-docs rev: 7df7356b8a306d7e77f0aab1f443fd1306c25620)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
b7030dd10e dev-manual: emphasize that new layers live outside of poky
Tweak the bblayers.conf example to encourage the reader to appreciate
that any new layers should not share space with the official Poky
checkout.

(From yocto-docs rev: 46931f8497c3c4b874613acbe7c9612944174559)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
badb6c6fb4 ref-manual: update "devtool check-upgrade-status" output
This command now uses "INFO" insted of "NOTES" and output
information in columns. Also good to show more recent
versions of recipes.

(From yocto-docs rev: d875083150ac30b884d823e9f0f568d3a92ddcc1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
6a9e7fb010 ref-manual: improve documentation for RECIPE_NO_UPDATE_REASON
This add a description of this variable to the variable index,
and clarifies the explanations given in the devtool reference
section.

(From yocto-docs rev: 034b976addd0db6da31c4bacdbea21f2d47c00dc)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
6c5986ebfe ref-manual: improve "devtool check-upgrade-status" details
- Mention "devtool latest-version recipe" to process a single version
- Explain that the mechanism is controlled by the UPSTREAM_CHECK*
  variables, which are not referred to anywhere else in the manuals,
  except in the variable index.

(From yocto-docs rev: eded237f1a1ec7df3f9910242bfa4b3818ff3e58)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
b931182b5b ref-manual: remove checkpkg task
It doesn't exist any more and its functionality is now taken care
of by "devtool check-upgrade-status"

(From yocto-docs rev: 9c155e91dc57cb49b97805805e802330188a2c04)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
d6966a39f2 ref-manual: document UPSTREAM_CHECK_COMMITS and UPSTREAM_VERSION_UNKNOWN
(From yocto-docs rev: 99b5fee6295a5c424fdb2cc0b34a4a486d7bf721)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
95866fd533 manuals: delete unmaintained history sections
This deletes the history sections in each sub-manual,
which didn't add any value, given that they didn't list
the changes from one Yocto Project version to the next.

(From yocto-docs rev: 29ce5b89c438079793cc6457401b6a9275db877a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
138219ce3b manuals: replace Freenode by Libera Chat as IRC host
Fixes [YOCTO #14546]
This also replaces the "#poky" channel (inactive)
by "#oe", which is more actively used.

(From yocto-docs rev: 46f98fe4f502aac8b16ba785490e9cf46364e4ec)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Tom Rini
3537849112 common-tasks: Add an example of using bbappends to add a file
Use the xserver-xf86-config_%.bbappend from meta-raspberrypi to provide
an example of having a bbappend file add files to an existing recipe.

(From yocto-docs rev: f510e748ff3bcbea6e34a7f225e05628303fdd12)

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Vyacheslav Yurkov
62b13474bf ref-manual: add overlayfs class
(From yocto-docs rev: 5bd2f3c0bbf4178e381aec2b7de57ef8289c2271)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
70059b37c7 ref-manual: couple minor tweaks to Chapter 1
(From yocto-docs rev: d00282396ddc558bf025a81edc1dad53a814e13a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
2e09b9d8a3 ref-manual: add potential of parallelism to defn of "Task"
(From yocto-docs rev: 2e80de272b987c70374a1758e71c5c1371054d1f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.ṅet>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
a98e336d7d ref-manual: correct typo in "classes" section, "${BPN}/{PV}"
(From yocto-docs rev: 28a72c5a1cc873b455d7854065e1f999e6c5b7a5)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
b16279603f ref-manual: remove mention of obsolete devtool "--any-recipe" option
Running "devtool edit-recipe -h" produces, in part, the output:

  --any-recipe, -a  Does nothing (exists for backwards-compatibility)

so it seems of little value to continue referring to it.

(From yocto-docs rev: fdac1da045e60d37025f754c9b6be5bb36f31c86)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:44 +01:00
Robert P. J. Day
edaaa63664 ref-manual: render options in monospace to show quotes properly
It's important (at least for now) to mark up options with monospaced
font to highlight the difference between single and double quotes.

(From yocto-docs rev: 8d71ffdd3f354747dcade6de512355e8fa567728)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:44 +01:00
Jon Mason
be665a7983 core-image-sato: Fix runqemu error for qemuarmv5
When attempting to execute runqemu on qemuarmv5, the following error is
encountered:

runqemu - ERROR - Failed to run qemu: qemu-system-arm: versatilepb: memory size must not exceed 256MB

To work around this, limit the QB_MEM size for qemuarmv5, similar to
what is being done for qemumips.

(From OE-Core rev: 6450138afebffcc55ab32afadd5fb979274fff2b)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:30:39 +01:00
Jon Mason
c1db4933ce dev-manual: update mailing list address
(From yocto-docs rev: 68e6782c19e9f88c3cd89b4948d22d216e0165b1)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:30:10 +01:00
Richard Purdie
f678c87751 README: Update email address for Bruce
(From meta-yocto rev: 6ed7cd279fdf51dd22edbd923e7456e0afff0918)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:28:39 +01:00
Jon Mason
44ebd57ed1 README: update mailing list address
(From meta-yocto rev: bef9f0bded38964be20c5b9f0d02e4e0fbe22b93)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:28:39 +01:00
Jon Mason
112f5afe8e Update mailing list address
(From OE-Core rev: 83169c33f7585da25560784f79eaad2c6f029f3c)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:27:20 +01:00
Mark Hatle
35d18a3c98 tcf-agent: Move to the latest master version
There has not been a release since 2018, the 1.7.0 release.  A number of
recent improvements around thumb and clang debugging prompted this move
to a newer version.

The patch is no longer necessary as it was a backport patch.

(From OE-Core rev: b98c739aa1204ecd842278a6e36a56243bfbc2a5)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:27:20 +01:00
Konrad Weihmann
2a1743ace5 expat: pull from github releases
sometimes we can find release tarballs from sourceforge are not fully
distributed along all download mirrors leading to fetching faiilures,
depending on what download mirror will be chosen by sourceforge
servers.
As the project moved to github anyway, it's better to pull the tarballs
directly from github releases - serving the very same static artifacts.

Add an override UPSTREAM_CHECK_URI to enable devtool upgrade checks

(From OE-Core rev: 9b5b797b0e9e6f2cb3e29be92c4f9b763c4a41e9)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:27:20 +01:00
Ross Burton
c4bc29f593 ffmpeg: fix LICENSE
Expat isn't a license name we have, use MIT instead.

(From OE-Core rev: b1821691c2d7eafb29cf182fc1f2ec7b0cc8340f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:27:20 +01:00
Valentin Danaila
a4c8d8e21a bitbake: fetch2/s3: allow to switch profile from environment variable
Make usage of Bitbake's s3 fetcher more flexible with different AWS profiles
  and switch between profiles as export of the AWS_PROFILE environment variable

(Bitbake rev: 0f35dc4dfc829fe9c51c239d15567f86c5c14e58)

Signed-off-by: Valentin Danaila <drlv85@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:24 +01:00
Alexander Kanavin
fbbc0f7461 bitbake: bitbake: correct deprecation warning in process.py
(Bitbake rev: aff52fe21a0b27f6302555c1e52a864550eb46ce)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:24 +01:00
Alexander Kanavin
97dc3ef386 bitbake: bitbake: adjust parser error check for python 3.10 compatibility
The change was introduced in
a698d52c39

(Bitbake rev: 8d3c6cbbe6ee734495713ae3b99c609527842506)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:24 +01:00
Alexander Kanavin
f7909da79f bitbake: bitbake: do not import imp in layerindexlib
The module is deprecated and unused.

(Bitbake rev: 76c9030d6c91cd776a1aa732fb92b7cd4539b503)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:24 +01:00
Alexander Kanavin
cee517568b bitbake: bitbake: fix regexp deprecation warnings
See here for details:
https://docs.python.org/3/library/re.html

(Bitbake rev: 660e6ad4abb77c6f3c1d48bd64777dd76c05d7e2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Alexander Kanavin
5c24982cc9 bitbake: bitbake: correct the collections vs collections.abc deprecation
This becomes a hard error in python 3.10.

(Bitbake rev: ae219e1f7460077f4492b31ac91cef4cf9b17277)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Alexander Kanavin
3891a56a78 bitbake: bitbake: drop old rules for python warnings
These no longer even work, and it's much better to just see all warnings
and fix them as they happen.

(Bitbake rev: 62d96ea2afbb0cfdb0d1f932dc96643e7bcd7f26)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Richard Purdie
626e949292 bitbake: fetch2/git: Avoid races over mirror tarball creation
There is a potential race over the mirror tarballs where a partial git repo
could be extracted causing fetcher failures if the tarball is being rewritten
whilst another build accesses it.

Create the mirror tarball atomically to avoid this.

[YOCTO #14441]

(Bitbake rev: 3250bc950c56bd7dd2114df26e5a8e13b04ceac8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Richard Purdie
6b52061123 bitbake: runqueue/knotty: Improve UI handling of setscene task counting
The recent fixes to merge setscene and normal task accounting in runqueue
fixed some display issues but broke the task numbering of setscene tasks.

Add new accounting methods to the stats structure specifically designed
for setscene. This accounts for the fact that setscene tasks can rerun
multiple times in the build.

Then use the new data in the UI to correctly display the numbers the
user wants to see to understand progress.

(Bitbake rev: ed7e2da88bf4b7bfc7ebfc12b9bd6c0fb7d8c1aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Richard Purdie
4437754142 bitbake: bitbake-worker: Improve error handling
If bitbake-worker fails, return an error code showing that. Also
make the thread cleanup code explict in a finally clause as it would
otherwise hang.

[YOCTO #14393]

(Bitbake rev: 7e0af70fb53fb13f824ca954b8cc1dffee730233)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:51:14 +01:00
Daniel Ammann
4fb4a6e229 bitbake: fetch2/wget: Enable ftps
The fetcher would fail with:
Could not find a fetcher which supports the URL: ftps://...

(Bitbake rev: 9e56710c7203b1ec6cbefa758c81b69b697fe1a4)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:51:14 +01:00
Kristian Klausen
7b98f81d2f systemd: Add tpm2 PACKAGECONFIG
The TPM2 support is used, among other things, for unlocking encrypted
volumes.

(From OE-Core rev: 7b7dfbfaedde775add3be7a3cb44b115d8ec5036)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Trevor Woerner
6b86c70081 hello-mod/hello.c: convert to module_init/module_exit
Switch away from the old init_module/cleanup_module function names for the
main entry points. Change them to the documented method with module_init()
and module_exit() markers next to static functions.

(From OE-Core rev: dd0cf45cdde7a197293322436957566e9a11a506)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Peter Kjellerstedt
ba7f322a3e create-spdx.bbclass: Search all license directories for licenses
Before, even if the code was seemingly written to search through all
licenses in ${COMMON_LICENSE_DIR} and ${LICENSE_PATH}, it would
actually bail out after only searching ${COMMON_LICENSE_DIR} due to
the exception handling.

Also refrain from using f-strings.

(From OE-Core rev: f58d54b31a1ddb4e60eb07365bfb7dfe78ed56af)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Mingli Yu
42b2fb8651 python3: fix multilib qa issue
Enable tk in PACKAGECONFIG as below in conf/local.conf.
PACKAGECONFIG_append_pn-python3 = " tk"
 $ bitbake lib32-python3
   ERROR: lib32-python3-3.9.6-r0 do_package_qa: QA Issue: /usr/lib/python3.9/lib-dynload/_tkinter.cpython-39-i386-linux-gnu.so contained in package lib32-python3-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_lib32-python3-tkinter? [file-rdeps]
   ERROR: lib32-python3-3.9.6-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

So add MLPREFIX prefix to fix the above issue.

(From OE-Core rev: 4a839d7c66e4589050ce3f145a8c7cf820e6b35d)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Mingli Yu
46757ac1e8 insane.bbclass: add FILERDEPENDS related check back
Instead of FILERDEPENDS_*, the FILERDEPENDS should be FILERDEPENDS:*
such as FILERDEPENDS:/usr/bin/python3.9:lib32-python3-core as an example,
so switch to new override syntax to make sure the related check in effect.

(From OE-Core rev: 6e5650be0ce5575da1ce5b6ea8b24a82ec7b1210)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Mingli Yu
b24b417ebf multilib.bbclass: add RDEPENDS related check back
When multilib enabled, instead of checking RDEPENDS_lib32-python3-core,
we should check RDEPENDS:lib32-python3-core as new override syntax applied.

So switch to new override syntax to make sure the related RDEPENDS check
logic is in effect.

(From OE-Core rev: 63d53e515d8f3d92a4143dc25c2e639c7fb8c3fb)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
5ed27d8d9a sstatesig: Allow exclusion of the root directory for do_package
The package task references WORKDIR at it's top level and we can't
easily make the timestamp for that determnistic due to writes to files
there and in other subdirs. We could try and force it to a specific value
but it is easier to just remove it from the package task, we don't need
it there or care about it in this case.

(From OE-Core rev: 9cceeb906527f90d8dd3aad75aa3a8805e2a1df5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
0256b7dac4 bash: Ensure deterministic build
Bash keeps a count of the number of times make was invoked on a directory
and changes the output versioning accordingly. We want deterministic output
so disable this behaviour.

(From OE-Core rev: 13a039e03195a47c750d5901e96fe81cf523481f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
6c5a29035b sstate: Ensure SDE is accounted for in package task timestamps
When creating packages we build them with --clamp-mtime and use
SOURCE_DATE_EPOCH as the maximum mtime. This makes the end packages
reproducible. The data stored in sstate for do_package and the package
task doesn't benefit from this though and have varying timestamps.
This means their outhash varies and means hash equivalance isn't
effective at all and doesn't work as intended/desired.

We could create the sstate archives with the same clamping however
that would lead to different results depending on whether a task was
installed from sstate or not. Making that differ is a path to madness.
It also wouldn't fix the outhash of the task to be determninistic
without clamping of the date in the hash calculation code.

Instead, iterate over the files in sstate output and clamp them at
the code level. This isn't ideal but does make the file timestamps
determnistic everywhere and means we don't have to change the hash
calculation code.

This issue can be clearly seen looking at the do_package outhash for
a recipe which you then re-run the package task for after adding
something like whitespace to the install task. The outhash shouldn't
change but currently does.

(From OE-Core rev: c3b3cc4745811b48b9193f83889946b2e1788932)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
95fa69f3d3 package: Fix pkgdata determinism issues
pkgdata output isn't entirely deterministic since the sorting of some of the
variables can change. This likely doesn't have any real world effect but fix
this with some additional sorting as it allows better hash equivalency of
task output.

(From OE-Core rev: a30c4de8a0b309c398c42fe710c45a4df7fcc64d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
516bbba02f useradd: Ensure preinst data is expanded correctly in pkgdata
The preinst data in pkgdata will not expand out the ${XXX_PARAM} variables
since they don't use a package suffix. It happens that the final expansion
used for the packages is corrected by a second trip through the datastore.

The first version is used for calculation of the task output hash and
recent improvements in hash reuse showed this data wasn't using included
in the hashes, meaning for example builds with dynamic IDs were mixing
sstate with builds using static IDs. The result was a mess.

Fix this by expanding the data in the preinst correctly to use the
package specific _PARAM values.

(From OE-Core rev: 375430f249e7e0b6622e566e2478b40ba7e606ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Armin Kuster
9cabb26aa2 tar: ignore node-tar CVEs
These three CVEs are specific to the Node package node-tar.

exclude: CVE-2021-37701 CVE-2021-37712 CVE-2021-37713

(From OE-Core rev: 9f9317a02d73c1e5aea026683a037e52c996c7bb)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Markus Volk
3e1026ef31 util-linux: disable raw
raw.h has been dropped in linux-libc-headers-5.14 leading to:

configure: error: raw selected, but required raw.h header file not available
WARNING: exit code 1 from a shell command.

(From OE-Core rev: 7f577c10913104860121f682b9b3754870c4db23)

Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Martin Jansa
f3961107e2 bitbake: bitbake.conf: fix vars_from_file() call
The reference to this function was dropped from BBHandler.py in:
https://git.openembedded.org/bitbake/commit/?id=aaa5292ef96ea27f505bc5c5a4b1eb4f497ed061

(Bitbake rev: b4fe8507079b6464287549f3eac1f1fc8d0d9be2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-14 23:16:42 +01:00
Richard Purdie
bf47addb34 local.conf.sample: Update sstate mirror entry with new hash equivalence setting
(From meta-yocto rev: 1d98182eb9fa059444c935967d1dc075535289db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-12 12:27:09 +01:00
Bruce Ashfield
77afb9b560 yocto-bsp/5.13: update to v5.13.15
Updating the reference boards to match the oe-core kernel version.

(From meta-yocto rev: c67fc4b5cc7c1bd4751376c8d1b2a8272feb4a53)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Bruce Ashfield
b103142434 yocto-bsp/5.10: update to v5.10.63
Updating the reference platforms to match the latest 5.10 -stable in
oe-core.

(From meta-yocto rev: 77b8e31f706cb29d1efb19305470d9b525fc5a67)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Chanho Park
cb8edc767e binutils: inherit pkgconfig to address libdebuginfod depdency
Since libdebuginfo was default distro feature[1], cross build of binutils
has been broken due to absence of pkg-config. To find the dependency
properly, we should inherit pkgconfig bbclass.

checking for aarch64-poky-linux-pkg-config... no
checking for pkg-config... no
checking whether to use debuginfod... yes
checking for libdebuginfod >= 0.179... no
configure: error: "--with-debuginfod was given, but libdebuginfod is missing or unusable."

[1]: https://lists.openembedded.org/g/openembedded-core/message/150666

(From OE-Core rev: 50154869b496cf63a4fae2c8278350fcf9a2591d)

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Richard Purdie
505fdf638c sstate: Avoid problems with recipes using SRCPV when fetching sstate
When fetching sstate, SRCPV can be expanded withuin PV which breaks the
sstate fetcher as other variables like SRC_URI are changed by the fetcher
code. Expand the variable before doing this to avoid those problems and
hence avoid setscene task failures with remote sstate storage in git
recipes.

(From OE-Core rev: 0d9d7acebe0be42d4cf8a30ecbbbbcb2dfd16a4b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Richard Purdie
7074a39333 bitbake.conf: Ensure XZ_THREADS doesn't change sstate checksums
rpm output packages currently depend on the value of XZ_THREADS which
is ok if left to the default value but problematic if system limits
are set such as on the autobuilder.

Force the value to a specific one in the hashes for better sstate reuse
and consistent rpm task checksums.

(From OE-Core rev: 0296dc71c01d1b7953d74ef37d56429e2f4fcfab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Armin Kuster
54a8d36902 apr: Security fix for CVE-2021-35940
An out-of-bounds array read in the apr_time_exp*() functions was fixed in the
Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue
was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed
compared to 1.6.3 and is vulnerable to the same issue.

(From OE-Core rev: d52b78c75323fb254b5d0216f9183573b353abd3)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Ranjitsinh Rathod
9886ef691a rpm: Handle proper return value to avoid major issues
0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch changed
to avoid critical issues
Handled return values of getrlimit() and lzma_cputhreads() functions
to avoid unexpected behaviours like devide by zero and potential read
of uninitialized variable 'virtual_memory'
Upstream-Status: Pending [merge of multithreading patches to upstream]

(From OE-Core rev: 5aae9c2cb464350bc443a0f60fd6602942e61f46)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Mark Hatle
74d7d84dcb externalsrc: Work with reproducible_build
Externalsrc removes do_fetch, do_unpack, and do_patch.  The system normally
discovers the correct reproducible date as a postfuncs of do_unpack, so this
date is never found, so it falls back to the default epoch.

Instead we can move the discovery function to a prefuncs on the epoch
deploy task.  This task will run before do_configure, and since the source
is already available can run safely at anytime.

(From OE-Core rev: 0b7dd711a54e92ce54abe99f59fc67e683d52dfe)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Mark Hatle
88e643a8b7 reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checking
Previously if BUILD_REPRODUCIBLE_BINARIES was set to 0, the system would
fall back and select the default epoch (April 2011), but still perform
the reproducible build actions.  This resulted in binaries that had an
unusually old date.

Simplify the functions and remove the anonymous python as no longer
necessary.

Also improve the documentation to better explain what the class is doing
and how a recipe can override the behavior if necessary.

(From OE-Core rev: 1976013b026cfba94de32a13e994d92d7e9e39e5)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Kai Kang
d5723cb241 perl: fix CVE-2021-36770
Backport patch to fix CVE-2021-36770. And drop the section of code which
updates version.

CVE: CVE-2021-36770

(From OE-Core rev: 9a5e0f3ece45529358b6b712e3450a8594f531c6)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Peter Bergin
457cc45f51 systemd: add packageconfig for wheel-group
If the distro does not include the group 'wheel' systemd will
complain when trying to parse ACL rules for tmpfiles.d.

  systemd-tmpfiles[273]: Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x": Invalid argument. Ignoring

Systemd has a configuration parameter to avoid using 'wheel'
group in the standard config files for tmpfiles. Add this as
a PACKAGECONFIG and enable it by default to keep default.

(From OE-Core rev: 1b5648e6aeb9837cb807ce086c26fbfaa16f6f8b)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Bruce Ashfield
90f5034e48 linux-yocto/5.10: update to v5.10.63
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    e07f317d5a28 Linux 5.10.63
    4405ea221dea media: stkwebcam: fix memory leak in stk_camera_probe
    ad5e13f15db7 fuse: fix illegal access to inode with reused nodeid
    40ba433a85db new helper: inode_wrong_type()
    ded9137fcf0d spi: Switch to signed types for *_native_cs SPI controller fields
    55bb5193cec5 serial: 8250: 8250_omap: Fix possible array out of bounds access
    8e41134a92a5 ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
    4ffde17862b0 ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17
    4ee2686b3745 ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
    2808d59fb29b cryptoloop: add a deprecation warning
    61a038f80c80 perf/x86/amd/power: Assign pmu.module
    ec9a82e034f6 perf/x86/amd/ibs: Work around erratum #1197
    23c29490b84d ceph: fix possible null-pointer dereference in ceph_mdsmap_decode()
    d2064a1444d6 perf/x86/intel/pt: Fix mask of num_address_ranges
    0e74bba60452 qede: Fix memset corruption
    35f223cb21b1 net: macb: Add a NULL check on desc_ptp
    cf50d02e474b qed: Fix the VF msix vectors flow
    2177c4943e40 reset: reset-zynqmp: Fixed the argument data type
    9872349b088d gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats
    b983d60292a6 ARM: OMAP1: ams-delta: remove unused function ams_delta_camera_power
    bc860c3f0945 xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG
    b1075d2a7052 static_call: Fix unused variable warn w/o MODULE
    ae16b7c66837 Revert "Add a reference to ucounts for each cred"
    1aa3f27e592d Revert "cred: add missing return error code when set_cred_ucounts() failed"
    0c1443874e1c Revert "ucounts: Increase ucounts reference counter before the security hook"
    0479b2bd2959 ubifs: report correct st_size for encrypted symlinks
    3ac01789f6d9 f2fs: report correct st_size for encrypted symlinks
    894a02236d0d ext4: report correct st_size for encrypted symlinks
    b8c298cf57dc fscrypt: add fscrypt_symlink_getattr() for computing st_size
    09a379549620 ext4: fix race writing to an inline_data file while its xattrs are changing
    f6dd002450bf Linux 5.10.62
    0c9a876f2897 bpf: Fix potentially incorrect results with bpf_get_local_storage()
    38c1915d3e9f audit: move put_tree() to avoid trim_trees refcount underflow and UAF
    1890ee7ff87f net: don't unconditionally copy_from_user a struct ifreq for socket ioctls
    0085646e02b2 Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
    17982c664f8b Revert "floppy: reintroduce O_NDELAY fix"
    709c162ddc83 kthread: Fix PF_KTHREAD vs to_kthread() race
    c43add24dffd btrfs: fix NULL pointer dereference when deleting device by invalid id
    1604c42a1ca9 arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88
    f760c1101f52 lkdtm: Enable DOUBLE_FAULT on all architectures
    b6c657abb893 net: dsa: mt7530: fix VLAN traffic leaks again
    f8242f554c82 usb: typec: ucsi: Clear pending after acking connector change
    e15e32d519fa usb: typec: ucsi: Work around PPM losing change information
    08953884aad4 usb: typec: ucsi: acpi: Always decode connector change information
    9a4f1dc8a17c tracepoint: Use rcu get state and cond sync for static call updates
    b6ae3854075e srcu: Provide polling interfaces for Tiny SRCU grace periods
    450948b06ce8 srcu: Make Tiny SRCU use multi-bit grace-period counter
    641e1d88404a srcu: Provide internal interface to start a Tiny SRCU grace period
    f789de3be808 srcu: Provide polling interfaces for Tree SRCU grace periods
    fdf66e5a7fc8 srcu: Provide internal interface to start a Tree SRCU grace period
    d3c38d8549c0 powerpc/perf: Invoke per-CPU variable access with disabled interrupts
    77b77d45a4b1 perf annotate: Fix jump parsing for C++ code.
    9f9e40ddfca3 perf tools: Fix arm64 build error with gcc-11
    94687c49b65b perf record: Fix memory leak in vDSO found using ASAN
    e0ca67030fda perf symbol-elf: Fix memory leak by freeing sdt_note.args
    0d8e39bb9416 perf env: Fix memory leak of bpf_prog_info_linear member
    133d7f93eecd riscv: Fixup patch_text panic in ftrace
    7e2087249e87 riscv: Fixup wrong ftrace remove cflag
    b42fde92cdde Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS
    60d69cb4e60d vt_kdsetmode: extend console locking
    0a178a015161 tipc: call tipc_wait_for_connect only when dlen is not 0
    ded6da217ced mtd: spinand: Fix incorrect parameters for on-die ECC
    3b2018f9c9c0 pipe: do FASYNC notifications for every pipe IO, not just state changes
    e91da23c1be1 pipe: avoid unnecessary EPOLLET wakeups under normal loads
    d845f89d59fc btrfs: fix race between marking inode needs to be logged and log syncing
    6f38d95f33be net/rds: dma_map_sg is entitled to merge entries
    b882dda2bf7a drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences
    7f422cda03a6 drm/nouveau/disp: power down unused DP links during init
    6fd6e20520cc drm: Copy drm_wait_vblank to user before returning
    26ee94ba343c blk-mq: don't grab rq's refcount in blk_mq_check_expired()
    b00ca567579a drm/amd/pm: change the workload type for some cards
    3c37ec435022 Revert "drm/amd/pm: fix workload mismatch on vega10"
    cc126b400b25 qed: Fix null-pointer dereference in qed_rdma_create_qp()
    18a65ba06903 qed: qed ll2 race condition fixes
    4ac9c81e8a54 tools/virtio: fix build
    c7ee4d22614e vringh: Use wiov->used to check for read/write desc order
    6c074eaaf785 virtio_vdpa: reject invalid vq indices
    0698278e8eef virtio_pci: Support surprise removal of virtio pci device
    065a13c299b4 virtio: Improve vq->broken access to avoid any compiler optimization
    f41c7462d8ae cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev
    3dea93159038 opp: remove WARN when no valid OPPs remain
    be37f7dbcd2c iwlwifi: pnvm: accept multiple HW-type TLVs
    9a6a5602c217 clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
    bdc5049c3698 perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32
    c5600b914690 dt-bindings: sifive-l2-cache: Fix 'select' matching
    ad5329a53327 usb: gadget: u_audio: fix race condition on endpoint stop
    257ea8a5edc0 drm/i915: Fix syncmap memory leak
    e49b8d9c5e88 net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
    b2091d47a14e net: stmmac: add mutex lock to protect est parameters
    ac874290e75c Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"
    411680a07cc6 net: hns3: fix get wrong pfc_en when query PFC configuration
    e834ca7c7924 net: hns3: fix duplicate node in VLAN list
    5931ec35e992 net: hns3: add waiting time before cmdq memory is released
    9820af16a879 net: hns3: clear hardware resource when loading driver
    ad0db8385575 rtnetlink: Return correct error on changing device netns
    51bc5c66606d cxgb4: dont touch blocked freelist bitmap after free
    beefd5f0c63a ipv4: use siphash instead of Jenkins in fnhe_hashfun()
    dced8347a727 ipv6: use siphash in rt6_exception_hash()
    f517335a61ff net/sched: ets: fix crash when flipping from 'strict' to 'quantum'
    b493af3a66e0 ucounts: Increase ucounts reference counter before the security hook
    8e0881f6f57e net: marvell: fix MVNETA_TX_IN_PRGRS bit number
    850401a23a85 xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
    fb45459d9ddb ip_gre: add validation for csum_start
    e78006b59a30 RDMA/efa: Free IRQ vectors on error flow
    8f1e3ad94569 e1000e: Do not take care about recovery NVM checksum
    87285ac51ecf e1000e: Fix the max snoop/no-snoop latency for 10M
    58b3dbf10c01 igc: Use num_tx_queues when iterating over tx_ring queue
    ae6480ba0665 igc: fix page fault when thunderbolt is unplugged
    384dea502e91 net: usb: pegasus: fixes of set_register(s) return value evaluation;
    3217c9d4602f ice: do not abort devlink info if board identifier can't be found
    3a2c5fbb1cc6 RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init()
    56ac7463a140 IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()
    3e949aaa8bef RDMA/bnxt_re: Add missing spin lock initialization
    22c18102ec59 scsi: core: Fix hang of freezing queue between blocking and running device
    01da7c1dc4cf usb: dwc3: gadget: Stop EP0 transfers during pullup disable
    87b2016493eb usb: dwc3: gadget: Fix dwc3_calc_trbs_left()
    56c92b8ddc0c usb: renesas-xhci: Prefer firmware loading on unknown ROM state
    b0bcc8038868 USB: serial: option: add new VID/PID to support Fibocom FG150
    8437e07c370f Revert "USB: serial: ch341: fix character loss at high transfer rates"
    da3067eadcc1 drm/amdgpu: Cancel delayed work when GFXOFF is disabled
    3134292a8e79 Revert "btrfs: compression: don't try to compress if we don't have enough pages"
    921c2533aa3a riscv: Ensure the value of FP registers in the core dump file is up to date
    e55a8b461585 ceph: correctly handle releasing an embedded cap flush
    7008b9981b6a can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
    45b7b2097153 net: mscc: Fix non-GPL export of regmap APIs
    ef2d68ef9a3b ovl: fix uninitialized pointer read in ovl_lookup_real_one()
    c94d50979f20 blk-iocost: fix lockdep warning on blkcg->lock
    6815e21fe28d once: Fix panic when module unload
    f68ad168e235 netfilter: conntrack: collect all entries in one cycle
    a13a2df0b149 ARC: Fix CONFIG_STACKDEPOT
    0af6a9f82ca3 ASoC: component: Remove misplaced prefix handling in pin control functions
    34cc80ec12d6 ASoC: rt5682: Adjust headset volume button threshold
    d81ddadabdee bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper
    9dd6f6d89693 bpf: Fix ringbuf helper function compatibility
    ad41706c771a net: qrtr: fix another OOB Read in qrtr_endpoint_post

(From OE-Core rev: bb885bf8ffe9ba7260f83d9575978f753edf538e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Bruce Ashfield
ba76f2dd8a linux-yocto/5.10: update to v5.10.61
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    452ea6a15ed2 Linux 5.10.61
    f15e64267393 io_uring: only assign io_uring_enter() SQPOLL error in actual error case
    695ab28a7fa1 io_uring: fix xa_alloc_cycle() error return value check
    0d5fcfc6406e fs: warn about impending deprecation of mandatory locks
    8132fc2bf4b7 mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim
    53e81668e119 ASoC: intel: atom: Fix breakage for PCM buffer address setup
    88f65f57a0b9 ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8
    b6672f67ec28 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI
    a69326e134d4 s390/pci: fix use after free of zpci_dev
    05b56e05543c ALSA: hda/via: Apply runtime PM workaround for ASUS B23E
    67fece6289a9 btrfs: prevent rename2 from exchanging a subvol with a directory from different parents
    16cfa72766b5 mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711
    2566c1d8239d mmc: sdhci-iproc: Cap min clock frequency on BCM2711
    110b7f72f6d0 ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9510 laptop
    258782b93701 ipack: tpci200: fix memory leak in the tpci200_register
    3ee1b08097c1 ipack: tpci200: fix many double free issues in tpci200_pci_probe
    0775bc462ae7 slimbus: ngd: reset dma setup during runtime pm
    45d6fc21cd4d slimbus: messaging: check for valid transaction id
    b700b523ddaf slimbus: messaging: start transaction ids from 1 instead of zero
    bd0c2f83d072 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name
    f7c125493c78 ALSA: hda - fix the 'Capture Switch' value change notifications
    7451c309c7a3 clk: qcom: gdsc: Ensure regulator init state matches GDSC state
    7203b4986d9a clk: imx6q: fix uart earlycon unwork
    3f8920c5706e mmc: sdhci-msm: Update the software timeout value for sdhc
    8f499a90e7ee mmc: mmci: stm32: Check when the voltage switch procedure should be done
    f8dac276a9b4 mmc: dw_mmc: Fix hang on data CRC error
    645fd92c3ed4 Revert "flow_offload: action should not be NULL when it is referenced"
    2f6c42806e10 iavf: Fix ping is lost after untrusted VF had tried to change MAC
    7873c29832a3 i40e: Fix ATR queue selection
    e003a8921949 r8152: fix writing USB_BP2_EN
    21ca0b18ad64 iommu/vt-d: Fix incomplete cache flush in intel_pasid_tear_down_entry()
    81578e587c08 iommu/vt-d: Consolidate duplicate cache invaliation code
    eee84eafc3bb ovs: clear skb->tstamp in forwarding path
    47a1161dacb1 net: mdio-mux: Handle -EPROBE_DEFER correctly
    13af9c81e62f net: mdio-mux: Don't ignore memory allocation errors
    df61235881c8 sch_cake: fix srchost/dsthost hashing mode
    e1ec5858bae1 ixgbe, xsk: clean up the resources in ixgbe_xsk_pool_enable error path
    3b7397b203cc net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
    9bc2d1a5a890 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO
    b7adfde94930 virtio-net: support XDP when not more queues
    1ce62fe6e4cb vrf: Reset skb conntrack connection on VRF rcv
    8ae539a36194 bnxt_en: Add missing DMA memory barriers
    9751aa443695 bnxt_en: Disable aRFS if running on 212 firmware
    efd9b79b92a3 ptp_pch: Restore dependency on PCI
    85e0518f181a net: 6pack: fix slab-out-of-bounds in decode_data
    e0ae16836027 bnxt: count Tx drops
    296fe765dd02 bnxt: make sure xmit_more + errors does not miss doorbells
    d913d5cc3ba5 bnxt: disable napi before canceling DIM
    5b24ae8f05ca bnxt: don't lock the tx queue from napi poll
    585ff7344ec1 bpf: Clear zext_dst of dead insns
    8dfdeeb1e98e drm/mediatek: Add AAL output size configuration
    a8b8d61babb4 drm/mediatek: Fix aal size config
    6715cefa72f6 soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h
    1b6fc6f739d4 vdpa/mlx5: Avoid destroying MR on empty iotlb
    ecdd7c488062 vhost: Fix the calculation in vhost_overflow()
    e0b603c89a93 bus: ti-sysc: Fix error handling for sysc_check_active_timer()
    1af7ccbd920a vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update()
    293180f59342 virtio: Protect vqs list access
    9108120fbe31 dccp: add do-while-0 stubs for dccp_pr_debug macros
    e352531ed020 cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant
    d2ab5491de91 iommu: Check if group is NULL before remove device
    44f454a146c0 arm64: dts: qcom: msm8992-bullhead: Remove PSCI
    95ed753d91bf arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x
    d7d04c67492e Bluetooth: hidp: use correct wait queue when removing ctrl_wait
    2e6cc93e1b8c drm/amd/display: workaround for hard hang on HPD on native DP
    dcc8c5fb8d85 drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X
    8849a8c7058e net: usb: lan78xx: don't modify phy_device state concurrently
    735e613fa587 net: usb: pegasus: Check the return value of get_geristers() and friends;
    6b368411bc0f ARM: dts: nomadik: Fix up interrupt controller node names
    410d1ea4ff3a qede: fix crash in rmmod qede while automatic debug collection
    7525f2e4de00 drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.
    711459514e29 scsi: core: Fix capacity set to zero after offlinining device
    8071dbe1bdd0 scsi: core: Avoid printing an error if target_alloc() returns -ENXIO
    4f78db7df6ed scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()
    cc312fa7e6ef scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()
    968ee9176a44 scsi: pm80xx: Fix TMF task completion race condition
    b353028aed92 dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available
    35f416223673 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
    505884a0c7a1 net: xfrm: Fix end of loop tests for list_for_each_entry
    f1c0533fae59 spi: spi-mux: Add module info needed for autoloading
    b618a32142c7 dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()
    c160df90b0ca dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers
    d4930271a409 USB: core: Fix incorrect pipe calculation in do_proc_control()
    ba6c1b004ac5 USB: core: Avoid WARNings for 0-length descriptor requests
    8e100c72b6de KVM: X86: Fix warning caused by stale emulation context
    47d4c7999799 KVM: x86: Factor out x86 instruction emulation with decoding
    ff2fc9e4aaa6 media: drivers/media/usb: fix memory leak in zr364xx_probe
    56320b1ad4d0 media: zr364xx: fix memory leaks in probe()
    b5c7ec6d15af media: zr364xx: propagate errors from zr364xx_start_readpipe()
    779a0f4347a4 mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards
    e2036bc3fc7d ath9k: Postpone key cache entry deletion for TXQ frames reference it
    609c0cfd07f0 ath: Modify ath_key_delete() to not need full key entry
    2925a8385ec7 ath: Export ath_hw_keysetmac()
    6566c207e576 ath9k: Clear key cache explicitly on disabling hardware
    8f05076983dd ath: Use safer key clearing with key cache entries

(From OE-Core rev: ce4eb69dc8ce06b3bb49fbddf27017f58ac20b0d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Bruce Ashfield
fde23dd435 linux-yocto/5.13: update to v5.13.15
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    b8c3cc76091b Linux 5.13.15
    2f939f346edb media: stkwebcam: fix memory leak in stk_camera_probe
    26874d67198b ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
    0c9cca4cbd05 ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17
    a0bdfbbb6d79 ALSA: usb-audio: Fix regression on Sony WALKMAN NW-A45 DAC
    237d4c2abcf8 ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
    deb48f56a556 USB: serial: cp210x: fix flow-control error handling
    4df3f36f3e43 USB: serial: cp210x: fix control-characters error handling
    7dac6a6ae0ec USB: serial: pl2303: fix GL type detection
    af64ddb6600f xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG
    391cfacf8c81 cryptoloop: add a deprecation warning
    39c6cf24c4ff perf/x86/amd/power: Assign pmu.module
    3e3bb99d69a3 perf/x86/amd/ibs: Work around erratum #1197
    c7858c55cb5d ceph: fix possible null-pointer dereference in ceph_mdsmap_decode()
    1ab026cbc7c4 perf/x86/intel/pt: Fix mask of num_address_ranges
    610832256fd2 qede: Fix memset corruption
    8475b024be01 net: macb: Add a NULL check on desc_ptp
    9809b708655a riscv: dts: microchip: Add ethernet0 to the aliases node
    b13e2bf00cc2 riscv: dts: microchip: Use 'local-mac-address' for emac1
    2aad925a0c8e net: dsa: mv88e6xxx: Update mv88e6393x serdes errata
    9bf0c451fc85 qed: Fix the VF msix vectors flow
    eb5392205208 reset: reset-zynqmp: Fixed the argument data type
    241581af858b gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats
    b6de6ec37320 ext4: fix e2fsprogs checksum failure for mounted filesystem
    c764e8fa4491 ext4: fix race writing to an inline_data file while its xattrs are changing
    a603798fb168 Linux 5.13.14
    49da19a85383 platform/x86: Make dual_accel_detect() KIOX010A + KIOX020A detect more robust
    4e25ac3793f7 audit: move put_tree() to avoid trim_trees refcount underflow and UAF
    f8132a4726df net: don't unconditionally copy_from_user a struct ifreq for socket ioctls
    6b58e692a685 Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
    9caa2e5a818d ubifs: report correct st_size for encrypted symlinks
    7532df5ee085 f2fs: report correct st_size for encrypted symlinks
    f04584399d1c ext4: report correct st_size for encrypted symlinks
    2bc40caa8099 fscrypt: add fscrypt_symlink_getattr() for computing st_size
    ba17363729d2 Revert "floppy: reintroduce O_NDELAY fix"
    301aabe0239f btrfs: fix NULL pointer dereference when deleting device by invalid id
    8e2112d600b2 arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88
    98d1fcc6c937 net: dsa: mt7530: fix VLAN traffic leaks again
    339e8ba1a3d0 Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS
    a5dfcf3d8ecc vt_kdsetmode: extend console locking
    65f5602cd767 tipc: call tipc_wait_for_connect only when dlen is not 0
    6b7533e796aa pipe: do FASYNC notifications for every pipe IO, not just state changes
    4abb1d77321a pipe: avoid unnecessary EPOLLET wakeups under normal loads
    eec6f991bf28 arm64: initialize all of CNTHCTL_EL2
    c9ecaffe65cb net/rds: dma_map_sg is entitled to merge entries
    66d8d0677e4d platform/x86: gigabyte-wmi: add support for B450M S2H V2
    b484bcabe66b drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences
    045f785ad859 drm/nouveau/disp: power down unused DP links during init
    4dc8c06fd51e drm/nouveau: recognise GA107
    2a0e1f9a62e5 platform/x86: gigabyte-wmi: add support for X570 GAMING X
    7e6c3b5c9864 drm: Copy drm_wait_vblank to user before returning
    65bafad4556d blk-mq: don't grab rq's refcount in blk_mq_check_expired()
    1ae8c1e2dbd7 drm/amd/pm: change the workload type for some cards
    19be3ad020b1 Revert "drm/amd/pm: fix workload mismatch on vega10"
    e5baac733182 qed: Fix null-pointer dereference in qed_rdma_create_qp()
    b6d485eb00e1 qed: qed ll2 race condition fixes
    e415d2209567 platform/x86: asus-nb-wmi: Add tablet_mode_sw=lid-flip quirk for the TP200s
    aa4ad193d83b platform/x86: asus-nb-wmi: Allow configuring SW_TABLET_MODE method with a module option
    0eeee5f085e6 tools/virtio: fix build
    2aef43ab6de1 vringh: Use wiov->used to check for read/write desc order
    839815ea5f1d virtio_vdpa: reject invalid vq indices
    2f18a3c91fde virtio_pci: Support surprise removal of virtio pci device
    6c4072f94fab virtio: Improve vq->broken access to avoid any compiler optimization
    25d4ff7e59aa cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev
    ef3738a60d18 opp: remove WARN when no valid OPPs remain
    184caa4f8b83 iwlwifi: add new so-jf devices
    eed3c6bb51fe iwlwifi: add new SoF with JF devices
    0dabf99c08de iwlwifi: pnvm: accept multiple HW-type TLVs
    2fcb7f101fa2 clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
    0298f03cf8ee sched: Fix get_push_task() vs migrate_disable()
    886364f99b7c perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32
    6e6822e47ee3 usb: gadget: u_audio: fix race condition on endpoint stop
    0b3d2bfa7906 net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
    5ce4cc16d471 net: stmmac: add mutex lock to protect est parameters
    01e5bad5b6b8 Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"
    fd8b3da89096 media: ipu3-cio2: Drop reference on error path in cio2_bridge_connect_sensor()
    229db408796c net: hns3: fix get wrong pfc_en when query PFC configuration
    6434d7a17272 net: hns3: fix duplicate node in VLAN list
    5d73c3788d73 net: hns3: fix speed unknown issue in bond 4
    728d196fe469 net: hns3: add waiting time before cmdq memory is released
    13c1896f8ace net: hns3: clear hardware resource when loading driver
    6e472c800e5c rtnetlink: Return correct error on changing device netns
    8f4e74663b41 net: dsa: hellcreek: Adjust schedule look ahead window
    35844a1bde10 net: dsa: hellcreek: Fix incorrect setting of GCL
    7d1b598f92d7 cxgb4: dont touch blocked freelist bitmap after free
    fc21a98484ca ipv4: use siphash instead of Jenkins in fnhe_hashfun()
    b3f99fcc204b ipv6: use siphash in rt6_exception_hash()
    1a72ef276754 SUNRPC: Fix XPT_BUSY flag leakage in svc_handle_xprt()...
    d05330672afe net/sched: ets: fix crash when flipping from 'strict' to 'quantum'
    6faa3f1424f1 ucounts: Increase ucounts reference counter before the security hook
    768d4cf8dbaf net: marvell: fix MVNETA_TX_IN_PRGRS bit number
    a73e59683548 xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
    01951aeafc40 ip_gre: add validation for csum_start
    4c00ae66159a RDMA/efa: Free IRQ vectors on error flow
    50092de6d9e4 e1000e: Do not take care about recovery NVM checksum
    7878e0fe833d e1000e: Fix the max snoop/no-snoop latency for 10M
    e46212393a30 igc: Use num_tx_queues when iterating over tx_ring queue
    7bc8e807665b igc: fix page fault when thunderbolt is unplugged
    89362210ac19 net: usb: pegasus: fixes of set_register(s) return value evaluation;
    2b0267118a68 ice: do not abort devlink info if board identifier can't be found
    a35de1e71b68 RDMA/rxe: Fix memory allocation while in a spin lock
    9413a11e77eb RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init()
    7cfd5894226b IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()
    4fdd674a31f2 RDMA/bnxt_re: Add missing spin lock initialization
    30067a9a1617 RDMA/uverbs: Track dmabuf memory regions
    6a4dd0859f4f RDMA/mlx5: Fix crash when unbind multiport slave
    db030881c465 scsi: core: Fix hang of freezing queue between blocking and running device
    3e07893f0f82 usb: dwc3: gadget: Stop EP0 transfers during pullup disable
    6b8951c842cd usb: dwc3: gadget: Fix dwc3_calc_trbs_left()
    24bcaabc7be2 usb: typec: tcpm: Raise vdm_sm_running flag only when VDM SM is running
    6a59c0559d74 usb: renesas-xhci: Prefer firmware loading on unknown ROM state
    155c3c86abdb USB: serial: option: add new VID/PID to support Fibocom FG150
    2159dc1c023d Revert "USB: serial: ch341: fix character loss at high transfer rates"
    05366fb0bfd1 drm/amdgpu: Fix build with missing pm_suspend_target_state module export
    164f7029a8ca drm/amdgpu: use the preferred pin domain after the check
    49db1b658914 drm/amdgpu: Cancel delayed work when GFXOFF is disabled
    05c07e76a37c drm/i915/dp: Drop redundant debug print
    65e526efa215 drm/i915: Fix syncmap memory leak
    b9d0c15e74cd net: stmmac: fix kernel panic due to NULL pointer dereference of buf->xdp
    d4a399b96e0b net: stmmac: fix kernel panic due to NULL pointer dereference of xsk_pool
    efc5eb94e7b3 Revert "btrfs: compression: don't try to compress if we don't have enough pages"
    dbce1780abeb mm/memory_hotplug: fix potential permanent lru cache disable
    0d1cf894cc24 powerpc: Re-enable ARCH_ENABLE_SPLIT_PMD_PTLOCK
    9e04475feb82 riscv: Ensure the value of FP registers in the core dump file is up to date
    31296d4fdbff dt-bindings: sifive-l2-cache: Fix 'select' matching
    904d52e1beda ceph: correctly handle releasing an embedded cap flush
    dbbf1899c6ff can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
    1579b0f1e7bd net: mscc: Fix non-GPL export of regmap APIs
    60c1ed05cba1 ovl: fix uninitialized pointer read in ovl_lookup_real_one()
    2514e486faf7 blk-iocost: fix lockdep warning on blkcg->lock
    de14d2fc6a62 io_uring: rsrc ref lock needs to be IRQ safe
    b8eaf1e595fe once: Fix panic when module unload
    7aa03980b21f netfilter: conntrack: collect all entries in one cycle
    e0f824abe0f4 netfilter: ipset: Limit the maximal range of consecutive elements to add/delete
    3ac582bc72d7 ARC: Fix CONFIG_STACKDEPOT
    9810910bc686 platform/x86: Add and use a dual_accel_detect() helper
    dbd38b275b86 ASoC: component: Remove misplaced prefix handling in pin control functions
    6f2ec29dfd5e ASoC: rt5682: Adjust headset volume button threshold
    a31b3b8d3cbf bpf: Fix ringbuf helper function compatibility
    d6060df9b53a net: qrtr: fix another OOB Read in qrtr_endpoint_post

(From OE-Core rev: 1da8ab37f6bafed399ce6e127221456db949dc50)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Bruce Ashfield
fda534a735 linux-yocto/5.13: update to v5.13.13
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    7aeadb5bb82a Linux 5.13.13
    2ff626b14003 fs: warn about impending deprecation of mandatory locks
    a57b2a703e44 io_uring: fix xa_alloc_cycle() error return value check
    515b6124df6a hugetlb: don't pass page cache pages to restore_reserve_on_error
    371fb63d0926 kfence: fix is_kfence_address() for addresses below KFENCE_POOL_SIZE
    9690e6ffac0b mm/hwpoison: retry with shake_page() for unhandlable pages
    59e5c9ecdeb0 mm,hwpoison: make get_hwpoison_page() call get_any_page()
    e4e8c58cc78e mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim
    2d1704c3fe30 riscv: Fix a number of free'd resources in init_resources()
    8c5beac92d0e ASoC: intel: atom: Fix breakage for PCM buffer address setup
    8f4eb032a019 ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8
    59734f7eaaa4 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI
    00609919ec4d powerpc/32s: Fix random crashes by adding isync() after locking/unlocking KUEP
    33bd5804ac66 powerpc/32s: Refactor update of user segment registers
    efe40fdb6d30 powerpc/32s: Move setup_{kuep/kuap}() into {kuep/kuap}.c
    534a0bc7c87a usb: typec: tcpm: Fix VDMs sometimes not being forwarded to alt-mode drivers
    21d6e237bcc2 s390/pci: fix use after free of zpci_dev
    fe2edb82e5be ALSA: hda/via: Apply runtime PM workaround for ASUS B23E
    41f0262ffb44 tracing: Apply trace filters on all output channels
    f7c707f8ec18 btrfs: prevent rename2 from exchanging a subvol with a directory from different parents
    ddd7fff18986 mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711
    f41b4c30fb73 mmc: sdhci-iproc: Cap min clock frequency on BCM2711
    70063522ee90 opp: Drop empty-table checks from _put functions
    30392f88dace ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9510 laptop
    da8495661fe9 io_uring: only assign io_uring_enter() SQPOLL error in actual error case
    501449420a42 io_uring: fix code style problems
    606f36948a9a ipack: tpci200: fix memory leak in the tpci200_register
    d09bfebbdf22 ipack: tpci200: fix many double free issues in tpci200_pci_probe
    c1001de019ef slimbus: ngd: reset dma setup during runtime pm
    c8f6e68a95c2 slimbus: ngd: set correct device for pm
    28b55e58b864 slimbus: messaging: check for valid transaction id
    e0e46e209e9d slimbus: messaging: start transaction ids from 1 instead of zero
    65a4722bb931 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name
    0ce48083d843 tracing: define needed config DYNAMIC_FTRACE_WITH_ARGS
    2152ee71c164 ALSA: hda - fix the 'Capture Switch' value change notifications
    8681e95da50b cfi: Use rcu_read_{un}lock_sched_notrace
    82d1ea87b9d5 arm64: clean vdso & vdso32 files
    03c33905ee88 clk: qcom: gdsc: Ensure regulator init state matches GDSC state
    95e5238a2fba clk: imx6q: fix uart earlycon unwork
    2fcb62673120 mmc: sdhci-msm: Update the software timeout value for sdhc
    87762c77c39f mmc: mmci: stm32: Check when the voltage switch procedure should be done
    fffcf7fc898a mmc: dw_mmc: Fix hang on data CRC error
    7179eac5556e iommu/dma: Fix leak in non-contiguous API
    b89542f4a60b net: dpaa2-switch: disable the control interface on error path
    5d547d83abb2 Revert "flow_offload: action should not be NULL when it is referenced"
    260b1eb312a0 iavf: Fix ping is lost after untrusted VF had tried to change MAC
    ea1cf8a6d966 i40e: Fix ATR queue selection
    1d9d64cad2fe PCI/sysfs: Use correct variable for the legacy_mem sysfs object
    f21adfddafdf r8152: fix the maximum number of PLA bp for RTL8153C
    5809f8d9b7c0 r8152: fix writing USB_BP2_EN
    dedbf29c6b36 mptcp: full fully established support after ADD_ADDR
    828c3a32238c mptcp: fix memory leak on address flush
    11c79e1615a4 net: mscc: ocelot: allow forwarding from bridge ports to the tag_8021q CPU port
    751f4b539afb drm/amd/display: Use DCN30 watermark calc for DCN301
    e0f2d91e0869 drm/i915: Tweaked Wa_14010685332 for all PCHs
    678b67771cef drm/i915: Skip display interruption setup when display is not available
    936eca018fee iommu/vt-d: Fix incomplete cache flush in intel_pasid_tear_down_entry()
    4e4f3cb41d68 net: usb: asix: refactor asix_read_phy_addr() and handle errors on return
    cf4c1661c40e ovs: clear skb->tstamp in forwarding path
    9581895b37fe net: mdio-mux: Handle -EPROBE_DEFER correctly
    b2973b87ba11 net: mdio-mux: Don't ignore memory allocation errors
    0e805b74cd13 sch_cake: fix srchost/dsthost hashing mode
    ac161cf77818 ixgbe, xsk: clean up the resources in ixgbe_xsk_pool_enable error path
    7af09aeddbae net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
    39af3583c8fb mac80211: fix locking in ieee80211_restart_work()
    0de9c4de5ca1 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO
    9213ce667258 vrf: Reset skb conntrack connection on VRF rcv
    a5607b1d8e34 bnxt_en: Add missing DMA memory barriers
    020761f49efb bnxt_en: Disable aRFS if running on 212 firmware
    1a2798f36805 ptp_pch: Restore dependency on PCI
    010d7ad77e2d net: 6pack: fix slab-out-of-bounds in decode_data
    47d43f06fd87 soc: fsl: qe: fix static checker warning
    5eb70221eb03 bnxt: count Tx drops
    40c767494e15 bnxt: make sure xmit_more + errors does not miss doorbells
    781279257968 bnxt: disable napi before canceling DIM
    7edc1a0deca8 bnxt: don't lock the tx queue from napi poll
    a89ba11b263b bpf: Clear zext_dst of dead insns
    3d7f5031f870 drm/mediatek: Add component_del in OVL and COLOR remove function
    e5f25a6ea31a drm/mediatek: Add AAL output size configuration
    88e35118e7c9 vdpa/mlx5: Fix queue type selection logic
    c903a1fd0968 vdpa/mlx5: Avoid destroying MR on empty iotlb
    29236481a883 vDPA/ifcvf: Fix return value check for vdpa_alloc_device()
    080d65ba644f vp_vdpa: Fix return value check for vdpa_alloc_device()
    434887c6ac41 vdpa_sim: Fix return value check for vdpa_alloc_device()
    83f6738578b3 vhost: Fix the calculation in vhost_overflow()
    dcd6c72344f3 bus: ti-sysc: Fix error handling for sysc_check_active_timer()
    8a821b88b1a6 vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update()
    6caaf9fcb7b4 virtio: Protect vqs list access
    b380dfb298da dccp: add do-while-0 stubs for dccp_pr_debug macros
    5238de0459c0 cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant
    ed6b6c758b67 soc: fsl: qe: convert QE interrupt controller to platform_device
    b39db8c4397d mtd: rawnand: Fix probe failure due to of_get_nand_secure_regions()
    dd53a5f93b2e mt76: fix enum type mismatch
    c442bd5a0e20 arm64: dts: qcom: sdm845-oneplus: fix reserved-mem
    ae19ca1cb3f0 arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem
    1c4678cb01ee cpufreq: arm_scmi: Fix error path when allocation failed
    731825e59e1d iommu: Check if group is NULL before remove device
    02491c3d81ef arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem mapping
    aa9cac63e49c arm64: dts: qcom: msm8992-bullhead: Remove PSCI
    6fed550393b8 arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x
    73bb2572339d mtd: rawnand: Add a check in of_get_nand_secure_regions()
    85f5d3d0bc2e kyber: make trace_block_rq call consistent with documentation
    a6488cc30f01 drm/amd/display: workaround for hard hang on HPD on native DP
    a4ebe05cd99e drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X
    5fd92907a473 spi: cadence-quadspi: Fix check condition for DTR ops
    d6080ac32e3e perf/x86: Fix out of bound MSR access
    cae49c93c71c net: usb: lan78xx: don't modify phy_device state concurrently
    d45f37c6120e net: usb: pegasus: Check the return value of get_geristers() and friends;
    e5f45fdefd8d ARM: dts: nomadik: Fix up interrupt controller node names
    56dcfd2e0145 qede: fix crash in rmmod qede while automatic debug collection
    0620a81e8040 drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.
    c6751ce1a2a4 scsi: core: Fix capacity set to zero after offlinining device
    87820c748fda scsi: core: Avoid printing an error if target_alloc() returns -ENXIO
    7bbfccc78e0e scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()
    f57f3722788e scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()
    fa3c19ceaa8b scsi: pm80xx: Fix TMF task completion race condition
    c589360bd3a9 dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available
    d09867c795c3 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
    38df50afe852 net: xfrm: Fix end of loop tests for list_for_each_entry
    1718285e1419 spi: spi-mux: Add module info needed for autoloading
    7c6e26d59bfb dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()
    fcd998a0536e dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers
    d9aee1535e7b USB: core: Fix incorrect pipe calculation in do_proc_control()
    08fb58a2c3dc USB: core: Avoid WARNings for 0-length descriptor requests
    261d195d5fe6 io_uring: Use WRITE_ONCE() when writing to sq_flags
    e8daa0dd99c9 mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards

(From OE-Core rev: 1dc896275f31df9b620f22c94fc478252e24c514)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
92d1ba8dbb Revert "default-distrovars.inc: Set BBINCLUDELOGS to empty to disable printing failed task output multiple times"
There are fixes in bitbake which should now allow this to operate as expected.

(From OE-Core rev: b7f9980a5b2d29ac289b8cfde67779c11fda41d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Joshua Watt
d584f9c6bd bitbake: cooker: Allow upstream for local hash equivalence server
The hash equivalence server has had the option to support a read-only
upstream server for some time now when launched as a standalone program,
but there was no way to set the upstream when using a locally started
server. Add a new variable called BB_HASHSERVE_UPSTREAM that can be used
to specify an upstream server when a local hash equivalence server is
used (e.g. BB_HASHSERVE is "auto")

(Bitbake rev: 250fa17f1391ff1ee01ab9b51d2a4f9aa35c1d1e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
15c87c405f bitbake: runqueue: Clean up task stats handling
When we parallelised normal and setscene tasks, the task stats
handling was left separate pending further thought. We had to remove
handling of the setscene tasks from the UI in order to maintain
consistent task numbering.

Currently, "0 of 0" tasks can be shown as setscene tasks execute
until the first normal task runs.

The only use left for sq_stats is in the active task numbers which
we can use the length of sq_ive for instead. We can therefore
drop it and return stats in all cases. This removes the "0 of 0" task
problem since the stats in all normal and setscene tasks matches.

[YOCTO #14479]

(Bitbake rev: eae6e947e37e18cded053814bd2a268b44fb25cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
e75e89b418 bitbake: cookerdata: Show error for no BBLAYERS in bblayers.conf
If there is no BBLAYERS set in bblayers.conf show a more helpful
error and exit.

[YOCTO #14340]

(Bitbake rev: 97183e10faf9862b5d9489d6e2c27ac77c3b697d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
38deb04a38 bitbake: cookerdata: Improve missing core layer error message
If the core layer is missing from bblayers.conf, the message the user sees is
hard to understand. Improve it.

[YOCTO #14340]

(Bitbake rev: 5815a7258ebb8a989e0c6f5798853559d9413f02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
433cff7297 bitbake: fetch2: Add recursion guard
Users sometimes put ${S} references in ${SRC_URI} without realising this can be
problematic. Improve the error messages if they accidentally do.

[YOCTO #11593]

(Bitbake rev: 89e0b19ec0b245a6cd414088904c91808e8814ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
d0389d202c bitbake: data_smart: Improve error display for handled exceptions
We don't need tracebacks for BBHandledException. Reduces confusing output like:

ERROR: /meta/recipes-core/images/core-image-tiny-initramfs.bb: Circular task dependencies as do_image_complete depends itself via the chain do_image_complete -> do_packageswu -> do_image_qa -> do_image -> do_image_cpio
ERROR: ExpansionError during parsing /meta/recipes-core/images/core-image-tiny-initramfs.bb
Traceback (most recent call last):
  File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image_qa', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']):
                     if task in deps:
    >                    follow_chain(othertask, endtask, chain)
             chain.pop()
  File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']):
                     if task in deps:
    >                    follow_chain(othertask, endtask, chain)
             chain.pop()
  File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image_cpio', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']):
                     if task in deps:
    >                    follow_chain(othertask, endtask, chain)
             chain.pop()
  File "/bitbake/lib/bb/build.py", line 1038, in follow_chain(task='do_image_complete', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']):
             if task in chain:
    >            bb.fatal("Circular task dependencies as %s depends itself via the chain %s?!" % (task, " -> ".join(chain)))
             chain.append(task)
  File "/bitbake/lib/bb/__init__.py", line 165, in fatal:
         mainlogger.critical(''.join(args), extra=kwargs)
    >    raise BBHandledException()

to the real error:

ERROR: /media/build1/poky/meta/recipes-core/images/core-image-tiny-initramfs.bb: Circular task dependencies as do_image_complete depends itself via the chain do_image_complete -> do_packageswu -> do_image_qa -> do_image -> do_image_cpio

(Bitbake rev: 551d4c0576a0a0c3406000029df9238b312f2263)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
3a8cb949a9 bitbake: build: Catch and error upon circular task references
If there are circular task references, error on them rather than show
a recursion error. A simple reproducer is:

"""
do_packageswu () {
       :
}

addtask do_packageswu after do_image_complete before do_image_qa
"""

into image_types.bbclass. There is code in runqueue to detect these but
we never get that far with the current codebase.

[YOCTO #13140]

(Bitbake rev: 339d4d6be515a71311b81fb9e99742af0d8a5130)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
3a737a783c bitbake: data_smart: Make ExpansionErrors more readable
This adds context to ExpansionError messages which show the variable chain for which
expansion is being attempted. This should allow users to debug the issues more easily
than the current message (the first line alone below). Example output from a
SRC_URI which references ${S}:

bb.data_smart.ExpansionError: Failure expanding variable PV, expression was 0.1+git${SRCPV} which triggered exception RecursionError: maximum recursion depth exceeded while calling a Python object
The variable dependency chain for the failure is: PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> BP -> FILESPATH

which is more useful that no output. We could truncate at repetition but I suspect
this makes this clearer as it stands so there is little value in complicating the code.

(Bitbake rev: 699634bec47964fa7ab18689dc23db6f0bc22fb3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
f49854c1f7 bitbake: build: Avoid duplicating logs in verbose mode
With "bitbake -v", for task failures you'd see the log output twice. Avoid
this by using the existing "did we print info" switch.

(Bitbake rev: e2c1afda4cb8023ed4ffeb5dc5bee4f0055659a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
ba4a61e69c bitbake: process: Don't include logs in error message if piping them
If the caller is piping the logs, they likely don't want them in the error exception
as well. This removes duplicate output from the build output allowing the UI level
controls on whether to show logs to work correctly.

(Bitbake rev: fc58ad84a9deb2620ad90611684dad65dafedb11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
c2b40b0f6d bitbake: build: Handle SystemExit in python tasks correctly
If a python task fails with sys.exit(), we currently see no TaskFailed event.
The high level code does detect the exit code and fail the task but it can
leave the UI inconsistent with log output.

Fix this be intercepting SystemExit explicitly. This makes python
task failures consistent with shell task failures.

(Bitbake rev: 9eee9fd4f2f96789ad2b037e74d561bdc1426856)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
444592b763 bitbake: build: Match markup to real function name
The point of the injected text is to identify where the function comes from. Using
the correct function name would therefore be better.

(Bitbake rev: 30c6ff8551c235254ab90663ab88f66bb0c71edb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
ad0ffb6f9f bitbake: parse_py: Drop deprecated function reference
This is now used from bb.parse everywhere so drop this long deprecated reference.

(Bitbake rev: aaa5292ef96ea27f505bc5c5a4b1eb4f497ed061)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:26:04 +01:00
Richard Purdie
81f47730b3 bitbake: persist_data: Drop deprecated/unused function
This class has long since been deprecated and is unused, drop it. I'd love
to get rid of the rest of persist_data but it is still used by the fetcher,
sadly.

(Bitbake rev: 1c574aae8c8ec427f27ab0d68bac9e7483016f18)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:26:04 +01:00
Quentin Schulz
855334b0f7 bitbake: doc: bitbake-user-manual-fetching: S should be set to WORKDIR/git for git fetcher
Document that S has to be set to "${WORKDIR}/git" in order for the
recipe to work if the git fetcher is fetching the main source of code
for the recipe.

(Bitbake rev: c394f34437686c2f57a27f0c06d7aeb3268bfd41)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:26:04 +01:00
Richard Purdie
b063499763 pseudo: Update with fcntl and glibc 2.34 fixes
Pull in the following changes:

* ports/linux/guts: Add closefrom support for glibc 2.34
* pseudo_client: Make msg static in pseudo_op_client
* ports/linux/guts: Add close_range wrapper for glibc 2.34
* pseudo_client: Do not pass null argument to pseudo_diag()
* test-openat: Consider device as well as inode number
* test: Add missing test-statx test case
* fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ

(From OE-Core rev: 71b549924a7fa7973a8e03e11f3db45fdc29889d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:39 +01:00
Hsia-Jun(Randy) Li
73967f5e6f cross-canadian: make android pass target sys check
We could build an Android toolchain but its triple should
always contain the string android or clang can't link
the right object files for it.

(From OE-Core rev: e9527164cfd628cfd3def2077cc19e75add06db8)

Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Alexander Kanavin
714f11a72d core-image-ptest-all: bump RAM requirement to 4G
/tmp is half that, and lttng-ptest writes just under 1G there
(and just over 1G on aarch64), so let's have a safe margin.

(From OE-Core rev: ef39039cac5819b2e1d65838367ff2be69eab4c2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Alexander Kanavin
84e0778f0a lttng: update 2.12 -> 2.13.0
Drop 0001-tests-regression-disable-the-tools-live-tests.patch
(mass-disabling of ptests) and replace that with more targeted fixes:

- a patch that adds explicit sleeps where races due to too tight timings
were observed (not a proper fix; upstream needs to figure out how
to sync explicitly and reliably)

- LD_LIBRARY_PATH so that helper binaries are able to find their
custom libraries they're linked with (we strip rpath from them
for reproducibility)

- set pgrep location explicitly as it used unconditionally
on target, but auto-detected (incorrectly) on the host

- enable kmod as it is available in target images

- correct various missing scripts, binaries, and inhibit stripping
where that is expected.

License-Update: license info consolidated in LICENSE
(From OE-Core rev: 750d640f12b5c6804af51a67e23d4aca93564b79)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Ross Burton
d42e12a0bd create-spdx: handle CLOSED license
The special CLOSED license means that this is closed source code with
no other licensing assertions.  It's not a generic license in oe-core,
and not a SPDX license, so transform it to NONE explicitly.

(From OE-Core rev: b71bfba1b5076ad1b9a10c08ef0e3393ccbed92a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Robert Yang
dbac3e8432 assimp: Remove it
Remove it since it has license issues:

* scripts/StepImporter/schema_ifc2x3.exp
Copyright by: International Alliance for Interoperability, 1996-2005 All rights
reserved. No part of this documentation may be reproduced, stored in a
retrieval system, or transmitted in any form or by any means, without the prior
written permission of the owner

* test/models-nonbsd/X/dwarf-Read-Me.txt
RESTRICTIONS: This model pack is available for use in freeware, shareware,
commercial games/software with the following restrictions:- **You may not
sell/re-sell this model pack or claim it as your own. ***You may not
redistribute this pack in some other model pack through a website or on a
compilation CD of any kind, without my written consent. Psi
http://www.psionic3d.co.uk

* test/models-nonbsd/B3D/turtle.source.txt
Copyright 2004, Psionic Design e-mail: psionic@blueyonder.co.uk Used with
permission. RESTRICTIONS: This model pack is available for use in freeware,
shareware, commercial games/software with the following restrictions:- **You
may not sell/re-sell this model pack or claim it as your own. ***You may not
redistribute this pack in some other model pack through a website or on a
compilation CD of any kind, without my written consent.

And no recipes depend on it, so remove it.

(From OE-Core rev: 92719e01a90f2a80f5cceb2f98a48c49f0c24f1c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Quentin Schulz
ea71f54102 conf/mips: mips16e: prepend override to MACHINEOVERRIDES
Add the tune specific override to MACHINEOVERRIDES and not OVERRIDES as
is done for all other tune include files.

Also prepend it instead of appending so that it's among the leftmost
overrides in MACHINEOVERRIDES and has a lower precedence compared to
other MACHINEOVERRIDES added later (which usually are added via a =.
(prepend)).

(From OE-Core rev: c1d524cae8ba5aa1e30e4a66937b8af3d4a67531)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Richard Purdie
fa811bef85 oeqa/oescripts: Fix after tar recipe changes
(From OE-Core rev: d8862f5b85266b2f8592cb1efe23e377c10c7b7d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Mingli Yu
966365a6a3 tar: add pkgconfig for selinux
Add pkgconfig setting for selinux.

(From OE-Core rev: 348ce6f8d5f5f3f598d01d8db55d575a972fe847)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Mingli Yu
f47964be45 findutils: add pkgconfig for selinux
Add pkgconfig setting for selinux.

(From OE-Core rev: 7cc66fcdf8c2cec16533a4d7a6032ea2986b9079)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Mingli Yu
2c97f0e299 coreutils: add pkgconfig for selinux
Add pkgconfig setting for selinux.

(From OE-Core rev: ee48a2dbfb9e79225774c69a08a92a88dc9ac1d9)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Richard Purdie
fd9c3a5a14 bitbake: runqueue: Fix issues with multiconfig deferred task deadlock messages
In multiconfig builds with large numbers of identical tasks, builds were
deadlocking after recent runqueue changes upon rebuilds where there was
heavy sstate usage (i.e. on second builds after a first completed).

The issue was that deferred tasks were being left indefinitely on
the deferred list. The deadlock handler was then "breaking" things
by failing tasks that had already succeeded, leading to the task
being on both covered and not covered lists, giving a further error.

The fix is to clean up the deferred task list when each setscene task
completes. I'd previously been hoping to avoid iterating that list
but it appears unavoidable.

[YOCTO #14342]

(Bitbake rev: ae24a0f2d2d8b4b5ec10efabd0e9362e560832ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-08 15:33:14 +01:00
Richard Purdie
7e599a1feb bitbake: runqueue: Avoid deadlock avoidance task graph corruption
If the deferred task deadlock avoidance code triggers, it could mark an executed
task as failed which leads to "covered and not covered" error messages. Improve
the logic so if the deadlock code is triggered, it doesn't cause the errors.

(Bitbake rev: 51bdd6cb3bd9e2c02e261fb578bb945b86b82c75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-08 15:33:14 +01:00
Saul Wold
745bc89574 create-spdx: remove trailing comma
The trailing comma turns ref_id into an object instead of a string
when added to the relationship table.

(From OE-Core rev: ec20e1a0e0ba61a7615b361bfc9d9dc58a91f9b3)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-08 15:32:55 +01:00
Scott Weaver
7de1e4cd7a bitbake: bitbake: tests/fetch: add and fix npm tests
This adds one new test that verifies the use of a specific filename
when defined in PREMIRRORS.

bb.tests.fetch.NPMTest:
	- test_npm_premirrors_with_specified_filename

While testing bz#13039, it was found that test_npm_registry_alternate
fails with ENOTFOUND. This was corrected by using npmjs's public mirror.

The change to fetch2 for bz#13039 highlighted an issue with the
test_npm_premirrors test where the created file:// mirror was using the
downloadfilename rather than the tarball that is defined by the npm url.

(Bitbake rev: 5ba191a0407af9e652e3b86302dce3e952d6b587)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:39 +01:00
Scott Weaver
3b58b1fc1c bitbake: bitbake: tests/fetch: add downloadfilename tests
This adds three new tests which evaluate different use cases of the
downloadfilename property.

bb.tests.fetch.FetcherNetworkTest:
	- test_fetch_specify_downloadfilename
	- test_fetch_premirror_specify_downloadfilename_regex_uri
	- test_fetch_premirror_specify_downloadfilename_specific_uri

(Bitbake rev: 61db3e96530d650e098436fd086f0182d32998f7)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:39 +01:00
Scott Weaver
4939a41982 bitbake: bitbake: fetch2: fix premirror URI when downloadfilename defined
When downloadfilename is defined in a recipe's SRC_URI and PREMIRRORS is also
defined using the same URI, the downloadfilename is appended to the mirror
URI and it should not be.

[YOCTO #13039]

(Bitbake rev: 8a3ff9f3eaf19d4258eb070c5dc230dface269b2)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:39 +01:00
Randy MacLeod
77ee567007 tcmode-default: add rust to the default toolchains
Remove the rust_versions.inc file and put it's content
in tcmode-default.inc is done for other toolchains.

Rename RUST_VERSION to RUSTVERSION to adhere to the
naming format used for other languages.

(From OE-Core rev: e56c4e0dca3ca6187271031d4f30c76a42879639)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Robert P. J. Day
abeb2e95c6 systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'
Repo-wide replacement to use newer variable to represent systemd
system unitdir directory.

(From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Robert P. J. Day
3a70262357 image_types_wic.bbclass: alphabetize list of WICVARS
It's way easier to scan a list of variables if they're sorted one per
line.

(From OE-Core rev: aec6fcb98c7dabf16779efb333be09d73d9f4ee0)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Richard Purdie
1ad2ae0497 go: Exclude CVE-2021-29923 from report list
Upstream don't believe it is a signifiant real world issue and will only
fix in 1.17 onwards. Therefore exclude it from our reports.

https://github.com/golang/go/issues/30999#issuecomment-910470358

(From OE-Core rev: 5bd5faf0c34b47b2443975d66b71482d2380a01a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Richard Purdie
8632de2d7a flex: Add CVE-2019-6293 to exclusions for checks
CVE is effectively disputed - yes there is stack exhaustion but no bug and it
is building the parser, not running it, effectively similar to a compiler ICE.
Upstream no plans to address and there is no security issue.

https://github.com/westes/flex/issues/414

(From OE-Core rev: 0cae5d7a24bedf6784781b62cbb3795a44bab4d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Richard Purdie
23d95eb656 utils: Drop obsolete oe_machinstall function
This function does something similar to the bitbake fetcher file search
paths and is an old remnant of how this could have once been handled. There
are no users in OE-Core and we'd always prefer the fetcher to handle this now
as it handles signatures correctly. The direct OVERRIDES reference would
likely break any user of the function. Remove it to be safe and ensure it
isn't being used anywhere.

(From OE-Core rev: d49ba0243e3d28672d16cd02753eb7e85d91bbab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Richard Purdie
8914bc77b4 utils: Drop unused variable staging_install from oe_libinstall
Remove unused variable/code.

(From OE-Core rev: 76ade5a2a55eda2975dfa5d6a30ac4cb74421567)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Quentin Schulz
7c1215e821 bitbake: doc: bitbake-user-manual-execution: remove mention to long-gone BBHASHDEPS variable
BBHASHDEPS was removed from bitbake in April 2014, with the following
commit:
92526eadd09d "bitbake-worker: Drop BBHASH variables"

so let's remove mentions from the docs.

(Bitbake rev: 7816a8de70adc3806a3739384cf08b281b4ee401)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 10:19:03 +01:00
Michael Opdenacker
0c16f67afe bitbake: bitbake-user-manual: replace "file name" by "filename"
There are many more instances of "filename" or "filenames" than
of "file name" or "file names".

The winner takes it all!

(Bitbake rev: dcd115176f63256f10db0b24b563683c4bdf8f96)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 10:07:53 +01:00
Khem Raj
cb73383fb9 vim: Add packageconfig for sound notification support
vim uses libcanberra to implement sound, currently its ok for target
since we have captured dependencies in recipe sysroot but things go a
bit out of control when building vim-native, where configure starts to
poke at host system and if it find libcanberra then silently enables it
lets make it consistent

(From OE-Core rev: 7bf11ce14336eff07a4e7216fb485f98757088ed)

(From OE-Core rev: 70de1dbb660461bdf0613494f53ec4c78738ae2a)

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>
2021-09-06 09:49:50 +01:00
Kristian Klausen
73384ac936 wic: Add extra-space argument
This allows extra space to be added after the last partition and is
especially useful when free space is needed for ex: adding partitions on
first boot with ex: systemd-repart[1] and the image is tested in QEMU.

[1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html

(From OE-Core rev: f81b188bcf5aa18746fd622eb7b5c0dcb0b5c93d)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 09:49:50 +01:00
Peter Kjellerstedt
f97a29af63 common-licenses, licenses.conf: Remove duplicate licenses
This removes BSD-0-Clause, Nauman, tcl and vim and adds mappings for
them to their SPDX counterparts (0BSD, Naumen, TCL and Vim).

It also removes FreeType, which already had a mapping to FTL.

(From OE-Core rev: 35d699c479b6ce6acafbf75fb003618aaad094d7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 09:49:50 +01:00
Kristian Klausen
d5f2b5b7ec systemd: Add homed PACKAGECONFIG
If systemd is built with fdisk support[1] and the openssl and cryptsetup
PACKAGECONFIG are enabled, systemd-homed[1] is automatically enabled.
The org.freedesktop.home1.conf file was forgotten, so this commit adds
the file and make enabling homed a explicit choice.

systemd-homed.service and systemd-homed-activate.service have a Also= on
each other, so "systemctl" has been fixed to handle the circular
dependency.

userdb isn't strictly speaking needed for homed but "systemctl" can't
handle the missing unit file and upstream recommend enabling both[3].

[1] Automatically enabled if the fdisk dependency is installed which it
    is as util-linux is pulled in by systemd
[2] https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html
[3] 871dc8d644

(From OE-Core rev: fff339b5bd7789db5d0c024fc84490ac17fa4fe9)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 09:49:50 +01:00
Richard Purdie
f2728d3ec8 build-appliance-image: Update to master head revision
(From OE-Core rev: ffb886497390d4de2631bda671f2f631bc0bc7be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:54:55 +01:00
Robert P. J. Day
98dcd17a5c README: update manual list and names, online docs URL
Minor tweaks to top-level README:
  - add missing line for overview manual
  - correct manual names to match their *actual* names
  - point reader at docs.yoctoproject.org for online docs

(From yocto-docs rev: 0ce9097728dbdca926fdf7065490207d09a34cb0)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
a24f1db1b3 ref-manual: update SYSROOT_DIRS_* variable entries
Both SYSROOT_DIRS and SYSROOT_DIRS_BLACKLIST have more current
values.

(From yocto-docs rev: 750ae3fca42e273cd533f9c8b678c2e144164191)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
5cffbbb99a dev-manual: drop "three" since there are four requirements
Since there are actually four listed requirements, just drop the
number to avoid future issues.

(From yocto-docs rev: 612015dc227600d23956402eab7f324e0c8fd42a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
81592ed6ac dev-manual: various pedantic nitpickery
Some minor grammatical and structure tweaks.

(From yocto-docs rev: 505f9b21898475746d401c8ab79b95f3dc4d02e7)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
4a979c6f1c dev-manual: small number of minor aesthetic tweaks
Just a collection of:

  - grammar tweaks
  - space fixes
  - font changes

(From yocto-docs rev: c49984f89cd2295c54f01730649aaca83eaf515e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
055b36a005 ref-manual: add missing "${PN}-src" to default PACKAGES list
(From yocto-docs rev: c4e986364fc67799a9cba8fa1e9d33481bebaa8c)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Michael Opdenacker
0e95c887da dev-manual: explicit that devpyshell is a task
Without this, readers could think that "devpyshell" is a script,
at least until they read the remainder of the section.

(From yocto-docs rev: fe1e3323a633acf51d64cfb6c4bdd2ecd324a79e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
5a9c5c47e0 dev-manual: pass False to d.getVar() for devpyshell example
In the example in section 3.9, the call to d.getVar() needs to have
the additional argument of "False" so that the output is not expanded.

(From yocto-docs rev: ae364e76a322278e7fe37aeecaa5e854d0a0efee)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Ross Burton
4d3692b5a7 create-spdx: don't duplicate license texts in each package
Instead of putting the full license text for non-SPDX licenses into the
recipe and every package, use links to the recipe from the packages if
possible.

(From OE-Core rev: 9220d35dc9071ebbe991117af8261ad99f321bb3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
41a29f0b96 create-spdx: embed unknown license texts
For licenses which are not known to SPDX, find and embed the actual
license text in an ExtractedLicesingInfo block.

(From OE-Core rev: c638f4ae579520cab8cf30e1b4306bd0e2d2a788)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
734f5badef create-spdx: remove redundant test
add_extracted_document() is only called if the license isn't known to
SPDX, so there's no need to check again.

(From OE-Core rev: 03f084251510c810c8434d9ddd459187827c1ca8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
3c9102f3b6 create-spdx: transform license list into a dict for faster lookups
spdx-licenses.json contains an array of licenses objects. As we'll be
searching it often, convert that to a dictionary when we parse it.

(From OE-Core rev: 3405d9114ca9fe4ba820e0025c91670d1a5150b1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
2cca28cfde oeqa/selftest/recipetool: update for license changes
Now that recipetool writes BSD-3-Clause, update the test appropriately.

(From OE-Core rev: e4cb21609e3e95725b235de48458ab3c111ee9c1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Sakib Sajal
f2fb3baedc go: upgrade 1.16.5 -> 1.16.7
(From OE-Core rev: dd26135ba4e23ead3a9998087cb60d9e93399e48)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Richard Purdie
49887f8d62 xdg-utils: Add fix for CVE-2020-27748
Backport an upstream patch for the CVE.

(From OE-Core rev: 87191ed0303f6552865ad1edcacd674c57f2010c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Martin Jansa
ed8930e9a7 default-distrovars.inc: Set BBINCLUDELOGS to empty to disable printing failed task output multiple times
* the output is shown 3 times with default configuration and 5 times when --verbose
  is being used with knotty, there might be other use-cases where we actually need
  this, but until the logging is resolved better, setting this to empty looks like
  more reasonable option (considering that e.g. log.do_compile from chromium-x11
  can be over 50MB long, generating 150MB+ cooker log)

* more details in:
  https://bugzilla.yoctoproject.org/show_bug.cgi?id=14542

(From OE-Core rev: ede2e0df7982777212b8c25195d41ce9e57562b5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
2d30e89a15 recipetool/create_buildsys_python: treat BSD as BSD-3-Clause
The PyPI license classifiers include "OSI Approved: BSD", which does not
specify which of the many variations of BSD license it actually means.

The generic "BSD" license in the oe-core set is actually BSD-3-Clause.
>From a random sample of ten PyPI modules that use "BSD", they are all
BSD-3-Clause.  As we expect the recipe maintainer to verify the license
anyway, and this matches the previous license text, explicitly set the
license to BSD-3-Clause.

(From OE-Core rev: a879fff9af31e45b1acc3f19a3c2a7eaf6319ad4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
44621c303e hdparm: set correct license
The bulk of hdparm is under a unique license. Set the correct BSD
version, and specify that the hdparm license is also used.

(From OE-Core rev: 9a2e2251e34d020cf24d6552c06d7508df3199fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
873808b0f2 ffmpeg: update LICENSE
"BSD" is ambiguous, ffmpeg comprises of several licenses which are
BSD-like.

(From OE-Core rev: 50ba15c0a6867fcb0498a2c2c5449aa96e5f4bde)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
364a58e371 ppp: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-3-Clause-Attribution
and BSD-3-Clause.

(From OE-Core rev: dceba0bcdb14a117cf8a77448a3bbc8410d96a73)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
64a2dd7fdf ovmf: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause-Patent.

(From OE-Core rev: 3e5c91e3517f15c25ecf56877a15962427dd0f3b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
b7212a9aa1 shadow-sysroot: sync license with shadow
This recipe is just a single data file from shadow, but as we can't
easily tell what license that specific file is under just copy the full
license statement.

(From OE-Core rev: f0e2f3b1f855ea6e184bd1d8d796279fedcbfa33)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
f231bc0b4f valgrind: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: b12cbda349658ddef8cb72d5738c094c2b009e7e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
b9d418dd14 libxfont: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

Note that the actual license text is BSD 4-Clause with clause 3 rescinded:

https://gitlab.freedesktop.org/xorg/lib/libxfont/-/blob/master/COPYING#L157

(From OE-Core rev: 1649e9d281938a9183c5620612ed7a24a9b9f1e2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
f2b2c200a2 oeqa/recipeutils: update for license change to python-async-test
The python-async-test recipe is now BSD-3-Clause.

(From OE-Core rev: d819d86b482d397425043c7f478712a7f225bdae)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
750c0c5674 xinetd: correct LICENSE
The xinetd license is superficially BSD-like, but it isn't BSD. Now that
we have the full SPDX license set in oe-core, use the specific xinetd
license.

(From OE-Core rev: 9d99cb5273ee0a775307afe13c14f01cb37426e0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
b1ff4c1349 lsof: add upstream check
Upstream has moved to GitHub.  Whilst it's now too late to upgrade to
the latest release, we can add upstream check variables so that we get
notified we're out of date.

(From OE-Core rev: 9a86a68a41be5bc6f32f9c86d8de7576c5dffff4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
df6edbc33a selftest/python-async-test: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 78a8427eb11d2931afcbf2a24d2441bf08bac0cf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:10 +01:00
Ross Burton
f2a82942ff lsof: correct LICENSE
The lsof LICENSE is superficially BSD-like, but it isn't BSD.  Now that
we have the full SPDX license set in oe-core, use Spencer-94.

(From OE-Core rev: 5c1d61d1d4dfacb643a366285c0392e6a31087ed)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:10 +01:00
Richard Purdie
fedbcb06d6 tcl: Exclude CVE-2021-35331 from checks
Upstream don't believe this is an issue.

(From OE-Core rev: adf7bafee3f8884e525b5639ba092a1cd8e3beb9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:10 +01:00
Ross Burton
89efc52045 dev-manual/common-tasks: sync libxpm fragment with the recipe
Specifically, the actual recipe now has LICENSE=MIT.

(From yocto-docs rev: 9f64931308f73607c40ed1eb8cf915666b6ff90a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 14:31:00 +01:00
Richard Purdie
2164ae0b28 oeqa/runtime/parselogs: Make DVD ata error apply to all qemux86 machines
This log checking fix is needed for both qemux86 and qemux86-64 so move
to the common section.

[YOCTO #14528]

(From OE-Core rev: 2475ce68f0bc1f342c75364dfcfaf7f30499badf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Daniel Wagenknecht
aeb1d21db7 mirrors.bbclass: remove redundant server-specific mirrors
With the previously added general git repo fallback rule the server
specific fallback mirrors for git.savannah.gnu.org and
git.yoctoproject.org are redundant. Remove them.

(From OE-Core rev: da864dbed0c29b3e3f0d1676ec1bb974f332ff3f)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Daniel Wagenknecht
e3db91baf4 mirrors.bbclass: provide additional rule for git repo fallbacks
Git hosting servers that require a slightly different URL when accessing
repositories via https protocol instead of the git native protocol
are not uncommon (servers using cgit as web UI). Provide a general rule
to try HOST/git/PATH via https as git repo fallback.

(From OE-Core rev: 0682697987873ab395360035b70630acfe66cd3a)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Denys Dmytriyenko
6265c8543b readline: correct pkg-config dependency for termcap
readline uses ncurses for terminal capabilities database, but it fails to
specify it correctly in the pkg-config .pc file, resulting in:
Requires.private: termcap

As ncurses by default provides newer terminfo instead of termcap, there's
no termcap.pc in the system and pkg-config fails when linking with readline:
readline.pc X-> termcap.pc

Help configure script to set pkg-config to use ncurses for the correct
terminal capabilities database:
Requires.private: ncurses

This fixes pkg-config dependency chain:
readline.pc -> ncurses.pc -> tinfo.pc

(From OE-Core rev: b4364cc44ae47d3b41a4fd181c904ae97e213842)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
acec2d26d6 classes/create-spdx: Comment out placeholder license warning
We don't want this warning causing problems on the AB, so leave it
comment out for now

(From OE-Core rev: d41018311abf91899645b8f3160db540abdb5398)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
cf707e8323 classes/create-spdx: Skip package processing for native recipes
Native recipes do not produce packages and should not process them,
otherwise it can trigger an error in read_subpackage_metadata

(From OE-Core rev: ea077b1ff6a4ccd5241a085bf9a3f67011e0f7bf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
b8b45c35fa classes/create-spdx: Collect all task dependencies
Stop filtering the runtime dependencies based on do_create_sdpx (makes
it only pick up things in DEPENDS) and instead include all task
dependencies that are not the current PN. This allows other dependency
methods to be picked up correctly, for example the dependency on the
kernel used by kernel modules.

(From OE-Core rev: c9659562cf88a820c668ff1eb20814dcb4829392)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
45ea7b7970 classes/create-spdx: Add special exception for Public Domain license
The Public Domain license (PD) needs a special exception in the license
processing since there is no common license text to be extracted for
these licenses.

(From OE-Core rev: fe5b757712aa99ff1ff10d2304ac320100635200)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
de3b871786 classes/create-spdx: Fix file:// in downloadLocation
file:// URIs should not be included as the downloadLocation. Instead,
loop until a non-file:// URI is found, or set the location to
NOASSERTION if none is found

(From OE-Core rev: 19c61ec3986213b336d965d90b1329085e7d6179)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
beeb0f9e53 classes/create-spdx: Speed up hash calculations
Use the bb.utils.sha* utilities to hash files since they are much faster
than the loops we were rolling ourselves

(From OE-Core rev: a6d9de5350937c7e25899491db59f473345f0b69)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
902480107d classes/create-spdx: Fix up license reporting
Licenses reported in the SPDX documents should be either:
 A) A valid SPDX identifier cross referenced from the SPDX license
    database
 B) A "LicenseRef" to a license described in the SPDX document

The licensing code will now add a placeholder extracted license with
corresponding "LicenseRef" for any licenses that are not matched to the
SPDX database

Parenthesis in the license expression are now handled correctly

(From OE-Core rev: 28d9d035c0ff8fcaf28bc96a976a43a602a47e94)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Saul Wold
0d5c2d9f35 classes/create-spdx: extend DocumentRef to include name
This will create a more uniq DocumentRef, which will allow
the individual spdx files to be merged into a single SBOM
file reflecting the image. Do the same with the runtime dependencies
also

(From OE-Core rev: df7c88a48621d32c02f328eedc314f10d475b758)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
25e41200c7 classes/create-spdx: Fix another creator
Fixes another creator that was missed earlier

(From OE-Core rev: 046c05fec9fc5162d7a14971ed1402d86605d229)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
bdda626481 classes/create-spdx: Add NOASSERTION for unknown debug sources
If a debug source cannot be found, mark it as NOASSERTION so that other
tools at least know we were unable to locate it.

(From OE-Core rev: 0e6bdd3f208c50153087c2baca67e9fd64a458d0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
0b871c57b8 classes/create-spdx: Add runtime dependency mapping
(From OE-Core rev: 82f3229bce41dc101c79865033432161dac269d8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
69faca3df6 classes/create-spdx: Add index to DEPLOYDIR
Add the index to DEPLOYDIR in addition to adding it to the SPDX archive

(From OE-Core rev: 374dc08c0f22e98a267676f71308592d17f77d64)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
f1cd4f264d classes/create-spdx: Add SHA1 to index file
(From OE-Core rev: ebfe78ad26b643ce0fb22ba5b3ede43da4a78987)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
f3796b4524 classes/create-spdx: Change creator
Update the creator name since this no longer lives in meta-doubleopen

(From OE-Core rev: 6fdea64ef53eb4de3d0e58e70ae6b391fdff6cd0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
f1a34a63e4 classes/create-spdx: Add class
Adds a class as a first attempt to create SPDX SBoM documents during the
build. This initial work was influenced by [meta-doubleopen][1],
although almost completely rewritten.

[1]: https://github.com/doubleopen-project/meta-doubleopen

(From OE-Core rev: 78c79821ae7e2f060b9a74ea9aefce98102bb00e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
7ec54b1743 classes/package: Add extended packaged data
Adds extended package data which is encoded as JSON which allows it to
encode more structure than the "flat" package data files. The extended
data might be much larger than the standard package data, so it is not
read by default and instead requires
oe.packagedata.read_subpkgdata_extended() to be called

Currently, the file sizes and ELF debug sources are saved off into the
extended package data

(From OE-Core rev: db9cf430e54ae68da80fbc3fba80ce88d8df164d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
d521ba8c32 Add SPDX licenses
Adds the SPDX license database from https://github.com/spdx/license-list-data

(From OE-Core rev: a8048931701438e2f267a52a43869c27743907e3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Ross Burton
2220839599 common-licenses: add missing SPDX licences
As part of the work to converge our license support with SPDX, ensure
that we have all of the licenses that SPDX supports.

(From OE-Core rev: e2f9092c37395f4e3ee9d0777e28c83cce6007ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
8d25cd30ac wpebackend-fdo: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: 391895306c44545843dca1ab8ac5b299194f18a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
d209ae8887 libwpe: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: 521664fea3f21c1fe08ab19227519cbb224f353c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
4e794f99fc webkitgtk: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: fea814494865976e78be308642db553102ca9e02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
d3f2e9d8ec libx11-compose-data: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-2-Clause BSD-4-Clause.

(From OE-Core rev: e55bc3bdb8698ea6673174d33f659518b55f1ff2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
f5e78cb2ca iputils: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: e3ece26a268e0f7b69221ce1da2f5be613b5826f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
6dc9c606f6 python3-packaging: fix license statement
This is licensed as Apache OR BSD, not AND.

Also use the precise license BSD-2-Clause.

(From OE-Core rev: b7b406287dc05ae7228ef66dbada71c439bce4fb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
7eaab4b261 openssh: remove redundant BSD license
The license statement already includes BSD-2-Clause and BSD-3-Clause, so
remove the redundant and ambiguous BSD license.

(From OE-Core rev: 5c0b03cda19bcebfc71e1e601a4336fcda4bfc2b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
359fc85454 libevent: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 924d1d9ca51f2a45cdf0094c50434e25c0437c6a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
df0997688a acpica: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 0cfa82ca0df9b711521f7e47a22a7650871e5883)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
aa58df18bb dtc: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: 4765c9be0ccc883d3b803b0695b8bf986d9b105f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
1d0ef6010a nfs-utils: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 5214d23cf0d316d501a147a09edfb46df42d6cb7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
e54618d010 quota: remove BSD license
Only the 'quot' tool was BSD licensed, and this was removed upstream in
commit 5d30a29 (since 4.05).

(From OE-Core rev: 3dfe4fe43a3bb5d90d6d7cb1ee56db3b0657821e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
95e494cefc python3-numpy: remove redundant BSD license
The license list already includes BSD-2-Clause and BSD-3-Clause, so
remove the redundant and ambiguous BSD license.

(From OE-Core rev: 7026bfa36aa07aa95e0e4ecf1787c09001a752bf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
e3be13ae57 lz4: remove redundant BSD license
The upstream license is BSD-2-Clause or GPLv2, so remove the redundant
and ambiguous BSD license.

(From OE-Core rev: 53cf640e72118d0a7916b165d78c68090aa06381)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Alexander Kanavin
359e1cb62f mesa: enable crocus driver for older intel graphics
See here for the full story:
https://www.phoronix.com/scan.php?page=news_item&px=Intel-Crocus-Default-Gallium3D

Once crocus does become the default over i965, upstream is likely to retire
classic pre-gallium drivers altogether, which (with the exception of
i965, superseded by crocus) are all for retrocomputing hardware.

(From OE-Core rev: dfc5f935b5b1759f73b2ddd86d2b291436dbc705)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Martin Jansa
a1c9d67c2b rust: remove unused patches
* 0001-nfc-Fix-missing-include.patch was only used in 1.51.0 version recently removed
* 0001-rustc_target-Fix-dash-vs-underscore-mismatches-in-op.patch was only used in 1.49.0 version in meta-rust

(From OE-Core rev: 52b12dac55a3747d8d6f2e799c669ef2bcda57ae)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Richard Purdie
63b1fd2226 rust-common: Hack around LD_LIBRARY_PATH issues on centos7
When building cargo-native on centos7 with buildtools tarball installed,
we see failures:

/bin/sh: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /home/pokybuild/yocto-worker/reproducible-centos/build/build-st/tmp/work/x86_64-linux/cargo-native/1.54.0-r0/recipe-sysroot-native/usr/lib/libtinfo.so.5)

We also see this for libstd-rs once cargo-native is fixed.

The reason for this is that the wrapper script
cargo-native/1.54.0-r0/wrapper/target-rust-ccld has /bin/sh as it's
interpreter and cargo calls this with LD_LIBRARY_PATH set to include the
recipe-sysroot-native. The host /bin/sh links to libtinfo from the host
but it finds the version in the sysroot which needs a newer libc. This
results in the above error since the loader is an older libc and the two
are incompatible.

Our ccld wrapper calls gcc/ld which don't need the LD_LIBRARY_PATH
variable set. We can't patch this out the source since we're using
a prebuilt binary to generate a new cargo binary so this is impossible
to bootstrap.

Instead, put a binary wrapper into place which removes LD_LIBRARY_PATH
from the environment before calling the original wrapper (left in shell
as it is simpler to maintain).

(From OE-Core rev: 8feeeb7f76c6725e5226458c8f22999b67c52694)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Richard Purdie
640136a72b cargo: Apply uninative fix to snapshot as with rust
Also add the interpreter relocation trick from uninative to the prebuilt
cargo binary to match rust-native, just in case that causes other problems
later too.

(From OE-Core rev: e3cb3958cc14672feef5d4d8953131f55db68573)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Marek Vasut
1603585cd2 weston: Add rdp PACKAGECONFIG
Weston has RDP backend support. This can be used e.g. for screen mirroring.
Add PACKAGECONFIG so it can be enabled by the user. By default, this is not
enabled, to retain the old behavior of the recipe.

Below is an example testcase of using the RDP backend for screen mirroring,
i.e. two devices display the same content across ethernet link, input on
either is passed across the link.

- Add the following to weston.ini:
  [core]
  modules=screen-share.so
  screen-share=true
  [screen-share]
  command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/path/to/board.crt --rdp-tls-key=/path/to/board.key --no-config

- Generate keys on the board (the board.key and board.crt above):
  $ winpr-makecert -rdp -path /path/to/

- Restart weston on the board. To start screen sharing, press
  Ctrl-Alt-S
  on the keyboard (see weston compositor/screen-share.c).

- Connect to the weston using freerdp, e.g.:
  $ xfreerdp /v:192.168.1.300

(From OE-Core rev: 05706a487c2e57fb26935276a2ec650405900243)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Ross Burton
b3dcbdc4d6 ptest: allow the ptest-packagelists.inc warning to be disabled
ptest.bbclass has a sanity check that all recipes in oe-core which
inherit ptest are also listed in the ptest-packagelists.inc file, and
the build fails if this is not the case.

Whilst this is a laudable goal, it is over-zealous as if the recipe has
a bbappend in another layer which inherits ptest, the build will fail.

By changing the combination of anonymous Python and bb.error() to a
recipe-scope QA test, this can be handled with the other sanity checks
and bbappends can skip the test if desired.

(From OE-Core rev: abe45c8c0a6da56a278796654d0520250dfd2a97)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Kristian Klausen
75d9a77eba systemd: Add repart PACKAGECONFIG
systemd-repart[1] is useful for partitioning the disk:
"systemd-repart grows and adds partitions to a partition table, based on
the configuration files described in repart.d(5)."[1]

openssl is required by repart, so it can be enabled like so:
PACKAGECONFIG += "openssl repart"

[1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html

(From OE-Core rev: a9fb51b75d4536d13734d91222bb0bc612555ae2)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Ross Burton
e1986db49b mesa: fix build on Arm V5 with soft float
Since 80923e8d ("util/format: Add some NEON intrinsics-based
u_format_unpack.") upstream the build fails on Arm platforms which use
the soft-float ABI, such as qemuarmv5:

 arm_neon.h:31:2: error: #error "NEON intrinsics not available with the
 soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"

Take a patch from upstream to check the ABI being used before trying to
use NEON instructions.

(From OE-Core rev: f3d82abb781c2642a50a60033641194d1e40c212)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Stefan Herbrechtsmeier
9facca6e30 u-boot: Make UBOOT_BINARYNAME configurable
Make the u-boot binary name configurable. Use the existing variable
UBOOT_BINARYNAME which is evaluated from the UBOOT_BINARY.

(From OE-Core rev: e588cde6aed1e699a055e3481df0f3dc719c9774)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Stefan Herbrechtsmeier
7c08a9e3cd u-boot: Make SPL suffix configurable
Make the SPL suffix configurable via SPL_SUFFIX variable to support SPL
binaries with suffix. The suffix is optional and empty per default. The
delimiter in front of the suffix is added automatically if the suffix
is not empty. A new variable SPL_BINARYFILE contains the binary file
name inclusive optional delimiter and suffix and the old variable
SPL_BINARYNAME contains only the name of the binary without directory,
delimiter and specified suffix. This behavior is backward compatible
with empty SPL_SUFFIX variable.

(From OE-Core rev: e4cfec633c20d6406523da905530e887b853f7ed)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Stefan Herbrechtsmeier
b8b43622e8 u-boot: Remove misplaced configuration type variable
(From OE-Core rev: 3fe8adbad5226d673f22f31f4903149cf3376ae5)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Stefan Herbrechtsmeier
a65d092ee3 u-boot: Remove redundancy from installed and deployed SPL artifact names
Remove redundant parts from the deployed and installed SPL artifact
names of multi config configurations to match the other U-Boot artifact
names.

(From OE-Core rev: 74f1f84d09ec5b435942e2a83697834677055343)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
79147c27fd swig: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 01354672728aff07ae146b19e1a4a98977aac52b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
79eb0333fe flac: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 0442d87d5c6c467ba0e35d4ee20bd907f4dd9fdf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
8948100ce7 font-util: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 828bca22d9a4b995d9961d3cc8c3aedcb5ef577d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
40cd87df6e libx11: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 44fd2aa731956fe0a0f74d36959c88b0b87adab5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
f9bf930496 libjitterentropy: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: a352473138dd2396bc33eff3d738c41ff24f52fe)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
ca7e12eb49 libxfont2: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: e340bad91f3220a156572bde3c337425f5c36cfc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
55ebfb1909 libpam: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: d9948d0439cf26af9f570e9a9d0d214294bae504)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
b1596d37ba sudo: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: ff27ea21d7c14086335da5c3e2fac353e44438da)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
995d672317 libcap: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 9e8b2bc55792932e23d3b053b393b7ff88bffd6b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
d19e9f86d5 shadow: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 65e3b23e1b266653fd30c90222e953f7e37fba0c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
c6170c9cfe e2fsprogs: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 966fb77981e4fed0ab7998439940b1e05dd0ee43)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
ca099bad72 glib-2.0: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 91cd1ef01a3f3883c04bac67af2672ec60e20fb8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
bb25d14e53 tzdata: Remove BSD License specifier
The code in question is licensed under the BSD-3-Clause license, so
including the generic "BSD" license is unnecessary.

(From OE-Core rev: c39fc075ce3fd5b53c2a2fccb43500ee0a12f39d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
970895763c conf/licenses: Add FreeType SPDX mapping
The FreeType license maps to the FTL SPDX identifier

(From OE-Core rev: 7b0b745d7c1841b9af3b90d3e41e31606a72435e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Mingli Yu
6901cdbe20 bitbake: prserv: make localhost work
After [1] introduced, the PR server doesn't work in docker when use
below setting like before.
PRSERV_HOST = "localhost:0"

And it's because the localhost is resolved to an ipv6 address ::1 as
the below bitbake-prserv shows.
 bitbake$ bitbake-prserv --start --host=localhost --port=42005
 bitbake$ cat prserv.log
    Traceback (most recent call last):
      File "/OE/nodistro/honister/bitbake/bin/bitbake-prserv", line 55, in <module>
        ret = main()
      File "/OE/nodistro/honister/bitbake/bin/bitbake-prserv", line 46, in main
        ret=prserv.serv.start_daemon(options.dbfile, options.host, options.port,os.path.abspath(options.logfile), options.read_only)
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 226, in start_daemon
        run_as_daemon(daemon_main, pidfile, os.path.abspath(logfile))
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 202, in run_as_daemon
        func()
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 224, in daemon_main
        server.serve_forever()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 233, in serve_forever
        self.start()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 144, in start_tcp
        self.server = self.loop.run_until_complete(server_coro)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
        return future.result()
      File "/usr/lib/python3.8/asyncio/streams.py", line 94, in start_server
        return await loop.create_server(factory, host, port, **kwds)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 1463, in create_server
        raise OSError(err.errno, 'error while attempting '
    OSError: [Errno 99] error while attempting to bind on address ('::1', 42005, 0, 0): cannot assign requested address

So add the extra logic to make the localhost resolved as expected to
make the PR service work especially in docker.

[1] 6a2b23e2 prserv: Replace XML RPC with modern asyncrpc implementation

(Bitbake rev: 0a11696e0898c3c5108e6d7c5ad28da50e00ea66)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:05:07 +01:00
Martin Jansa
b978f7c3a0 bitbake: cooker/process: Fix typos in exiting message
(Bitbake rev: 1ff1ea3880d293b14ce0fc65e3bc4c938d587a2f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:56:25 +01:00
Martin Jansa
7df5f405ce bitbake: prserv: handle PRSERV_HOST = "127.0.0.1:0" the same as "localhost:0"
* When using PRSERV_HOST = "localhost:0" inside
  Docker container (tested with ubuntu 20.04 and 21.04) the
  self.loop.run_until_complete never completed, so self.address
  wasn't ever assigned few lines bellow and then
    self.port = int(self.prserv.address.rsplit(':', 1)[1])
  in lib/prserv/serv.py caused a bit ugly exception:

bitbake@599696cd20aa:~/nodistro/honister$ bitbake -k pkgconfig-native
Traceback (most recent call last):
  File "/OE/nodistro/honister/bitbake/bin/bitbake", line 35, in <module>
    sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
  File "/OE/nodistro/honister/bitbake/lib/bb/main.py", line 385, in bitbake_main
    return ui_module.main(server_connection.connection, server_connection.events,
  File "/OE/nodistro/honister/bitbake/lib/bb/ui/knotty.py", line 397, in main
    params.updateToServer(server, os.environ.copy())
  File "/OE/nodistro/honister/bitbake/lib/bb/cookerdata.py", line 75, in updateToServer
    raise Exception("Unable to update the server configuration with local parameters: %s" % error)
Exception: Unable to update the server configuration with local parameters: Traceback (most recent call last):
  File "/OE/nodistro/honister/bitbake/lib/bb/command.py", line 90, in runCommand
    result = command_method(self, commandline)
  File "/OE/nodistro/honister/bitbake/lib/bb/command.py", line 286, in updateConfig
    command.cooker.updateConfigOpts(options, environment, cmdline)
  File "/OE/nodistro/honister/bitbake/lib/bb/cooker.py", line 491, in updateConfigOpts
    self.reset()
  File "/OE/nodistro/honister/bitbake/lib/bb/cooker.py", line 1717, in reset
    self.handlePRServ()
  File "/OE/nodistro/honister/bitbake/lib/bb/cooker.py", line 383, in handlePRServ
    self.prhost = prserv.serv.auto_start(self.data)
  File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 318, in auto_start
    singleton.start()
  File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 133, in start
    self.port = int(self.prserv.address.rsplit(':', 1)[1])
AttributeError: 'NoneType' object has no attribute 'rsplit'

* the issue was caused by "localhost" being resolved as IPv6 address ::1
  and then asyncio failing to bind it, the same is reproducible with hashserv, but
  hashserve at least shows nice error message:
    bitbake$ bitbake-hashserv -l DEBUG -b localhost:0
    Traceback (most recent call last):
      File "/OE/nodistro/honister/bitbake/bin/bitbake-hashserv", line 59, in <module>
        ret = main()
      File "/OE/nodistro/honister/bitbake/bin/bitbake-hashserv", line 53, in main
        server.serve_forever()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 233, in serve_forever
        self.start()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 144, in start_tcp
        self.server = self.loop.run_until_complete(server_coro)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
        return future.result()
      File "/usr/lib/python3.8/asyncio/streams.py", line 94, in start_server
        return await loop.create_server(factory, host, port, **kwds)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 1463, in create_server
        raise OSError(err.errno, 'error while attempting '
    OSError: [Errno 99] error while attempting to bind on address ('::1', 0, 0, 0): cannot assign requested address

* or by bitbake-prserv in prserv.log:
    bitbake$ bitbake-prserv --start --host=localhost --port=42005
    bitbake$ cat prserv.log
    Traceback (most recent call last):
      File "/OE/nodistro/honister/bitbake/bin/bitbake-prserv", line 55, in <module>
        ret = main()
      File "/OE/nodistro/honister/bitbake/bin/bitbake-prserv", line 46, in main
        ret=prserv.serv.start_daemon(options.dbfile, options.host, options.port,os.path.abspath(options.logfile), options.read_only)
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 226, in start_daemon
        run_as_daemon(daemon_main, pidfile, os.path.abspath(logfile))
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 202, in run_as_daemon
        func()
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 224, in daemon_main
        server.serve_forever()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 233, in serve_forever
        self.start()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 144, in start_tcp
        self.server = self.loop.run_until_complete(server_coro)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
        return future.result()
      File "/usr/lib/python3.8/asyncio/streams.py", line 94, in start_server
        return await loop.create_server(factory, host, port, **kwds)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 1463, in create_server
        raise OSError(err.errno, 'error while attempting '
    OSError: [Errno 99] error while attempting to bind on address ('::1', 42005, 0, 0): cannot assign requested address

* while 127.0.0.1 works fine:
    bitbake$ bitbake-prserv --start --host=127.0.0.1 --port=42005
    bitbake$ cat prserv.log
    DEBUG: Listening on ('127.0.0.1', 42005)
    2021-08-26 22:28:05,828 Listening on ('127.0.0.1', 42005)
    DEBUG: Opening PRServ database 'file:/OE/nodistro/honister/prserv.sqlite3'
    2021-08-26 22:28:05,829 Opening PRServ database 'file:/OE/nodistro/honister/prserv.sqlite3'
    NOTE: Started PRServer with DBfile: /OE/nodistro/honister/prserv.sqlite3, Address: 127.0.0.1:42005, PID: 39
    2021-08-26 22:28:05,831 Started PRServer with DBfile: /OE/nodistro/honister/prserv.sqlite3, Address: 127.0.0.1:42005, PID: 39

  but 127.0.0.1:0 wasn't handled as "autostart" like localhost:0 is
  update is_local_special to allow that

* /etc/hosts file generated by docker contails localhost for both IPv4 and IPv6:
  $ grep localhost /etc/hosts
  127.0.0.1       localhost
  ::1     localhost ip6-localhost ip6-loopback

  even when ipv6 is disabled in dockerd as reported in:
  https://github.com/docker/for-linux/issues/250

* add a check for self.prserv.address to provide better error message:
  ERROR: Unable to start PR Server, exitting
  when something bad happens, but in this case you still need to read
  bitbake-cookerdaemon.log to see the actuall error, in this case:

90 22:30:39.008441 --- Starting bitbake server pid 90 at 2021-08-26 22:30:39.008419 ---
90 22:30:39.023734 Started bitbake server pid 90
90 22:30:39.024286 Entering server connection loop
90 22:30:39.024753 Accepting [<socket.socket fd=6, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
90 22:30:39.026314 Processing Client
90 22:30:39.026456 Connecting Client
90 22:30:39.027509 Running command ['setFeatures', [2]]
90 22:30:39.027757 Command Completed
90 22:30:39.028711 Running command ['updateConfig', {'abort': False, 'force': False, 'invalidate_stamp': None, 'dry_run': False, 'dump_signatures': [], 'extra_assume_provided': [], 'profile': False, 'prefile': [], 'postfile': [], 'server_timeout': None, 'nosetscene': False, 'setsceneonly': False, 'skipsetscene': False, 'runall': None, 'runonly': None, 'writeeventlog': None, 'build_verbose_shell': False, 'build_verbose_stdout': False, 'default_loglevel': 20, 'debug_domains': {}}, {'DISTRO': '', 'PWD': '/OE/nodistro/honister', 'HOME': '/OE', 'MACHINE': 'qemux86', 'BB_ENV_EXTRAWHITE': 'MACHINE DISTRO TCMODE TCLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS PARALLEL_MAKE GIT_PROXY_COMMAND GIT_PROXY_IGNORE SOCKS5_PASSWD SOCKS5_USER WEBOS_DISTRO_BUILD_ID PSEUDO_DISABLED PSEUDO_BUILD', 'PATH': '/OE/nodistro/honister/oe-core/scripts:/OE/nodistro/honister/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'LC_ALL': 'en_US.UTF-8', 'MACHINES': 'qemux86', 'HOSTNAME': '6a439759e3c6', 'TOPDIR': '/OE/nodistro/honister', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHLVL': '1', 'BITBAKE_HOME': '/OE', 'BUILDDIR': '/OE/nodistro/honister/BUILD', 'OLDPWD': '/OE/nodistro/honister/bitbake', '_': '/OE/nodistro/honister/bitbake/bin/bitbake'}, ['/OE/nodistro/honister/bitbake/bin/bitbake', '-k', 'zlib-native']]
Process Process-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 255, in run
    self.start()
  File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 144, in start_tcp
    self.server = self.loop.run_until_complete(server_coro)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/usr/lib/python3.8/asyncio/streams.py", line 94, in start_server
    return await loop.create_server(factory, host, port, **kwds)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1463, in create_server
    raise OSError(err.errno, 'error while attempting '
OSError: [Errno 99] error while attempting to bind on address ('::1', 0, 0, 0): cannot assign requested address
90 22:30:39.530037 Command Completed
90 22:30:39.530913 Processing Client
90 22:30:39.531023 Disconnecting Client
90 22:30:39.531638 No timeout, exiting.
90 22:30:39.632137 Exiting
90 22:30:39.637562 Original lockfile contents: ['90\n']
90 22:30:39.638107 Exiting as we could obtain the lock

(Bitbake rev: c2cdda0e5fc720c60d3b8537fc702cb118981bd2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:56:25 +01:00
Michael Halstead
961073a302 uninative: Upgrade to 3.4
This adds a patch to glibc which allows it to work with Docker and
clone3 syscall issues cased by EPERM vs ENOSYS.

(From OE-Core rev: 06d55ee67ef81a9f9da178b06bb797cc62881643)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:47 +01:00
Michael Opdenacker
e6365c9f52 meta: stop using "virtual/" in RPROVIDES and RDEPENDS
Fixes [YOCTO #14538]

Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS.

That's confusing because "virtual/" has no special meaning in
RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS).

Instead, using "virtual-" instead of "virtual/"
as already done in the glibc recipe.

(From OE-Core rev: 93ac180d8c389f16964bce8bd5538d9389e970e6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:47 +01:00
Andrey Zhizhikin
1326991282 nativesdk-packagegroup-sdk-host: add perl integer module
Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at
build time instead of shipping them") uses perl to generate assembler
files for crypto functionality, which relies on the integer.pm module to
be provided.

Add perl module to package group and export it in SDK.

(From OE-Core rev: 9f4c95a874f6a463b7d56bacea9ba321e29499f9)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:46 +01:00
Richard Purdie
29fcb0dfc9 oeqa/buildtools-cases: Allow bitbake time to shutdown
bitbake may still be shutting down when the UI exits. Wait for the lock
to disappear before trying to delete the directory to avoid errors.

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/buildtools/build/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 23, in test_libc
    self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir))
  File "/usr/lib64/python3.7/tempfile.py", line 807, in __exit__
    self.cleanup()
  File "/usr/lib64/python3.7/tempfile.py", line 811, in cleanup
    _shutil.rmtree(self.name)
  File "/usr/lib64/python3.7/shutil.py", line 494, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib64/python3.7/shutil.py", line 452, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib64/python3.7/shutil.py", line 450, in _rmtree_safe_fd
    os.unlink(entry.name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.sock'

(From OE-Core rev: 94df60cc97058444188ec8372c2d9849e74b76c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:46 +01:00
Trevor Woerner
d7140d5375 distro_features_check: expand with IMAGE_FEATURES
In addition to checking DISTRO_, MACHINE_, and COMBINED_ FEATURES for required
or conflicting features, extend this functionality in order to check
IMAGE_FEATURES in the same way.

(From OE-Core rev: 96a9702a24a73c152c8e7398c3774e63c53a92a9)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:18 +01:00
Andres Beltran
157462fc2a buildhistory: Label packages providing per-file dependencies in depends.dot
Currently, depends.dot includes per-file dependencies but not the packages
providing those files. This makes it hard to obtain all package
dependencies by just looking at depends.dot.

Parse the RPROVIDES and FILERPROVIDES fields from pkgdata to map each of
their values to the package providing the component. Include runtime
packages as dependencies in depends.dot, together with the component
provided by the package as a label.

(From OE-Core rev: 2ba33093017574bbe29eeba699eb90628614d03a)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:18 +01:00
Ross Burton
39b4f7efa9 cpio: backport fix for CVE-2021-38185
(From OE-Core rev: 4accf77ea5b5810cb2330acc6773690ec1b1c71b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Kai Kang
fc3d511cf5 rustfmt: fix SRC_URI
(From OE-Core rev: 9f92fcb502aeae26c2e35832d5414a6096c20961)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Khem Raj
380eff02da musl: Update to latest tip of trunk
Drop upstream patch

This brings in following fixes

  * 3f701faa (upstream/master, origin/master) fix libc-internal signal blocking on mips archs
  * 0fbd7d66 fix broken struct shmid_ds on powerpc (32-bit)
  * 4f3d346b math: fix fmaf not to depend on FE_TOWARDZERO
  * 937822ab fix TZ parsing logic for identifying POSIX-form strings
  * 1f0c7cb1 riscv: rename __NR_fstatat __NR_newfstatat
  * d8cb888d remove return with expression in void function
  * b7a130e0 remove unnecessary cast for map_library return
  * bd3b9c4c add pthread_getname_np function
  * e1a51185 fix popen not to leak pipes from one child to another
  * e74acd59 remove spurious lock in popen
  * 9a40e842 define __STDC_UTF_{16,32}__ macros

(From OE-Core rev: da8fcd0155f1cf3394d0886c940bee77669009d4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Tim Orling
2226d3db15 rust-common.bbclass: export RUST_TARGET_PATH
Running 'rustc --print <foo>' in -c devshell environment
the target specifications are not known, unless the
RUST_TARGET_PATH (absolute path to rustlib/) is defined.

(From OE-Core rev: 6d0603ffe18c1a5999db854abb668b05aff47f67)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Jon Mason
a4b23e131e tune-*: Use more specific DEFAULTTUNE
These files are using a more generic DEFAULTTUNE in their targeted tune
file.  This is contrary to what is being done in other tune files, and
this changes them to match.  It is still possible to use the more
generic DEFAULTTUNE in a machine's config file by simply specifying it.

(From OE-Core rev: e35205a9803692d72eb92b86d740821c667b527e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Alexander Kanavin
d2b0f230e0 rust: fix upstream version checks
(From OE-Core rev: e2e87d82ad1ec071077f29613e2e568196912daa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Armin Kuster
af0beedc6f lz4: remove rest of ptest artifacts
Commit: 953f6d9a71 lz4: remove ptest changes

missed removing the run-ptest file

(From OE-Core rev: 28aaf1223396820f8fcd9a6aade46b5007b030a6)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Armin Kuster
61a42047e5 lz4: Security Fix for CVE-2021-3520
Source: https://github.com/lz4/lz4
MR: 111604
Type: Security Fix
Disposition: Backport from 8301a21773 (diff-7055e9cf14c488aea9837aaf9f528b58ee3c22988d7d0d81d172ec62d94a88a7)
ChangeID: 58492f950164e75954a97cf084df6f9af3d88244
Description:

(From OE-Core rev: 6d6a089a2f637051333e0137d2e748c823e2aa98)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Zoltán Böszörményi
e492d55d02 base/kernel: Support zstd-compressed squashfs and cpio initramfs
Enable zstd PACKAGECONFIG knob for squashfs-tools and add support for zstd
compressed initramfs and squashfs.

(From OE-Core rev: fa146049eec5f9730781830270cc9dc55a2146f7)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Richard Purdie
3d2904cab5 kernel: Use unexpanded EXTENDPKGV
EXTENDPKGV can contain AUTOINC so use an expanded form in the variables allowing
for later expansion during packaging to avoid race issues over the variable and
the build failures that can result.

(From OE-Core rev: 1f93d2426d22c74893e8daec9bb939133c5737c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 12:07:38 +01:00
Hongxu Jia
40305d389e glibc: fix create thread failed in unprivileged process
Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2
and clone3] applied, start a unprivileged container (docker run without
--privileged), it creates a thread failed in container.

In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined.  If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.

As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)

[1] https://man7.org/linux/man-pages/man2/clone3.2.html

So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could
fix the issue.

(From OE-Core rev: 234a3e84640c1bb6df5fa4d3d7089a854b19d108)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-31 20:51:11 +01:00
Peter Kjellerstedt
a5b257006b bitbake: providers: Use new override syntax when handling pn- "override"
Make versionVariableMatch() support pn-foo overrides using the new
override syntax.

(Bitbake rev: 653df4bc413d595d5611d5fa678e7f2e30bb7431)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:59 +01:00
Andres Beltran
37e0565c11 buildhistory: Add output file listing package information
Currently, buildhistory does not produce a single file combining relevant
information of installed packages. Produce an output file
"installed-package-info.txt" listing a package's runtime name, buildtime name,
its recipe, version, and size to avoid having to look up each package externally.
Leave the existing package list files as-is for backwards compatibility.

In order to support this efficiently, extend oe-pkgdata-util to accept multiple keys
for its read-value argument.

(From OE-Core rev: 1e18b514bf1f960d324a21db608c8e8e5af007ef)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
51a174f501 parselogs.py: ignore intermittent CD/DVDROM identification failure
We don't use the CD/DVD ROM drive in any of our tests, but it
periodically fails discovery and that leads to a QA error:

    [    6.403477] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)

The only way to disable the optical ROM drive in qemu is to use
the '-nodefaults' option, which disables the CDROM (among other things).
We can't be sure that none of our tests, or extended users are relying
on default devices, so using that option is more of a risk than adding
the message to our ignore list.

To date, no one has sent a patch to just disable the optical drive
(either in qemu or the BIOS), but that is something we could consider
in the future.

[YOCTO #14528]

(From OE-Core rev: 143fc5504539c69752ca87717507c197a8920ce5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
fec65c5f98 linux-yocto/5.10: update to v5.10.60
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    2c5bd949b1df Linux 5.10.60
    3a24e121304a net: dsa: microchip: ksz8795: Use software untagging on CPU port
    1e78179d75fb net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
    5033d5e23155 net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
    60c007b52779 net: dsa: microchip: ksz8795: Fix PVID tag insertion
    f365d53c8687 net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port
    3dc5666baf2a KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
    c0883f693187 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
    b5f05bdfda28 vmlinux.lds.h: Handle clang's module.{c,d}tor sections
    2fe07584a623 ceph: take snap_empty_lock atomically with snaprealm refcount change
    a23aced54c2c ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
    b0efc93271ca ceph: add some lockdep assertions around snaprealm handling
    dcdb587ac470 vboxsf: Add support for the atomic_open directory-inode op
    7cd14c1a7fed vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
    433f0b31ebec KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
    0ab67e3dfc4d KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
    4a948c579ed6 efi/libstub: arm64: Double check image alignment at entry
    fc7da433fa16 powerpc/smp: Fix OOPS in topology_init()
    312730cd15e0 PCI/MSI: Protect msi_desc::masked for multi-MSI
    724d0a985086 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
    923368751866 PCI/MSI: Correct misleading comments
    e42fb8e6161e PCI/MSI: Do not set invalid bits in MSI mask
    042e03c9cdab PCI/MSI: Enforce MSI[X] entry updates to be visible
    0b2509d7a90c PCI/MSI: Enforce that MSI-X table entry is masked for update
    aa8092c1d1f1 PCI/MSI: Mask all unused MSI-X entries
    7e90e81a4b59 PCI/MSI: Enable and mask MSI-X early
    2d2c66848027 genirq/timings: Prevent potential array overflow in __irq_timings_store()
    355754194b48 genirq/msi: Ensure deactivation on teardown
    f0736bed18fb x86/resctrl: Fix default monitoring groups reporting
    25216ed97da8 x86/ioapic: Force affinity setup before startup
    19fb5dabedca x86/msi: Force affinity setup before startup
    4e52a4fe6f44 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
    2a28b52306f2 x86/tools: Fix objdump version check again
    4acc0d987141 powerpc/kprobes: Fix kprobe Oops happens in booke
    015e2c900b5d efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
    feb4a01d3ece efi/libstub: arm64: Force Image reallocation if BSS was not reserved
    afcb84e6cf8c arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
    e0ee8d9c31b5 nbd: Aovid double completion of a request
    f5cefe9a52a6 vsock/virtio: avoid potential deadlock when vsock device remove
    dff830e5e723 xen/events: Fix race in set_evtchn_to_irq
    65395b053d03 drm/i915: Only access SFC_DONE when media domain is not fused off
    4344440d91b3 net: igmp: increase size of mr_ifc_count
    696afe28dc51 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
    8976606ca347 net: linkwatch: fix failure to restore device state across suspend/resume
    4c2af90119ea net: bridge: fix memleak in br_add_if()
    f333a5ca71c3 net: bridge: fix flags interpretation for extern learn fdb entries
    e3b949b86d09 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
    1cad01aca1fa net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
    56cc3408ff2a net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
    f7720b35cd32 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
    24e1b7dbb174 net: igmp: fix data-race in igmp_ifc_timer_expire()
    69b13167a636 net: Fix memory leak in ieee802154_raw_deliver
    dbfaf7a6a23a net: dsa: microchip: ksz8795: Fix VLAN filtering
    ccc1fe82c878 net: dsa: microchip: Fix ksz_read64()
    558092b8ed31 drm/meson: fix colour distortion from HDR set during vendor u-boot
    6e1886465dea net/mlx5: Fix return value from tracer initialization
    303ba011f5e1 net/mlx5: Synchronize correct IRQ when destroying CQ
    00a0c11ddd72 bareudp: Fix invalid read beyond skb's linear data
    30b1fc47f765 psample: Add a fwd declaration for skbuff
    b3f0b170842c iavf: Set RSS LUT and key in reset handle path
    a6192bae12e4 ice: don't remove netdev->dev_addr from uc sync list
    bae5b521feaa ice: Prevent probing virtual functions
    059238c52c61 net: sched: act_mirred: Reset ct info when mirror/redirect skb
    f15f7716b047 net/smc: fix wait on already cleared link
    51f4965d775e ppp: Fix generating ifname when empty IFLA_IFNAME is specified
    046579c9fc28 net: phy: micrel: Fix link detection on ksz87xx switch"
    e95620c3bdff bpf: Fix integer overflow involving bucket_size
    1960c3ac5268 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
    a3e9a3e22844 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
    53ebbfdd0e37 net: mvvp2: fix short frame size on s390
    784320edb6c5 net: dsa: mt7530: add the missing RxUnicast MIB counter
    20a80319028c ASoC: cs42l42: Fix LRCLK frame start edge
    750503aecf4e pinctrl: tigerlake: Fix GPIO mapping for newer version of software
    be49d5437d1a netfilter: nf_conntrack_bridge: Fix memory leak when error
    aa6b17bfefbc ASoC: cs42l42: Remove duplicate control for WNF filter frequency
    b268f9f6b73f ASoC: cs42l42: Fix inversion of ADC Notch Switch control
    2386a8cde18e ASoC: SOF: Intel: hda-ipc: fix reply size checking
    0e47f99e8680 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
    576939671f74 ASoC: cs42l42: Correct definition of ADC Volume control
    a21963c35f16 pinctrl: mediatek: Fix fallback behavior for bias_set_combo
    27188a938291 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
    528f17c02db9 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
    95de3592f87e drm/amdgpu: don't enable baco on boco platforms in runpm
    bd80d11a516c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
    ae311a7418f1 drm/amd/display: Remove invalid assert for ODM + MPC case
    c2351e5faa3e libnvdimm/region: Fix label activation vs errors
    366de90ccfa2 ACPI: NFIT: Fix support for virtual SPA ranges
    f3fcf9d1b759 ceph: reduce contention in ceph_check_delayed_caps()
    ca6dea44bd8c ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
    4716a2145bbf net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
    561d13128bb8 seccomp: Fix setting loaded filter count during TSYNC
    54916988a0fb scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
    3db5cb922800 cifs: create sd context must be a multiple of 8
    d1398e3715b1 i2c: dev: zero out array used for i2c reads from userspace
    b8bceace43dd ASoC: intel: atom: Fix reference to PCM buffer address
    261613ef340b ASoC: tlv320aic31xx: Fix jack detection after suspend
    7e5a7fa68b27 ASoC: uniphier: Fix reference to PCM buffer address
    209eb62b45fe ASoC: xilinx: Fix reference to PCM buffer address
    c419c4c91b30 ASoC: amd: Fix reference to PCM buffer address
    0c9adae11701 iio: adc: Fix incorrect exit of for-loop
    632279e5057c iio: humidity: hdc100x: Add margin to the conversion time
    45de224b1332 iio: adis: set GPIO reset pin direction
    d0532ed064d1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels

(From OE-Core rev: 94fef82258d02285009d08b7a1791de124ff8f45)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
2ddefea9e7 linux-yocto/5.13: update to v5.13.12
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f428e49b8cb1 Linux 5.13.12
    639a033fd765 KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
    a0949ee63cf9 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
    874213144352 kasan, slub: reset tag when printing address
    ac0e79584d41 ceph: take snap_empty_lock atomically with snaprealm refcount change
    dcd02a1248cc ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
    36b361cb1966 ceph: add some lockdep assertions around snaprealm handling
    90d215367156 KVM: x86/mmu: Protect marking SPs unsync when using TDP MMU with spinlock
    0f4bf029494d KVM: x86/mmu: Don't leak non-leaf SPTEs when zapping all SPTEs
    bd043e754f4d KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
    1163cd462e1f KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
    a3040e7e9ff2 locking/rtmutex: Use the correct rtmutex debugging config option
    b636a0d1e5c8 efi/libstub: arm64: Double check image alignment at entry
    0e1d1392f381 powerpc/32: Fix critical and debug interrupts on BOOKE
    4ce6f022df43 powerpc/xive: Do not skip CPU-less nodes when creating the IPIs
    3b1700551dee powerpc/smp: Fix OOPS in topology_init()
    115ff78c3a03 powerpc/32s: Fix napping restore in data storage interrupt (DSI)
    3eda59bcee6e powerpc/pseries: Fix update of LPAR security flavor after LPM
    33971cedf1d9 powerpc/interrupt: Do not call single_step_exception() from other exceptions
    11aa5db61e9b PCI/MSI: Protect msi_desc::masked for multi-MSI
    b82047e5d807 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
    849b6a5bde32 PCI/MSI: Correct misleading comments
    ea6cc94e8807 PCI/MSI: Do not set invalid bits in MSI mask
    78225ed700df PCI/MSI: Enforce MSI[X] entry updates to be visible
    0b51d4c16a27 PCI/MSI: Enforce that MSI-X table entry is masked for update
    6c971252f090 PCI/MSI: Mask all unused MSI-X entries
    f800bb380fea PCI/MSI: Enable and mask MSI-X early
    73d8b5769514 powerpc/interrupt: Fix OOPS by not calling do_IRQ() from timer_interrupt()
    9dac5f65caaf genirq/timings: Prevent potential array overflow in __irq_timings_store()
    0c081d4a6a13 genirq/msi: Ensure deactivation on teardown
    0abb63311246 x86/resctrl: Fix default monitoring groups reporting
    55cd80f4928c x86/ioapic: Force affinity setup before startup
    067ef0204880 x86/msi: Force affinity setup before startup
    24ed8f291d59 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
    560051d8f439 x86/tools: Fix objdump version check again
    d8f9d8c4be6e i2c: iproc: fix race between client unreg and tasklet
    daf371e74d36 powerpc/kprobes: Fix kprobe Oops happens in booke
    2bfb303470e0 efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
    bfc48d02d915 efi/libstub: arm64: Force Image reallocation if BSS was not reserved
    f3409e925da2 KVM: arm64: Fix off-by-one in range_is_memory
    14034883d058 arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
    98f73989055f nbd: Aovid double completion of a request
    09625c5badd2 vsock/virtio: avoid potential deadlock when vsock device remove
    128e480afe78 xen/events: Fix race in set_evtchn_to_irq
    950429a4d346 drm/i915: Only access SFC_DONE when media domain is not fused off
    9977d0baadc8 net: igmp: increase size of mr_ifc_count
    4391389526a1 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
    53201f2902ee net: linkwatch: fix failure to restore device state across suspend/resume
    59cabc513b8a net: bridge: fix memleak in br_add_if()
    ff6c9aad3599 net: bridge: fix flags interpretation for extern learn fdb entries
    c7c9cc4a6016 pinctrl: sunxi: Don't underestimate number of functions
    735e90f3efa6 net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
    8398aab49ba3 net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
    c6cbf5672cc0 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
    22ecb3423f9c net: dsa: hellcreek: fix broken backpressure in .port_fdb_dump
    52133524d807 net: igmp: fix data-race in igmp_ifc_timer_expire()
    44c8aa996911 net: Fix memory leak in ieee802154_raw_deliver
    74b264b342a5 net: dsa: microchip: ksz8795: Don't use phy_port_cnt in VLAN table lookup
    1c4f28207fab net: dsa: microchip: ksz8795: Fix VLAN filtering
    3cc015794dab net: dsa: microchip: ksz8795: Use software untagging on CPU port
    9674dc6724c5 net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
    159948c423aa net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
    3149f9edddf9 net: dsa: microchip: ksz8795: Fix PVID tag insertion
    8154453a4be5 net: dsa: microchip: Fix ksz_read64()
    037570c9adab bpf: Fix potentially incorrect results with bpf_get_local_storage()
    1d1808fae2e0 ovl: fix deadlock in splice write
    75004b47fba4 drm/meson: fix colour distortion from HDR set during vendor u-boot
    11e249ce5e3e net/mlx5: Fix return value from tracer initialization
    436f4a1c6d17 net/mlx5: Synchronize correct IRQ when destroying CQ
    9b0b9c9da810 net/mlx5e: TC, Fix error handling memory leak
    89163e392e57 net/mlx5: Block switchdev mode while devlink traps are active
    09ab613d4996 net/mlx5e: Destroy page pool after XDP SQ to fix use-after-free
    c0cb7d8be945 net/mlx5e: Avoid creating tunnel headers for local route
    3f20768c9fdc net/mlx5: DR, Add fail on error check on decap
    df712c5d591a net/mlx5: Don't skip subfunction cleanup in case of error in module init
    f49d457950b9 io-wq: fix IO_WORKER_F_FIXED issue in create_io_worker()
    815a0fe3f415 io-wq: fix bug of creating io-wokers unconditionally
    3cedeb691b74 bareudp: Fix invalid read beyond skb's linear data
    ed277fbd3053 psample: Add a fwd declaration for skbuff
    792e7591d308 iavf: Set RSS LUT and key in reset handle path
    f2b15898012a ice: don't remove netdev->dev_addr from uc sync list
    8a0814243362 ice: Stop processing VF messages during teardown
    e266d4c43b95 ice: Prevent probing virtual functions
    00735401c918 net: sched: act_mirred: Reset ct info when mirror/redirect skb
    e04669e14c5a net/smc: Correct smc link connection counter in case of smc client
    9b8f136b88f3 net/smc: fix wait on already cleared link
    6a4b92821135 io_uring: clear TIF_NOTIFY_SIGNAL when running task work
    1e19d18189fe ppp: Fix generating ifname when empty IFLA_IFNAME is specified
    2a4a96afa7b5 net: phy: micrel: Fix link detection on ksz87xx switch"
    d8431e3fa7b3 net: dsa: qca: ar9331: make proper initial port defaults
    ada7135e6d99 bpf: Fix integer overflow involving bucket_size
    621d81cfbb0c libbpf: Do not close un-owned FD 0 on errors
    51f19580f5f4 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
    466f5509f62a drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()'
    fd0b94e6b1c7 perf/x86/intel: Apply mid ACK for small core
    736e0445f921 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
    a4de486958ff net: mvvp2: fix short frame size on s390
    f67f34a86375 net: dsa: mt7530: add the missing RxUnicast MIB counter
    141af64cf768 ASoC: cs42l42: Fix mono playback
    d57b00645556 ASoC: cs42l42: Fix LRCLK frame start edge
    6e61f4d51d38 ASoC: cs42l42: PLL must be running when changing MCLK_SRC_SEL
    22af0d2a5e5e pinctrl: tigerlake: Fix GPIO mapping for newer version of software
    deff14bdcc54 netfilter: nf_conntrack_bridge: Fix memory leak when error
    71805c36336a ASoC: cs42l42: Remove duplicate control for WNF filter frequency
    9c272596189c ASoC: cs42l42: Fix inversion of ADC Notch Switch control
    710490222c69 ASoC: SOF: Intel: hda-ipc: fix reply size checking
    ba216b210f26 ASoC: SOF: Intel: Kconfig: fix SoundWire dependencies
    d82c88a44bb6 selftests/sgx: Fix Q1 and Q2 calculation in sigstruct.c
    67488f5c9613 ASoC: cs42l42: Fix bclk calculation for mono
    b4f870447de1 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
    918bbb32c823 ASoC: cs42l42: Correct definition of ADC Volume control
    676b96483576 pinctrl: mediatek: Fix fallback behavior for bias_set_combo
    73e81f7219aa drm/mediatek: Fix cursor plane no update
    30df59b45cac ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
    bb0c87658dd1 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
    73248a01ae14 drm/amdgpu: handle VCN instances when harvesting (v2)
    7e73eac2bd90 drm/amdgpu: don't enable baco on boco platforms in runpm
    fcd957aa8b32 drm/amdgpu: Add preferred mode in modeset when freesync video mode's enabled.
    7b69bee4817c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
    164759f4070e drm/amd/display: Remove invalid assert for ODM + MPC case
    3565f42dc8e2 drm/i915/display: Fix the 12 BPC bits for PIPE_MISC reg
    01478e251732 drm/i915/gvt: Fix cached atomics setting for Windows VM
    21fcf2f1ced4 vmlinux.lds.h: Handle clang's module.{c,d}tor sections
    33d2301ad61b riscv: kexec: do not add '-mno-relax' flag if compiler doesn't support it
    1579656b0141 libnvdimm/region: Fix label activation vs errors
    4debaa9f577a ACPI: NFIT: Fix support for virtual SPA ranges
    fbe28d4afbda pinctrl: k210: Fix k210_fpioa_probe()
    3d33960c8d66 ceph: reduce contention in ceph_check_delayed_caps()
    01b2ec534d38 ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
    30a5d06dc3dd net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
    2bb154128d14 net: wwan: mhi_wwan_ctrl: Fix possible deadlock
    8610d75c4db6 seccomp: Fix setting loaded filter count during TSYNC
    bf77f479cd4c cgroup: rstat: fix A-A deadlock on 32bit around u64_stats_sync
    5028bdb679c4 scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
    3e35c7dbf706 io_uring: fix ctx-exit io_rsrc_put_work() deadlock
    e1c5046e341d io_uring: drop ctx->uring_lock before flushing work item
    000cb600dabf cifs: use the correct max-length for dentry_path_raw()
    0ca6ac8a2691 cifs: Call close synchronously during unlink/rename/lease break.
    10290043f377 cifs: create sd context must be a multiple of 8
    3c420ec43971 cifs: Handle race conditions during rename
    cc3a5a27e811 i2c: dev: zero out array used for i2c reads from userspace
    2693a747960b ASoC: intel: atom: Fix reference to PCM buffer address
    145951900b76 ASoC: kirkwood: Fix reference to PCM buffer address
    8e4a0581e288 ASoC: tlv320aic31xx: Fix jack detection after suspend
    3380a37484eb ASoC: uniphier: Fix reference to PCM buffer address
    4cf1b08e6889 ASoC: xilinx: Fix reference to PCM buffer address
    c43e0f97f5fc ASoC: amd: Fix reference to PCM buffer address
    b37adfb2c760 iio: adc: Fix incorrect exit of for-loop
    88f5acc1f2af iio: humidity: hdc100x: Add margin to the conversion time
    29ccbb4684e9 iio: adis: set GPIO reset pin direction
    51289a499dd1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
    c7ee0c9854fd Revert "usb: dwc3: gadget: Use list_replace_init() before traversing lists"
    95f4fb3ef0b9 lib: use PFN_PHYS() in devmem_is_allowed()

(From OE-Core rev: c89d577e1c447d1be72720aa499408a9e988fdab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
7cf486b247 linux-yocto/5.10: update to v5.10.59
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    5805e5eec901 Linux 5.10.59
    25cff25ec606 net: xilinx_emaclite: Do not print real IOMEM pointer
    6a002d48a660 ovl: prevent private clone if bind mount is not allowed
    bffead8d3648 ppp: Fix generating ppp unit id when ifname is not specified
    5df85901fe45 ALSA: hda: Add quirk for ASUS Flow x13
    8930f2c60a45 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
    98c3fa3a9d7a ALSA: pcm: Fix mmap breakage without explicit buffer setup
    cc1a4dff23a4 USB:ehci:fix Kunpeng920 ehci hardware problem
    bd909fd3878d vboxsf: Make vboxsf_dir_create() return the handle for the created file
    971703fc19cf vboxsf: Honor excl flag to the dir-inode create op
    96b2232cb7e5 arm64: dts: renesas: beacon: Fix USB ref clock references
    e0dd4a0ab072 arm64: dts: renesas: beacon: Fix USB extal reference
    0f47027d1b9b arm64: dts: renesas: rzg2: Add usb2_clksel to RZ/G2 M/N/H
    eaa7feecd366 mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM
    0e709390372f Revert "selftests/resctrl: Use resctrl/info for feature detection"
    d8c38598701f bpf: Add lockdown check for probe_write_user helper
    5b5064ea9a94 firmware: tee_bnxt: Release TEE shm, session, and context during kexec
    c5a625c6a4ac tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
    9f105d2d4f6c KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
    132a8267adab Linux 5.10.58
    3d7d1b0f5f41 arm64: fix compat syscall return truncation
    bb65051dcd1f drm/amdgpu/display: only enable aux backlight control for OLED panels
    c8b7cfa674ee smb3: rc uninitialized in one fallocate path
    8cfdd039ca18 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
    fbbb209268e5 alpha: Send stop IPI to send to online CPUs
    13d0a9b3b917 net: qede: Fix end of loop tests for list_for_each_entry
    1478e902bcbc virt_wifi: fix error on connect
    ecd8614809eb reiserfs: check directory items on read from disk
    dbe4f82fedc6 reiserfs: add check for root_inode in reiserfs_fill_super
    0f05e0ffa247 libata: fix ata_pio_sector for CONFIG_HIGHMEM
    11891adab23d drm/i915: avoid uninitialised var in eb_parse()
    a3e6bd0c71bb sched/rt: Fix double enqueue caused by rt_effective_prio
    c797b8872bb9 perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
    2d94cffc94a5 soc: ixp4xx/qmgr: fix invalid __iomem access
    7397034905ac drm/i915: Correct SFC_DONE register offset
    16aecf1e36d9 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
    22b4917c85af interconnect: Always call pre_aggregate before aggregate
    ccfe4f62ff9f interconnect: Zero initial BW after sync-state
    05565b469358 spi: meson-spicc: fix memory leak in meson_spicc_remove
    1a084e78217d interconnect: Fix undersized devress_alloc allocation
    dcc23e58511b soc: ixp4xx: fix printing resources
    37cbd27ef4b2 arm64: vdso: Avoid ISB after reading from cntvct_el0
    7a2b5bb00f54 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
    32f55c25ee29 KVM: Do not leak memory for duplicate debugfs directories
    309a31127bef KVM: x86: accept userspace interrupt only if no event is injected
    a786282b55b4 md/raid10: properly indicate failure when ending a failed write request
    3d7d2d2b069b ARM: omap2+: hwmod: fix potential NULL pointer access
    9851ad2f7107 Revert "gpio: mpc8xxx: change the gpio interrupt flags."
    57c44e7ac788 bus: ti-sysc: AM3: RNG is GP only
    f4984f60acc7 selinux: correct the return value when loads initial sids
    100f8396d154 pcmcia: i82092: fix a null pointer dereference bug
    afcd5a0e015f net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
    f08b2d078cbb xfrm: Fix RCU vs hash_resize_mutex lock inversion
    23e36a8610ca timers: Move clearing of base::timer_running under base:: Lock
    9a69d0d24d69 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
    bfb5f1a12325 serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
    0f30fedced7c serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
    17f3c64f707b MIPS: Malta: Do not byte-swap accesses to the CBUS UART
    8a1624f4a8d3 serial: 8250: Mask out floating 16/32-bit bus bits
    c03cef67157a serial: 8250_mtk: fix uart corruption issue when rx power off
    a4f8bfc919ee serial: tegra: Only print FIFO error message when an error occurs
    cc7300776808 ext4: fix potential htree corruption when growing large_dir directories
    6b5a3d2c2b89 pipe: increase minimum default pipe size to 2 pages
    556e7f204d34 media: rtl28xxu: fix zero-length control request
    551e0c5d6b2e drivers core: Fix oops when driver probe fails
    faec2c68ea5f staging: rtl8712: error handling refactoring
    e468a357af68 staging: rtl8712: get rid of flush_scheduled_work
    369101e39911 staging: rtl8723bs: Fix a resource leak in sd_int_dpc
    1628b64efb36 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
    2a879ff9719f optee: fix tee out of memory failure seen during kexec reboot
    ad80c25987fe optee: Refuse to load the driver under the kdump kernel
    1340dc3fb75e optee: Fix memory leak when failing to register shm pages
    6b2ded93d35c tee: add tee_shm_alloc_kernel_buf()
    5e9d82021425 optee: Clear stale cache entries during initialization
    e5d8fd87091c arm64: stacktrace: avoid tracing arch_stack_walk()
    7799ad4d181f tracepoint: Fix static call function vs data state mismatch
    14673e19291c tracepoint: static call: Compare data on transition from 2->1 callees
    046e12323ab4 tracing: Fix NULL pointer dereference in start_creating
    b2aca8daa50e tracing: Reject string operand in the histogram expression
    b10ccc2c5888 tracing / histogram: Give calculation hist_fields a size
    f97274528037 scripts/tracing: fix the bug that can't parse raw_trace_func
    fd3afb81f448 clk: fix leak on devm_clk_bulk_get_all() unwind
    948ff2f214fb usb: otg-fsm: Fix hrtimer list corruption
    8f8645de092a usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
    5b4318885a43 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
    1f2015506d9c usb: gadget: f_hid: idle uses the highest byte for duration
    825ac3f0bc35 usb: gadget: f_hid: fixed NULL pointer dereference
    683702dff7c8 usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
    051518d9cfe3 usb: cdns3: Fixed incorrect gadget state
    822bec5cbb05 usb: gadget: remove leaked entry from udc driver list
    98c83d72614e usb: dwc3: gadget: Avoid runtime resume if disabling pullup
    79e9389038c4 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
    b7532db2d458 ALSA: usb-audio: Fix superfluous autosuspend recovery
    80b7aa2651bc ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
    de30786fb25a ALSA: hda/realtek: add mic quirk for Acer SF314-42
    c0b626f0a29a ALSA: pcm - fix mmap capability check for the snd-dummy driver
    dd3f7c5c8904 drm/amdgpu/display: fix DMUB firmware version info
    ecb739cf15a9 firmware_loader: fix use-after-free in firmware_fallback_sysfs
    5019f5812bbf firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
    aa3b8bc17e2a USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
    d245a76719cf USB: serial: ch341: fix character loss at high transfer rates
    0470385e63bb USB: serial: option: add Telit FD980 composition 0x1056
    ba4a395668b5 USB: usbtmc: Fix RCU stall warning
    f2f856b65ac4 Bluetooth: defer cleanup of resources in hci_unregister_dev()
    821e6a613354 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
    c5a499b8607a net: vxge: fix use-after-free in vxge_device_unregister
    fb49d67262ca net: fec: fix use-after-free in fec_drv_remove
    f12b6b6bc15f net: pegasus: fix uninit-value in get_interrupt_interval
    c66d273b70fe bnx2x: fix an error code in bnx2x_nic_load()
    f76f9caccb46 mips: Fix non-POSIX regexp
    f93b7b000044 MIPS: check return value of pgtable_pmd_page_ctor
    9b2b2f07712b net: sched: fix lockdep_set_class() typo error for sch->seqlock
    d1f2abe57bc1 net: dsa: qca: ar9331: reorder MDIO write sequence
    a45ee8ed0c7d net: ipv6: fix returned variable type in ip6_skb_dst_mtu
    f87be69b7fe9 nfp: update ethtool reporting of pauseframe control
    44f2e360e784 sctp: move the active_key update after sh_keys is added
    e74551ba938a RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
    1242ca9369b1 gpio: tqmx86: really make IRQ optional
    4ef549dc9c1a net: natsemi: Fix missing pci_disable_device() in probe and remove
    1dc3eef381c1 net: phy: micrel: Fix detection of ksz87xx switch
    e09dba75cafd net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
    c0b14a0e61e7 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
    00bf923dce2a net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
    de425f1c3a60 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
    74bcf85ff1e2 net, gro: Set inner transport header offset in tcp/udp GRO hook
    80fd533ac3f9 dmaengine: imx-dma: configure the generic DMA type to make it work
    163e6d87216d ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
    442f7e04d592 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
    449991df08d5 media: videobuf2-core: dequeue if start_streaming fails
    3e8bba601212 scsi: sr: Return correct event when media event code is 3
    aaaf6e6e4174 spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
    cd989e119272 spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
    281514da66a4 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
    bbce3c99f622 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
    84656b4c27bf clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
    edf1b7911af2 dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
    4ebd11d1c782 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
    9bf056b99fa0 ARM: dts: am437x-l4: fix typo in can@0 node
    e79a30f71d95 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
    71f39badc898 ALSA: usb-audio: fix incorrect clock source setting
    c4fcda128780 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
    8d13f6a0a656 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
    f239369f37d9 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
    ee6f7084324d ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
    e1011b9c597d ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
    c0f61abbefdf arm64: dts: ls1028: sl28: fix networking for variant 2
    54555c399668 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
    3790f940981d ARM: imx: add missing clk_disable_unprepare()
    a28569b510e5 ARM: imx: add missing iounmap()
    9189d77f0e21 arm64: dts: ls1028a: fix node name for the sysclk
    d61dc8c634bb net: xfrm: fix memory leak in xfrm_user_rcv_msg
    8efe3a635f22 bus: ti-sysc: Fix gpt12 system timer issue with reserved status
    e32a291736fc ALSA: seq: Fix racy deletion of subscriber
    b917f123b50d Revert "ACPICA: Fix memory leak caused by _CID repair function"

(From OE-Core rev: 07c7379180a5cda5a2b056aab99826469f41810a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
d0afa65ba3 linux-yocto/5.13: update to v5.13.11
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    a3f1a03f54fc Linux 5.13.11
    41812f4b8448 ovl: prevent private clone if bind mount is not allowed
    2b187b56d531 ppp: Fix generating ppp unit id when ifname is not specified
    9153106ca7e3 ALSA: hda: Add quirk for ASUS Flow x13
    1252406498a6 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
    c67b3ee8ca46 ALSA: pcm: Fix mmap breakage without explicit buffer setup
    95421b33f9a2 bpf: Add lockdown check for probe_write_user helper
    ea56b15b909c firmware: tee_bnxt: Release TEE shm, session, and context during kexec
    a37da2be8e6c Linux 5.13.10
    65485c34aa43 HID: ft260: fix device removal due to USB disconnect
    6cf4cab9db7e platform/x86: gigabyte-wmi: add support for B550 Aorus Elite V2
    37d363b3f6f7 drm/amdgpu/display: only enable aux backlight control for OLED panels
    0505f8c628b9 smb3: rc uninitialized in one fallocate path
    b092186eb9e6 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
    23f50e8ea008 alpha: Send stop IPI to send to online CPUs
    dd62ad1e49cc net: qede: Fix end of loop tests for list_for_each_entry
    f4c5021e7b3a virt_wifi: fix error on connect
    cd5a60de176c reiserfs: check directory items on read from disk
    42b81b2b6766 reiserfs: add check for root_inode in reiserfs_fill_super
    aa54be4d1716 libata: fix ata_pio_sector for CONFIG_HIGHMEM
    fb9501ef203d riscv: dts: fix memory size for the SiFive HiFive Unmatched
    aa11124534b9 sched/rt: Fix double enqueue caused by rt_effective_prio
    bfdb06df02df perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
    1de1a42a8590 soc: ixp4xx/qmgr: fix invalid __iomem access
    8db20e539486 drm/i915: Correct SFC_DONE register offset
    9f01d090be13 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
    019387e3c21f interconnect: Always call pre_aggregate before aggregate
    39382972e727 interconnect: Zero initial BW after sync-state
    f2ca988aba4e spi: meson-spicc: fix memory leak in meson_spicc_remove
    e170a01152d2 usb: cdnsp: Fix incorrect supported maximum speed
    95108645a282 usb: cdnsp: Fix the IMAN_IE_SET and IMAN_IE_CLEAR macro
    e9b413776d32 interconnect: Fix undersized devress_alloc allocation
    6d74664e9843 soc: ixp4xx: fix printing resources
    7a822dd050b1 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
    16375248cec6 KVM: Do not leak memory for duplicate debugfs directories
    9a6772458f8e KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
    82c9a3098bbc KVM: x86: accept userspace interrupt only if no event is injected
    642ffd390d67 s390/dasd: fix use after free in dasd path handling
    6ed983ea4a12 io-wq: fix race between worker exiting and activating free worker
    08ed8d676c94 md/raid10: properly indicate failure when ending a failed write request
    d6e1229a1bbb ARM: omap2+: hwmod: fix potential NULL pointer access
    b5f6bab9522e arm64: fix compat syscall return truncation
    a62784c80b1b Revert "gpio: mpc8xxx: change the gpio interrupt flags."
    383d2836d2fa bus: ti-sysc: AM3: RNG is GP only
    6e8de6c62763 selinux: correct the return value when loads initial sids
    f730f081a49b scsi: ibmvfc: Fix command state accounting and stale response detection
    1cbbe89e6123 pcmcia: i82092: fix a null pointer dereference bug
    60cd03514038 net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
    d6bfaf682860 xfrm: Fix RCU vs hash_resize_mutex lock inversion
    662a1fd0ec69 perf: Fix required permissions if sigtrap is requested
    711f71b661ff virt: acrn: Do hcall_destroy_vm() before resource release
    9ae78810a2b4 timers: Move clearing of base::timer_running under base:: Lock
    fafe9cf51f80 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
    03d6da7c923f serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
    134cbd486ac4 serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
    9b2967bd9888 MIPS: Malta: Do not byte-swap accesses to the CBUS UART
    b321bb83a2c6 serial: 8250: fix handle_irq locking
    979bd0e11d88 serial: 8250: Mask out floating 16/32-bit bus bits
    19364aeb0b63 serial: 8250_mtk: fix uart corruption issue when rx power off
    b188f699e036 serial: tegra: Only print FIFO error message when an error occurs
    ddbd617df071 Revert "thunderbolt: Hide authorized attribute if router does not support PCIe tunnels"
    bc3c6b55a4ea ext4: fix potential htree corruption when growing large_dir directories
    e745e3033999 pipe: increase minimum default pipe size to 2 pages
    e58376a283bd media: rtl28xxu: fix zero-length control request
    e10d4de4ff5e drivers core: Fix oops when driver probe fails
    9f57b942c4f3 staging: rtl8712: error handling refactoring
    e7565488445d staging: rtl8712: get rid of flush_scheduled_work
    125b1d808b98 staging: rtl8723bs: Fix a resource leak in sd_int_dpc
    7a4e7a65d088 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
    156dc5bd1c8d optee: fix tee out of memory failure seen during kexec reboot
    7a710ab78bb8 optee: Refuse to load the driver under the kdump kernel
    255e17923b22 optee: Fix memory leak when failing to register shm pages
    55dac0db5316 tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
    a256c244187a tee: add tee_shm_alloc_kernel_buf()
    dca5025908f7 optee: Clear stale cache entries during initialization
    c7003666555d arm64: stacktrace: avoid tracing arch_stack_walk()
    ab19b258d68b tracepoint: Use rcu get state and cond sync for static call updates
    21acfdc21754 tracepoint: Fix static call function vs data state mismatch
    ee6f51d74e11 tracepoint: static call: Compare data on transition from 2->1 callees
    1483ce6d8ffd tracing: Fix NULL pointer dereference in start_creating
    aa9876e40cb6 tracing: Reject string operand in the histogram expression
    53e512b6c563 tracing / histogram: Give calculation hist_fields a size
    b907f0dd99cc scripts/tracing: fix the bug that can't parse raw_trace_func
    00fcd7f7a28b clk: fix leak on devm_clk_bulk_get_all() unwind
    8bb9022e0737 usb: otg-fsm: Fix hrtimer list corruption
    8ac3e4bdc284 usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
    f6f2d875a557 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
    74cd6464d6ad usb: gadget: f_hid: idle uses the highest byte for duration
    b27bb0d8988e usb: gadget: f_hid: fixed NULL pointer dereference
    12620d8780dd usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
    39129dc820d0 usb: cdnsp: Fixed issue with ZLP
    36d3bb59f3c6 usb: cdns3: Fixed incorrect gadget state
    271a4a35c61d usb: gadget: remove leaked entry from udc driver list
    fadfc2b17a1d usb: dwc3: gadget: Avoid runtime resume if disabling pullup
    cde7b3b1ddd4 usb: dwc3: gadget: Use list_replace_init() before traversing lists
    22952d4d1ae2 ALSA: usb-audio: Avoid unnecessary or invalid connector selection at resume
    11ebf7631eb6 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
    8691bda37729 ALSA: usb-audio: Fix superfluous autosuspend recovery
    6537805a71cd ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
    4cb3b665fa39 ALSA: hda/realtek: add mic quirk for Acer SF314-42
    fb78a577d5e5 ALSA: pcm - fix mmap capability check for the snd-dummy driver
    797bcd3d678b drm/amdgpu/display: fix DMUB firmware version info
    8330879408e5 drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled
    c14a54675db7 firmware_loader: fix use-after-free in firmware_fallback_sysfs
    34311eaec13b firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
    44b8abfb1c0f USB: serial: pl2303: fix GT type detection
    654b54e72cb3 USB: serial: pl2303: fix HX type detection
    ccc55e1df78b USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
    9fc923d27852 USB: serial: ch341: fix character loss at high transfer rates
    a07d3a2a57de USB: serial: option: add Telit FD980 composition 0x1056
    e7cf487c5f05 USB: usbtmc: Fix RCU stall warning
    d92eaad3ed95 io-wq: fix lack of acct->nr_workers < acct->max_workers judgement
    ebad5646c059 io-wq: fix no lock protection of acct->nr_worker
    75dd00b755eb Bluetooth: defer cleanup of resources in hci_unregister_dev()
    5c4139e2e299 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
    fc443dec3786 net: vxge: fix use-after-free in vxge_device_unregister
    5969dc53160a net: fec: fix use-after-free in fec_drv_remove
    91c159168dbd net: pegasus: fix uninit-value in get_interrupt_interval
    a4e2310d171e net: ethernet: ti: am65-cpsw: fix crash in am65_cpsw_port_offload_fwd_mark_update()
    6e2de0ad1d17 bnx2x: fix an error code in bnx2x_nic_load()
    9884f6096c4a kbuild: cancel sub_make_done for the install target to fix DKMS
    cb1f2a9b52d6 mips: Fix non-POSIX regexp
    a047015d4b23 x86/tools/relocs: Fix non-POSIX regexp
    b50d4d2b6fc6 MIPS: check return value of pgtable_pmd_page_ctor
    367c5c9d53e4 drm/i915: fix i915_globals_exit() section mismatch error
    8cc7b4cbce30 net: sched: fix lockdep_set_class() typo error for sch->seqlock
    04c35b1c155d riscv: Disable STACKPROTECTOR_PER_TASK if GCC_PLUGIN_RANDSTRUCT is enabled
    57b76a8fec62 net: dsa: qca: ar9331: reorder MDIO write sequence
    60dd525573d5 RDMA/hns: Fix the double unlock problem of poll_sem
    c3aba13b0e21 net: ipv6: fix returned variable type in ip6_skb_dst_mtu
    2841b3001376 nfp: update ethtool reporting of pauseframe control
    0294ca659bce drm/i915: Call i915_globals_exit() if pci_register_device() fails
    d73959cc5d98 sctp: move the active_key update after sh_keys is added
    8a9099d737d1 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
    29d04e9cf568 RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
    84a55bb25b8c gpio: tqmx86: really make IRQ optional
    be4b1c034ce7 net: natsemi: Fix missing pci_disable_device() in probe and remove
    a8c78e76c426 net: phy: micrel: Fix detection of ksz87xx switch
    6986053b6f33 net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
    731993ae08c3 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
    8a9e4d4e6ede net: dsa: sja1105: ignore the FDB entry for unknown multicast when adding a new address
    f072c44eb10b net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
    8395e1c53494 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
    1e6eab0aa13b net, gro: Set inner transport header offset in tcp/udp GRO hook
    64b81fcfd37f dmaengine: imx-dma: configure the generic DMA type to make it work
    6cb60082664e ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
    3957b6192d01 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
    941212f8762b ARM: dts: stm32: Prefer HW RTC on DHCOM SoM
    938b3e21c01a media: videobuf2-core: dequeue if start_streaming fails
    5258b116b485 scsi: sr: Return correct event when media event code is 3
    c298b61f6524 drm/kmb: Enable LCD DMA for low TVDDCV
    1d9f0250c73c spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
    de77638ae9ac spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
    64df529b50d0 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
    748fb4387195 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
    e03d177b32d8 clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
    a4240c4f23fb dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
    50836f77ccc2 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
    4b0843e94e86 ARM: dts: am437x-l4: fix typo in can@0 node
    36fec2753f39 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
    747d62a533b5 riscv: stacktrace: Fix NULL pointer dereference
    b28fd0f0b5cf ALSA: usb-audio: fix incorrect clock source setting
    f98f80297a05 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
    71ecd71e4e6e ext4: fix potential uninitialized access to retval in kmmpd
    b49b428e9462 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
    710be2446523 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
    15d9eb484ebd ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
    50f5768127aa ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
    c9658f4ddfce arm64: dts: ls1028: sl28: fix networking for variant 2
    d882c91b1585 dmaengine: idxd: fix submission race window
    1f2b17134c7c dmaengine: idxd: fix sequence for pci driver remove() and shutdown()
    6c3b6b10a84f dmaengine: idxd: fix desc->vector that isn't being updated
    48b425d005b5 Revert "soc: imx8m: change to use platform driver"
    ad6ef82f5695 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
    b1137318a18c ARM: imx: add missing clk_disable_unprepare()
    f6624656c389 ARM: imx: add missing iounmap()
    e1045d5ac6ad dmaengine: idxd: fix setup sequence for MSIXPERM table
    1c8a2fa0600a dmaengine: idxd: fix array index when int_handles are being used
    84e5c5ccd6ef arm64: dts: ls1028a: fix node name for the sysclk
    e95a18d6f83a net: xfrm: fix memory leak in xfrm_user_rcv_msg
    c03d1a2a4b99 bus: ti-sysc: Fix gpt12 system timer issue with reserved status
    3419672f00c8 ALSA: seq: Fix racy deletion of subscriber
    873180433191 Revert "ACPICA: Fix memory leak caused by _CID repair function"

(From OE-Core rev: 66da39e1c965d944a5bdf1955bae716956c56bb7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Andrej Valek
4e2da1699e vim: add option to disable NLS support
- Some distributions with UTF-8 locale have problem when National Language
Support is enabled. Add there an option to disable it.

(From OE-Core rev: da630d6d81a396c3e1635fbd7b8103df47ed2732)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Alexander Kanavin
ecf8795519 qemurunner.py: handle getOutput() having nothing to read
(From OE-Core rev: f4abfdeea175cfcadd6f73a69a676632ab4334a6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Alexander Kanavin
e4aa695cea qemurunner.py: print output from runqemu/qemu-system in stop()
This is done when starting up qemu has failed, but is not done
when qemu started ok, but fails later in QMP communication.

Output from runqemu does contain valuable information to find out
why, so rather than fix all the QMP fails to include it, let's just
print it in stop().

(From OE-Core rev: 6e2bf68e4401db747484c2c8ba0f77500b1d2d49)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Peter Kjellerstedt
e61c030679 meson.bbclass: Make the default buildtype "debug" if DEBUG_BUILD is 1
Setting the Meson buildtype to "debug" will by default only enable the
-g option to the compiler, which should not matter for OE-Core as it is
already enabled by setting DEBUG_BUILD to 1 in the first place. However,
if the package uses get_option('debug') in its meson.build files to
enable package specific debug code, this will now trigger as intended.

(From OE-Core rev: 7c7c353858a020153be5dba78480b91a28c7a05b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Andrey Zhizhikin
91a29ab9e9 lttng-modules: do not search in non-existing folder during install
When CONFIG_TRACEPOINTS is not enabled in kernel config - module
compilation is skipped, which causes the ${D}/${nonarch_base_libdir} not
to be created.

This fails later in do_install:append() due to the fact that find
command in executed for non-existing folder.

Check for folder existence before find command in executed.

(From OE-Core rev: de0aa1700ed4e6f04b0a233eb1f6d2ac598e7ed8)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Zoltán Böszörményi
7768da3fe8 kernel.bbclass: Use full versions for inter-package dependencies
If the kernel configuration enables module signing but no key
is provided, then the kernel generates one during the kernel build.

The current runtime-dependency references (with only package names
without full versions) allow mixed package installations from different
rebuilds of the same kernel version.

This creates an issue because then the modules either don't work
or taint the kernel.

Tighten RDEPENDS with the full package version, i.e. use (= ${EXTENDPKGV})
markers for inter-package dependencies.

The kernel will pull in the kernel-modules subpackage of the same
exact version automatically if KERNEL_SPLIT_MODULES="0" is set.
Otherwise the situation is the same as with the old default with
one subpackage per kernel module where they have to be upgraded
manually.

(From OE-Core rev: 56428d15803733e14d6f1faf5f77eb933ef966f3)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Zoltán Böszörményi
e6fae346ea Allow opt-out of split kernel modules
For some use cases, a monolithic kernel-modules package containing
all modules built from the kernel sources may be preferred.
For one, download time is shorter and installation time is faster.

Set KERNEL_SPLIT_MODULES="0" for this in. The default is one subpackage
per module.

Also, adapt kernel.bbclass to KERNEL_SPLIT_MODULES != "1" case
Extra RDEPENDS and other inter-package references are needed in
this case.

(From OE-Core rev: 4b13409d82e9d576e32b978f7a42a143127ab894)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Zoltán Böszörményi
2190abe8bb kernel-module-split.bbclass: Support zstd-compressed modules
(From OE-Core rev: 796d4661a6121dba878c29d2388258c795be3aeb)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Andrej Valek
95f0ce92b6 busybox: 1.33.1 -> 1.34.0
- update to next stable version 1.34.0
- refresh defconfig
- remove and refresh already merged patches

(From OE-Core rev: d0e694ef4ec7bd862bdefee494210e3878152b44)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Kai Kang
d270dfde25 libcgroup: fix installed-vs-shipped qa issue
When pam is enabled, it complains installed-vs-shipped QA issue:

| ERROR: libcgroup-2.0-r0 do_package: QA Issue: libcgroup:
         Files/directories were installed but not shipped in any package:
|  /lib/security/pam_cgroup.a

(From OE-Core rev: 21eccd79bdaa93b407da9cf0902d57fd225141ee)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Hongxu Jia
b3d2fde4f3 nativesdk-pseudo: Fix to work with glibc 2.34 systems
Since commit [df313aa810 pseudo: Fix to work with glibc 2.34
systems] applied, it fixed native only. And nativesdk has
the similar issue

Tweak library search order, make prebuilt lib ahead of recipe lib,
after apply the fix:
...
$ readelf -a lib/pseudo/lib64/libpseudo.so | grep 'Shared library'
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library:[libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
...

(From OE-Core rev: d6d116b5db78645958ea30be3d0572e0f6d7bd92)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Tim Orling
64f0fcb236 python3-pytest: allow python3-pluggy >=1.0.0
Fixes ptest failures in python3-jinja2.

Backport patch from upstream, for now.

Modify upstream patch to use toml and not tomli.
We will add the new recipe for python3-tomli when
we have an upgrade to python3-pytest.

Remove this when we upgrade pytest to a version containing
the commit: fbba504cd5e1a74d528a41a11a7b82297cd7da74

(From OE-Core rev: b4cfb0b0dab6bc7f43bab04cdf4f16c145be0223)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Tim Orling
df27e9928c python3-pluggy: upgrade 0.13.1 -> 1.0.0
* All ptests pass on qemux86-64

pluggy 1.0.0 (2021-08-25)

Deprecations and Removals

    #116: Remove deprecated implprefix support. Decorate hook
	  implementations using an instance of HookimplMarker instead.
The deprecation was announced in release 0.7.0.
    #120: Remove the deprecated proc argument to call_historic. Use
	  result_callback instead, which has the same behavior. The
deprecation was announced in release 0.7.0.
    #265: Remove the _Result.result property. Use _Result.get_result()
	  instead. Note that unlike result, get_result() raises the
exception if the hook raised. The deprecation was announced in release
0.6.0.
    #267: Remove official support for Python 3.4.
    #272: Dropped support for Python 2. Continue to use pluggy 0.13.x
	  for Python 2 support.
    #308: Remove official support for Python 3.5.
    #313: The internal pluggy.callers, pluggy.manager and pluggy.hooks
	  are now explicitly marked private by a _ prefix (e.g.
pluggy._callers). Only API exported by the top-level pluggy module is
considered public.
    #59: Remove legacy __multicall__ recursive hook calling system. The
	 deprecation was announced in release 0.5.0.

Features

    #282: When registering a hookimpl which is declared as
	  hookwrapper=True but whose function is not a generator
function, a PluggyValidationError exception is now raised.

    Previously this problem would cause an error only later, when
calling the hook.

    In the unlikely case that you have a hookwrapper that returns a
generator instead of yielding directly, for example:

    def my_hook_real_implementation(arg):
        print("before")
        yield
        print("after")

    @hookimpl(hookwrapper=True)
    def my_hook(arg):
        return my_hook_implementation(arg)

    change it to use yield from instead:

    @hookimpl(hookwrapper=True)
    def my_hook(arg):
        yield from my_hook_implementation(arg)

    #309: Add official support for Python 3.9.

(From OE-Core rev: 4cb9623933e3daeb754c06263167be61100f6c0a)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Peter Kjellerstedt
881bafcbb9 buildhistory-collect-srcrevs: Adapt to the new variable override syntax
(From OE-Core rev: bcce0e7cef5768d5cfe58c356f6196af8ce03537)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Peter Kjellerstedt
f42b404a99 bitbake.conf: Use the new variable override syntax in a comment
It is probably a good idea if the comment that describes how variable
overrides work use the new override syntax...

(From OE-Core rev: 1fd8882db9011a6fe18da7611fba3426fd5cb00d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
0e6b9a1e5f oeqa/selftest/reproducibile: Exclude rust packages
rust-llvm-liblto and rust-llvm-staticdev sometimes vary in contents. Exclude
them from the test for now until we can work on and resolve the issues.

(From OE-Core rev: 60c12da5aae2534c972df851f26e4523fed03afc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
b7fc3113a7 rust-common: Add LDFLAGS to cc wrapper
The -cc wrapper can be used for linking and can fail if key flags are missing:

| error: linking with `[path]/tmp/work/x86_64-linux/rust-native/1.54.0-r0/wrapper/target-rust-cc`

Add the flags to fix builds even if that is counter-intuitive (cc would
normally be used for compiling and ccld for linking).

(From OE-Core rev: 62242e83c49b81a9ea65c9a1f5957a7c309d910a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
fe90461e2d rust: Avoid buildtools+uninative issues with glibc symbols mismatches
If we use an external buildtools tarball, that combined with uninative results
in build failures with symbol mismatches. This was tracked down to the prebuilt
rust binaries that are downloaded. The libc/loader used to load them is used to
execute target binaries/libraries and therefore anything with built with a newer
libc would fail.

Add code to use patchelf to change the interpreter to our own uninative one if
present which ensures the newer libc and loader are used, hence avoiding the issue.

(From OE-Core rev: 099c761ffddcc828329d3083cc8f3d24b43e9277)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
c9de49fb80 oeqa/selftest/distrodata: Fix up rust maintainer testing
Since the target rust recipe is skipped but the native variant is not,
this confuses the test. Add rust to the list of special cases to avoid
test failures as the current code can't handle the skip.

(From OE-Core rev: 842cba1820416d79e30e3f1940e2486707fc7cff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
d6f10a5d65 rust: Skip target recipe since it doesn't work
The target rust recipe is known not to work. Add a SkipRecipe entry for
that so world builds don't include something known to be broken and
hence give users a sensible message if they do try and build it rather
than a build failure.

(From OE-Core rev: 16c77c82ff6635b0180690ea117e2eff8fd63afb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
a4d2b03d3b rust-llvm: Add missing HOMEPAGE
Add a missing HOMEPAGE entry to the recipe (fixing a selftest failure).

(From OE-Core rev: 71782d90cff825bd9c20d49590245565a6194bf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
f37be5cafa rust-native: Avoid stripped warning
Instead of giving the following warning, hide it since we don't plan to change it.

WARNING: rust-native-1.54.0-r0 do_populate_sysroot: File '/media/build1/poky/build/tmp/work/x86_64-linux/rust-native/1.54.0-r0/recipe-sysroot-native/usr/lib/rustlib/x86_64-linux/bin/rust-llvm-dwp' from rust-native was already stripped, this will prevent future debugging!

(From OE-Core rev: ec5f0c77882ccbd5797519f5ded4e528eb687008)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
cfc8d6dd64 cargo: Ensure cargo-cross-canadian doesn't have native/nativesdk versions
native/nativesdk variants of a cross-canadian recipe don't make any
sense so avoid these recipe variants.

(From OE-Core rev: 4ba7fb0b6a5021bca73aade4af390e8e017b491a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
37b2059a7f rust-cross-canadian-common: Use rust.inc directly, not rust-target
We don't want cross-canadian to see the native BBCLASSEXTEND as that
generates a recipe which makes no sense. Avoid this.

(From OE-Core rev: f3648d18c4e05f38053bb1fd73796a6e05d61928)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
857cf2d7b3 rust-cross*: Fix OVERRRIDE references in task signature computation
The oeqa selftest test:
   sstatetests.SStateTests.test_sstate_sametune_samesigs
which checks if the sstate checksums of two identical machines
(using the same tune) are the same, apart from changes within
the machine specific stamps directory, fails on the assertion:
   self.assertCountEqual(files1, files2)
due to the signature of various 32 bit package builds such as:
   x86_64-linux/lib32-rust-cross-i686
   x86_64-linux/rust-cross-i686
   x86-pokymllib32-linux/lib32-libstd-rs
   x86-pokymllib32-linux/lib32-rust
differing. Jumping down the rabbit hole past all the bitbake-diffsig
outputs that differ due to dependent hashes, you come to a  diff of:
   -Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}
   +Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}:qemux86
in
   stamps/x86_64-linux/rust-cross-i686/1.54.0-r0.do_rust_gen_target.<sig>

This is because there are two rust functions referencing OVERRIDES
related variables (target_is_armv7 and llvm_features_from_tune). These
indirectly influnce the build and should be excluded from the signatures
directly as is done in other toolchain recipes, e.g.:

   39bfa0dd32 recipes/*-cross recipes: ignore TARGET_ARCH sstate hash

(From OE-Core rev: 72d67410e92207a98a801ddf0cb9f1297a752975)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
9632185627 rust: remove Rust version 1.51.0 toolchain
We typically only have one version so remove the older
rust toolchain. This also fixes a maintainers oe-selftest.

(From OE-Core rev: d8ff9672d2686801d535a91fa28a92e38d8f0409)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
83651eda51 cargo_common: remove http_proxy
Fix the test_sstate_noop_samesigs oe-selftest that
produces an error like:

   core2-64-poky-linux/libstd-rs/1.54.0-r0.do_configure.sigdata differs:
   basehash changed from <hash-a> to <hash-b>
   Variable http_proxy value changed from '' to 'http://example.com/'

by simply removing the proxy config option. This may be added back
after merge to oe-core if needed and if the diffsigs check passes.

(From OE-Core rev: 81ad8aceaacda726361e953778294de20eeac24e)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Vinay Kumar
766f9eca83 rust-common.inc: Fix build failure with qemuppc64.
The glibc build of "rust-hello-world" throws error in libstd-rs package.
   error: unrecognized arch "powerpc64le" in target specification

The same got fixed by changing the arch to "powerpc64".

(From OE-Core rev: 1a28dd447c248f6b7f0efd121160ac798e2abf0c)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
16093ecf50 maintainers: Add myself as maintainer for rust pkgs
I'm willing to do the rust package maintenance but
if anyone else wants to sign up, that would be welcome.

(From OE-Core rev: 531d86cf1e11b034e23d1b682e475c1dde7b1a20)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
284f0b11a5 cargo/rust/rustfmt: exclude from world
cargo, rust, and rustfmt can't be built for the targets yet
so exclude them from world builds.

(From OE-Core rev: 3ade1015b5bbd6aac9dd9974a6a5712958a5f5ed)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Randy MacLeod
3550bfe387 rust: update the README to conform to being in oe-core
Provide the full link to the meta-rust issue since
the README is no longer part of meta-rust.

(From OE-Core rev: 11cb8e67f356d4758c3aae0e5851a44256459e77)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Randy MacLeod
e9263ee764 rust: mv README.md to recipes-devtools/rust/README-rust.md
Import the meta-rust/README.md but relocate and rename it.

(From OE-Core rev: a36b43187f9b78c279bdbd0ee9c6f7063a0e7cc7)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Randy MacLeod
61e1570c6a rust: initial merge of most of meta-rust
In the meta-rust repo at commit:
   448047c Upgrade to 1.54.0 (#359)

Make the required directories:
  mkdir ../oe-core/meta/recipes-devtools/rust
  mkdir ../oe-core/meta/recipes-devtools/cargo
  mkdir ../oe-core/meta/recipes-example
and then:
  cp recipes-devtools/rust/* ../oe-core/meta/recipes-devtools/rust
  cp recipes-devtools/cargo/* ../oe-core/meta/recipes-devtools/cargo
  cp lib/crate.py ../oe-core/meta/lib
  cp recipes-example/* ../oe-core/meta/recipes-example
  cp conf/distro/include/rust_* ../oe-core/meta/conf/distro/include/
  cp classes/* ../oe-core/meta/classes/
  cp recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb ../oe-core/meta/recipes-core/packagegroups

(From OE-Core rev: 3ed57578cca93ff1ba4e0bf3f25566e10659a2f9)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Peter Kjellerstedt
705b1d757f local.conf.sample: Use the new override syntax for a commented variable
(From meta-yocto rev: 69e1d8c7a95081a243f36fc911ff9be3ce8cae44)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 21:16:39 +01:00
Peter Kjellerstedt
3480d0224b poky-floating-revisions.inc: Use new override syntax for commented vars
(From meta-yocto rev: ab8cec2cc136f03747995565c3f5ae923883a55c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 21:16:39 +01:00
Richard Purdie
1092cdfb8d bitbake: README: Fix typo
Thanks Peter for spotting.

(Bitbake rev: 8c7a54ea7fdc721278380895d01868b96b330b90)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 15:23:12 +01:00
Alexander Kanavin
29b3fe80ee harfbuzz: upgrade 2.8.2 -> 2.9.0
(From OE-Core rev: 1e99e5cd02c628db4f7058a98fe33670f6f85e96)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
16b2d77a57 bind: upgrade 9.16.19 -> 9.16.20
(From OE-Core rev: 58bcdd72ccd21d598008cdbde4a0f27e4d3740cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
b8c69b9a31 json-glib: upgrade 1.6.2 -> 1.6.4
Upstream has converted from gtk-doc to gi-docgen.

(From OE-Core rev: 7fc1ca1edc9ab6eca7a57588397607b86beb3f07)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
62d28cc254 gi-docgen: upgrade 2021.6 -> 2021.7
(From OE-Core rev: 3d1a76f28160a6a56f26e360c010096c763d40dd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
d587428e48 libnsl2: upgrade 1.3.0 -> 2.0.0
(From OE-Core rev: 5420eebf63ed142a3c1897913410beb8bfce9ed9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
fa6573092f vala: upgrade 0.52.4 -> 0.52.5
(From OE-Core rev: 7e33b8ca62122cd04d6c7f28183da7cd2c678775)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
63daa467d5 python3-mako: upgrade 1.1.4 -> 1.1.5
(From OE-Core rev: 55e168eb2961dc4c1ae99a3ddee31b36d84c8fa9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
1ddfa92934 ell: upgrade 0.42 -> 0.43
(From OE-Core rev: 40ffd1e0e581868bee90f5c43ea84dfa470eda78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
426bc4fefa openssh: upgrade 8.6p1 -> 8.7p1
(From OE-Core rev: e744b59d6ba40ba1b810d8912ea65778655103bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
1280c8191c git: upgrade 2.32.0 -> 2.33.0
(From OE-Core rev: 94ea5d103a8941d710814f6e2c579626b54a40eb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
4de67aba89 ccache: upgrade 4.3 -> 4.4
License-Update: formatting
(From OE-Core rev: 1c30f8005a69fcb910d70fa257bdf305c1220696)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
ab1d826a70 util-linux: upgrade 2.37.1 -> 2.37.2
(From OE-Core rev: d469dfa08ae52ca720ef1315994050f956b6ea50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
e617435893 glib-2.0: upgrade 2.68.3 -> 2.68.4
Drop merged 0001-correctly-use-3-parameters-for-close_range.patch

(From OE-Core rev: 592335a75dbf28d2e3c5f0c62ad96d38420ae1f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
3ae0b7c128 gnu-efi: update 3.0.13 -> 3.0.14
Removed non-existent header from licensing.

(From OE-Core rev: 2e768f1dc6fa96cb2155eb0c1f168c4405032948)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
bcdaf2486b binutils: drop target flex/bison from build dependencies
This lengthens dependency chains unnecessarily;
also -native versions are already included in DEPENDS via binutils.inc:

DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"

I have also checked that nothing in binutils needs anything from target
sysroots of flex/bison:
https://lists.openembedded.org/g/openembedded-core/message/155131

(From OE-Core rev: 8e9d3b5c8c994d307b2cca6a053b29403af9d5ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Randy MacLeod
e4905f5566 openssl: upgrade from 1.1.1k to 1.1.1l
Includes fixes for:

CVE: CVE-2021-3711
CVE: CVE-2021-3712

as described by:
   https://www.openssl.org/news/secadv/20210824.txt

Ptest results on qemux86-64 with kvm:
   All tests successful.
   Files=158, Tests=2532, 137 wallclock secs \
     ( 2.59 usr  0.33 sys + 104.71 cusr 44.19 csys = 151.82 CPU)
   Result: PASS
   DURATION: 137

(From OE-Core rev: fdb6d8c0604e7170ad0c361d54ce9a19253afe36)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Peter Kjellerstedt
85a97d3985 lttng-modules: Make it build when CONFIG_TRACEPOINTS is not enabled again
Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch was updated
with the 2.13.0 update (commit 5dad15af), but unfortunately it no
longer did what it was intended to do. There is also
0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch, which
was based on the former patch, but it too does not solve the problem.

Unify the two patches, and actually disable building of the kernel
module if CONFIG_TRACEPOINTS is not enabled, the way it was intended.

(From OE-Core rev: f2411917c09a31d154d29060f6c7e4ce7d544fc7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Paul Gortmaker
ef3ad59d2a ltp: backport ioctl_ns05 fix from upstream
This false positive keeps showing up in our testing but the fix isn't
yet a part of a tagged release, and it is probably too late for doing
an uprev for the fall release anyway.

(From OE-Core rev: f216d7e3e7eb94f53a69e25c805344b04ada60f5)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Trevor Gamblin
120e36e89c bluez: upgrade 5.60 -> 5.61
5.61 includes a fix for CVE-2021-3658 (bluez: adapter incorrectly
restores Discoverable state after powered down), as well as other
fixes.

>From the changelog:

ver 5.61:
   Fix issue with A2DP while waiting for command response.
   Fix issue with A2DP when SetConfiguration fails.
   Fix issue with device removal handling.
   Fix issue with storing discoverable setting.
   Add support for Central Address Resolution characteristic.
   Add support for admin policy plugin.

(From OE-Core rev: 5f87fbf13bd35169a488ca564875974681aafd4f)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Richard Purdie
4cc61c81f7 pseudo: Fix to work with glibc 2.34 systems
The merge of libdl into libc in glibc 2.34 causes problems for pseudo. Add a fix
that works around this issue.

(From OE-Core rev: dd3e46a043c81cd4d81731a0f691868d3c059742)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-25 21:53:34 +01:00
Alexander Kanavin
c3e72164e7 libjitterentropy: remove contaminated hashequiv entry
This was caused by intermittent reproducibility problems.

(From OE-Core rev: dd7c61ecd79f1439ae20d66cda32c2beb5daf0de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-24 09:37:22 +01:00
Alexander Kanavin
47d982e36f mc: fix reproducibility
It is probing into what options the /usr/bin/file executable does
and does not support and bakes that into target binaries, so we
need to use a deterministic one we build ourselves.

(From OE-Core rev: 91bb0c4180b0e788b4483f836478b7de948029a0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-24 09:37:21 +01:00
Ross Burton
cae167c5ba local.conf.sample.extended: fix commented-out override syntax
(From meta-yocto rev: af596adf3eb5275656cda94b2ad41ca2deef3eab)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 13:14:02 +01:00
Scott Murray
3874ce6ee5 prservice: remove connection caching
This patch is a follow on of the the PR server rework in bitbake to add
read-only support.  The shift to using the bb.asyncrpc code in the PR
server and client brings issues with respect to reuse of the same
asyncio loop in different processes.  This patch removes the PR service
connection caching to avoid one source of this problem.  It is believed
that in practice this should have little impact on overall performance.

(From OE-Core rev: 0fc3055027e2a76ac863f1c0e0d52e95748066aa)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:55 +01:00
Richard Purdie
9d88d1d095 bitbake: README: Add note about test suite and new tests
Document that bitbake-selftest exists and that we appreciate test cases.

(Bitbake rev: 52896ca1fabd22cce01b75cc6fe3412b1ec09b5b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:55 +01:00
Paul Barker
295b75cf1c bitbake: prserv: Add read-only mode
[YOCTO #13659]

(Bitbake rev: 44287430b9804fcbf2440f85a2424792140e4dc9)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
[updated for asyncrpc changes]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:55 +01:00
Paul Barker
fb3b05fe8d bitbake: prserv: Replace XML RPC with modern asyncrpc implementation
Update the prserv client and server classes to use the modern json and
asyncio based RPC system implemented by the asyncrpc module.

(Bitbake rev: 6a2b23e27bb61185b8afb382e20ce79f996d9183)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
[updated for asyncrpc changes, client split to separate file]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Scott Murray
4df610473f bitbake: bitbake: asyncrpc: always create new asyncio loops
asyncio in older Python 3.x (seen with 3.7) can seemingly hang if
new_event_loop is called repeatedly in the same process.  The
reuse of processes in the Bitbake thread pool during parsing seems
to be able to trigger this with the PR server export selftest.
It appears that calling set_event_loop with the new loop avoids the
issue, so that is now done in the asyncrpc Client initializer (with
an explanatory comment).  This should be revisited when the day
arrives that Python 3.9 becomes the minimum required for BitBake.

Additionally, it was discovered that using get_event_loop in the
asyncrpc server initialization can trigger hangs in the hashserv
unittests when the second test is run.  To avoid this, switch to
calling new_event_loop + set_event_loop in the initialization code
there as well.

(Bitbake rev: bb9a36563505652294b20b4c88199b24fa208342)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Joshua Watt
fdc908f321 bitbake: bitbake: asyncrpc: Defer all asyncio to child process
Reworks the async I/O API so that the async loop is only created in the
child process. This requires deferring the creation of the server until
the child process and a queue to transfer the bound address back to the
parent process

(Bitbake rev: 8555869cde39f9e9a9ced5a3e5788209640f6d50)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
[small loop -> self.loop fix in serv.py]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Enrico Scholz
e8182a794d bitbake: fetch2/wget: fix 'no_proxy' handling
The urllib.request.ProxyHandler constructor only reads the $http_proxy
+ $https_proxy environment variables.

$no_proxy is evaluated later when the url is opened.

It is therefore not sufficient to just construct the proxy handler in
the

|        with bb.utils.environment(**newenv):

context, but the 'opener.open(r)' call must also be made there.

(Bitbake rev: 076baf4fbd328d247508fd399866a397eb34f67e)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Marco Felsch
f113446f41 bitbake: bitbake: bitbake-layers: add skip reason to output
Currently we inform the user that some package/layer is skipped but we
don't print the reason albeit bitbake knows the reason. So currently it
looks like:

gtk+:
  meta-oe              2.24.32 (skipped)

With this change the output prints the skip reason which is very helpful
for debugging:

gtk+:
  meta-oe              2.24.32 (skipped: one of 'x11 directfb' needs to be in DISTRO_FEATURES)

(Bitbake rev: d43e72db4f7c8b47d91d99ed54ce30e9ee898de1)

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Alexander Kanavin
46a8566183 qemu: add a hint on how to enable CPU render nodes when a suitable GPU is absent
This is particularly useful for llvm-accelerated GL rendering from qemu guest to
an offscreen buffer (accessible over vnc or spice) using llvmpipe on the
host, rather than using unaccelerated swrast renderer in the guest.

This is the best that can be done in the absence of a host GPU with render node
support (such as old Matrox cards common in servers, or fully virtualized cloud
environments with no GPU at all).

Note: even though NVidia blob drivers do support render nodes, they do not
support gbm (yet?), and so rendering will fall back to llvmpipe as well even when
the system has a 3000 euro NVidia GPU. Cue Linus picture.

(From OE-Core rev: 9b1daa173481f7f560e00e0dc22b4010ff1dc0ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
6f4afe940c kea: backport a patch to fix build errors exposed by latest update batch
(From OE-Core rev: 043e32278e91843277143777b27a498fa27f0a8f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
70cf1cf5e5 rng-tools: upgrade 6.13 -> 6.14
(From OE-Core rev: 28b3d8c01966d16f8ab8d61beaf9527f987f1ec6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
fd6760fb5f re2c: upgrade 2.1.1 -> 2.2
(From OE-Core rev: de48dcc93f83af37ea2c0d07a53e9cbb10279dca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
3ca3a89957 enchant2: upgrade 2.3.0 -> 2.3.1
(From OE-Core rev: c712c0d57f432eadea4e903d7712155b748a5e56)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
f2f0c68aab diffoscope: upgrade 179 -> 181
(From OE-Core rev: 8052c4a0f39846b4565de0a2ba466e15e39f656b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
20cb0b322d boost: upgrade 1.76.0 -> 1.77.0
(From OE-Core rev: ef0531a6ac74bb45ed4bfd4a2d870bedecca02cb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
5dadf29a7d webkitgtk: upgrade 2.32.2 -> 2.32.3
(From OE-Core rev: ea785ab3aabf04acb13ed0162b4807aed0562510)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
218748fcae libwebp: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: fc6b6f8870bd672616a74dc58b8c19a5d4751e18)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
25e0338c65 wireless-regdb: upgrade 2021.04.21 -> 2021.07.14
(From OE-Core rev: 7f4d11e8da6bb79232535c42ad41798a56162ac7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
6496a1b4b8 linux-firmware: upgrade 20210511 -> 20210818
License-Update: new firmware files, copyright years, file names
(From OE-Core rev: bfceaba4f38771047dfdfdfdbf16b794006dfd78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
1a949f5685 xserver-xorg: upgrade 1.20.12 -> 1.20.13
(From OE-Core rev: 5ccfd621415aa4e5a3db55fab0480ba29f35eb29)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
e792577952 libxft: upgrade 2.3.3 -> 2.3.4
(From OE-Core rev: 1e75e8111e33799169b7a137ef7a9a0902c9b690)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
4c99067075 libxfont2: upgrade 2.0.4 -> 2.0.5
(From OE-Core rev: 169fad9174370829a6a06468313675de3b43cac6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
009b7b1d04 libinput: upgrade 1.18.0 -> 1.18.1
(From OE-Core rev: 4451a250741fc5bb916322e8b86e514b1d5aed50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
10e15f62c1 mesa: upgrade 21.1.5 -> 21.2.1
(From OE-Core rev: 0d0a0902fe8db8a87c16be3b722e3b8d5f193785)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
fbc6717a2e pango: upgrade 1.48.7 -> 1.48.9
(From OE-Core rev: 882a4ed75e08cf704fdd4c4f19579b6300c4411d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
ea30278e8c libepoxy: upgrade 1.5.8 -> 1.5.9
(From OE-Core rev: 0fe7c97913ee894f8a33b231a87264e8beb3d8ca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
15d0e8f74d libjpeg-turbo: upgrade 2.1.0 -> 2.1.1
(From OE-Core rev: e5bb435e1604930a96fcd6262148b4096f24505b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
38a995d4b5 libgudev: upgrade 236 -> 237
(From OE-Core rev: 9f406325451a20d8f10bf84e9d7c9818926d09f7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
7544dd782e epiphany: upgrade 40.2 -> 40.3
(From OE-Core rev: 76314ddbe17e464e9c5eed30f65f0b82d7c39bd8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
1000ed57ac sudo: upgrade 1.9.7p1 -> 1.9.7p2
(From OE-Core rev: 8c232544108a0dcd0e8807187a3e80873747a9ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
bd3923ed34 stress-ng: upgrade 0.12.12 -> 0.13.00
(From OE-Core rev: 41bdb75052a04a33809e24ad94f2e940e80e5a1b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
a4f35b41da libidn2: upgrade 2.3.1 -> 2.3.2
(From OE-Core rev: c871697f3cad35be7c3e6703cfa335c1cf399f18)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
72f645442d acpica: upgrade 20210331 -> 20210730
(From OE-Core rev: 0acc4da4847ac964d55e5024c8a3817dfe2d0938)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
f4995a0b05 squashfs-tools: upgrade 4.4 -> 4.5
(From OE-Core rev: 142ad53513cae2b9b5bf16524e29b97477bb3dd0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
01543b2d87 python3-setuptools: upgrade 57.1.0 -> 57.4.0
(From OE-Core rev: 406504d81c77c211bf44210696392fc00c8dc559)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
ede97d6f88 python3-pygments: upgrade 2.9.0 -> 2.10.0
(From OE-Core rev: e1eb444524d53f160491809da79791888e186255)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
d3c6f3b968 python3-pip: upgrade 21.2.1 -> 21.2.4
(From OE-Core rev: 80ff47cc2f19996b4109f0a2396e61fdcfede5cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
381645b0b5 python3-git: upgrade 3.1.18 -> 3.1.20
(From OE-Core rev: 4c0840f9d8c576ce39e46069f50ad0c2454bd1e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
abd8516453 pkgconf: upgrade 1.7.4 -> 1.8.0
(From OE-Core rev: 82d1b8b9d1277a6b938ab07f6b0f8f59df5ce65e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
253fca8246 patchelf: upgrade 0.12 -> 0.13
(From OE-Core rev: 9fdfa49ac11eff7215fab8540114535b2c652b83)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
9a262e9038 mtools: upgrade 4.0.34 -> 4.0.35
(From OE-Core rev: aab57ed58b28309a34735ec1fb5a4192a03acea3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
3933970adf log4cplus: upgrade 2.0.6 -> 2.0.7
(From OE-Core rev: 954693821b7d4971c349660db0cf4a10b0c05e46)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
76e68623a9 libedit: upgrade 20210522-3.1 -> 20210714-3.1
(From OE-Core rev: 5b484d12739277049b32008dd4704db7bb025fe2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
8e56ec9b44 help2man: upgrade 1.48.3 -> 1.48.4
(From OE-Core rev: bafe7ecec683b469ba5f88be0b1b6275d5d58a26)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
c3917366f5 e2fsprogs: upgrade 1.46.2 -> 1.46.4
Drop big-inodes-for-small-fs.patch: upstream made the same fix.

Drop 0001-lib-ext2fs-unix_io.c-do-unlock-on-error.patch
0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
(upstream has fixed the issue).

Add 0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
to correct a ptest failure due to incorrectly expected inode size
(recent change that wasn't run against the tests upstream?).

(From OE-Core rev: a4fc0af1050e5e0cc3d241279b92ea8c75aeeb8e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
e7d29a28e7 glib-networking: upgrade 2.68.1 -> 2.68.2
(From OE-Core rev: f739ec70b16dab76eecab53a1cb4b8db2cec6d38)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
81f17b7531 mobile-broadband-provider-info: upgrade 20201225 -> 20210805
(From OE-Core rev: 93a335993ce592a8ee34fc9a490e327f2775e03f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
9f042ac49e inetutils: upgrade 2.0 -> 2.1
(From OE-Core rev: fc286bbf76eda315ecb9e51c5452d2163470e579)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
986f902eb9 usbutils: upgrade 013 -> 014
License-Update: SPDX ids corrected, license are same.
(From OE-Core rev: e433203b4c35eb5a9cf76349f9cd3e18f4b633dd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
2eb889523f libjitterentropy: update 3.0.2 -> 3.1.0
License-Update: formatting, files renamed.
(From OE-Core rev: ea06a05bf00ffc004184faa93a41deee84105f8a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
235a906b67 pulseaudio: update 14.2 -> 15.0
Drop backports.

(From OE-Core rev: 29bf058368e4a6336b74d9aa6880d3176cadb913)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
e524aca196 vulkan-samples: update to latest revision
(From OE-Core rev: 6740c138a34598ab3141031194f47f2c7504306c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
7d56edec61 libsdl2: update 2.0.14 -> 2.0.16
License-Update: formatting
(From OE-Core rev: a120618320292e3e8b8df416617c12d3151e27da)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
b6d0ca2a5a mc: update 4.8.26 - > 4.8.27
(From OE-Core rev: edcbd5eb311ad7b718e730048231c0c89c3397f4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
7b69036180 diffutils: update 3.7 -> 3.8
Drop patch as issue fixed upstream.

(From OE-Core rev: 51ce88191ff3161935b23a4df9805338e4553c5b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
3570e4040c btrfs-tools: update 5.13 -> 5.13.1
Drop patch as issue fixed upstream.

(From OE-Core rev: f5ff6ae84dbb11a4f3cfff463b7bc5b0a8046048)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
b3d1265f36 xeyes: upgrade 1.1.2 -> 1.2.0
libxi is a new requirement.

(From OE-Core rev: fbd4ba957f23970f7b42bdfa01939a3865a5dba4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
1e9e5d6c31 systemd: upgrade 249.1 -> 249.3
The patch changes are all git rearranging chunks on rebase; there are no functional changes.

(From OE-Core rev: 88cfba0762fe3bb6f593901f9a673b373534b756)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
800f86a32f python3-numpy: upgrade 1.21.0 -> 1.21.2
(From OE-Core rev: c96af3d9af52d65c36bb058b4499603ed4a2c003)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
c443d4e665 python3-cython: upgrade 0.29.23 -> 0.29.24
(From OE-Core rev: 8ae1c8e5b3ca9f05df9bfe49961347f118203c0f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
d3e0f0c9bf libxcrypt: upgrade 4.4.23 -> 4.4.25
(From OE-Core rev: 2e3dcec1319a847715d4c1dc72e1eb760725e8aa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
3755f6c4eb lighttpd: convert from autotools to meson
virtual/crypt is a hard dependency in meson builds.

ipv6 support is determined automatically.

The rest of the options are converted where available;
not every autoconf option exists in meson.

Modules are now packaged in /usr/lib/lighttpd, so adjust packaging accordingly.

(From OE-Core rev: a0a34524016050a78cb49d6657fcca5a2261d7fe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
79b7ce12c1 tcf-agent: fetching over git:// no longer works
(From OE-Core rev: 44a6cd03721b51cbb4e05870375fa347527b0db5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Kevin Hao
183dbb1b0f meta-yocto-bsp: Bump the kernel to v5.13.11
Build and boot test for all the boards.

(From meta-yocto rev: fd3d296cffd02f207fc83801401cb1ca3d7d8fdd)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:59 +01:00
Kevin Hao
49c706ebde meta-yocto-bsp: Set the default kernel to v5.13
Build and boot test for all the boards.

(From meta-yocto rev: b296bf6b0cadcff7c9000a3f4a3ca162785b9a33)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:59 +01:00
leimaohui
ead5293553 wordsize.h: Fix a miss, this file in arm and aarch64 should be the same.
(From OE-Core rev: f33395253bec55578b02495a098d2558cc58258d)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
leimaohui
c40ce02534 Fix conflict error when enable multilib.
file /usr/include/bits/pthread_stack_min.h conflicts between attempted installs of libc6-dev-2.34-r0.aarch64 and lib32-libc6-dev-2.34-r0.armv7ahf_neon

(From OE-Core rev: 40d131ff65d36022ca604d1153c5948eb888a2e3)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Tim Orling
47b361bf91 python3-hypothesis: enable ptest
The upstream "fast" tests (tests/cover and tests/pytest) take over
5 minutes to run and do not run cleanly. They also add dependency
on python3-pexpect and python3-ptyprocess (currently in meta-python).

The tests are also not included in the pypi tarball, so it would
require use of git fetcher and other invasive changes to the recipe,
including dropping the pypi inherit.

Instead, use two test suites from examples/

References:
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/examples

(From OE-Core rev: 1c7f6f444fdcb859a37d3b51a8d47260834d01db)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Tim Orling
34f595c6b4 python3-hypothesis: upgrade 6.14.8 -> 6.15.0
6.15.0 - 2021-08-22

This release emits a more useful error message when @given() is applied to
a coroutine function, i.e. one defined using async def (issue #3054).

This was previously only handled by the generic return_value health check,
which doesn’t direct you to use either a custom executor or a library such
as pytest-trio or pytest-asyncio to handle it for you.

6.14.9 - 2021-08-20

This patch fixes a regression in Hypothesis 6.14.8, where from_type() failed
to resolve types which inherit from multiple parametrised generic types,
affecting the returns package (issue #3060).

References:
https://github.com/HypothesisWorks/hypothesis/issues/3054
https://github.com/HypothesisWorks/hypothesis/issues/3060

(From OE-Core rev: ca0039a6e5524ab1e74df285ce16460dc980da65)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Khem Raj
15eeb6d960 weston: Re-order gbm destruction at DRM-backend tear down
Fixes an annoying segfault seen on rpi4 when launching weston during
boot especially using systemd service or sysvinit script, if weston is
launched manually on VT, it works fine. This backport specifically
addresses the issue described above.

For more details see [1]

[1] https://gitlab.freedesktop.org/wayland/weston/-/issues/314

(From OE-Core rev: 74e0249af85782af436791d1339ce864536d2022)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Jon Mason
da768360dd arch-arm*: Fix bugs with dsp and simd feature include files
Fix bugs found with a duplicate inclusion of feature-arm-simd.inc and
dsp not being defined in feature-arm-dsp.inc

Found by compiling with DEFAULTTUNE set to 'armv8r' and 'cortexm33'
respectively.

(From OE-Core rev: eb49c1847bb063fa5707843e0c2632023b341fcf)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Hsia-Jun Li
fffaf55d03 lib/oe/elf: Add Android OS to machine_dict
Add entries for Android to the mappings.

(From OE-Core rev: 2cec34178d6e5864c5d6280532a77cfb9cb255ea)

Signed-off-by: Hsia-Jun Li <randy.li@synaptics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Oleksandr Popovych
a0268e0d4f utils: Reduce the number of calls to the "dirname" command
utils.bbclass contains create_cmdline_wrapper() function that
creates wrapper script with additional arguments for any passed
"$cmd" command, and uses several calls to "dirname".

Because "dirname" is an external command, in cases of lots of
calls to wrapped "$cmd", each call of "dirname" will incur
significant overhead.

There are three same calls to "dirname": one for saving it`s
output to "realdir" variable, and other two in "exec" command.
So last two "dirname" calls can be replaced with cached value
from "realdir" variable.

(From OE-Core rev: 4b9cf2c80fd14386e0b88a2e6c40a9fa3f1ae0f7)

Signed-off-by: Oleksandr Popovych <opopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Marta Rybczynska
8900a8b337 lzo: add CVE_PRODUCT
lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were
not reported.

(From OE-Core rev: 366cf8201e36df1ac836e49de04ccda1f763ca9e)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Purushottam Choudhary
a842f8f831 assimp: added patch to fix hardcoded non-existing paths in CMake modules
assimp CMake modules were adding non-existing paths to its CMake modules
breaking builds for users of assimp. Remove the hardcoded paths with
an upstream patch with small tweaks.

(From OE-Core rev: 0dd86e64af7141c51666773265039fd98e2af31b)

Signed-off-by: Purushottam Choudhary <purushottamchoudhary29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Chen Qi
0d8f2ed39e package_rpm/update-alternatives: fix package's provides
Currently we have:
  $ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
  bash = 5.1.8-r0

This is incorrect as bash provides /bin/bash and /bin/sh. This is caused by
incomplete conversion of new override syntax, which breaks the per-file
parsing of package_rpm.

With this patch, we have:
  $ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
  /bin/bash
  /bin/sh
  bash = 5.1.8-r0

(From OE-Core rev: f186d32ff8bf176ad0bd8d49e47cdb017c701a46)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Ross Burton
ce15691ee9 gcc: also relocate the musl loader
Alongside GLIBC and UCLIBC, also relocate the musl loader.

(From OE-Core rev: 24c4e01892df1510e5ba64b89a0060f62f2384e6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Richard Purdie
13bfab12cc gcc: Fix nativesdk builds and multilib fixes with gcc 11
In newer gcc versions the headers changed locations and our multiconfig
and nativesdk tweaks to loader paths wasn't working. The broke
buildtools-extended-tarball, particularly on arm. Update to fix this.

Ultimately we should dump the gcc specs and check for hardcoded paths.
This isn't possible quite yet as this patch doesn't fix the musl ones
as we don't use that in mutlilib or nativesdk scenarios at present.

(From OE-Core rev: 4ed6505a18ac76c0aa148deabb143214ac0c4552)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Richard Purdie
3fd2dff4eb ref-manual: Fix reference to bbappend section of dev-manual
(From yocto-docs rev: 015914cdbe3f58a39ec64ee6a4181d3d29741205)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Richard Purdie
f036aeac2a bsp-guide: Fix reference to bbappend section of dev-manual
This was broken in a previous commit which broke doc generation.

(From yocto-docs rev: 8fc45b2e7e2cd1a18d65014f88d83631cc67c2fb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Tim Orling
fdfd6c0f90 python3-hypothesis: upgrade 6.14.5 -> 6.14.8
6.14.8 - 2021-08-16
This patch ensures that registering a strategy for a subclass of a
parametrised generic type such as class Lines(Sequence[str]): will not
“leak” into unrelated strategies such as st.from_type(Sequence[int])
(issue #2951). Unfortunately this fix requires PEP 560, meaning Python
3.7 or later.

6.14.7 - 2021-08-14
This patch fixes issue #3050, where attrs classes could cause an internal
error in the ghostwriter.

6.14.6 - 2021-08-07
This patch improves the error message for issue #3016, where PEP 585 builtin
generics with self-referential forward-reference strings cannot be resolved
to a strategy by from_type().

References:
https://github.com/HypothesisWorks/hypothesis/issues/2951
https://www.python.org/dev/peps/pep-0560
https://github.com/HypothesisWorks/hypothesis/issues/3050
https://www.python.org/dev/peps/pep-0585

(From OE-Core rev: 1f2276c6d0312854caacebe1c83dee57474f1bb2)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Tim Orling
341c0a7303 python3-importlib-metadata: upgrade 4.6.3 -> 4.6.4
v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
https://github.com/python/importlib_metadata/issues/334

(From OE-Core rev: 9c7768d26a006445ed703e961184be3b8add68c6)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Jon Mason
8d77024c71 tune-cortexr*: add support for all Arm Cortex-R processors
Add tune entries for all Arm Cortex-R processors currently supported in
GCC.  Also, add the simd feature, which can be used in ARMv7a and
ARMv8a, but currently isn't.

(From OE-Core rev: 67e582379afa9bff8d585b4c7f1bc65a76d088fb)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Jon Mason
ff0ea5633a arch-arm*: add better support for gcc march extensions
GCC has the ability to pass extensions to the march parameter, which
expand the funcationality of the march.  For example
"-march=armv7ve+simd" adds SIMD to ARMv7.  Currently, there is no way to
expand the march setting without modifying each instance, as you can't
guarantee the ordering when using the existing TUNE_CCARGS.  By
introducing two new variables, TUNE_CCARGS_MARCH and
TUNE_CCARGS_MARCH_OPT, we can enforce that these two go together.

Also, expand existing and create new feature files that use these
variables to expand the functionality.

(From OE-Core rev: 794eb617bfd1997e7a3498812c63a20c58a10554)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Oliver Kranz
a3c1be72af Allow global override of golang GO_DYNLINK
Small golang applications create massive memory overhead if go-runtime
is deployed. So it is helpfull to be able to disable the GO_DYNLINK
option on a per distro/local.conf basis by making it a ?= instead of =.

(From OE-Core rev: 2a7f5843c4ad2a3bd44bf9c262aacab2931b5677)

Signed-off-by: Oliver Kranz <o.kranz.88@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Ross Burton
b001ac2f30 libcgroup: upgrade to 2.0
Our UPSTREAM_CHECK_URI was looking at SourceForge, but development has
moved to GitHub so update the URI.

Update to 2.0.

Swap musl-decls-compat.patch for a backport of an upstream commit.

Replace do_install commands with a backport of an upstream commit to
install the PAM module correctly.

Don't mess about installing the library into base_libdir as the /lib vs
/usr/lib prefix split is moot these days.

Delete libcgroupfortesting.so as we don't install the test suite.

(From OE-Core rev: 466c1c674e3da1fdbe1eae1cd90637d79a1500f5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Yi Zhao
90cf58dc7d shadow: add /etc/default/useradd
The shadow 4.9 stops shiping /etc/default/useradd[1] and uses built-in
settings by default. Some settings are not consistent with previous
shadow 4.8.1 in oe-core. e.g. The default shell is /bin/bash rather than
/bin/sh. Per shadow 4.8.1 settings, add /etc/default/useradd back.

[1] bbf4b79bc4

(From OE-Core rev: 736d0b29c6246658a925ea9036ccfe6216d12837)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Jose Quaresma
c5db14b395 sstate.bbclass: get the number of threads from BB_NUMBER_THREADS
- bitbake BB_NUMBER_THREADS uses cpu_count from oe utils that uses
the python os.sched_getaffinity and it is more acurrate.

 grep -nH ^BB_NUMBER_THREADS meta/conf/bitbake.conf
 meta/conf/bitbake.conf:806:BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"

- multiprocessing.cpu_count() returns the number of CPUs on the host,
not the number of usable CPUs on the host. If the user is using
scheduler affinity then the number of usable CPUs may be less,
so when determining how many cores we can use check the affinity instead.

(From OE-Core rev: 45c52f08a289c6eb2329de50634a0406204d1d8e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Daniel Gomez
9986923d05 oeqa: wic: Add tests for --no-fstab-update
Add tests for the --no-fstab-update wic part command.

(From OE-Core rev: 90141d41a370ff377d95fb3dd144b63a85e22f8e)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Daniel Gomez
6fdbc5144f wic: Add --no-fstab-update part option
When embedding a rootfs image (e.g. 'rootfs-dir') as a partition we
might want to keep the stock fstab for that image. In such a case, use
this option to not update the fstab and use the stock one instead.

This option allows you to specify which partitions get the fstab
updated and which get the stock fstab.

The option matches the argument you can pass to wic itself where the
same action is performed but for all the partitions.

Example:
    part /export --source rootfs --rootfs-dir=hockeycam-image
--fstype=ext4 --label export --align 1024 --no-fstab-update

    part / --source rootfs --fstype=ext4 --label rootfs --align 1024

(From OE-Core rev: ab4c95af8ecd15dc136194ab761afae756db5803)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Vinay Kumar
901b82a4c8 glibc: Fix CVE-2021-38604
Source: https://sourceware.org/git/glibc.git
Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=28213

Backported upstream commits b805aebd42364fe696e417808a700fdb9800c9e8 and 4cc79c217744743077bf7a0ec5e0a4318f1e6641
to glibc-2.34 source.

Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=b805aebd42364fe696e417808a700fdb9800c9e8]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=4cc79c217744743077bf7a0ec5e0a4318f1e6641]

(From OE-Core rev: 014c6b0a1188d5dfb32790246491973ea91017d8)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Richard Purdie
ec1894938b elfutils: Fix ptest dependencies
The elfutils ptests require debug symbols for the libc to be available, else
we see failures such as those on the autobuilder for the fast ptest image
on arm (the dbg symbols are pulled in by other recipes in other images).

Also fix various test skips/error messages due to missing gcc/ld and
development headers.

(From OE-Core rev: 41ecc76c7fab8f9805d3271255bcd027d87298bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Jon Mason
319a4bb1d0 docs: update docs with new tune locations
(From yocto-docs rev: ce6d3dbaea9d6250567d23e7d95ce9cbd3a03c99)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:58 +01:00
Jon Mason
476f558b75 yocto-bsp: update machine confs with new tune locations
(From meta-yocto rev: c909922cc70bbf1420a51e035625d06537334b47)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
f3e7063e6a poky-alt: switch default kernel to 5.10
5.4 has been dropped from oe-core release/development, so we switch
the alt-config to use 5.10.

(From meta-yocto rev: 979b52c5f1d649791bfe312d79585a4cd346ce26)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
a2d643f3a0 yocto-bsp: drop 5.4 bbappend
5.4 has been removed from oe-core, so we drop our associated
bbappend.

(From meta-yocto rev: 9ea749976abbb0d9b3746ab309da1c8bf32d4bef)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
3dc322bfc3 poky: set default kernel to 5.13
both -rt and -standard have been updated to 5.13, so we switch out
defaults.

(From meta-yocto rev: 20dfac37b818b652274aba88ad0b40c56b0ea8a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
b2db5bf57f poky/poky-tiny: set default kernel to 5.13
(From meta-yocto rev: 795579ee2097d5a263d833b54d949bba5305c163)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Ross Burton
6b19caf208 oeqa/sdk: add HTTPS test for buildtools
Verify that HTTPS connections work in both wget and Python, as this
depends on variables correctly pointing to the certificate chain.

(From OE-Core rev: 5c2b1fb09e786ec392979d21dc7884ca23cd84f0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
7cd1bae810 kernel-devsrc: fix 5.14+ objtool compilation
In v5.14+, x86 requires not just elfutils, but the elf headers
on the target to build objtool (required for 'scripts parepare'),
so we tweak our RDEPENDS to ensure that the right headers are
on the target.

(From OE-Core rev: 03ccc234386f753e1b0129ec557e67bcd04cc69e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
408a1d24e1 kernel-devsrc: 5.14+ updates
commit 6218d0f6b8dec [x86/syscalls: Switch to generic syscalltbl.sh]
means that x86 no longer has a syscall script to copy, which causes
a build error.

We already copy the generic syscall script (in scripts), so we just
catch errors for the copies to support older and 5.14+ kernels in
the same devsrc recipe.

(From OE-Core rev: 5debc9bc25110b836b76927c61b2455e5e235a84)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
f2bf71a392 lttng-modules: update to 2.13.0
Updating to 2.13.0, so we can pick up the latest -stable and
support for 5.14+ kernels.

We refresh one patch for new context, and update the LICENSE
checksum due to commit 2df37e95fa4303 [Cleanup: Move headers from
toplevel to include/lttng/]. which impacted the LICENSE file (but
licensing is the same).

MODULES_MODULE_SYMVERS_LOCATION must also be specified in this
release, as the lttng build has moved the module target to a
'src' subdirectory.

(From OE-Core rev: 5dad15af8b3423ad9631edf3eef6e77902f1b36e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
6c2e02772e linux-yocto-dev: bump to v5.14+
(From OE-Core rev: 8059018ae2f8cb731b58a3bc7b0c7392657adcfb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Ross Burton
0c41ea3ad7 glibc: package the stub .a libaries into glibc-dev
In glibc 2.34, the libraries libpthread, libdl, libutil, libanl have
been integrated into libc. To retain compatibility with old binaries the
shared libaries are still shipped but are empty, and to keep software
building there are empty static libraries.

However, these static libraries get packaged into glibc-staticdev (as
they should be), but by this design they should be in glibc-dev.

https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html

(From OE-Core rev: f42658198193dcf88814513e1fa09bf484777079)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Ross Burton
8ab0f43fda oeqa/sdk: add relocation test for buildtools
The buildtools-extended tarball includes GCC, which relies on being
relocated correctly to work.  Add a test case that verifies that the
loader paths have all been relocated, as otherwise there are
hard-to-debug errors at build time.

(From OE-Core rev: fe1f675ea156722a3709b13cd751479c9528134d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Denys Dmytriyenko
33cb14f6a0 grep: upgrade 3.6 -> 3.7
GNU grep 3.7 has been released with a fix for a bug causing
"extreme performance degradation" in certain types of search.

https://www.theregister.com/2021/08/16/gnu_grep_37/

(From OE-Core rev: 8a2bfc9da626597e915b774e1dca95ae2929014f)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Andreas Müller
8fe33c7215 binutils: Apply upstream patch to fix 'too many open files' on qtwebengine
Since upgrade of binutils to 2.37 builds of qtwebengine failed to link even
with ulimits -n 1000000 (!!).
Fix that by applying a patch from stable 'binutils-2_37-branch'.

(From OE-Core rev: 9f4660e1c6b251c55f9e7e8072b602edf843b952)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Andreas Müller
5f39beb7cc mesa: upgrade 21.1.5 -> 21.1.7
Joshua's vc4/v3d/dma-patch was applied in 21.1.7

Release notes 21.1.7:

Bug fixes
    Miscompilation of a switch case
    [radeonsi][regression] CPU is being used ~10 times more than usual after c5478f9067f.
    dEQP-VK.wsi.android.swapchain.create#image_swapchain_create_info crash on Android R
    The image is distorted while use iGPU(Intel GPU) rendering and output via dGPU (AMD GPU)
    lima: regression in plbu scissors cmd
    Incorrect rendering
Changes
    pan/bi: Restrict swizzles on same cycle temporaries
    nir/lower_mediump_io: Don’t remap base unless needed
    nir/lower_mediump: Fix metadata in all passes
    util/fossilize_db: Update parsed_offset correctly.
    util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
    util/fossilize_db: Flush files after header write.
    util/fossilize_db: Be conservative about header length check for locking.
    util/fossilize_db: Only allocate entries after full read.
    util/fossilize_db: Use uint64_t for file size.
    util/fossilize_db: Unlock the cache file if the entry already exists.
    util/fossilize_db: Add extra flock mutex.
    radv: Allocate space for inline push constants.
    vulkan/wsi/x11: do not inherit last_present_mode
    ir3: Preserve gl_ViewportIndex in the binning shader
    teximage: return correct desktop GL error for compressedteximage
    intel/fs: restrict max push length on older GPUs to a smaller amount
    virgl: disable anisotropic filtering.
    freedreno/ir3: Add build id to the disassembler test
    .pick_status.json: Update to 7055282231cdad23e7b23fb49a2f953a99797f8a
    .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
    .pick_status.json: Mark 6ccf11ac2b951963407601b5b1109b45a972e48e as denominated
    .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
    .pick_status.json: Update to 353e6323936b812884fa677c25bdba91554881b7
    .pick_status.json: Update to 4128acdee32eadfef1fb8c3c3ce2e512a267cdf4
    pick-ui: drop assert that optional argument is passed
    pick-ui: show nomination type in the UI
    pick-ui: show commit date
    lima: avoid crash with negative viewport values
    zink: make codegen compatible with python 3.5
    mesa/main: Check for fbo attachments when importing EGL images to textures
    v3d, vc4: Fix dmabuf import for non-scanout buffers
    gallium/hud: initialize query
    nv30: fix emulated vertex index buffers
    gallium: Reset {d,r}Priv in dri_unbind_context
    loader/dri3: create linear buffer with scanout support
    anv: fix submission batching with perf queries
    anv: don’t try to access Android swapchains
    renderonly: don’t complain when GPU import fails
    etnaviv: always try to create KMS side handles for imported resources
    glsl: evaluate switch expression once
    zink: use array size in spirv bo length calculations
    etnaviv: fix gbm_bo_get_handle_for_plane for multiplanar images
    clover/spirv: Properly size 3-component vector args
    clover/nir: Set constant buffer pointer size to host
    gallium/va: don’t use key=NULL in hash tables
    amd/registers: fix fields conflict detection
    radeonsi: don’t create an infinite number of variants
    nir/algebraic: fix imod by negative power-of-two
    radv: fix selecting the first active CU when profiling with SQTT
    etnaviv: fix renderonly check in etna_resource_alloc
    etnaviv: fail in get_handle(TYPE_KMS) without a scanout resource
    freedreno: fail in get_handle(TYPE_KMS) without a scanout resource
    panfrost: fail in get_handle(TYPE_KMS) without a scanout resource
    lima: fail in get_handle(TYPE_KMS) without a scanout resource
    nine: Fix assert in tx_src_param
    intel/compiler: make sure swizzle is applied to if condition
    glsl: Add operator for .length() method on implicitly-sized arrays
    glsl: Properly handle .length() of an unsized array
    gallium/vl: don’t leak fd in vl_dri3_screen_create

Release notes 21.1.6:

Bug fixes
    [RADV] FSR in Resident Evil: Village looks very pixelated on Polaris
    Crash in update_buffers after closing KDE “splash screen” downloader
    Crash in update_buffers after closing KDE “splash screen” downloader
    radeonsi: persistent, read-only buffer maps are slow to read
    substance painter flickering with jagged texture and masks shown black
    radv: FP16 mode in FidelityFX FSR doesn’t look right
    [RADV] Blocky corruption in Scarlet Nexus and vkd3d-proton 2.4
    Radeon RX580 and 5700 XT: Reloading ARB assembly shaders causes very glitchy rendering

Changes
    targets/graw-xlib: Add missing dep_x11
    egl/surfaceless: try kms_swrast before swrast
    meson: allow egl_native_platform to be specified
    freedreno/computerator: Fix local_size typo
    aco/optimizer: ensure to not erase high bits when propagating packed constants
    egl/wayland: Error on invalid native window
    egl/wayland: Allow EGLSurface to outlive wl_egl_window
    softpipe/aniso: move DDQ calculation to after scaling.
    llvmpipe: add support for time elapsed queries.
    .pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as backported
    .pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06
    .pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3
    .pick_status.json: Update to 73262d4bd4a4637a332264a165c62ce3209d03fb
    zink: remove duplicate format-mapping on little-endian
    vulkan: do not map zero-sized region of memory
    vulkan: allocate host-visible memory for swapchain images
    nir/gcm: Clear out pass_flags before starting
    iris: Re-emit MEDIA_VFE_STATE for variable group size shaders
    anv: Handle errors properly in anv_i915_query
    v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell
    lavapipe: Use common Vulkan format helpers
    broadcom/compiler: emit TMU flush before a jump
    nv50/ir/nir: fix smem size for GL
    radeonsi: don’t expose no-attachment MSAA 16x on all 1 RB chips due to issues
    st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage
    egl/android: include “util/compiler.h” for FALLTHROUGH macro
    util/foz: stop crashing on destroy if prepare hasn’t been called
    radeonsi: Check aux_context on si_destroy_screen()
    mesa: clear shader_info::is_lowered in prog_to_nir
    mesa: fix bindless uniform samplers update
    aco: don’t create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16
    freedreno/ir3: Don’t force RTNE if rounding mode is undefined
    radv: only init the TC-compat ZRANGE metadata for the depth aspect
    glsl: replace some C++ code with C
    util: add workaround for Full Bore
    glsl: relax rule on varying matching for shaders older than 4.20
    lima: handle fp16 vertex formats

(From OE-Core rev: ce202e5f3f0eaceec2e23ebd1697f73c9fa00aaf)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Sakib Sajal
48960ce562 qemu: fix CVE-2021-3682
(From OE-Core rev: e16cd155c5ef7cfe8b4d3a94485cb7b13fd95036)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Jon Mason
1d381f21f5 conf/machine: move tune files to architecture directories
Move all of the tune files found in conf/machine/include into their
respective architecture directories in that same location.  All
references to these will need to be updated.  So, change the relevant
ones for this tree in this commit as well.

For the ARM tunes, nest them one further into armv8a, armv8m, etc. and
rename some to make them uniform with the rest of the tunes.

(From OE-Core rev: b6f15209bcfff953cce69da97a93f9ddff141ced)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Michael Halstead
d9878e12b8 uninative: Upgrade to 3.3, support glibc 2.34
(From OE-Core rev: 4aa4dcd5f31657073f2207a9a4a43247322c7eb1)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Ross Burton
ca8adb9ee6 uninative: Improve glob to handle glibc 2.34
With glibc 2.34, the libraries were renamed. Tweak the glob to support both
as this is needed for newer uninative versions.

[RP: tweak commit message]
(From OE-Core rev: 98248306e4b5f023e96375293b60524574ebb686)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Joshua Watt
1c51e6535b bitbake.conf: Add lz4c, pzstd and zstd
Adds the command line compression tools which are needed by bitbake

(From OE-Core rev: 58f5389e3c6b0e5b29df8850c2056b5fc41b618f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
5d0464b17f conf/machine: bump qemu preferred versions to 5.13
5.13 is the latest reference kernel, so let's make it the
default.

(From OE-Core rev: a7ebb5053a5dd7d0989a15cc4dee7116d3ef0948)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
1ce72e983c linux-yocto/5.4: remove recipes
We have 5.10 and 5.13 as the active recipes in the release/development
branches, so we remove 5.4.

This leaves us with the standard three versions for release (5.10,
5.13 and -dev).

5.4 will continue to be updated in stable/supported releases.

(From OE-Core rev: f4ff7a501df84f15900652703349c0072ef8714c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Joshua Watt
f557bdbf1d bitbake: contrib: vim: Add "remove" override highlighting
"remove" was accidentally omitted when defining which override operators
should be highlighted

(Bitbake rev: a0248338452f9ec26b588ef83679aca6263e7e76)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Richard Purdie
e7bcbc6195 bitbake: bitbake: Make 3.6.0 the minimum python version
OE-Core did this a while ago, it is simpler if bitbake matches.

(Bitbake rev: a3050aee21b6a23b55232d52f89980a3bbd3a290)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Richard Purdie
bc65a37ef5 package: Fix overrides converion issue with PKGSIZE
This fixes pkgdata PKGSIZE info after the overrides change.

(From OE-Core rev: 6964f06e48c7002c9ad788aa04bd8873fb3ee024)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Richard Purdie
dd6b55d70c package/scripts: Fix FILES_INFO handling
There is a long standing bug where FILES_INFO isn't written into pkgdata
with a package suffix. This means if the files are read into the datastore
as intended, the last one "wins".

Fix this to work as intended. Most of the call sites using the data need
to be updated to handle this and the overrides change correctly.

Also fix some other problematic references noticed along the way.

(From OE-Core rev: a1190903e0a61a12c9854c96af918ae8d12c6327)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Jon Mason
12e1f9815d arch-armv8m-main: missing space
Correct an issue with 2 AVAILTUNES not being separated by a space.

(From OE-Core rev: 72a9ddf85876909d6f22582561a6e1c3a2ccf2fa)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Ross Burton
34062ffb4f oeqa/selftest/buildoptions: test buildhistory PKGSIZE and FILELIST fields
Add tests to ensure that PKGSIZE and FILELIST fields are set correctly.

(From OE-Core rev: 8e957f9dbf794195af093f3fbc00b4c8d269ee37)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Yi Zhao
2be20821c2 prelink: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for selinux rather than disable it directly. This is
useful for selinux distro feature.

(From OE-Core rev: d25b644741f5b941aa3051545e86e16a365c51c3)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Robert P. J. Day
166296f4bc scripts/lib/wic/help/py: "Redhat" -> "Red Hat"
Company name is properly spelled as "Red Hat".

(From OE-Core rev: cd60f20fe40bba5b80ab604ee34fbf4ec2b0b4a2)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Mingli Yu
6566a99d4d shadow: fix default value in SHA_get_salt_rounds()
Backport a patch [1] to fix chpasswd, gpasswd and passwd "hang" for
several minutes (10-20min) at 100% cpu usage though they finally
terminate successfully.

[1] https://github.com/shadow-maint/shadow/issues/393

(From OE-Core rev: ad8c62f988017e1e4da1f5ed7fb6f4a5ce44844e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Richard Purdie
626afc69a4 oeqa/selftest/glibc: Handle incorrect encoding issuesin glibc test results
We dont control the test output and sometimes see badly encoded characters.
These don't affect the operation of the code we're running. Use
errors='replace' to avoid those issues and the resulting test failures.

(From OE-Core rev: 3939b1923387d3bc440118ed1663d28a03a1ea5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Richard Purdie
8e27d952f8 man-db: Add compression PACKAGECONFIG entries
Add PACKAGECONFIG entries for various compression algorithms to ensure
builds are deterministic.

(From OE-Core rev: 65b847856e44ef83ead3a0efb48ea19dc6c9df4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Richard Purdie
d31f8e1ee0 elfutils: Add zstd PACKAGECONFIG for determinism
Ensure builds as deterministic by covering all compression configuration
options.

(From OE-Core rev: c78224b8546aa8d6bd238c2516c445b80de4c205)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Michael Opdenacker
cde66ad271 maintainers.inc: maintainer for alsa-*, flac, lame and speex
(From OE-Core rev: 9f0120902d5a8de01c1af319aa2c3c68cebef4ed)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
46269e4325 linux-yocto/5.13: update to v5.13.9
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f259ee2f0379 Linux 5.13.9
    4288f43d9e0e spi: mediatek: Fix fifo transfer
    fad0494f626f drm/amd/display: Fix ASSR regression on embedded panels
    02db470b866f Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    c268b30ff4e0 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
    989b27104a97 io_uring: explicitly catch any illegal async queue attempt
    f7be9c72d1de io_uring: never attempt iopoll reissue from release path
    eb9b9c610f25 drm/amd/display: Fix max vstartup calculation for modes with borders
    9cc57c6cdd24 drm/amd/display: Fix comparison error in dcn21 DML
    b3b7be424610 nvme: fix nvme_setup_command metadata trace event
    d26ac2d83b02 efi/mokvar: Reserve the table only if it is in boot services data
    dbdf7e3d5684 ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
    f248077aef20 ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
    a35d559db687 net: Fix zero-copy head len calculation.
    4bf6168d0b6a ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
    3cadaeae64dc qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
    a6b2ef5b5ffb r8152: Fix a deadlock by doubly PM resume
    5feeb2da23e5 r8152: Fix potential PM refcount imbalance
    bf7dd85e9e02 regulator: mtk-dvfsrc: Fix wrong dev pointer for devm_regulator_register
    ee37879e24c4 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
    c2fdcb148e33 spi: stm32h7: fix full duplex irq handler handling
    64d62c4e4ccb regulator: rt5033: Fix n_voltages settings for BUCK and LDO
    2e4e8df287c1 regulator: rtmv20: Fix wrong mask for strobe-polarity-high
    1c5b8c4e4cb5 ASoC: Intel: boards: fix xrun issue on platform with max98373
    497a0258df14 ASoC: Intel: boards: create sof-maxim-common module
    301f2270d3ac ASoC: Intel: boards: handle hda-dsp-common as a module
    c348419f365b net: dsa: sja1105: fix address learning getting disabled on the CPU port
    5ee064ade19a net: dsa: sja1105: parameterize the number of ports
    1ce09f0ae455 cifs: add missing parsing of backupuid
    cf5663d06bc3 cifs: use helpers when parsing uid/gid mount options and validate them
    2abe7e0f1983 bpf, sockmap: On cleanup we additionally need to remove cached skb
    96b1d399a4f2 skmsg: Pass source psock to sk_psock_skb_redirect()
    b82ffbf55977 skmsg: Increase sk->sk_drops when dropping packets
    af8884055780 power: supply: ab8500: Call battery population once
    5a40048e60b2 Revert "drm/i915: Propagate errors on awaiting already signaled fences"
    15c8463df133 drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
    3cfdd7252e00 Linux 5.13.8
    d92d15c28841 octeontx2-af: Remove unnecessary devm_kfree
    187463c4a262 perf pmu: Fix alias matching
    5e1fc537c1be can: j1939: j1939_session_deactivate(): clarify lifetime of session object
    f27deb33bbdb i40e: Add additional info to PHY type error
    e95d994d2f8f io_uring: fix race in unified task_work running
    ee6d50cb1c23 Revert "perf map: Fix dso->nsinfo refcounting"
    9755a447ec42 powerpc/pseries: Fix regression while building external modules
    c73256979654 powerpc/vdso: Don't use r30 to avoid breaking Go lang
    52e9158959d2 SMB3: fix readpage for large swap cache
    19f60bf08ee3 bpf: Fix pointer arithmetic mask tightening under state pruning
    8595837e9df5 bpf: verifier: Allocate idmap scratch in verifier env
    738ab7d5e554 bpf: Remove superfluous aux sanitation on subprog rejection
    0b27bdf02c40 bpf: Fix leakage due to insufficient speculative store bypass mitigation
    ddab060f996e bpf: Introduce BPF nospec instruction for mitigating Spectre v4
    9ec54436991f can: hi311x: fix a signedness bug in hi3110_cmd()
    dda5c13325f1 sis900: Fix missing pci_disable_device() in probe and remove
    6cbc642e6f82 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
    c7d5458d5589 sctp: fix return value check in __sctp_rcv_asconf_lookup
    fc553003e361 block: delay freeing the gendisk
    926fa6598cdd net/mlx5: Fix mlx5_vport_tbl_attr chain from u16 to u32
    601c356d1e0a net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
    6b35ae3f6b42 net/mlx5: Unload device upon firmware fatal error
    9bf4345430b4 net/mlx5e: Fix page allocation failure for ptp-RQ over SF
    09f2d23a618e net/mlx5e: Fix page allocation failure for trap-RQ over SF
    e6eaea0980ee net/mlx5e: Add NETIF_F_HW_TC to hw_features when HTB offload is available
    b0ba8a145d8d net/mlx5e: RX, Avoid possible data corruption when relaxed ordering and LRO combined
    4d253ea99fba net/mlx5: E-Switch, handle devcom events only for ports on the same device
    0b26a4e2d5dd net/mlx5: E-Switch, Set destination vport vhca id only when merged eswitch is supported
    1dc7f1219c13 net/mlx5e: Disable Rx ntuple offload for uplink representor
    644c3c58ec77 net/mlx5: Fix flow table chaining
    951e41ddd214 bpf, sockmap: Zap ingress queues after stopping strparser
    0664f9acc5bf KVM: selftests: Fix missing break in dirty_log_perf_test arg parsing
    9e27f578a403 drm/msm/dp: Initialize the INTF_CONFIG register
    c122e9371bd6 drm/msm/dp: use dp_ctrl_off_link_stream during PHY compliance test run
    58389fac95fb drm/msm/dpu: Fix sm8250_mdp register length
    5e8c20b001e8 net: llc: fix skb_over_panic
    40e79954edce KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
    9eb2c41471e6 drm/i915/bios: Fix ports mask
    4689d61012a6 drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c
    7d93d6111d0e mlx4: Fix missing error code in mlx4_load_one()
    58b30f9e1a48 net: phy: broadcom: re-add check for PHY_BRCM_DIS_TXCRXC_NOENRGY on the BCM54811 PHY
    0379d6b0118a octeontx2-pf: Dont enable backpressure on LBK links
    4182c0d66639 octeontx2-pf: Fix interface down flag on error
    b8a071889fb3 tipc: do not write skb_shinfo frags when doing decrytion
    0e99b794c0bc can: mcp251xfd: mcp251xfd_irq(): stop timestamping worker in case error in IRQ
    d6892195dfbe ionic: count csum_none when offload enabled
    70da7c504236 ionic: fix up dim accounting for tx and rx
    e8927398faa1 ionic: remove intr coalesce update from napi
    b367a9a2cebe ionic: catch no ptp support earlier
    12e88273896d ionic: make all rx_mode work threadsafe
    2e618cf6db69 net: qrtr: fix memory leaks
    56a5e590b31e loop: reintroduce global lock for safe loop_validate_file() traversal
    fcc99d41954f net: dsa: mv88e6xxx: silently accept the deletion of VID 0 too
    a6964b4c65c7 net: Set true network header for ECN decapsulation
    7b3f85278d90 tipc: fix sleeping in tipc accept routine
    a73d03806166 tipc: fix implicit-connect for SYN+
    457202b9132f i40e: Fix log TC creation failure when max num of queues is exceeded
    a7ce70625f44 i40e: Fix queue-to-TC mapping on Tx
    644575296661 i40e: Fix firmware LLDP agent related warning
    79c71f5168c5 i40e: Fix logic of disabling queues
    367bec7665d1 netfilter: nft_nat: allow to specify layer 4 protocol NAT only
    62659ab3563a netfilter: conntrack: adjust stop timestamp to real expiry value
    525e6eb9258c mac80211: fix enabling 4-address mode on a sta vif after assoc
    13b8ab2f6f84 bpf: Fix OOB read when printing XDP link fdinfo
    467c905bb613 netfilter: nf_tables: fix audit memory leak in nf_tables_commit
    f7046443c8ac RDMA/rxe: Fix memory leak in error path code
    1544d2b86fa7 platform/x86: amd-pmc: Fix missing unlock on error in amd_pmc_send_cmd()
    d23677f3da7a platform/x86: amd-pmc: Fix SMU firmware reporting mechanism
    91f5c8fb6d8e platform/x86: amd-pmc: Fix command completion code
    7113367b2229 RDMA/bnxt_re: Fix stats counters
    d68acf353765 cfg80211: Fix possible memory leak in function cfg80211_bss_update
    a8d4169f924a io_uring: fix poll requests leaking second poll entries
    5db0ca0fbebf io_uring: don't block level reissue off completion path
    5bb49c88472f io_uring: fix io_prep_async_link locking
    ca324a215bf9 nfc: nfcsim: fix use after free during module unload
    caed0df2e52d blk-iocost: fix operation ordering in iocg_wake_fn()
    749abc8d274f drm/amdgpu: Fix resource leak on probe error path
    070f46bcf6b4 drm/amdgpu: Avoid printing of stack contents on firmware load error
    4e7961b3d5fd drm/amdgpu: Check pmops for desired suspend state
    0652b1eade53 drm/amd/display: ensure dentist display clock update finished in DCN20
    9c2cae70e3a0 NIU: fix incorrect error return, missed in previous revert
    633799ddcff4 net: stmmac: add est_irq_status callback function for GMAC 4.10 and 5.10
    fa1c5eff378f HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
    892ced352e05 alpha: register early reserved memory in memblock
    a63d311c966c can: esd_usb2: fix memory leak
    d23e7c014cc4 can: ems_usb: fix memory leak
    62365842aed3 can: usb_8dev: fix memory leak
    78673a83947b can: mcba_usb_start(): add missing urb->transfer_dma initialization
    87d268fe1bdb can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
    aec236c7147a can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
    ea9e6fc2bc5d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
    9293727af539 mm/memcg: fix NULL pointer dereference in memcg_slab_free_hook()
    87370a9d413a mm: memcontrol: fix blocking rstat function called from atomic cgroup1 thresholding code
    3df2bd9978b1 ocfs2: issue zeroout to EOF blocks
    c9302ab319ed ocfs2: fix zero out valid data
    a9f2d0884d70 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
    a80e3243e924 x86/kvm: fix vcpu-id indexed array sizes
    3c82e27986af ACPI: DPTF: Fix reading of attributes
    cf90e1c4ad57 Revert "ACPI: resources: Add checks for ACPI IRQ override"
    1d381aca0d9c btrfs: mark compressed range uptodate only if all bio succeed
    c543bced163b btrfs: fix rw device counting in __btrfs_free_extra_devids
    9e4417af187e btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
    89e34995bdd7 fs/ext2: Avoid page_address on pages returned by ext2_get_page
    f0aa1bc37e9a pipe: make pipe writes always wake up readers
    5a5aaf4177da selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c

(From OE-Core rev: 445892595e8af9296360de561c6bd7a0887ba5de)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
c4c03881c4 linux-yocto/5.10: update to v5.10.57
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    1cd6e30b83d7 Linux 5.10.57
    9c645a020bab spi: mediatek: Fix fifo transfer
    7254e2d9eb41 selftest/bpf: Verifier tests for var-off access
    30ea1c535291 bpf, selftests: Adjust few selftest outcomes wrt unreachable code
    98bf2906d3be bpf: Update selftests to reflect new error states
    360e5b7af653 bpf, selftests: Adjust few selftest result_unpriv outcomes
    5abcd138cbd8 selftest/bpf: Adjust expected verifier errors
    83bbf953f66c selftests/bpf: Add a test for ptr_to_map_value on stack for helper access
    e2b7a4ccbf7c Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    1b1a00b13c34 firmware: arm_scmi: Add delayed response status check
    93ef561406a7 firmware: arm_scmi: Ensure drivers provide a probe function
    1812895f17e1 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
    cae3fa3d8165 ACPI: fix NULL pointer dereference
    98b070694f45 drm/amd/display: Fix max vstartup calculation for modes with borders
    f9d875c8c92f drm/amd/display: Fix comparison error in dcn21 DML
    91865b458edd nvme: fix nvme_setup_command metadata trace event
    06a9092f6647 efi/mokvar: Reserve the table only if it is in boot services data
    27ff30c8b3f3 ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
    a00bcc5298be ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
    e8b287e78381 net: Fix zero-copy head len calculation.
    c6bdf7d97d5f ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
    74b53ee4b89e qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
    f6a2ff040b5c r8152: Fix potential PM refcount imbalance
    c98a7916cd37 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
    03258515c9eb spi: stm32h7: fix full duplex irq handler handling
    cfb8173a23cf regulator: rt5033: Fix n_voltages settings for BUCK and LDO
    81dc9a4868a9 regulator: rtmv20: Fix wrong mask for strobe-polarity-high
    9e55b9278c47 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
    e2419c570986 btrfs: fix race causing unnecessary inode logging during link and rename
    118b070bf415 Revert "drm/i915: Propagate errors on awaiting already signaled fences"
    6976f3cf34a1 drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
    9746c25334cb Linux 5.10.56
    55dd22c5d029 can: j1939: j1939_session_deactivate(): clarify lifetime of session object
    75ebe1d355b5 i40e: Add additional info to PHY type error
    2ca5ec188b20 Revert "perf map: Fix dso->nsinfo refcounting"
    c14cee5bc466 powerpc/pseries: Fix regression while building external modules
    bfc8e67c60b9 SMB3: fix readpage for large swap cache
    be561c0154dc bpf: Fix pointer arithmetic mask tightening under state pruning
    ffb9d5c48b4b bpf: verifier: Allocate idmap scratch in verifier env
    a11ca29c65c1 bpf: Remove superfluous aux sanitation on subprog rejection
    0e9280654aa4 bpf: Fix leakage due to insufficient speculative store bypass mitigation
    bea9e2fd1808 bpf: Introduce BPF nospec instruction for mitigating Spectre v4
    cd61e665a166 can: hi311x: fix a signedness bug in hi3110_cmd()
    65dfa6cb2233 sis900: Fix missing pci_disable_device() in probe and remove
    93e5bf4b2925 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
    58b8c812c764 sctp: fix return value check in __sctp_rcv_asconf_lookup
    362e9d23cf70 net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
    bd744f2a2755 net/mlx5: Fix flow table chaining
    1b148bd72e50 skmsg: Make sk_psock_destroy() static
    645a1d3bef5f drm/msm/dp: Initialize the INTF_CONFIG register
    4a6841921cc8 drm/msm/dpu: Fix sm8250_mdp register length
    e6097071a4ff net: llc: fix skb_over_panic
    01f3581d4400 KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
    f5f78ae5f1be mlx4: Fix missing error code in mlx4_load_one()
    51b751fc06b8 octeontx2-pf: Fix interface down flag on error
    4951ffa3fac8 tipc: do not write skb_shinfo frags when doing decrytion
    7eefa0b74f3e ionic: count csum_none when offload enabled
    60decbe01d7d ionic: fix up dim accounting for tx and rx
    a7c85a516cd0 ionic: remove intr coalesce update from napi
    6961323eed46 net: qrtr: fix memory leaks
    91350564ea8c net: Set true network header for ECN decapsulation
    a41282e82a1d tipc: fix sleeping in tipc accept routine
    10f585740cf0 tipc: fix implicit-connect for SYN+
    bb6061616211 i40e: Fix log TC creation failure when max num of queues is exceeded
    c1cc6bce1afd i40e: Fix queue-to-TC mapping on Tx
    4382cca17915 i40e: Fix firmware LLDP agent related warning
    e090ffdf0563 i40e: Fix logic of disabling queues
    cbc8012902b3 netfilter: nft_nat: allow to specify layer 4 protocol NAT only
    3dbda8483f42 netfilter: conntrack: adjust stop timestamp to real expiry value
    ac038f4152ef mac80211: fix enabling 4-address mode on a sta vif after assoc
    076bc6ebce48 bpf: Fix OOB read when printing XDP link fdinfo
    e6a06a13ec6f RDMA/bnxt_re: Fix stats counters
    c8667cb406fd cfg80211: Fix possible memory leak in function cfg80211_bss_update
    9ab284bc3530 nfc: nfcsim: fix use after free during module unload
    ea04a3b5727e blk-iocost: fix operation ordering in iocg_wake_fn()
    fc2756cce06f drm/amdgpu: Fix resource leak on probe error path
    ccc7a1bb322e drm/amdgpu: Avoid printing of stack contents on firmware load error
    63570e578094 drm/amd/display: ensure dentist display clock update finished in DCN20
    2eab387507fd NIU: fix incorrect error return, missed in previous revert
    cb71730a6312 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
    7bca5da00539 alpha: register early reserved memory in memblock
    30e19d072ea0 can: esd_usb2: fix memory leak
    88b40258162b can: ems_usb: fix memory leak
    f58ac91ff87d can: usb_8dev: fix memory leak
    a6ebfbdaca3d can: mcba_usb_start(): add missing urb->transfer_dma initialization
    2fc2c2816cb7 can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
    afe2ffd92061 can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
    a9c02d0e1513 can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
    da4f4916dab2 ocfs2: issue zeroout to EOF blocks
    943014593061 ocfs2: fix zero out valid data
    52acb6c147b3 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
    7d67d4ab28e3 x86/kvm: fix vcpu-id indexed array sizes
    2388c7674fbd ACPI: DPTF: Fix reading of attributes
    0d6afa25975e Revert "ACPI: resources: Add checks for ACPI IRQ override"
    0a421a2fc516 btrfs: mark compressed range uptodate only if all bio succeed
    4e1a57d75264 btrfs: fix rw device counting in __btrfs_free_extra_devids
    27aa7171fe2b pipe: make pipe writes always wake up readers
    02210a5e1894 x86/asm: Ensure asm/proto.h can be included stand-alone
    65b2658634fe io_uring: fix null-ptr-deref in io_sq_offload_start()
    e44d22fdf756 selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c

(From OE-Core rev: 6ab4c36223e62ad99efb76863a703c83fb6da324)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
6f8022b3c8 linux-yocto/5.4: update to v5.4.139
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    e350cd02e293 Linux 5.4.139
    03ff8a4f9db6 spi: mediatek: Fix fifo transfer
    a0f66ddf05c2 bpf, selftests: Adjust few selftest outcomes wrt unreachable code
    d3796e8f6b3d bpf, selftests: Add a verifier test for assigning 32bit reg states to 64bit ones
    8dec99abcd74 bpf: Test_verifier, add alu32 bounds tracking tests
    fd568de5806f bpf: Fix leakage under speculation on mispredicted branches
    d2f790327f83 bpf: Do not mark insn as seen under speculative path verification
    283d742988f6 bpf: Inherit expanded/patched seen count from old aux data
    a0a9546aaec3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    76f5314d7859 firmware: arm_scmi: Add delayed response status check
    1b38f70bbc7c firmware: arm_scmi: Ensure drivers provide a probe function
    44f522298c94 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
    38f54217b423 ACPI: fix NULL pointer dereference
    0ea2f55babb7 nvme: fix nvme_setup_command metadata trace event
    b508b652d4f3 net: Fix zero-copy head len calculation.
    bf692e7ef657 qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
    6bc48348eca7 r8152: Fix potential PM refcount imbalance
    a57c75ff0700 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
    e2cccb839a18 spi: stm32h7: fix full duplex irq handler handling
    b72f2d9e91e1 regulator: rt5033: Fix n_voltages settings for BUCK and LDO
    86f2a3e9aae9 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
    b7f0fa2192c5 btrfs: fix race causing unnecessary inode logging during link and rename
    cb006da62a9e btrfs: do not commit logs and transactions during link and rename operations
    174c27d0f9ef btrfs: delete duplicated words + other fixes in comments
    7b90d57b09fa Linux 5.4.138
    7eef18c0479b can: j1939: j1939_session_deactivate(): clarify lifetime of session object
    18b536de3b97 i40e: Add additional info to PHY type error
    d21eb931109a Revert "perf map: Fix dso->nsinfo refcounting"
    16447b2f5c66 powerpc/pseries: Fix regression while building external modules
    265883d1d839 PCI: mvebu: Setup BAR0 in order to fix MSI
    21734a31c9a0 can: hi311x: fix a signedness bug in hi3110_cmd()
    f4fa45b0f91e sis900: Fix missing pci_disable_device() in probe and remove
    dff00ce44891 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
    e0310bbeaaa2 sctp: fix return value check in __sctp_rcv_asconf_lookup
    408614108abd net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
    ac4983230616 net/mlx5: Fix flow table chaining
    527feae56fe6 net: llc: fix skb_over_panic
    ede4c93860e6 mlx4: Fix missing error code in mlx4_load_one()
    acb97d4b2d0e net: Set true network header for ECN decapsulation
    851946a68136 tipc: fix sleeping in tipc accept routine
    194b71d28b26 i40e: Fix log TC creation failure when max num of queues is exceeded
    834af62212c7 i40e: Fix queue-to-TC mapping on Tx
    74aea4b7159a i40e: Fix firmware LLDP agent related warning
    b2ab34e862eb i40e: Fix logic of disabling queues
    519582e44e6a netfilter: nft_nat: allow to specify layer 4 protocol NAT only
    3a7a4cee7bec netfilter: conntrack: adjust stop timestamp to real expiry value
    1c043783403c cfg80211: Fix possible memory leak in function cfg80211_bss_update
    6cf2abea1018 nfc: nfcsim: fix use after free during module unload
    6b313d0ffa71 NIU: fix incorrect error return, missed in previous revert
    c4663c162778 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
    e9e2ce00aeda can: esd_usb2: fix memory leak
    43726620b2f6 can: ems_usb: fix memory leak
    819867389276 can: usb_8dev: fix memory leak
    a051dbd17b5b can: mcba_usb_start(): add missing urb->transfer_dma initialization
    793581441b5c can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
    c621638d0e6d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
    a24d87b429a9 ocfs2: issue zeroout to EOF blocks
    eaaa4284e288 ocfs2: fix zero out valid data
    9bd1092148b5 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
    7a94dfe5e2a0 x86/kvm: fix vcpu-id indexed array sizes
    2dc291582cce Revert "ACPI: resources: Add checks for ACPI IRQ override"
    a8eec6979734 btrfs: mark compressed range uptodate only if all bio succeed
    57429c1ec770 btrfs: fix rw device counting in __btrfs_free_extra_devids
    61f2cbc792eb x86/asm: Ensure asm/proto.h can be included stand-alone
    99372c38a948 net_sched: check error pointer in tcf_dump_walker()

(From OE-Core rev: d5455d9e201e324b7cf7bb19381bfebb0e892312)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
65df8f29a2 linux-yocto/5.10: update to v5.10.55
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    11fe69a17195 Linux 5.10.55
    984e93b8e207 ipv6: ip6_finish_output2: set sk into newly allocated nskb
    a74054ca7553 ARM: dts: versatile: Fix up interrupt controller node names
    3510b9b41c70 iomap: remove the length variable in iomap_seek_hole
    8659186e72d0 iomap: remove the length variable in iomap_seek_data
    65039407489c cifs: fix the out of range assignment to bit fields in parse_server_interfaces
    fe5fe0b1c8b9 firmware: arm_scmi: Fix range check for the maximum number of pending messages
    8f8e5475a369 firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
    d01328fef6af hfs: add lock nesting notation to hfs_find_init
    06b3d9923fa0 hfs: fix high memory mapping in hfs_bnode_read
    680b2917e60e hfs: add missing clean-up in hfs_fill_super
    5c3d753b872a drm/ttm: add a check against null pointer dereference
    2323690eb058 ipv6: allocate enough headroom in ip6_finish_output2()
    86cb49e7314e rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()
    55ddab2bfd70 rcu-tasks: Don't delete holdouts within trc_inspect_reader()
    4d972881f8d8 sctp: move 198 addresses from unusable to private scope
    915226f31fd4 net: annotate data race around sk_ll_usec
    92289f58f01d net/802/garp: fix memleak in garp_request_join()
    5d93810761b4 net/802/mrp: fix memleak in mrp_request_join()
    df34f888628e cgroup1: fix leaked context root causing sporadic NULL deref in LTP
    dcd00801f3d9 workqueue: fix UAF in pwq_unbound_release_workfn()
    93c5951e0ce1 af_unix: fix garbage collect vs MSG_PEEK
    dee8119eaa9e KVM: x86: determine if an exception has an error code only when injecting it.
    6f5d7a45f58d io_uring: fix link timeout refs
    475312897ea6 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
    08277b9dde63 Linux 5.10.54
    c9f8e17990e0 skbuff: Fix build with SKB extensions disabled
    ba28765d338a xhci: add xhci_get_virt_ep() helper
    624290f368af sfc: ensure correct number of XDP queues
    1df4fe5a8871 drm/i915/gvt: Clear d3_entered on elsp cmd submission.
    c938e65768e0 usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
    25af91a806d2 perf inject: Close inject.output on exit
    fb35426d123e Documentation: Fix intiramfs script name
    570341f10ecc skbuff: Release nfct refcount on napi stolen or re-used skbs
    31828ffdab19 bonding: fix build issue
    c9d97b7bb897 PCI: Mark AMD Navi14 GPU ATS as broken
    f7ee361182e0 net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
    30f1d4d03641 net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
    fc31b5be1383 drm/amdgpu: update golden setting for sienna_cichlid
    69a603aa170e drm: Return -ENOTTY for non-drm ioctls
    2831eeb7bc3d driver core: Prevent warning when removing a device link from unregistered consumer
    0e759383236a nds32: fix up stack guard gap
    7497f4c91da3 misc: eeprom: at24: Always append device id even if label property is set.
    8571daace5a6 rbd: always kick acquire on "acquired" and "released" notifications
    2f3731de5e69 rbd: don't hold lock_rwsem while running_list is being drained
    92291fa2d144 hugetlbfs: fix mount mode command line processing
    1a25c5738d0c memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
    0b591c020d28 userfaultfd: do not untag user pointers
    fca5343b4892 io_uring: remove double poll entry on arm failure
    9eef9029151c io_uring: explicitly count entries for poll reqs
    1077e2b15283 selftest: use mmap instead of posix_memalign to allocate memory
    6e81e2c38a38 posix-cpu-timers: Fix rearm racing against process tick
    3efec3b4b16f bus: mhi: core: Validate channel ID when processing command completions
    b3f3a58a86c4 ixgbe: Fix packet corruption due to missing DMA sync
    e991457afdcb media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
    755971dc7ee8 btrfs: check for missing device in btrfs_trim_fs
    552b053f1a53 tracing: Synthetic event field_pos is an index not a boolean
    757bdba8026b tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
    a5e1aff58943 tracing/histogram: Rename "cpu" to "common_cpu"
    0edad8b9f65d tracepoints: Update static_call before tp_funcs when adding a tracepoint
    4ed4074c6c6c firmware/efi: Tell memblock about EFI iomem reservations
    647e26b03ee9 usb: typec: stusb160x: register role switch before interrupt registration
    a206167bd638 usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
    f2c04f6b21ef usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
    7073acb51a3b usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
    1bf7371b9004 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
    45c87a94336f USB: serial: cp210x: fix comments for GE CS1000
    f528521c1574 USB: serial: option: add support for u-blox LARA-R6 family
    311fd7f7f186 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
    7af54a4e221e usb: max-3421: Prevent corruption of freed memory
    69da81a96442 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
    e6343aab3ee7 usb: hub: Fix link power management max exit latency (MEL) calculations
    8f087b4cf1a3 usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
    709137c85327 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
    c1fbdf0f3c26 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
    e3eb672c169d xhci: Fix lost USB 2 remote wake
    02e2e96ba56c usb: xhci: avoid renesas_usb_fw.mem when it's unusable
    9e9cf23b77d4 Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
    ebaa67086fae ALSA: pcm: Fix mmap capability check
    431e31105579 ALSA: pcm: Call substream ack() method upon compat mmap commit
    3c9afa23f3fc ALSA: hdmi: Expose all pins on MSI MS-7C94 board
    253759df8082 ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
    2b3cdf581993 ALSA: sb: Fix potential ABBA deadlock in CSP driver
    5858c8a46421 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
    2de518548de1 ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
    37a88b41dc29 s390/boot: fix use of expolines in the DMA code
    d1ab96288061 s390/ftrace: fix ftrace_update_ftrace_func implementation
    3b4009b49634 mmc: core: Don't allocate IDA for OF aliases
    fc6ac92cfcab proc: Avoid mixing integer types in mem_rw()
    76f7eae7ec80 cifs: fix fallocate when trying to allocate a hole.
    c26372b8a8c3 cifs: only write 64kb at a time when fallocating a small region of a file
    b91e5b63470d drm/panel: raspberrypi-touchscreen: Prevent double-free
    9e0373945ed6 net: sched: cls_api: Fix the the wrong parameter
    c8ebf135c199 net: dsa: sja1105: make VID 4095 a bridge VLAN too
    164294d09c47 tcp: disable TFO blackhole logic by default
    8eb225873246 sctp: update active_key for asoc when old key is being replaced
    ef799bd8ff5a nvme: set the PRACT bit when using Write Zeroes with T10 PI
    7850f03ed814 r8169: Avoid duplicate sysfs entry creation error
    0f5dc3971473 afs: Fix tracepoint string placement with built-in AFS
    711057846aa7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
    8985dc2cabd6 nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
    fb28b1592098 ceph: don't WARN if we're still opening a session to an MDS
    ce8fafb68051 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
    071729150be9 net/sched: act_skbmod: Skip non-Ethernet packets
    ee36bb471389 spi: spi-bcm2835: Fix deadlock
    432738c9740c net: hns3: fix rx VLAN offload state inconsistent issue
    3e903e0b578b net: hns3: fix possible mismatches resp of mailbox
    f4305375f031 ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
    41a839437a07 net/tcp_fastopen: fix data races around tfo_active_disable_stamp
    ba3336397677 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
    320dcbdec4c6 bnxt_en: Check abort error state in bnxt_half_open_nic()
    134a0536f0a4 bnxt_en: Validate vlan protocol ID on RX packets
    4f7da0f97beb bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
    927370485e98 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
    ab830c3bae19 bnxt_en: don't disable an already disabled PCI device
    26463689445d ACPI: Kconfig: Fix table override from built-in initrd
    113ce8c5043a spi: cadence: Correct initialisation of runtime PM again
    3ea448b62b49 scsi: target: Fix protect handling in WRITE SAME(32)
    b82a1a26aaee scsi: iscsi: Fix iface sysfs attr detection
    6811744bd0ef netrom: Decrease sock refcount when sock timers expire
    096a8dca8ca5 sctp: trim optlen when it's a huge value in sctp_setsockopt
    8e9662fde6d6 net: sched: fix memory leak in tcindex_partial_destroy_work
    e14ef1095387 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
    fcbad8e18d31 KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
    30b830215158 net: decnet: Fix sleeping inside in af_decnet
    d402c60da0fd efi/tpm: Differentiate missing and invalid final event log table.
    898376690310 dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
    115e4f5b64ae usb: hso: fix error handling code of hso_create_net_device
    1582a02fecff net: fix uninit-value in caif_seqpkt_sendmsg
    2fc8048265ce bpftool: Check malloc return value in mount_bpffs_for_pin
    3b5b0afd8d97 bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
    c260442431b4 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
    715f378f4290 bpf, sockmap: Fix potential memory leak on unlikely error case
    e3a9548ae538 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
    9264bebe9ef9 liquidio: Fix unintentional sign extension issue on left shift of u16
    0ff2ea9d8fa3 timers: Fix get_next_timer_interrupt() with no timers pending
    ca9ba1de8f09 xdp, net: Fix use-after-free in bpf_xdp_link_release
    39f1735c8107 bpf: Fix tail_call_reachable rejection for interpreter when jit failed
    2b4046e64f7d bpf, test: fix NULL pointer dereference on invalid expected_attach_type
    3dba72d1fc01 ASoC: rt5631: Fix regcache sync errors on resume
    2435dcfd16ac spi: mediatek: fix fifo rx mode
    a9a85bfedd83 regulator: hi6421: Fix getting wrong drvdata
    5cdc986aad95 regulator: hi6421: Use correct variable type for regmap api val argument
    23811b75fdb8 spi: stm32: fixes pm_runtime calls in probe/remove
    844ab04b62a5 spi: imx: add a check for speed_hz before calculating the clock
    3b6c430d1248 ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
    57efe4f82a76 perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
    61f2e1e79578 perf data: Close all files in close_dir()
    7c91e0ce2601 perf probe-file: Delete namelist in del_events() on the error path
    a6c32317cd3d perf lzma: Close lzma stream on exit
    2ae8f40a8fdf perf script: Fix memory 'threads' and 'cpus' leaks on exit
    51077d315a46 perf report: Free generated help strings for sort option
    2bfa3c53ea8a perf env: Fix memory leak of cpu_pmu_caps
    a2f0da3af614 perf test maps__merge_in: Fix memory leak of maps
    b7bfd8aeb956 perf dso: Fix memory leak in dso__new_map()
    c9c101da3e83 perf test event_update: Fix memory leak of evlist
    b768db7f8070 perf test session_topology: Delete session->evlist
    b8892d16a928 perf env: Fix sibling_dies memory leak
    306411a8bf75 perf probe: Fix dso->nsinfo refcounting
    f21987d7bb58 perf map: Fix dso->nsinfo refcounting
    7337ff2093e0 perf inject: Fix dso->nsinfo refcounting
    a87d42ae7f5d KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
    b990585f9b7a nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
    0fa11e1a20c7 mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
    3714e0bb0dcf cxgb4: fix IRQ free race during driver unload
    d92337bf54f2 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
    f1edbcc47f46 selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
    906bbb18db78 selftests: icmp_redirect: remove from checking for IPv6 route get
    bb737eceb9a4 stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
    79ec7b5b2f4f ipv6: fix 'disable_policy' for fwd packets
    35eaefb44ed7 bonding: fix incorrect return value of bond_ipsec_offload_ok()
    13626bad63e8 bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
    56ccdf868ab6 bonding: Add struct bond_ipesc to manage SA
    b3bd1f5e5037 bonding: disallow setting nested bonding + ipsec offload
    43511a6a164a bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
    6ca0e55a1310 ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    ba7bfcdff1ad bonding: fix null dereference in bond_ipsec_add_sa()
    3ae639af3626 bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
    4a31baf55f6a net: add kcov handle to skb extensions
    78e4baff950d gve: Fix an error handling path in 'gve_probe()'
    813449fb85f6 igb: Fix position of assignment to *ring
    44171801d39c igb: Check if num of q_vectors is smaller than max before array access
    cb9292445d23 iavf: Fix an error handling path in 'iavf_probe()'
    a6756d637b40 e1000e: Fix an error handling path in 'e1000_probe()'
    dea695a2ee23 fm10k: Fix an error handling path in 'fm10k_probe()'
    a099192fe7e1 igb: Fix an error handling path in 'igb_probe()'
    db4c32c1b926 igc: Fix an error handling path in 'igc_probe()'
    7bc9fb1f8019 ixgbe: Fix an error handling path in 'ixgbe_probe()'
    02d1af0bee65 igc: change default return of igc_read_phy_reg()
    f153664d8e70 igb: Fix use-after-free error during reset
    e15f629036ba igc: Fix use-after-free error during reset

(From OE-Core rev: 9a56f6566208517e458e5279992abe9664c4ae67)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
4fbdad2ca4 linux-yocto/5.4: update to v5.4.137
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    5b1de8e15f0f Linux 5.4.137
    ebb1b38be0c9 ipv6: ip6_finish_output2: set sk into newly allocated nskb
    6c04123962f0 ARM: dts: versatile: Fix up interrupt controller node names
    befa900533a9 iomap: remove the length variable in iomap_seek_hole
    83fb41b2f6e4 iomap: remove the length variable in iomap_seek_data
    302e1acd4c26 cifs: fix the out of range assignment to bit fields in parse_server_interfaces
    02a470e3c64a firmware: arm_scmi: Fix range check for the maximum number of pending messages
    289dd584319f firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
    e3acb292f092 hfs: add lock nesting notation to hfs_find_init
    af1178296d77 hfs: fix high memory mapping in hfs_bnode_read
    89136a47e2e7 hfs: add missing clean-up in hfs_fill_super
    ded37d03440d ipv6: allocate enough headroom in ip6_finish_output2()
    f65b7f377cca sctp: move 198 addresses from unusable to private scope
    c8d32973ee6a net: annotate data race around sk_ll_usec
    c23b9a5610f9 net/802/garp: fix memleak in garp_request_join()
    88c4cae3ed25 net/802/mrp: fix memleak in mrp_request_join()
    eef99860c677 cgroup1: fix leaked context root causing sporadic NULL deref in LTP
    7f0365b4daaa workqueue: fix UAF in pwq_unbound_release_workfn()
    85abe0d47fe6 af_unix: fix garbage collect vs MSG_PEEK
    af45f3527aa0 KVM: x86: determine if an exception has an error code only when injecting it.
    828cab3c8c23 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
    525c5513b60d selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c
    253dccefb5cb Linux 5.4.136
    587f86b7a2a0 xhci: add xhci_get_virt_ep() helper
    f9d0c35556cd perf inject: Close inject.output on exit
    a9c103fa91e4 PCI: Mark AMD Navi14 GPU ATS as broken
    11561d2f7b9d btrfs: compression: don't try to compress if we don't have enough pages
    4980301e1c1f iio: accel: bma180: Fix BMA25x bandwidth register values
    d04f2582c47e iio: accel: bma180: Use explicit member assignment
    4e0afa88954b net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
    2a4865d1547e net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
    7d8c06b8d2d2 drm: Return -ENOTTY for non-drm ioctls
    b5d7bebd96a3 nds32: fix up stack guard gap
    ba378b796088 rbd: always kick acquire on "acquired" and "released" notifications
    13066d6628f0 rbd: don't hold lock_rwsem while running_list is being drained
    b12ead825f6c hugetlbfs: fix mount mode command line processing
    60dbbd76f110 userfaultfd: do not untag user pointers
    540eee8cbb3d selftest: use mmap instead of posix_memalign to allocate memory
    e706ac3fc82e ixgbe: Fix packet corruption due to missing DMA sync
    e617fa62f6cf media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
    77713fb336ca btrfs: check for missing device in btrfs_trim_fs
    f899f24d34d9 tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
    59a9f75fb2b6 tracing/histogram: Rename "cpu" to "common_cpu"
    379d8da3353e firmware/efi: Tell memblock about EFI iomem reservations
    281a94362bbe usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
    167079fbfaa7 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
    811c4cdf2917 USB: serial: cp210x: fix comments for GE CS1000
    f54ee7e16d0d USB: serial: option: add support for u-blox LARA-R6 family
    e28d28eb9be6 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
    863d071dbcd5 usb: max-3421: Prevent corruption of freed memory
    e4077a90e600 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
    da6f6769ee0f usb: hub: Fix link power management max exit latency (MEL) calculations
    fea6b53e631a usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
    962ce043ef92 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
    2b9ffddd70b4 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
    c968f563ccde xhci: Fix lost USB 2 remote wake
    a660ecde5c55 ALSA: hdmi: Expose all pins on MSI MS-7C94 board
    f73696354d59 ALSA: sb: Fix potential ABBA deadlock in CSP driver
    7aa2dfbc6bd0 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
    46d62c3fe2ab ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
    f1754f96ab41 s390/boot: fix use of expolines in the DMA code
    8eb521d19248 s390/ftrace: fix ftrace_update_ftrace_func implementation
    268132b070d9 Revert "MIPS: add PMD table accounting into MIPS'pmd_alloc_one"
    f323809e3108 proc: Avoid mixing integer types in mem_rw()
    b71a75209f6a drm/panel: raspberrypi-touchscreen: Prevent double-free
    2e6ab87f8e63 net: sched: cls_api: Fix the the wrong parameter
    b60461696a0b sctp: update active_key for asoc when old key is being replaced
    9fa89c2caee2 nvme: set the PRACT bit when using Write Zeroes with T10 PI
    c50141b3d769 r8169: Avoid duplicate sysfs entry creation error
    f726817d6b42 afs: Fix tracepoint string placement with built-in AFS
    b22c9e433bb7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
    69a49e7b5baf nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
    830251361425 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
    a88414fb1117 net/sched: act_skbmod: Skip non-Ethernet packets
    c278b954ccc7 net: hns3: fix rx VLAN offload state inconsistent issue
    006ed6f4d00b net/tcp_fastopen: fix data races around tfo_active_disable_stamp
    3942ba235693 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
    f11f12decd55 bnxt_en: Check abort error state in bnxt_half_open_nic()
    16ce6cb78690 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
    c993e7aadc50 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
    6ee8e6be3067 bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence.
    35637acc9810 spi: cadence: Correct initialisation of runtime PM again
    2f2150bf41c1 scsi: target: Fix protect handling in WRITE SAME(32)
    a6cb717f8534 scsi: iscsi: Fix iface sysfs attr detection
    25df44e90ff5 netrom: Decrease sock refcount when sock timers expire
    8d7924ce85ba net: sched: fix memory leak in tcindex_partial_destroy_work
    f38527f18905 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
    b85dadd4347b KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
    b3224bd31861 net: decnet: Fix sleeping inside in af_decnet
    bd2b3b13aa2a efi/tpm: Differentiate missing and invalid final event log table.
    9413c0abb57f net: fix uninit-value in caif_seqpkt_sendmsg
    6d56299ff911 bpftool: Check malloc return value in mount_bpffs_for_pin
    edec10098675 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
    58259e8b6e85 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
    cc876a5618bc liquidio: Fix unintentional sign extension issue on left shift of u16
    42fe8f433b31 ASoC: rt5631: Fix regcache sync errors on resume
    d99aaf07365f spi: mediatek: fix fifo rx mode
    08cdda8d8972 regulator: hi6421: Fix getting wrong drvdata
    b25be6bf6419 regulator: hi6421: Use correct variable type for regmap api val argument
    a1ade24cccb5 spi: stm32: fixes pm_runtime calls in probe/remove
    40e203ce74eb spi: stm32: Use dma_request_chan() instead dma_request_slave_channel()
    24b78097a837 spi: imx: add a check for speed_hz before calculating the clock
    52cff6123aa0 perf data: Close all files in close_dir()
    0f63857d1099 perf probe-file: Delete namelist in del_events() on the error path
    8b92ea243bbf perf lzma: Close lzma stream on exit
    51351c6d5a18 perf script: Fix memory 'threads' and 'cpus' leaks on exit
    d2bfc3eda914 perf dso: Fix memory leak in dso__new_map()
    05804a7d223d perf test event_update: Fix memory leak of evlist
    d257f3abdc71 perf test session_topology: Delete session->evlist
    89d1762a4a21 perf env: Fix sibling_dies memory leak
    fd335143befb perf probe: Fix dso->nsinfo refcounting
    6513dee46f80 perf map: Fix dso->nsinfo refcounting
    ff9fc81fa884 nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
    d029df83c61a cxgb4: fix IRQ free race during driver unload
    ae9b64434441 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
    a37ca2a076ec selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
    05364a2794fb selftests: icmp_redirect: remove from checking for IPv6 route get
    7f4848229e91 ipv6: fix 'disable_policy' for fwd packets
    c67fb96f5431 gve: Fix an error handling path in 'gve_probe()'
    e33da4eeaa35 igb: Fix position of assignment to *ring
    7dd897773618 igb: Check if num of q_vectors is smaller than max before array access
    d3d7cceee841 iavf: Fix an error handling path in 'iavf_probe()'
    7a13a8a8a5fb e1000e: Fix an error handling path in 'e1000_probe()'
    9fc381db7583 fm10k: Fix an error handling path in 'fm10k_probe()'
    5d6a04927b08 igb: Fix an error handling path in 'igb_probe()'
    cddd53237de8 igc: Fix an error handling path in 'igc_probe()'
    47f69d8828e7 igc: Prefer to use the pci_release_mem_regions method
    83b2d55a512a ixgbe: Fix an error handling path in 'ixgbe_probe()'
    ba4fbb68fcfe igc: change default return of igc_read_phy_reg()
    88e0720133d4 igb: Fix use-after-free error during reset
    a9508e0edfe3 igc: Fix use-after-free error during reset

(From OE-Core rev: d308f120891e23c34fa8ae38a7e87aa3810518ae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
22406f9104 linux-yocto/5.13: update to v5.13.7
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f17352f54186 Linux 5.13.7
    f2cd12e7fd48 ipv6: ip6_finish_output2: set sk into newly allocated nskb
    0f448675132a ARM: dts: versatile: Fix up interrupt controller node names
    0ad0e62e74ce iomap: remove the length variable in iomap_seek_hole
    521168b44c08 iomap: remove the length variable in iomap_seek_data
    84342d6983f2 cifs: fix the out of range assignment to bit fields in parse_server_interfaces
    a46f1f66cfcb firmware: arm_scmi: Fix range check for the maximum number of pending messages
    ec67007e7406 firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
    ca03de06def9 hfs: add lock nesting notation to hfs_find_init
    8a2d2974d002 hfs: fix high memory mapping in hfs_bnode_read
    c2820b902115 hfs: add missing clean-up in hfs_fill_super
    37ac00a0d358 drm/ttm: add a check against null pointer dereference
    f11bec89ad63 nvme-pci: fix multiple races in nvme_setup_io_queues
    b34c668a867f ipv6: allocate enough headroom in ip6_finish_output2()
    3ba36f82d50d rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()
    1dccf9d5a724 rcu-tasks: Don't delete holdouts within trc_inspect_reader()
    83af97f61527 sctp: move 198 addresses from unusable to private scope
    7fd4d15f11b3 net: annotate data race around sk_ll_usec
    18f12f741d09 net/802/garp: fix memleak in garp_request_join()
    7184851762b3 net/802/mrp: fix memleak in mrp_request_join()
    141cf6c82b4f cgroup1: fix leaked context root causing sporadic NULL deref in LTP
    c294c83fb614 workqueue: fix UAF in pwq_unbound_release_workfn()
    72d0df0831ff af_unix: fix garbage collect vs MSG_PEEK
    6fdb13a7e573 Linux 5.13.6
    2db604ff60dd skbuff: Fix build with SKB extensions disabled
    429826249d80 sfc: ensure correct number of XDP queues
    b1ea64337fde spi: spi-cadence-quadspi: Fix division by zero warning - try2
    c4443564f8f6 drm/i915/gvt: Clear d3_entered on elsp cmd submission.
    9bad2eae08e2 perf inject: Close inject.output on exit
    5cf3d397fcf6 arm64: entry: fix KCOV suppression
    12b439933302 Documentation: Fix intiramfs script name
    337deea6460d ARM: multi_v7_defconfig: Make NOP_USB_XCEIV driver built-in
    a5fd9d3d35bc skbuff: Release nfct refcount on napi stolen or re-used skbs
    8f738d2d51cf mptcp: fix 'masking a bool' warning
    ecc9318db5ff bonding: fix build issue
    da510a38cb60 spi: spi-cadence-quadspi: Revert "Fix division by zero warning"
    bc93e9909cc8 drm/amdgpu: update golden setting for sienna_cichlid
    52ee22ce8af2 drm/amdgpu: update the golden setting for vangogh
    72097f7beefd drm/amdgpu: update gc golden setting for dimgrey_cavefish
    75ab00b813e4 drm: Return -ENOTTY for non-drm ioctls
    c9d31f7d17e4 driver core: Prevent warning when removing a device link from unregistered consumer
    9d06d3d2a16d nds32: fix up stack guard gap
    7544d21b4014 misc: eeprom: at24: Always append device id even if label property is set.
    6ef92931cc5b rbd: always kick acquire on "acquired" and "released" notifications
    8b334d74fbbd rbd: don't hold lock_rwsem while running_list is being drained
    79da14fac0b5 hugetlbfs: fix mount mode command line processing
    4861f6d3b90f mm: fix the deadlock in finish_fault()
    5d4b4d2e3c8d memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
    0e88a5bee0f5 mm: page_alloc: fix page_poison=1 / INIT_ON_ALLOC_DEFAULT_ON interaction
    ee791f0bba88 mm: call flush_dcache_page() in memcpy_to_page() and memzero_page()
    5040926bc22d kfence: skip all GFP_ZONEMASK allocations
    e9adaed2f126 kfence: move the size check to the beginning of __kfence_alloc()
    60e7f63de337 userfaultfd: do not untag user pointers
    a6ead78130ad io_uring: fix early fdput() of file
    81cebadedc37 io_uring: remove double poll entry on arm failure
    0d80ae099a49 io_uring: explicitly count entries for poll reqs
    2f13b6fece9a selftest: use mmap instead of posix_memalign to allocate memory
    fae0c4bb0366 posix-cpu-timers: Fix rearm racing against process tick
    52db60a983d2 bus: mhi: pci_generic: Fix inbound IPCR channel
    aed4f5b51aba bus: mhi: core: Validate channel ID when processing command completions
    a88270680663 bus: mhi: pci_generic: Apply no-op for wake using sideband wake boolean
    ce5b3de58fc2 driver core: auxiliary bus: Fix memory leak when driver_register() fail
    423123e428a1 ixgbe: Fix packet corruption due to missing DMA sync
    b9a178f189bb media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
    f5ef2fe05d38 btrfs: fix lock inversion problem when doing qgroup extent tracing
    6f919907e92e btrfs: fix unpersisted i_size on fsync after expanding truncate
    a02b54480573 btrfs: check for missing device in btrfs_trim_fs
    020d8ceab341 tracing: Synthetic event field_pos is an index not a boolean
    917a5bdd114a tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
    29ecaddb8655 tracing/histogram: Rename "cpu" to "common_cpu"
    58f47cfe5210 tracepoints: Update static_call before tp_funcs when adding a tracepoint
    0ea2fd39f119 firmware/efi: Tell memblock about EFI iomem reservations
    68a4037d5dd0 usb: typec: stusb160x: Don't block probing of consumer of "connector" nodes
    eeb18490e8f4 usb: typec: stusb160x: register role switch before interrupt registration
    703527bf8391 usb: typec: tipd: Don't block probing of consumer of "connector" nodes
    61c129211a3d usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
    bd062872040b usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
    36b53430c97f usb: dwc2: Skip clock gating on Samsung SoCs
    b85e8638ba15 usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
    7138b108ecdb USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
    f1a01c2b4628 USB: serial: cp210x: fix comments for GE CS1000
    8a55cb17e401 USB: serial: option: add support for u-blox LARA-R6 family
    c9d143a3d8aa usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
    d4179cdb769a usb: max-3421: Prevent corruption of freed memory
    3b5d8c72ffd5 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
    9499b2d2cc60 usb: hub: Fix link power management max exit latency (MEL) calculations
    c7affd5b0226 usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
    1408e47ab233 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
    35e114e6f84a KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
    3d98808e2414 usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
    2c476bab2818 xhci: Fix lost USB 2 remote wake
    6c15cef90a45 usb: xhci: avoid renesas_usb_fw.mem when it's unusable
    62b022edb187 Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
    0def8cf06098 ALSA: pcm: Fix mmap capability check
    7ca1bb5bace3 ALSA: pcm: Call substream ack() method upon compat mmap commit
    7810cd82b1ad ALSA: hdmi: Expose all pins on MSI MS-7C94 board
    7b75c0f0a668 ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
    ac8ea355df6d ALSA: sb: Fix potential ABBA deadlock in CSP driver
    ecdaa9716666 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
    498129dedee0 ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
    ca4c5e5c7beb s390/boot: fix use of expolines in the DMA code
    fde6627ce6dc s390/ftrace: fix ftrace_update_ftrace_func implementation
    93af4d65538c mmc: core: Don't allocate IDA for OF aliases
    025b6262dc96 io_uring: Fix race condition when sqp thread goes to sleep
    ccf23a088807 ACPI: fix NULL pointer dereference
    343b467acb55 proc: Avoid mixing integer types in mem_rw()
    11b40c8a67fe cifs: fix fallocate when trying to allocate a hole.
    a803678bd60e cifs: only write 64kb at a time when fallocating a small region of a file
    ea826bd778f5 dpaa2-switch: seed the buffer pool after allocating the swp
    a0f2f2bf424d drm/panel: raspberrypi-touchscreen: Prevent double-free
    6cd7bb123703 net: sched: cls_api: Fix the the wrong parameter
    c95f925b0c7e RISC-V: load initrd wherever it fits into memory
    0bc325702d70 net: dsa: sja1105: make VID 4095 a bridge VLAN too
    ec7be4fdd8e1 tcp: disable TFO blackhole logic by default
    ad9bfbe97bde riscv: Fix 32-bit RISC-V boot failure
    fecd81c2e62f ibmvnic: Remove the proper scrq flush
    fee8c811ab34 udp: check encap socket in __udp_lib_err
    c1de376423a7 sctp: update active_key for asoc when old key is being replaced
    65bd5af10d02 nvme: set the PRACT bit when using Write Zeroes with T10 PI
    bc08be0ed085 r8169: Avoid duplicate sysfs entry creation error
    2131ea612692 afs: Fix setting of writeback_index
    8dda575c8912 afs: check function return
    3d888afffcf3 afs: Fix tracepoint string placement with built-in AFS
    6bd6db23b44d Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
    de3a841649ae nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
    a521c15683c1 drm/ttm: Force re-init if ttm_global_init() fails
    e7732c5a19a1 scsi: target: Fix NULL dereference on XCOPY completion
    2ed13e8f7829 i2c: mpc: Poll for MCF
    a706c12da916 ceph: don't WARN if we're still opening a session to an MDS
    115784bcccf1 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
    34f1e1f657fa net/sched: act_skbmod: Skip non-Ethernet packets
    502731a03f27 io_uring: fix memleak in io_init_wq_offload()
    23c492a50418 spi: spi-bcm2835: Fix deadlock
    140e0dbad4cf net: hns3: fix rx VLAN offload state inconsistent issue
    1e3b38761394 net: hns3: fix possible mismatches resp of mailbox
    e52445629c2e ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
    ce9f267d9e8a net/tcp_fastopen: fix data races around tfo_active_disable_stamp
    b9d21b9b46bd net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
    a24886feddba bnxt_en: Check abort error state in bnxt_half_open_nic()
    c2ed50ff29f8 bnxt_en: Validate vlan protocol ID on RX packets
    a1a54e07e63c bnxt_en: fix error path of FW reset
    c8c2eed44e41 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
    4564b85633b2 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
    52b6ad30a026 bnxt_en: don't disable an already disabled PCI device
    8ac2e2d69b35 ACPI: utils: Fix reference counting in for_each_acpi_dev_match()
    587c2751068a efi/dev-path-parser: Switch to use for_each_acpi_dev_match()
    4657af6770c0 ACPI: Kconfig: Fix table override from built-in initrd
    24376facf2fd spi: cadence: Correct initialisation of runtime PM again
    6128d746d705 scsi: target: Fix protect handling in WRITE SAME(32)
    868ffb5f290f scsi: iscsi: Fix iface sysfs attr detection
    bc1660206c37 netrom: Decrease sock refcount when sock timers expire
    c9437655302c sctp: trim optlen when it's a huge value in sctp_setsockopt
    cac71d27745f net: sched: fix memory leak in tcindex_partial_destroy_work
    a4a488915fea KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
    cdf4a0589eaf KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
    69f253c44401 net: decnet: Fix sleeping inside in af_decnet
    626cb6d84ba2 efi/tpm: Differentiate missing and invalid final event log table.
    f6eeb0829e1a ASoC: soc-pcm: add a flag to reverse the stop sequence
    57df79dd0b47 dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
    eeaa4b8d1e2e usb: hso: fix error handling code of hso_create_net_device
    d20ce763c690 spi: spi-cadence-quadspi: Fix division by zero warning
    d4c7797ab151 net: fix uninit-value in caif_seqpkt_sendmsg
    3d6f06fb19fb bpftool: Check malloc return value in mount_bpffs_for_pin
    464c306367cb bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
    600b122a690b bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
    6c508a1c6c62 bpf, sockmap: Fix potential memory leak on unlikely error case
    6be4502a80e3 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
    7006eabb4044 liquidio: Fix unintentional sign extension issue on left shift of u16
    1dd68ece22ba net: dsa: mv88e6xxx: NET_DSA_MV88E6XXX_PTP should depend on NET_DSA_MV88E6XXX
    5bd05b57e901 drm/vc4: hdmi: Drop devm interrupt handler for CEC interrupts
    3ba73cb98302 timers: Fix get_next_timer_interrupt() with no timers pending
    364ec7249d01 ASoC: SOF: Intel: Update ADL descriptor to use ACPI power states
    a7537dc73e69 xdp, net: Fix use-after-free in bpf_xdp_link_release
    cbb086074dab bpf: Fix tail_call_reachable rejection for interpreter when jit failed
    cd12f874ae10 bpf, test: fix NULL pointer dereference on invalid expected_attach_type
    bc813a1ae95c ASoC: rt5631: Fix regcache sync errors on resume
    09b8cc781058 spi: mediatek: fix fifo rx mode
    edd1b2b19214 regulator: hi6421: Fix getting wrong drvdata
    ae58c13a6b24 regulator: hi6421: Use correct variable type for regmap api val argument
    ffb6e766e200 spi: stm32: fixes pm_runtime calls in probe/remove
    5b64a59c2c6e ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
    14e7330ad106 Kbuild: lto: fix module versionings mismatch in GNU make 3.X
    4fc85eb66086 perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
    a83d04c140e3 perf data: Close all files in close_dir()
    ed0bdfef4ba5 perf probe-file: Delete namelist in del_events() on the error path
    871c7043aa52 perf lzma: Close lzma stream on exit
    e4518a4141f2 perf script: Fix memory 'threads' and 'cpus' leaks on exit
    a412ae547ed5 perf script: Release zstd data
    f50f139670f9 perf report: Free generated help strings for sort option
    97bb58171315 perf env: Fix memory leak of cpu_pmu_caps
    9f29d864b4ad perf test maps__merge_in: Fix memory leak of maps
    976804a726c7 perf dso: Fix memory leak in dso__new_map()
    e39103cfa102 perf test event_update: Fix memory leak of unit
    4db1e70516a4 perf test event_update: Fix memory leak of evlist
    19239ff4c98d perf test session_topology: Delete session->evlist
    76b70b7987e7 perf env: Fix sibling_dies memory leak
    1e338fb1f779 perf probe: Fix dso->nsinfo refcounting
    7ec2746ef5c6 perf map: Fix dso->nsinfo refcounting
    54dc8a81b785 perf inject: Fix dso->nsinfo refcounting
    ebeae3340557 firmware: arm_scmi: Ensure drivers provide a probe function
    1824f2a7d4a7 ARM: dts: aspeed: Update e3c246d4i vuart properties
    9fe5024f5738 arm64: mte: fix restoration of GCR_EL1 from suspend
    3a2c492e7528 KVM: SVM: Fix sev_pin_memory() error checks in SEV migration utilities
    9d85689380b6 KVM: SVM: Return -EFAULT if copy_to_user() for SEV mig packet header fails
    319b79706f63 KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
    916450b2101b sfc: fix lack of XDP TX queues - error XDP TX failed (-22)
    14a3ed8ef868 net: ocelot: fix switchdev objects synced for wrong netdev with LAG offload
    d1f7e509dc3a nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
    b093e56f137c net: phy: marvell10g: fix differentiation of 88X3310 from 88X3340
    b2fe6fc671ea mptcp: properly account bulk freed memory
    cd7f1414f170 mptcp: refine mptcp_cleanup_rbuf
    b24550868ff6 mptcp: use fast lock for subflows when possible
    c888aa863218 selftests: mptcp: fix case multiple subflows limited by server
    fe2350115a5f mptcp: avoid processing packet if a subflow reset
    1dabd873933f mptcp: add sk parameter for mptcp_get_options
    89aa6912f2cf mptcp: fix syncookie process if mptcp can not_accept new subflow
    1aa3ffb95fdc mptcp: remove redundant req destruct in subflow_check_req()
    688984fc1af1 mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
    5a870ea6e8b7 drm/vmwgfx: Fix a bad merge in otable batch takedown
    441b2f191e9f cxgb4: fix IRQ free race during driver unload
    efdf9d46bc15 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
    6c75b21b2aab selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
    84d37878814b selftests: icmp_redirect: remove from checking for IPv6 route get
    b11b6ecda552 stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
    350e10d21733 ipv6: fix 'disable_policy' for fwd packets
    8994e395fc39 bonding: fix incorrect return value of bond_ipsec_offload_ok()
    4ac748c4b224 bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
    42ec69b9cd7d bonding: Add struct bond_ipesc to manage SA
    d5e9ed0855a4 bonding: disallow setting nested bonding + ipsec offload
    c24d04866549 bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
    a1f01d2ddb55 ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    9863701fa0ec bonding: fix null dereference in bond_ipsec_add_sa()
    9ae2584fdd67 bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
    08d21fa872ec bpf, samples: Fix xdpsock with '-M' parameter missing unload process
    b2a6c45d44e9 gve: Fix an error handling path in 'gve_probe()'
    2f2b3b953b43 net: stmmac: Terminate FPE workqueue in suspend
    317de567c112 igb: Fix position of assignment to *ring
    6c82171aa35b igb: Check if num of q_vectors is smaller than max before array access
    e2b71652a5e3 iavf: Fix an error handling path in 'iavf_probe()'
    2f5343365d17 e1000e: Fix an error handling path in 'e1000_probe()'
    b928fdcafad9 fm10k: Fix an error handling path in 'fm10k_probe()'
    a0169ebdb140 igb: Fix an error handling path in 'igb_probe()'
    67ad97444580 igc: Fix an error handling path in 'igc_probe()'
    67a846441f8e ixgbe: Fix an error handling path in 'ixgbe_probe()'
    9d81d1be9f31 igc: change default return of igc_read_phy_reg()
    8e24c12f2ff6 igb: Fix use-after-free error during reset
    ea5e36b7367e igc: Fix use-after-free error during reset

(From OE-Core rev: ff80cef03f5a9cdf658ca7e81308042503d4f4ba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Ross Burton
94dfcaff64 tar: ignore node-tar CVEs
These two CVEs are specific to the Node package node-tar.

(From OE-Core rev: bc7216e8148d0dee7b56e6851da6615e93647a0a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-16 10:24:55 +01:00
Olaf Mandel
0b8f844c8c kickstart: document which options accept units
Document which units are accepted as parameters for the four options
that accept units. Also be pedantic about using binary instead of
decimal prefixes so readers don't have to wonder.

(From yocto-docs rev: 6b1d7d102ed3b509dfb3e43a3d7a27226f504df5)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Tom Rini
2eb5550db4 manuals: Rename the "Using .bbappend Files in Your Layer" section
To prepare to add another example bbappend, rename the current "Using
.bbappend Files in Your Layer" section to "Appending Other Layers Metadata
With Your Layer". Name the current example as "Overlaying a File Using
Your Layer".

(From yocto-docs rev: 62d7b5721b2fbcf1e22fc4e7bbac51d52260730e)

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Tom Rini
98ca1114ef common-tasks: Add a summary to the end of the bbappend example
Try and make it clearer what the final result of this bbappend example
is.

(From yocto-docs rev: c6d0b030fe495a9eb81ad542ad56479f7e7e18e2)

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Daniel Gomez
cb8c550da4 docs: fix typo in releases
Fix dunfell typo for releases 3.1.9 and 3.1.10.

(From yocto-docs rev: aae1f5c1a4a0e1d56cfea66d06dbf8edbc084b8d)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Michael Opdenacker
0cf790a0fe dev-manual: fix grammar in post-install script explanations
(From yocto-docs rev: bc0fa4d432c3a9aeccc5758c7ca793cae4f4852b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Michael Opdenacker
350197e46a Manuals: replace "file name" by "filename"
There are many more instances of "filename" or "filenames" than
of "file name" or "file names".

The winner takes it all!

(From yocto-docs rev: 13ef92bc301166c2e21d2603b2501749248dbe91)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Michael Opdenacker
b5f203516b sdk-manual: reference obsolete reference to ADT
(From yocto-docs rev: 024258ecd3c50184ab38d54e7bec2698c04fc631)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Quentin Schulz
52db0c7575 docs: overview-manual: concepts: remove long-gone BBHASHDEPS variable
BBHASHDEPS was removed from bitbake in April 2014, with the following
commit:
92526eadd09d "bitbake-worker: Drop BBHASH variables"

so let's remove mentions from the docs.

(From yocto-docs rev: f9e1768b8c85e3ad7fa974940a90996a5ffee3f5)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Quentin Schulz
3d93ddf9e8 docs: fix new override syntax migration
Fix bits missed by the migration script.

(From yocto-docs rev: 452e0c5067476fd2ce81f09e6c73da84ced4bbd0)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
ed6482821c test-manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 4bb16d0d1a0b8a42f20f39d79c642d612074565a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
134da15e22 sdk-manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 39cf6b2eb063815a3e2bf7a71ffd1fd6351cc594)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
956056e647 ref-manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 23ee6fbdf429d4cf1de4129e92dc7de4e6e9d184)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
80859f21b5 kernel-dev manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: d4598b592d1b0c9ce9448a8858eb4f47d83487b2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
ded502d2a7 dev-manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 105c4af0f2d78f27639f4f4d8ee4be65fcbfda52)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
4f2356a081 bsp-guide: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 664890810e8dcdaf3dd4467ef8f9a99f72ce6dce)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Nisha Parrakat
8ff845c9ba dbus_%.bbappend: stop using selinux_set_mapping
https://gitlab.freedesktop.org/dbus/dbus/-/issues/198
6072f8b241

Currently, if the "dbus" security class or the associated AV doesn't
exist, dbus-daemon fails to initialize and exits immediately. Also the
security classes or access vector cannot be reordered in the policy.
This can be a problem for people developing their own policy or trying
to access a machine where, for some reasons, there is not policy defined
at all.

The code here copy the behaviour of the selinux_check_access() function.
We cannot use this function here as it doesn't allow us to define the
AVC entry reference.

See the discussion at https://marc.info/?l=selinux&m=152163374332372&w=2

(From OE-Core rev: 0441b53d55a919b5ac42e997f4092053b017b553)

Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Tim Orling
ddd4b8c9a1 package.bbclass: FILER* override syntax
pkgdata no longer includes FILERPROVIDES* nor
FILERDEPENDS*. Fix with new override syntax.

Also apply to FILERPROVIDESLIST and FILERDEPENDSLIST.

(From OE-Core rev: 8f96a2d13bbae8fb70ed7feafdcff26544e3710d)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Joe Slater
49ae4a23d8 terminal.bbclass: force bash for devshell
Since shell_trap_code in build.py sets /bin/sh as the interpreter
we will die a silent death if our environment contains things like
"export -f bodilyfunction" and /bin/sh is really /bin/dash.

Fixes this for the case of devshell.

(From OE-Core rev: 23d296b3567aa31bad7b2a8558d4bd3e4505843b)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Tim Orling
0edac1f233 perl: do_create_rdepends_inc override syntax
The do_create_rdepends_inc function is used to recreate
the perl-rdepends.txt file. Update RDEPENDS_ to RDEPENDS:
for the new override syntax.

(From OE-Core rev: efc6ff1053aad393bbbd031f2504feb02891ae37)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Alexandre Belloni
26f1ecb72d oeqa/runtime/cases: make date.DateTest.test_date more reliable
The test uses the broken out time and can only handle about 59s of delay,
use a UNIX timestamp to allow for up to a 300s delay.

[YOCTO #14463]

(From OE-Core rev: b705e9373acd4119da75af4eb96ec92cc964aa86)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Joshua Watt
8a09663e7c lib/packagedata: Fix for new overrides
Fix read_subpkgdata_dict to account for the new override operator being
":" instead of "_"

(From OE-Core rev: 0b04ae769d4fad2caaa858803d8fbbbaec689541)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:55 +01:00
Joshua Watt
fa6c07bc1a classes/cve-check: Move get_patches_cves to library
Moving the function will allow other classes to capture which CVEs have
been patched, in particular SBoM generation.

Also add a function to capture the CPE ID from the CVE Product and
Version

(From OE-Core rev: 75d34259a715120be1d023e4fd7b6b4b125f2443)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Quentin Schulz
3ae80177fb insane.bbclass: fix new override syntax migration
A few variables and messages were not migrated over to the new override
syntax (_ to :).

Let's fix that.

(From OE-Core rev: c595d6040d2e0ef94d7da043b41226e90dddf318)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Chen Qi
9fe8f88026 util-linux: add back manpages related settings
There was a time that util-linux requres asciidoctor to be there
to have man pages. However, now the tarball ships generated man
pages and will use them. So add back the related settings. Otherwise,
we get the following error when enabling 'doc-pkgs' image feature.

  + update-alternatives --install /usr/share/man/man1/kill.1 kill.1 /usr/share/man/man1/kill.1.procps 200
  update-alternatives: Error: not linking /.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/share/man/man1/kill.1 \
  to /usr/share/man/man1/kill.1.procps since /.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/share/man/man1/kill.1 exists and is not a link

(From OE-Core rev: 3d66fcc425495b5b68caf1a63c7118c692236cc4)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Patrick Williams
b2bda4828b systemd: set zstd as default PACKAGECONFIG
Switch the default PACKAGECONFIG for compression feature from xz
to zstd.  zstd is significantly faster than xz with only slightly
worse compression ratios.  It is therefore much better suited for
activities like systemd-journald.

(From OE-Core rev: b1558bb058243f3a3de600ef5cf04bfaeac4fdeb)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Patrick Williams
47c32a99ae systemd: add zstd PACKAGECONFIG
systemd supports using zstd compression for journald and core files.
Add the necessary PACKAGECONFIG to enable zstd.

(From OE-Core rev: 0e0f8b708beeb1f6add5168b92a5a6a2c8ce96cd)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Yi Zhao
46e975c581 shadow: add PACKAGECONFIG for audit and selinux
Add PACKAGECONFIG for audit and selinux rather than disable them
directly. This is useful for selinux distro feature.

(From OE-Core rev: 0a0c6cfc5a17ed442aad9e71e627e0fa39e60ead)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Yi Zhao
a38e358e16 glib-2.0: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for selinux rather than disable it directly. This is
useful for selinux distro feature.

(From OE-Core rev: a4544876ad08c5169c07c49d351bedf6f2a16ce4)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Jon Mason
dac9318c5a tune-cortexm*: add support for all Arm Cortex-M processors
Add tune entries for all Arm Cortex-M processors currently supported in
GCC (that are not currently present).  The ARMv7 entries were added in
conf/machine/include/ to match the existing Cortex-M and Cortex-A tune
files.  The ARMv8 entries were added to conf/machine/include/arm/armv8-m
to match how ARMv8 was done for Cortex-A processor tune files.

(From OE-Core rev: a9ff58f4cc1b45145fc1576c7eacabaea64b7bd4)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
hongxu
7c88e08e62 sdk: fix relocate symlink failed
Install SDK to non-default dir, sysmlink mkfs.vfat is invalid

$ ./sdk.sh -y -d ./dnf-2 -S -D
$ ls sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -al
lrwxrwxrwx 1 hjia users 99 Aug 10 20:38 sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -> /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools

Since commit [bc4ee54535 sdk: Decouple default install path from
built in path] applied, sdk relocates symlink failed, it should
replace $SDK_BUILD_PATH rather than $DEFAULT_INSTALL_DIR, just
like above commit did

Without this commit:
...
|+ for l in $($SUDO_EXEC find $native_sysroot -type l)
|++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
|++ sed -e s:/usr/local/oecore-x86_64:path-to:
|+ ln -sfn /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/
usr/bin/mkfs.vfat.dosfstools path-to//sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
...

After appling this commit:
...
|+ for l in $($SUDO_EXEC find $native_sysroot -type l)
|++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
|++ sed -e s:/opt/windriver/wrlinux-graphics/21.31:path-to:
|+ ln -sfn path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools
path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
...

(From OE-Core rev: 942c06a7348070b92f722fa5c439c8c4404485b7)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Thomas Perrot
da6ba4d0b8 oeqa/selftest/fitimage: update tests to use two keys
Other keys (UBOOT_SIGN_IMG_KEYNAME) are required to sign individually the images
nodes, and these keys must be different from the ones used to sign the
configurations nodes (UBOOT_SIGN_KEYNAME), then fitimage tests need to be
updated.

(From OE-Core rev: dbaca2c2522ed0dc3d0a2f80dc4510aaec177afc)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Thomas Perrot
50d8801d72 kernel-fitimage: images should not be signed with the same keys as the configurations
Otherwise the "required" property, from UBOOT_DTB_BINARY, will be set to "conf"
and no error will be raised in case of error.

(From OE-Core rev: 080e0dfed710035b2e40187d9d639ecf5ab84be2)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Paul Barker
a428960183 pypi: Allow override of PyPI archive name
Some packages on PyPI don't follow the usual expectations for archive
naming. For example, the archive for asyncio-mqtt 0.10.0 is named
asyncio_mqtt-0.10.0.tar.gz (with an underscore instead of the dash used
in the package name).

To handle these edge cases a new PYPI_ARCHIVE_NAME variable is
introduced. By default this is set to the expected archive name based on
the PyPI package name, version and extension but it can be set to a
different value if needed in a recipe which inherits the pypi class.

(From OE-Core rev: 9659f5a51a2d094b45b52136feac4402d501b4f2)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:05 +01:00
Dragos-Marian Panait
b3246ebd87 util-linux: fix CVE-2021-37600
sys-utils/ipcutils: be careful when call calloc() for uint64 nmembs

Fix: #1395
(From OE-Core rev: 9822232b4abd811bb9c8562f98c0aefc748340a0)

Signed-off-by: Karel Zak <kzak@redhat.com>

CVE: CVE-2021-37600
Upstream-Status: Backport [1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c]

Signed-off-by: Dragos-Marian Panait <dragos.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:05 +01:00
Yi Zhao
4e413911df dbus: add PACKAGECONFIG for audit and selinux
Add PACKAGECONFIG for audit and selinux rather than disable them
directly. This is useful for selinux distro feature.

(From OE-Core rev: 139e9a0fe59413fc98f1fb6112765a7a40192a4f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:05 +01:00
Paul Barker
c5ae7decf3 u-boot: Package extlinux.conf separately
A separate u-boot-extlinux package is created for the extlinux.conf file
so that it can be installed on its own if needed. If this package is
populated, it is added as a dependency of the main u-boot package so
that installing just u-boot still results in the extlinux.conf file
being present in the rootfs.

(From OE-Core rev: 40de891259e5b335e636cfa6f831b62415127e4c)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:05 +01:00
Ross Burton
1e2e9a84d6 bitbake: fetch2/wget: fetch securely by default
The days of broken certificates are behind us now, so instead of always
passing --no-check-certificate to wget, don't pass it by default and
instead only pass it BB_CHECK_SSL_CERTS = "0".

[ YOCTO #14108 ]

(Bitbake rev: 4104850dd36096a9ff01836c5fca9ac0e452bcf8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:28:01 +01:00
Ross Burton
ad507bd5c4 bitbake: fetch2/wget: ensure all variables are set when calling urllib
Instead of just exporting the proxy variables when calling into urllib,
use bb.utils.environment() to export all of the known variables that are
needed for proper connectivity.

Specifically, this ensures that SSL_CERT_FILE is set, so that libssl can
find the certificates in buildtools environments

(Bitbake rev: 116637b0e9aabae7f680b102dbf3577b8a58f049)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:28:01 +01:00
Ross Burton
3483841352 bitbake: fetch2: expose environment variable names that need to be exported
There is a list of environment variable names that need to be exported
when executing external commands, such as 'http_proxy'.  To avoid
duplication, make this a top-level variable.

Also add SSL_CERT_FILE, which is used by OpenSSL to locate the
certificate bundle. This is needed in buildtools environments where the
default path isn't valid.

(Bitbake rev: 5c2cf57fd11d91f749a3b562f6f0a863f15013ed)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:28:01 +01:00
Ross Burton
62098f9041 bitbake: utils: add environment updating context manager
bb.utils.environment() is a context manager to alter os.environ inside
a specific block, restoring it after the block is closed.

(Bitbake rev: 9974848f67581ff7d76cef52a94f505af99b4932)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:28:01 +01:00
Tim Orling
0975ff9b69 python3-scons{-native}: upgrade 4.1.0 -> 4.2.0
Update patch as setup.cfg changes are now in upstream.

License-Update: Update Copyright years

NOTE: The 4.2.0 Release of SCons will deprecate Python 3.5 Support.
Python 3.5 support will be dropped in the next major release.

RELEASE 4.2.0 - Sat, 31 Jul 2021 18:12:46 -0700

  From Byron Platt:
    - Fix Install() issue when copytree recursion gives bad arguments
      that can lead to install side-effects including keeping dangling
      symlinks and silently failing to copy directories (and their
      subdirectories) when the directory already exists in the target.

  From Joseph Brill:
    - Internal MSVS update: Remove unnecessary calls to find all
      installed versions of msvc when constructing the installed visual
      studios list.

  From William Deegan:
    - Improve Subst()'s logic to check for proper callable function or
      class's argument list. It will now allow callables with expected
      args, and any extra args as long as they have default arguments.
      Additionally functions with no defaults for extra arguments as
      long as they are set using functools.partial to create a new
      callable which set them.
    - Fix Issue #3035 - mingw with SHLIBVERSION set fails with either
      not a dll error or "Multiple ways to build the same target were
      specified for:".  Now mingw will disable creating the symlinks
      (and adding version string to ) dlls.  It sets
      SHLIBNOVERSIONSYMLINKS, IMPLIBNOVERSIONSYMLINKS and
      LDMODULENOVERSIONSYMLINKS to True.
    - Added --experimental flag, to enable various experimental
      features/tools.  You can specify 'all', 'none', or any combination
      of available experimental features.
    - Fix Issue #3933 - Remove unguarded print of debug information in
      SharedLibrary logic when SHLIBVERSION is specified.
    - Fix versioned shared library naming for MacOS platform.
      (Previously was libxyz.dylib.1.2.3, has been fixed to
      libxyz.1.2.3.dylib. Additionally the sonamed symlink had the same
      issue, that is now resolved as well)
    - Add experimental ninja builder. (Contributed by MongoDB, Daniel
      Moody and many others).
    - Fix #3955 - _LIBDIRFLAGS leaving $( and $) in *COMSTR output.
      Added affect_signature flag to _concat function.  If set to False,
      it will prepend and append $( and $). That way the various
      Environment variables can use that rather than
      "$( _concat(...)$)".
    - Fix issue with exparimental ninja tool which would fail on windows
      or when ninja package wasn't installed but --experimental=ninja was
      specified.
    - As part of experimental ninja tool, allow SetOption() to set both
      disable_execute_ninja and disable_ninja.

  From David H:
    - Fix Issue #3906 - `IMPLICIT_COMMAND_DEPENDENCIES` was not properly
      disabled when set to any string value (For example ['none','false',
      'no','off']) Also previously 'All' wouldn't have the desired affect.

  From Ivan Kravets:
    - Provide a custom argument escape function for `TempFileMunge`
      using a new `TEMPFILEARGESCFUNC` variable. Useful if you need to
      apply extra operations on a command argument before writing to a
      temporary file (fix Windows slashes, normalize paths, etc.)

  From Henrik Maier:
   - DocbookXslt tool: The XSLT stylesheet file is now initialized to an
     env.File() Node, such that dependencies work correctly in hierarchical
     builds (eg when using DocbookXslt in SConscript('subdir/SConscript')
     context.

  From Daniel Moody:
    - Update CacheDir to use uuid for tmpfile uniqueness instead of pid.
      This fixes cases for shared cache where two systems write to the
      same cache tmpfile at the same time because the happened to get the
      same pid.
    - Added support for passing custom CacheDir derived classes to
      SCons. Moved copy_from_cache attribute from the Environment class to
      CacheDir class. Code contributed by MongoDB.
    - Update BuildTask to pass all targets to the progress object fixing
      an issue where multi-target build nodes only got the first target
      passed to the progress object.
    - Fix a potential race condition in shared cache environments where
      the permissions are not writeable for a moment after the file has
      been renamed and other builds (users) will copy it out of the cache.
      Small reorganization of logic to copy files from cachedir. Moved
      CacheDir writeable permission code for copy to cache behind the atomic
      rename operation.
    - Added marking of intermediate and and multi target nodes generated
      from SConf tests so that is_conftest() is more accurate.
    - Added test for configure check failing to ensure it didn't break
      generating and running ninja.

  From Mats Wichmann:
    - Initial support in tests for Python 3.10 - expected bytecode and
      one changed expected exception message. Change some more regexes
      to be specified as rawstrings in response to DeprecationWarnings.
    - Add an example of adding an emitter to User Guide (concept from
      Jeremy Elson)
    - Add timing information for sconsign database dump when --debug=time
      is selected. Also switch to generally using time.perf_counter,
      which is the Python recommended way for timing short durations.
    - Drop remaining definitions of dict-like has_key methods, since
      Python 3 doesn't have a dictionary has_key (maintenance)
    - Do not treat --site-dir=DIR and --no-site-dir as distinct options.
      Allows a later instance to override an earlier one.
    - Ignore empty cmdline arguments when computing targets (issue 2986)
    - Remove long-deprecated construction variables PDFCOM, WIN32_INSERT_DEF,
      WIN32DEFPREFIX, WIN32DEFSUFFIX, WIN32EXPPREFIX, WIN32EXPSUFFIX.
      All have been replaced by other names since at least 1.0.
    - Add a __iadd__ method to the CLVar class so that inplace adds
      (+=) also work as expected (issue 2399)
    - Remove local copy of CLVar in EnvironmentTests unittest file -
      should be testing against the production version, and they
      didn't really differ.
    - Don't strip spaces in INSTALLSTR by using raw subst (issue 2018)
    - Deprecate Python 3.5 as a supported version.
    - CPPDEFINES now expands construction variable references (issue
      2363)
    - Restore behavior that Install()'d files are writable (issue 3927)
    - Simplified Mkdir(), the internal mkdir_func no longer needs to
      handle existing directories, it can now pass exist_ok=True to
      os.makedirs().
    - Avoid WhereIs exception if user set a tool name to empty (from
      issue 1742)
    - Maintenance: remove obsolete __getslice__ definitions (Py3 never
      calls); add Node.fs.scandir to call new (Py3.5) os.scandir;
      Node.fs.makedirs now passes the exist_ok flag; Cachedir creation
      now uses this flag.
    - Maintenance: remove unneeded imports and reorganize some.  Fix
      uses of warnings in some tools which instantiated the class but did
      nothing with them, need to instead call SCons.Warnings.warn with the
      warn class.
    - Drop overridden changed_since_last_build method in Value class.
    - Resync the SetOption implementation and the manpage, making sure
      new options are available and adding a notes column for misc
      information. SetOption equivalents to --hash-chunksize,
      --implicit-deps-unchanged and --implicit-deps-changed are enabled.
    - Add tests for SetOption failing on disallowed options and value
      types.
    - Maintenance: eliminate lots of checker complaints about Util.py.
    - Maintenance: fix checker-spotted issues in Environment (apply_tools)
      and EnvironmentTests (asserts comparing with self). For consistency,
      env.Tool() now returns a tool object the same way Tool() has done.
    - Change SConscript() missing SConscript behavior - if must_exist=False,
      the warning is suppressed.
    - Make sure TEMPFILEPREFIX can be set to an empty string (issue 3964)

  From Dillan Mills:
    - Add support for the
      (TARGET,SOURCE,TARGETS,SOURCES,CHANGED_TARGETS,CHANGED_SOURCES}.relpath
      property. This will provide a path relative to the top of the build
      tree (where the SConstruct is located) Fixes #396

  From Andrew Morrow:
    - Fix issue #3790: Generators in CPPDEFINES now have access to
      populated source and target lists

(From OE-Core rev: 37a0a8821838a15cc24e1fc84b632bebacb44fb0)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Anton Blanchard
fb12b7a1cd pixman: Handle PowerPC without Altivec
Configure with -Dvmx=enabled/disabled based on the Altivec feature.

(From OE-Core rev: f6996bb609beb0fae621dfd88f581c0a1c6e38fa)

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Anton Blanchard
bba3e17098 kmod: use nonarch_base_libdir for depmod.d and modprobe.d
These should always be in /lib, regardless of the configuration.

(From OE-Core rev: 63877226c09a674d3794fdc171adf12fe604a3c9)

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Anton Blanchard
36d0038982 libjpeg-turbo: Handle powerpc64le without Altivec
Similar to 32/64 bit big endian PowerPC, build with -DWITH_SIMD=False
if the Altivec feature is not available.

(From OE-Core rev: 12f6273cb30b62af2da5edfb600abf8b28491f7a)

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Patrick Williams
50cbb9f0a4 pixman: re-disable iwmmxt
Commit dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0 dropped the iwmmxt
disable as part of the meson conversion and said: "we can add this
back again if it fails."  It does.

| cc1: warning: switch '-mcpu=arm1176jz-s' conflicts with switch '-march=iwmmxt2'
| FAILED: pixman/libpixman-1.so.0.40.0
| lto1: fatal error: target specific builtin not available
| compilation terminated.

(From OE-Core rev: afa713033a7fc9b7c4ac3d703ea9218b4d775def)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia1278d18543493a3f9eace6c2dd2f84701b9c2b1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Dmitry Baryshkov
52cd4ae51a linux-firmware: add more Qualcomm firmware packages
Add firmware packages for the recent Qualcomm SoCs:

 - linux-firmware-qcom-adreno-a650, linux-firmware-qcom-adreno-a660,
   containing firmware for Adreno A630 and A650 GPUs

 - linux-firmware-qcom-sm8250-audio, linux-firmware-sm8250-compute,
   containing firmware for audio and comute DSPs on SM8250 (QRB5165)

 - linux-firmware-qcom-vpu-1.0, linux-firmware-qcom-vpu-2.0 containing
   firmware for newer Venus video encoder/decoder

(From OE-Core rev: 31057a9d41a452bdb9e94b4160220f675332ef70)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Alejandro Hernandez Samaniego
650b720f19 baremetal-helloworld: Enable RISC-V 32 port
$ runqemu nographic
runqemu - INFO - Running bitbake -e ...
KERNEL: [tmp/deploy/images/qemuriscv32/baremetal-helloworld-image-qemuriscv32.bin]
MACHINE: [qemuriscv32]
runqemu - INFO - Running tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv32

Hello OpenEmbedded on RISC-V 32!

(From OE-Core rev: d4cca7471f2167b56347fa7b1364bb84a200b1f5)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Chen Qi
8ae0ee62ca multilib.bbclass: fix new override syntax for virtclass-multilib
the 'virtclass-multilib-xxx' is an override, so use ':' instead of
'_' for TARGET_VENDOR and DEFAULTTUNE.

(From OE-Core rev: a522972821339f42dcdddb334e843e21584bfbea)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Jose Quaresma
33ba016f4c sstate.bbclass: fix error handling when sstate mirrors is ro
The commit dd555537fc
'sstate.bbclass: fix errors about read-only sstate mirrors'
adds an additional exception handler to silently mask read
only rootfs errors thrown during the touch.

The exception handler checks the error type with the python module errno
but this module needs to be imported as it don't exist.

Example of the error:

File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:sstate_task_postfunc(d)
     0003:
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 778, function: sstate_task_postfunc
     0774:
     0775:    omask = os.umask(0o002)
     0776:    if omask != 0o002:
     0777:       bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
 *** 0778:    sstate_package(shared_state, d)
     0779:    os.umask(omask)
     0780:
     0781:    sstateinst = d.getVar("SSTATE_INSTDIR")
     0782:    d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 708, function: sstate_package
     0704:        except PermissionError:
     0705:            pass
     0706:        except OSError as e:
     0707:            # Handle read-only file systems gracefully
 *** 0708:            if e.errno != errno.EROFS:
     0709:                raise e
     0710:
     0711:    return
     0712:
Exception: NameError: name 'errno' is not defined

(From OE-Core rev: 15f30ad144fbe25e9a5e71bc7e42e746d2039992)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Changqing Li
ea14728154 libconvert-asn1-perl: 0.27 -> 0.31
Old homepage is bad link, cannot be accessed. Now this project is
development on github, and the new homepage is get from
https://github.com/gbarr/perl-Convert-ASN1

Old SRC_URI is not used any more, the lastest update is in 2014.
>From 0.28, the download link changed to:
https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/

(From OE-Core rev: 558a7999dc138c6d51025cc3508e2ccb2556b7a9)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
262587d754 oeqa/sdk: add some buildtools tests
These two tests are designed to exercise the buildtools-tarball.

SanityTests simply verifies that inside the SDK, some commands are used
from the SDK.

BuildTests creates a new OE build directory and builds virtual/libc to
verify that a basic build works correctly. DL_DIR is reused to avoid
needless downloading, but sstate is not shared to ensure a build does
happen.

(From OE-Core rev: 6157d6ffa32d6df383c29d4b6de07feb9d619913)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
43af729d31 buildtools-tarball: add testsdk task
Add a testsdk task, which is essentially the same as testsdk.bbclass but
the test case directory is changed.  This lets us exercise the
buildtools tarballs at build time.

(From OE-Core rev: 39a0e45ced42826832f84cfbf1cf50ed7c334997)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
635e21fdd5 parted: update patch status
This patch has now been submitted to parted-devel.

(From OE-Core rev: c9a958104c526806d38ab2f6f45a07c428d027fe)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
917134a805 parted: drop unneeded ld-is-gold patch
This patch doesn't appear to be needed anymore, so drop it.

(From OE-Core rev: d8c6a87a568ba9b9e84a661989d5b26e07394641)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
c1b7a9cd64 wic: don't forcibly pass -T default
This reverts part of oe-core eecbe62555, which was a previous attempt
to solve the Y2038 problem.  This is now solved centrally in e2fsprogs,
so doesn't need to be dealt with in wic.

We don't revert the commit entirely, to retain the warning if a
filesystem has small inodes.

(From OE-Core rev: 7e8017208bed98b6c90735cb641fc9d7aedf9140)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
88fe419543 e2fsprogs: ensure small images have 256-byte inodes
e2fsprogs calls filesystems larger than 3MB but smaller than 512MB
"small", which has some implications:

- blocksize 1024 instead of 4096
- inode_ratio 4096 instead of 16384
- inode_size 128 instead of 256

The outcome of the inode size dropping to 128 bytes is that they cannot
store 64-bit timestamps, so are not Y2038-safe.

A previous attempt to solve this problem[1] changed some of the canned
wic files to pass -T default to mkfs.ext4, but this only covered wic
images and not traditional images.  Also, actually small filesystems,
for example a core-image-minimal, will happily be tens of megabytes and
with the "default" options will result in an image which runs out of
blocks before it runs out of space:

mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system

Considering that many OpenEmbedded images are in fact "small", being
2038-safe is worth the marginal increase is disk usage.  This patch
alters the small configuration in native builds so that it also has
256-byte inodes.  Target is unchanged so that standard behaviour is
maintained outside of the build.

This is actually the same underlying patch that Mathieu Dubois-Briand
sent in April, but the wic change in [1] was accepted instead. I believe
that is the wrong approach and this approach covers more cases.

[ YOCTO #14478 ]

[1] openembedded-core eecbe62
[2] https://lists.openembedded.org/g/openembedded-core/message/150298

(From OE-Core rev: 9ab0ae83a24ee99e69f8ac54256b253a122aef8a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
6846235345 MAINTAINERS: add overlayfs maintainer
(From OE-Core rev: 8749556d06b07961080650ac17ee1c37666e01fd)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
0413829f61 oeqa/selftest: overlayfs unit tests
Unit tests for overlayfs.bbclass

(From OE-Core rev: b393e1982090063d9d0610fdcfd3601e78a501c0)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
44bbb74b76 overlayfs: meta-selftest recipe
The recipe demonstrates example usage of overlayfs bbclass

(From OE-Core rev: 1ad7a6fdd6382a30f1d9e115840ce8243b7fce2f)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
9b5fbdea3d systemd-machine-units: add bbappend for meta-selftest
(From OE-Core rev: 797ab6d3237c3248778ea3c9304e92dcc94a67da)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
550511e446 rootfs-postcommands: add QA check for overlayfs
The check is conditional and only enabled when overlayfs is set in
DISTRO_FEATURES

(From OE-Core rev: 4734799bacf0a5d2487e1cde3ae1c00223b032b2)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
d6e1f08ee3 overlayfs.bbclass: generate overlayfs mount units
It's often desired in Embedded System design to have a read-only rootfs.
But a lot of different applications might want to have a read-write access
to some parts of a filesystem. It can be especially useful when your update
mechanism overwrites the whole rootfs, but you want your application data
to be preserved between updates. This class provides a way to achieve that
by means of overlayfs and at the same time keeping the base rootfs read-only.

(From OE-Core rev: 18377d6f09fc8855c71f2e5c097cbbbccf5632ce)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
2377193d7a lib/oe: add generic functions for overlayfs
(From OE-Core rev: 53f0af20f94399335c8a5a6b7001994e332b69a6)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Michael Opdenacker
a99473976d cve-check: remove deprecated CVE_CHECK_CVE_WHITELIST
This variable has been deprecated since Yocto Project version 3.0.

(From OE-Core rev: f8ac58568b2dceef54a743369460019b3a3eeccd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Chen Qi
2e4d3aa2a3 meta: use new override syntax in comments
(From OE-Core rev: 572e7db6e8831227911ff3e52bde3a4aa6df1c91)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Chen Qi
62372aedfe convert-overrides.py: also convert comments without a leading whitespace
Currently lines like below are converted.
  e.g.
  # IMAGE_INSTALL_append = " A"

But lines without a leading whitespace are not converted.
  e.g.
  #IMAGE_INSTALL_append = " A"

We should be converting both.

(From OE-Core rev: 1994e3844c1aa6b595c0c18040e4f8240fa04438)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Richard Purdie
2f743b4739 libtool: Fix lto option passing for reproducible builds
If lto is enabled, we need the prefix-map variables to be passed to the linker.
Add these to the list of options libtool passes through.

(From OE-Core rev: 2c26d2c00b47df856fb2d9c35486b135094d46ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
wangmy
9262d89763 ell: upgrade 0.41 -> 0.42
(From OE-Core rev: aedc4667474f891654f01bb4c0f542092fbe5aa3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Richard Purdie
2e4f162e61 curl: Fix reproducibility issue with LDFLAGS
If we add DEBUG_PREFIX_MAP into LDFLAGS, curl-dev is no longer reproducible.
Fix this.

(From OE-Core rev: 3a30b7ad413de0e8f60504ba2be76107e4324640)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Tony Battersby
fa91de383e ruby: Fix reproducibility issue with LDFLAGS
If we add DEBUG_PREFIX_MAP into LDFLAGS, ruby and ruby-dbg are no
longer reproducible.  Fix this.

(From OE-Core rev: c34d5e409b291e69d6ff28ee71acba7055ef3f08)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Richard Purdie
666548c44e gettext: Fix reproducibility issue with LDFLAGS
If we add DEBUG_PREFIX_MAP into LDFLAGS, gettext-ptest is no longer reproducible.
Fix this.

(From OE-Core rev: c759bae9c3b360e0ca5321469e8d77512cadaf1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Richard Purdie
d1a599bc40 ruby: Fix DEBUG_PREFIX_MAP in LDFLAGS issue
(From OE-Core rev: 78da145c2f2fbd58e286e8ce983c2cc0b074e6a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Tony Battersby
488aa36a61 bitbake.conf: add DEBUG_PREFIX_MAP to TARGET_LDFLAGS
-f*-prefix-map flags are required when linking with LTO enabled to make
the output binary reproducible.

See discussion here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101473

[YOCTO #14481]

(From OE-Core rev: fddaecc88979967d0e00e2fafdbaaabec030da9f)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Tony Tascioglu
36ed0c29cb valgrind: skip broken ptests for glibc 2.34
Skip tests that are problematic for glibc-2.34.
The list of problematic ptests was found by Richard after
patching several to work with the new glibc version.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14500

(From OE-Core rev: c177c7f9ef6f90ca49074f003accb8e9a1a645aa)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Khem Raj
7e5145f2c5 glibc: Add missing symlinks for libpthread and librt dev files
(From OE-Core rev: 3a02079bbc29c64f3807f24f9b69ee02f765bec7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Khem Raj
ea74dcc059 glibc: Drop DUMMY_LOCALE_T define patch
It was needed for very old centos distros which are no longer supported

(From OE-Core rev: 24663490adbb0434e810c13ab627a4903c018ca7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Khem Raj
1f6bc6580c glibc: Remove obsolete --enable-stackguard-randomization
this has been removed in 2.34 onwards

(From OE-Core rev: 1ca248f0b894b95b7fc9f0c0c76b5efe3555e386)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Khem Raj
ad454e0266 glibc: Upgrade to 2.34 release
bump localedef to get __attr_access_none and __attr_access definitions
replace /bin/bash instead of @BASH@ in ldd as @BASH@ has been substituted with /bin/bash now

package libc_malloc_debug.so.0

Detailed changelog [1]

[1] https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html

(From OE-Core rev: af4e1306a78cf8c508dd911f02c103af81bc1af5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Michael Halstead
77ce05bd36 releases: update to include 3.1.10
Adding 3.1.10 to documentation switcher and release list.

(From yocto-docs rev: 86b44b72c366f56d6977e7462aca8821721d89bd)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-11 20:41:54 +01:00
Michael Opdenacker
4c7e3b64bc manuals: further documentation for cve-check
This adds details about the actual implementation
of vulnerability checks, about how to fix or ignore
vulnerabilities in recipes, and documents the
CVE_CHECK_PN_WHITELIST and CVE_CHECK_WHITELIST variables.

(From yocto-docs rev: 55886d211218b3a604c2f8a29c854685ebf284dd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-10 11:29:46 +01:00
Michael Opdenacker
23e640b809 manuals: mention license information in footer
Previously, the license for the manuals was only
stated in the SPDX headers at the beginning of source files

(From yocto-docs rev: cef60f23d5601a18d7ba7e894af2aa459fb2efb8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-10 11:29:46 +01:00
Richard Purdie
eb047a25bb migration-3.4: Add extra notes to override syntax changes
(From yocto-docs rev: dba53562b684c511fb59a3272656cb6052f28fb2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-10 11:29:46 +01:00
Richard Purdie
ae6153e10b test-manual: Add extra detail to YP Compatible section
Add a note about documenting where a layer doesn't support 'core'
functionality.

(From yocto-docs rev: 0fc15d069aae11e6e705d80f684345150ff7bf3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-10 11:29:46 +01:00
Richard Purdie
492205ea83 packagedata: Fix after override syntax change
Fix a reference that should have been part of the override syntax change
causing packages to be written out incorrectly.

(From OE-Core rev: 0f978b4f03e71267ad0a8a5054141e7727f2944f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 09:25:25 +01:00
Michael Opdenacker
ae55dea68d cve-check: improve comment about CVE patch file names
(From OE-Core rev: 8aa613480663e11ecc62278d8c57ca719eb23899)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Michael Opdenacker
4c28645c04 cve-check: update link to NVD website for CVE details
The old URL schema
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-ID
now redirects to
https://nvd.nist.gov/vuln/detail/CVE-ID

(From OE-Core rev: 57adb57a9d9b08c08ab606ec7b561792e4f4ff2d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Michael Opdenacker
fce14b90e3 cve-check: fix comments
This implements various fixes in comments in cve-check.bbclass
In particular, the "whitlisted" typo is important as the "whitelisted"
word is going to be replaced in a near future.

(From OE-Core rev: 5eecd2bf942254d08c252388594e5ec7ae330f45)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
45632b5366 oeqa/runtime/cases/ptest: Increase test timeout from 300s to 450s
Some tests such as lttng-tools are marginal and timing out on the autobuilder
with the current 300s default. Increase to avoid this noise in the ptest
failures list.

(From OE-Core rev: 5fb902a52e35130af6b0735a087c709daa35655f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
5f4e335c8e bitbake: ui/taskexp: Fix to work with empty build directories
If run on an empty build directory, taskexp wasn't working as it didn't
send the current environment to the server. This means HOSTTOOLS in oe-core
couldn't be built and gave an error. Add the missing updateToServer call in.

[YOCTO #14408]

(Bitbake rev: 06a0bbe746f879ae539223e7fdb6f07d55d13719)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
0e3c7594cb bitbake: ui/taskexp: Improve startup exception handling
When an exception occurs at startup, show it to the user.

[YOCTO #14408]

(Bitbake rev: cc1df1af67cfd3e223b39e2b7ea5f86b8cf78aee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
5a4501abeb bitbake: command: Ensure we catch/handle exceptions
If an exception occurs in early setup, bitbake could just hang. Return
the exception rather than doing that.

[YOCTO #14408]

(Bitbake rev: c8a4107132ce51f84ae84bf1ceb1c3fd90f156d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
dc7ef0f896 bitbake: process: Improve traceback error reporting from main loop
Currently the code can just show nothing as the exception if there was a double
fault, which in this code path is quite likely. This leads to an error log
which effectively says "it failed" with no information about how.

Improve things so we get a nice verbose traceback left in the logs/output
which is preferable to no logs.

(Bitbake rev: e5782b71647d1eb6de53bde7bc4f6019a5589f21)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
7f0f1179eb bitbake: fetch/tests/toaster: Override conversion fixups
Fix some references that missed during the overrides syntax migration or
were incorrect. Thanks to Quentin Schulz <foss@0leil.net> for the patch.

(Bitbake rev: 6184cb07dfa44f5f76f1c423533b4547d80b20ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
0b973973f3 bitbake: doc: Fix append/prepend/remove references
Fix some references missed during the overrides syntax migration.
Thanks to Quentin Schulz <foss@0leil.net> for the patch.

(Bitbake rev: 2fd03ec7b136c694f2ced43b3abb69f719c99ec2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Tony Battersby
9a34ef5987 gcc: Backport patch to make LTO builds more reproducible
Backport ustream gcc patch that enables -fdebug-prefix-map to cover
additional cases with LTO enabled to make LTO builds more reproducible.

[YOCTO #14481]

(From OE-Core rev: 8923253b9bc91b14b474abc4923ca916fb8a12ec)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 17:48:29 +01:00
Tony Battersby
a7762efa03 lto.inc: disable LTO for grub
With gcc 11.1, compiling grub with LTO causes an internal compiler error
(ICE), and with gcc 10.2, files under /usr/lib/grub/i386-pc/*.mod are not
binary reproducible.

[YOCTO #14490] (gcc 11.1 ICE)
[YOCTO #14481] (LTO and binary reproducibility)

(From OE-Core rev: d1fd3693411d83214f0f88b2f9d7aef12ecd6e02)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 17:48:29 +01:00
Richard Purdie
671b49e077 elfutils: Add patch from upstream for glibc 2.34 ptest fixes
Add a patch being discussed upstream to fix a ptest issue with glibc 2.34.

(From OE-Core rev: 8921f2acfd566d2c03cea7bdb9f0b1883994148b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 17:48:29 +01:00
Richard Purdie
a15eea5077 bitbake: runqueue: Improve multiconfig deferred task issues
The previous patches have exposed new issues with this code path,
the issues being around what should happen when the hash of a task
changes and the task is or is not on the deferred task list.

Rather than rebuilding the deferred task list during each rehash
event, build it once at the start of a build. This avoids the problem
of tasks being added back after they have run and also avoids problems
of always ensuring the same task is deferred. It also allows the
'outrightfail' codepath to be handled separately as the conditions
are subtly differnt.

One significant win for the new approch is the build is not continually
printing out lists of deferred tasks, that list remains fairly static
from the start of the build. Logic is added in to ensure a rehashed
task with a hash matching other deferred tasks is deferred along with
them as a small optimization.

An interesting test case for this code was reported by Mark Hatle
with four multiconfigs, each the same apart from TMPDIR and running a
build of:

bitbake buildtools-tarball mc:{one,two,three,four}:core-image-minimal

which is interesting in that the build of buildtools partially overlaps
core-image-minimal and the build has a rehash event for qemuwrapper-cross
even without any external hash equivalence server or preexisting data.

(Bitbake rev: bb424e0a6d274d398f434f7df63951da9ce305b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 17:15:54 +01:00
Alexander Kanavin
b205abd2ae local.conf.sample: disable prelink
Recent tests have shown that prelinking works only when PIE is not
enabled [0], and as PIE is both a desirable security feature, and the only
configuration provided and tested by Yocto, there is simply no sense
in continuing to enable prelink.

There's also a concern that no one is maintaining the code, and there
are open bugs (including serious ones such as [1]). Given that prelink
does intricate address arithmetic and rewriting of binaries the best
option is to disable the feature.

[0]
https://rlbl.me/prelink-1
https://rlbl.me/prelink-2

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14429

(From meta-yocto rev: f712b495ce6362d50db3c5c565245535429d6419)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:54:18 +01:00
Richard Purdie
382e70c724 valgrind: Add patches for glibc 2.34 support
This partially resolves ptest failures with glibc 2.34.

(From OE-Core rev: 9adf897176924cad6b12d4da73a904cfbf578f46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Richard Purdie
bc01962bb8 strace: Upgrade 5.12 -> 5.13
This includes changes to work with glibc 2.34.

(From OE-Core rev: 58cdb3ff8689c5e87769eb53d154a395492cdeb5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Richard Purdie
5f3d28c2a2 diffoscope: Upgrade 178 -> 179
(From OE-Core rev: c889354ead36c332ee47bbeadea0dfd96d7dd5d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Martin Jansa
a9a7b5f80f systemd-boot: use ld.bfd as efi-ld even when gold or lld is used in ${LD}
* since the upgrade to 249.1 in:
  https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c
  the builds with ld-is-gold are failing with:

  [17/21] Generating linuxx64.elf.stub with a custom command
  FAILED: src/boot/efi/linuxx64.elf.stub
  /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld -o src/boot/efi/linuxx64.elf.stub -T /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-oe-linux/11.2.0/libgcc.a
  /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld: internal error in segment_precedes, at ../../gold/layout.cc:3721
  [18/21] Generating boot.c.o with a custom command
  ninja: build stopped: subcommand failed.
  WARNING: exit code 1 from a shell command.

  as reported in:
  https://lists.openembedded.org/g/openembedded-core/message/154246

* if someone is using lld or ld.lld in ${LD} then it would fail as well:
  e39288193f

* work around this by always using ld.bfd instead of whatever is set in ${LD}

* it needs to be prefixed with ${HOST_PREFIX} to match how LD is constructed:
  $ bitbake-getvar -r systemd-boot LD
  #
  # $LD [2 operations]
  #   exported /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523
  #     [export] "1"
  #   set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523
  #     "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
  # pre-expansion value:
  #   "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
  export LD="x86_64-oe-linux-ld --sysroot=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot  "

  $ bitbake-getvar -r systemd-boot EFI_LD
  #
  # $EFI_LD
  #   set /OE/build/oe-core/openembedded-core/meta/recipes-core/systemd/systemd-boot_249.1.bb:23
  #     "${HOST_PREFIX}ld.bfd"
  EFI_LD="x86_64-oe-linux-ld.bfd"

  otherwise first ld.bfd it will find will be from HOSTTOOLS_NONFATAL and
  fail when host's binutils isn't compatible as in:
  https://autobuilder.yoctoproject.org/typhoon/#/builders/104/builds/2673/steps/11/logs/stdio

  FAILED: src/boot/efi/linuxx64.elf.stub
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd -o src/boot/efi/linuxx64.elf.stub -T /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-poky-linux/11.2.0/libgcc.a
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: file not recognized: File format not recognized

(From OE-Core rev: 603e50f3db224a0e36a65decb9a98df41b9e22b3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Tim Orling
e82157fb55 python3-importlib-metadata: upgrade 4.6.1 -> 4.6.3
v4.6.3
Moved workaround for #327 to _compat module.

v4.6.2
bpo-44784: Avoid errors in test suite when DeprecationWarnings are
treated as errors.

References:
https://github.com/python/importlib_metadata/issues/327
https://bugs.python.org/issue44784

(From OE-Core rev: 9ac45967b0e739d7480ac432bab0b0ca0341b24b)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Tim Orling
4c811172fa python3-hypothesis: upgrade 6.14.3 -> 6.14.5
6.14.5 - 2021-07-27
This patch fixes hypothesis.strategies._internal.types.is_a_new_type. It
was failing on Python 3.10.0b4, where NewType is a function.

6.14.4 - 2021-07-26
This patch fixes from_type() and register_type_strategy() for
typing.NewType on Python 3.10, which changed the underlying
implementation (see bpo-44353 for details).

References:
https://bugs.python.org/issue44353

(From OE-Core rev: 19bc156c8f9d43c963b2db3535d11d05c6916600)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Khem Raj
b55c975d8f devtool.py: Correct override syntax
(From OE-Core rev: 3a0af9245b11326ced96a05db85e0e45e6422d4a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Khem Raj
d935d5db42 distrooverrides.bbclass: Correct override syntax
(From OE-Core rev: b95d50f6ed6bf21d48c4cd22ffe9e8edc1480135)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Khem Raj
3d62726171 toaster-managed-mode.json: Correctly specify term with new override syntax
(From OE-Core rev: 218117b0947e0dff977cf7ce508ed34382e3cf49)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Khem Raj
550d0cee19 libssh2: Fix syntax for using ptest override
(From OE-Core rev: d2624e5581e55c43926099c3f7c00a632c6ff2e7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Zqiang
f31839fc3c python3: use monotonic clock for condvar if possible
The timeout for threading.Lock, threading.Condition, etc, is not using
a monotonic clock, it is affected if the system time (realtime clock)
is set.

This patch will make condvar use monotonic clock.
Refence: https://bugs.python.org/issue41710

(From OE-Core rev: 5a268f95a5bf5ee8c244a8af685d6c84aad9a4ac)

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
hongxu
28b66dcb72 createrepo-c: fix createrepo-c failed in nativesdk
In sdk, call createrepo-c failed with:
...
$ createrepo_c --update ./test_repo/rpm
Directory walk started Critical: Failed to detect compression for file
./test_repo/rpm/cortexa72/hello-2.10-r0.cortexa72.rpm: magic_load() failed: could not find any valid magic files!
...

Since commit [ea666fbc74 createrepo-c: set path to magic database for
native and nativesdk] applied, the MAGIC is incorrectly assigned.

The variable datadir will be expanded automatically for nativesdk,
do not need to add prefix ${SDKPATHNATIVE} to MAGIC

(From OE-Core rev: 54368f1b02e1ac4aa068515730a8c8bcd3683eb3)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:40 +01:00
Martin Jansa
1c240f9209 convert-overrides.py: allow dots before override in vars_re and shortvars_re
e.g. VIRTUAL-RUNTIME_com.webos.service.flowmanager_armv4 weren't replaced
with VIRTUAL-RUNTIME_com.webos.service.flowmanager:armv4 or when package
name contains a dot like in:
RDEPENDS:gstreamer1.0-meta-base:remove

(From OE-Core rev: 41bff44bd26c09573eb3139bb6735e5ecfda18b7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:40 +01:00
Joshua Watt
0b3be2821d bitbake: contrib: vim: Update for new override syntax
Updates the Vim syntax highlighting to account for the new override
syntax and also highlight "append" and "prepend" overrides

(Bitbake rev: 01a6322315a6ff6ab55a349f9fcd1e2d93448bfd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:48:58 +01:00
Denys Dmytriyenko
7171392132 poky-tiny: drop uclibc override
Since uclibc is no longer supported, corresponding override was left
un-converted to the new syntax. Simply drop it.

(From meta-yocto rev: 8f31ca308b03c0ee6c2680c4ed5510e448692ecd)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:48:28 +01:00
Kevin Hao
fe98984c49 meta-yocto-bsp: Bump to the v5.10.55
Build and boot test for all the boards.

(From meta-yocto rev: 8b5c126510dbf265dc494ff7c8decbae63f5b597)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:48:28 +01:00
Kevin Hao
6d7e0a1535 meta-yocto-bsp: Introduce the v5.13 bbappend
Build and boot test for all the boards.

(From meta-yocto rev: e22b4c9e305f71d71d23b7678e284d5c31a53856)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:48:28 +01:00
Richard Purdie
1900cb43f1 devupstream: Allow support of native class extensions
It is useful to be able to use the class with recipes using BBCLASSEXTEND
for native extensions. This adds the magic required to do that.

[YOCTO #11449]

(From OE-Core rev: 17bab13b0f2431757d8ddd66489bb720c13a0320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
174ceef844 image: Drop COMPRESS_CMD
This was replaced by CONVERSION_CMD a long time ago and is no longer referenced
in core. Remove the references to it.

(From OE-Core rev: 576d52cdaca047d290c3b10b26aa2244da230dbb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
34cc76ff05 image/image_types: Convert CONVERSION_CMD/COMPRESS_CMD to new override syntax
For consistency, use override syntax for these variables as well since
it is more consistent with the rest of the image code. We may be able to use
these as proper overrides in due course.

(From OE-Core rev: 52674c4b1fdf79829095031b2e342d44fb0dc181)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
ab0cba3411 uboot-extlinux-config: Fix missing override conversion
(From OE-Core rev: 988e6c5a6add25ccd1d880f4d4f8c257afde4e47)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
ea984415f6 meta: Convert IMAGE_TYPEDEP to use override syntax
The IMAGE_TYPEDEP variable would make more sense to match the form of the
other image override variables, convert it to use the overrides format.

(From OE-Core rev: 8573f6b2a7af9867da0b21936ffd2cd2a417de1d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Chen Qi
866d0756d0 iputils: fix do_configure failure of missing ip command
If 'testimage' and 'testsdk' are not inherited, the 'ip'
comamnd will not be in HOSTTOOLS. This results in do_configure
failure of iputils. Backport a patch and skipping building
tests to fix the problem.

(From OE-Core rev: 99cbd4eb95599abdceb7cbb228ff7e74a6a29a09)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Joshua Watt
b8da5a7c22 libxft: Fix bad PKG value
The PKG value should only be munged for DEBIAN_NAMES during
populate_packages. Otherwise, native packages can have the wrong value.

(From OE-Core rev: e77dc392a33d93ab2becd438b6b17705c675dcd5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Denys Dmytriyenko
0d141e732f libwpe: remove rpi-specific custom code
This recipe was ported from another layer, which had special handling for rpi.

OE-Core doesn't have 'rpi' override, doesn't define 'vc4graphics' DISTRO_FEATURES
and overall, BSP-specifics should be handled in downstream layers, not in OE-Core.

(From OE-Core rev: 80ef74e47bee58efc9b5c46bf76b2bceab0957fe)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Denys Dmytriyenko
b26e9eed52 convert-overrides.py: handle few more cases of overrides
Add task-configure and few more supported values of TARGET_OS override.

(From OE-Core rev: 1172f9593902f28ddd8da47de6bd51cda9a0f86a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Denys Dmytriyenko
fdf57744b4 meta: convert nested overrides leftovers to new syntax
Those were missed in previous rounds of automated and manual conversion.

(From OE-Core rev: 22f9c7268b542baf6cd8aa0e34c8fb7aa1579e08)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Saul Wold
4875b8989b MAINTAINERS: Saul will cover devtool and eSDK
(From OE-Core rev: 2b8fce67d687729b62c237fe46f9a0758a324dd1)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Lee Chee Yang
7f62ab77ae aspell: fix CVE-2019-25051
(From OE-Core rev: 297f8c4eb4ff209b5ea69910902d216d86dbe2bf)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Chen Qi
3c492c59c0 insane.bbclass: fix the file-rdeps QA message for the new override syntax
Instead of replacing '_<pkg>', we should be replacing ':<pkg>'.
Otherwise, when we meet a 'file-rdeps' QA error, the error message would be
like below.

  QA Issue: /usr/lib64/libatopology.so.2.0.0:libatopology contained in package libatopology ...

The ':libatopology' should not be in the error message.

(From OE-Core rev: d65541c13b1346468dce749523b1dc04cfb7f70e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Matthias Klein
f83a4482a9 runqemu: decouple bios and kernel options
This will allow the use of a bios (e.g. U-Boot) in combination with
a WIC file (from which U-Boot loads the kernel).

(From OE-Core rev: 5fc65c9d18679b62b13fead7b91126c665525884)

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Matthias Klein
6d90c0e47a runqemu: Fix typo in error message
(From OE-Core rev: 5cc0051d50974e198313f9513b24fd7ae9a96dd4)

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
c568dd9799 license: Exclude COPYING.MIT from pseudo
Along with the other license exclusions, we need to exclude the
top level COPYING.MIT file else when:

COPY_LIC_DIRS     = "1"
COPY_LIC_MANIFEST = "1"

is set, we see eSDK failures from a pseudo abort.

[YOCTO #14366]

(From OE-Core rev: 3eb580843de3f055e42fcce60b0f15c4190c0542)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
23df84524f local.conf.sample: Fix missed override conversion
(From meta-yocto rev: 1e7a636bee31afb508be20345962e0deb3126fdf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 19:30:23 +01:00
Michael Halstead
f64b796093 releases: update to include 3.3.1
Adding 3.3.1 to documentation switcher and release list.

(From yocto-docs rev: 3c98afb0fefd889e8036639d9a2c775b73b237c2)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 11:20:48 +01:00
Richard Purdie
92d8bd0eb5 bitbake: data_smart: Fix inactive overide accidental variable value corruption
Setting something like:

  BAR:append:unusedoverride

should cause BAR to be None, not "" which was what the datastore was
returning. This caused problems when mixing variables like:

  RDEPENDS:${PN}:inactiveoverride
  RDEPENDS:${BPN}

since key expansion would report key overlap when there was none. This
is a bug in the datastore. Fix it and add a test too.

[YOCTO #14088]

(Bitbake rev: 699e36c270d863258502d315ed00a1b940bfbf96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:43 +01:00
zangrc
70137f689f python3-pip: upgrade 21.1.3 -> 21.2.1
Process
The source distribution re-installation feature removal has been delayed to 21.3.

(From OE-Core rev: bc744bad1e338445d5fa02471cdd6389ce44fabf)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Khem Raj
da75a0e1c1 mesa: Define a fallback for DRIDRIVERS
Some machines may not define this variable, in such cases bitbake fails
to parse

run.do_configure.3766843: line 164: -Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}: bad substitution

(From OE-Core rev: b68790713fee4de4fa81762526b941ba76b66866)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
zangrc
3bac23a5fe python3-dbus: upgrade 1.2.16 -> 1.2.18
(From OE-Core rev: 895574c2df6701c0a6ffe84bce05b63180377eb8)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Mingli Yu
5324b7d6af curl: Upgrade to 7.78.0
Remove libmetalink configure option as this rarely used option is
removed in the new version [1].

[1] 265b14d6b3

(From OE-Core rev: a40524a5c5ad441eebd6b751c2fd66637509ae9d)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Paul Barker
a185e98371 kernel-yocto: Simplify no git repo case in do_kernel_checkout
If the kernel sources are not fetched via git, a local git repository is
created in do_kernel_checkout. In this case we know that there will be
no remote branches and we will already be on the correct branch (since
only one branch will exist). So we can simplify things by skipping these
steps.

This also removes the assumption that the default git branch name will
be "master". Prior to this change, the final git checkout command in
do_kernel_checkout could fail if a local git repo was created and the
user had changed init.defaultBranch in their gitconfig.

(From OE-Core rev: af2a9c92d4498492ca23388c7b4bbed48abdc4d7)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Richard Purdie
103b9f442b vim: Clarify where RDEPENDS/RRECOMMENDS apply
The tricky of using BPN in a common inc file is rather hard to understand.
Simplfy this by moving it to the base vim recipe and use the standard
variable form.

(From OE-Core rev: cffa5930d86a464aceb4764eec510a2b8f5c44a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Michael Opdenacker
355171f4e3 profile-manual: document how to build perf manpages on target
Thanks to closing yocto bug #3388, there is now a simple way
to build the perf manpages for use on the target

(From yocto-docs rev: 12dd3ecb054c1668cdccc220ca21b88635531784)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 17:46:39 +01:00
Michael Opdenacker
9ca793696a ref-manual: remove example recipe source files
These files are not used to build to documentation
and were updated and moved to the "meta-skeleton" layer
(except "mtd-makefile" which is broken and no longer
worth maintaining there, as a recipe for more recent
versions of "mtd-utils" exists).

(From yocto-docs rev: 5fc765fc22e2fa3124089f609db2e60113606c81)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 17:46:39 +01:00
Michael Opdenacker
76053e0f78 manuals: initial documentation for CVE management
This starts to document vulnerability management
and the use of the CVE_PRODUCT variable

(From yocto-docs rev: 2b9199fe490cb3ec126bffc6518646194a94ace4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 17:46:39 +01:00
Stefan Wiehler
090384d9e7 dev-manual: fix source release example script
(From yocto-docs rev: 6c939a3bbc9116d32c73df58f60ceb4809328eb3)

Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 17:46:39 +01:00
Michael Opdenacker
cf6c702686 bitbake: doc: bitbake-user-manual: grammar fix for the number of "metadata"
"metadata" is used both as singular and as plural.
This fixes a case in which the verb has a singular conjugation,
which conflicts with the absence of article indicating a plural case.

(Bitbake rev: fff7ade48d6cb9381284b93742bb2255976d6b41)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 16:09:19 +01:00
Michael Opdenacker
35c14eb918 bitbake: doc: bitbake-user-manual: update bitbake option help
(Bitbake rev: 214d11867ea5dd9f1d7e50e128d45d7cc4eaf7ea)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 16:09:19 +01:00
Michael Opdenacker
2789c74ff3 bitbake: doc: bitbake-user-manual: fix syntax in example and improve description
The previous syntax of the example was clearly incorrect
The example and description were also ambiguous, one could think that
it was "bitbake recipe" instead of "bitbake <recipename>"

(Bitbake rev: 9d6664bbb68fac9bb4fbcbe0b35beb0a022a5a1f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 16:09:19 +01:00
Richard Purdie
0247220336 poky: Use SDKPATHINSTALL instead of SDKPATH
SDKPATHINSTALL is the default installation path used for the SDK but is not
the path encoded into every SDK binary as the default path. This change
allows it to contain things like dates without requiring every nativesdk
recipe to rebuild.

Partially fixes [YOCTO #14100]

(From meta-yocto rev: a62175ee581bd05661717f0fb89dad2a297b4034)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:29 +01:00
Richard Purdie
b0fd19e5d2 local.conf.sample: Bump version so users update their config
It has been a while since we've done this but with the new syntax, users
need to update their local.conf if based off the template. Update the
versions to trigger this.

(From meta-yocto rev: 3c2de959f45b7fdff5db32a9a2c3822dbb1fbd27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:29 +01:00
Kai Kang
aeaafe2fa5 python3-pytest: display correct version info
It does not show correct version info of python3-pytest:

$ pip3 list | grep pytest
pytest             0.0.0

pytest requires setuptools-scm in setup.cfg. It could be met by adding
python3-setuptools-scm-native to dependency and then it will not
download egg file of setuptools-scm during do_compile any more. So
remove 0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
and depend on python3-setuptools-scm-native to make it show the correct
version info.

(From OE-Core rev: 9159db64d3b3c7633deb135e683317fd3e98852c)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
825043ec77 populate_sdk_ext: Fix handling of TOOLCHAIN_HOST_TASK in the eSDK case
The current way TOOLCHAIN_HOST_TASK is handled within eSDK builds is
causing much confusion, even to people who should understand the code.

For a normal SDK, some layers append to TOOLCHAIN_HOST_TASK unconditionally
which is fine, until the eSDK tries to override the variable to it's own
values. It does not support or use packages installed using this variable
and would use native recipes instead, it is a very different approach.

In the referenced bug, binaries are added but not relocated leading to
confusing errors.

To fix this, add a new variables for the eSDK TOOLCHAIN_HOST_TASK
to be explict and force the eSDK code to use this instead. The setVar
in non-parsing context will clear out any appends resolving the current
issues. The patch also gets rid of some dubious task override use.

[YCOTO #14047]

(From OE-Core rev: 30912ba084aa8600156edddbe4f2db0b85e869d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Khem Raj
ccd83269b7 stress-ng: Detemine minimal stack size via sysconf
This helps it compile with glibc 2.34+

(From OE-Core rev: 9150933dc524b6cedc42b063b7a2092e202f3672)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
55a37651ac sstate: Fix rebuilds when changing layer config
When adding a layer which changed SSTATE_EXCLUDEDEPS_SYSROOT, the state
hashes were changing when they should not. This was caused by wider use
of setscene_depvalid which means the dependency on the variable was seen
when it was previously not.

Exclude the variable since this should be be included in the hashes.

(From OE-Core rev: 09725a29365c69ccbd603fe3a1de72189f26d5ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
f62f684de8 sdk: Decouple default install path from built in path
Add SDKPATHINSTALL which is used as the default install location of the SDK
instead of SDKPATH. This means the default install path isn't encoded into
every SDK binary, meaning if a date is used there the entire SDK doesn't
have to rebuild. Most distros can switch to only customise SDKPATHINSTALL
meaning more sstate reuse too.

[YOCTO #14100]

(From OE-Core rev: bc4ee5453560dcefc4a4ecc5657df5cc1666e153)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
54b9a58c20 convert-overrides: Allow script to handle patch/diffs
It is handy to be able to have the script convert a single patch file
and it turns out to be straightforward to make it do this.

(From OE-Core rev: 21df7acc969f47d615d1701ee71f19571de94949)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
8b41a106e4 dropbear: Fix incorrect package override for postrm
This bug has been around for a long time (2011) but fix it to do
what was intended originally. The postrm is changed by classes but
those should append to existing entries.

(From OE-Core rev: 7762b07bf3b0c77b91ad91963ab39d3c73770ebf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bernhard Rosenkränzer
587ef78f57 gcc: update 11.1 -> 11.2
Update gcc, drop patches that have been merged upstream

(From OE-Core rev: 8979de58dc49fb4f8bc55743a1a4bf613c675a4e)

Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
c28de3817e linux-yocto/5.10: enable TYPEC_TCPCI in usbc fragment
To make the usbc fragment more generally usable, we enable
the Type-C Port Controller driver for TCPCI-compliant controller.

(From OE-Core rev: 485baca981188896a555d3a48c8b560718bb6e9d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
0a325880ea linux-yocto/5.13: enable TYPEC_TCPCI in usbc fragment
To make the usbc fragment more generally usable, we enable
the Type-C Port Controller driver for TCPCI-compliant controller.

(From OE-Core rev: 52d98bdaa2a243ce0b3c6dfaff76ecfaf89a0b30)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
b91606ee11 linux-yocto-rt/5.10: update to -rt47
Integrating the following commit(s) to linux-yocto/5.10:

    969fef49cbbc Linux 5.10.52-rt47
    bb5ff998ba62 Linux 5.10.47-rt46
    340f6b6cdd37 sched: Don't defer CPU pick to migration_cpu_stop()
    f3d0be7cdae8 sched: Simplify set_affinity_pending refcounts
    6b28888ca42a sched: Fix affine_move_task() self-concurrency
    ea66e426a3b7 sched: Optimize migration_cpu_stop()
    ac73ac41db62 sched: Collate affine_move_task() stoppers
    6963e6b6e008 sched: Simplify migration_cpu_stop()
    d3a5a12fd350 sched: Fix migration_cpu_stop() requeueing
    28dda3752954 Linux 5.10.47-rt45
    d5f6c5f008ee Linux 5.10.44-rt44
    ec9978fdc6aa Linux 5.10.42-rt43

(From OE-Core rev: 46b1ab616a5eb792e8cb29cfbe340fecd605bea7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
c59873774c linux-yocto/5.4: update to v5.4.135
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    0a0beb1f9120 Linux 5.4.135
    d2f7b384a74f udp: annotate data races around unix_sk(sk)->gso_size
    c72374978b3f perf test bpf: Free obj_buf
    17bc942c0b96 bpftool: Properly close va_list 'ap' by va_end() on error
    84ed8340941a ipv6: tcp: drop silly ICMPv6 packet too big messages
    315033cab379 tcp: annotate data races around tp->mtu_info
    41f45e91c92c dma-buf/sync_file: Don't leak fences on merge failure
    04b06716838b net: fddi: fix UAF in fza_probe
    8aa13a86964c net: validate lwtstate->data before returning from skb_tunnel_info()
    8cff7b28ab05 net: send SYNACK packet with accepted fwmark
    b7e5563f2a78 net: ti: fix UAF in tlan:remove_one
    2b70ca92847c net: qcom/emac: fix UAF in emac:remove
    463c0addb4eb net: moxa: fix UAF in moxart_mac_probe
    7ac4a6a74e75 net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
    d5dc50ca1f7a net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
    7ecd40801e5b net: bridge: sync fdb to new unicast-filtering ports
    813d45499f51 net/sched: act_ct: fix err check for nf_conntrack_confirm
    24973073562f netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
    c6f4a71153f4 net: ipv6: fix return value of ip6_skb_dst_mtu
    9872273b670a net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
    6148ddff2dcb net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
    d73c180e6add dm writecache: return the exact table values that were set
    8a85afc6621a mm: slab: fix kmem_cache_create failed when sysfs node not destroyed
    f53729b828db usb: cdns3: Enable TDL_CHK only for OUT ep
    52b01a808696 f2fs: Show casefolding support only when supported
    91d846016729 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    f696cc7f1bc8 firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    e2b28026b861 arm64: dts: armada-3720-turris-mox: add firmware node
    f7d1fa65e742 cifs: prevent NULL deref in cifs_compose_mount_options()
    06d8a7eb5803 s390: introduce proper type handling call_on_stack() macro
    2a47e0719ae7 sched/fair: Fix CFS bandwidth hrtimer expiry type
    5b7d065868a6 scsi: qedf: Add check to synchronize abort and flush
    0fe70c15f943 scsi: libfc: Fix array index out of bound exception
    d7b647d05586 scsi: libsas: Add LUN number check in .slave_alloc callback
    863c4bc883d5 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
    712e9ed6134f rtc: max77686: Do not enforce (incorrect) interrupt trigger type
    199d8ea4c7b1 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
    484193b635a7 thermal/core: Correct function name thermal_zone_device_unregister()
    556cf0283035 arm64: dts: imx8mq: assign PCIe clocks
    9d3eb68a5385 arm64: dts: ls208xa: remove bus-num from dspi node
    e054b361caec firmware: tegra: bpmp: Fix Tegra234-only builds
    94d009577033 soc/tegra: fuse: Fix Tegra234-only builds
    270a2e9fafea ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
    4bc66215bc22 ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
    856c753237ae ARM: dts: rockchip: fix supply properties in io-domains nodes
    c5bb9cc2ce23 arm64: dts: juno: Update SCPI nodes as per the YAML schema
    f572a9139396 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
    95e795474c81 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
    a898aa9f88cc ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
    5c17edaaead7 ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
    3446233096ff ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
    e79e29a4e162 kbuild: sink stdout from cmd for silent build
    f817d4677582 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
    0a22b5178276 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
    e20e85639e25 ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
    a5b19d33ae22 ARM: dts: Hurricane 2: Fix NAND nodes names
    f83535a47ff8 ARM: dts: BCM63xx: Fix NAND nodes names
    cb05b84ad7f1 ARM: NSP: dts: fix NAND nodes names
    14e3bad3b548 ARM: Cygnus: dts: fix NAND nodes names
    587a757afe73 ARM: brcmstb: dts: fix NAND nodes names
    a9c32c7aeee6 reset: ti-syscon: fix to_ti_syscon_reset_data macro
    b400afa42739 arm64: dts: rockchip: Fix power-controller node names for rk3328
    dfb4e8ed0792 arm64: dts: rockchip: Fix power-controller node names for px30
    789070f17886 ARM: dts: rockchip: Fix power-controller node names for rk3288
    6aaffe6ce8a9 ARM: dts: rockchip: Fix power-controller node names for rk3188
    439115ee56d8 ARM: dts: rockchip: Fix power-controller node names for rk3066a
    3b4c34728382 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
    c9d29d62da59 ARM: dts: rockchip: Fix the timer clocks order
    d105e15de610 arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
    cfe3d29e5cde ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
    79573c64410b ARM: dts: gemini: add device_type on pci
    7037876393ce ARM: dts: gemini: rename mdio to the right name

(From OE-Core rev: 5c36549fab7cc27bd2f4f9e8b6be1ec8546d32bd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
fdef1c9372 linux-yocto/5.13: update to v5.13.5
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    25423f4bd9a9 Linux 5.13.5
    c50bcc85a057 mt76: mt7921: continue to probe driver when fw already downloaded
    c1b582a7e364 udp: properly flush normal packet at GRO time
    e3104dccdd79 udp: annotate data races around unix_sk(sk)->gso_size
    010f5d09fa32 firmware: arm_scmi: Avoid padding in sensor message structure
    90ed7e5771ea drm/panel: nt35510: Do not fail if DSI read fails
    fcd280d92bad perf test bpf: Free obj_buf
    599148d40366 bpf: Track subprog poke descriptors correctly and fix use-after-free
    4edc469e4a63 bpftool: Properly close va_list 'ap' by va_end() on error
    a3b4cb28a2e8 tools: bpf: Fix error in 'make -C tools/ bpf_install'
    e023c648a764 tcp: call sk_wmem_schedule before sk_mem_charge in zerocopy path
    c0fea93d9f77 ipv6: tcp: drop silly ICMPv6 packet too big messages
    fe77b85828ca tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized
    341dd0904d4f tcp: annotate data races around tp->mtu_info
    108727841c25 tcp: consistently disable header prediction for mptcp
    ed8c953ef967 ARM: dts: everest: Add phase corrections for eMMC
    cc02a1bd5b7b ARM: dts: tacoma: Add phase corrections for eMMC
    5cc4abeab14f ARM: dts: aspeed: Fix AST2600 machines line names
    6f6f8f894a55 vboxsf: Add support for the atomic_open directory-inode op
    53c4f60ed9dd vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
    6e64fd2f677f vboxsf: Make vboxsf_dir_create() return the handle for the created file
    1f7cdb5def52 vboxsf: Honor excl flag to the dir-inode create op
    753b33d387ec kbuild: do not suppress Kconfig prompts for silent build
    19edcd97727a dma-buf/sync_file: Don't leak fences on merge failure
    bdfbb51f7a43 net: fddi: fix UAF in fza_probe
    d7243e2ab1c6 net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
    a915379594f1 net: validate lwtstate->data before returning from skb_tunnel_info()
    12917871d234 net: do not reuse skbuff allocated from skbuff_fclone_cache in the skb cache
    d731dcbcefd2 net: send SYNACK packet with accepted fwmark
    93efab0ef2a6 net: ti: fix UAF in tlan:remove_one
    8a225a6e07a5 net: qcom/emac: fix UAF in emac:remove
    aa92c87dc2d8 net: moxa: fix UAF in moxart_mac_probe
    db3177b7ff0e net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
    02906fda9e7f net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
    fd51ccd9c971 net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    c5e07e8c8ec8 net: marvell: always set skb_shared_info in mvneta_swbm_add_rx_fragment
    3863428b04be net: bridge: sync fdb to new unicast-filtering ports
    fda8adcbbc70 net/sched: act_ct: remove and free nf_table callbacks
    c3eb534eae09 vmxnet3: fix cksum offload issues for tunnels with non-default udp ports
    70a5a1950cca netfilter: nf_tables: Fix dereference of null pointer flow
    c6eb7ce9f11c net/sched: act_ct: fix err check for nf_conntrack_confirm
    a598091fc909 netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
    f6eaa0620312 net: ipv6: fix return value of ip6_skb_dst_mtu
    231ea2169024 net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
    c57e63264dfb net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
    8eef55a59620 net: dsa: mv88e6xxx: enable devlink ATU hash param for Topaz
    0104c68efb3e net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
    8263e5c08f46 net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
    36d57bbdf93f net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
    c74ded51a37f net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
    8c4f51b15196 f2fs: Show casefolding support only when supported
    ac1714556003 mm/userfaultfd: fix uffd-wp special cases for fork()
    fd26ee0a1a82 mm/thp: simplify copying of huge zero page pmd when fork
    b33e80b18a0a Revert "mm/shmem: fix shmem_swapin() race with swapoff"
    58d7ce3934ae Revert "swap: fix do_swap_page() race with swapoff"
    03c03b893661 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    cffb7390312e firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    ae3d181f4e91 cifs: prevent NULL deref in cifs_compose_mount_options()
    c007614e78a1 s390: introduce proper type handling call_on_stack() macro
    6ef3f584b593 s390/traps: do not test MONITOR CALL without CONFIG_BUG
    09f1a8d85ec1 thermal/core/thermal_of: Stop zone device before unregistering it
    505c12a1bd71 perf/x86/intel/uncore: Clean up error handling path of iio mapping
    06d6142e1421 sched/fair: Fix CFS bandwidth hrtimer expiry type
    8997002a88aa scsi: qedf: Add check to synchronize abort and flush
    8511293e643a scsi: libfc: Fix array index out of bound exception
    f661723909ad scsi: libsas: Add LUN number check in .slave_alloc callback
    9015de5e72d0 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
    1c033966a916 rtc: max77686: Do not enforce (incorrect) interrupt trigger type
    2a04a3607548 arch/arm64/boot/dts/marvell: fix NAND partitioning scheme
    26125ddc6904 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
    4a7f9e9b24b9 arm64: dts: qcom: sm8150: Disable Adreno and modem by default
    81c2374228cf arm64: dts: qcom: sm8250: Fix pcie2_lane unit address
    9e159edfefb1 thermal/drivers/sprd: Add missing of_node_put for loop iteration
    9a70f266994e thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
    82ad14246066 thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
    c3e1034bf7a2 thermal/core: Correct function name thermal_zone_device_unregister()
    bbb41aa6ee41 arm64: dts: imx8: conn: fix enet clock setting
    6d14b0e1cea1 arm64: dts: imx8mq: assign PCIe clocks
    646b6021ff2e arm64: dts: imx8mn-beacon-som: Assign PMIC clock
    5345699a5297 arm64: dts: ls208xa: remove bus-num from dspi node
    cef210690a7a arm64: dts: rockchip: Update RK3399 PCI host bridge window to 32-bit address memory
    ee3acd45dc45 firmware: tegra: bpmp: Fix Tegra234-only builds
    ad36bf954334 soc/tegra: fuse: Fix Tegra234-only builds
    7d9beefb89d0 ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
    72ea603ebc7f arm64: dts: qcom: sc7180: Add wakeup delay for adau codec
    a38e8678f0ad ARM: dts: stm32: fix stpmic node for stm32mp1 boards
    6ea5c31a9ff6 ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N on DHCOM SoM
    208d0b5c4fe8 ARM: dts: stm32: Rename eth@N to ethernet@N on DHCOM SoM
    5ba5ec23b95d ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
    1ff4043818da ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply
    d3ad6193b11b ARM: dts: stm32: fix ltdc pinctrl on microdev2.0-of7
    45134048d407 ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
    c68df704e91f ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
    4d74e43113bc ARM: dts: rockchip: fix supply properties in io-domains nodes
    b6824bc92923 arm64: dts: juno: Update SCPI nodes as per the YAML schema
    6ddae8441dc2 i3c: master: svc: drop free_irq of devm_request_irq allocated irq
    81cc76202847 ARM: dts: bcm283x: Fix up GPIO LED node names
    97b95aa1abfc ARM: dts: bcm283x: Fix up MMC node names
    668f66189026 ARM: dts: aspeed: Everest: Fix cable card PCA chips
    9a92a6efb8e6 firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected
    b9e7b8c0b9ef firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
    8ec19b8b9c33 memory: tegra: Fix compilation warnings on 64bit platforms
    bf6e424135e3 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
    9e4183ab28b0 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
    5d36882a85f7 ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
    2a735d7a8167 ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
    ea9312e7804e ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
    39fb433494c2 ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
    1dfe852260bd arm64: dts: qcom: sc7180: Move rmtfs memory region
    58e1d4a68cb5 arm64: dts: qcom: sm8250: fix display nodes
    638c3fc9774e arm64: dts: qcom: sm8350: fix the node unit addresses
    3df317941718 ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant
    94c054179d17 ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
    cf48dfa5aa26 arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction
    105f6beddcb8 arm64: tegra: Add PMU node for Tegra194
    7ac85c09d5be ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names
    7752857c652f ARM: dts: am335x: fix ti,no-reset-on-init flag for gpios
    7bfbec1bf56f ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
    24df090958a3 ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
    1b45d9048ff4 kbuild: sink stdout from cmd for silent build
    3e079812f469 arm64: dts: renesas: beacon: Fix USB ref clock references
    27469bcc5b05 arm64: dts: renesas: beacon: Fix USB extal reference
    b5f38dc8381c rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
    0c5b081a4d0a ARM: dts: ux500: Fix orientation of Janice accelerometer
    15cd8eb0c2e6 ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value
    4f0520fad7d8 ARM: dts: ux500: Fix some compatible strings
    b28ddd20572a ARM: dts: ux500: Fix orientation of accelerometer
    7f1d0da1cc41 ARM: dts: ux500: Rename gpio-controller node
    049ec888cd62 ARM: dts: ux500: Fix interrupt cells
    ea98b9eb6862 arm64: dts: rockchip: fix regulator-gpio states array
    9680f1e8f8b5 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
    9b3161825b24 ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
    f686c2ca9145 soc: mediatek: add missing MODULE_DEVICE_TABLE
    556e5beac048 soc: bcm: brcmstb: remove unused variable 'brcmstb_machine_match'
    3e3a7d2bf0d5 ARM: dts: BCM5301X: Fix pinmux subnodes names
    d8428468f91a ARM: dts: Hurricane 2: Fix NAND nodes names
    051500990321 ARM: dts: BCM63xx: Fix NAND nodes names
    c477ee9b6402 ARM: NSP: dts: fix NAND nodes names
    14a49e42f74c ARM: Cygnus: dts: fix NAND nodes names
    12e303c937a2 ARM: brcmstb: dts: fix NAND nodes names
    ca57a034e846 ARM: dts: BCM5301X: Fix NAND nodes names
    ea49b15d27f0 reset: ti-syscon: fix to_ti_syscon_reset_data macro
    ac00948749f1 arm64: dts: rockchip: Fix power-controller node names for rk3399
    e2cc3578a628 arm64: dts: rockchip: Fix power-controller node names for rk3328
    0ff2235f030a arm64: dts: rockchip: Fix power-controller node names for px30
    5ada42440f49 ARM: dts: rockchip: Fix power-controller node names for rk3288
    0151a90fc279 ARM: dts: rockchip: Fix power-controller node names for rk3188
    af5ca9f83fad ARM: dts: rockchip: Fix power-controller node names for rk3066a
    9015d0c9b072 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
    991661f15817 ARM: dts: rockchip: Fix the timer clocks order
    670079df8659 arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
    5980cb81f165 arm64: dts: rockchip: Use only supported PCIe link speed on rk3399
    68d1369daf96 ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
    deacb07e91be ARM: dts: rockchip: Fix thermal sensor cells o rk322x
    f6e1fd15b3ee ARM: dts: gemini: add device_type on pci
    6f9ba39547e2 ARM: dts: gemini: rename mdio to the right name

(From OE-Core rev: f7b13c570cbf5d92e265217641609808ef76860b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
81c58352d8 linux-yocto/5.10: update to v5.10.53
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    71046eac2db9 Linux 5.10.53
    6cd9bd2a2ddb udp: annotate data races around unix_sk(sk)->gso_size
    bfdb38a4268a drm/panel: nt35510: Do not fail if DSI read fails
    0d90d8492fb9 perf test bpf: Free obj_buf
    a9f36bf3613c bpf: Track subprog poke descriptors correctly and fix use-after-free
    782d71e29b29 bpftool: Properly close va_list 'ap' by va_end() on error
    2381b8e882d0 tools: bpf: Fix error in 'make -C tools/ bpf_install'
    638632997c31 tcp: call sk_wmem_schedule before sk_mem_charge in zerocopy path
    2fee3cf4c97b ipv6: tcp: drop silly ICMPv6 packet too big messages
    ad4ba3404931 tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized
    d60f07bcb76f tcp: annotate data races around tp->mtu_info
    ea66fcb29605 tcp: consistently disable header prediction for mptcp
    c28c747e37db ARM: dts: tacoma: Add phase corrections for eMMC
    e55160537d76 ARM: dts: aspeed: Fix AST2600 machines line names
    ff4b8f35c96c kbuild: do not suppress Kconfig prompts for silent build
    0d514185ae79 dma-buf/sync_file: Don't leak fences on merge failure
    f33605908a9b net: fddi: fix UAF in fza_probe
    66c73f187d1e net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
    7d7d0e84ac0d Revert "mm/shmem: fix shmem_swapin() race with swapoff"
    2179d96ec702 net: validate lwtstate->data before returning from skb_tunnel_info()
    b61d8814c477 net: send SYNACK packet with accepted fwmark
    f2a062fcfe1d net: ti: fix UAF in tlan:remove_one
    b560521eca03 net: qcom/emac: fix UAF in emac:remove
    dbbf5b957bd9 net: moxa: fix UAF in moxart_mac_probe
    88ff9ec9c67a net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
    846829e75db5 net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
    b9fa66072fee net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    59070cc43d1d net: bridge: sync fdb to new unicast-filtering ports
    7b5a2910e782 net/sched: act_ct: remove and free nf_table callbacks
    6d4476236f79 vmxnet3: fix cksum offload issues for tunnels with non-default udp ports
    c3bc9ce7d400 net/sched: act_ct: fix err check for nf_conntrack_confirm
    fc40fdefd94a netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
    34365de50806 net: ipv6: fix return value of ip6_skb_dst_mtu
    73146745ff28 net: dsa: mv88e6xxx: enable devlink ATU hash param for Topaz
    a8c7ba368748 net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
    14cd8ce80ad7 net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
    c657413dcddf net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
    fcb970edc0be net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
    4e275a4aca68 usb: cdns3: Enable TDL_CHK only for OUT ep
    ce6ee46e0f39 mm/page_alloc: fix memory map initialization for descending nodes
    9e1cf2d1ed37 mm/userfaultfd: fix uffd-wp special cases for fork()
    84ff5f66c3f6 mm/thp: simplify copying of huge zero page pmd when fork
    a62177b35730 f2fs: Show casefolding support only when supported
    277b311ae170 Revert "swap: fix do_swap_page() race with swapoff"
    d92aa22f2419 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    0e67c76384e9 firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    e58c162789be cifs: prevent NULL deref in cifs_compose_mount_options()
    faa3e7da487a s390: introduce proper type handling call_on_stack() macro
    be10fff3a461 s390/traps: do not test MONITOR CALL without CONFIG_BUG
    9beba1469996 thermal/core/thermal_of: Stop zone device before unregistering it
    7412c988fe12 perf/x86/intel/uncore: Clean up error handling path of iio mapping
    892387e7619e sched/fair: Fix CFS bandwidth hrtimer expiry type
    eb859b043c2e scsi: qedf: Add check to synchronize abort and flush
    a4a54c54af25 scsi: libfc: Fix array index out of bound exception
    0d7596a954f1 scsi: libsas: Add LUN number check in .slave_alloc callback
    2f8df6332eb2 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
    cdb995a6cbb5 rtc: max77686: Do not enforce (incorrect) interrupt trigger type
    d3ba15fb0401 arch/arm64/boot/dts/marvell: fix NAND partitioning scheme
    e378db118925 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
    8c12a3a68d4f thermal/drivers/sprd: Add missing of_node_put for loop iteration
    20babcd83092 thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
    469951ce4bb0 thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
    bd40e2da3ae5 thermal/core: Correct function name thermal_zone_device_unregister()
    6c099d595fd7 arm64: dts: imx8mq: assign PCIe clocks
    24c41aa9d01b arm64: dts: ls208xa: remove bus-num from dspi node
    7e3f5739cccb firmware: tegra: bpmp: Fix Tegra234-only builds
    7c03982fa134 soc/tegra: fuse: Fix Tegra234-only builds
    ffa6f08be14a ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
    f40a7c9b8ee1 ARM: dts: stm32: fix stpmic node for stm32mp1 boards
    2670d3d1ef47 ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N on DHCOM SoM
    26cd441c529d ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
    a5bc2a2d838e ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply
    e27052f21a2f ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
    6a7af6347810 ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
    160c92d728f3 ARM: dts: rockchip: fix supply properties in io-domains nodes
    d671fae04648 arm64: dts: juno: Update SCPI nodes as per the YAML schema
    fc71d8df5807 ARM: dts: bcm283x: Fix up GPIO LED node names
    4bc03e321f2a ARM: dts: bcm283x: Fix up MMC node names
    15d727c044d5 firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected
    b4009ea92f29 firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
    41e2bcca23f1 memory: tegra: Fix compilation warnings on 64bit platforms
    7ad965c8a723 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
    ccec32f77144 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
    bfbc4b482078 ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
    34ec6702a2a1 ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
    44f4e344f4f0 ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
    3534a4b2d059 ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
    8da771b5527c arm64: dts: qcom: sc7180: Move rmtfs memory region
    a74d3bbe0553 ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant
    e89f4098d528 ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
    c8815d6fee79 arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction
    28d2ae98154e ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names
    a73a22a69f6a ARM: dts: am335x: fix ti,no-reset-on-init flag for gpios
    ddf2d14894d0 ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
    a09b4c444941 ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
    3f0948569997 kbuild: sink stdout from cmd for silent build
    27582c9fa294 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
    6f5891a560df ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value
    5190a6604a10 ARM: dts: ux500: Fix orientation of accelerometer
    61fda04276bb ARM: dts: ux500: Rename gpio-controller node
    985947c53555 ARM: dts: ux500: Fix interrupt cells
    ff9ef21bb6fb arm64: dts: rockchip: fix regulator-gpio states array
    31e1b8c07d35 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
    d05ebeffca1d ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
    249d8e4ea168 ARM: dts: Hurricane 2: Fix NAND nodes names
    f6541401dbd6 ARM: dts: BCM63xx: Fix NAND nodes names
    b5fc6b9ab427 ARM: NSP: dts: fix NAND nodes names
    5f844007eb91 ARM: Cygnus: dts: fix NAND nodes names
    9525d58c5af8 ARM: brcmstb: dts: fix NAND nodes names
    4e8eb51ae633 reset: ti-syscon: fix to_ti_syscon_reset_data macro
    cabcb576fc3e arm64: dts: rockchip: Fix power-controller node names for rk3399
    81ea23d988f9 arm64: dts: rockchip: Fix power-controller node names for rk3328
    e4f97b740d6a arm64: dts: rockchip: Fix power-controller node names for px30
    95b64be2e741 ARM: dts: rockchip: Fix power-controller node names for rk3288
    5881af8d692b ARM: dts: rockchip: Fix power-controller node names for rk3188
    70abb828312a ARM: dts: rockchip: Fix power-controller node names for rk3066a
    fc01549d7b87 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
    55014c38e73d ARM: dts: rockchip: Fix the timer clocks order
    2e1f681b680c arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
    7d3408c72336 ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
    e2d1e4416174 ARM: dts: rockchip: Fix thermal sensor cells o rk322x
    c8f0cef75dd7 ARM: dts: gemini: add device_type on pci
    191523dcfa68 ARM: dts: gemini: rename mdio to the right name

(From OE-Core rev: 73d94f33b328200fbf9655ab71381a27e6f55bf8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Trevor Woerner
b0bc3f523f ffmpeg: add libatomic for armv5
The GNU Atomic library is a GCC support runtime library for atomic
operations not supported by hardware.

Otherwise we get the following when building:

	| arm-oe-linux-gnueabi-gcc -mcpu=arm926ej-s -mfpu=vfp -mfloat-abi=hard -marm --sysroot=.../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  --sysroot=.../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot -mcpu=arm926ej-s -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample   -o ffprobe_g fftools/cmdutils.o fftools/ffprobe.o  -lavdevice -lavfilter -lavformat -lavcodec -lavresample -lswresample -lswscale -lavutil  -lm -lxcb -lxcb-shm -lxcb-shape -lxcb-xfixes -lasound -lXv -lX11 -lXext -pthread -lm -lm -lbz2 -lz -pthread -lm -llzma -lz -ltheoraenc -ltheoradec -logg -lm -lm -lm -pthread -lm -lXv -lX11 -lXext
	| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8'
	| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_store_8'
	| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_load_8'
	| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_add_8'
	| collect2: error: ld returned 1 exit status

(From OE-Core rev: 677568b2cacf4db9468a08127ee2d19e6544f438)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Michael Opdenacker
3778e45af9 meta-skeleton: add recipe examples from documentation sources
This adds three examples previously located in the yocto-docs
repository (under documentation/ref-manual/examples).

The examples were not used for building the documentation
so it's better to keep them here where they can automatically be
tested.

Fixed the "hello-single" to add a version number to the .bb file.
After this, all examples build fine with the "master" branch of Poky.

Note that the "mtd-utils" example, and example of a recipe
for an Autotools page, was not copied over. It doesn't build any
more, and anyway, we already have an official recipe for a recent version
of "mtd-utils" in OE-core.

(From OE-Core rev: a186c746e431831ccbd459be2175cdaa7ed42a54)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Chen Qi
697d460090 zstd: fix CVE_PRODUCT
zstd uses 'zstandard' in NVD database. e.g. CVE-2021-24031

(From OE-Core rev: 304eb663e414171d38faeebb3c72e49e6e4e1112)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
wangmy
47f588dc36 diffoscope: upgrade 177 -> 178
(From OE-Core rev: 6cfc180c95e4275c619fc943916306ba5f5ed475)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
wangmy
e5a7abc00d i2c-tools: upgrade 4.2 -> 4.3
4.3 (2021-07-22)
   decode-dimms: Attempt to decode LPDDR3 modules
   eeprom, eepromer: Removed the tools in favor of eeprog
   i2cdetect: Sort the bus list by number

(From OE-Core rev: ca41c972260de9d3ecd2098f19ec90e4e81f252b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
wangmy
61bc8187c4 bind: upgrade 9.16.18 -> 9.16.19
--- 9.16.19 released ---

5671.	[bug]		A race condition could occur where two threads were
			competing for the same set of key file locks, leading to
			a deadlock. This has been fixed. [GL #2786]

5670.	[bug]		create_keydata() created an invalid placeholder keydata
			record upon a refresh failure, which prevented the
			database of managed keys from subsequently being read
			back. This has been fixed. [GL #2686]

5669.	[func]		KASP support was extended with the "check DS" feature.
			Zones with "dnssec-policy" and "parental-agents"
			configured now check for DS presence and can perform
			automatic KSK rollovers. [GL #1126]

5668.	[bug]		Rescheduling a setnsec3param() task when a zone failed
			to load on startup caused a hang on shutdown. This has
			been fixed. [GL #2791]

5667.	[bug]		The configuration-checking code failed to account for
			the inheritance rules of the "dnssec-policy" option.
			This has been fixed. [GL #2780]

5666.	[doc]		The safe "edns-udp-size" value was tweaked to match the
			probing value from BIND 9.16 for better compatibility.
			[GL #2183]

5665.	[bug]		If nsupdate sends an SOA request and receives a REFUSED
			response, it now fails over to the next available
			server. [GL #2758]

5664.	[func]		For UDP messages larger than the path MTU, named now
			sends an empty response with the TC (TrunCated) bit set.
			In addition, setting the DF (Don't Fragment) flag on
			outgoing UDP sockets was re-enabled. [GL #2790]

5662.	[bug]		Views with recursion disabled are now configured with a
			default cache size of 2 MB unless "max-cache-size" is
			explicitly set. This prevents cache RBT hash tables from
			being needlessly preallocated for such views. [GL #2777]

5661.	[bug]		Change 5644 inadvertently introduced a deadlock: when
			locking the key file mutex for each zone structure in a
			different view, the "in-view" logic was not considered.
			This has been fixed. [GL #2783]

5658.	[bug]		Increasing "max-cache-size" for a running named instance
			(using "rndc reconfig") did not cause the hash tables
			used by cache databases to be grown accordingly. This
			has been fixed. [GL #2770]

5655.	[bug]		Signed, insecure delegation responses prepared by named
			either lacked the necessary NSEC records or contained
			duplicate NSEC records when both wildcard expansion and
			CNAME chaining were required to prepare the response.
			This has been fixed. [GL #2759]

5653.	[bug]		A bug that caused the NSEC3 salt to be changed on every
			restart for zones using KASP has been fixed. [GL #2725]

(From OE-Core rev: 8afda7983aa6476eb5d44962e99992eb479eff1f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
087070bf21 shadow: update 4.8.1 -> 4.9
Add a couple backports to fix builds.

Drop 0002-Allow-for-setting-password-in-clear-text.patch;
what it adds is horribly insecure and AB testing didn't reveal any
regressions or use cases for it.

Drop /etc/default/ tweaks as files are no longer installed there.

Drop manpage alternatives as manpages are no longer installed.

(From OE-Core rev: 759df7395908f18b3b68f28d043ac9ebd42dd0c8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
ebee9854d7 selftest: add core-image-weston to no-gpl3-no-meta-gpl2 image test
This demonstrates more of the tricks and techniques that can be used
to achieve gpl3-free images withough having to roll back to ancient
versions of various core items via meta-gpl2.

(From OE-Core rev: cb78db7aa14f147ce79c12539c9435cab06f92bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
ab407efcb0 rpm: do not RRECOMMEND rpm-build
This avoids pulling in perl, python and (especially) bash;
rpm building functionality should be neither hard nor soft
dependency of rpm package management.

(From OE-Core rev: ff0e05241a3b61415dc24a8bc2104b4be04b8fc7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
41753ff4f7 devtool: print a warning on upgrades if PREFERRED_VERSION is set
(From OE-Core rev: 0b0f53eed0aadbf45d9eead96ebf7725cc7447e6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
f1a277433c freetype: update 2.10.4 -> 2.11.0
License-Update: formatting, changed location in source tree.

(From OE-Core rev: 28023ea2193405987062aa86d199d7844716cfe6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
3665b46e5f iputils: update 20210202 -> 20210722
Drop rdisc part from 0001-rarpd-rdisc-Drop-PrivateUsers.patch
as it's been fixed upstream; rarpd still isn't.

(From OE-Core rev: 521a8b2161614db50deed16a7a70d924b8ffe12f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
0b46f264a4 util-linux: update 2.37 -> 2.37.1
Drop backports.

(From OE-Core rev: d50e8b73c81af52bacc2125c8fe4828ad2da2ef3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
5322c500c2 mtools: update 4.0.32 -> 4.0.34
Drop no-x11.gplv3.patch (the libraries are now
dynamically enabled from configure.in).

(From OE-Core rev: b9b628b55b5c2982145a333686338e757827f499)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
332cadc059 cmake: update 3.21.0 -> 3.21.1
(From OE-Core rev: 7991406204d68c9c30aeacd5200d09f256d17fe6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
bc40dd5357 sanity.conf: Require bitbake 1.51.1
We require 1.51.1 which has the override syntax changes in it.

(From OE-Core rev: 1da9f55ed84c3bec2dda080fb10613752dbd5685)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
7dee8924ca local.conf.sample: Bump version so users update their config
It has been a while since we've done this but with the new syntax, users
need to update their local.conf if based off the template. Update the
versions to trigger this.

(From OE-Core rev: 5452f1ba337685cf89d3429e08255450ab90b96f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
65133015b1 meta: Manual override fixes
The automated conversion of OE-Core to use the new override sytax isn't
perfect. This patches some mis-converted lines and some lines which were missed
by the automation.

(From OE-Core rev: 4e9a06b64b43131b731fb59a0305f78a98e27fbd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
bb6ddc3691 Convert to new override syntax
This is the result of automated script conversion:

scripts/contrib/convert-overrides.py <oe-core directory>

converting the metadata to use ":" as the override character instead of "_".

(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
fcc456ee4b layer.conf: Override changes mean we're only compatible with honister
Due to the override changes, we only allow compatibility with honister and
not hardknott.

(From OE-Core rev: 72c04cb3ca78208a135275d6dd43ad500b663cb5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
d1ff0ac9df bitbake: bitbake: Update to version 1.51.1
(Bitbake rev: ca88466f6d244042b12b66ccd69e27ca2f057d17)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
4512f767ea bitbake: doc/lib: Add fixes for issues missed by the automated conversion
The examples and tests use non-standard override names, convert these to
the new syntax by hand.

(Bitbake rev: a6c40eca1146c0160da7e4e0bd7ac52fef2029e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
2d7cf6c056 bitbake: doc/lib: Update to use new override syntax containing colons
This runs the overrides conversion script in OE-Core over the bitbake code
base including the docs. A handful of things were excluded in toaster
and for the Changelog file.

(Bitbake rev: 47f8d3b24fd52381bf3b41e2f55a53e57841344c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
2abf8a699e bitbake: bitbake: Switch to using new override syntax
This change updates the datastore to use the new override syntax using
colons instead of underscores exclusively. It is expected layers would
have to be converted to work with bitbake after this change.

Supporting mixed syntax isn't possible, it is only feasible to have
one internal representation of overrides.

Whilst we can't warn for every possible override that may be set in the
old format, show errors for _append/_prepend/_remove since those should
never be present.

(Bitbake rev: 7dcf317cc141dc980634f8c18bfa84f83e57206a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
f735627e7c common-tasks: Fix conversion error in npm example
(From yocto-docs rev: a6441aa5765be4a121a45ede94ca6d4c6fedf4ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:52:19 +01:00
Michael Opdenacker
d664794cce manuals: remove explicit BitBake variable references
The standard :term:`VARIABLE` will refer to the
description of the variable in the YP variable index. If it
doesn't exist, it will refer to the description of the variable
in the BitBake manual.

(From yocto-docs rev: 34cb466caf872f9284eb81f6a5f31ad606214dee)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
38496093d7 manuals: simplify references to BitBake manual
Replacing ":ref:`section name<bitbake:bitbake-user-manual/bitbake-user-manual-<section>:section name>`"
by ":ref:`bitbake:bitbake-user-manual/bitbake-user-manual-<section>:section name`"
when the reference description is the same as the section name.
In this case, that's unnecessary to repeat the section name in the description part.

(From yocto-docs rev: 6a1a590f9ef77dc8842ea5945661135992eb94e1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
1452ac11ee documentation/README: improve BitBake manual referencing guidelines
Removing the ":ref:`-D <bitbake:..." syntax as it's not necessary
Adding more and simpler ways of making references to the BitBake
manual.

(From yocto-docs rev: 7ad087a81e5dca7088c8088cd0cdcf31606baa6e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Richard Purdie
0d527052cb migration-guides: Add start of 3.4 guide with override migration notes
(From yocto-docs rev: e60019c81e63250feaee4937873a90042074030b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
eb31b774b1 dev-manual: fix wrong reference to class
The file 'meta/classes/core-image.bbclass' seems have nothing about
the 'IMAGE_FEATURES' variable, using 'meta/classes/image.bbclass' instead.

(From yocto-docs rev: b0eb9ef09c73db97e3f289565d0ce17d9aa7e8cd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Mingrui Ren <jiladahe1997@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
1b52175f6b quick start manual: update "source oe-init-build-env" output
(From yocto-docs rev: 0c8be05b393ea318d033af6b596da5349c75653a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
708aacbb0b test-manual: document LTO related reproducibility bug
(From yocto-docs rev: 33b6f7cec780f77ed9cd0518f72ec8c0e3c08e68)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Martin Jansa
926fae24e1 convert-overrides.py: allow specifying multiple target dirs
(From OE-Core rev: e6aa4b1f6f4f174cba027ee096db174541815ff0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 11:31:09 +01:00
Martin Jansa
812ca4cc91 convert-overrides.py: 0.9.1 include '(' as delimiter for shortvars
(From OE-Core rev: ffe91649fafa84f814e32c9979e6a2de40a1bb25)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 11:31:09 +01:00
Richard Purdie
6c6dc19467 systemtap: Fix headers issue with x86 and 5.13 headers
On some x86 platforms there were header issues causing pt_regs compile
failures for our stap tests, e.g. on genericx86-64 but not qemux86-64.

Backport a patch from upstream which fixes the issue.

[YOCTO #14491]

(From OE-Core rev: a4ad6c88b683b7310ef46d89b1add80b0f41bf2d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 11:31:09 +01:00
Martin Jansa
b4d63248f0 convert-overrides.py: remove base_dep_prepend and autotools_dep_prepend exception
* the functions were renamed in:
  https://git.openembedded.org/openembedded-core/commit/?id=9d002acae720b0a8e96a6734424a142b86880461

(From OE-Core rev: 43b7cbfb46701a130c248842426370372c88553b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 10:55:13 +01:00
Martin Jansa
1a1bb6ce51 convert-overrides.py: show processed file and version of this script
* on bigger layer this script takes couple minutes without showing any progress
* add a version to reference it in the conversion commit (to easily figure out
  if it's worth re-converting the layer).

(From OE-Core rev: 39edf868deafe79ffd2ea57620af70840ec4c208)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 10:55:13 +01:00
Richard Purdie
82c1581e48 scripts/contrib: Add override conversion script
This adds a script I've developed to migrate metadata to use the new override
syntax. It is a bit rough but since its for a single use with validation, it
doesn't need to be perfect. It is run simply as:

scripts/contrib/convert-overrides.py <directory>

It is setup and has been tested to work with OE-Core, Bitbake, yocto-docs,
meta-yocto, meta-gplv2 and meta-mingw. For OE-Core, it converts around 10,100
lines with about 34 manual fixes needed.

For other layers it would need updating for override names and exclusions for
functions/variable names with "append", "prepend" or "remove" in them.

(From OE-Core rev: e8fc67f6f6baf54ccdf548b947c35dea926842c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 00:11:51 +01:00
Richard Purdie
2f2875f73c autotools/base/icecc: Remove prepend from function names
Using prepend as part of a function name is a poor choice. Whilst we're
about to make the syntax explict, improve the names anyway making the
conversion easier and the intent clear that this isn't an override.

(From OE-Core rev: 9d002acae720b0a8e96a6734424a142b86880461)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 00:11:51 +01:00
Richard Purdie
a4b9bf3a1e layer.conf: Update to honister
This marks the layers as compatible with honister now they use the new override
syntax.

(From meta-yocto rev: ea637ebd5a79e5d023bbf347d633568bcb7506a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:38:21 +01:00
Richard Purdie
9826f87cb4 meta-poky/meta-yocto-bsp: Convert to new override syntax
This converts the two layers to the new override syntax. This was done using

<oe-core>/scripts/contrib/convert-overrides.py <this-layer>

with no manual fixes.

(From meta-yocto rev: 387eab70f343966267c2a68746aea1bbb8525191)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:38:21 +01:00
Richard Purdie
d41af446fe bitbake: data_smart: Allow colon in variable expansion regex
Now that ":" is a valid character in variable key names, it needs to be
allowed by the variable expansion code too, to match.

(Bitbake rev: 019251649a38754d5877759d13b664e28dea77de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Paul Barker
261da52339 bitbake: parse/ast: Substitute '~' when naming anonymous functions
When parsing an anonymous python function, bitbake generates a name for
the function based on the full path to the file in which it was found.
As not all characters which are valid in file paths are valid in Python
function names we have a translation table. However, this translation
table was missing an entry for '~'.

(Bitbake rev: b201c0b284e25c20685d9d206797c4cc650eeca0)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Joshua Watt
a83ea01b99 bitbake: bitbake: asyncrpc: Catch early SIGTERM
If the SIGTERM signal is sent to an asyncrpc server before it has
installed the SIGTERM handler in the main loop, it may miss the signal
which will can cause the calling process to wait forever on the join().
To resolve this, the calling process should mask of SIGTERM before
forking the server process and the server should unmask the signal only
after the handler is installed. To simplify the usage of the server, an
new helper function called serve_as_process() is added to do this
automatically and correctly.

Thanks: Scott Murray <scott.murray@konsulko.com> for helping debug
(Bitbake rev: ef2865efa98ad20823267364f2159d8d8c931400)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Paul Barker
445c5b9324 bitbake: asyncrpc: Set timeout when waiting for reply from server
(Bitbake rev: b31f1853d7fcb8b8f8885ca513a0021a5d0301e6)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Paul Barker
57ec655acc bitbake: asyncrpc: Fix bad message error in client
If there is an issue with the format of the reply given by the server then we
should print this reply line in the error message. Printing the message which
the client sent doesn't illuminate anything here.

(Bitbake rev: bd8f8d7b055da15cd7bdd0b383061852a0f54cb7)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Jon Mason
a35c6ef274 parselogs.py: qemuarm should be qemuarmv5
All of the errors being masked off for qemuarm are legacy from before
the migration of qemuarm to qemuarmv5.  Rename the machine to that to
allow for qemuarmv5 to pass parselog test.  Light testing shows no
errors in dmesg for qemuarm.

(From OE-Core rev: 701a58504de15b244b970908f2de0971a35b5a09)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 22:33:51 +01:00
Ross Burton
de771b3212 libx11: fix xkb compilation with _EVDEVK symbols
New xkeyboard-config writes defines that use _EVDEVK(), which makekeys
can't parse.  Take a patch from upstream to also parse these symbols.

[ YOCTO #14489 ]

(From OE-Core rev: b63b6ceda629bd101b5889e61a27a6d99843460e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 22:33:51 +01:00
Mingli Yu
dd5ebf4fdd perlcross: not break build if already patched
Currently the build will break if the patch already applied
as the return value of "test ! -f $@" is not 0, so make sure
to return 0 if the patch already applied.

Fixes:
 $ bitbake perl-native

 Make a change as below
 $ git diff
 diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 index b77bbd1fd4..4c5e35ab80 100644
 --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 @@ -33,6 +33,7 @@ do_compile () {
  do_install_class-native() {
      mkdir -p ${D}/${datadir}/perl-cross/
      cp -rf ${S}/* ${D}/${datadir}/perl-cross/
 +    echo "test" > ${D}/${datadir}/perl-cross/testfile
 }

 $ bitbake perl-native
NOTE: make -j 40
make crosspatch
make[1]: Entering directory '/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0'
test ! -f cnf/diffs/perl5-5.34.0/posix-makefile.applied && (patch -p1 -i cnf/diffs/perl5-5.34.0/posix-makefile.patch && touch cnf/diffs/perl5-5.34.0/posix-makefile.applied)
test ! -f cnf/diffs/perl5-5.34.0/dynaloader.applied && (patch -p1 -i cnf/diffs/perl5-5.34.0/dynaloader.patch && touch cnf/diffs/perl5-5.34.0/dynaloader.applied)
make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/posix-makefile.applied] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/dynaloader.applied] Error 1
make[1]: Leaving directory '/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0'
make: *** [Makefile:78: all] Error 2

(From OE-Core rev: 354163db5588d87941f53a2763be62b2430cc1fc)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 22:33:51 +01:00
Changqing Li
4a1381d350 archiver.bbclass: fix do_ar_configured failure for kernel
(From OE-Core rev: d7776a23cbea836ddb8ac5ec77012af2449ab875)

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>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
9da5e45c73 ffmpeg: fix CVE-2021-33815
avcodec/exr: More strictly check dc_count

Fixes: out of array access
Fixes: exr/deneme

Found-by: Burak Çarıkçı <burakcarikci@crypttech.com>
(From OE-Core rev: e03fda4df5d2865d5ac516f45aa120e2caf7de47)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2021-33815
Upstream-Status: Backport [26d3c81bc5ef2f8c3f09d45eaeacfb4b1139a777]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
d6044c86b0 ffmpeg: fix CVE-2020-22033 and CVE-2020-22019
avfilter/vf_vmafmotion: Check dimensions

Fixes: out of array access
Fixes: Ticket8241
Fixes: Ticket8246
Fixes: CVE-2020-22019
Fixes: CVE-2020-22033

(From OE-Core rev: 451a945efb21221cfeeb4e641c5aa8bf4ae18c89)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-22033
CVE: CVE-2020-22019
Upstream-Status: Backport [82ad1b76751bcfad5005440db48c46a4de5d6f02]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
01d224ae48 ffmpeg: fix CVE-2020-22021
avfilter/vf_yadif: Fix handing of tiny images

Fixes: out of array access
Fixes: Ticket8240
Fixes: CVE-2020-22021

(From OE-Core rev: b30f647225ecc71207696df3951716e85b886ca4)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-22021
Upstream-Status: Backport [7971f62120a55c141ec437aa3f0bacc1c1a3526b]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
92704af67d ffmpeg: fix CVE-2020-22015
avformat/movenc: Check pal_size before use

Fixes: assertion failure
Fixes: out of array read
Fixes: Ticket8190
Fixes: CVE-2020-22015

(From OE-Core rev: 5953c24ecd2e540483443284111abc883fdb1a10)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-22015
Upstream-Status: Backport [4c1afa292520329eecd1cc7631bc59a8cca95c46]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
e3adc62076 ffmpeg: fix CVE-2020-20453
avcodec/aacenc: Avoid 0 lambda

Fixes: Ticket8003
Fixes: CVE-2020-20453

(From OE-Core rev: 66478fa2b913f69bcad1a1989f716c9c30953fee)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-20453
Upstream-Status: Backport [a7a7f32c8ad0179a1a85d0a8cff35924e6d90be8]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
7de4c20e62 ffmpeg: fix-CVE-2020-20446
avcodec/aacpsy: Avoid floating point division by 0 of norm_fac

Fixes: Ticket7995
Fixes: CVE-2020-20446

(From OE-Core rev: d3806b2add3060649c2d488fb9208a106573d523)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-20446
Upstream-Status: Backport [223b5e8ac9f6461bb13ed365419ec485c5b2b002]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Khem Raj
c31188d721 stress-ng: Drop defining daddr_t
This is fixed differently upstream [1]

[1] 7e150ab18b
(From OE-Core rev: 96b1d483ccf2166bf577e73075d5fe57c45bbfdf)

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>
2021-07-28 23:47:00 +01:00
Khem Raj
d299cb3be9 systemd: Fix build on musl
Latest upgrade to 249 broke a working build on musl, this is incremental
fix to exisiting patches adapted to 249 release

(From OE-Core rev: 06b69d0194b35010a09f0bb419d6fbabc9765a03)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Vinay Kumar
55681d09d7 glibc: Fix CVE-2021-33574
Source: https://sourceware.org/git/glibc.git
Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=27896

Backported upstream commit 42d359350510506b87101cf77202fefcbfc790cb to
glibc-2.33 source with dependent commit id 217b6dc298156bdb0d6aea9ea93e7e394a5ff091.

Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=42d359350510506b87101cf77202fefcbfc790cb]

(From OE-Core rev: b4bc29cf19d811c0ec948dbe69c0bc79fe31e0e8)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Joshua Watt
8dbe3bd652 mesa: Fix v3d & vc4 dmabuf import
Mesa would unnecessarily fail in the v3d and vc4 driver if a dmabuf
could not imported for scanout. In particular, this meant the
weston-simple-dmabuf-egl test program would fail on a Raspberry Pi.

(From OE-Core rev: 6396c42df4609b4515f197926388ff4acb11fe52)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Marek Vasut
7668153777 kernel-uboot: Handle gzip and lzo compression options
Since 5c72105e29 ("kernel-uboot: allow compression option to be configurable")
it is possible to select kernel compression method, however the resulting
image is always compressed with gzip, so selecting any other method than
gzip results in unbootable images. Add support for lzo for starters, since
that is fast to decompress and useful in low boot time scenarios.

Note that we should likely add some check for unsupported compression
methods. We should also add dependency on lzop-native I think.

(From OE-Core rev: f1257d61b76d027d4ece734439993b6bf4e48907)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Marek Vasut
e2802c2186 image_types: Restore pre-btrfs-tools 4.14.1 mkfs.btrfs shrink behavior
Currently the mkfs.btrfs generates large images with a lot of wasted
space. This happens since OE-core updated btrfs-tools from 4.13.3 to
4.15.1 in commit 94b645aa77 ("btrfs-tools: update to 4.15.1") .

Note in mkfs.btrfs(8) manpage section -r says the following:
"
  -r|--rootdir <rootdir>
...
       Note This option may enlarge the image or file to ensure
       it’s big enough to contain the files from rootdir. Since
       version 4.14.1 the filesystem size is not minimized. Please
       see option --shrink if you need that functionality.

  --shrink
     Shrink the filesystem to its minimal size, only works with
     --rootdir option.
...
       Note prior to version 4.14.1, the shrinking was done
       automatically.
"

Add the --shrink option to EXTRA_IMAGECMD_btrfs to reinstate the
original behavior and un-waste the space.

(From OE-Core rev: c4a99d36967302c176b62fad840b5e79486ea356)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Stefano Babic
e2e12c63f4 mtd-utils: upgrade 2.1.2 -> 2.1.3
Drop also --enable-install-tests from configuration options because this
was removed in 2.1.3.

(From OE-Core rev: c95c852b84f02f5e2ad5c575ab683bba0471f221)

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
CC: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Damian Wrobel
5b267b3983 rootfs: remove ldconfig auxiliary cache where appropriate
Removes the /var/cache/ldconfig auxiliary cache directory from
the rootfs when:
 - read-only-rootfs is in IMAGE_FEATURES,
 - ldconfig is not in DISTRO_FEATURES.

In both cases the /var/cache/ldconfig/aux-cache is useless.

(From OE-Core rev: e7a18904582b27fd12a437ff4d8d25c625af7696)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Nicolas Dechesne
356137bcf2 yocto-check-layer: ensure that all layer dependencies are tested too
In order to be compliant with the YP compatible status, a layer also
needs to ensure that all its dependencies are compatible
too. Currently yocto-check-layer only checks the requested layer,
without testing any dependencies.

With this change, all dependencies are also checked by default, so the
summary printed at the end will give a clear picture whether all
dependencies pass the script or not.

Using --no-auto-dependency can be used to skip that.

(From OE-Core rev: 45d59b774b95c91193a8376b83c05291d555e5c8)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Nicolas Dechesne
8dbef94dce checklayer: rename _find_layer_depends
What this function does is really to find a layer, not a 'depends'. We
are using this function to find a dependent layer, but the name is
confusing.

(From OE-Core rev: e9b7690ab30d0e7c07471034f6cb89ccc3168a11)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Nicolas Dechesne
4f452a8be1 checklayer: new function get_layer_dependencies()
Split add_layer_dependencies() into 2 parts. First search for layer
dependencies, and then add them to the config. That allows us to
call get_layer_dependencies() independently.

(From OE-Core rev: 08edf928aac3f2daaa0c256d4c21e56e2db72bff)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Nicolas Dechesne
989d756405 yocto-check-layer: improve missed dependencies
The first 2 calls to add_layer_dependencies() are here to add all
dependencies for the 'layer under test' and the additional layers
provided by the users.

In both cases, we use misssing_dependencies boolean to indicate if any
dependency is missing. But we then never really use
missing_dependencies. Instead the script is calling
add_layer_dependencies() again (for both the layer under test, and the
additional layers) to detect if there are any missing dependency. As a
result, we are trying to add again all dependencies, and we can see
that from the traces:

INFO: Detected layers:
INFO: meta-aws: LayerType.SOFTWARE, /work/oe/sources/meta-aws
INFO: checklayer: Doesn't have conf/layer.conf file, so ignoring
INFO:
INFO: Setting up for meta-aws(LayerType.SOFTWARE), /work/oe/sources/meta-aws
INFO: Adding layer meta-python
INFO: Adding layer meta-oe
INFO: Adding layer meta-networking
-->
INFO: Adding layer meta-python
INFO: meta-python is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-oe
INFO: meta-oe is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-networking
INFO: meta-networking is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
<--
INFO: Getting initial bitbake variables ...

The code appears more complex than it should, and we can simply
replace the complex if statement by using missing_dependencies, and
avoid duplicating the call to add_layer_dependencies().

(From OE-Core rev: fceb84f7bc472731b8f96ee1ebf0f4485943226c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Kai Kang
3ad52f4a48 u-boot_2021.07: set UBOOT_MACHINE for qemumips and qemumips64
It fails to build u-boot 2021.07 for qemumips and qemumips64:

| *** Can't find default configuration "arch/../configs/qemu_mips64_defconfig"!

According to

https://source.denx.de/u-boot/u-boot/-/commit/5308a71

set UBOOT_MACHINE with malta defconfigs for qemumips and qemumips64.

(From OE-Core rev: 337e461ff92cd114b97e19ecf79806030b9b4666)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Richard Purdie
331c23aea8 libubootenv: Drop default-env RRECOMMENDS
The link back to uboot's env is causing a ton of pain since it is making
this recipe machine specific. Some machines may use uboot, some may
not but you really want an architecture/machine neutral library.

Revert this part of the 0.3 upgrade (OE-Core rev:
02d55cd35aac15095fc44f0cf8f9e7a71638f485) so that we don't need some
of the horrible workarounds being seen in other layers. If a given
machine uses u-boot, the env can be pulled in by the machine directly.

(From OE-Core rev: e6d13986aa913c07f26afa81f1db35fd3e4e7779)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Vivien Didelot
a58b9a291d init-manager-systemd: define weak dev manager
For a full systemd distro, also add a weak assignment for systemd as
the dev manager.

(From OE-Core rev: 55c1c749b9d4ffdf00978391fd0437348ba75caa)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Alexander Kanavin
3d4ff3a65b cmake: update 3.20.5 -> 3.21.0
(From OE-Core rev: 57a0ab3abf70963d13c6ccea275cd70d8531c0ff)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Quentin Schulz
7ade8346b3 bitbake: doc: bitbake-user-manual: replace `FOO by :term:FOO` where possible
If a variable has a glossary entry and some rST files write about those
variables, it's better to point to the glossary entry instead of just
highlighting it by surrounding it with two tick quotes.

The script that is used to do the replacement of ``FOO`` by :term:`FOO`
is the following Python code:

import re
from pathlib import Path
from runpy import run_module
import contextlib
import io
import sys

re_term = re.compile(r'variables.html#term-([a-zA-Z_0-9]*)')
terms = []
new_terms = set()

with contextlib.redirect_stdout(io.StringIO()) as f:
    run_module('sphinx.ext.intersphinx', run_name='__main__')

objects = f.getvalue()

match = re_term.search(objects)
while match:
    if match.group(1):
        terms.append(match.group(1))
    match = re_term.search(objects, match.end())

for rst in Path('.').rglob('*.rst'):
    with open(rst, 'r') as f:
        content = "".join(f.readlines())
    for term in terms:
        content = re.sub(r'``({})``(?!.*\s+[~=-]{{{:d},}})'.format(term, len(term)), r':term:`\1`', content)

    with open(rst, 'w') as f:
        f.write(content)

This script takes one argument as input: an objects.inv which can be
gotten from doc/_build/html/objetcs.inv after running `make html`.

Note that this excludes from replacement terms that appear in section
titles as it requires refs to be changed too. This can be automated too
if need be but right now it looks a bit confusing to have an anchor link
(for sections) also have a term/reference link in it. I am not sure this
is desired today.

(Bitbake rev: aba88f40c47133ed9bc999e0298aca3bc8490912)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 23:05:05 +01:00
Quentin Schulz
3b6742685b bitbake: doc: bitbake-user-manual: ref-variables: force glossary output to be alphabetically sorted
Even though, care should be taken to have the terms in the glossary
sources alphabetically ordered, it is possible some terms might be in
the wrong place.

This makes sure that whatever the order of terms in the glossary
sources, the generated medium is correctly sorted.

(Bitbake rev: 98809ebc6ad51f0a94cedccfaff9c11d3744dc0d)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 22:34:13 +01:00
Quentin Schulz
eb38dce0c1 bitbake: doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources
This reorders a few entry so that they are alphabetically sorted.

(Bitbake rev: 311350ed5cb164d975c2119e60255a409e27dffb)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 22:34:13 +01:00
Quentin Schulz
bf58b597d2 bitbake: doc: Makefile: turn warnings into errors by default
-W is for turning warnings into errors, --keep-going to make sure the
whole documentation is built and all warnings will be printed before
failing.

Since there's currently no warning, it's time to introduce it!

(Bitbake rev: 6b0b3d707f662ca7b1d0de99fe032e4f35867d10)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 22:34:13 +01:00
Michael Opdenacker
d49e7dde84 conf-notes.txt: now suggesting to run 'runqemu qemux86-64'
'runqemu qemux86' doesn't work any more.
The "Quick Build" documentation has already been updated
but this message that we get when sourcing "oe-init-build-env"

(From OE-Core rev: 581bebac87549b403dd69b57a6edfe38b8bfe760)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-25 18:06:31 +01:00
Michael Opdenacker
313868577a oe-setup-builddir: update YP docs and OE URLs
This updates the link to the YP docs
and proposes to access the OE website through https

(From OE-Core rev: 87686233aeffc639c3f412fd5c4898b32b15013b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-25 18:06:31 +01:00
Alexander Kanavin
982f98f721 vulkan-samples: update to latest revision
(From OE-Core rev: 643a0398ebcfe9fd53d1b37fb0837d4db08a23af)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
fd64f032ca gnu-config: update to latest revision
Adjust lines in license check; checksum is same.

(From OE-Core rev: 454f17c7dde8716e60c8b26303f906158d653f0b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
a704e9f877 libuv: update 1.41.0 -> 1.42.0
(From OE-Core rev: 6478ca47e76f4af10121ccb8428a5a68f21b16cd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
ba1314de14 python3-testools: update 2.4.0 -> 2.5.0
Drop no_traceback2.patch as issue fixed upstream.

(From OE-Core rev: a592d741dec7151d3d32c4584568e49d69ed5b6f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
a4c3deba6e systemd: update 248.3 -> 249.1
jinja is now required:
e0698c66f4

Drop 0001-test-seccomp-Check-for-__NR_ppoll-before-use.patch as it is a backport.

(From OE-Core rev: 323ec445dfe22860cd450c303db5ed8fcb4e791c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
be7193e5ff llvm: update 12.0.0 -> 12.0.1
Other than the tcmode tweak, this was done by devtool \0/

(From OE-Core rev: ba6991c16a5dcac9ce6de18956c0a75ab7e856bb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Khem Raj
47ab5880c8 texinfo: Update gnulib to fix build with glibc 2.34
(From OE-Core rev: 53f5c5b56fd4b2c6a2fabdd26553296aff192380)

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>
2021-07-24 16:33:47 +01:00
Ross Burton
7f5a322eab glew: fix Makefile race
Fix a Makefile race resulting in the target creating a directory being
executed after the target to write into that directory.

[ YOCTO #14485 ]

(From OE-Core rev: e90c1d3b80e35fb685d4b321972743771eb2c2c0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Richard Purdie
0110d506b8 yocto-check-layer: Remove duplicated code
Nicolas Dechesne spotted there was duplicate code I had introduced with a
previous fix. Remove the second statement since the earlier one is correct
all that is needed.

(From OE-Core rev: f3e8d9f0e53e73de5498fccce81d049a88f6473b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Ulrich Ölmann
03876eb32b initramfs-framework/setup-live: fix shebang
(From OE-Core rev: 71f1f6bc9402ee0fad82aaf0757fffb73da4b706)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Ulrich Ölmann
a3bc70c3ab initramfs-framework: fix whitespace issue
(From OE-Core rev: 9eaf6f4b08144c7f5453545f2bd9fb387a2dbe2e)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Oleksandr Kravchuk
1fe2864c5c bitbake.conf: change GNOME_MIRROR to new one
URI has been permanently moved and returns HTTP 301.

(From OE-Core rev: a3a85d54af38a30f6de5f6d23e432afa26859888)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Matthias Schiffer
7edb25bc99 initscripts: fix creation order for /var/log with VOLATILE_LOG_DIR=true
Create the /var/log symlink directly after /var/volatile/log, so
/var/log is available for the creation of /var/log/wtmp a few lines
later.

(From OE-Core rev: 64b659b9e40da3280ba8911b4044b19aa7366262)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Matthias Schiffer
2b45c7253f initscripts: populate-volatile.sh: run create_file synchronously
The behavior of running create_file in the background was introduced in
d44816bedade ("initscripts: Populate volatile from existing file")
without further explanation. Besides its questionable benefit, this
causes actual issues:

- Not all create_file processes may have finished by the time the
  initscript exits (or when it moves /etc/volatile.cache.build !)
- By making the order of commands nondeterminstic, it could hide
  dependency issues where it was attempted to create files before their
  containing directories

(From OE-Core rev: 1a4ddb0d3f1289e0b67b6eba9be58374d3d7a80b)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Matthias Schiffer
9448e5f17d initscripts: populate-volatile.sh: do not log to tty0
tty0 may not be the intended console for log messages, or it may not
exist at all in kernel configurations without CONFIG_VT. Just use the
default stdout/stderr instead.

(From OE-Core rev: 669e74d358db59768862515fe584aa1edf6cec04)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
leimaohui
34159787df archiver.bbclass: Fix patch error for recipes that inherit dos2unix.
do_unpack_and_patch error happens for these recipes inherit dos2unix.

(From OE-Core rev: 2ceda7c90c0087f52693c54d5ccab143b27f4d21)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Khem Raj
433d240084 binutils: Upgrade to 2.37 branch
This is next/latest release branch for binutils
Drop backports and CVE fixes which already are applied upstream

bfd_stdint.h has been removed in favor of using stdint.h

(From OE-Core rev: 08cd144fc4b5ac34ff99f71b1d825cbff96b642c)

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>
2021-07-24 16:33:46 +01:00
Richard Purdie
a926dd6cdd Add MAINTAINERS.md file
We have a long history with maintainers files and good and bad experiences. There
are people who'd like to see a kernel style machine readable file which defines
exactly which people should be reviewing which areas. In practise, the files we
do have struggle to stay up to date (e.g. the recipe maintainers file) and such
a file would also cause conflicts of expectations where person X would want to be
cc'd on patches touching file Y and want a revert if they hadn't acked it. We also
don't have clearly defined boundaries in some areas, e.g. toolchain.

We have a wide peer review system and nobody gets to make changes without that
review, even myself as the lead for OE-Core/Bitbake.

I do want to recognise that some people are key experts on particular areas and
hightlight that their views on those areas do carry weight. With that also comes
repsonsibility to help try and figure out bugs, help with review and so on.

I've tried to strike a balance with this file to detail who some of the experts
for particular areas are and to also highlight where we don't have coverage and
that there are opportunities.

I've tried to put the file in the wider context of the project, not just OE-Core.
It is in a repo rather than a wiki so we have visibility to changes through the
change control process.

I'm sure I will miss people, sorry, it is inevitable when you try and make a
list. There may be people who want to step down and don't want to be in this
role, I'm also hoping there are going to be some new volunteers to help in some
areas. Please do send follow up updates, this patch is really meant to help get
us started.

Volunteers to maintainer specific areas of the project are very welcome and
feel free to reach out to ask about areas or getting started and working towards
an official maintainer role (e.g. help with bug fixing).

(From OE-Core rev: b629978efae35d5ea3821f4375bc0d8228b6cc26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Ralph Siemsen
17aabc0127 oeqa/manual/toaster: fix small typo
PACKAGE_CLASES should be PACKAGE_CLASSES.

(From OE-Core rev: 7a96f3bceb2c857f841b1dbeb4587a8aaace529e)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 21:46:45 +01:00
Armin Kuster
46c0e8828d maintainers.inc: remove myself as a Maintainer
I am releasing my responsibilities from these Packages so that those who are better capable can participate in the Package Maintainer Program. I have not done anything in years so its time to find better stewards.

(From OE-Core rev: 8cc704d4ce335c3871dc7993f3d962d185f1b8b1)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 21:39:43 +01:00
Bruce Ashfield
70013aab37 linux-yocto/5.4: update to v5.4.134
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    9afc0c209685 Linux 5.4.134
    c1dafbb26164 seq_file: disallow extremely large seq buffer allocations
    b06ab67bd63b misc: alcor_pci: fix inverted branch condition
    f40884382995 scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
    e9602efecf19 MIPS: vdso: Invalid GIC access through VDSO
    48351df82dbc mips: disable branch profiling in boot/decompress.o
    d8afab9bc9fe mips: always link byteswap helpers into decompressor
    bb2435840681 scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe()
    2a22a1ca453a firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
    b7c1bafe813a firmware: turris-mox-rwtm: report failures better
    7934e060732f firmware: turris-mox-rwtm: fix reply status decoding function
    65f32d1e0514 thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
    a3ea516d8d5b ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery
    c4e2fa6fb0f3 ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems
    9cc2ef1a784c ARM: dts: imx6q-dhcom: Fix ethernet reset time properties
    85434c3a281e ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema
    e1314f75b38a ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema
    443f6ca6fd18 memory: fsl_ifc: fix leak of private memory on probe failure
    d9213d4f372d memory: fsl_ifc: fix leak of IO mapping on probe failure
    8ef43fa4646f reset: bail if try_module_get() fails
    04bb5b3ea08d ARM: dts: BCM5301X: Fixup SPI binding
    cc10a352e29c firmware: arm_scmi: Reset Rx buffer to max size during async commands
    7dde9387498c firmware: tegra: Fix error return code in tegra210_bpmp_init()
    6ca8e516bc65 ARM: dts: r8a7779, marzen: Fix DU clock names
    52cc83c0282c arm64: dts: renesas: v3msk: Fix memory size
    11d6c1992120 rtc: fix snprintf() checking in is_rtc_hctosys()
    226adc0bf947 memory: pl353: Fix error return code in pl353_smc_probe()
    b782d54b4dca reset: brcmstb: Add missing MODULE_DEVICE_TABLE
    2a9392c6d218 memory: atmel-ebi: add missing of_node_put for loop iteration
    05cfac174796 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
    45414bfe5af3 ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
    cc617c9ddb1f ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
    13c5fa0a43a0 ARM: exynos: add missing of_node_put for loop iteration
    dc3939d97238 reset: a10sr: add missing of_match_table reference
    b57e025bb0d7 ARM: dts: gemini-rut1xx: remove duplicate ethernet node
    3f870d8c2bc1 hexagon: use common DISCARDS macro
    3b03882123e4 NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
    9f02e9dd8ca2 ALSA: isa: Fix error return code in snd_cmi8330_probe()
    aa8866530d6a nvme-tcp: can't set sk_user_data without write_lock
    496bcc8d4ff9 virtio_net: move tx vq operation under tx queue lock
    aac6a79ee0c0 pwm: imx1: Don't disable clocks at device remove time
    aa51b6bc7907 x86/fpu: Limit xstate copy size in xstateregs_set()
    df749be38c94 PCI: iproc: Support multi-MSI only on uniprocessor kernel
    25bff167719d PCI: iproc: Fix multi-MSI base vector number allocation
    1d9d997850d8 ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
    d0b32dc1409f nfs: fix acl memory leak of posix_acl_create()
    e7de89b8b285 watchdog: aspeed: fix hardware timeout calculation
    0366238f6af4 um: fix error return code in winch_tramp()
    c43226ac1079 um: fix error return code in slip_open()
    81e03fe5bf8f NFSv4: Initialise connection to the server in nfs4_alloc_client()
    2d2842f5d2cd power: supply: rt5033_battery: Fix device tree enumeration
    c5b104a27028 PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun
    5b6cde3bae6d f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
    00fcd8f33e9b x86/signal: Detect and prevent an alternate signal stack overflow
    52bd1bce8624 virtio_console: Assure used length from device is limited
    7909782857c2 virtio_net: Fix error handling in virtnet_restore()
    04c6e60b884c virtio-blk: Fix memory leak among suspend/resume procedure
    8ae24b9bf8f9 ACPI: video: Add quirk for the Dell Vostro 3350
    0bbac736224f ACPI: AMBA: Fix resource name in /proc/iomem
    7d0667521501 pwm: tegra: Don't modify HW state in .remove callback
    f8ba40611be3 pwm: img: Fix PM reference leak in img_pwm_enable()
    9eb5142d3f76 power: supply: ab8500: add missing MODULE_DEVICE_TABLE
    658884b22ac8 power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
    ae1a6af2f8f8 NFS: nfs_find_open_context() may only select open files
    04a333cf982c ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty
    ab720715b8a8 orangefs: fix orangefs df output.
    1680c3ece217 PCI: tegra: Add missing MODULE_DEVICE_TABLE
    12f8d6e7f2c7 x86/fpu: Return proper error codes from user access functions
    f58ab0b02ee7 watchdog: iTCO_wdt: Account for rebooting on second timeout
    bcafecd30431 watchdog: imx_sc_wdt: fix pretimeout
    db222f1477ad watchdog: Fix possible use-after-free by calling del_timer_sync()
    7c56c5508dc2 watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
    146cc288fb80 watchdog: Fix possible use-after-free in wdt_startup()
    1e6e806dda4c PCI/P2PDMA: Avoid pci_get_slot(), which may sleep
    d2bc221be148 ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
    94cfbe80f0cf power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
    b6d1d46165f0 power: supply: max17042: Do not enforce (incorrect) interrupt trigger type
    e8794f7bb543 power: supply: ab8500: Avoid NULL pointers
    af619a7455a1 pwm: spear: Don't modify HW state in .remove callback
    f16b1d7dc46f power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE
    b8495c08b2e8 power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE
    13b51d90f0a6 lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
    f492dfec0c82 i2c: core: Disable client irq on reboot/shutdown
    ec50ddd8456c intel_th: Wait until port is in reset before programming it
    ba547e7431bf staging: rtl8723bs: fix macro value for 2.4Ghz only device
    6bc7ea6584cb ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions
    7929bcf1a278 ALSA: hda: Add IRQ check for platform_get_irq()
    0f3821c3281b backlight: lm3630a: Fix return code of .update_status() callback
    84d84143037f ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters
    4abe339ce863 powerpc/boot: Fixup device-tree on little endian
    60c88c8ee548 usb: gadget: hid: fix error return code in hid_bind()
    2bfe5a620894 usb: gadget: f_hid: fix endianness issue with descriptors
    eb11ade08bc8 ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values
    f9e5d0137c14 ALSA: usb-audio: scarlett2: Fix data_mutex lock
    33251aa28d1c ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count
    82343ce5cad2 ALSA: bebob: add support for ToneWeal FW66
    86d56d5a5908 Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
    5f5c1e683351 s390/mem_detect: fix tprot() program check new psw handling
    8a3adb42928c s390/mem_detect: fix diag260() program check new psw handling
    e8df00854840 s390/ipl_parm: fix program check new psw handling
    5176a4d1c43c s390/processor: always inline stap() and __load_psw_mask()
    542d85dda7ba ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing()
    41c488eb5dca gpio: pca953x: Add support for the On Semi pca9655
    6602185b185b selftests/powerpc: Fix "no_handler" EBB selftest
    75dc1942f8b6 ALSA: ppc: fix error return code in snd_pmac_probe()
    8e1b6d96e95f gpio: zynq: Check return value of pm_runtime_get_sync
    b11220803ad1 iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
    3761ae0d0e54 iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails
    6c50a56d2bce powerpc/ps3: Add dma_mask to ps3_dma_region
    5169c6b12b19 ALSA: sb: Fix potential double-free of CSP mixer elements
    d481ddb1b6d0 selftests: timers: rtcpie: skip test if default RTC device does not exist
    f0bca3fbf16b s390/sclp_vt220: fix console name to match device
    1028b769600c serial: tty: uartlite: fix console setup
    ba89ba738a82 ASoC: img: Fix PM reference leak in img_i2s_in_probe()
    b5af7cec0f7e mfd: cpcap: Fix cpcap dmamask not set warnings
    c19a95cffe33 mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
    d05da38c4110 scsi: qedi: Fix null ref during abort handling
    a686ea60c17a scsi: iscsi: Fix shost->max_id use
    d04958a348e5 scsi: iscsi: Fix conn use after free during resets
    173fdf1497d9 scsi: iscsi: Add iscsi_cls_conn refcount helpers
    9896b67e1b56 scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs
    e8c75b5d88f2 scsi: megaraid_sas: Early detection of VD deletion through RaidMap update
    0c6226601c3e scsi: megaraid_sas: Fix resource leak in case of probe failure
    e54625f3f0f0 fs/jfs: Fix missing error code in lmLogInit()
    077b59810cb6 scsi: scsi_dh_alua: Check for negative result value
    ee16bed95986 tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
    9c543a9197c7 ALSA: ac97: fix PM reference leak in ac97_bus_remove()
    086918e61c37 scsi: core: Cap scsi_host cmd_per_lun at can_queue
    600a91ab5981 scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
    07aa0d14fc9e scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
    f1f72dac9219 scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw()
    68ce66ba20cf w1: ds2438: fixing bug that would always get page0
    1c774366428e Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro"
    88262229b778 ALSA: usx2y: Don't call free_pages_exact() with NULL address
    7dff52b311b1 iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get()
    921b361ce3ee iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get().
    d2639ffdcad4 misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
    38660031e80e misc/libmasm/module: Fix two use after free in ibmasm_init_one
    dc195d77dd6c tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero
    fd005f53cb49 srcu: Fix broken node geometry after early ssp init
    35072f336ae8 dmaengine: fsl-qdma: check dma_set_mask return value
    249e0ab80c47 net: moxa: Use devm_platform_get_and_ioremap_resource()
    359311b85ebe fbmem: Do not delete the mode that is still in use
    c17363ccd620 cgroup: verify that source is a string
    d4238c7539c8 tracing: Do not reference char * as a string in histograms
    887bfae2732b scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
    22257d3c6840 KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run()
    dc91a480ace2 KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled
    f2ff9d03432f KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
    795e84798fa7 Linux 5.4.133
    135122f174c3 smackfs: restrict bytes count in smk_set_cipso()
    a21e5cb1a64c jfs: fix GPF in diFree
    f190ca9068e3 pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
    f176dec999c8 media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
    5d2a52732eeb media: gspca/sunplus: fix zero-length control requests
    1c44f2e25d8e media: gspca/sq905: fix control-request direction
    0edd67591672 media: zr364xx: fix memory leak in zr364xx_start_readpipe
    27cd29ab9bf0 media: dtv5100: fix control-request directions
    917791e43441 media: subdev: disallow ioctl for saa6588/davinci
    04d67b34a33c PCI: aardvark: Implement workaround for the readback value of VEND_ID
    a340b84e09d3 PCI: aardvark: Fix checking for PIO Non-posted Request
    86968dfa4b55 PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
    964d57d1962d dm btree remove: assign new_root only when removal succeeds
    ef0a06acc6b1 coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
    4e78a2a4fced ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
    8489ebfac395 tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
    41aa59030213 tracing: Simplify & fix saved_tgids logic
    4d4f11c3566c rq-qos: fix missed wake-ups in rq_qos_throttle try two
    33ab9138a13e seq_buf: Fix overflow in seq_buf_putmem_hex()
    854bf7196601 extcon: intel-mrfld: Sync hardware and software state on init
    ec31e681cfbf nvmem: core: add a missing of_node_put
    f0f3f0abe58e power: supply: ab8500: Fix an old bug
    7adc05b73d91 ubifs: Fix races between xattr_{set|get} and listxattr operations
    5e4aae9e3e6b thermal/drivers/int340x/processor_thermal: Fix tcc setting
    ec170de13b69 ipmi/watchdog: Stop watchdog timer when the current action is 'none'
    efed363752c0 qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
    74f81fce1215 ASoC: tegra: Set driver_name=tegra for all machine drivers
    862e1aef2bd4 MIPS: fix "mipsel-linux-ld: decompress.c:undefined reference to `memmove'"
    5078f007d863 fpga: stratix10-soc: Add missing fpga_mgr_free() call
    cfaaed5e4a12 clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
    7044e6bbc8e8 cpu/hotplug: Cure the cpusets trainwreck
    c90a5b1c3742 ata: ahci_sunxi: Disable DIPM
    a7aa56f57e84 mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
    2d95959fa4f4 mmc: core: clear flags before allowing to retune
    7e3b6e797a43 mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
    690735ee3a9d drm/arm/malidp: Always list modifiers
    e976698b2642 drm/msm/mdp4: Fix modifier support enabling
    49d05786661b drm/tegra: Don't set allow_fb_modifiers explicitly
    eaabef618cbb drm/amd/display: Reject non-zero src_y and src_x for video planes
    36a9c775a5f8 pinctrl/amd: Add device HID for new AMD GPIO controller
    7af725d1481c drm/amd/display: fix incorrrect valid irq check
    1fe8005303a3 drm/rockchip: dsi: remove extra component_del() call
    85ea095dc081 drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
    d05c9f91be93 drm/amdgpu: Update NV SIMD-per-CU to 2
    a5cd29059916 powerpc/barrier: Avoid collision with clang's __lwsync macro
    a82471a14aad powerpc/mm: Fix lockup on kernel exec fault
    233339bf6c7c perf bench: Fix 2 memory sanitizer warnings
    4d579ef78ae6 crypto: ccp - Annotate SEV Firmware file names
    0e105eed0966 fscrypt: don't ignore minor_hash when hash is 0
    5d4fa5e1b907 MIPS: set mips32r5 for virt extensions
    2760c141dd10 MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
    a01745edc1c9 sctp: add size validation when walking chunks
    03a5e454614d sctp: validate from_addr_param return
    d04cd2c4fdd0 Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
    aa9a2ec7ee08 Bluetooth: Shutdown controller after workqueues are flushed or cancelled
    6aac389d50d9 Bluetooth: Fix the HCI to MGMT status conversion table
    a27610321c31 Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
    032c68b4f5be RDMA/cma: Fix rdma_resolve_route() memory leak
    d27483b844c8 net: ip: avoid OOM kills with large UDP sends over loopback
    3fbae80e24d6 media, bpf: Do not copy more entries than user space requested
    1127eb86b23d wireless: wext-spy: Fix out-of-bounds warning
    161107916c79 sfc: error code if SRIOV cannot be disabled
    a95fddec35f9 sfc: avoid double pci_remove of VFs
    105982781699 iwlwifi: pcie: fix context info freeing
    0b08e9b64b99 iwlwifi: pcie: free IML DMA memory allocation
    6e2df6630636 iwlwifi: mvm: don't change band on bound PHY contexts
    9fd9734e5739 RDMA/rxe: Don't overwrite errno from ib_umem_get()
    75b011df8e00 vsock: notify server to shutdown when client has pending signal
    2a0a6f67c5d5 atm: nicstar: register the interrupt handler in the right place
    8a366dd45518 atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
    002d8b395fa1 MIPS: add PMD table accounting into MIPS'pmd_alloc_one
    e15cff87dff2 rtl8xxxu: Fix device info for RTL8192EU devices
    356bb9411a26 drm/amdkfd: Walk through list with dqm lock hold
    995c3fc302bd net: sched: fix error return code in tcf_del_walker()
    bba660a079a9 net: fix mistake path for netdev_features_strings
    cea6ca260d22 mt76: mt7615: fix fixed-rate tx status reporting
    e217aadc9b55 bpf: Fix up register-based shifts in interpreter to silence KUBSAN
    7f356894ff12 cw1200: add missing MODULE_DEVICE_TABLE
    d71dddeb5380 wl1251: Fix possible buffer overflow in wl1251_cmd_scan
    e919fc655294 wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
    9981f8f4a8f9 xfrm: Fix error reporting in xfrm_state_construct.
    46a2cd9cecbb drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
    5db647affcbd r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
    bfb8eb833e7d selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
    91f6b357e9c1 fjes: check return value after calling platform_get_resource()
    2c028cee95a4 drm/amdkfd: use allowed domain for vmbo validation
    5756c21dd7b7 drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
    c7010d0f0789 drm/amd/display: Release MST resources on switch from MST to SST
    7182bba3c2c6 drm/amd/display: Update scaling settings on modeset
    2ee8e85ea87e net: micrel: check return value after calling platform_get_resource()
    80240ded7994 net: mvpp2: check return value after calling platform_get_resource()
    6ac291d2b4d9 net: bcmgenet: check return value after calling platform_get_resource()
    627fffae46c2 virtio_net: Remove BUG() to avoid machine dead
    217533e60deb ice: set the value of global config lock timeout longer
    c0b70153f13e pinctrl: mcp23s08: fix race condition in irq handler
    e10062afd67d dm space maps: don't reset space map allocation cursor when committing
    57ef44f35725 RDMA/cxgb4: Fix missing error code in create_qp()
    ccde03a6a0fb ipv6: use prandom_u32() for ID generation
    482708d036be clk: tegra: Ensure that PLLU configuration is applied properly
    050c6bb5cbf7 clk: renesas: r8a77995: Add ZA2 clock
    c84e0757d80b drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
    cdfd4ceafba9 igb: handle vlan types with checker enabled
    596b031a3d3a e100: handle eeprom as little endian
    80d505aee639 udf: Fix NULL pointer dereference in udf_symlink function
    c32d0f0e164f drm/sched: Avoid data corruptions
    6ebfdf01cc89 drm/virtio: Fix double free on probe failure
    5e2d303b452a reiserfs: add check for invalid 1st journal block
    1a2d21e266c4 drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
    45cc7a653f5a net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
    bdf5334250c6 atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
    3ecd228c636e mISDN: fix possible use-after-free in HFC_cleanup()
    c9172498d4d6 atm: iphase: fix possible use-after-free in ia_module_exit()
    b52b0d996a13 hugetlb: clear huge pte during flush function on mips platform
    526451e8d241 drm/amd/display: fix use_max_lb flag for 420 pixel formats
    cfd8894619d1 net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
    f6d326ad0324 drm/vc4: fix argument ordering in vc4_crtc_get_margins()
    997dedaa75e9 drm/amd/amdgpu/sriov disable all ip hw status by default
    34b01e883a5d drm/zte: Don't select DRM_KMS_FB_HELPER
    012439cba95c drm/mxsfb: Don't select DRM_KMS_FB_HELPER

(From OE-Core rev: f38fa9ad02b625534b91328755efbbdcff200010)

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>
2021-07-22 09:33:44 +01:00
Bruce Ashfield
251b69e70a linux-yocto/5.10: update to v5.10.52
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    2cd5fe24a7f0 Linux 5.10.52
    174c34d9cda1 seq_file: disallow extremely large seq buffer allocations
    b33aa0dbd72f scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
    e09c9b558436 MIPS: vdso: Invalid GIC access through VDSO
    20f79ce2b1ab mips: disable branch profiling in boot/decompress.o
    4e2764e96a15 mips: always link byteswap helpers into decompressor
    53c5c2496fc9 static_call: Fix static_call_text_reserved() vs __init
    59ae35884c5e jump_label: Fix jump_label_text_reserved() vs __init
    143a6b8ec5c6 sched/uclamp: Ignore max aggregation if rq is idle
    43b89ef7bc4a scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe()
    f71f13034f3b arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc
    b3231050c75c arm64: dts: rockchip: Re-add regulator-boot-on, regulator-always-on for vdd_gpu on rk3399-roc-pc
    9436e9001d40 firmware: turris-mox-rwtm: show message about HWRNG registration
    b2a5949a91a7 firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
    ddf380b0941f firmware: turris-mox-rwtm: report failures better
    271c12dbeb62 firmware: turris-mox-rwtm: fix reply status decoding function
    804aabb50990 thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
    dae777523234 ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery
    936446f15aef ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems
    f12a456f1c3b ARM: dts: imx6q-dhcom: Fix ethernet reset time properties
    b1995806d008 thermal/drivers/sprd: Add missing MODULE_DEVICE_TABLE
    4d9ea2858607 ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema
    6641724d68fd ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema
    0724764c085a ARM: dts: dra7: Fix duplicate USB4 target module node
    6cd58375c532 arm64: dts: allwinner: a64-sopine-baseboard: change RGMII mode to TXID
    b5789e23773f memory: fsl_ifc: fix leak of private memory on probe failure
    8d071d270afb memory: fsl_ifc: fix leak of IO mapping on probe failure
    1479998d8027 arm64: dts: ti: k3-j721e-main: Fix external refclk input to SERDES
    668ca468702e arm64: dts: renesas: r8a779a0: Drop power-domains property from GIC node
    884d09d1f18c reset: bail if try_module_get() fails
    8c07e1a8c57c ARM: dts: BCM5301X: Fixup SPI binding
    db4e87ab60e8 dt-bindings: i2c: at91: fix example for scl-gpios
    4b4c61049ec5 firmware: arm_scmi: Reset Rx buffer to max size during async commands
    c381e695cfcd firmware: tegra: Fix error return code in tegra210_bpmp_init()
    f58a3bc94aae arm64: dts: qcom: trogdor: Add no-hpd to DSI bridge node
    d99524d13df9 ARM: dts: stm32: Rework LAN8710Ai PHY reset on DHCOM SoM
    91df7f4a0410 ARM: dts: stm32: Connect PHY IRQ line on DH STM32MP1 SoM
    c4218acd688e arm64: dts: renesas: r8a7796[01]: Fix OPP table entry voltages
    305df11389cb arm64: dts: renesas: Add missing opp-suspend properties
    55fd1d3ca578 arm64: dts: ti: j7200-main: Enable USB2 PHY RX sensitivity workaround
    b8d350b4ac1e ARM: dts: r8a7779, marzen: Fix DU clock names
    b02a65061e97 arm64: dts: renesas: v3msk: Fix memory size
    ab4d76eb7737 rtc: fix snprintf() checking in is_rtc_hctosys()
    e35246365403 ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode
    3199ff7b9f54 memory: pl353: Fix error return code in pl353_smc_probe()
    fc7a8347ce49 reset: brcmstb: Add missing MODULE_DEVICE_TABLE
    3f526ea670d8 memory: atmel-ebi: add missing of_node_put for loop iteration
    84fa4a10631a memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration
    c385d93c3c1a ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
    b7016870feea ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
    640105e7c08d ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
    6870bc426796 ARM: exynos: add missing of_node_put for loop iteration
    85dd41383b36 reset: a10sr: add missing of_match_table reference
    685ec4c0f27c reset: RESET_INTEL_GW should depend on X86
    2ca912471db4 reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
    f75cec5c2048 ARM: dts: gemini-rut1xx: remove duplicate ethernet node
    f11508ecc696 hexagon: use common DISCARDS macro
    f7121692795c hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
    4aa17d058a9b NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
    885c0cc2acfe NFSv4/pnfs: Fix layoutget behaviour after invalidation
    a668a77e6aed NFSv4/pnfs: Fix the layout barrier update
    6ccccc03f87a vdpa/mlx5: Clear vq ready indication upon device reset
    0e5f204ea595 ALSA: isa: Fix error return code in snd_cmi8330_probe()
    6612c412336c nfsd: Reduce contention for the nfsd_file nf_rwsem
    89047f0089cd nvme-tcp: can't set sk_user_data without write_lock
    4b3fd33f580f virtio_net: move tx vq operation under tx queue lock
    8795692f0d6c vdpa/mlx5: Fix possible failure in umem size calculation
    63272b1ffdb0 vdpa/mlx5: Fix umem sizes assignments on VQ create
    e22051e7c9f7 PCI: tegra194: Fix tegra_pcie_ep_raise_msi_irq() ill-defined shift
    527bb29eb183 pwm: imx1: Don't disable clocks at device remove time
    12d84de59da0 PCI: intel-gw: Fix INTx enable
    b5859dacd29e x86/fpu: Limit xstate copy size in xstateregs_set()
    07b760a79170 x86/fpu: Fix copy_xstate_to_kernel() gap handling
    aa7fccd383de f2fs: fix to avoid adding tab before doc section
    607caa080119 PCI: iproc: Support multi-MSI only on uniprocessor kernel
    54dc6fcce3de PCI: iproc: Fix multi-MSI base vector number allocation
    ac2e498ab222 ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
    4b515308ab87 nfs: fix acl memory leak of posix_acl_create()
    b8eace7d3b9c SUNRPC: prevent port reuse on transports which don't request it.
    5577eece796f watchdog: jz4740: Fix return value check in jz4740_wdt_probe()
    3b93d520ac53 watchdog: aspeed: fix hardware timeout calculation
    412ef737be65 ubifs: journal: Fix error return code in ubifs_jnl_write_inode()
    6bcc0590cb91 ubifs: Fix off-by-one error
    aab881d7f074 um: fix error return code in winch_tramp()
    9bb3f31b25b2 um: fix error return code in slip_open()
    0bfb6d49497c misc: alcor_pci: fix inverted branch condition
    5c7ef8a37055 NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT
    ff4023d01942 NFSv4: Initialise connection to the server in nfs4_alloc_client()
    36291fd6279f power: supply: rt5033_battery: Fix device tree enumeration
    ae56850d3657 PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun
    6594d0aa1c22 remoteproc: k3-r5: Fix an error message
    d3c150978ead f2fs: compress: fix to disallow temp extension
    43cefd126450 f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
    74569cb9ed7b x86/signal: Detect and prevent an alternate signal stack overflow
    f0e905df68d6 NFSD: Fix TP_printk() format specifier in nfsd_clid_class
    2830dd2faa53 f2fs: atgc: fix to set default age threshold
    f6ec306b93dc virtio_console: Assure used length from device is limited
    09a94a89d74f virtio_net: Fix error handling in virtnet_restore()
    cd24da0db9f7 virtio-blk: Fix memory leak among suspend/resume procedure
    d420b1166643 PCI: rockchip: Register IRQ handlers after device and data are ready
    424fc30298cb ACPI: video: Add quirk for the Dell Vostro 3350
    4f2b140658cd ACPI: AMBA: Fix resource name in /proc/iomem
    9dcc9ad34348 pwm: tegra: Don't modify HW state in .remove callback
    3d82361abd03 pwm: img: Fix PM reference leak in img_pwm_enable()
    b3205768cd1a drm/amdkfd: fix sysfs kobj leak
    687875fa9c3b power: supply: ab8500: add missing MODULE_DEVICE_TABLE
    e88d524c662b power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
    89786fbc4d1e NFS: nfs_find_open_context() may only select open files
    0fedfa72aedc drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()
    59d912fe9bb9 ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty
    3c586f825576 orangefs: fix orangefs df output.
    6e43cdcbb715 PCI: tegra: Add missing MODULE_DEVICE_TABLE
    2df1abffc474 remoteproc: core: Fix cdev remove and rproc del
    f3a56cd3eaf6 x86/fpu: Return proper error codes from user access functions
    39ed17de8c6f watchdog: iTCO_wdt: Account for rebooting on second timeout
    9cc9f5de281b watchdog: imx_sc_wdt: fix pretimeout
    66ba9cf929b1 watchdog: Fix possible use-after-free by calling del_timer_sync()
    a173e3b62cf6 watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
    a397cb4576fc watchdog: Fix possible use-after-free in wdt_startup()
    96c0bf09125e PCI: pciehp: Ignore Link Down/Up caused by DPC
    497064740406 NFSv4: Fix delegation return in cases where we have to retry
    b05c555c8d4d PCI/P2PDMA: Avoid pci_get_slot(), which may sleep
    8e3f27bb7fdd ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
    9d829ca43b08 power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
    efc6443c1abe power: supply: max17042: Do not enforce (incorrect) interrupt trigger type
    7667cdc4b7e8 PCI: hv: Fix a race condition when removing the device
    14016c172820 power: supply: ab8500: Avoid NULL pointers
    0df49cdc7c15 PCI: ftpci100: Rename macro name collision
    e133435232ed pwm: spear: Don't modify HW state in .remove callback
    15a19c5a9292 power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE
    d7897890bade power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE
    6ed9f9899b66 kcov: add __no_sanitize_coverage to fix noinstr for all architectures
    ff53dfb32349 lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
    b85b43c3e4b8 phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
    a9d986be494e i2c: core: Disable client irq on reboot/shutdown
    9c6c65704719 intel_th: Wait until port is in reset before programming it
    45f1de1fff2b staging: rtl8723bs: fix macro value for 2.4Ghz only device
    1f577093c843 leds: turris-omnia: add missing MODULE_DEVICE_TABLE
    ff8f11860e43 ALSA: firewire-motu: fix detection for S/PDIF source on optical interface in v2 protocol
    9ada4baae639 ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions
    fb7c8bfa2e3c ALSA: hda: Add IRQ check for platform_get_irq()
    63c49cfa2f0c backlight: lm3630a: Fix return code of .update_status() callback
    719c45a41cdb ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters
    692e16958f48 powerpc/boot: Fixup device-tree on little endian
    b41cb0e4af0b usb: gadget: hid: fix error return code in hid_bind()
    309b44d31667 usb: gadget: f_hid: fix endianness issue with descriptors
    16668cc65601 ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values
    3005d48b40e5 ALSA: usb-audio: scarlett2: Fix data_mutex lock
    8f075c61ea8d ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count
    3b7bd795cbef ALSA: bebob: add support for ToneWeal FW66
    90cd79aa9ac7 Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
    a50b56ffc0c8 s390/mem_detect: fix tprot() program check new psw handling
    7e1e0235b3db s390/mem_detect: fix diag260() program check new psw handling
    c25be19aa957 s390/ipl_parm: fix program check new psw handling
    3794633dfdd8 s390/processor: always inline stap() and __load_psw_mask()
    f22649cf90c3 habanalabs: remove node from list before freeing the node
    25ddb0a42f3a habanalabs/gaudi: set the correct cpu_id on MME2_QM failure
    3dd2a9daa765 ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing()
    8e18158ea787 powerpc/mm/book3s64: Fix possible build error
    ed0b4b56a922 gpio: pca953x: Add support for the On Semi pca9655
    b7f4423c7de8 selftests/powerpc: Fix "no_handler" EBB selftest
    c7f2112e7ada ALSA: ppc: fix error return code in snd_pmac_probe()
    1004c52e3c51 scsi: storvsc: Correctly handle multiple flags in srb_status
    b3d3a2466e74 gpio: zynq: Check return value of irq_get_irq_data
    3d2b0818daa4 gpio: zynq: Check return value of pm_runtime_get_sync
    71f8d7fbfe8e ASoC: soc-pcm: fix the return value in dpcm_apply_symmetry()
    43d1aaa1965f iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
    c4007596fbda iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails
    f8763ab3fb86 powerpc/ps3: Add dma_mask to ps3_dma_region
    0e54f8ee6bff ALSA: sb: Fix potential double-free of CSP mixer elements
    52d242f2bffe selftests: timers: rtcpie: skip test if default RTC device does not exist
    7b18f26d8277 s390: disable SSP when needed
    78cddc9aa6be s390/sclp_vt220: fix console name to match device
    2f4e7363a998 serial: tty: uartlite: fix console setup
    dc9db4629210 fsi: Add missing MODULE_DEVICE_TABLE
    0c67c2e20366 ASoC: img: Fix PM reference leak in img_i2s_in_probe()
    af8b891cd339 mfd: cpcap: Fix cpcap dmamask not set warnings
    d339f6a0d1a1 mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
    5dd2955565e8 scsi: qedi: Fix cleanup session block/unblock use
    6f36afa1550a scsi: qedi: Fix TMF session block/unblock use
    57fa983ea736 scsi: qedi: Fix race during abort timeouts
    afa1c8ee7e63 scsi: qedi: Fix null ref during abort handling
    fa7adae4b577 scsi: iscsi: Fix shost->max_id use
    89812e7957ab scsi: iscsi: Fix conn use after free during resets
    21962a5dd6b4 scsi: iscsi: Add iscsi_cls_conn refcount helpers
    5ac2428f2b96 scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs
    422fb12054f4 scsi: megaraid_sas: Early detection of VD deletion through RaidMap update
    0680db6f4192 scsi: megaraid_sas: Fix resource leak in case of probe failure
    c851de0215eb fs/jfs: Fix missing error code in lmLogInit()
    7207cd708eb3 scsi: scsi_dh_alua: Check for negative result value
    6bad74b2b49f scsi: core: Fixup calling convention for scsi_mode_sense()
    b4fd2ab0a91b scsi: mpt3sas: Fix deadlock while cancelling the running firmware event
    7a80f71601af tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
    75452cc77668 ALSA: ac97: fix PM reference leak in ac97_bus_remove()
    664695a75468 scsi: core: Cap scsi_host cmd_per_lun at can_queue
    21d8b90cec7e scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
    2626d5ed6b5c scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
    bb1d1c214948 scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw()
    024550409022 scsi: arcmsr: Fix doorbell status being updated late on ARC-1886
    20c62caf2eaf w1: ds2438: fixing bug that would always get page0
    8e8d910e9a3a usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
    b30a115e4af5 Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro"
    7d7f30cf182e ALSA: usx2y: Don't call free_pages_exact() with NULL address
    f4997bf6c448 ALSA: usx2y: Avoid camelCase
    1b1d6aa1a8cf iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get()
    5ecb0acc45e8 iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get().
    5f69841c220a partitions: msdos: fix one-byte get_unaligned()
    a8c3d1a515b9 ASoC: intel/boards: add missing MODULE_DEVICE_TABLE
    58f69684ba03 misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
    b9c87ce3bc63 misc/libmasm/module: Fix two use after free in ibmasm_init_one
    4f3c807739e3 serial: fsl_lpuart: disable DMA for console and fix sysrq
    6942fbc00981 tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero
    35a35909ec19 rcu: Reject RCU_LOCKDEP_WARN() false positives
    23597afbe096 srcu: Fix broken node geometry after early ssp init
    4d395142d96f scsi: arcmsr: Fix the wrong CDB payload report to IOP
    22d22fef9cbc dmaengine: fsl-qdma: check dma_set_mask return value
    32064330708b ASoC: Intel: sof_sdw: add mutual exclusion between PCH DMIC and RT715
    164a3880a76a leds: tlc591xx: fix return value check in tlc591xx_probe()
    9ebcc60565f2 net: bridge: multicast: fix MRD advertisement router port marking race
    664cc645bdd8 net: bridge: multicast: fix PIM hello router port marking race
    b3aea76efe90 Revert "drm/ast: Remove reference to struct drm_device.pdev"
    b3f8120039d5 drm/ingenic: Switch IPU plane to type OVERLAY
    8f6dcc4dd731 drm/ingenic: Fix non-OSD mode
    cae871baa4f3 drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()
    16fb4e9c39b9 drm/dp_mst: Avoid to mess up payload table by ports in stale topology
    3462bc8b1a1f drm/dp_mst: Do not set proposed vcpi directly
    087bff9acd2e fbmem: Do not delete the mode that is still in use
    811763e3beb6 cgroup: verify that source is a string
    0728df804806 drm/i915/gt: Fix -EDEADLK handling regression
    81dd2d60f677 drm/i915/gtt: drop the page table optimisation
    905169794d9c tracing: Do not reference char * as a string in histograms
    e1261c7a846e scsi: zfcp: Report port fc_security as unknown early during remote cable pull
    ea518b70ed5e scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
    8b2ae2de536c KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run()
    bedc5d091138 KVM: nSVM: Check the value written to MSR_VM_HSAVE_PA
    5b779e597cb7 KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs
    1a1a5e440953 KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled
    679837dc0aba KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
    72797ffca1bd cifs: handle reconnect of tcon when there is no cached dfs referral
    b93f9499427c certs: add 'x509_revocation_list' to gitignore
    f68261346518 Linux 5.10.51
    86786603014e f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
    5e4f5138bd85 ext4: fix memory leak in ext4_fill_super
    3780348c1a0e smackfs: restrict bytes count in smk_set_cipso()
    801893695036 jfs: fix GPF in diFree
    fcb041ca5c77 drm/ast: Remove reference to struct drm_device.pdev
    3785f3c1e3c7 pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
    b716ccffbc8d dm writecache: write at least 4k when committing
    090588059c30 io_uring: fix clear IORING_SETUP_R_DISABLED in wrong function
    aa57b2d6b37e media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
    31874b6b63dd media: gspca/sunplus: fix zero-length control requests
    de95c0bd797a media: gspca/sq905: fix control-request direction
    c57bfd8000d7 media: zr364xx: fix memory leak in zr364xx_start_readpipe
    dbd58d397844 media: dtv5100: fix control-request directions
    db317a37229b media: subdev: disallow ioctl for saa6588/davinci
    e2c1218ddc5f PCI: aardvark: Implement workaround for the readback value of VEND_ID
    130919708990 PCI: aardvark: Fix checking for PIO Non-posted Request
    f147115018aa PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
    ba47e65a5de3 dm btree remove: assign new_root only when removal succeeds
    1b5918b087b1 dm writecache: flush origin device when writing and cache is full
    cbc03ffec260 dm zoned: check zone capacity
    35c1c4bd2d59 coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
    048624ad564c coresight: Propagate symlink failure
    0c2bc1489104 ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
    eb81b5a37dc5 tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
    3cda5b7f4e29 tracing: Simplify & fix saved_tgids logic
    8cc58a6e2c39 rq-qos: fix missed wake-ups in rq_qos_throttle try two
    f9fb4986f4d8 seq_buf: Fix overflow in seq_buf_putmem_hex()
    418b333afbd5 extcon: intel-mrfld: Sync hardware and software state on init
    af092ec16e06 selftests/lkdtm: Fix expected text for CR4 pinning
    0af643fa7e74 lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
    baedb1f5a08c nvmem: core: add a missing of_node_put
    f0a079c0ba87 mfd: syscon: Free the allocated name field of struct regmap_config
    a8a2e506ea2f power: supply: ab8500: Fix an old bug
    38dde03eb239 ubifs: Fix races between xattr_{set|get} and listxattr operations
    690a11fb4e9f thermal/drivers/int340x/processor_thermal: Fix tcc setting
    ef5066f95c15 ipmi/watchdog: Stop watchdog timer when the current action is 'none'
    7ade84f8df8f qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
    02671eda9ab9 i40e: fix PTP on 5Gb links
    ab9d7c5fc9c6 ASoC: tegra: Set driver_name=tegra for all machine drivers
    e0d9beb44abd fpga: stratix10-soc: Add missing fpga_mgr_free() call
    5a5ebf5d4822 clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
    b5e26be407e6 cpu/hotplug: Cure the cpusets trainwreck
    a11a457820fb arm64: tlb: fix the TTL value of tlb_get_level
    0afa6ad0c49a ata: ahci_sunxi: Disable DIPM
    5543f61e2e0c mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
    b53b0ca4a4ec mmc: core: clear flags before allowing to retune
    658f58189a4f mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
    5ced01c0e855 mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B
    3f9c2a058e61 drm/i915/display: Do not zero past infoframes.vsc
    8abf5eec0ebd drm/nouveau: Don't set allow_fb_modifiers explicitly
    42a333ea4b4f drm/arm/malidp: Always list modifiers
    0bcc074f90d2 drm/msm/mdp4: Fix modifier support enabling
    4d61ddd74041 drm/tegra: Don't set allow_fb_modifiers explicitly
    c6016936171a drm/amd/display: Reject non-zero src_y and src_x for video planes
    7d3053889400 pinctrl/amd: Add device HID for new AMD GPIO controller
    b13574fa83ac drm/amd/display: fix incorrrect valid irq check
    3c8216b3503a drm/rockchip: dsi: remove extra component_del() call
    2998599fb16c drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info()
    98bd09d928b3 drm/vc4: hdmi: Prevent clock unbalance
    a2b8835cb4d1 drm/vc4: crtc: Skip the TXP
    293e520d2043 drm/vc4: txp: Properly set the possible_crtcs mask
    0d50d93d05d6 drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64
    7aa28f2f6742 drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
    2674ffcad0ae drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2)
    8f933b27cbf1 drm/amdgpu: Update NV SIMD-per-CU to 2
    97ebbfe445cd powerpc/powernv/vas: Release reference to tgid during window close
    a024e88f8ab7 powerpc/barrier: Avoid collision with clang's __lwsync macro
    d2e52d466409 powerpc/mm: Fix lockup on kernel exec fault
    4ad382bc4abc scsi: iscsi: Fix iSCSI cls conn state
    221b7e1e76fb scsi: iscsi: Fix race condition between login and sync thread
    907318883508 io_uring: convert io_buffer_idr to XArray
    c5a50a220a41 io_uring: Convert personality_idr to XArray
    cb2985feb118 io_uring: simplify io_remove_personalities()
    7d4f96158852 mm,hwpoison: return -EBUSY when migration fails
    fd6625a1ec40 loop: fix I/O error on fsync() in detached loop devices
    88f0bc830c52 arm64: dts: rockchip: Enable USB3 for rk3328 Rock64
    421aff50af5e arm64: dts: rockchip: add rk3328 dwc3 usb controller node
    8eb12fa96bc5 ath11k: unlock on error path in ath11k_mac_op_add_interface()
    9706c5343346 MIPS: MT extensions are not available on MIPS32r1
    6cf2e905b1a0 selftests/resctrl: Fix incorrect parsing of option "-t"
    10f8fca6761b MIPS: set mips32r5 for virt extensions
    ff4762bcb95e MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
    6ef81a5c0e22 sctp: add size validation when walking chunks
    d4dbef7046e2 sctp: validate from_addr_param return
    e83f312114a0 flow_offload: action should not be NULL when it is referenced
    a61af0114118 bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc()
    20285dc2711c sched/fair: Ensure _sum and _avg values stay consistent
    e2296a4365f2 Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
    8d7a3989c14d Bluetooth: mgmt: Fix the command returns garbage parameter value
    05298f1733c6 Bluetooth: btusb: Add support USB ALT 3 for WBS
    cc49ab24ec37 Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
    79a313086426 Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure fails
    c4a9967e4d09 Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500)
    60789afc02f5 Bluetooth: Shutdown controller after workqueues are flushed or cancelled
    5147d86c4a5b Bluetooth: Fix alt settings for incoming SCO with transparent coding format
    8f939b4c2563 Bluetooth: Fix the HCI to MGMT status conversion table
    5f5f8022c1aa Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
    3d08b5917984 RDMA/cma: Fix rdma_resolve_route() memory leak
    a8585fdf42b5 net: ip: avoid OOM kills with large UDP sends over loopback
    04177aa99a93 media, bpf: Do not copy more entries than user space requested
    d8bb134d808c IB/isert: Align target max I/O size to initiator size
    d330f5f8dff7 mac80211_hwsim: add concurrent channels scanning support over virtio
    97f067722669 mac80211: consider per-CPU statistics if present
    1b728869a134 cfg80211: fix default HE tx bitrate mask in 2G band
    0a7ba5d373f1 wireless: wext-spy: Fix out-of-bounds warning
    c1ad55b6a1f4 sfc: error code if SRIOV cannot be disabled
    1013dc896d99 sfc: avoid double pci_remove of VFs
    7cd6986f2de5 iwlwifi: pcie: fix context info freeing
    b98ec6d8b34d iwlwifi: pcie: free IML DMA memory allocation
    78eadadff3d1 iwlwifi: mvm: fix error print when session protection ends
    1e1bb1efd60e iwlwifi: mvm: don't change band on bound PHY contexts
    1df36030393a RDMA/rxe: Don't overwrite errno from ib_umem_get()
    ee33c042f492 vsock: notify server to shutdown when client has pending signal
    38bc2ebf344c atm: nicstar: register the interrupt handler in the right place
    90efb7f1006a atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
    1d304c7ddd36 net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
    c7a31ae63e2c MIPS: add PMD table accounting into MIPS'pmd_alloc_one
    50ce920fe113 rtl8xxxu: Fix device info for RTL8192EU devices
    a10e871b73b4 mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
    4cd713e48c27 drm/amdkfd: Walk through list with dqm lock hold
    a2122e079204 drm/amdgpu: fix bad address translation for sienna_cichlid
    932be4cf2ba2 io_uring: fix false WARN_ONCE
    92a9fb51e5ec net: sched: fix error return code in tcf_del_walker()
    d2801d111829 net: ipa: Add missing of_node_put() in ipa_firmware_load()
    5cc0cf735f13 net: fix mistake path for netdev_features_strings
    891db094a0aa mt76: mt7615: fix fixed-rate tx status reporting
    090b06b25afe ice: mark PTYPE 2 as reserved
    b88a90783043 ice: fix incorrect payload indicator on PTYPE
    2e66c36f1308 bpf: Fix up register-based shifts in interpreter to silence KUBSAN
    0e72b151e394 drm/amdkfd: Fix circular lock in nocpsch path
    cd29db48bb65 drm/amdkfd: fix circular locking on get_wave_state
    9d21abc8fd20 cw1200: add missing MODULE_DEVICE_TABLE
    c5e4a10d7bd5 wl1251: Fix possible buffer overflow in wl1251_cmd_scan
    5a3d373c4a33 wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
    ad7083a95d8a dm writecache: commit just one block, not a full page
    57f7ed25bd16 xfrm: Fix error reporting in xfrm_state_construct.
    a5f8862967c4 drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
    db3c3643d55e r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
    f38371821c25 selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
    0a244be95bca fjes: check return value after calling platform_get_resource()
    378c156f9dd0 drm/amdkfd: use allowed domain for vmbo validation
    fb3b4bcdd3bc net: sgi: ioc3-eth: check return value after calling platform_get_resource()
    e613f67f1b51 selftests: Clean forgotten resources as part of cleanup()
    8a4318c14ace net: phy: realtek: add delay to fix RXC generation issue
    c71de31b2e0f drm/amd/display: Fix off-by-one error in DML
    afa06442d23d drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
    02f444321b3a drm/amd/display: Release MST resources on switch from MST to SST
    01d6a6931965 drm/amd/display: Update scaling settings on modeset
    57c63b47d6f1 drm/amd/display: Fix DCN 3.01 DSCCLK validation
    8e4da401425b net: moxa: Use devm_platform_get_and_ioremap_resource()
    278dc34b7112 net: micrel: check return value after calling platform_get_resource()
    ce1307ec621b net: mvpp2: check return value after calling platform_get_resource()
    49b3a7f38a9b net: bcmgenet: check return value after calling platform_get_resource()
    92820a12823e net: mscc: ocelot: check return value after calling platform_get_resource()
    f3b96f4b6b2d virtio_net: Remove BUG() to avoid machine dead
    87c39048ec7f ice: fix clang warning regarding deadcode.DeadStores
    e352556acef9 ice: set the value of global config lock timeout longer
    b5f2982e0609 pinctrl: mcp23s08: fix race condition in irq handler
    a4a86400c68c net: bridge: mrp: Update ring transitions.
    cc4f0a9d5aa1 dm: Fix dm_accept_partial_bio() relative to zone management commands
    939f750215b8 dm writecache: don't split bios when overwriting contiguous cache content
    65e780667cf3 dm space maps: don't reset space map allocation cursor when committing
    313d9f25804c RDMA/cxgb4: Fix missing error code in create_qp()
    f9c67c179e3b net: tcp better handling of reordering then loss cases
    8fa6473a61ec drm/amdgpu: remove unsafe optimization to drop preamble ib
    c5b518f4b98d drm/amd/display: Avoid HDCP over-read and corruption
    3c172f6e444b MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
    0903ac8f09c6 MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
    8f939b795797 ipv6: use prandom_u32() for ID generation
    c92298d228f6 virtio-net: Add validation for used length
    5e039a80a76b drm: bridge: cdns-mhdp8546: Fix PM reference leak in
    d1eaf4cb4408 clk: tegra: Ensure that PLLU configuration is applied properly
    dc5bacea9462 clk: tegra: Fix refcounting of gate clocks
    315988817aa7 RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
    4f6a0f31c627 net: stmmac: the XPCS obscures a potential "PHY not found" error
    a7d608bb786c drm: rockchip: add missing registers for RK3066
    d89ea206e99c drm: rockchip: add missing registers for RK3188
    e54b4a534845 net/mlx5: Fix lag port remapping logic
    62137d1ae5f8 net/mlx5e: IPsec/rep_tc: Fix rep_tc_update_skb drops IPsec packet
    219150485d73 clk: renesas: r8a77995: Add ZA2 clock
    0680344d7131 drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
    95f8ce9f18cb igb: fix assignment on big endian machines
    66d593aa3aea igb: handle vlan types with checker enabled
    ffb865715a0f e100: handle eeprom as little endian
    f06ea024c176 drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co()
    48c96d5bacc0 drm/vc4: Fix clock source for VEC PixelValve on BCM2711
    21bf1414580c udf: Fix NULL pointer dereference in udf_symlink function
    0687411e2a88 drm/sched: Avoid data corruptions
    5ed8c298b2e1 drm/scheduler: Fix hang when sched_entity released
    73ac001f060b pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
    1b832bd77799 net/sched: cls_api: increase max_reclassify_loop
    6ceb0182b087 net: mdio: provide shim implementation of devm_of_mdiobus_register
    d2d17ca924f4 drm/virtio: Fix double free on probe failure
    69a71b59b18c reiserfs: add check for invalid 1st journal block
    c5073100dc4f drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE
    b5713dac1916 net: mdio: ipq8064: add regmap config to disable REGCACHE
    c0dd36bcb67f drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
    3393405257ed net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
    a7f7c42e3115 atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
    b7ee9ae1e0cf mISDN: fix possible use-after-free in HFC_cleanup()
    e759ff76ebbb atm: iphase: fix possible use-after-free in ia_module_exit()
    2292d9691ce9 hugetlb: clear huge pte during flush function on mips platform
    a74872106e78 clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()
    3ca86d44b902 drm/amd/display: fix use_max_lb flag for 420 pixel formats
    5953b984c3e4 net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
    fb960728f8f1 drm/bridge: nwl-dsi: Force a full modeset when crtc_state->active is changed to be true
    796554d3d68f drm/vc4: fix argument ordering in vc4_crtc_get_margins()
    b025bc07c947 drm/amd/amdgpu/sriov disable all ip hw status by default
    fb7479d64d77 drm/amd/display: fix HDCP reset sequence on reinitialize
    d055669e669a drm/ast: Fixed CVE for DP501
    95c3133bc8eb drm/zte: Don't select DRM_KMS_FB_HELPER
    b60ae0fab550 drm/mxsfb: Don't select DRM_KMS_FB_HELPER

(From OE-Core rev: 9cec9a92c3e8451d1b9875e97e63c24543a6f787)

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>
2021-07-22 09:33:44 +01:00
Bruce Ashfield
5fe8e41520 linux-yocto/5.13: update to v5.13.4
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    64376a981a0e Linux 5.13.4
    71de462034c6 seq_file: disallow extremely large seq buffer allocations
    31cf8e7e504e misc: alcor_pci: fix inverted branch condition
    9930eeb4ffae scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
    e1b2b2b61d30 cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init
    c898c9bfd3d5 perf tools: Fix pattern matching for same substring in different PMU type
    04ea267f5357 MIPS: vdso: Invalid GIC access through VDSO
    bd5b2e8f4a7c s390/irq: remove HAVE_IRQ_EXIT_ON_IRQ_STACK
    272fa75ec8a0 perf script python: Fix buffer size to report iregs in perf script
    3a5f4fb0ee2d mips: disable branch profiling in boot/decompress.o
    79a0e94e1434 mips: always link byteswap helpers into decompressor
    8be9eadd7bd6 kprobe/static_call: Restore missing static_call_text_reserved()
    fda47dd9f5d7 static_call: Fix static_call_text_reserved() vs __init
    a861b41d0b41 jump_label: Fix jump_label_text_reserved() vs __init
    7ec843ba963e sched/uclamp: Ignore max aggregation if rq is idle
    c368aa2bbd2a scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe()
    b6a08c2f1c41 arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc
    12f8ee513a33 arm64: dts: rockchip: Re-add regulator-boot-on, regulator-always-on for vdd_gpu on rk3399-roc-pc
    9f5d2c5052d3 firmware: turris-mox-rwtm: show message about HWRNG registration
    852ae2d33e1f firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
    5f6ffd65b7dc firmware: turris-mox-rwtm: report failures better
    aa1b734129a7 firmware: turris-mox-rwtm: fix reply status decoding function
    3dbb2de9e7af kbuild: remove trailing slashes from $(KBUILD_EXTMOD)
    2292bba57bb6 thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
    314027808303 arm64: dts: ti: k3-am642-evm: align ti,pindir-d0-out-d1-in property with dt-shema
    908b140229a2 arm64: dts: ti: am65: align ti,pindir-d0-out-d1-in property with dt-shema
    6f62efde1ae0 arm64: dts: ti: k3-am642-main: fix ports mac properties
    5b47aec030e9 ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery
    189c0feed615 ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems
    bffed302186c ARM: dts: imx6q-dhcom: Fix ethernet reset time properties
    527b863b5260 thermal/drivers/sprd: Add missing MODULE_DEVICE_TABLE
    688126766067 ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema
    ca219ca56e48 ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema
    75e9d92befad ARM: dts: dra7: Fix duplicate USB4 target module node
    4264bda03ef1 arm64: dts: allwinner: a64-sopine-baseboard: change RGMII mode to TXID
    a6b45b4932f7 memory: fsl_ifc: fix leak of private memory on probe failure
    28f71fd81ebd memory: fsl_ifc: fix leak of IO mapping on probe failure
    5efc32c0cf6d arm64: dts: ti: k3-j721e-common-proc-board: Re-name "link" name as "phy"
    c854fab6a0c9 arm64: dts: ti: k3-j721e-common-proc-board: Use external clock for SERDES
    2920f3582a2b arm64: dts: ti: k3-j721e-main: Fix external refclk input to SERDES
    e1ff512116e9 firmware: arm_scmi: Add delayed response status check
    3b28d0838e94 Revert "ARM: dts: bcm283x: increase dwc2's RX FIFO size"
    5bb263488bd0 arm64: dts: renesas: r8a779a0: Drop power-domains property from GIC node
    cb5259dacdbc reset: bail if try_module_get() fails
    39119c5e50a9 ARM: dts: BCM5301X: Fixup SPI binding
    c2c62ef35e79 dt-bindings: i2c: at91: fix example for scl-gpios
    365987eb0d0e firmware: arm_scmi: Reset Rx buffer to max size during async commands
    1a35a7db3430 soc: mtk-pm-domains: Fix the clock prepared issue
    02fb5809342a soc: mtk-pm-domains: do not register smi node as syscon
    ea6ad20a5381 firmware: tegra: Fix error return code in tegra210_bpmp_init()
    2ef47def7bba arm64: dts: qcom: sc7180: Fix sc7180-qmp-usb3-dp-phy reg sizes
    77cb5b1b127f arm64: dts: qcom: c630: Add no-hpd to DSI bridge node
    c8072f1620ce arm64: dts: qcom: trogdor: Add no-hpd to DSI bridge node
    2d2b0b26399f ARM: dts: stm32: Rework LAN8710Ai PHY reset on DHCOM SoM
    a3d54e663d3b arm64: dts: renesas: r8a7796[01]: Fix OPP table entry voltages
    f8303239e753 arm64: dts: renesas: Add missing opp-suspend properties
    bd8eefc0b53d ARM: dts: qcom: sdx55-telit: Represent secure-regions as 64-bit elements
    6dfc3b366e20 ARM: dts: qcom: sdx55-t55: Represent secure-regions as 64-bit elements
    1b5c14a6bbe4 arm64: dts: ti: j7200-main: Enable USB2 PHY RX sensitivity workaround
    ec80ffdc4283 arm64: dts: ti: k3-j7200: Remove "#address-cells" property from GPIO DT nodes
    6d300d33d567 arm64: dts: ti: k3-am64-mcu: Fix the compatible string in GPIO DT node
    d1b67a186292 arm64: dts: qcom: sdm845-oneplus-common: guard rmtfs-mem
    d8ef498abc67 ARM: dts: r8a7779, marzen: Fix DU clock names
    7d32c0007098 arm64: dts: renesas: v3msk: Fix memory size
    104f7241f12d rtc: fix snprintf() checking in is_rtc_hctosys()
    0b46343d52e8 rtc: bd70528: fix BD71815 watchdog dependency
    dff5eb6da4f8 ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode
    7540e4352365 memory: pl353: Fix error return code in pl353_smc_probe()
    410c26a81b6c arm64: defconfig: Do not override the MTK_PMIC_WRAP symbol
    91253471596e reset: brcmstb: Add missing MODULE_DEVICE_TABLE
    19c0f8293f31 memory: atmel-ebi: add missing of_node_put for loop iteration
    e075ad208d19 memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration
    444c3049db10 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
    209aa4be8b40 ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
    3bbfd45abcd3 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
    3bd497c174c5 ARM: exynos: add missing of_node_put for loop iteration
    7a91d9c67531 reset: a10sr: add missing of_match_table reference
    6cf18d4e190b reset: RESET_INTEL_GW should depend on X86
    1347d04d66f7 reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
    3b5eb8cd04a2 arm64: dts: rockchip: Drop fephy pinctrl from gmac2phy on rk3328 rock-pi-e
    62ace4c8a6fc arm64: dts: rockchip: rename LED label for NanoPi R4S
    f499d706e21e ARM: dts: gemini-rut1xx: remove duplicate ethernet node
    700ecdcb3e05 hexagon: use common DISCARDS macro
    91a711977033 hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
    a5d3913911f1 NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
    a43389b7df96 NFSv4/pnfs: Fix layoutget behaviour after invalidation
    f90295b4b641 NFSv4/pnfs: Fix the layout barrier update
    65d105e0014c NFS: Fix fscache read from NFS after cache error
    9d94a3f255da NFS: Ensure nfs_readpage returns promptly when internal error occurs
    382f21675997 virtio-mem: don't read big block size in Sub Block Mode
    8e0bfe5edb79 vdpa/mlx5: Clear vq ready indication upon device reset
    eaa0eb7020f7 ALSA: isa: Fix error return code in snd_cmi8330_probe()
    650e6f383a6e nfsd: fix NULL dereference in nfs3svc_encode_getaclres
    7605bff387a9 NFSD: Prevent a possible oops in the nfs_dirent() tracepoint
    e8a8bb8dca84 nfsd: Reduce contention for the nfsd_file nf_rwsem
    1e8c6f23b183 nfsd: move fsnotify on client creation outside spinlock
    ca9c3d31c52d NFSD: Add nfsd_clid_confirmed tracepoint
    0d435b6d94b0 powerpc/bpf: Fix detecting BPF atomic instructions
    bc6b8e2cd87e nvme-tcp: can't set sk_user_data without write_lock
    c01f6cae4b1b virtio_net: move tx vq operation under tx queue lock
    70899667e59a vdp/mlx5: Fix setting the correct dma_device
    e654dbc9a6e2 vdpa/mlx5: Fix possible failure in umem size calculation
    965b080f4e6d vdpa/mlx5: Fix umem sizes assignments on VQ create
    9dca259fbb42 vp_vdpa: correct the return value when fail to map notification
    c31fab84b23c io_uring: remove not needed PF_EXITING check
    dafcb53b550b io_uring: inline __tctx_task_work()
    7511a4f524f3 io_uring: move creds from io-wq work to io_kiocb
    16eadf897956 io_uring: don't bounce submit_state cachelines
    bea4688b9e59 io_uring: shuffle rarely used ctx fields
    f564954855fc io_uring: get rid of files in exit cancel
    04c529ed0e7f block: grab a device refcount in disk_uevent
    ccdf7e073170 arch_topology: Avoid use-after-free for scale_freq_data
    d6c153a6ae03 PCI: tegra194: Fix tegra_pcie_ep_raise_msi_irq() ill-defined shift
    63798e31f588 f2fs: remove false alarm on iget failure during GC
    e882298f7c3e nfs: update has_sec_mnt_opts after cloning lsm options from parent
    582223e621e1 pwm: imx1: Don't disable clocks at device remove time
    18cfc69d561a PCI: intel-gw: Fix INTx enable
    29e9a35b400b x86/fpu: Limit xstate copy size in xstateregs_set()
    a04e670b07df x86/fpu: Fix copy_xstate_to_kernel() gap handling
    c615921c48c9 f2fs: fix to avoid adding tab before doc section
    7bc134df92a2 PCI: iproc: Support multi-MSI only on uniprocessor kernel
    5ac5596c3b7c PCI: iproc: Fix multi-MSI base vector number allocation
    8f02865de3a3 ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
    687cf32865b2 nfs: fix acl memory leak of posix_acl_create()
    7cedf369663f SUNRPC: prevent port reuse on transports which don't request it.
    a96036c0b520 watchdog: jz4740: Fix return value check in jz4740_wdt_probe()
    07777127a44a watchdog: aspeed: fix hardware timeout calculation
    90d61adce958 watchdog: keembay: Removed timeout update in the TO ISR
    04693e05d183 watchdog: keembay: Remove timeout update in the WDT start function
    6479c1a2ae2c watchdog: keembay: Clear either the TO or TH interrupt bit
    b8ba05635e6e watchdog: keembay: Update pretimeout to zero in the TH ISR
    340590af29d5 watchdog: keembay: Upadate WDT pretimeout for every update in timeout
    4cfc11b3a8fe watchdog: keembay: Update WDT pre-timeout during the initialization
    f55dd38490f7 ubifs: journal: Fix error return code in ubifs_jnl_write_inode()
    fe597a0eb351 um: fix error return code in winch_tramp()
    a04880c5bb08 um: fix error return code in slip_open()
    b71f11467022 um: Fix stack pointer alignment
    a02357d7532b sunrpc: Avoid a KASAN slab-out-of-bounds bug in xdr_set_page_base()
    7aec9f862411 NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT
    b0bfac939030 NFSv4: Initialise connection to the server in nfs4_alloc_client()
    16187f5228e6 power: supply: rt5033_battery: Fix device tree enumeration
    7da9b60120b0 PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun
    8fcb25a3ef23 power: supply: surface-charger: Fix type of integer variable
    10d79d3bf5c4 remoteproc: k3-r5: Fix an error message
    f02de04e14cf remoteproc: stm32: fix phys_addr_t format string
    2ca41d7ba671 f2fs: compress: fix to disallow temp extension
    c3988657d370 f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
    fa815e11816b module: correctly exit module_kallsyms_on_each_symbol when fn() != 0
    7c2089413c67 pwm: visconti: Fix and simplify period calculation
    ee24633a5048 cpufreq: scmi: Fix an error message
    afb04d0b5543 x86/signal: Detect and prevent an alternate signal stack overflow
    8e0648a3cb63 NFSD: Fix TP_printk() format specifier in nfsd_clid_class
    e1f1f6603155 f2fs: atgc: fix to set default age threshold
    0f0fd04efc26 power: supply: surface_battery: Fix battery event handling
    73a14f65a67c block: fix the problem of io_ticks becoming smaller
    21a06a244d25 virtio_console: Assure used length from device is limited
    ffbfea49cc39 virtio_net: Fix error handling in virtnet_restore()
    29a2f4a3214a virtio-blk: Fix memory leak among suspend/resume procedure
    1c8c1adae69f ext4: fix WARN_ON_ONCE(!buffer_uptodate) after an error writing the superblock
    b881ba731274 PCI: rockchip: Register IRQ handlers after device and data are ready
    cfac32923d1d ACPI: video: Add quirk for the Dell Vostro 3350
    16752e05c77a ACPI: AMBA: Fix resource name in /proc/iomem
    fd313d643f07 pwm: tegra: Don't modify HW state in .remove callback
    a1d3f7407f78 pwm: img: Fix PM reference leak in img_pwm_enable()
    18127c30f619 drm/amdkfd: fix sysfs kobj leak
    0b909924a4ae drm/amdgpu: fix Navi1x tcp power gating hang when issuing lightweight invalidaiton
    813ff2425324 power: supply: axp288_fuel_gauge: Make "T3 MRD" no_battery_list DMI entry more generic
    289834760579 power: supply: ab8500: add missing MODULE_DEVICE_TABLE
    81cd77390071 power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
    a01f95e2f881 power: reset: regulator-poweroff: add missing MODULE_DEVICE_TABLE
    c11910b2c2cf NFS: nfs_find_open_context() may only select open files
    4a54caa8540f drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()
    e43aa6240814 ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty
    4f8e35e9483a orangefs: fix orangefs df output.
    cdc00734394b NFSv4: Fix handling of non-atomic change attrbute updates
    357d88120072 NFS: Fix up inode attribute revalidation timeouts
    6e56ae0a8901 PCI: tegra: Add missing MODULE_DEVICE_TABLE
    7693312a8044 remoteproc: stm32: fix mbox_send_message call
    a9f2ab385cc6 remoteproc: core: Fix cdev remove and rproc del
    bbea0e789770 x86/fpu: Return proper error codes from user access functions
    f8a51030e3be PCI: mediatek-gen3: Add missing MODULE_DEVICE_TABLE
    c09a4ad6251f fuse: fix illegal access to inode with reused nodeid
    6ba041fc3c44 virtiofs: propagate sync() to file server
    5e65819a006e watchdog: iTCO_wdt: Account for rebooting on second timeout
    cfb7e2f23aa0 watchdog: imx_sc_wdt: fix pretimeout
    1a053c4d7168 watchdog: Fix possible use-after-free by calling del_timer_sync()
    f0feab82f6a0 watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
    8adbbe6c86bb watchdog: Fix possible use-after-free in wdt_startup()
    a037ebbe72a4 PCI: Dynamically map ECAM regions
    3cf262e8c698 PCI: pciehp: Ignore Link Down/Up caused by DPC
    9f397e9e497d NFSv4: Fix delegation return in cases where we have to retry
    eeb8022576c1 PCI/P2PDMA: Avoid pci_get_slot(), which may sleep
    00fe7b64bba8 ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
    a67dc65f59ed power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
    00a34a993ac3 power: supply: max17040: Do not enforce (incorrect) interrupt trigger type
    4d40b03031a0 power: supply: max17042: Do not enforce (incorrect) interrupt trigger type
    471c250065e1 pwm: pca9685: Restrict period change for enabled PWMs
    b050025f8de4 PCI: hv: Fix a race condition when removing the device
    6b8813b09fab power: supply: ab8500: Enable USB and AC
    aa092b2f5bb3 power: supply: ab8500: Avoid NULL pointers
    341db343768b power: supply: ab8500: Move to componentized binding
    dc72a15859b2 PCI: ftpci100: Rename macro name collision
    6606e5a6811a pwm: spear: Don't modify HW state in .remove callback
    19ce06dcd189 power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE
    2d7dae32b14b power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE
    77637270800c kcov: add __no_sanitize_coverage to fix noinstr for all architectures
    67a8dfc86bdb lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
    af6365ae0991 phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
    e00d3efd53d0 i2c: core: Disable client irq on reboot/shutdown
    47419e67a5ff intel_th: Wait until port is in reset before programming it
    8c012f3504ab staging: rtl8723bs: fix check allowing 5Ghz settings
    32615857345b staging: rtl8723bs: fix macro value for 2.4Ghz only device
    5f59df2b2358 leds: turris-omnia: add missing MODULE_DEVICE_TABLE
    658d9b291193 ALSA: firewire-motu: fix detection for S/PDIF source on optical interface in v2 protocol
    048d83c67d37 ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions
    4348f36461b8 ALSA: hda: Add IRQ check for platform_get_irq()
    eff67a0bb38f backlight: lm3630a: Fix return code of .update_status() callback
    18fbea65d1a5 ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters
    d422f8be38a2 ASoC: fsl_xcvr: check return value after calling platform_get_resource_byname()
    d15c57f8f120 powerpc/boot: Fixup device-tree on little endian
    34ada7b357dd usb: gadget: hid: fix error return code in hid_bind()
    c904d51536b4 usb: gadget: f_hid: fix endianness issue with descriptors
    7113c2692f7f ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values
    7d94bcba9e59 ALSA: usb-audio: scarlett2: Fix data_mutex lock
    f3f7f6ef23fc ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count
    669eb7736781 m68knommu: fix missing LCD splash screen data initializer
    efd33d33dedd ALSA: bebob: add support for ToneWeal FW66
    a5dc9f63b20d Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
    1043c57cff3d s390/mem_detect: fix tprot() program check new psw handling
    bf04c373f1b3 s390/mem_detect: fix diag260() program check new psw handling
    5c80766b911d s390/ipl_parm: fix program check new psw handling
    45b658ee680d s390/processor: always inline stap() and __load_psw_mask()
    4de8aba5c10f habanalabs/gaudi: set the correct rc in case of err
    29d01e4b4c04 habanalabs: remove node from list before freeing the node
    cce27a77cc59 habanalabs: set rc as 'valid' in case of intentional func exit
    275674c1e58b habanalabs: fix mask to obtain page offset
    30dd0cbabf14 habanalabs/gaudi: set the correct cpu_id on MME2_QM failure
    4bf6fcdcca81 habanalabs: check if asic secured with asic type
    dac25ad9dd9d xhci: handle failed buffer copy to URB sg list and fix a W=1 copiler warning
    44be4fd02a92 ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing()
    c90bcc03dd7c powerpc/mm/book3s64: Fix possible build error
    d4921acaab93 gpio: pca953x: Add support for the On Semi pca9655
    ac2ee946b71e selftests/powerpc: Fix "no_handler" EBB selftest
    df6b21c0aa9d ALSA: ppc: fix error return code in snd_pmac_probe()
    21b28dfedfc1 scsi: storvsc: Correctly handle multiple flags in srb_status
    0c5085c93f64 powerpc/inst: Fix sparse detection on get_user_instr()
    71bfeb9e0f1a thunderbolt: Fix DROM handling for USB4 DROM
    4d18303a5bc1 gpio: zynq: Check return value of irq_get_irq_data
    c42ec0450a55 gpio: zynq: Check return value of pm_runtime_get_sync
    b5b9d977c7a8 ASoC: soc-pcm: fix the return value in dpcm_apply_symmetry()
    77921518bf65 ALSA: control_led - fix initialization in the mode show callback
    2955c54c5bca ALSA: n64: check return value after calling platform_get_resource()
    5f9741a9a91f iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
    fe92c0581990 iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails
    f30d6b6bb4f6 powerpc/ps3: Add dma_mask to ps3_dma_region
    06771032116a ALSA: sb: Fix potential double-free of CSP mixer elements
    c33fbdc1cdae iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c.
    de544803cbe0 selftests: timers: rtcpie: skip test if default RTC device does not exist
    52e8bd03856a s390: disable SSP when needed
    2fdbf6e7baa8 s390/sclp_vt220: fix console name to match device
    b29ddd99c14f serial: tty: uartlite: fix console setup
    2124240be810 fsi: Add missing MODULE_DEVICE_TABLE
    ed8c2cc77381 iov_iter_advance(): use consistent semantics for move past the end
    a3a117833731 ASoC: img: Fix PM reference leak in img_i2s_in_probe()
    cc78632eb085 mfd: cpcap: Fix cpcap dmamask not set warnings
    4aee78c62b9d mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
    e65432dce6b5 scsi: qedi: Fix cleanup session block/unblock use
    400c206f3be0 scsi: qedi: Fix TMF session block/unblock use
    cf5cc57ea7dc scsi: qedi: Fix race during abort timeouts
    338330351ca5 scsi: qedi: Fix null ref during abort handling
    52b5bf245a68 scsi: iscsi: Fix shost->max_id use
    fa9542b35ceb scsi: iscsi: Fix conn use after free during resets
    bf3ce567db56 scsi: iscsi: Add iscsi_cls_conn refcount helpers
    1420af019bcb scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs
    2262bb7ee19e scsi: megaraid_sas: Early detection of VD deletion through RaidMap update
    e623f79691c5 scsi: megaraid_sas: Fix resource leak in case of probe failure
    0dab71667eb0 fs/jfs: Fix missing error code in lmLogInit()
    936440f47826 scsi: scsi_dh_alua: Check for negative result value
    89b033dd8f3b scsi: core: Fixup calling convention for scsi_mode_sense()
    fc6bf9941021 scsi: mpt3sas: Fix deadlock while cancelling the running firmware event
    b2ef1f5de403 tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
    b731dddd686b ASoC: cs42l42: Fix 1536000 Bit Clock instability
    2a1115ad5fce ALSA: ac97: fix PM reference leak in ac97_bus_remove()
    dcb634e434b8 scsi: core: Cap scsi_host cmd_per_lun at can_queue
    8b927240f44c scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
    9c1a1c3e71dd scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
    dd3bc6dc69c6 scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw()
    67fb59eceee3 scsi: arcmsr: Fix doorbell status being updated late on ARC-1886
    ab935078f361 w1: ds2438: fixing bug that would always get page0
    59f03af920b5 ASoC: SOF: topology: fix assignment to use le32_to_cpu
    1a133a0996d6 usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
    3b57a2dd956c Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro"
    82e5ee742fdd ALSA: usx2y: Don't call free_pages_exact() with NULL address
    6c9a4c651572 ALSA: usx2y: Avoid camelCase
    c31e22bf9406 iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get()
    7beb9112a3bc iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get().
    78f472928f3a iio: imu: st_lsm6dsx: correct ODR in header
    27a19198ab58 partitions: msdos: fix one-byte get_unaligned()
    9c029e50e662 ASoC: intel/boards: add missing MODULE_DEVICE_TABLE
    09d154990ca8 misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
    a7268e8a227d misc/libmasm/module: Fix two use after free in ibmasm_init_one
    221f655abb56 serial: 8250: of: Check for CONFIG_SERIAL_8250_BCM7271
    464ffcfa6028 serial: fsl_lpuart: disable DMA for console and fix sysrq
    c96867d0bba9 tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero
    7397dab12fe1 usb: dwc3: pci: Fix DEFINE for Intel Elkhart Lake
    c4b8190ae66f soundwire: bus: handle -ENODATA errors in clock stop/start sequences
    740b019c2eb8 soundwire: bus: only use CLOCK_STOP_MODE0 and fix confusions
    ee188d0f8dd5 rcu: Reject RCU_LOCKDEP_WARN() false positives
    aa59856bcfd2 srcu: Fix broken node geometry after early ssp init
    5318059dea5e scsi: arcmsr: Fix the wrong CDB payload report to IOP
    38a6e9b501b2 dmaengine: fsl-qdma: check dma_set_mask return value
    7bd674051bfe ASoC: Intel: sof_sdw: add mutual exclusion between PCH DMIC and RT715
    c57e7b2f36ae leds: tlc591xx: fix return value check in tlc591xx_probe()
    28f0adaae3e8 net: bridge: multicast: fix MRD advertisement router port marking race
    dc924e411870 net: bridge: multicast: fix PIM hello router port marking race
    b937eb91b353 drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()
    d3891139901b drm/dp_mst: Avoid to mess up payload table by ports in stale topology
    d01943939f45 drm/dp_mst: Do not set proposed vcpi directly
    c30f0b5c6fd1 btrfs: zoned: fix wrong mutex unlock on failure to allocate log root tree
    02fac1508a72 btrfs: don't block if we can't acquire the reclaim lock
    d6479f089af1 btrfs: rework chunk allocation to avoid exhaustion of the system chunk array
    789b24d9950d btrfs: fix deadlock with concurrent chunk allocations involving system chunks
    9ffb4cd20998 btrfs: zoned: fix types for u64 division in btrfs_reclaim_bgs_work
    27c5ecbb691f btrfs: properly split extent_map for REQ_OP_ZONE_APPEND
    08e1e3b6ddd8 io_uring: use right task for exiting checks
    6ef21f34aa92 arm64: Avoid premature usercopy failure
    70fa723908a4 mm/hugetlb: fix refs calculation from unaligned @vaddr
    65a5977bd05c EDAC/igen6: fix core dependency AGAIN
    d6e76469157d fbmem: Do not delete the mode that is still in use
    a41573667b39 cgroup: verify that source is a string
    a6859443061e drm/i915/gt: Fix -EDEADLK handling regression
    1786384f5217 drm/i915/gtt: drop the page table optimisation
    e67361d6c083 drm/amdgpu: add another Renoir DID
    38379a09f735 tracing: Do not reference char * as a string in histograms
    7e6a4c304deb iommu/vt-d: Fix clearing real DMA device's scalable-mode context entries
    948ec6d00328 iommu/vt-d: Global devTLB flush when present context entry changed
    208e33fa8359 scsi: zfcp: Report port fc_security as unknown early during remote cable pull
    c1671d2d2ef8 scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
    aa25872fcc35 KVM: SVM: remove INIT intercept handler
    bbca8ad77f26 KVM: SVM: #SMI interception must not skip the instruction
    2338682c3fd1 KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run()
    f4e862a6a3d9 KVM: nSVM: Check the value written to MSR_VM_HSAVE_PA
    a238f763e650 KVM: SVM: Revert clearing of C-bit on GPA in #NPF handler
    555e674fd3f9 KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs
    4ccf1f873b70 KVM: x86: Use kernel's x86_phys_bits to handle reduced MAXPHYADDR
    0eb28e18e56c KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled
    228ce0ed1283 KVM: selftests: do not require 64GB in set_memory_region_test
    069d44a24c0f KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
    d4e376c83736 cifs: Do not use the original cruid when following DFS links for multiuser mounts
    0c480c45bed3 cifs: handle reconnect of tcon when there is no cached dfs referral
    a29b76ec20f2 cifs: use the expiry output of dns_query to schedule next resolution

(From OE-Core rev: 28001800057149d4b771290753ebdfb69e9c999b)

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>
2021-07-22 09:33:44 +01:00
Paul Barker
a6edd6c76a linux-yocto: Fix devupstream SRCREV assignment
Fixes the following error when building linux-yocto-upstream:

    Fetcher failure: Unable to find revision 570e7aedcd00e7e8a218e37c3dfb3b1fda83d111
    in branch v5.13/base even from upstream

The error occurred as the SRCREV_machine assignment earlier in the
recipe was being used instead of the mainline commit hash we want to use
for linux-yocto-upstream.

(From OE-Core rev: 0df7954d1ffe111337bd7d68f0cb09404906db85)

Signed-off-by: Paul Barker <paul@pbarker.dev>
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>
2021-07-22 09:33:44 +01:00
Sakib Sajal
80780d5f27 scripts/oe-time-dd-test.sh: run "uptime" on each iteration
(From OE-Core rev: 45c334b3cfdfc9584b80cbc3ede1a60f61ecc8bb)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 09:33:44 +01:00
Richard Purdie
1ad79313a5 build-appliance-image: Update to master head revision
(From OE-Core rev: c4fc226c2e3856b942bb4f57ead21a64c3dc8c0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 19:02:52 +01:00
Joshua Watt
75f491e5e2 bitbake: server: Fix early parsing errors preventing zombie bitbake
If the client process never sends cooker data, the server timeout will
be 0.0, not None. This will prevent the server from exiting, as it is
waiting for a new client. In particular, the client will disconnect with
a bad "INHERIT" line, such as:

    INHERIT += "this-class-does-not-exist"

Instead of checking explicitly for None, check for a false value, which
means either 0.0 or None.

(Bitbake rev: 13e2855bff6a6ead6dbd33c5be4b988aafcd4afa)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 19:00:32 +01:00
Richard Purdie
b635fce91d buildtools-tarball: Add lz4 and ztsd (including pzstd)
Since we start to require these for builds, we need to include them in buildtools-tarball
so that older systems can access them easily.

(From OE-Core rev: a9ab105b881215653e08d442786e6a3aff84c8ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Mingli Yu
e8b13b9809 parselogs.py: ignore rndr initialization failure
After rng-tools upgraded to 6.13, the RNDR instruction added
as an entropy source [1]. But for some cpu which doesn't support
rndr, there comes below warning message:
 # systemctl status rngd
 [snip]
 Jul 20 06:48:07 qemuarm64 rngd[163]: [rndr  ]: No HW SUPPORT
 Jul 20 06:48:07 qemuarm64 rngd[163]: [rndr  ]: Initialization Failed
 [snip]

Actually the failed message doesn't matter as it only indicates
one entropy source rndr fails to initialize and won't affect rngd
function, so ignore the failure message to fix below error during
do_testimage.
NOTE: ======================================================================
NOTE: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/build/layers/oe-core/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/build/layers/oe-core/meta/lib/oeqa/runtime/cases/parselogs.py", line 382, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 1 != 0 : Log: /build/tmp/work/qemuarm64-wrs-linux/wrlinux-image-std/1.0-r5/target_logs/daemon.log
-----------------------
Central error: 2021-06-23T20:44:18.374494+00:00 qemuarm64 rngd[162]: [rndr  ]: Initialization Failed

(From OE-Core rev: 1edc840d6921668b69d248f9b32fa1d5c95e3138)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Richard Purdie
6d1eec4512 zstd: Include pzstd in the build
We don't currently build the parallel version of zstd but we should. Add
this to the build. It will then be used in buildtools-tarball.

(From OE-Core rev: a2c85d3cac2a6c4cd8e961e915e9567ef2fc2c0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Joshua Watt
8410987884 bitbake: bitbake: Add piping compression library
Adds a library that implements file-like objects (similar to
gzip.GzipFile) that can stream to arbitrary compression programs. This
is utilized to implement a LZ4 and zstd compression API.

(Bitbake rev: 61c3acd058ea018696bd284b3922d0b458838d05)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Richard Purdie
75fad23fc0 bitbake: data_smart/parse: Allow ':' characters in variable/function names
It is becomming increasingly clear we need to find a way to show what
is/is not an override in our syntax. We need to do this in a way which
is clear to users, readable and in a way we can transition to.

The most effective way I've found to this is to use the ":" charater
to directly replace "_" where an override is being specified. This
includes "append", "prepend" and "remove" which are effectively special
override directives.

This patch simply adds the character to the parser so bitbake accepts
the value but maps it back to "_" internally so there is no behaviour
change.

This change is simple enough it could potentially be backported to older
version of bitbake meaning layers using the new syntax/markup could
work with older releases. Even if other no other changes are accepted
at this time and we don't backport, it does set us on a path where at
some point in future we could
require a more explict syntax.

I've tested this patch by converting oe-core/meta-yocto to the new
syntax for overrides (9000+ changes) and then seeing that builds
continue to work with this patch.

(Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Bruce Ashfield
29d4ec3737 linux-yocto/5.13: update to v5.13.3
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f86aa267e180 Linux 5.13.3
    e472b276a0d2 f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
    258fd821f693 smackfs: restrict bytes count in smk_set_cipso()
    bfb48b54db25 media: v4l2-core: explicitly clear ioctl input data
    42f102ea1943 jfs: fix GPF in diFree
    7ed572cdf110 ext4: fix possible UAF when remounting r/o a mmp-protected file system
    e9f6b57ef114 drm/ast: Remove reference to struct drm_device.pdev
    7eefc573bcbf pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
    e294f97e8af8 dm writecache: write at least 4k when committing
    691e71cf1fd1 media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
    7c148146e075 media: gspca/sunplus: fix zero-length control requests
    8f6a609903a0 media: gspca/sq905: fix control-request direction
    90be28e26596 media: ccs: Fix the op_pll_multiplier address
    d69b39d89f36 media: zr364xx: fix memory leak in zr364xx_start_readpipe
    2f920c1543f7 media: dtv5100: fix control-request directions
    7be5e037e564 media: i2c: ccs-core: fix pm_runtime_get_sync() usage count
    8b39b430dc0a media: subdev: disallow ioctl for saa6588/davinci
    eda818ae5d39 PCI: aardvark: Implement workaround for the readback value of VEND_ID
    678d93d3d243 PCI: aardvark: Fix checking for PIO Non-posted Request
    9789b16dc4e3 PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
    ad365e9351ac dm btree remove: assign new_root only when removal succeeds
    3993b84d4493 dm writecache: flush origin device when writing and cache is full
    14f19e585018 dm zoned: check zone capacity
    0115687be7b1 coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
    2ac133f4b299 coresight: Propagate symlink failure
    5b37fd9da03f ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
    1d2865bbd89e tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
    38164905b1cc tracing: Simplify & fix saved_tgids logic
    589f6fac5c92 rq-qos: fix missed wake-ups in rq_qos_throttle try two
    d57fcab190b6 seq_buf: Fix overflow in seq_buf_putmem_hex()
    775ab9f4a4d9 lkdtm: Enable DOUBLE_FAULT on all architectures
    42e737661a0d extcon: intel-mrfld: Sync hardware and software state on init
    6fd650c47411 selftests/lkdtm: Fix expected text for CR4 pinning
    07b761cf78b1 lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
    866573b6c9bf nvmem: core: add a missing of_node_put
    9c6c73fc99b9 mfd: syscon: Free the allocated name field of struct regmap_config
    8451754bca7b power: supply: ab8500: Fix an old bug
    c0756f75c221 ubifs: Fix races between xattr_{set|get} and listxattr operations
    ec00b71f402a thermal/drivers/int340x/processor_thermal: Fix tcc setting
    238a7c0a5c30 ipmi/watchdog: Stop watchdog timer when the current action is 'none'
    13b307880b66 qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
    1e71e1344d61 i40e: fix PTP on 5Gb links
    35af69c7c049 mwifiex: bring down link before deleting interface
    5665e64c99e3 ASoC: tegra: Set driver_name=tegra for all machine drivers
    72104552eae2 fpga: stratix10-soc: Add missing fpga_mgr_free() call
    c3f4ad1ba2eb clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
    a34295528a14 cpu/hotplug: Cure the cpusets trainwreck
    dcb4b49e3ced arm64: tlb: fix the TTL value of tlb_get_level
    31d1d7db4978 ata: ahci_sunxi: Disable DIPM
    3b7c6122f390 docs: Makefile: Use CONFIG_SHELL not SHELL
    5c8e4b20e70f mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
    3d2e0431e687 mmc: core: clear flags before allowing to retune
    c1b907e43b32 mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
    7210a1b23c50 mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B
    970aa4aefaab drm/i915/display: Do not zero past infoframes.vsc
    b4772d4e8ec3 drm/ingenic: Switch IPU plane to type OVERLAY
    0256fdf3b07c drm/nouveau: Don't set allow_fb_modifiers explicitly
    8c5960e823bf drm/arm/malidp: Always list modifiers
    a2c67909bb71 drm/msm/mdp4: Fix modifier support enabling
    337e397a1e9e drm/tegra: Don't set allow_fb_modifiers explicitly
    5c2196d8286e drm/ingenic: Fix pixclock rate for 24-bit serial panels
    858d38315fc3 drm/amd/display: Reject non-zero src_y and src_x for video planes
    6683128d7ca5 pinctrl/amd: Add device HID for new AMD GPIO controller
    dcb7f78b876c drm/amd/display: fix incorrrect valid irq check
    72cba7be3648 drm/rockchip: dsi: remove extra component_del() call
    e7762bc634c8 drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info()
    bab3618ca92c drm/vc4: hdmi: Prevent clock unbalance
    dee39749424b drm/vc4: crtc: Skip the TXP
    da442a77dd49 drm/vc4: txp: Properly set the possible_crtcs mask
    e4f2d5c77205 drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64
    63de45921822 drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
    7764d2c698d7 drm/amdgpu: fix the hang caused by PCIe link width switch
    0d3a1e59fd9d drm/amdgpu: fix NAK-G generation during PCI-e link width switch
    5af51c7bc675 drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2)
    fb5beb2b3f06 drm/amdgpu: Update NV SIMD-per-CU to 2
    788c261cdb58 drm/amdgpu: add new dimgrey cavefish DID
    7fad97798d9b powerpc/powernv/vas: Release reference to tgid during window close
    30a401a03189 powerpc/barrier: Avoid collision with clang's __lwsync macro
    cc7442037062 powerpc/xive: Fix error handling when allocating an IPI
    7feb683793ea powerpc/bpf: Reject atomic ops in ppc32 JIT
    8a96ec5ebf96 powerpc/mm: Fix lockup on kernel exec fault
    987a852734e6 mm/mremap: hold the rmap lock in write mode when moving page table entries.
    f908381a3ec7 MIPS: MT extensions are not available on MIPS32r1
    eecc96e0458c PCI: tegra194: Fix host initialization during resume
    b63416bc9d6d MIPS: CI20: Reduce clocksource to 750 kHz.
    8e3f6e978e4c MIPS: set mips32r5 for virt extensions
    1930d84a29d4 MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
    92b74375a1bb sctp: add size validation when walking chunks
    4ecabee69d19 sctp: validate from_addr_param return
    5f7ca3459118 flow_offload: action should not be NULL when it is referenced
    e9d02dbbab0a bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc()
    5f2d7f0241e2 sched/fair: Ensure _sum and _avg values stay consistent
    377c584c325e Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
    387d99b463af Bluetooth: btusb: use default nvm if boardID is 0 for wcn6855.
    8e4a714f4510 Bluetooth: mgmt: Fix the command returns garbage parameter value
    15407b14e27b Bluetooth: btusb: Add support USB ALT 3 for WBS
    69ccde876ca5 Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
    840907eecac0 Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure fails
    efffb7884033 Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500)
    c19a2820df32 Bluetooth: Shutdown controller after workqueues are flushed or cancelled
    286bba24e6ce Bluetooth: Fix alt settings for incoming SCO with transparent coding format
    cbb2f564faa4 Bluetooth: Fix the HCI to MGMT status conversion table
    5c73a8008035 Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails
    dc239f449b03 Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
    07583ba2e2d8 RDMA/cma: Fix rdma_resolve_route() memory leak
    e4d57b37f034 net: ip: avoid OOM kills with large UDP sends over loopback
    602b0c1dbedc net: retrieve netns cookie via getsocketopt
    b01ad7c3b08e media, bpf: Do not copy more entries than user space requested
    e6b42db7e571 IB/isert: Align target max I/O size to initiator size
    b3d56dd75032 mac80211: Properly WARN on HW scan before restart
    e32446de59d2 mac80211_hwsim: add concurrent channels scanning support over virtio
    6f9ae4a024c5 mac80211: consider per-CPU statistics if present
    5924678a442d cfg80211: fix default HE tx bitrate mask in 2G band
    e1d88925c3b9 wireless: wext-spy: Fix out-of-bounds warning
    649adc384fb3 sfc: error code if SRIOV cannot be disabled
    65c8d58a1f7a sfc: avoid double pci_remove of VFs
    81772d2c7d04 rtw88: add quirks to disable pci capabilities
    2002b7ae2f00 rtw88: 8822c: update RF parameter tables to v62
    5a7db3036585 iwlwifi: pcie: fix context info freeing
    5b2b879f69b4 iwlwifi: pcie: free IML DMA memory allocation
    44164d5528fb iwlwifi: mvm: fix error print when session protection ends
    111fa98f60d2 iwlwifi: mvm: apply RX diversity per PHY context
    89b944c896f9 iwlwifi: mvm: don't change band on bound PHY contexts
    af1036530646 RDMA/rxe: Don't overwrite errno from ib_umem_get()
    6e34e09aa418 drm/amd/display: Fix edp_bootup_bl_level initialization issue
    f033a30e32ce vsock: notify server to shutdown when client has pending signal
    ac05406330eb atm: nicstar: register the interrupt handler in the right place
    3c0b0b2533f9 atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
    5ad7f389f93b net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
    df628a202755 net: fec: add FEC_QUIRK_HAS_MULTI_QUEUES represents i.MX6SX ENET IP
    b223fca477ad MIPS: add PMD table accounting into MIPS'pmd_alloc_one
    59dc71f577ea rtl8xxxu: Fix device info for RTL8192EU devices
    97e50ed9eae5 mt76: fix iv and CCMP header insertion
    65c015b50515 mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
    9b6248b3e649 mt76: connac: fix the maximum interval schedule scan can support
    bbe1d0ada80e mt76: connac: fix UC entry is being overwritten
    57602135190b mt76: mt7921: enable hw offloading for wep keys
    869417fa825c mt76: mt7921: reset wfsys during hw probe
    6620a41fe435 mt76: mt7921: fix reset under the deep sleep is enabled
    7922a844969d mt76: mt7915: fix tssi indication field of DBDC NICs
    38b73fe18c6b drm/amdkfd: Walk through list with dqm lock hold
    af15052971e1 drm/amdgpu: fix bad address translation for sienna_cichlid
    a8eca6968b1e io_uring: fix false WARN_ONCE
    9e134247013e net: sched: fix error return code in tcf_del_walker()
    06648197e4ae net: ipa: Add missing of_node_put() in ipa_firmware_load()
    0147b9c4ebf6 net: fix mistake path for netdev_features_strings
    4d23e6082729 mt76: dma: use ieee80211_tx_status_ext to free packets when tx fails
    2a64f3732310 mt76: mt7615: fix fixed-rate tx status reporting
    b2b69554431f ice: mark PTYPE 2 as reserved
    008ec090f0d1 ice: fix incorrect payload indicator on PTYPE
    eb7b40d9d378 ext4: fix memory leak in ext4_fill_super
    4d39b8f57b7d bpf: Fix up register-based shifts in interpreter to silence KUBSAN
    2cb85397c30f net: hsr: don't check sequence number if tag removal is offloaded
    3382ec34a4d5 drm/amdkfd: Fix circular lock in nocpsch path
    161c4c2a19f4 drm/amdkfd: fix circular locking on get_wave_state
    118e6aea7ae7 cw1200: add missing MODULE_DEVICE_TABLE
    40af3960a153 wl1251: Fix possible buffer overflow in wl1251_cmd_scan
    36409fe65122 net: phy: nxp-c45-tja11xx: enable MDIO write access to the master/slave registers
    84bb21d9886c wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
    ce6dc850612a dm writecache: commit just one block, not a full page
    7cc35bd4355b xfrm: Fix error reporting in xfrm_state_construct.
    62adf2af9f09 ibmvnic: fix kernel build warnings in build_hdr_descs_arr
    20102b0f6784 drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
    66fc2862a252 r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
    4b58c2891d09 selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
    dd18ad96a9ea net: mido: mdio-mux-bcm-iproc: Use devm_platform_get_and_ioremap_resource()
    7ca7d4404b95 fjes: check return value after calling platform_get_resource()
    61e364fafec1 drm/amdkfd: use allowed domain for vmbo validation
    3b5c55df5067 net: sgi: ioc3-eth: check return value after calling platform_get_resource()
    42b8412dc123 selftests: Clean forgotten resources as part of cleanup()
    32438665ba66 net: phy: realtek: add delay to fix RXC generation issue
    3df8a157824b drm/amd/display: Fix crash during MPO + ODM combine mode recalculation
    caef3b95ce82 drm/amd/display: Fix off-by-one error in DML
    6f88bc77bbc7 drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
    db1ca5441e33 drm/amd/display: Release MST resources on switch from MST to SST
    71e0e437e97b drm/amd/display: Update scaling settings on modeset
    dc9e10ea5bdd drm/amd/display: Revert "Fix clock table filling logic"
    ef485944e718 drm/amd/display: Fix DCN 3.01 DSCCLK validation
    18aa10751227 net: moxa: Use devm_platform_get_and_ioremap_resource()
    c01540159ead net: micrel: check return value after calling platform_get_resource()
    373db5a9c8c4 net: mvpp2: check return value after calling platform_get_resource()
    cd9575caf7bd net: bcmgenet: check return value after calling platform_get_resource()
    43630cbcd7de net: mscc: ocelot: check return value after calling platform_get_resource()
    e8f03933f5a7 virtio_net: Remove BUG() to avoid machine dead
    47cafc568c31 ice: fix clang warning regarding deadcode.DeadStores
    63efeeb1274d ice: set the value of global config lock timeout longer
    22f5c64be9c7 pinctrl: mcp23s08: fix race condition in irq handler
    88e1357e4d05 net: bridge: mrp: Update ring transitions.
    03de5ab1dc40 block: introduce BIO_ZONE_WRITE_LOCKED bio flag
    4068cb7e1113 dm: Fix dm_accept_partial_bio() relative to zone management commands
    0a8a10887b65 dm writecache: don't split bios when overwriting contiguous cache content
    3c8afdbb62ee dm space maps: don't reset space map allocation cursor when committing
    c5cc91094e6a RDMA/cxgb4: Fix missing error code in create_qp()
    957d6d796e73 icmp: fix lib conflict with trinity
    e0b8274cda12 net: tcp better handling of reordering then loss cases
    b01c274e3a3a clk: tegra: tegra124-emc: Fix clock imbalance in emc_set_timing()
    3da33bf6aaff drm/amdgpu: remove unsafe optimization to drop preamble ib
    3b2b93a485fb drm/amd/display: Avoid HDCP over-read and corruption
    060a3b127d9e drm/amdgpu: fix sdma firmware version error in sriov
    3e7b75192e15 drm/amdgpu: fix metadata_size for ubo ioctl queries
    7c77db5a26db MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
    181bc6b98b10 MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
    8853d2ce4e9e ipv6: use prandom_u32() for ID generation
    ba710baa1cc1 virtio-net: Add validation for used length
    8d7221a98741 drm: bridge: cdns-mhdp8546: Fix PM reference leak in
    4dbd10b868b6 clk: tegra: Ensure that PLLU configuration is applied properly
    91789532c24c clk: tegra: Fix refcounting of gate clocks
    9bce65a588d9 drm/tegra: hub: Fix YUV support
    86e0ca4c6aee RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
    f2aad1098936 net: stmmac: the XPCS obscures a potential "PHY not found" error
    7366ccbd327c drm: rockchip: add missing registers for RK3066
    20f88209526e drm: rockchip: add missing registers for RK3188
    c77ad9cbf0c7 net/mlx5: Fix lag port remapping logic
    f39de3cc0ff7 net/mlx5e: IPsec/rep_tc: Fix rep_tc_update_skb drops IPsec packet
    ba2d94789a1f drm/amdgpu/swsmu/aldebaran: fix check in is_dpm_running
    93ed1b0210ea drm/amd/display: fix odm scaling
    669f0f6f83d5 clk: renesas: r8a77995: Add ZA2 clock
    383114477250 drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
    4432f3694ee5 igb: fix assignment on big endian machines
    003d37fa8c70 igb: handle vlan types with checker enabled
    dd658e324c34 e100: handle eeprom as little endian
    38d70d239c7c drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co()
    62f616078e9f drm/vc4: Fix clock source for VEC PixelValve on BCM2711
    6d0f4887e742 drm/amd/pm: fix return value in aldebaran_set_mp1_state()
    8722275b41d5 net: xilinx_emaclite: Do not print real IOMEM pointer
    5150877e4d99 udf: Fix NULL pointer dereference in udf_symlink function
    50d7e03ad487 drm/sched: Avoid data corruptions
    baf802cd27cd drm/scheduler: Fix hang when sched_entity released
    cef0b8eab231 pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
    248fc2633293 net: ethernet: ixp4xx: Fix return value check in ixp4xx_eth_probe()
    7b777772879c net/sched: cls_api: increase max_reclassify_loop
    0f20ce74aff8 net: mdio: provide shim implementation of devm_of_mdiobus_register
    5cb3b25c7f53 drm/virtio: Fix double free on probe failure
    5ac1c5fcffd0 reiserfs: add check for invalid 1st journal block
    b8f63c943700 drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE
    3828625dd18d net: mdio: ipq8064: add regmap config to disable REGCACHE
    8f5cc4dc1e2a drm/panfrost: devfreq: Disable devfreq when num_supplies > 1
    e049b85f7dcc drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
    609ee98affb0 net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
    5b991df88810 atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
    ed7c3739d0a0 mISDN: fix possible use-after-free in HFC_cleanup()
    d1fb12412874 atm: iphase: fix possible use-after-free in ia_module_exit()
    72bdf3c6b059 hugetlb: clear huge pte during flush function on mips platform
    d2958a2e6d92 MIPS: Loongson64: Fix build error 'secondary_kexec_args' undeclared under !SMP
    6102f34e4622 clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()
    5ec05aa8160b drm/amd/display: fix use_max_lb flag for 420 pixel formats
    57092f4f803b drm/amd/display: Fix clock table filling logic
    3eb50ab2c5ac drm/amdgpu: change the default timeout for kernel compute queues
    c9c00298cf07 net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
    ae1864f13cce drm/imx: Add 8 pixel alignment fix
    925a6b206bde drm/bridge: nwl-dsi: Force a full modeset when crtc_state->active is changed to be true
    0cf0cb019cd5 drm/vc4: fix argument ordering in vc4_crtc_get_margins()
    e684e0ee1153 drm/amd/amdgpu/sriov disable all ip hw status by default
    eeb44b638475 drm/amd/display: Fix BSOD with NULL check
    3728601cd68e drm/amd/display: Revert wait vblank on update dpp clock
    73893fe52178 drm/amd/display: fix HDCP reset sequence on reinitialize
    fc2e7aeedba2 drm/ast: Fixed CVE for DP501
    d5d89dd11f6f drm/zte: Don't select DRM_KMS_FB_HELPER
    992b191b179c drm/mxsfb: Don't select DRM_KMS_FB_HELPER

(From OE-Core rev: cbd17e7a9641d628f4222b3af320d808d7037eea)

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>
2021-07-20 08:51:07 +01:00
Richard Purdie
8a1c70aab5 README.OE-Core/README.qemu: Move to markdown format
The READMEs are often viewed from websites so switch to markdown format which is
much as readable as text and much better from html in broswers.

(From OE-Core rev: a9f366a883e4a5dcc364ca2841615c5acc494439)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 08:51:06 +01:00
Ross Burton
c1107049a0 parted: add device mappper PACKAGECONFIG
Instead of forcibly disabling the device mapper support, add a disabled
PACKAGECONFIG.

(From OE-Core rev: d3ec50f754184081ec768d654da74ec8cac22c5f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 08:51:06 +01:00
Ross Burton
3714bfb060 avahi: fix CVE-2021-36217, crash on pinging '.local'
(From OE-Core rev: 638beadad098e9ee4e743be8f59f5a7f11373aff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 08:51:06 +01:00
wangmy
74cf2d7570 btrfs-tools: upgrade 5.12.1 -> 5.13
Add patch to fix bug for undeclared macro on musl.

    btrfs-progs-5.13 (2021-07-13)
    * restore: remove loop checks for extent count and directory scan
    * inspect dump-tree: new options to print node (--csum-headers) and data
      checksums (--csum-items)
    * fi usage:
      * print stripe count for striped profiles
      * print zoned information: size, total unusable
    * mkfs: print note about sha256 accelerated module loading issue
    * check: ability to reset dev_item::bytes_used
    * fixes
      * detect zoned kernel support at run time too
      * exclusive op running check return value
    * fi resize: support cancel (kernel 5.14)
    * device remove: support cancel (kernel 5.14)
    * documentation about general topics
      * compression
      * zoned mode
      * storage model
      * hardware considerations
    * other
      * libbtrfsutil API overview
      * help text fixes and updates
      * hash speedtest measure time, cycles using perf and print throughput

(From OE-Core rev: fd8989db25c674ca65389a2d41bf5b447e8794be)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 08:51:06 +01:00
Richard Purdie
81f068c8ba Add README link to README.poky
(From meta-yocto rev: 0575fa17ecf4d4723a2683c18f6fde921914ae0c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 18:07:21 +01:00
Ross Burton
bbf3b31855 parted: skip tests that need vfat support
At the time of writing the qemu kernels don't support vfat filesystems.
There are patches on the list to add that, but as two tests fail without
vfat support, make them skip if vfat isn't available.

[ YOCTO #14470 ]

(From OE-Core rev: 17ecb3552cb7d7e7f82cc8b2e1b83f276525cbda)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:55:36 +01:00
Ross Burton
494e73fbc9 cups: update to 2.3.3op2
Apple are no longer maintaining CUPS, and future development is now
happening under the OpenPrinting project:

https://ftp.pwg.org/pub/pwg/liaison/openprinting/presentations/cups-plenary-may-2021.pdf

Also stop disabling the manpage installation as manpages are useful, and
remove some patch chunks that are not required.

The CVE-2020-10001 patch is dropped as this is incorporated into 2.3.3op2.

(From OE-Core rev: 53bd9a96a003a7103b8475f9c1ad7ef999e34f87)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Adam Romanek
28d3fe177c own-mirrors: Add support for s3:// scheme in SOURCE_MIRROR_URL
(From OE-Core rev: 5185ddb19cae2afb948d0ce83ec1ee356c81965e)

Signed-off-by: Adam Romanek <romanek.adam@gmail.com>
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Andreas Müller
b199c9d747 mesa: upgrade 21.1.4 -> 21.1.5
Bug fixes
  * [build error] macros.h:88:26: error: size of unnamed array is negative
  * Game Issue: Nuclear Throne crashes in RadeonSI
  * Crash in glLinkProgram while trying to craft the link error
  * Shader compilation memory leaks
  * Wolfenstein II: The New Colossus - Screen goes black in some cases
  * SpaceEngine in Steam Proton cannot start with Mesa >=20.3
  * [bisected] KDE plasma menu text renders like stretched strangely [amdgpu]
  * Luna Sky Crashes on Launch
  * Mesa crashes on undefined texture behaviour
  * Mesa crashes on undefined texture behaviour
  * cache_test uses uninitialized stack memory

Changes
  * nir: Fix constant folding for irhadd/urhadd
  * ac/surface: Handle non-retiled displayable DCC correctly for modifiers.
  * ir3: Fix infinite loop in scheduler when splitting
  * glsl: Prohibit implicit conversion of mem parameter in atomicOP functions
  * draw: fix tessellation output vertex size calculation
  * .pick_status.json: Update to e4f762ac346f31fc1fd201aecdc375348be5075f
  * zink: mark a bunch of zink-piglit-quick_gl tests as flakes
  * .pick_status.json: Update to c704bb630d21e0a30500e9d8f42493ede3cc55ae
  * .pick_status.json: Mark e5d158881b3e12270521d7081b4bba0ac2108d2e as denominated
  * softpipe: add missing sentinel to debug option array
  * iris: Don’t leak the surface if uncompressed re-interp fails
  * intel/perf: use the right popcount for 64bits
  * ac/surface/tests: fix the ARM build
  * radeonsi,radv: fix a late alloc deadlock with <= 6 CUs per SA
  * Convert most remaining free-form fall-through comments to FALLTHROUGH
  * osmesa: Replace default case FALLTHROUGH annotation by following return
  * Fix up leftover “state_trackers” references to “frontends”
  * radeonsi: fix fb_too_small condition
  * radeonsi/gfx7: always sync pfp/me
  * ac/surface: don’t print stencil info if tex has no stencil
  * radeonsi/driconf: add workaround for SpaceEngine
  * st/mesa: fix size miss match for some check
  * freedreno: Consolidate needs_flush and clearing last_fence
  * freedreno/a6xx: Fix framebuffer_barrier crash
  * radv: disable DCC for DOOM 2016 and Wolfenstein II
  * aco: fix shared_atomic_comp_swap if the second source isn’t a VGPR
  * nir: return progress from nir_lower_packing
  * nir/ifind_msb_rev: fix input check
  * broadcom/compiler: fix add vs. mul
  * util/tests: initialise key in cache_test
  * mesa: don’t crash on incorrect texture use
  * i965: don’t crash on incorrect texture use
  * util/driconf: add new ignore_write_to_readonly_var workaround
  * util: add some workarounds for the game Luna Sky
  * glsl: force_glsl_version to shaders with no defined version
  * util/radeonsi: add radeonsi workaround for Nuclear Throne
  * st/xa: Mark default xa_get_pipe_format case unreachable.
  * intel: fix leaking memor
  * y on shader creation

(From OE-Core rev: ff0612d0030e4af5233b846e218334cea9cabf17)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Tim Orling
68605c6170 python3-hypothesis: upgrade 6.14.1 -> 6.14.3
6.14.3 - 2021-07-18
This patch updates our autoformatting tools, improving our code style
without any API changes.

6.14.2 - 2021-07-12
This patch ensures that we shorten tracebacks for tests which fail due
to inconsistent data generation between runs (i.e. raise Flaky).

(From OE-Core rev: 984cf4447a409c3ea8c02aca47ff63dfa6d33624)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Ross Burton
8c429e4109 meta: remove redundant ${libdir}/cmake from FILES_${PN}-dev
Since oe-core 543e39ad "bitbake.conf: handle cmake -dev files packaging
with default rules" (June 2018) there's no need for recipes to add
${libdir}/cmake or ${datadir}/cmake to FILES_${PN}-dev themselves.

(From OE-Core rev: e6f62b8e639a79626d95568c070a410c24bce25e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Ross Burton
d9473a0601 busybox: support mounting swap via labels
Enable support for swap partitions in the mount-via-label fragment.

(From OE-Core rev: c996cabf88c4f432fcd93ea60e109c63d77e4b60)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Ross Burton
cd6876a396 parted: fix ptest RRECOMMENDS
The recipe was using =, which replaces the default RRECOMMENDS from
ptest.bbclass.

(From OE-Core rev: cebcb4ae46b0860179edfe480e8e4d924f931436)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:52 +01:00
Ross Burton
4874895ab5 parted: remove obsolete patch
We've had recipe-specific sysroots for a long time now, so there's no
need to forcible disable floating checks.

(From OE-Core rev: 517ac15fd7335f3d4179e427bd2a289a988eaafc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Yi Zhao
dadfef3950 libffi: disable use of static exec trampolines
We encountered a blueman-applet segfault with libffi 3.4.2:
$ blueman-applet
blueman-applet 01.58.45 WARNING  PluginManager:148 __load_plugin: Not loading DhcpClient because its conflict has higher priority
blueman-applet 01.58.45 WARNING  TransferService:189 _make_share_path: Failed to get Download dir from XDG
blueman-applet 01.58.45 WARNING  PluginManager:148 __load_plugin: Not loading PPPSupport because its conflict has higher priority
Segmentation fault

This is because the static exec trampolines is enabled by default in
libffi 3.4.2. However it doesn't work with gobject-introspection[1].

[1] 132699b95d

(From OE-Core rev: 2173003df3beedf49aa0ce30d79a1158179fa3e4)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Khem Raj
1a135f58e3 gpgme: Use glibc provided closefrom API when available
glibc 2.34+ has added this API new

(From OE-Core rev: a2b2479d20d029f5a11dba8cf7f7ca3e4a5bbbe2)

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>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
58202aa709 linux-yocto/5.4: update to v5.4.132
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    7c76bd6c36ed Linux 5.4.132
    792d47ca5228 iommu/dma: Fix compile warning in 32-bit builds
    a7f4f0c4e79a scsi: core: Retry I/O for Notify (Enable Spinup) Required error
    4aaace2dc1ad mmc: vub3000: fix control-request direction
    5712b828b8d9 mmc: block: Disable CMDQ on the ioctl path
    90d29149e32c block: return the correct bvec when checking for gaps
    1bfb3a070b58 scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
    00d38f7031d4 perf llvm: Return -ENOMEM when asprintf() fails
    b00da826cab4 selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
    49496327c290 mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
    4b515fa94894 mm/huge_memory.c: don't discard hugepage if other processes are mapping it
    01be55fb26ce vfio/pci: Handle concurrent vma faults
    9db3800eeadd arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
    b857ff866c76 serial: mvebu-uart: correctly calculate minimal possible baudrate
    7900c98108b0 serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
    44d36a79dcff powerpc: Offline CPU in stop_this_cpu()
    3189d9749317 leds: ktd2692: Fix an error handling path
    95288e28c7ca leds: as3645a: Fix error return code in as3645a_parse_node()
    f0acb12b9866 configfs: fix memleak in configfs_release_bin_file
    2993c1f9d7b9 ASoC: atmel-i2s: Fix usage of capture and playback at the same time
    0e0ee2cee65c extcon: max8997: Add missing modalias string
    4efa7f728bab extcon: sm5502: Drop invalid register write in sm5502_reg_data
    b1c88a56ef6e phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
    8bc305d146b9 phy: uniphier-pcie: Fix updating phy parameters
    142ab7ff42b6 soundwire: stream: Fix test for DP prepare complete
    5ec1c609d26e scsi: mpt3sas: Fix error return value in _scsih_expander_add()
    35a4e0aee8f3 mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
    b1d1cafd6001 of: Fix truncation of memory sizes on 32-bit platforms
    be192ab7b47a ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
    fe9452c9d7ad iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    da8ef748fec2 iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    84c045475ef3 serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
    eea7304dc2e9 staging: mt7621-dts: fix pci address for PCI memory range
    ce2588dc7fea staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
    92538bf2eea8 staging: rtl8712: remove redundant check in r871xu_drv_init
    9f0800bd93ea staging: gdm724x: check for overflow in gdm_lte_netif_rx()
    4500b944d7f8 staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
    f848baa0a5b3 iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    26aa12ef64ee iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    9275b1eaf04e iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    a79c9b382b7a iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    73e804beb759 iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    02d3b52f6739 iio: at91-sama5d2_adc: remove usage of iio_priv_to_dev() helper
    ac7943a7f4ad eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
    9fc3fbc3af67 eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
    d7e33cc4789b usb: dwc2: Don't reset the core after setting turnaround time
    a95bbfe69031 usb: gadget: f_fs: Fix setting of device and driver data cross-references
    7ba04367b340 ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
    6fee286da898 iommu/dma: Fix IOVA reserve dma ranges
    1e38d79d0bfc s390: appldata depends on PROC_SYSCTL
    b6e2d45e3fea visorbus: fix error return code in visorchipset_init()
    540c40c6bb4a fsi/sbefifo: Fix reset timeout
    aa4577259bfb fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
    d903eee764a4 fsi: occ: Don't accept response from un-initialized OCC
    96c914057aaa fsi: scom: Reset the FSI2PIB engine for any error
    19c8f5307a2e fsi: core: Fix return of error values on failures
    aeed300a2e27 scsi: FlashPoint: Rename si_flags field
    fde1e59110f1 leds: lm3692x: Put fwnode in any case during ->probe()
    08ffeb67e42b leds: lm36274: cosmetic: rename lm36274_data to chip
    a42c6c448c9e leds: lm3532: select regmap I2C API
    329e02d6f22d tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
    7f0b77542e57 firmware: stratix10-svc: Fix a resource leak in an error handling path
    a536c30966c1 char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
    6490ed7c4684 mtd: partitions: redboot: seek fis-index-block in the right node
    56c6c7f8ab9b Input: hil_kbd - fix error return code in hil_dev_connect()
    ccba28358397 ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
    77c61b1b2989 backlight: lm3630a_bl: Put fwnode in error case during ->probe()
    57fd7d8ac921 ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
    1dc77b6ca0c5 ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
    d89dda5f5652 iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    994a076be336 iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    2ab4cf6cc0e8 iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    d746f8664ce5 iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    f35afa38c5ac iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8fdbcbda4dfb iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    68c8b28305ae iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    9fc6ef022b47 iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    da4dfaed9be8 iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    b40dab164dc3 iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    1c06080fe28b iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4538e6589cfb iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    acf45f54d192 iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    9fad330311e4 iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8bfa7ffc49ce iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    121283ad49f4 iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    467502dd7dfc iio: accel: mxc4005: Fix overread of data and alignment issue.
    57a7deaff13d iio:accel:mxc4005: Drop unnecessary explicit casts in regmap_bulk_read calls
    3a49b5639437 iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    9f23d0df409a iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    a539e2acccfd iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    39fec8d9ab96 iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    2e088ed6fac1 iio: adis16400: do not return ints in irq handlers
    8271a443e5e4 iio: adis_buffer: do not return ints in irq handlers
    d3a7e5384b3a mwifiex: re-fix for unaligned accesses
    3a4043f597d0 tty: nozomi: Fix a resource leak in an error handling function
    61f6c18fff3c rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
    fbe80b3ee91f staging: fbtft: Rectify GPIO handling
    e0aef648f5bd MIPS: Fix PKMAP with 32-bit MIPS huge page support
    97704efb93b5 RDMA/mlx5: Don't access NULL-cleared mpi pointer
    eff9dabc0068 net: sched: fix warning in tcindex_alloc_perfect_hash
    92071a2b8f7f net: lwtunnel: handle MTU calculation in forwading
    5c93fc46682c writeback: fix obtain a reference to a freeing memcg css
    71721ddf4aee clk: si5341: Update initialization magic
    f894ba756e86 clk: si5341: Avoid divide errors due to bogus register contents
    80bd119c7d27 clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
    a7aefa1a173d clk: actions: Fix SD clocks factor table on Owl S500 SoC
    1fbd19a9e23f clk: actions: Fix UART clock dividers on Owl S500 SoC
    305e64cbf855 Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
    4ad77cea016c Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
    2954b193ebb0 Revert "be2net: disable bh with spin_lock in be_process_mcc"
    f6b723ce27ff gve: Fix swapped vars when fetching max queues
    0e8c17fd80f2 bpfilter: Specify the log level for the kmsg message
    482e12bdc5d7 e1000e: Check the PCIm state
    48fa8744989f ipv6: fix out-of-bound access in ip6_parse_tlv()
    3380206e5dc0 ibmvnic: free tx_pool if tso_pool alloc fails
    867a99001718 Revert "ibmvnic: remove duplicate napi_schedule call in open function"
    bbc833fd7dae i40e: Fix autoneg disabling for non-10GBaseT links
    a3465b94ac5f i40e: Fix error handling in i40e_vsi_open
    5e98c708a471 bpf: Do not change gso_size during bpf_skb_change_proto()
    bc54d98bd21d ipv6: exthdrs: do not blindly use init_net
    28db4b5b69f3 net: bcmgenet: Fix attaching to PYH failed on RPi 4B
    946bd84826b8 mac80211: remove iwlwifi specific workaround NDPs of null_response
    cb72c23aa544 ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
    048513280e41 ieee802154: hwsim: Fix memory leak in hwsim_add_one
    9692257004d4 tc-testing: fix list handling
    117e1495a636 net/ipv4: swap flow ports when validating source
    74e76cd6320c vxlan: add missing rcu_read_lock() in neigh_reduce()
    b5bd5b7b7f18 pkt_sched: sch_qfq: fix qfq_change_class() error path
    33f897fe3429 tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
    6fea1a58c914 net: sched: add barrier to ensure correct ordering for lockless qdisc
    e245ea3b5240 vrf: do not push non-ND strict packets with a source LLA through packet taps again
    f264d0873d8d net: ethernet: ezchip: fix error handling
    a10e00299b80 net: ethernet: ezchip: fix UAF in nps_enet_remove
    b7f456df8594 net: ethernet: aeroflex: fix UAF in greth_of_remove
    e21b9e8436ef samples/bpf: Fix the error return code of xdp_redirect's main()
    66e9a01e4c7c RDMA/rxe: Fix qp reference counting for atomic ops
    da4ad14f87f0 netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
    a3f1e8e316bf netfilter: nft_osf: check for TCP packet before further processing
    4759c55ff1d5 netfilter: nft_exthdr: check for IPv6 packet before further processing
    e4db789e937e RDMA/mlx5: Don't add slave port to unaffiliated list
    9b1e991266c4 netlabel: Fix memory leak in netlbl_mgmt_add_common
    9b81edead824 ath10k: Fix an error code in ath10k_add_interface()
    2a8b20d74106 brcmsmac: mac80211_if: Fix a resource leak in an error handling path
    771a8b6da36f brcmfmac: correctly report average RSSI in station info
    4940e54549a5 brcmfmac: fix setting of station info chains bitmask
    18b3b70dd11d ssb: Fix error return code in ssb_bus_scan()
    55ec3e5809e5 wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
    723204726a6a ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
    3986553411f8 wireless: carl9170: fix LEDS build errors & warnings
    b6d2cf68f9b1 ath10k: add missing error return code in ath10k_pci_probe()
    941ce3bd7fb0 ath10k: go to path err_unsupported when chip id is not supported
    5f543705309f tools/bpftool: Fix error return code in do_batch()
    fe5cca105794 drm: qxl: ensure surf.data is ininitialized
    d9721095a5ce RDMA/rxe: Fix failure during driver load
    2adbd7559dfb RDMA/core: Sanitize WQ state received from the userspace
    9cc3eb8abe23 net/sched: act_vlan: Fix modify to allow 0
    0b440951273a ehea: fix error return code in ehea_restart_qps()
    e16bd3365d08 drm/rockchip: dsi: move all lane config except LCDC mux to bind()
    450c25b8a4c9 drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
    01f4245ff75f net: ftgmac100: add missing error return code in ftgmac100_probe()
    3858b47c94b9 clk: meson: g12a: fix gp0 and hifi ranges
    3da37783b027 pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
    4e1cb7fedf68 pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
    b0a3770ead57 net: pch_gbe: Propagate error from devm_gpio_request_one()
    a9a33de4be2e net: mvpp2: Put fwnode in error case during ->probe()
    f9ad0b5ebacc video: fbdev: imxfb: Fix an error message
    08a7306e1198 xfrm: xfrm_state_mtu should return at least 1280 for ipv6
    a87a201989ec dax: fix ENOMEM handling in grab_mapping_entry()
    6ea84116b3fe ocfs2: fix snprintf() checking
    27d02a4d9dab cpufreq: Make cpufreq_online() call driver->offline() on errors
    3c59143b9a1e ACPI: bgrt: Fix CFI violation
    6d79e36c9ece ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros
    7b33b04f85df blk-wbt: make sure throttle is enabled properly
    bcf3f42bda3a blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
    1ad25a64c66f extcon: extcon-max8997: Fix IRQ freeing at error path
    258f5c1a5d3d ACPI: sysfs: Fix a buffer overrun problem with description_show()
    dfafa93ae3a7 crypto: nx - Fix RCU warning in nx842_OF_upd_status
    55f5d771a292 spi: spi-sun6i: Fix chipselect/clock bug
    97f32c7f3322 sched/uclamp: Fix uclamp_tg_restrict()
    a3ddf1fb37f9 sched/rt: Fix Deadline utilization tracking during policy change
    3fb53be07fc1 sched/rt: Fix RT utilization tracking during policy change
    fa3f33b20bd9 btrfs: clear log tree recovering status if starting transaction fails
    a0876d9dc1c1 regulator: hi655x: Fix pass wrong pointer to config.driver_data
    032fd28ed559 KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
    a90a2466dde5 hwmon: (max31790) Fix fan speed reporting for fan7..12
    93110513bcfd hwmon: (max31722) Remove non-standard ACPI device IDs
    b585f9ef6a51 media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
    3bf0509d25e0 arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
    8e6bcc566400 arm64: consistently use reserved_pg_dir
    ccbcdcd4af98 mmc: usdhi6rol0: fix error return code in usdhi6_probe()
    c5d2f917a8f1 crypto: omap-sham - Fix PM reference leak in omap sham ops
    b205574dc682 crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
    d93cbb6e5fe5 media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
    6e8ba90bef7c m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
    e1665624bf9d media: gspca/gl860: fix zero-length control requests
    ffc483de3ecb media: tc358743: Fix error return code in tc358743_probe_of()
    2bca3c0a95fe media: au0828: fix a NULL vs IS_ERR() check
    c04d6687e43e media: exynos4-is: Fix a use after free in isp_video_release
    6c987e7385e1 pata_ep93xx: fix deferred probing
    3eec64b5967e media: rc: i2c: Fix an error message
    6ee810a55965 crypto: ccp - Fix a resource leak in an error handling path
    4020615bd733 evm: fix writing <securityfs>/evm overflow
    550cf816bb11 pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
    8454cfe40841 kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
    dcc9f1253ddd kbuild: run the checker after the compiler
    8e5ffc103928 sched/uclamp: Fix locking around cpu_util_update_eff()
    0b199ce65bc3 sched/uclamp: Fix wrong implementation of cpu.uclamp.min
    127035b4595d media: I2C: change 'RST' to "RSET" to fix multiple build errors
    2eccf5160002 pata_rb532_cf: fix deferred probing
    3b0dfab92877 sata_highbank: fix deferred probing
    faeee7a8f684 crypto: ux500 - Fix error return code in hash_hw_final()
    a1fa855e770e crypto: ixp4xx - dma_unmap the correct address
    0c5d94f29775 media: s5p_cec: decrement usage count if disabled
    80af2c9ee1d6 writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
    51fd1f683671 ia64: mca_drv: fix incorrect array size calculation
    a3aab894d971 kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    05bc31902755 block: fix discard request merge
    8978dd251898 cifs: fix missing spinlock around update to ses->status
    4061697e2f17 HID: wacom: Correct base usage for capacitive ExpressKey status bits
    888469c5fa95 ACPI: tables: Add custom DSDT file as makefile prerequisite
    dba9cda5aa99 clocksource: Retry clock read if long delays detected
    0aebb12a574d PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
    f53f229255d6 EDAC/Intel: Do not load EDAC driver when running as a guest
    26c9e398b499 nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
    51af155a4327 platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
    506a2001b719 block: fix race between adding/removing rq qos and normal IO
    e30d2ecc13d7 ACPI: resources: Add checks for ACPI IRQ override
    2238732f1992 ACPI: bus: Call kobject_put() in acpi_init() error path
    00f3017e04d4 ACPICA: Fix memory leak caused by _CID repair function
    f8c7e8e572d9 fs: dlm: fix memory leak when fenced
    b6c469a850a4 random32: Fix implicit truncation warning in prandom_seed_state()
    0fc251751c73 fs: dlm: cancel work sync othercon
    75b97dcbe956 block_dump: remove block_dump feature in mark_inode_dirty()
    4cee846b30aa ACPI: EC: Make more Asus laptops use ECDT _GPE
    e846c2821c25 lib: vsprintf: Fix handling of number field widths in vsscanf
    865c6e210bd4 hv_utils: Fix passing zero to 'PTR_ERR' warning
    8d64fd2682ae ACPI: processor idle: Fix up C-state latency if not ordered
    e9e2683f1b9c EDAC/ti: Add missing MODULE_DEVICE_TABLE
    9b1b8323871b HID: do not use down_interruptible() when unbinding devices
    17ca23ef05ed media: Fix Media Controller API config checks
    ef5792d3995d regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
    2aff3f51cd22 regulator: mt6358: Fix vdram2 .vsel_mask
    fc31fb6f36cd KVM: s390: get rid of register asm usage
    2ef6cd6e4865 lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
    1b45a85262bf locking/lockdep: Fix the dep path printing for backwards BFS
    3ee80fc1f530 btrfs: disable build on platforms having page size 256K
    af4b53f6d3ea btrfs: abort transaction if we fail to update the delayed inode
    504081c415e2 btrfs: fix error handling in __btrfs_update_delayed_inode
    f3d2278a81f7 KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
    3fea9b708ae3 drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
    2e23607e65dc hwmon: (max31790) Fix pwmX_enable attributes
    d284b53193fa hwmon: (max31790) Report correct current pwm duty cycles
    4bb7eeb0a200 media: imx-csi: Skip first few frames from a BT.656 source
    54196d9e77e5 media: siano: fix device register error path
    7434625f944c media: dvb_net: avoid speculation from net slot
    80b9d3becd84 crypto: shash - avoid comparing pointers to exported functions under CFI
    31ef30f8f878 mmc: via-sdmmc: add a check against NULL pointer dereference
    b28d6d2df2b3 mmc: sdhci-sprd: use sdhci_sprd_writew
    1e3ad91cb64c memstick: rtsx_usb_ms: fix UAF
    0ec7eab55b0e media: dvd_usb: memory leak in cinergyt2_fe_attach
    1fc3ec4ac405 Makefile: fix GDB warning with CONFIG_RELR
    0a825797f791 media: st-hva: Fix potential NULL pointer dereferences
    f6f0190d651b media: bt8xx: Fix a missing check bug in bt878_probe
    3790d56daf5f media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
    a70de431f713 media: em28xx: Fix possible memory leak of em28xx struct
    432188f62697 sched/fair: Fix ascii art by relpacing tabs
    dd776d2fdf87 crypto: qat - remove unused macro in FW loader
    bcea3fc8f24d crypto: qat - check return code of qat_hal_rd_rel_reg()
    1580d72ac7fc media: imx: imx7_mipi_csis: Fix logging of only error event counters
    eae27d048ee7 media: pvrusb2: fix warning in pvr2_i2c_core_done
    bb8b5e98b5f5 media: cobalt: fix race condition in setting HPD
    162b85d3cf25 media: cpia2: fix memory leak in cpia2_usb_probe
    5c8c5edb28f3 media: sti: fix obj-$(config) targets
    84ac96486ba7 crypto: nx - add missing MODULE_DEVICE_TABLE
    f4c8a00d61fe hwrng: exynos - Fix runtime PM imbalance on error
    022cf057e443 regulator: uniphier: Add missing MODULE_DEVICE_TABLE
    d6518e028103 spi: omap-100k: Fix the length judgment problem
    afc37630a124 spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
    ca5ea7847527 spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
    b413d8654ed6 media: exynos-gsc: fix pm_runtime_get_sync() usage count
    8fece55aeb6d media: sti/bdisp: fix pm_runtime_get_sync() usage count
    ac69e7aea37d media: s5p-jpeg: fix pm_runtime_get_sync() usage count
    f1a8951cf1b4 media: mtk-vcodec: fix PM runtime get logic
    908b6f72a910 media: sh_vou: fix pm_runtime_get_sync() usage count
    948bcdcf7fd9 media: s5p: fix pm_runtime_get_sync() usage count
    4480cacdbc26 media: mdk-mdp: fix pm_runtime_get_sync() usage count
    ef59dbc06d6a spi: Make of_register_spi_device also set the fwnode
    a883c38f1cfa fuse: reject internal errno
    059dd690bfe0 fuse: check connected before queueing on fpq->io
    e72bec922646 fuse: ignore PG_workingset after stealing
    74e9d920f25c evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
    d7dfaf13d24e evm: Execute evm_inode_init_security() only when an HMAC key is loaded
    5c7c5c49d9b8 powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
    9ed57fc5a45b seq_buf: Make trace_seq_putmem_hex() support data longer than 8
    c65755f595cd tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
    acf8494ba567 tracing/histograms: Fix parsing of "sym-offset" modifier
    6707b3d43822 rsi: fix AP mode with WPA failure due to encrypted EAPOL
    5269ac3cf0b5 rsi: Assign beacon rate settings to the correct rate_info descriptor field
    f4b4b121521d ssb: sdio: Don't overwrite const buffer if block_write fails
    96bb095f8536 ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
    e931d9a92576 serial_cs: remove wrong GLOBETROTTER.cis entry
    a3ca189a0018 serial_cs: Add Option International GSM-Ready 56K/ISDN modem
    4bd14de69785 serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
    a945c2ead2c5 serial: mvebu-uart: fix calculation of clock divisor
    202a64ad8f2c iio: ltr501: ltr501_read_ps(): add missing endianness conversion
    aafeedb0996d iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
    a27c940a9042 iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
    3287635367a4 iio: light: tcs3472: do not free unallocated IRQ
    60684282789e rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
    a470819824b7 s390/cio: dont call css_wait_for_slow_path() inside a lock
    684bddacf155 KVM: PPC: Book3S HV: Workaround high stack usage with clang
    f0d3a4b6d5f7 perf/smmuv3: Don't trample existing events with global filter
    f9c7f2687923 SUNRPC: Should wake up the privileged task firstly.
    d060386ffdbd SUNRPC: Fix the batch tasks count wraparound.
    619c14120c30 mac80211: remove iwlwifi specific workaround that broke sta NDP tx
    1ff563ec86c7 can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
    12aad0220812 can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
    7bb931d2c8cf can: gw: synchronize rcu operations before removing gw job entry
    70a9116b9e5c can: bcm: delay release of struct bcm_op after synchronize_rcu()
    512286ddc3e8 ext4: use ext4_grp_locked_error in mb_find_extent
    0bae1ea11981 ext4: fix avefreec in find_group_orlov
    8c06b3d02d65 ext4: remove check for zero nr_to_scan in ext4_es_scan()
    a0548187482d ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
    f01fa29e8ea0 ext4: return error code when ext4_fill_flex_info() fails
    ed628b253119 ext4: fix kernel infoleak via ext4_extent_header
    16b795a39f3e ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
    e3d3cf2e5a7c btrfs: clear defrag status of a root if starting transaction fails
    077f06b648a4 btrfs: send: fix invalid path for unlink operations after parent orphanization
    0ede9e8c5a83 ARM: dts: at91: sama5d4: fix pinctrl muxing
    efdcd77660f8 arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
    0f382fa359ca Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
    63e68b563649 iov_iter_fault_in_readable() should do nothing in xarray case
    846ae1d87931 copy_page_to_iter(): fix ITER_DISCARD case
    c4868118fab9 ntfs: fix validity check for file name attribute
    87a365a4ddec xhci: solve a double free problem while doing s4
    cc7559e6dd1d usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
    d5b06a79fe89 usb: dwc3: Fix debugfs creation flow
    7941f646a6cd USB: cdc-acm: blacklist Heimann USB Appset device
    8bdef7f21cb6 usb: gadget: eem: fix echo command packet response issue
    11dfef6aba1a net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
    aa6f233b949c Input: usbtouchscreen - fix control-request directions
    d808329ae137 media: dvb-usb: fix wrong definition
    3b4dd159db68 ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
    23d443c5b417 ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
    15f521856e0f ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
    3911b8ff714c ALSA: hda/realtek: Add another ALC236 variant support
    23ca8cf4cba0 ALSA: intel8x0: Fix breakage at ac97 clock measurement
    1908d78a87cf ALSA: usb-audio: scarlett2: Fix wrong resume call
    49e5b37fdd01 ALSA: usb-audio: Fix OOB access at proc output
    5ded94e8516d ALSA: usb-audio: fix rate on Ozone Z90 USB headset

(From OE-Core rev: 7fd82689d57c11ae517bc15cf0b8c59a4f374376)

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>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
1212c79946 linux-yocto/5.10: update to v5.10.50
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    43b0742ef44c Linux 5.10.50
    bdf4d33e8342 powerpc/preempt: Don't touch the idle task's preempt_count during hotplug
    9b07d817f799 iommu/dma: Fix compile warning in 32-bit builds
    0855952ed4f1 cred: add missing return error code when set_cred_ucounts() failed
    ce04375e2d9b s390: preempt: Fix preempt_count initialization
    e4a577d61791 crypto: qce - fix error return code in qce_skcipher_async_req_handle()
    fb0c0a04e424 scsi: core: Retry I/O for Notify (Enable Spinup) Required error
    2b541b6c7432 media: exynos4-is: remove a now unused integer
    2b58f5154a8f mmc: vub3000: fix control-request direction
    39ac3e194516 mmc: block: Disable CMDQ on the ioctl path
    a75457f63086 io_uring: fix blocking inline submission
    c98d9318dc99 block: return the correct bvec when checking for gaps
    51c19f4a6212 erofs: fix error return code in erofs_read_superblock()
    97cbddc8a2bc tpm: Replace WARN_ONCE() with dev_err_once() in tpm_tis_status()
    b5a2b5b64237 fscrypt: fix derivation of SipHash keys on big endian CPUs
    089057af71d7 fscrypt: don't ignore minor_hash when hash is 0
    b9c3b485593e mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
    2a7c96c2e238 scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
    e2e615e6317b scsi: fc: Correct RHBA attributes length
    5c6956e66404 exfat: handle wrong stream entry size in exfat_readdir()
    b6a41435c832 csky: syscache: Fixup duplicate cache flush
    3483e1a41ca0 csky: fix syscache.c fallthrough warning
    8ff266de8906 perf llvm: Return -ENOMEM when asprintf() fails
    58fa4b36abf6 selftests/vm/pkeys: refill shadow register after implicit kernel write
    1dd18fda3eec selftests/vm/pkeys: handle negative sys_pkey_alloc() return code
    92125cb8835c selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
    456554040e5a lib/math/rational.c: fix divide by zero
    787f4e7a7d4b mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page
    0fe11b79c281 mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
    555dffa4842b include/linux/huge_mm.h: remove extern keyword
    ebd6a295b580 hugetlb: remove prep_compound_huge_page cleanup
    2e16ad561143 mm/hugetlb: remove redundant check in preparing and destroying gigantic page
    0da83a815d33 mm/hugetlb: use helper huge_page_order and pages_per_huge_page
    31be4ea35c82 mm/huge_memory.c: don't discard hugepage if other processes are mapping it
    b65597377b7b mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_enabled()
    aa41f7a2a681 mm/huge_memory.c: remove dedicated macro HPAGE_CACHE_INDEX_MASK
    9b0b9edea1d3 mm/pmem: avoid inserting hugepage PTE entry with fsdax if hugepage support is disabled
    0885ea1d4759 vfio/pci: Handle concurrent vma faults
    363d85bfaec1 arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
    347af865b6a2 serial: mvebu-uart: correctly calculate minimal possible baudrate
    9ad82f0412c0 serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
    dd6d4e92e724 ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found
    53fa3ba8085e powerpc/papr_scm: Make 'perf_stats' invisible if perf-stats unavailable
    04db493fc746 powerpc/64s: Fix copy-paste data exposure into newly created tasks
    ac08ba518c6c powerpc/papr_scm: Properly handle UUID types and API
    d3358c66ee56 powerpc: Offline CPU in stop_this_cpu()
    9443acbd251f serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
    e0e3e0b7dabf serial: 8250: 8250_omap: Disable RX interrupt after DMA enable
    786461739ac4 selftests/ftrace: fix event-no-pid on 1-core machine
    57e49a0bc4b3 leds: ktd2692: Fix an error handling path
    53cb671592ef leds: as3645a: Fix error return code in as3645a_parse_node()
    f3bf888507f0 ASoC: fsl_spdif: Fix unexpected interrupt after suspend
    2938ffd56895 ASoC: Intel: sof_sdw: add SOF_RT715_DAI_ID_FIX for AlderLake
    5f2dfce8d8bc configfs: fix memleak in configfs_release_bin_file
    e30e636447fd ASoC: atmel-i2s: Fix usage of capture and playback at the same time
    af497961abef powerpc/powernv: Fix machine check reporting of async store errors
    f8d223f80ac6 extcon: max8997: Add missing modalias string
    e16fcc83748a extcon: sm5502: Drop invalid register write in sm5502_reg_data
    25c7efb3875a phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
    6398fc0e57ec phy: uniphier-pcie: Fix updating phy parameters
    a4b7c0af613f soundwire: stream: Fix test for DP prepare complete
    b0be06493e73 scsi: mpt3sas: Fix error return value in _scsih_expander_add()
    f51088868b16 habanalabs: Fix an error handling path in 'hl_pci_probe()'
    c183b55ed7e5 mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
    f929d21af75d of: Fix truncation of memory sizes on 32-bit platforms
    db45ea876743 ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
    55bb225c0878 iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    49739675048d iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    c850b52e47aa serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
    5db39ad3fa32 staging: mt7621-dts: fix pci address for PCI memory range
    c5cd4b74fd8a coresight: core: Fix use of uninitialized pointer
    58c0621c44a5 staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
    bf5d6f697981 staging: rtl8712: fix error handling in r871xu_drv_init
    7bc3fa5db495 staging: gdm724x: check for overflow in gdm_lte_netif_rx()
    f93737061067 staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
    14106b90e147 ASoC: fsl_spdif: Fix error handler with pm_runtime_enable
    9cf11dca57a5 iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8c85c0f8cbff iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    c923e9effe50 iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    15634d6dced1 iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    a6a1e347c7a0 iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    2abfdd61324c iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    2abfa5294717 thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()
    36f60700f966 eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
    fc8ab0600172 eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
    c7188d19989b usb: dwc2: Don't reset the core after setting turnaround time
    8aa1cb46b72e usb: gadget: f_fs: Fix setting of device and driver data cross-references
    d4d3cd4c7699 ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
    92a30a90d69a ASoC: rt5682-sdw: set regcache_cache_only false before reading RT5682_DEVICE_ID
    696cfb256794 ASoC: rt5682: fix getting the wrong device id when the suspend_stress_test
    8ef111db5e07 ASoC: rt715-sdw: use first_hw_init flag on resume
    36dc6957f70f ASoC: rt711-sdw: use first_hw_init flag on resume
    de77f9d92c3b ASoC: rt700-sdw: use first_hw_init flag on resume
    e1456cba8e36 ASoC: rt5682-sdw: use first_hw_init flag on resume
    16674ae3b237 ASoC: rt1308-sdw: use first_hw_init flag on resume
    dc1521641287 ASoC: max98373-sdw: use first_hw_init flag on resume
    45a3d00eafb7 iommu/dma: Fix IOVA reserve dma ranges
    ad736838155c selftests: splice: Adjust for handler fallback removal
    045c29902fbe s390: appldata depends on PROC_SYSCTL
    485b1c02b543 s390: enable HAVE_IOREMAP_PROT
    d65f69deac5c s390/irq: select HAVE_IRQ_EXIT_ON_IRQ_STACK
    d8fe62cb919c iommu/amd: Fix extended features logging
    bd95a3e159a0 visorbus: fix error return code in visorchipset_init()
    e5a3a3108f06 fsi/sbefifo: Fix reset timeout
    4a95eb0c800e fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
    719c4db394ed fsi: occ: Don't accept response from un-initialized OCC
    af3d7f9e266b fsi: scom: Reset the FSI2PIB engine for any error
    446eed9c855e fsi: core: Fix return of error values on failures
    d22bef41017b mfd: rn5t618: Fix IRQ trigger by changing it to level mode
    9b8bfdbc7e61 mfd: mp2629: Select MFD_CORE to fix build error
    68f2f83f6fb6 scsi: iscsi: Flush block work before unblock
    b5371faa0667 scsi: FlashPoint: Rename si_flags field
    0b2f74111344 leds: lp50xx: Put fwnode in error case during ->probe()
    5f7bda9ba8d7 leds: lm3697: Don't spam logs when probe is deferred
    8fc7d4a3f039 leds: lm3692x: Put fwnode in any case during ->probe()
    c54ad49e2ff7 leds: lm36274: Put fwnode in error case during ->probe()
    1ed913317166 leds: lm3532: select regmap I2C API
    b504e279e502 leds: class: The -ENOTSUPP should never be seen by user space
    58279b341b94 tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
    28c947b07263 firmware: stratix10-svc: Fix a resource leak in an error handling path
    1e1b9cd40095 char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
    5a766253e305 staging: mmal-vchiq: Fix incorrect static vchiq_instance.
    cf05986cc4de mtd: rawnand: arasan: Ensure proper configuration for the asserted target
    2f8824f556a3 mtd: partitions: redboot: seek fis-index-block in the right node
    a16eae11f004 perf scripting python: Fix tuple_set_u64()
    201b975c1643 Input: hil_kbd - fix error return code in hil_dev_connect()
    000c70680d2f ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
    2e1d76c3b90f backlight: lm3630a_bl: Put fwnode in error case during ->probe()
    d4ebf352a7d7 ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
    2541d78f7832 ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
    246b4f1e2050 iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    71dbba0b9525 iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    1fa3107759b7 iio: chemical: atlas: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    93a5538d5012 iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    daecb8c0a17c iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    293b8246a07e iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    f960139a3c49 iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    e5e102f4b562 iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4613232e0b1f iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    ab16be53b296 iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8e23dd6236de iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    c61ac1f83b32 iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8ea878287ccc iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    718a67a90932 iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    df5343bd59cd iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    f0bc78df4a04 iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    cd62282a51cb iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    638ba5aa15ac iio: accel: mxc4005: Fix overread of data and alignment issue.
    0d220d40b3f3 iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    9eb5fb66b6f4 iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4b362443dc21 iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    3cca4db5f733 iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    2edfba8a55b5 iio: adis16475: do not return ints in irq handlers
    92efd6396e4b iio: adis16400: do not return ints in irq handlers
    2e41116e6eb8 iio: adis_buffer: do not return ints in irq handlers
    67d88b7bf62d mwifiex: re-fix for unaligned accesses
    460bee90091d tty: nozomi: Fix a resource leak in an error handling function
    f5186bd17f3b serial: 8250_omap: fix a timeout loop condition
    5dcff72fe42a serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()
    685d53abc918 serial: fsl_lpuart: don't modify arbitrary data on lpuart32
    728f23e53c65 rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
    66111dfe22b1 ASoC: rt5682: Disable irq on shutdown
    8b195380cd07 staging: fbtft: Don't spam logs when probe is deferred
    7a42f3c30dfe staging: fbtft: Rectify GPIO handling
    d8c1504cf1a0 MIPS: Fix PKMAP with 32-bit MIPS huge page support
    a23ba98e91ff RDMA/core: Always release restrack object
    a938d4e8c699 RDMA/mlx5: Don't access NULL-cleared mpi pointer
    c6965316d684 net: tipc: fix FB_MTU eat two pages
    1148952dc660 net: sched: fix warning in tcindex_alloc_perfect_hash
    4476568069c9 net: lwtunnel: handle MTU calculation in forwading
    6939c39a4106 writeback: fix obtain a reference to a freeing memcg css
    4c3e839bfde5 clk: si5341: Update initialization magic
    55aaba36d718 clk: si5341: Check for input clock presence and PLL lock on startup
    42ac32d834aa clk: si5341: Avoid divide errors due to bogus register contents
    043637617d51 clk: si5341: Wait for DEVICE_READY on startup
    29746bd0f765 clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
    94221679ee05 clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
    f3b6df5dfd72 clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
    ced193bc0851 clk: actions: Fix SD clocks factor table on Owl S500 SoC
    12d2d6fd11c1 clk: actions: Fix UART clock dividers on Owl S500 SoC
    7d97522e6e35 Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
    4f5fc3be2cca Bluetooth: Fix Set Extended (Scan Response) Data
    c5fedfcc2046 Bluetooth: Fix not sending Set Extended Scan Response
    a2dcad039e45 Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
    d28e780431b5 Revert "be2net: disable bh with spin_lock in be_process_mcc"
    342b06b600bf gve: Fix swapped vars when fetching max queues
    11044f8c2c9f RDMA/cma: Fix incorrect Packet Lifetime calculation
    fc2ea819b96e bpfilter: Specify the log level for the kmsg message
    4228c00e1408 net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs()
    393d48b3dec0 e1000e: Check the PCIm state
    cebff3d9f74f ipv6: fix out-of-bound access in ip6_parse_tlv()
    9e753c47b905 net: atlantic: fix the macsec key length
    1c95d4d432c3 net: phy: mscc: fix macsec key length
    711a28d24d07 net: macsec: fix the length used to copy the key for offloading
    c764f2d899b2 RDMA/cma: Protect RMW with qp_mutex
    d52ceed84526 ibmvnic: free tx_pool if tso_pool alloc fails
    f25accc4fd4d ibmvnic: set ltb->buff to NULL after freeing
    3f85d2ca323f Revert "ibmvnic: remove duplicate napi_schedule call in open function"
    cad22e48cabe i40e: Fix missing rtnl locking when setting up pf switch
    d9a5d19706ea i40e: Fix autoneg disabling for non-10GBaseT links
    88819239e9fd i40e: Fix error handling in i40e_vsi_open
    aefa92774408 bpf: Do not change gso_size during bpf_skb_change_proto()
    0dac8b0ad016 can: j1939: j1939_sk_setsockopt(): prevent allocation of j1939 filter for optlen == 0
    2d58a38275d2 ipv6: exthdrs: do not blindly use init_net
    b559d003f03c net: bcmgenet: Fix attaching to PYH failed on RPi 4B
    514c96bf65ce mac80211: remove iwlwifi specific workaround NDPs of null_response
    1b3985aa53d0 drm/msm/dpu: Fix error return code in dpu_mdss_init()
    134a561aee50 drm/msm: Fix error return code in msm_drm_init()
    f97b9c4c0759 bpf: Fix null ptr deref with mixed tail calls and subprogs
    56c31bc9aabe ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
    71a345ede51a ieee802154: hwsim: Fix memory leak in hwsim_add_one
    4b44486b8bfd tc-testing: fix list handling
    997285646a9c net: ti: am65-cpsw-nuss: Fix crash when changing number of TX queues
    6610d5a73b6f net/ipv4: swap flow ports when validating source
    c3fcfc4e369b ip6_tunnel: fix GRE6 segmentation
    162e75687e90 vxlan: add missing rcu_read_lock() in neigh_reduce()
    6cd23b5f4017 rtw88: 8822c: fix lc calibration timing
    db2386fa4342 iwlwifi: increase PNVM load timeout
    78e6587585d8 xfrm: Fix xfrm offload fallback fail case
    5c8e5feceaf3 pkt_sched: sch_qfq: fix qfq_change_class() error path
    b2ce4ebdd9a8 netfilter: nf_tables_offload: check FLOW_DISSECTOR_KEY_BASIC in VLAN transfer logic
    581e37ad5c0a tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
    e7c3ae47978f net: sched: add barrier to ensure correct ordering for lockless qdisc
    ca9b5ab7910c vrf: do not push non-ND strict packets with a source LLA through packet taps again
    e72d9e4b9807 net: ethernet: ezchip: fix error handling
    161f8b73da68 net: ethernet: ezchip: fix UAF in nps_enet_remove
    f026d82211a2 net: ethernet: aeroflex: fix UAF in greth_of_remove
    6a8c7c5c0773 mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb()
    6987ee9bf0a2 mt76: fix possible NULL pointer dereference in mt76_tx
    e717f974ceed samples/bpf: Fix the error return code of xdp_redirect's main()
    79bf8f04cece samples/bpf: Fix Segmentation fault for xdp_redirect command
    fcd8d6371a46 RDMA/rtrs-srv: Set minimal max_send_wr and max_recv_wr
    a9355b201d16 bpf: Fix libelf endian handling in resolv_btfids
    607706027c89 xsk: Fix broken Tx ring validation
    cd7877a39f05 xsk: Fix missing validation for skb and unaligned mode
    89621945b698 selftests/bpf: Whitelist test_progs.h from .gitignore
    49c25a1a8dc5 RDMA/rxe: Fix qp reference counting for atomic ops
    58da10487a1e netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
    ed3d4988349e netfilter: nft_osf: check for TCP packet before further processing
    cf28cb51f01b netfilter: nft_exthdr: check for IPv6 packet before further processing
    8f6714f3c12b RDMA/mlx5: Don't add slave port to unaffiliated list
    a158ee32d4aa netlabel: Fix memory leak in netlbl_mgmt_add_common
    28e8df0c65a6 ath11k: send beacon template after vdev_start/restart during csa
    48b69f31de82 ath10k: Fix an error code in ath10k_add_interface()
    e0727a61b0aa ath11k: Fix an error handling path in ath11k_core_fetch_board_data_api_n()
    a54e9166e788 cw1200: Revert unnecessary patches that fix unreal use-after-free bugs
    30efdcaca32a brcmsmac: mac80211_if: Fix a resource leak in an error handling path
    5d452eafbd2e brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
    5b8d0b0727f6 brcmfmac: correctly report average RSSI in station info
    db4de88d439e brcmfmac: fix setting of station info chains bitmask
    80ad538a87e2 ssb: Fix error return code in ssb_bus_scan()
    0147e6ccb818 wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
    581098969c1a clk: imx8mq: remove SYS PLL 1/2 clock gates
    da8904c46569 ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
    7142f92412c1 wireless: carl9170: fix LEDS build errors & warnings
    ecb6797501cb ath10k: add missing error return code in ath10k_pci_probe()
    668c0663d6dd ath10k: go to path err_unsupported when chip id is not supported
    4654f1fc3019 tools/bpftool: Fix error return code in do_batch()
    1ccbb552e3d2 drm: qxl: ensure surf.data is ininitialized
    bdc16fe9df17 clk: vc5: fix output disabling when enabling a FOD
    43b7f1dec6c0 drm/vc4: hdmi: Fix error path of hpd-gpios
    756679a123bc drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends
    87890e1113e6 RDMA/rxe: Fix failure during driver load
    c5db39c4dfda drm/pl111: depend on CONFIG_VEXPRESS_CONFIG
    42800fcff3f9 RDMA/core: Sanitize WQ state received from the userspace
    c470dd34c682 net/sched: act_vlan: Fix modify to allow 0
    6a5691335550 xfrm: remove the fragment check for ipv6 beet mode
    9fddbe9495ad clk: tegra30: Use 300MHz for video decoder by default
    48bcd756aff6 ehea: fix error return code in ehea_restart_qps()
    6cbc167bc132 RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and stats->pcpu_stats
    6569ae1deb6c RDMA/rtrs-clt: Check if the queue_depth has changed during a reconnection
    8651ad0e2968 RDMA/rtrs-srv: Fix memory leak when having multiple sessions
    e7df73088443 RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
    f03d4c12965e RDMA/rtrs: Do not reset hb_missed_max after re-connection
    bd4df557aeef RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats
    067b6631315d RDMA/srp: Fix a recently introduced memory leak
    116d5cdfacff mptcp: generate subflow hmac after mptcp_finish_join()
    284e741c4e2a mptcp: fix pr_debug in mptcp_token_new_connect
    eee0f7d399b6 drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result
    75db503c9cc7 drm/rockchip: lvds: Fix an error handling path
    59eb7193bef2 drm/rockchip: dsi: move all lane config except LCDC mux to bind()
    40492ebd29e1 drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
    ef61b0826c81 drm: rockchip: set alpha_en to 0 if it is not used
    7902ee2faefa net: ftgmac100: add missing error return code in ftgmac100_probe()
    28b3837b405f clk: meson: g12a: fix gp0 and hifi ranges
    27e9e0c46816 net: qrtr: ns: Fix error return code in qrtr_ns_init()
    40b701707ebf drm/vmwgfx: Fix cpu updates of coherent multisample surfaces
    a8e85ed08858 drm/vmwgfx: Mark a surface gpu-dirty after the SVGA3dCmdDXGenMips command
    8f2b15ec3bec pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
    6f4718c13400 pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
    2d487941ee59 net: pch_gbe: Propagate error from devm_gpio_request_one()
    2f9f23c43a70 net: mvpp2: Put fwnode in error case during ->probe()
    b3fecbf60ebc video: fbdev: imxfb: Fix an error message
    1655266d91ed drm/ast: Fix missing conversions to managed API
    5885fce7b439 drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()
    0cd39c96574d drm/bridge: Fix the stop condition of drm_bridge_chain_pre_enable()
    45415d1f9929 drm/bridge/sii8620: fix dependency on extcon
    1de9425286f1 xfrm: xfrm_state_mtu should return at least 1280 for ipv6
    10f32b8c9eb8 mm/page_alloc: fix counting of managed_pages
    d7deea31ed6f mm: page_alloc: refactor setup_per_zone_lowmem_reserve()
    5458985533ba mm: memcg/slab: properly set up gfp flags for objcg pointer array
    8e4af3917bfc mm/shmem: fix shmem_swapin() race with swapoff
    a5dcdfe4cb4a swap: fix do_swap_page() race with swapoff
    29ae2c9c9ccc mm/debug_vm_pgtable: ensure THP availability via has_transparent_hugepage()
    7abf6e576354 mm/debug_vm_pgtable/basic: iterate over entire protection_map[]
    27634d63ca58 mm/debug_vm_pgtable/basic: add validation for dirtiness after write protect
    c872674da724 dax: fix ENOMEM handling in grab_mapping_entry()
    c015295b28d6 ocfs2: fix snprintf() checking
    512106ae2355 blk-mq: update hctx->dispatch_busy in case of real scheduler
    3e33b1329c61 cpufreq: Make cpufreq_online() call driver->offline() on errors
    cc0b1776fd1d ACPI: bgrt: Fix CFI violation
    3cbe01ac28a8 ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros
    d3dd2fe2743f blk-wbt: make sure throttle is enabled properly
    1c2f21a8a0c2 blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
    e0afab5181d0 ACPI: APEI: fix synchronous external aborts in user-mode
    f626452df805 extcon: extcon-max8997: Fix IRQ freeing at error path
    45b399e309f5 clocksource/drivers/timer-ti-dm: Save and restore timer TIOCP_CFG
    0317b728d8ae mark pstore-blk as broken
    296fbe2608d2 ACPI: sysfs: Fix a buffer overrun problem with description_show()
    ce47ae8961dd nvme-pci: look for StorageD3Enable on companion ACPI device instead
    3ffe41f25f21 block: avoid double io accounting for flush request
    17e77feaddd6 ACPI: PM / fan: Put fan device IDs into separate header file
    4dcb59d6a288 PM / devfreq: Add missing error code in devfreq_add_device()
    a61f8a2e45be media: video-mux: Skip dangling endpoints
    62c666805af4 media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev
    6bfcb6178925 psi: Fix race between psi_trigger_create/destroy
    8d7debe74475 crypto: nx - Fix RCU warning in nx842_OF_upd_status
    c43082d284fa spi: spi-sun6i: Fix chipselect/clock bug
    f18f7a227697 lockdep/selftests: Fix selftests vs PROVE_RAW_LOCK_NESTING
    fca9e784a36c lockdep: Fix wait-type for empty stack
    ca47a4fa8996 sched/uclamp: Fix uclamp_tg_restrict()
    aea030cefc59 sched/rt: Fix Deadline utilization tracking during policy change
    c576472a051a sched/rt: Fix RT utilization tracking during policy change
    67f66d48bd10 x86/sev: Split up runtime #VC handler for correct state tracking
    2e1003f3ee77 x86/sev: Make sure IRQs are disabled while GHCB is active
    eefebcda89a8 btrfs: clear log tree recovering status if starting transaction fails
    aec3a574c632 regulator: hi655x: Fix pass wrong pointer to config.driver_data
    96275c8f6c58 KVM: arm64: Don't zero the cycle count register when PMCR_EL0.P is set
    e5154bf2177c perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number
    31dcfec19dd0 KVM: x86/mmu: Fix return value in tdp_mmu_map_handle_target_level()
    64d31137b1a6 KVM: nVMX: Don't clobber nested MMU's A/D status on EPTP switch
    bac38bd7c458 KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
    b2c5af71ce4b KVM: nVMX: Sync all PGDs on nested transition with shadow paging
    5ac406b81c0d hwmon: (max31790) Fix fan speed reporting for fan7..12
    e02d52b7e9c5 hwmon: (max31722) Remove non-standard ACPI device IDs
    5c00e994978d hwmon: (lm70) Revert "hwmon: (lm70) Add support for ACPI"
    5cfc66b45450 hwmon: (lm70) Use device_get_match_data()
    c9f8416e43f8 media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
    921d2518dbba media: subdev: remove VIDIOC_DQEVENT_TIME32 handling
    bb5e089df700 arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
    8d6acfe80da1 arm64: consistently use reserved_pg_dir
    f1f30b3373df mmc: usdhi6rol0: fix error return code in usdhi6_probe()
    cd909ebb7315 crypto: sm2 - fix a memory leak in sm2
    d598b8b77b17 crypto: sm2 - remove unnecessary reset operations
    deef40c47e66 crypto: x86/curve25519 - fix cpu feature checking logic in mod_exit
    bc50c403859f crypto: omap-sham - Fix PM reference leak in omap sham ops
    615f2f5e7eb8 crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
    5d4cb7c39436 regulator: fan53880: Fix vsel_mask setting for FAN53880_BUCK
    082d977b4688 media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
    52734fb99e69 m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
    b54a0f7926bd media: gspca/gl860: fix zero-length control requests
    0109910cbdd8 media: tc358743: Fix error return code in tc358743_probe_of()
    5091f2738d78 media: au0828: fix a NULL vs IS_ERR() check
    31157148a591 media: exynos4-is: Fix a use after free in isp_video_release
    2a91d7cc425c media: rkvdec: Fix .buf_prepare
    5a3ac10611d6 locking/lockdep: Reduce LOCKDEP dependency list
    1328decacd31 pata_ep93xx: fix deferred probing
    bab207d3524e media: rc: i2c: Fix an error message
    a9d02976e9ba crypto: ccp - Fix a resource leak in an error handling path
    c3285441b4cd crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe()
    8ac033d9c451 crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
    c0ec4ac43638 x86/elf: Use _BITUL() macro in UAPI headers
    912d16a2d730 evm: fix writing <securityfs>/evm overflow
    403577f75d5c pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
    5f9aaaaac816 kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
    37481ad72d96 sched/uclamp: Fix locking around cpu_util_update_eff()
    6c2b3d565fca sched/uclamp: Fix wrong implementation of cpu.uclamp.min
    b49d231c67e8 media: I2C: change 'RST' to "RSET" to fix multiple build errors
    e7a376edb484 pata_rb532_cf: fix deferred probing
    9df79fd17b7f sata_highbank: fix deferred probing
    45d2d67833ae crypto: ux500 - Fix error return code in hash_hw_final()
    8c8c11b4df70 crypto: ixp4xx - update IV after requests
    f00454ac40f8 crypto: ixp4xx - dma_unmap the correct address
    2c3164f31a49 media: hantro: do a PM resume earlier
    6efd8921eb84 media: s5p_cec: decrement usage count if disabled
    e23dc4a3e8ff media: venus: Rework error fail recover logic
    08d0aa16a1f7 spi: Avoid undefined behaviour when counting unused native CSs
    db5a7e22c96c spi: Allow to have all native CSs in use along with GPIOs
    0c1d1517d616 writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
    3bf8076a7b46 ia64: mca_drv: fix incorrect array size calculation
    fc12d8fbcf1a kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    1208f10b4b8a block: fix discard request merge
    9d0634f6cbcb mailbox: qcom: Use PLATFORM_DEVID_AUTO to register platform device
    c35b484130cc cifs: fix missing spinlock around update to ses->status
    a72d660c0dcc HID: wacom: Correct base usage for capacitive ExpressKey status bits
    6bac00744b62 ACPI: tables: Add custom DSDT file as makefile prerequisite
    5c93dd7c5952 tpm_tis_spi: add missing SPI device ID entries
    d9b40ebd448e clocksource: Check per-CPU clock synchronization when marked unstable
    03a65c14ab47 clocksource: Retry clock read if long delays detected
    8ab9714fd84b ACPI: EC: trust DSDT GPE for certain HP laptop
    c406bb9ece6e cifs: improve fallocate emulation
    998d9fefdd47 PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
    f5a90d44a1bc EDAC/Intel: Do not load EDAC driver when running as a guest
    950a7399056d nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
    66e8848482f2 nvme-pci: fix var. type for increasing cq_head
    9dc2c2b94194 platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
    e2cf3b5cb29e platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15"
    dff246672236 platform/x86: asus-nb-wmi: Revert "Drop duplicate DMI quirk structures"
    1da08a428ec3 block: fix race between adding/removing rq qos and normal IO
    555dba7c631a ACPI: resources: Add checks for ACPI IRQ override
    c79852298ce7 ACPI: bus: Call kobject_put() in acpi_init() error path
    a8c0057aee14 ACPICA: Fix memory leak caused by _CID repair function
    2ebbe3a62024 fs: dlm: fix memory leak when fenced
    eda609d8646f drivers: hv: Fix missing error code in vmbus_connect()
    019d04f91466 open: don't silently ignore unknown O-flags in openat2()
    d838dddf3f08 random32: Fix implicit truncation warning in prandom_seed_state()
    7425fe57d94f fs: dlm: cancel work sync othercon
    747b654e4069 blk-mq: clear stale request in tags->rq[] before freeing one request pool
    a3362ff0433b blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
    f58625bf2ca9 block_dump: remove block_dump feature in mark_inode_dirty()
    ca8541015d25 ACPI: EC: Make more Asus laptops use ECDT _GPE
    b74b839a169b platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets
    d4801889d61f platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
    bb3a3a6cebb3 Input: goodix - platform/x86: touchscreen_dmi - Move upside down quirks to touchscreen_dmi.c
    9e914f59cc3a lib: vsprintf: Fix handling of number field widths in vsscanf
    f8c3236890eb hv_utils: Fix passing zero to 'PTR_ERR' warning
    0f2f5293023f ACPI: processor idle: Fix up C-state latency if not ordered
    ae281fbbc4e5 EDAC/ti: Add missing MODULE_DEVICE_TABLE
    2c0285062dd7 HID: do not use down_interruptible() when unbinding devices
    51b7499cecc4 ACPI: video: use native backlight for GA401/GA502/GA503
    83653ace03e6 media: Fix Media Controller API config checks
    f0b8f5682db8 regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
    5d9e3279f507 regulator: mt6358: Fix vdram2 .vsel_mask
    b58b54ef4978 KVM: s390: get rid of register asm usage
    963baea02ddd lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
    93cc59d8d0fa locking/lockdep: Fix the dep path printing for backwards BFS
    9c0835c69db8 btrfs: disable build on platforms having page size 256K
    ad71a9ad74b1 btrfs: don't clear page extent mapped if we're not invalidating the full page
    703b494a68f9 btrfs: sysfs: fix format string for some discard stats
    8d05e30c974f btrfs: abort transaction if we fail to update the delayed inode
    e0ffb169a35e btrfs: fix error handling in __btrfs_update_delayed_inode
    9b2829123727 KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
    00b1a9f0e8d9 drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
    625ee7d26799 hwmon: (max31790) Fix pwmX_enable attributes
    c1eb091dbbbb hwmon: (max31790) Report correct current pwm duty cycles
    49623e4b7350 media: imx-csi: Skip first few frames from a BT.656 source
    72962620efcb media: siano: fix device register error path
    cc4ba5a3979a media: dvb_net: avoid speculation from net slot
    c34f3912a7d6 crypto: shash - avoid comparing pointers to exported functions under CFI
    0d201fee96b6 spi: meson-spicc: fix memory leak in meson_spicc_probe
    a0bbb5d378da spi: meson-spicc: fix a wrong goto jump for avoiding memory leak.
    ea7e1b581b2d mmc: via-sdmmc: add a check against NULL pointer dereference
    237999da7036 mmc: sdhci-sprd: use sdhci_sprd_writew
    b6cbe1fcf85e memstick: rtsx_usb_ms: fix UAF
    8c252a63032a media: dvd_usb: memory leak in cinergyt2_fe_attach
    e78a588b595d Makefile: fix GDB warning with CONFIG_RELR
    bce4838273e5 crypto: hisilicon/sec - fixup 3des minimum key size declaration
    74ef2418a76b media: st-hva: Fix potential NULL pointer dereferences
    617afcee2a5f media: bt8xx: Fix a missing check bug in bt878_probe
    1f9cff025d65 media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
    1d2838152e19 media: cedrus: Fix .buf_prepare
    cbfb77c2f965 media: hantro: Fix .buf_prepare
    6e08d3ab5ced media: em28xx: Fix possible memory leak of em28xx struct
    75c45a81889a media: bt878: do not schedule tasklet when it is not setup
    a61d119248ed media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off
    9fa8542a63b6 sched/fair: Fix ascii art by relpacing tabs
    d0214b841c1d arm64: perf: Convert snprintf to sysfs_emit
    addcb6bb584a crypto: qce: skcipher: Fix incorrect sg count for dma transfers
    d000c598db1d crypto: qat - remove unused macro in FW loader
    5daa889433c9 crypto: qat - check return code of qat_hal_rd_rel_reg()
    996234180748 media: imx: imx7_mipi_csis: Fix logging of only error event counters
    179d9c18ba83 media: pvrusb2: fix warning in pvr2_i2c_core_done
    893c243e52f2 media: hevc: Fix dependent slice segment flags
    a245f93ad067 media: cobalt: fix race condition in setting HPD
    4626df7f65b4 media: cpia2: fix memory leak in cpia2_usb_probe
    e717d6c291d1 media: sti: fix obj-$(config) targets
    93f80a0bbd5b crypto: nx - add missing MODULE_DEVICE_TABLE
    4e8c9510b787 hwrng: exynos - Fix runtime PM imbalance on error
    3c51d82d0b78 sched/core: Initialize the idle task with preemption disabled
    f8607f5ebe87 regulator: uniphier: Add missing MODULE_DEVICE_TABLE
    66f0f478ecea spi: omap-100k: Fix the length judgment problem
    8692603ff155 spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
    cb42cf32ce2e spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
    b980385a70ea media: exynos-gsc: fix pm_runtime_get_sync() usage count
    a8b1889cd618 media: exynos4-is: fix pm_runtime_get_sync() usage count
    29fd79b6280b media: sti/bdisp: fix pm_runtime_get_sync() usage count
    abdc89771018 media: sunxi: fix pm_runtime_get_sync() usage count
    d627fc298cda media: s5p-jpeg: fix pm_runtime_get_sync() usage count
    3c90c3fbdc96 media: mtk-vcodec: fix PM runtime get logic
    8318f7bc0e65 media: sh_vou: fix pm_runtime_get_sync() usage count
    64e291d697a0 media: am437x: fix pm_runtime_get_sync() usage count
    adf052c77963 media: s5p: fix pm_runtime_get_sync() usage count
    437ca06c7899 media: mdk-mdp: fix pm_runtime_get_sync() usage count
    ff7e4b94db72 media: marvel-ccic: fix some issues when getting pm_runtime
    ccf0a291f7e1 staging: media: rkvdec: fix pm_runtime_get_sync() usage count
    b2c4d9a33cc2 Add a reference to ucounts for each cred
    61a7a634a0c8 spi: Make of_register_spi_device also set the fwnode
    f2b240047644 thermal/cpufreq_cooling: Update offline CPUs per-cpu thermal_pressure
    4eab2e2e9889 fuse: reject internal errno
    bb7ee90ea524 fuse: check connected before queueing on fpq->io
    912e98505a63 fuse: ignore PG_workingset after stealing
    576b44c32669 fuse: Fix infinite loop in sget_fc()
    ae6ab39251f7 fuse: Fix crash if superblock of submount gets killed early
    91c2aa2c64b8 fuse: Fix crash in fuse_dentry_automount() error path
    53124265fca8 evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
    7b84c7d7e2c2 evm: Execute evm_inode_init_security() only when an HMAC key is loaded
    a7e18f57eddf loop: Fix missing discard support when using LOOP_CONFIGURE
    75395690e5e6 powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
    c556b938b3be seq_buf: Make trace_seq_putmem_hex() support data longer than 8
    0531e84bc8ac tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
    2aedacfaf601 tracing/histograms: Fix parsing of "sym-offset" modifier
    998de999ba7d rsi: fix AP mode with WPA failure due to encrypted EAPOL
    71808ec5b982 rsi: Assign beacon rate settings to the correct rate_info descriptor field
    43189683fe5d ssb: sdio: Don't overwrite const buffer if block_write fails
    58940e88ba63 ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
    cc46d6d14fc7 serial_cs: remove wrong GLOBETROTTER.cis entry
    cf727d99ab63 serial_cs: Add Option International GSM-Ready 56K/ISDN modem
    23055da5618f serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
    17451bd0364f serial: mvebu-uart: fix calculation of clock divisor
    8c90ec9965ba iio: accel: bma180: Fix BMA25x bandwidth register values
    9efc775c28b4 iio: ltr501: ltr501_read_ps(): add missing endianness conversion
    c6c3ea1d9d4f iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
    fbadeba72e14 iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
    17c67f484893 iio: light: tcs3472: do not free unallocated IRQ
    6534a5e0c28c iio: frequency: adf4350: disable reg and clk on error in adf4350_probe()
    a6f7bf2652bb rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
    e92bd19246cc clk: agilex/stratix10: fix bypass representation
    3093214a6aa4 clk: agilex/stratix10: remove noc_clk
    308d01f5255b clk: agilex/stratix10/n5x: fix how the bypass_reg is handled
    e582a2f35245 f2fs: Prevent swap file in LFS mode
    36ae903607f6 s390: mm: Fix secure storage access exception handling
    38a2ba82e249 s390/cio: dont call css_wait_for_slow_path() inside a lock
    9aae145dc500 KVM: x86/mmu: Use MMU's role to detect CR4.SMEP value in nested NPT walk
    a9ac58f85f12 KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs
    30c44537cb10 KVM: PPC: Book3S HV: Workaround high stack usage with clang
    39d0dfab6c3e KVM: nVMX: Handle split-lock #AC exceptions that happen in L2
    7510c5cd0dc4 perf/smmuv3: Don't trample existing events with global filter
    9109e15709cd mm/gup: fix try_grab_compound_head() race with split_huge_page()
    9b0d1f4cb862 bus: mhi: Wait for M2 state during system resume
    cbcbfb048804 SUNRPC: Should wake up the privileged task firstly.
    30f56084980e SUNRPC: Fix the batch tasks count wraparound.
    c6d864601ef2 mac80211: remove iwlwifi specific workaround that broke sta NDP tx
    507925fff036 can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
    f79ea4755f6b can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
    22bfa94db2ef can: isotp: isotp_release(): omit unintended hrtimer restart on socket release
    af94ef8f0b08 can: gw: synchronize rcu operations before removing gw job entry
    b52e0cf0bfc1 can: bcm: delay release of struct bcm_op after synchronize_rcu()
    aa07327083b5 ext4: use ext4_grp_locked_error in mb_find_extent
    6903f99f1921 ext4: fix avefreec in find_group_orlov
    98cd580211bf ext4: remove check for zero nr_to_scan in ext4_es_scan()
    68a40ff916a6 ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
    f4e91a4e0d04 ext4: return error code when ext4_fill_flex_info() fails
    b368b0375e77 ext4: fix overflow in ext4_iomap_alloc()
    ea5466f1a777 ext4: fix kernel infoleak via ext4_extent_header
    076d9b06236a ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
    80d05ce58a0b btrfs: clear defrag status of a root if starting transaction fails
    6b00b1717f58 btrfs: compression: don't try to compress if we don't have enough pages
    34172f601a9c btrfs: send: fix invalid path for unlink operations after parent orphanization
    2fa929803530 ARM: dts: at91: sama5d4: fix pinctrl muxing
    ea45145e6cb4 ARM: dts: ux500: Fix LED probing
    b34aa5aaaa22 arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
    123c1b05b007 crypto: ccp - Annotate SEV Firmware file names
    834c47a387ae crypto: nx - Fix memcpy() over-reading in nonce
    b4c35e9e8061 Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
    7b0393e6f6c8 iov_iter_fault_in_readable() should do nothing in xarray case
    b6df9e43d52d copy_page_to_iter(): fix ITER_DISCARD case
    d91638f70e81 selftests/lkdtm: Avoid needing explicit sub-shell
    1738bcf9e652 ntfs: fix validity check for file name attribute
    f794c839dff1 gfs2: Fix error handling in init_statfs
    3ae1c663bdeb gfs2: Fix underflow in gfs2_page_mkwrite
    b242ae99fac6 xhci: solve a double free problem while doing s4
    ff0f59d2d884 usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
    63d6029e6608 usb: dwc3: Fix debugfs creation flow
    022d22a311bb USB: cdc-acm: blacklist Heimann USB Appset device
    f9d9db593dcd usb: renesas-xhci: Fix handling of unknown ROM state
    3b545788505b usb: gadget: eem: fix echo command packet response issue
    c964c4682efb net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
    a2ad0bddd0aa Input: usbtouchscreen - fix control-request directions
    23e8f468849d media: dvb-usb: fix wrong definition
    a6f433fd9e53 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC
    ba65dd6eb826 ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
    13a05c7b434f ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
    37e179c0289f ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
    ea824a31a3d2 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook x360 830 G8
    659b440a8d04 ALSA: hda/realtek: Add another ALC236 variant support
    36bc25ec61b0 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8
    0535de167b38 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8
    2a13d43821b2 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8
    9127b2770365 ALSA: intel8x0: Fix breakage at ac97 clock measurement
    19418ed317ca ALSA: usb-audio: scarlett2: Fix wrong resume call
    5c4d51b438f3 ALSA: firewire-motu: fix stream format for MOTU 8pre FireWire
    313a5e869d04 ALSA: usb-audio: Fix OOB access at proc output
    cfd3c66ca73a ALSA: usb-audio: fix rate on Ozone Z90 USB headset
    ae9957b3ee16 Bluetooth: Remove spurious error message
    f5af19889ff0 Bluetooth: btqca: Don't modify firmware contents in-place
    3cdcbd1b8ce3 Bluetooth: hci_qca: fix potential GPF

(From OE-Core rev: 3c48b0a7e2c52444a30038147e8247b786709edb)

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>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
449d638319 linux-yocto/5.13: update to v5.13.2
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    d6fc894baac7 Linux 5.13.2
    20a015e948b8 powerpc/preempt: Don't touch the idle task's preempt_count during hotplug
    51189a3c6e54 iommu/dma: Fix compile warning in 32-bit builds
    572b2a62a94f cred: add missing return error code when set_cred_ucounts() failed
    c3f65e8e26ee sched: Stop PF_NO_SETAFFINITY from being inherited by various init system threads
    f13f01567321 s390: preempt: Fix preempt_count initialization
    fbbd050e05d1 crypto: qce - fix error return code in qce_skcipher_async_req_handle()
    bd619678f674 scsi: core: Retry I/O for Notify (Enable Spinup) Required error
    d7c62923708b media: exynos4-is: remove a now unused integer
    8d3433ec89cc mmc: vub3000: fix control-request direction
    165d6c32f8d0 mmc: block: Disable CMDQ on the ioctl path
    03105a24cd2b io_uring: add IOPOLL and reserved field checks to IORING_OP_UNLINKAT
    4f5be8b54bd4 io_uring: add IOPOLL and reserved field checks to IORING_OP_RENAMEAT
    378a830c2608 io_uring: fix blocking inline submission
    89d2a15d0526 block: return the correct bvec when checking for gaps
    3f7e6cae2064 erofs: fix error return code in erofs_read_superblock()
    9d2da0b8863a tpm: Replace WARN_ONCE() with dev_err_once() in tpm_tis_status()
    5859c67160c3 fscrypt: fix derivation of SipHash keys on big endian CPUs
    119782bf159e fscrypt: don't ignore minor_hash when hash is 0
    2f2d7dc088c3 mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
    610de611adae scsi: libfc: Correct the condition check and invalid argument passed
    17902d3eb4dd scsi: lpfc: Fix Node recovery when driver is handling simultaneous PLOGIs
    fc9f2f00424d scsi: lpfc: Fix unreleased RPIs when NPIV ports are created
    1d51f50c5af9 scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
    c593bc3cb872 scsi: fc: Correct RHBA attributes length
    63b60a83ce27 scsi: megaraid_sas: Send all non-RW I/Os for TYPE_ENCLOSURE device through firmware
    646efb94462b exfat: handle wrong stream entry size in exfat_readdir()
    43661346eb26 csky: syscache: Fixup duplicate cache flush
    268e8c75ecdf i2c: mpc: Restore reread of I2C status register
    ffa7e0d5920e perf llvm: Return -ENOMEM when asprintf() fails
    5d12814f02d4 selftests/vm/pkeys: refill shadow register after implicit kernel write
    328f60fa16d7 selftests/vm/pkeys: handle negative sys_pkey_alloc() return code
    b8e5d3ad5f5e selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
    0ef6f9783957 lib/math/rational.c: fix divide by zero
    928003bd28c3 kfence: unconditionally use unbound work queue
    11ebc09e50dc mm/zswap.c: fix two bugs in zswap_writeback_entry()
    72b032f10071 mm: migrate: fix missing update page_private to hugetlb_page_subpool
    95d192da198d mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page
    ccb7848e2344 mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
    093d3fc8cb23 hugetlb: remove prep_compound_huge_page cleanup
    9f7229c901c1 mm/huge_memory.c: don't discard hugepage if other processes are mapping it
    f13259175e4f mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_enabled()
    afafd371e7de mm/huge_memory.c: remove dedicated macro HPAGE_CACHE_INDEX_MASK
    ada044539470 vfio/pci: Handle concurrent vma faults
    13a4d6ea398e powerpc/64s/interrupt: preserve regs->softe for NMI interrupts
    9924e27c19ac powerpc/64s: fix hash page fault interrupt handler
    4dcbce306d75 arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
    25b601d9d877 serial: mvebu-uart: correctly calculate minimal possible baudrate
    59146c5835a4 serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
    ce2d17c9801b ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found
    1a09a3788772 powerpc: Fix is_kvm_guest() / kvm_para_available()
    0cbe9d9639d1 powerpc/papr_scm: Make 'perf_stats' invisible if perf-stats unavailable
    3ffbbc876404 powerpc/64s: Fix copy-paste data exposure into newly created tasks
    ba824a836d68 powerpc/papr_scm: Properly handle UUID types and API
    410006801ea4 powerpc: Offline CPU in stop_this_cpu()
    ed87ec89b7f6 serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
    a8f4bf372aae staging: rtl8723bs: Fix an error handling path
    905bb4b7c2c1 selftests/sgx: remove checks for file execute permissions
    16bd2acbad85 selftests/ftrace: fix event-no-pid on 1-core machine
    5b2499ec3fb0 leds: ktd2692: Fix an error handling path
    2f0b82e12dbc leds: as3645a: Fix error return code in as3645a_parse_node()
    3a75092cac53 ASoC: fsl_spdif: Fix unexpected interrupt after suspend
    d759ee26be7c ASoC: Intel: sof_sdw: add SOF_RT715_DAI_ID_FIX for AlderLake
    19a4d95bfadd configfs: fix memleak in configfs_release_bin_file
    2c3bf6723aa5 ASoC: fsl_xcvr: disable all interrupts when suspend happens
    86f6ad630bfa ASoC: atmel-i2s: Fix usage of capture and playback at the same time
    0f2f89c0642a ASoC: atmel-i2s: Set symmetric sample bits
    7ff5db55f657 powerpc/powernv: Fix machine check reporting of async store errors
    c6c8a250117f extcon: max8997: Add missing modalias string
    3076d98e2c7f extcon: sm5502: Drop invalid register write in sm5502_reg_data
    b27d30b9a006 phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
    a3b870c5f130 phy: uniphier-pcie: Fix updating phy parameters
    96e9297738d6 soundwire: stream: Fix test for DP prepare complete
    f7150fc410e7 scsi: mpt3sas: Fix error return value in _scsih_expander_add()
    6e0b909ad746 habanalabs: Fix an error handling path in 'hl_pci_probe()'
    e0eaeea9a9ff mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
    93968d634142 of: Fix truncation of memory sizes on 32-bit platforms
    fe1870f414cb ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
    db91960d40bc iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4637815d7922 iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    1e8c05290286 serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
    63432a8b2af2 usb: phy: tegra: Correct definition of B_SESS_VLD_WAKEUP_EN bit
    13c6cb27fe17 usb: phy: tegra: Wait for VBUS wakeup status deassertion on suspend
    94dd90587784 staging: mt7621-dts: fix pci address for PCI memory range
    ab28a20dda47 coresight: core: Fix use of uninitialized pointer
    5f7ce5c416f4 staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
    7709bce7514d staging: rtl8712: fix error handling in r871xu_drv_init
    cf011614add0 staging: gdm724x: check for overflow in gdm_lte_netif_rx()
    b48eb064f4ef staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
    bf0c039cd5d8 ASoC: fsl_spdif: Fix error handler with pm_runtime_enable
    a122de486271 iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    181d881980c0 iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    3563bb70d6ba iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    129cef3b2a6c iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4a67fd76a418 iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    60882b0995a3 iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    5e8a3efb3e9c iio: dummy: Fix build error when CONFIG_IIO_TRIGGERED_BUFFER is not set
    d4ff9e9ed5af kunit: Fix result propagation for parameterised tests
    61dc159ec20e mtd: spinand: Fix double counting of ECC stats
    505056e4bdc2 thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()
    ab9e76493196 mtd: spi-nor: otp: return -EROFS if region is read-only
    534ba50f4de9 mtd: spi-nor: otp: fix access to security registers in 4 byte mode
    3802b97849b6 eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
    21652cc1d368 eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
    9d5d1903cde3 usb: dwc2: Don't reset the core after setting turnaround time
    3328f627c90b usb: gadget: f_fs: Fix setting of device and driver data cross-references
    e78e2c04941a ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
    8a7cbece6b69 ASoC: rt711-sdca: handle mbq_regmap in rt711_sdca_io_init
    060735a28a1f ASoC: rt711-sdca-sdw: add readable for SDW_SDCA_CTL() registers
    c7c275d9930c ASoC: rt5682-sdw: set regcache_cache_only false before reading RT5682_DEVICE_ID
    186373129258 ASoC: rt5682: Fix a problem with error handling in the io init function of the soundwire
    5544d5522a19 ASoC: rt715-sdca: fix clock stop prepare timeout issue
    15e920874b4d ASoC: rt715-sdw: use first_hw_init flag on resume
    ea62150dd733 ASoC: rt715-sdca-sdw: use first_hw_init flag on resume
    7b87d4763fe2 ASoC: rt711-sdw: use first_hw_init flag on resume
    9c06ea07f82e ASoC: rt711-sdca-sdw: use first_hw_init flag on resume
    7baba8a47772 ASoC: rt700-sdw: use first_hw_init flag on resume
    b4b4f4c0df1f ASoC: rt5682-sdw: use first_hw_init flag on resume
    d2d2558c1920 ASoC: rt1316-sdw: use first_hw_init flag on resume
    b1cdc0cdf894 ASoC: rt1308-sdw: use first_hw_init flag on resume
    c96efdc4e755 ASoC: max98373-sdw: use first_hw_init flag on resume
    fd999972a61b ASoC: max98373-sdw: add missing memory allocation check
    0420caf49693 iommu/dma: Fix IOVA reserve dma ranges
    2efa055728cd selftests: splice: Adjust for handler fallback removal
    c7f4ec0649dc s390: appldata depends on PROC_SYSCTL
    11a86e01ae29 s390: enable HAVE_IOREMAP_PROT
    5cef83686407 iommu/amd: Tidy up DMA ops init
    a935344b6dac iommu/amd: Fix extended features logging
    a9c55cbadef5 visorbus: fix error return code in visorchipset_init()
    3886a5e6bbe3 fsi/sbefifo: Fix reset timeout
    657cd9acd6ef fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
    ebb29df21cec fsi: occ: Don't accept response from un-initialized OCC
    485d8c421dbc fsi: scom: Reset the FSI2PIB engine for any error
    7d884f6f7faa fsi: core: Fix return of error values on failures
    51ab817f8a0b mfd: rn5t618: Fix IRQ trigger by changing it to level mode
    f0a5801a8df2 mfd: Remove software node conditionally and locate at right place
    cffae75db764 mfd: mp2629: Select MFD_CORE to fix build error
    270c97c23e0d scsi: iscsi: Flush block work before unblock
    bee1e10216dc scsi: iscsi: Fix in-kernel conn failure handling
    3f1782fc50f9 scsi: iscsi: Rel ref after iscsi_lookup_endpoint()
    96a6275ea900 scsi: iscsi: Use system_unbound_wq for destroy_work
    6622a20c1c70 scsi: iscsi: Force immediate failure during shutdown
    901d6de154af scsi: iscsi: Stop queueing during ep_disconnect
    c7db90f1ad98 scsi: FlashPoint: Rename si_flags field
    710c7ffff9ae leds: lp50xx: Put fwnode in error case during ->probe()
    93d38eec2923 leds: lm3697: Don't spam logs when probe is deferred
    a20a178d2aaf leds: lm3692x: Put fwnode in any case during ->probe()
    4c8bfceb5c40 leds: lm36274: Put fwnode in error case during ->probe()
    0045de214652 leds: lm3532: select regmap I2C API
    bd9b145ab8ab leds: lgm-sso: Fix clock handling
    fee25ffa1454 leds: class: The -ENOTSUPP should never be seen by user space
    e25b5dcc4c86 tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
    1d1edde89cb4 firmware: stratix10-svc: Fix a resource leak in an error handling path
    51790ca96fd0 misc/pvpanic-mmio: Fix error handling in 'pvpanic_mmio_probe()'
    a9ecb8bc82ab misc/pvpanic-pci: Fix error handling in 'pvpanic_pci_probe()'
    b91a065a5ba4 char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
    f46e3fd7d965 staging: mmal-vchiq: Fix incorrect static vchiq_instance.
    9e6812ac02cb mtd: rawnand: arasan: Ensure proper configuration for the asserted target
    765beb5ef9da mtd: parsers: qcom: Fix leaking of partition name
    d5023eb76f0d mtd: partitions: redboot: seek fis-index-block in the right node
    e6fd14af0e6b perf scripting python: Fix tuple_set_u64()
    693c6dc2bdb3 Input: hil_kbd - fix error return code in hil_dev_connect()
    0a663843c2d5 ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
    524f37995032 usb: typec: tcpm: Fix up PR_SWAP when vsafe0v is signalled
    69660a9aee19 backlight: lm3630a_bl: Put fwnode in error case during ->probe()
    bed4f1f93767 ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
    4f662271fc5b ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
    af74662aaa87 iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    90c16bad0d13 iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    b1d6d4cecdaa iio: chemical: atlas: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    5499e7544736 iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    57df003962c4 iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    61aa73978ae5 iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    b25f1318c124 iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    d40bbe4ccfe6 iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    c8d0c967c042 iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    ca40b4e4d0fb iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    f124951d8b2f iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    870214f4d617 iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    e41a3882768d iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    64dff722b0df iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    c4302d44f1f1 iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    927a7d88f085 iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    cc3e33b0c9a4 iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    3ef6d9ff5b73 iio: accel: mxc4005: Fix overread of data and alignment issue.
    f8bd73333948 iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8d49028df646 iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    72daeb5f020e iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    b9e837d4a7a4 iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    0a918214b71a iio: adis16475: do not return ints in irq handlers
    cac49141208a iio: adis16400: do not return ints in irq handlers
    7ad60ebd7c04 iio: adis_buffer: do not return ints in irq handlers
    52728a7966da mwifiex: re-fix for unaligned accesses
    b25bc3e21b80 phy: ralink: phy-mt7621-pci: properly print pointer address
    c99410c9223d tty: nozomi: Fix a resource leak in an error handling function
    527cc7317abf serial: 8250_omap: fix a timeout loop condition
    d12c159cdd24 serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()
    032c57aadf36 serial: fsl_lpuart: don't modify arbitrary data on lpuart32
    75f27ce5b93b rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
    0b5edb884bf7 ASoC: rt5682: Disable irq on shutdown
    6dfbed1ac573 staging: fbtft: Don't spam logs when probe is deferred
    37a3335c1b45 staging: fbtft: Rectify GPIO handling
    3fc3179becfa staging: rtl8712: Fix some tests against some 'data' subtype frames
    466654d21be1 MIPS: Fix PKMAP with 32-bit MIPS huge page support
    7ab2438efaba RDMA/core: Always release restrack object
    d19a51aaafcf RDMA/mlx5: Don't access NULL-cleared mpi pointer
    420451e090ee net: tipc: fix FB_MTU eat two pages
    281c4b33035b net: sched: fix warning in tcindex_alloc_perfect_hash
    37287acdae77 net: lwtunnel: handle MTU calculation in forwading
    cae2f265c5a9 writeback: fix obtain a reference to a freeing memcg css
    6eeb73fa1492 bpf, x86: Fix extable offset calculation
    514795d6fb84 clk: si5341: Update initialization magic
    2f19f9ef84c2 clk: si5341: Check for input clock presence and PLL lock on startup
    f09f20dc21b2 clk: si5341: Avoid divide errors due to bogus register contents
    91a1de176b94 clk: si5341: Wait for DEVICE_READY on startup
    884a39889228 clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
    39468899710a clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
    bb4367cc3722 clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
    7f8d9cca344f clk: actions: Fix SD clocks factor table on Owl S500 SoC
    059f4c4ca01e clk: actions: Fix UART clock dividers on Owl S500 SoC
    51c2a6cd472a clk: qcom: gcc: Add support for a new frequency for SC7280
    4c41eceb422b Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
    606c3bdfa66a Bluetooth: Fix Set Extended (Scan Response) Data
    077f680b0e36 Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
    3b760a0a24c7 Bluetooth: virtio_bt: add missing null pointer check on alloc_skb call return
    bed9525b9322 clk: zynqmp: fix compile testing without ZYNQMP_FIRMWARE
    5fe0ca3d5d92 Revert "be2net: disable bh with spin_lock in be_process_mcc"
    51a36dde7aa5 gve: Fix swapped vars when fetching max queues
    58faaa992dee RDMA/cma: Fix incorrect Packet Lifetime calculation
    2eddafd7ec46 bpfilter: Specify the log level for the kmsg message
    9c34dfa6f036 net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs()
    f6bb341b08ae e1000e: Check the PCIm state
    f5311a0c02aa ipv6: fix out-of-bound access in ip6_parse_tlv()
    710f87cb04f9 net: atlantic: fix the macsec key length
    d22eadd94ca5 net: phy: mscc: fix macsec key length
    70521208f6ce net: macsec: fix the length used to copy the key for offloading
    1e3b94af52bf RDMA/cma: Protect RMW with qp_mutex
    3e174152dfb9 ibmvnic: free tx_pool if tso_pool alloc fails
    ca854faf0b85 ibmvnic: set ltb->buff to NULL after freeing
    781b69c0d216 ibmvnic: account for bufs already saved in indir_buf
    5142c3925338 ibmvnic: clean pending indirect buffs during reset
    eacd61111d91 Revert "ibmvnic: remove duplicate napi_schedule call in open function"
    e7f3c4348fb1 Revert "ibmvnic: simplify reset_long_term_buff function"
    8b09cfd020cf RDMA/hns: Add window selection field of congestion control
    f067cd951611 RDMA/hns: Add a check to ensure integer mtu is positive
    8853324cd846 i40e: Fix missing rtnl locking when setting up pf switch
    431557e806dc i40e: Fix autoneg disabling for non-10GBaseT links
    7cd87f624d5e i40e: Fix error handling in i40e_vsi_open
    138fa2ab24ae bpf: Do not change gso_size during bpf_skb_change_proto()
    c7e78a1b0af7 can: j1939: j1939_sk_setsockopt(): prevent allocation of j1939 filter for optlen == 0
    59e8f3f131a1 ipv6: exthdrs: do not blindly use init_net
    80dbfebba92f net: bcmgenet: Fix attaching to PYH failed on RPi 4B
    abca3782c5d6 mac80211: remove iwlwifi specific workaround NDPs of null_response
    be7be4caa6d0 drm/msm/dpu: Fix error return code in dpu_mdss_init()
    48a14a2d67e9 drm/msm: Fix error return code in msm_drm_init()
    e75247cd4522 drm/msm/disp/dpu1: avoid perf update in frame done event
    17992ed2fb98 drm/msm/dp: handle irq_hpd with sink_count = 0 correctly
    b8a6022adad6 bpf: Fix null ptr deref with mixed tail calls and subprogs
    7fc2cbe4c840 ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
    812801e0b924 ieee802154: hwsim: Fix memory leak in hwsim_add_one
    4416dc914cca RDMA/hns: Fix uninitialized variable
    5fc0d1725e73 RDMA/hns: Force rewrite inline flag of WQE
    3c4a4c05b01f tc-testing: fix list handling
    d44313d1240c net: ti: am65-cpsw-nuss: Fix crash when changing number of TX queues
    9d47eeb96ddc net: broadcom: bcm4908_enet: reset DMA rings sw indexes properly
    a7d381c90c4b net/ipv4: swap flow ports when validating source
    6380a373f9d1 ip6_tunnel: fix GRE6 segmentation
    a1a10328ddab mptcp: avoid race on msk state changes
    027c5a4c89ec bpf: Fix integer overflow in argument calculation for bpf_map_area_alloc
    f4ecb17d3ad4 vxlan: add missing rcu_read_lock() in neigh_reduce()
    f433230c5433 rtw88: 8822c: fix lc calibration timing
    1f7495df501f bpf: Fix regression on BPF_OBJ_GET with non-O_RDWR flags
    ef8f0bdbb724 iwlwifi: increase PNVM load timeout
    e47311366a79 netfilter: nf_tables: do not allow to delete table with owner by handle
    1433324d08ab netfilter: nf_tables: skip netlink portID validation if zero
    445e7e3cfe74 xfrm: Fix xfrm offload fallback fail case
    8e3823a5d97b pkt_sched: sch_qfq: fix qfq_change_class() error path
    7c8e4bc68e58 net: dsa: mv88e6xxx: Fix adding vlan 0
    c648c4bd3233 net: mana: Fix a memory leak in an error handling path in 'mana_create_txq()'
    7dc2320844fe mptcp: fix 32 bit DSN expansion
    9405815dad41 mptcp: fix bad handling of 32 bit ack wrap-around
    4a4d230b1778 netfilter: nf_tables_offload: check FLOW_DISSECTOR_KEY_BASIC in VLAN transfer logic
    09b1f676e2e0 netfilter: nf_tables: memleak in hw offload abort path
    0fe29dd70194 tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
    6f26c4e638cd selftests: tls: fix chacha+bidir tests
    f4b35106f13c selftests: tls: clean up uninitialized warnings
    99b0c836b3d8 net: sched: add barrier to ensure correct ordering for lockless qdisc
    754da271ff3e vrf: do not push non-ND strict packets with a source LLA through packet taps again
    74a084743db0 skmsg: Teach sk_psock_verdict_apply() to return errors
    a72fd1ef2ddf skmsg: Fix a memory leak in sk_psock_verdict_apply()
    60eef5b7eecb skmsg: Clear skb redirect pointer before dropping it
    b2265f3e7fbe udp: Fix a memory leak in udp_read_sock()
    600a68d582b7 selftests/bpf: Retry for EAGAIN in udp_redir_to_connected()
    48c858a38ad2 net: ethernet: ezchip: fix error handling
    062e01fdb281 net: ethernet: ezchip: fix UAF in nps_enet_remove
    7e6f10fb798f net: ethernet: aeroflex: fix UAF in greth_of_remove
    d07ebb093e08 mt76: mt7921: fix the coredump is being truncated
    29ba2ad0ff18 mt76: mt7921: fix kernel warning when reset on vif is not sta
    611beba9b300 mt76: mt7915: fix rx fcs error count in testmode
    0a446c73492b mt76: mt7921: wake the device before dumping power table
    3acae0c71d2b mt76: mt7915: fix MT_EE_CAL_GROUP_SIZE
    734f5fe1b860 mt76: mt7615: fix potential overflow on large shift
    31635a9389f9 mt76: testmode: remove undefined behaviour in mt76_testmode_alloc_skb
    5b2deebec2b9 mt76: testmode: fix memory leak in mt76_testmode_alloc_skb
    2e25e8e35ab6 mt76: mt7921: do not schedule hw reset if the device is not running
    d26261090df5 mt76: mt7921: avoid unnecessary consecutive WiFi resets
    7c041b2b416a mt76: mt7921: fix OMAC idx usage
    7fd445618a31 mt76: mt7921: fix invalid register access in wake_work
    9d9fb322b13d mt76: mt7921: add back connection monitor support
    fcab20e23e3c mt76: mt7921: consider the invalid value for to_rssi
    a889b3e5efbb mt76: connac: fix WoW with disconnetion and bitmap pattern
    3c72c4f4013b mt76: connac: fw_own rely on all packet memory all being free
    7966772888c3 mt76: mt7921: Don't alter Rx path classifier
    ca72aaa9bdeb mt76: mt7921: fix mt7921_wfsys_reset sequence
    6d4004306f3a mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb()
    fb63ea6702f4 mt76: fix possible NULL pointer dereference in mt76_tx
    57fa5990a28d mt76: mt7915: fix a signedness bug in mt7915_mcu_apply_tx_dpd()
    ba9232736dd4 net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
    a00c9faf7efa samples/bpf: Fix the error return code of xdp_redirect's main()
    9abfeb4e2c5f samples/bpf: Fix Segmentation fault for xdp_redirect command
    a6f6a2fe3f2c RDMA/hns: Clear extended doorbell info before using
    fffdf02df829 RDMA/rtrs-srv: Set minimal max_send_wr and max_recv_wr
    3cb841954361 bpf: Fix libelf endian handling in resolv_btfids
    01faf195e638 xsk: Fix broken Tx ring validation
    85912942f7fb xsk: Fix missing validation for skb and unaligned mode
    95599ef3256c selftests/bpf: Fix ringbuf test fetching map FD
    bb5639045961 selftests/bpf: Whitelist test_progs.h from .gitignore
    f35dd32ac502 RDMA/rxe: Fix qp reference counting for atomic ops
    d8a190f35b3b netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
    da0fa9a91fbd netfilter: nft_osf: check for TCP packet before further processing
    34a76bb820d6 netfilter: nft_exthdr: check for IPv6 packet before further processing
    803ffe5f1fa5 RDMA/mlx5: Don't add slave port to unaffiliated list
    e3fdf2f3cbbf netlabel: Fix memory leak in netlbl_mgmt_add_common
    4074391995a6 wil6210: remove erroneous wiphy locking
    c497a0c9c457 ath11k: send beacon template after vdev_start/restart during csa
    7f72b0b6c15a ath10k: Fix an error code in ath10k_add_interface()
    ab8fee33b6ec ath11k: Fix an error handling path in ath11k_core_fetch_board_data_api_n()
    fdb3f590eb4a cw1200: Revert unnecessary patches that fix unreal use-after-free bugs
    eb6219ebf416 brcmsmac: mac80211_if: Fix a resource leak in an error handling path
    f257ee3efae5 brcmfmac: Delete second brcm folder hierarchy
    837f0c940b49 brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
    35bb54ed3124 brcmfmac: correctly report average RSSI in station info
    da997cc14d9b brcmfmac: fix setting of station info chains bitmask
    aa68a411acd0 ssb: Fix error return code in ssb_bus_scan()
    88d70c35d1bf drm/i915/selftests: Reorder tasklet_disable vs local_bh_disable
    c1df1d2271da net: wwan: Fix WWAN config symbols
    af6eaa8f7031 wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
    4ec8141fe718 clk: imx8mq: remove SYS PLL 1/2 clock gates
    0757175bd62f ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
    e41dc10d83b7 wireless: carl9170: fix LEDS build errors & warnings
    4407f2b03b32 ath10k: add missing error return code in ath10k_pci_probe()
    bce39420d111 ath10k: go to path err_unsupported when chip id is not supported
    f3fe80f74081 tools/bpftool: Fix error return code in do_batch()
    944be014f9c1 net: stmmac: Fix potential integer overflow
    c7cfbf45325a stmmac: prefetch right address
    6be3f2d04fbe drm: qxl: ensure surf.data is ininitialized
    296031d154af clk: vc5: fix output disabling when enabling a FOD
    ef06eab3b9a6 drm/vc4: hdmi: Fix error path of hpd-gpios
    8434d0dadad3 drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends
    616a5ba2f822 RDMA/rxe: Fix failure during driver load
    987e84710dc7 drm/pl111: depend on CONFIG_VEXPRESS_CONFIG
    16723287bd62 IB/cm: Improve the calling of cm_init_av_for_lap and cm_init_av_by_path
    325554115332 Revert "IB/cm: Mark stale CM id's whenever the mad agent was unregistered"
    020155e97970 IB/cm: Split cm_alloc_msg()
    ad6608cdd66d IB/cm: Pair cm_alloc_response_msg() with a cm_free_response_msg()
    66dfc041f8a9 RDMA/core: Sanitize WQ state received from the userspace
    9c13e23c16d6 net/sched: act_vlan: Fix modify to allow 0
    9177b18f8b54 xfrm: remove the fragment check for ipv6 beet mode
    ee3582564a16 clk: tegra30: Use 300MHz for video decoder by default
    96d211bddcf6 ehea: fix error return code in ehea_restart_qps()
    ca86c8cc2643 RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and stats->pcpu_stats
    84d3b0760dfc RDMA/rtrs-clt: Check if the queue_depth has changed during a reconnection
    b69606171c14 RDMA/rtrs-srv: Fix memory leak when having multiple sessions
    1ec059871932 RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
    7fa6e4879492 RDMA/rtrs: Do not reset hb_missed_max after re-connection
    05c10aaaa068 RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats
    695f54b87dc9 RDMA/srp: Fix a recently introduced memory leak
    c49229641646 RDMA/hns: Fix wrong timer context buffer page size
    63919d8eada1 mptcp: make sure flag signal is set when add addr with port
    e1c7a2f1f185 mptcp: generate subflow hmac after mptcp_finish_join()
    4eafee9b9ef6 mptcp: fix pr_debug in mptcp_token_new_connect
    005d5d547fdc drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result
    64751457f5ef drm/rockchip: lvds: Fix an error handling path
    a087222cde4e drm/rockchip: dsi: move all lane config except LCDC mux to bind()
    0070511f03d1 drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
    e9815b831963 drm: rockchip: set alpha_en to 0 if it is not used
    8cb95b48901e drm/vc4: crtc: Lookup the encoder from the register at boot
    81ae7270122f drm/vc4: crtc: Fix vc4_get_crtc_encoder logic
    bba1c86f1156 drm/vc4: crtc: Pass the drm_atomic_state to config_pv
    0e9dce911326 clk: sunxi-ng: v3s: fix incorrect postdivider on pll-audio
    e1fd4e8e99e5 clk: rockchip: fix rk3568 cpll clk gate bits
    8989945c62c7 net: ftgmac100: add missing error return code in ftgmac100_probe()
    9834e8264623 drm/amd/display: take dc_lock in short pulse handler only
    700c74b34241 drm/amd/display: Avoid HPD IRQ in GPU reset state
    490649a08850 drm/amd/display: fix potential gpu reset deadlock
    5dd6cdd732df clk: meson: g12a: fix gp0 and hifi ranges
    e5c790fd50cf net: qrtr: ns: Fix error return code in qrtr_ns_init()
    78c9dc7c59f8 drm/i915: Merge fix for "drm: Switch to %p4cc format modifier"
    26bbe384ea65 libbpf: Fix ELF symbol visibility update logic
    47bba472eba5 drm/vmwgfx: Fix cpu updates of coherent multisample surfaces
    6fd687491711 drm/vmwgfx: Mark a surface gpu-dirty after the SVGA3dCmdDXGenMips command
    b400d6618f0d RDMA/hns: Remove the condition of light load for posting DWQE
    bea7a8218abc pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
    c2331bec030a pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
    35713cfa8c64 net: pch_gbe: Propagate error from devm_gpio_request_one()
    8487f76454dd net: mvpp2: Put fwnode in error case during ->probe()
    4e953e501b9f rtnetlink: avoid RCU read lock when holding RTNL
    2e023412a150 drm/imx: ipuv3-plane: fix PRG modifiers after drm managed resource conversion
    99631d4f4e9a drm/imx: ipuv3-plane: do not advertise YUV formats on planes without CSC
    7c15cfa409d8 video: fbdev: imxfb: Fix an error message
    a5eebe5b3258 drm/bridge: fix LONTIUM_LT8912B dependencies
    918fd0d654c8 drm/bridge: anx7625: Fix power on delay
    61eab97d07ef drm/ast: Fix missing conversions to managed API
    5164492766f4 drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()
    89714541150a drm/bridge: Fix the stop condition of drm_bridge_chain_pre_enable()
    725d15c4427a drm/bridge/sii8620: fix dependency on extcon
    d3209bf8be21 xfrm: xfrm_state_mtu should return at least 1280 for ipv6
    67a7436a51ae mm/page_alloc: fix counting of managed_pages
    b38b1d0b34dd mm: memcg/slab: properly set up gfp flags for objcg pointer array
    a533a21b692f mm/shmem: fix shmem_swapin() race with swapoff
    c3b39134bbd0 swap: fix do_swap_page() race with swapoff
    c24d5da468e4 mm: mmap_lock: use local locks instead of disabling preemption
    f9416bf072fe mm/debug_vm_pgtable: ensure THP availability via has_transparent_hugepage()
    a800caba3854 dax: fix ENOMEM handling in grab_mapping_entry()
    1e515576f826 ocfs2: fix snprintf() checking
    4e38237b3a52 blk-mq: update hctx->dispatch_busy in case of real scheduler
    1ae8fd0cfaec block: fix trace completion for chained bio
    c4b228181982 PM / devfreq: passive: Fix get_target_freq when not using required-opp
    e3ff9b26bbb2 cpufreq: Make cpufreq_online() call driver->offline() on errors
    3baa60e2801e ACPI: bgrt: Fix CFI violation
    ad90f92825de block, bfq: reset waker pointer with shared queues
    833cf2c80aa3 block, bfq: avoid delayed merge of async queues
    30d5c741d111 blk-wbt: make sure throttle is enabled properly
    1c0d0e179994 blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
    9dc613454be9 EDAC/igen6: fix core dependency
    b0f3df13bdc7 ACPI: APEI: fix synchronous external aborts in user-mode
    98c349bb2782 extcon: extcon-max8997: Fix IRQ freeing at error path
    adfbc32044cd nvme-tcp: fix error codes in nvme_tcp_setup_ctrl()
    f1a3f6f8ef13 clocksource/drivers/timer-ti-dm: Save and restore timer TIOCP_CFG
    31d1545b81a7 HID: surface-hid: Fix get-report request
    3e556500bd49 md: revert io stats accounting
    d67ff22c7fc8 mark pstore-blk as broken
    780ce7b2994f ACPI: sysfs: Fix a buffer overrun problem with description_show()
    942511da9f3e ACPI: tables: FPDT: Add missing acpi_put_table() in acpi_init_fpdt()
    620f58c6c0d8 nvme-pci: look for StorageD3Enable on companion ACPI device instead
    52a535c630e5 x86/hyperv: fix logical processor creation
    9ec73d75f8c6 block: avoid double io accounting for flush request
    25adea167870 ACPI: PM / fan: Put fan device IDs into separate header file
    7e95c52cb786 PM / devfreq: Add missing error code in devfreq_add_device()
    73bbd350e9eb EDAC/aspeed: Use proper format string for printing resource
    a976b32a125f media: s5p-mfc: Fix display delay control creation
    f77ecd22b784 media: mtk-vpu: on suspend, read/write regs only if vpu is running
    e92492c7cb15 media: video-mux: Skip dangling endpoints
    27a1251783a5 KVM: selftests: Remove errant asm/barrier.h include to fix arm64 build
    aa138d422904 KVM: selftests: fix triple fault if ept=0 in dirty_log_test
    979965c33f73 psi: Fix race between psi_trigger_create/destroy
    a476aa9eea4b objtool: Don't make .altinstructions writable
    c7c6fb95d7c4 crypto: nx - Fix RCU warning in nx842_OF_upd_status
    10a5921d19c7 perf: Fix task context PMU for Hetero
    48a513f67b27 spi: spi-sun6i: Fix chipselect/clock bug
    0a32c742e877 x86/sev: Use "SEV: " prefix for messages from sev.c
    a2c53d934a91 lockdep/selftests: Fix selftests vs PROVE_RAW_LOCK_NESTING
    5fd218de86a3 lockdep: Fix wait-type for empty stack
    eed2284c449f sched/uclamp: Fix uclamp_tg_restrict()
    00e1a563f1ec sched/rt: Fix Deadline utilization tracking during policy change
    b5ee2425eaf6 sched/rt: Fix RT utilization tracking during policy change
    c6362a74da0c x86/sev: Split up runtime #VC handler for correct state tracking
    99e67ee2a1f8 x86/sev: Make sure IRQs are disabled while GHCB is active
    c7b63ad221fb btrfs: clear log tree recovering status if starting transaction fails
    f65ff29ff3a5 regulator: bd9576: Fix the driver name in id table
    3fefb73f890d regulator: hi6421v600: Fix setting idle mode
    cf6fd4b281a6 regulator: qcom-rpmh: Add terminator at the end of pm7325x_vreg_data[] array
    35cf50efb779 regulator: hi655x: Fix pass wrong pointer to config.driver_data
    33e8f03d5950 KVM: arm64: Don't zero the cycle count register when PMCR_EL0.P is set
    50cd74c7f38a perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number
    e96f6d4bb390 KVM: x86/mmu: Fix pf_fixed count in tdp_mmu_map_handle_target_level()
    5f7fe9c419e7 KVM: x86/mmu: Fix return value in tdp_mmu_map_handle_target_level()
    31678100f32a KVM: nVMX: Don't clobber nested MMU's A/D status on EPTP switch
    ffaaf321c09c KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
    2e5c0d69ec46 KVM: nVMX: Sync all PGDs on nested transition with shadow paging
    80c0f6a4f636 KVM: nVMX: Add a return code to vmx_complete_nested_posted_interrupt
    8077ff1eeccb hwmon: (max31790) Fix fan speed reporting for fan7..12
    8ba1cbcacb8d hwmon: (max31722) Remove non-standard ACPI device IDs
    4d557422aa28 hwmon: (lm70) Revert "hwmon: (lm70) Add support for ACPI"
    1288a814a1b0 hwmon: (pmbus/bpa-rs600) Handle Vin readings >= 256V
    41e7e8d94576 media: i2c: rdacm21: Power up OV10640 before OV490
    10cd7a128225 media: i2c: rdacm21: Fix OV10640 powerup
    bd03f1cf32a1 media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
    b3362260388a media: subdev: remove VIDIOC_DQEVENT_TIME32 handling
    52d7255c1432 media: v4l2-core: ignore native time32 ioctls on 64-bit
    99876d2f3316 arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
    c8255c905aa1 mmc: usdhi6rol0: fix error return code in usdhi6_probe()
    1f8d5a578c87 crypto: sm2 - fix a memory leak in sm2
    dfc62a9fb18a crypto: x86/curve25519 - fix cpu feature checking logic in mod_exit
    334ea984ff36 crypto: omap-sham - Fix PM reference leak in omap sham ops
    46b988b2ce98 crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
    ba68a06cfcbc regulator: fan53880: Fix vsel_mask setting for FAN53880_BUCK
    b0b3a5151649 media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
    7f245ea447dd m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
    262c340bf7e8 drivers/perf: hisi: Fix data source control
    9234c34f62c8 regulator: fan53555: Fix missing slew_reg/mask/shift settings for FAN53526
    d017709732cc media: gspca/gl860: fix zero-length control requests
    0a84a0cd4eb6 media: vicodec: Use _BITUL() macro in UAPI headers
    cf689b19af21 media: tc358743: Fix error return code in tc358743_probe_of()
    b01b4817f2e6 media: au0828: fix a NULL vs IS_ERR() check
    ff7233a3d085 media: exynos4-is: Fix a use after free in isp_video_release
    4085aa9b6182 media: rkvdec: Fix .buf_prepare
    ba2e3533e321 media: venus: hfi_cmds: Fix conceal color property
    ba10157cd0f8 media: ipu3-cio2: Fix reference counting when looping over ACPI devices
    1b76864f4da7 sched: Don't defer CPU pick to migration_cpu_stop()
    e2263985ad57 locking/lockdep: Reduce LOCKDEP dependency list
    ebc9f608afa0 pata_ep93xx: fix deferred probing
    614016e8cd5d regulator: bd71815: add select to fix build
    7ef5567a8af8 media: rc: i2c: Fix an error message
    1640411aa297 crypto: ccp - Fix a resource leak in an error handling path
    e6678d845127 crypto: sa2ul - Use of_device_get_match_data() helper
    dc0dae25ae08 crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe()
    b595f995689e crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
    61b720aa441f x86/elf: Use _BITUL() macro in UAPI headers
    2df42a9a9b48 crypto: hisilicon/hpre - fix unmapping invalid dma address
    b47dc857836c crypto: testmgr - fix initialization of 'secret_size'
    b62d59e57437 evm: fix writing <securityfs>/evm overflow
    152c2b7fd126 pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
    e77e1ad45f22 kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
    c5b50bd025de sched/uclamp: Fix locking around cpu_util_update_eff()
    894ac20220b6 sched/uclamp: Fix wrong implementation of cpu.uclamp.min
    9e7050230b15 media: I2C: change 'RST' to "RSET" to fix multiple build errors
    25a0bda95d96 pata_rb532_cf: fix deferred probing
    f704f09d3dfa sata_highbank: fix deferred probing
    ddac7d88f7e2 crypto: ux500 - Fix error return code in hash_hw_final()
    88004270271a crypto: ixp4xx - update IV after requests
    8d75dedf2098 crypto: ixp4xx - dma_unmap the correct address
    f152f5e20cb2 media: hantro: do a PM resume earlier
    7ed930e68a12 media: i2c: ccs-core: return the right error code at suspend
    130fb80cabdf media: s5p_cec: decrement usage count if disabled
    8dd33849ea9d media: venus: Rework error fail recover logic
    5698d3e1fbb1 spi: Avoid undefined behaviour when counting unused native CSs
    bbf7cde09e9b spi: Allow to have all native CSs in use along with GPIOs
    3d9d4aa8dad3 kbuild: skip per-CPU BTF generation for pahole v1.18-v1.21
    d5719131c5ca mm: define default MAX_PTRS_PER_* in include/pgtable.h
    3921b835fbae writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
    53602599e6f6 ia64: mca_drv: fix incorrect array size calculation
    10855647c0cb kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    cf46e6f4898f block: fix discard request merge
    c9e970ed58c0 mailbox: qcom: Use PLATFORM_DEVID_AUTO to register platform device
    bebfd66f067c cifs: fix missing spinlock around update to ses->status
    b25ec82321ad HID: wacom: Correct base usage for capacitive ExpressKey status bits
    fee404cb4657 smb3: fix possible access to uninitialized pointer to DACL
    2e4c04443e58 ACPI: tables: Add custom DSDT file as makefile prerequisite
    e34583fce2ea tpm_tis_spi: add missing SPI device ID entries
    155d3c5d24ee clocksource: Check per-CPU clock synchronization when marked unstable
    d13f68003342 clocksource: Retry clock read if long delays detected
    c37238fae66d block, bfq: fix delayed stable merge check
    a1e7400147eb ACPI: EC: trust DSDT GPE for certain HP laptop
    fa004a75b5ff cifs: fix SMB1 error path in cifs_get_file_info_unix
    9a0c82374f67 smb3: fix uninitialized value for port in witness protocol move
    027c9f092d15 cifs: retry lookup and readdir when EAGAIN is returned.
    1c25524992af cifs: fix check of dfs interlinks
    5e397c943424 cifs: improve fallocate emulation
    5f28c21d7702 PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
    8104b56965e1 tools/power/x86/intel-speed-select: Fix uncore memory frequency display
    35d976c35502 EDAC/Intel: Do not load EDAC driver when running as a guest
    2fe788c18b66 nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
    1205de7c198f nvme-pci: fix var. type for increasing cq_head
    c74f85583f6d platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
    6632da07ac6c platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15"
    91634181ba81 platform/x86: asus-nb-wmi: Revert "Drop duplicate DMI quirk structures"
    6c22172ca781 block: fix race between adding/removing rq qos and normal IO
    02f04a3c5d74 HID: sony: fix freeze when inserting ghlive ps3/wii dongles
    3cc07545a3ea HID: hid-input: add Surface Go battery quirk
    bf155b2eaab4 ACPI: resources: Add checks for ACPI IRQ override
    69136f2492dd ACPI: bus: Call kobject_put() in acpi_init() error path
    2bf1f848ca0a ACPICA: Fix memory leak caused by _CID repair function
    60c534a4a79e fs: dlm: fix memory leak when fenced
    087f6c68e2ba fs: dlm: fix lowcomms_start error case
    7f9887a1a9e9 drivers: hv: Fix missing error code in vmbus_connect()
    2b2a31cad66c open: don't silently ignore unknown O-flags in openat2()
    02d6273ab9be random32: Fix implicit truncation warning in prandom_seed_state()
    871166f159b3 fs: dlm: fix connection tcp EOF handling
    38ef63844ef4 fs: dlm: cancel work sync othercon
    18e5651e39a5 fs: dlm: reconnect if socket error report occurs
    7ae861bbfa0f fs: dlm: fix srcu read lock usage
    b407bf68af32 blk-mq: clear stale request in tags->rq[] before freeing one request pool
    0c0e6cd55d87 blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
    b3ed6b4e39f2 block_dump: remove block_dump feature in mark_inode_dirty()
    5c2e42a7ff69 ACPI: EC: Make more Asus laptops use ECDT _GPE
    6e288c3f4b6a platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets
    978dd194fd4a platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
    2f09dc35f8d6 Input: goodix - platform/x86: touchscreen_dmi - Move upside down quirks to touchscreen_dmi.c
    69476379eb45 lib: vsprintf: Fix handling of number field widths in vsscanf
    782da090933c hv_utils: Fix passing zero to 'PTR_ERR' warning
    9e86d9c12351 ACPI: processor idle: Fix up C-state latency if not ordered
    93545e3b7fe9 ACPI: scan: Rearrange dep_unmet initialization
    f5512b405739 ACPI: PM: s2idle: Add missing LPS0 functions for AMD
    4b0f6a85a59a EDAC/ti: Add missing MODULE_DEVICE_TABLE
    892ca2b2ff3a HID: do not use down_interruptible() when unbinding devices
    31a5fc473d74 seccomp: Support atomic "addfd + send reply"
    95dafa3beb94 media: Fix Media Controller API config checks
    57013d106790 regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
    6130d2ec297e regulator: mt6358: Fix vdram2 .vsel_mask
    72c4df2e3c06 KVM: s390: get rid of register asm usage
    51653ce74174 lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
    6f0a350c2667 locking/lockdep: Fix the dep path printing for backwards BFS
    da5a7fbfc5ca btrfs: disable build on platforms having page size 256K
    23f3aff83a25 btrfs: don't clear page extent mapped if we're not invalidating the full page
    77848dc0cf94 btrfs: sysfs: fix format string for some discard stats
    5f10bddef823 btrfs: always abort the transaction if we abort a trans handle
    0f9a0de7baa1 btrfs: abort transaction if we fail to update the delayed inode
    24c08d4b6f90 btrfs: fix error handling in __btrfs_update_delayed_inode
    3c9cb03aa19f KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
    f5822ae7d660 KVM: arm64: Restore PMU configuration on first run
    60c54321c822 drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
    2c95ccb350be perf/x86: Reset the dirty counter to prevent the leak for an RDPMC task
    4c305975c29a sched/fair: Take thermal pressure into account while estimating energy
    d5d76329a97c hwmon: (max31790) Fix pwmX_enable attributes
    508cd1209b7d hwmon: (max31790) Report correct current pwm duty cycles
    ead128748cab media: imx-csi: Skip first few frames from a BT.656 source
    271e441c9a0a media: siano: fix device register error path
    bd6288233a8d media: dvbdev: fix error logic at dvb_register_device()
    a64ddb6976e6 media: dvb_net: avoid speculation from net slot
    47a03368229e crypto: shash - avoid comparing pointers to exported functions under CFI
    239a5e142d25 regulator: mt6315: Fix checking return value of devm_regmap_init_spmi_ext
    230a4bf84904 spi: meson-spicc: fix memory leak in meson_spicc_probe
    c77cbc710389 spi: meson-spicc: fix a wrong goto jump for avoiding memory leak.
    99c514bea5fa mmc: sdhci-of-aspeed: Turn down a phase correction warning
    a62b72916a2c mmc: via-sdmmc: add a check against NULL pointer dereference
    c543fd01940d mmc: sdhci-sprd: use sdhci_sprd_writew
    e0a53f67fed6 memstick: rtsx_usb_ms: fix UAF
    8d570a009647 media: dvd_usb: memory leak in cinergyt2_fe_attach
    8d2d4b753431 Makefile: fix GDB warning with CONFIG_RELR
    b8ce443813d5 arm64: entry: don't instrument entry code with KCOV
    6a8665574f6b crypto: hisilicon/sec - fixup 3des minimum key size declaration
    d686a29b3f3e media: st-hva: Fix potential NULL pointer dereferences
    8b367af282d6 media: bt8xx: Fix a missing check bug in bt878_probe
    0227d4ffca0a media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
    94b73f521e52 media: cedrus: Fix .buf_prepare
    5ecae6b93cf5 media: hantro: Fix .buf_prepare
    e7a3ea26832c media: em28xx: Fix possible memory leak of em28xx struct
    6dc17634c116 media: bt878: do not schedule tasklet when it is not setup
    2375ab34f7f3 media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off
    ac302ca5829f ima: Don't remove security.ima if file must not be appraised
    0221e855eb01 sched/fair: Fix ascii art by relpacing tabs
    b2e7f2f9701c arm64: perf: Convert snprintf to sysfs_emit
    cab7a8c8ac9c crypto: ecdh - fix 'ecdh_init'
    9a091b3fe9a3 crypto: ecdh - fix ecdh-nist-p192's entry in testmgr
    3b29a41e8e16 crypto: qce: skcipher: Fix incorrect sg count for dma transfers
    4d9440ec7e31 crypto: qat - remove unused macro in FW loader
    39d92a5c89e3 crypto: qat - check return code of qat_hal_rd_rel_reg()
    12dc9abe3423 media: imx: imx7_mipi_csis: Fix logging of only error event counters
    8a1ef71e3fa3 media: pvrusb2: fix warning in pvr2_i2c_core_done
    27be0f88baed media: hevc: Fix dependent slice segment flags
    b42989b813f2 media: cobalt: fix race condition in setting HPD
    a24a3803d883 media: cpia2: fix memory leak in cpia2_usb_probe
    dc6a87f5450d sched: Make the idle task quack like a per-CPU kthread
    b03f44f12056 media: sti: fix obj-$(config) targets
    536898457d30 crypto: nx - add missing MODULE_DEVICE_TABLE
    56e208fd789a hwrng: exynos - Fix runtime PM imbalance on error
    24c79a7e54cc sched/core: Initialize the idle task with preemption disabled
    08d3c4504a7a regulator: uniphier: Add missing MODULE_DEVICE_TABLE
    2183eb0f23ca spi: omap-100k: Fix the length judgment problem
    4e2c9415918f spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
    b198e32d5f56 spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
    946e1956adc4 media: exynos-gsc: fix pm_runtime_get_sync() usage count
    e320bd62f343 media: exynos4-is: fix pm_runtime_get_sync() usage count
    8de265ab0659 media: sti/bdisp: fix pm_runtime_get_sync() usage count
    c816ee302c4f media: sunxi: fix pm_runtime_get_sync() usage count
    3ac22a1256fb media: s5p-jpeg: fix pm_runtime_get_sync() usage count
    74cdbfc4a632 media: mtk-vcodec: fix PM runtime get logic
    22d11e498877 media: sh_vou: fix pm_runtime_get_sync() usage count
    eb29fa40a3a2 media: am437x: fix pm_runtime_get_sync() usage count
    2982dfc00e6d media: s5p: fix pm_runtime_get_sync() usage count
    55eed167f79d media: mdk-mdp: fix pm_runtime_get_sync() usage count
    e0a7065748d0 media: marvel-ccic: fix some issues when getting pm_runtime
    59378a815637 media: i2c: imx334: fix the pm runtime get logic
    58bc5e46ba44 staging: media: rkvdec: fix pm_runtime_get_sync() usage count
    1199573d2601 Add a reference to ucounts for each cred
    9057b6cca151 spi: Make of_register_spi_device also set the fwnode
    a004cf847764 thermal/cpufreq_cooling: Update offline CPUs per-cpu thermal_pressure
    0c1678f223da fuse: reject internal errno
    2644fd6588e5 fuse: check connected before queueing on fpq->io
    76d97f2f3b02 fuse: ignore PG_workingset after stealing
    108adb1a5668 fuse: Fix infinite loop in sget_fc()
    809b077db6b8 fuse: Fix crash if superblock of submount gets killed early
    7ef44eacefc1 fuse: Fix crash in fuse_dentry_automount() error path
    1c7c1de40632 evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
    22527af823fa evm: Execute evm_inode_init_security() only when an HMAC key is loaded
    335d92decfdc loop: Fix missing discard support when using LOOP_CONFIGURE
    dac1e7eb17cf perf/x86/intel: Fix instructions:ppp support in Sapphire Rapids
    f457b2b8edd8 perf/x86/intel: Add more events requires FRONTEND MSR on Sapphire Rapids
    ef52fc1cc475 perf/x86/intel: Fix fixed counter check warning for some Alder Lake
    4a16324ff687 x86/gpu: add JasperLake to gen11 early quirks
    371764e376d1 powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
    468e5a5c9d08 seq_buf: Make trace_seq_putmem_hex() support data longer than 8
    751d51f3e9b2 tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
    31d28f8a04b3 tracing/histograms: Fix parsing of "sym-offset" modifier
    3b0bfe43fecc selftests/resctrl: Fix incorrect parsing of option "-t"
    b8ffd9d4b949 rsi: fix AP mode with WPA failure due to encrypted EAPOL
    c812eb280471 rsi: Assign beacon rate settings to the correct rate_info descriptor field
    1852c5f9916b ssb: sdio: Don't overwrite const buffer if block_write fails
    b3a3ff8b0e7a ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
    019f2c9f98a4 serial_cs: remove wrong GLOBETROTTER.cis entry
    8c0484fd3f11 serial_cs: Add Option International GSM-Ready 56K/ISDN modem
    a9cd055e36e5 serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
    10f409e7ffb5 serial: mvebu-uart: fix calculation of clock divisor
    de8eea1e7636 iio: accel: bmc150: Don't make the remove function of the second accelerometer unregister itself
    aabcb52a2a1a iio: accel: bmc150: Fix dereferencing the wrong pointer in bmc150_get/set_second_device
    bcb312ee98a3 iio: accel: bmc150: Fix bma222 scale unit
    0deff8dcd0fc iio: accel: bma180: Fix BMA25x bandwidth register values
    f78812513693 iio: ltr501: ltr501_read_ps(): add missing endianness conversion
    77825e12cc2f iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
    acead08f0fad iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
    9495675ef266 iio: light: tcs3472: do not free unallocated IRQ
    9cc4994b50c1 iio: frequency: adf4350: disable reg and clk on error in adf4350_probe()
    7f6494552897 rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
    468fd1960b4f clk: agilex/stratix10: add support for the 2nd bypass
    e6b46c20ccda clk: agilex/stratix10: fix bypass representation
    acfd0d44231e clk: agilex/stratix10: remove noc_clk
    55f03f3bed19 clk: agilex/stratix10/n5x: fix how the bypass_reg is handled
    6c1265d7d32d clk: k210: Fix k210_clk_set_parent()
    a97c0590bde4 f2fs: Prevent swap file in LFS mode
    7b8881bcd7f3 f2fs: Advertise encrypted casefolding in sysfs
    1254698f9d63 s390: mm: Fix secure storage access exception handling
    81bb61abaceb s390/cio: dont call css_wait_for_slow_path() inside a lock
    6bb7392f6365 KVM: x86: Force all MMUs to reinitialize if guest CPUID is modified
    40928ae22323 KVM: x86: Properly reset MMU context at vCPU RESET/INIT
    88edf696be93 KVM: x86/mmu: Use MMU's role to detect CR4.SMEP value in nested NPT walk
    66b1a19cfbac KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs
    60ef300a34de KVM: x86/mmu: Remove broken WARN that fires on 32-bit KVM w/ nested EPT
    c3439d333f2d KVM: PPC: Book3S HV: Workaround high stack usage with clang
    79739fc3cfdd KVM: nVMX: Handle split-lock #AC exceptions that happen in L2
    283d80b859f8 perf/smmuv3: Don't trample existing events with global filter
    562521b6fb37 mm/gup: fix try_grab_compound_head() race with split_huge_page()
    38a5c79ea17b bus: mhi: pci-generic: Add missing 'pci_disable_pcie_error_reporting()' calls
    b98470e38ae2 bus: mhi: Wait for M2 state during system resume
    0b509e3ec35d bus: mhi: core: Fix power down latency
    0530021455af SUNRPC: Should wake up the privileged task firstly.
    e66509e7c90a SUNRPC: Fix the batch tasks count wraparound.
    18836fcf7a29 mac80211: fix NULL ptr dereference during mesh peer connection for non HE devices
    4cc6ec81f987 mac80211: remove iwlwifi specific workaround that broke sta NDP tx
    9e59c8d4172c can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
    54dc7c15743e can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
    ebf91625b3e4 can: isotp: isotp_release(): omit unintended hrtimer restart on socket release
    2e934deaa8fd can: gw: synchronize rcu operations before removing gw job entry
    014f8baa9d24 can: bcm: delay release of struct bcm_op after synchronize_rcu()
    42da0c84419c ext4: use ext4_grp_locked_error in mb_find_extent
    e59789c9cdb8 ext4: fix avefreec in find_group_orlov
    0b2f4710e9dc ext4: remove check for zero nr_to_scan in ext4_es_scan()
    74983f8c0d03 ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
    9785e209bc20 ext4: return error code when ext4_fill_flex_info() fails
    1e60f8ff27be ext4: fix overflow in ext4_iomap_alloc()
    befdd44d4632 ext4: fix kernel infoleak via ext4_extent_header
    573d64e85e0d ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
    806f5845757e btrfs: clear defrag status of a root if starting transaction fails
    1720dde8dfec btrfs: fix unbalanced unlock in qgroup_account_snapshot()
    14265d0b84eb btrfs: compression: don't try to compress if we don't have enough pages
    661907edc07c btrfs: send: fix invalid path for unlink operations after parent orphanization
    c90d10b45928 btrfs: zoned: bail out if we can't read a reliable write pointer
    2f57967716f4 btrfs: zoned: print message when zone sanity check type fails
    acae585838aa ARM: dts: at91: sama5d4: fix pinctrl muxing
    e2d7f388bbf7 ARM: dts: ux500: Fix LED probing
    d6c8a2650306 arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
    2497ef4cc77b crypto: ccp - Annotate SEV Firmware file names
    ef70c1c3cee5 crypto: nx - Fix memcpy() over-reading in nonce
    81acf1015233 Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
    4f73f383f4f9 Input: elants_i2c - fix NULL dereference at probing
    fcc4582ff286 iov_iter_fault_in_readable() should do nothing in xarray case
    3854f9c612ae teach copy_page_to_iter() to handle compound pages
    64c430ea07a4 copy_page_to_iter(): fix ITER_DISCARD case
    baf1972e7901 selftests/lkdtm: Avoid needing explicit sub-shell
    9e4ac5eba035 ntfs: fix validity check for file name attribute
    d089a9af0cfa gfs2: Fix error handling in init_statfs
    396a707096ce gfs2: Fix underflow in gfs2_page_mkwrite
    73b4b15fa758 mm/page_alloc: fix memory map initialization for descending nodes
    6f648906e86e xhci: solve a double free problem while doing s4
    2802e5d7072e usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
    ec357da5b47f usb: typec: tcpm: Relax disconnect threshold during power negotiation
    d864070b33a6 usb: typec: tcpci: Fix up sink disconnect thresholds for PD
    f077ba7a104d usb: dwc3: Fix debugfs creation flow
    4df012c3c866 USB: cdc-acm: blacklist Heimann USB Appset device
    ed76fed81754 usb: renesas-xhci: Fix handling of unknown ROM state
    a55093941e38 usb: gadget: eem: fix echo command packet response issue
    15e94ea49bea net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
    7763d4aaebaf Input: usbtouchscreen - fix control-request directions
    82d7e9597e6d media: dvb-usb: fix wrong definition
    efad996fc1c3 ALSA: hda/realtek: fix mute led of the HP Pavilion 15-eh1xxx series
    1ccc1686b3cc ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC
    e4ca3c1dc370 ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
    29e622eb3d63 ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
    85aa18d63ace ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
    5f33519ffa29 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook x360 830 G8
    496df16507ad ALSA: hda/realtek: Add another ALC236 variant support
    6e4b638ba2b5 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8
    be688c0763bf ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8
    2b7c96d5d7c2 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8
    61d14781e51e ALSA: intel8x0: Fix breakage at ac97 clock measurement
    d36a88504d87 ALSA: usb-audio: scarlett2: Fix wrong resume call
    493cce3d1f60 ALSA: firewire-motu: fix stream format for MOTU 8pre FireWire
    61f57e686753 ALSA: usb-audio: Fix OOB access at proc output
    f446bfac9d78 ALSA: usb-audio: fix rate on Ozone Z90 USB headset
    4448de6006fb ALSA: bebob: fix rx packet format for Yamaha GO44/GO46, Terratec Phase 24/x24
    146017a71748 Bluetooth: Remove spurious error message
    ab4e95250d9c Bluetooth: btqca: Don't modify firmware contents in-place
    13dbf9944e36 Bluetooth: hci_qca: fix potential GPF
    aaa1f5834d71 Linux 5.13.1
    7f6cbd0b3e1e mm/page_alloc: correct return value of populated elements if bulk array is populated
    5863699d2391 Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack"

(From OE-Core rev: b17168cf84722ac46dd93cc715516034c983cd58)

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>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
0f8b387d80 linux-yocto/5.4: update to v5.4.131
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    e8d9b740a550 Linux 5.4.131
    d2f8a8a07ee3 xen/events: reset active flag for lateeoi events later
    a05499b29a6e KVM: SVM: Call SEV Guest Decommission if ASID binding fails
    58356f448b61 s390/stack: fix possible register corruption with stack switch helper
    abbd42939db6 KVM: SVM: Periodically schedule when unregistering regions on destroy
    8b24c7edc2f2 Linux 5.4.130
    5e8519c4083b RDMA/mlx5: Block FDB rules when not in switchdev mode
    c5fb49e12f2c gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
    cf5eb8209723 drm/nouveau: fix dma_address check for CPU/GPU sync
    3edfd34f1338 scsi: sr: Return appropriate error code when disk is ejected
    a6c85a8433e0 x86/efi: remove unused variables

(From OE-Core rev: edfd97ac5a11f46b9f3b905373abe3554f4b85db)

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>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
c3bf6e71c6 linux-yocto/5.10: update to v5.10.49
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    904ad453baa0 Linux 5.10.49
    064b57a8da99 xen/events: reset active flag for lateeoi events later
    a245f6842d21 Hexagon: change jumps to must-extend in futex_atomic_*
    a7f51048c5a8 Hexagon: add target builtins to kernel
    243f325ecc90 Hexagon: fix build errors
    8148665cb7fe media: uvcvideo: Support devices that report an OT as an entity source
    d5737410d2dd KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path
    a09a52277207 Linux 5.10.48
    4dc968042864 Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack"
    4ab869e0289d RDMA/mlx5: Block FDB rules when not in switchdev mode
    348143a38012 gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
    45ca6df5df11 drm/nouveau: fix dma_address check for CPU/GPU sync
    d191c3d6ad33 gpio: mxc: Fix disabled interrupt wake-up support
    f77f97238496 scsi: sr: Return appropriate error code when disk is ejected

(From OE-Core rev: 5b203992df8d9866f8cf90a22f39e483376f3912)

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>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
c422202315 linux-yocto: add vfat KERNEL_FEATURE when MACHINE_FEATURES include vfat
If a machine has vfat in its MACHINE_FEATURES, we can ensure that the
kernel has support by enabling the associated KERNEL_FEATURE.

This partially addresses Yocto bug 14470.

(From OE-Core rev: bc61fdbb5f6e409ee03e8939bcefa133debdc028)

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>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
1f4c30eea2 linux-yocto-rt/5.13: integrate -rt1
-rt1 has been released for 5.13, we integrate those commits to our
preempt-rt/* branches.

(From OE-Core rev: 43fec2e807691e8181f8acc9ff148efabd0cfe82)

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>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
b2b26a22b4 linux-yocto/5.13: add devupstream support
We are always getting questions about building -stable, or mainline
master. Rather than introducing a separate set of recipes, we can
facilitate this sort of usecase by using the existing devupstream
bbclass support.

To build an unpatched or otherwise modifed -stable of 5.13, simply
set the linux-yocto preferred provider to:

  linux-yocto-upstream

and the PREFERRED_VERSION_linux-yocto-upstream to one with support.

And your wish will be granted, as the build will use v5.13/base
which matches the main linux-yocto version, simply with no extra
changes applied.

(From OE-Core rev: 3ba37063ac08c71cdaba07e9b85ee3246c6f1350)

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>
2021-07-18 23:09:51 +01:00
Joshua Watt
84fbf8632d ref-manual: Document BUILDHISTORY_PATH_PREFIX_STRIP
(From yocto-docs rev: c834fab46794233864e6bcb587ab75f2bfa1631c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:59:31 +01:00
Quentin Schulz
5a6fb291ad docs: replace remaining `FOO by :term:FOO`
A few occurences appeared between the time the original patch was sent
and it was applied, this fixes it.

Also, the original patch didn't take into account lowercase terms, this
is now fixed, see module_autoload for example.

Finally, as is often the case with regexp, there was a typo in it that
didn't make it match as much as it should have.

The script that is used to do the replacement of ``FOO`` by :term:`FOO`
is the following Python code:

import re
from pathlib import Path
from runpy import run_module
import contextlib
import io
import sys

re_term = re.compile(r'variables.html#term-([a-zA-Z_0-9]*)')
terms = []
new_terms = set()

with contextlib.redirect_stdout(io.StringIO()) as f:
    run_module('sphinx.ext.intersphinx', run_name='__main__')

objects = f.getvalue()

match = re_term.search(objects)
while match:
    if match.group(1):
        terms.append(match.group(1))
    match = re_term.search(objects, match.end())

for rst in Path('.').rglob('*.rst'):
    with open(rst, 'r') as f:
        content = "".join(f.readlines())
    for term in terms:
        content = re.sub(r'``({})``(?!.*\s+[~=-]{{{:d},}})'.format(term, len(term)), r':term:`\1`', content)

    with open(rst, 'w') as f:
        f.write(content)

This script takes one argument as input: an objects.inv. Bitbake's can
be gotten from https://docs.yoctoproject.org/bitbake/objects.inv. The
objetcs.inv from the current git repo can be gotten from
documentation/_build/html/objetcs.inv after running `make html`.

Note that this excludes from replacement terms that appear in section
titles as it requires refs to be changed too. This can be automated too
if need be but right now it looks a bit confusing to have an anchor link
(for sections) also have a term/reference link in it. I am not sure this
is desired today.

This is the result of two runs of the aforementioned script, once with
Bitbake objects.inv and once with this repo's.

Fixes: ba49d9babfcb "docs: replace ``FOO`` by :term:`FOO` where possible"

(From yocto-docs rev: 1e1b0c4dd241b6657035172b1f7b5f341afa8b25)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:59:31 +01:00
Tony Tascioglu
be3e14dd43 valgrind: skip flaky ptest fb_test_amd64
Recently, the none/tests/amd64/fb_test_amd64 test had been flaky and
causing failures on the auto-builder. Until we can get to the root cause
of the issue, we are going to skip the test to reduce the noise from the
ptests.

(From OE-Core rev: a365cd7a358db96791033e6dc6e45d2e816d3e4c)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Khem Raj
b4f9b5b3fa util-linux: Fix signature of close_range()
close_range expects 3 parameters, thus far it was not implemented in
glibc so it was hidden but with glibc 2.34+ it will start to show up

(From OE-Core rev: 0d6f638230a96808e22438d9925aec6383d136a7)

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>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
eedab4b6c4 tcl: fix upstream version check
(From OE-Core rev: d3d9821b1d9c52748fa7a0577a376b3aaca7e566)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
019bded64b xwayland: upgrade 21.1.1 -> 21.1.2
(From OE-Core rev: 0c5a104c1e553800f4621b2f97cc8028ce5632b0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
a6c28fb87e webkitgtk: upgrade 2.32.1 -> 2.32.2
(From OE-Core rev: 6a1bbc8c9758a201a5bf1901890e789d869c618d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
0869f6b3b2 stress-ng: upgrade 0.12.11 -> 0.12.12
(From OE-Core rev: 92b1fed7df8305f0b335e09c83d7364d5c6dadbe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
964de6168a ruby: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: e75e8258688abb680bfd80393bcb10ef2c46f468)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
eb21ae8f5f mtools: upgrade 4.0.31 -> 4.0.32
(From OE-Core rev: 674533cdb1990a3c0e4568f594ab168110f94bd4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
50bcea800d mpg123: upgrade 1.28.0 -> 1.28.2
(From OE-Core rev: d96c911ea05e1150f4335d471131337e8bbe1891)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
a51c307509 libgit2: upgrade 1.1.0 -> 1.1.1
(From OE-Core rev: cb5734550778a37c0140f63d337fc72168836bb9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
f2630551a2 iproute2: upgrade 5.12.0 -> 5.13.0
(From OE-Core rev: 76e7cd680c96fba794b785cfe0c3403c32b71028)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
fd8aaa16c2 harfbuzz: upgrade 2.8.1 -> 2.8.2
License-Update: copyright years

(From OE-Core rev: 36277510af80912e7e5e3c087941020c2fb21beb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
872418b3a1 gtk+3: upgrade 3.24.29 -> 3.24.30
cloudprint support removed upstream:
c77ea5101e

(From OE-Core rev: abf3ec0314cc3ba45507f216197bf0fd7ce240b3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
51decd8a6b ethtool: upgrade 5.12 -> 5.13
(From OE-Core rev: ec9455b35684ffee6db861e2aa81cd77f9dfdc0d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
bd459927c1 createrepo-c: upgrade 0.17.3 -> 0.17.4
(From OE-Core rev: ed220fb35e828f9aa13af8db1ae1b2adf5f18e72)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
14fb2efa7b bluez5: upgrade 5.59 -> 5.60
(From OE-Core rev: 5d113ccdd4ad45b628fa6f8f3142d250e82eb4a3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
8508a47580 libmodulemd: update 2.12.1 -> 2.13.0
Delete patch, as the issue is fixed upstream.

Disable python bindings as they're not used anywhere,
and require functional gobject introspection.

(From OE-Core rev: abe4b9be9fc5e6a37be18b6e9d14b863f6fac3c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
9371ad4858 xserver-xorg: update 1.20.11 -> 1.20.12
(From OE-Core rev: 76cc5dee16dc5731e7f1ed041d53a5c3d2e76725)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
af42b772f4 llvm: make upgradable via devtool
Assembling PV from bits is too clever for devtool; but it can be
done in the opposite direction.

(From OE-Core rev: f1c6881ee1799426d85e6bd23347a875767c4994)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
59cb4c7c3c devtool: correctly handle non-standard source tree locations in upgrades
When S is set to a sub-directory of upstream source, the license
checks and the bbappend writing (specifically, setting EXTERNALSRC)
need to operate on that sub-directory.

'devtool modify' already has similar logic, and it was copied from there
and adjusted.

(From OE-Core rev: fd77e356d4507405fde352c8bba7d3842518bbdd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Khem Raj
a1ed2c1d87 systemd: Fix libseccomp testcase involving __NR_ppoll
Some architectures may not have this syscall

(From OE-Core rev: 7eac0c1f59442532e39e0ec2ce031d9473925328)

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>
2021-07-16 21:23:43 +01:00
Khem Raj
cee5bfa1cf libseccomp: Update to main branch
Get RV32 imlementation

(From OE-Core rev: 752eb3839a46c70f2a847854386e9929d0e6d680)

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>
2021-07-16 21:23:43 +01:00
Richard Purdie
a4b94a7ff2 python3: Add a fix for a make install race
Add a fix for reproducibility issues where pyc files for python-config.py
may not always be generated.

(From OE-Core rev: d1c3a87c48b598b6e5624d0affe8bd89320631bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
wangmy
262d2c6b6c python3-setuptools: upgrade 57.0.0 -> 57.1.0
reproducibility.patch
deleted since it's been merged upstream.

v57.1.0
-------

Changes
^^^^^^^
* #2692: Globs are now sorted in 'license_files' restoring reproducibility by eliminating variance from disk order.
* #2714: Update to distutils at pypa/distutils@e2627b7.
* #2715: Removed reliance on deprecated ssl.match_hostname by removing the ssl support. Now any index operations rely on the native SSL implementation.

Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* #2604: Revamped the backward/cross tool compatibility section to remove
  some confusion.
  Add some examples and the version since when ``entry_points`` are
  supported in declarative configuration.
  Tried to make the reading flow a bit leaner, gather some informations
  that were a bit dispersed.

(From OE-Core rev: 9720cce06206895e2e85b171d58a289172bb9092)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Damian Wrobel
9818555934 gobject-introspection: Fix the license (add MIT)
As per upstream the license should also include MIT[1]. This is also
what Fedora Linux uses[2].

This should also address the problem with auto-generated scannerparser.h
file which has the following header:

/* Bison interface for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
   Inc.

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

Taking advantage of the Bison expcetion, more precisely the following fragment:

 "distribute that work under terms of your choice"

it should also be possible to reuse the MIT license tag for redistribution of that
work instead of adding the default GPLv3+ tag (which would otherwise be required
without using the special exception).

[1] https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/master/COPYING#L8
[2] 6db290968f

(From OE-Core rev: 3685b51982ac4f611d3e235c8818474563548bd9)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Mike Crowe
72e4483f12 licence_image: Add lic-pkgs IMAGE_FEATURE
Installing license packages is similar to installing -dev or -dbg
packages, so let's invent a "lic-pkgs" IMAGE_FEATURE that does so and
document it in core-image.bbclass.

This image feature only works if LICENSE_CREATE_PACKAGE is set, so
refuse to generate an image if the lic-pkgs feature is enabled without
LICENSE_CREATE_PACKAGE.

(From OE-Core rev: eee8179f5b920d3f8907db23cbc061ed6770a02a)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
b59f420dea tcl: fix race in interp.test
There's a timeout race in interp which is exposed when running under load.

(From OE-Core rev: bcd792270676beeac73f3900346184dec24d00a1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
3a4da0d8f7 tcl: clock.test needs a timezone to be set
(From OE-Core rev: 2ee179c78d8904da5c1a28855e3bc4a01a4c3db6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
e15e97bdcf tcl: detect tests that error as well as fail
The grep was only looking for tests which explicitly fail, and wasn't
catching tests that error.

(From OE-Core rev: 25f198e03e2cc3e969d704b7a56e207933fc0ffc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
34d9ae6d3e tcl: remove redundant file creation
The creation of compat/fixstrtod.c was done back in 2005[1] with no
explanation and has persisted since.  I can't seem to break the build
without this, so it is presumably long obsolete.

[1] https://git.openembedded.org/openembedded/commit/?id=68d6601e8f93243347b58324ce3d4f02eb3a84a9

(From OE-Core rev: ebd76c5d2afdf2da2d2b35946069122545b69ed3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
49474b8edd tcl: use AUTOTOOLS_SCRIPT_PATH
Inside tcl the configure.ac is inside a unix/ directory.  Instead of
setting S to BPNPV/unix and having to use ../ to reach files outside of
unix, simply set S as usual and use AUTOTOOLS_SCRIPT_PATH to run the
correct configure script.

(From OE-Core rev: 40516f7db7c29d956038fc74dc7d8c3a7b62325a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
4b016a2d47 tcl: use tcl-core instead of patching out packages
Instead of patching out the build of optional packages, we can just use
the tcl-core tarball which is identical except it doesn't include the
packages.

(From OE-Core rev: fed52484e60cbaaa19c30959bdbf70c9bdd4d39b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
21833194c9 tcl: mark a patch as upstreamable
No reason this shouldn't be fixed upstream.

(From OE-Core rev: 9fff7f5fdd4189fb977ea4e299d8bd5c42e5ba02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
67fc565899 tcl: EXTRA_OECONF already passes --libdir, don't do it again
(From OE-Core rev: 1547358bad580dbb3ad4aec9311eccc1eab87f2e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
d611f59732 tcl: suffix all Tcl man pages instead of using alternatives
Both Perl and Tcl want to install Thread.3.  Alternatives is a terrible
idea for manpages that don't correspond to binaries, instead just tell
Tcl to suffix the manpages so this is Thread.3tcl.

(From OE-Core rev: 78e9e7c48e673cab8580f00efb08f5d8783b5927)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Adam Romanek
5dce2f3da2 bitbake: fetch2/s3: allow to use credentials from environment variables
Previously access to AWS S3 was expected to be preconfigured and
credentials to be stored in ~/.aws/credentials. With this change
one can use Bitbake s3 fetcher without AWS credentials stored
permanently as above, just with them exported as the following
environment variables:
 - AWS_ACCESS_KEY_ID,
 - AWS_SECRET_ACCESS_KEY.
 - AWS_DEFAULT_REGION.

(Bitbake rev: 01825699044c42e87e485e6c64cc1dd9b6f87f48)

Signed-off-by: Adam Romanek <romanek.adam@gmail.com>
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:01:25 +01:00
Richard Purdie
9b4c0035d4 oeqa/qemurunner: Handle files no longer existing gracefully
Files in /proc/xxx/map_files/ may no longer exist, just ignore this rather than
raising an exception.

(From OE-Core rev: fb1027896a263cd91e2378a4e97dbdf0807b306b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Richard Purdie
7f9f9a0c37 sstate: Drop pseudo exclusion
Now that pseudo-native always includes statx support and we have sanity
checks on pseudo-native to ensure it always contains a minimum feature set,
we no longer need to mark pseudo-native as distro specific. This fixes
eSDK build problems.

[YOCTO #14428]

(From OE-Core rev: 3279e43fcb469edb63c7c4eb60fdc565d5751f9d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Richard Purdie
fcc5db6991 pseudo: Update to latest version including statx fix
This updates to the latest pseudo version which includes:

 Revert "client: Fix some compiler warnings"
 ports/linux: Always build statx support
 makewrappers: Handle parameters marked as nonnull
 client: Fix some compiler warnings
 wrappers: Avoid -Wcast-function-type warning

In particular, this pseudo version always has statx enabled which means
we can then remove the need to make pseudo-native host distro specific
which fixes an eSDK issue.

(From OE-Core rev: 58cc70940ff998be49a9b89e1ad0538242cb7998)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Richard Purdie
54e8f89ef0 pseudo: Add uninative configuration sanity check
When building pseudo-native to work with uninative, we need to ensure the
configuration will work on all supported target systems. This means
"new clone" semantics, xattr and statvfs support in particular. It is
extremely unlikely we'd run on a system without any of these but add
a check just to be sure when uninative is enabled.

(From OE-Core rev: ea5b208ee25752bea6037cd0f3b28da7d2c9905e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Patrick Williams
aa26842ec3 docs: remove image-mklibs references
The image-mklibs bbclass was removed from OE-Core with
commit 908df863b419d1cad7317153101fc827e7e3a354 and
corresponding changes to local.conf.sample were made
in meta-yocto with c8c8f284eb2abe7e1352850a885454487cc01986.

Remove all references to image-mklibs from the documentation
as it is no longer supported.

(From yocto-docs rev: f45b378eb2cb08c173620cffb17cbcc8b402da0d)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 23:39:18 +01:00
Denys Dmytriyenko
6b25d75ca8 bitbake: providers: replace newly added logger.warn() with logger.warning()
Commits https://git.openembedded.org/bitbake/commit/?id=78cd63285713fde59506eb2e71a7b7ee59a594ff
and https://git.openembedded.org/bitbake/commit/?id=5cbf6d95fc1009e78e7d0745a49e0bf418b37abb
added few calls to logger.warn(), which is deprecated and instead
should use logger.warning():

https://lists.openembedded.org/g/bitbake-devel/topic/82742194#12377

(Bitbake rev: a28ba2d31cd3aa557d4977e9376c5d01cd863e9a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 23:11:33 +01:00
Richard Purdie
0c39b42cb1 report-error: Drop pointless inherit
The base class is always inherited, drop the unneeded inherit.

(From OE-Core rev: 837d62c066589e5a12a0bf894ae7b24e8b048665)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:43:41 +01:00
Adam Romanek
6cd8032e35 bitbake: fetch/git: run gc in foreground to avoid race with tar
It looks like git gc can interrupts the package creation when
BB_GENERATE_MIRRORS_TARBALL is in use.

Log excerpts:

tar -czf TOPDIR/../downloads/git2_bitbucket.name-hidden.git.tar.gz . failed with exit code 1, output:
tar: ./objects/pack/pack-89a1d76f6c08f53172ef1d02ff851d90564362c4.pack: file changed as we read it
tar: ./objects/pack/pack-b4a48ada355d333630fdf6b4f67205b7c264dc2c.idx: File removed before we read it

Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.

(Bitbake rev: a8d8cb847063862d1a7998963dd8b767ff73d877)

Signed-off-by: Adam Romanek <romanek.adam@gmail.com>
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:43:41 +01:00
Tim Orling
7c1d50772d at-spi2-core: upgrade 2.40.2 -> 2.40.3
What's new in at-spi2-core 2.40.3:

* Use abstract sockets if libdbus is older than 1.12.0 (#37).

References:
https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/37

(From OE-Core rev: 8e8cc9fa09b3ee1faed19d18ecf61dd06ae8c620)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Sakib Sajal
7c5fd8006f oe-time-dd-test.sh: add options and refactor
Options:
-c | --count <amount>           dd (transfer) <amount> KiB of data within specified timeout to detect latency.
                                Must enable -t option.
-t | --timeout <time>           timeout in seconds for the <count> amount of data to be transferred.
-l | --log-only                 run the commands without performing the data transfer.
-h | --help                     show help

(From OE-Core rev: 302bc6c99226a4d050e4e454afc461a25e127632)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Sakib Sajal
8ce9e8b268 buildstats.bbclass: log host data on failure to task specific file
host data, for both interval and failure, was previously
logged into the same file which was difficult to read
as the files file were usually large.

host data is now logged into separate files, for each
type of logging (failure and interval) and also for each
failed task making it easier to read/parse.

(From OE-Core rev: 1a0fb3c0794f4e66086e567a297b4d9379c6b8f3)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Marek Vasut
4044633351 update-rc.d: update SRCREV to pull in fix for non-bash shell support
This pulls in non-bash shell fix for enable/disable command, upstream
commit 8636cf4 ("update-rc.d: Fix enable/disable command"). This way
update-rc.d works with e.g. dash shell again.

(From OE-Core rev: f697332a3a753898183d7c5d2965dd75db9b0a24)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Changqing Li <changqing.li@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Ross Burton
1d452b2c09 parted: improve ptest execution
Delete the right log files in run-ptest so the tests can be executed
more than once.

Install config.h so the tests which examine the build configuration will
do the right thing, specifically this causes the tests using libblkid to
execute instead of skip.

Add missing RDEPENDS: mkswap and tune2fs binaries, loop and vfat kernel
modules.

(From OE-Core rev: 43bd50cbf902ce92ea613d142fae2524011b8f55)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Khem Raj
e81bef685f util-linux: Disable chfn-chsh on non-target builds
They are also provided by shadow-native e.g. when building native
recipes and packages where they depend on both shadow-native and
util-linux-native, this can conflict

Enable it only when pam is enabled in distro

Fixes
ERROR: systemd-1_248.3-r0 do_prepare_recipe_sysroot: The file /usr/bin/chsh is installed by both util-linux-native and shadow-native, aborting

(From OE-Core rev: 336625fe433100fb57ea0dda4d9ff5fcb835dc95)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Khem Raj
8c2ac7f984 gnome-desktop-testing: Fix non-literal format string warning
This fixes build with clang

(From OE-Core rev: 2b931f8539f73b35d879e3b5993b813394d80d74)

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>
2021-07-10 22:42:22 +01:00
Khem Raj
fb1758abef glib-2.0: Fix signature of close_range
glibc 2.34 provides this function which exposes a latest issue w.r.t.
function parameters

(From OE-Core rev: 534287a00b7e4d74f0dbab0524738a77801682ee)

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>
2021-07-10 22:42:22 +01:00
Marek Vasut
d35902dda4 pulseaudio: Drop pulseaudio-conf
The pulseaudio.inc currently contains these two assignments:
  FILES_${PN}-conf = "${sysconfdir}"
  FILES_${PN}-server = "... ${sysconfdir} ..."
This results in pulseaudio-server shipping the configuration
in /etc/pulse/ , and based on CONFFILES_${PN}-server and co.,
this is how it was intended to work.

However, that also means FILES_${PN}-conf is not useful. In fact,
FILES_${PN}-conf is likely meant for MACHINE specific configuration,
which would better be packaged in separate recipe like e.g. systemd
does in systemd-conf_%.bb . Better yet, such pulseaudio-conf_%.bb
could ship MACHINE specific configuration overrides, which according
to pulse-daemon.conf(5) are picked from /etc/pulse/daemon.conf.d ,
while pulseaudio-server would ship the default configuration files.

Remove FILES_${PN}-conf .

(From OE-Core rev: a83aac8b7717aac48dbb8f6803a015c0098e6d31)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tanu Kaskinen <tanuk@iki.fi>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
Changqing Li
fc4ddb28fd boost-build-native: workaround one rarely hang problem on fedora34
Reproduce scenes:
* On fedora34
* autofs.service is started
* test is nis user, which mounted at /nis by autofs
* under /nis/test, there are symlinks point to another nis mount point /nis/yan

Result:
task boost-build-native:do_install hang forever

NOTE: recipe ovmf-edk2-stable202102-r0: task do_package_write_rpm: Succeeded
NOTE: Running noexec task 8124 of 8152 (/layers/oe-core/meta/recipes-core/ovmf/ovmf_git.bb:do_build)
Bitbake still alive (5000s)
Bitbake still alive (10000s)
Bitbake still alive (15000s)
Bitbake still alive (20000s)
Bitbake still alive (25000s)
Bitbake still alive (30000s)
Bitbake still alive (35000s)
Bitbake still alive (40000s)
Bitbake still alive (45000s)
Bitbake still alive (50000s)

$ps aux | grep b2
test 2773444 0.0 0.0 13532 2748 ? D Jul01 0:00 ./b2 install --prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr staging-prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/image/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr

$ sudo cat /proc/2773444/stack
[<0>] autofs_wait+0x257/0x720
[<0>] autofs_mount_wait+0x49/0xf0
[<0>] autofs_d_manage+0x76/0x1a0
[<0>] __traverse_mounts+0xd9/0x220
[<0>] step_into+0x3ad/0x6d0
[<0>] walk_component+0x62/0x190
[<0>] link_path_walk.part.0.constprop.0+0x20d/0x350
[<0>] path_lookupat+0x3a/0x1b0
[<0>] filename_lookup+0x9b/0x180
[<0>] vfs_statx+0x64/0x100
[<0>] __do_sys_newfstatat+0x1e/0x40
[<0>] do_syscall_64+0x33/0x40
[<0>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

$ dmesg
[1559743.424610] autofs4:pid:2773444:autofs_mount_wait: waiting for mount name=yan
[1559743.424621] autofs4:pid:2773444:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560001.400440] autofs4:pid:2774530:autofs_mount_wait: waiting for mount name=yan
[1560001.400452] autofs4:pid:2774530:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560022.493282] autofs4:pid:2774537:autofs_mount_wait: waiting for mount name=yan
[1560022.493292] autofs4:pid:2774537:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560122.076589] autofs4:pid:3979116:autofs_mount_wait: mount wait done status=-4
[1560162.222374] autofs4:pid:2774530:autofs_mount_wait: mount wait done status=-4
[1560167.116188] autofs4:pid:2774537:autofs_mount_wait: mount wait done status=-4
[1560188.140532] autofs4:pid:2774671:autofs_mount_wait: waiting for mount name=yan
[1560188.140540] autofs4:pid:2774671:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560189.651905] autofs4:pid:2774671:autofs_mount_wait: mount wait done status=-4

Analyzation:
b2 will walk the HOME dir, when access the symlink point to /nis/yan,
autofs hang at autofs_wait.  the process stay at D stat forever. This
maybe caused by abnormal status of autofs.service. The problem cannot
reproduce after restart autofs.service. There should be an autofs bug.
and there is an autofs hang problem bug on fedora34 on it's bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1953390

Workaround:
Since b2 don't actually write something to HOME dir, change HOME dir to
/var/run, a dir not mounted by autofs.

(From OE-Core rev: 7ff692d2e9787bb5b36929a208597595473db0c7)

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>
2021-07-09 23:44:53 +01:00
zhengruoqin
1d51d764ff python3-pathlib2: upgrade 2.3.5 -> 2.3.6
License-Update: file format changed from "ASCII text" to
"ASCII text, with CRLF line terminators"

Version 2.3.6
^^^^^^^^^^^^^

- Fix minor unicode bugs in with_name and with_suffix. Many thanks to
  ppentchev for reporting and for providing a fix.

- Fix a few minor bugs.

- Allow unicode file paths on systems that support it
  (note: unicode file paths will not work on Windows
  due a broken filesystem encoder on Windows on Python 2).

- Remove travis and add github actions for regression testing.

- Fix mypy warnings.

(From OE-Core rev: 8d04a6c01bf367eb1cb88fd34768a024c369216a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
wangmy
a8c9c74e7c u-boot: upgrade 2021.04 -> 2021.07
(Changes of v2021.07)

Processed 1730 csets from 187 developers
29 employers found
A total of 402449 lines added, 82710 removed (delta 319739)

(From OE-Core rev: df987d673c933c1040a86a863d00387df7c550cc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
Richard Purdie
6491203eba license: Drop adding RRECOMMENDS for license packages
This changes behaviour when LICENSE_CREATE_PACKAGE is in use. Packages
no longer have RRECOMMENDS adding to them.

It was highlighted that this doesn't apply to PACKAGES_DYNAMIC, nor can
it easily be made to do so. There is also a much easier way to handle this
which is:

IMAGE_INSTALL_COMPLEMENTARY += "*-lic"

which works on a per image basis and doesn't change the underlying
package dependencies. I propose we switch to this instead.

(From OE-Core rev: 5348ffce46d6706b7bb10e41a59e0f6cf16c62b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
Ross Burton
5e6b411198 oeqa/selftest/recipetool: update socat version to fix failing download
If the recipetool tests are run with an empty DL_DIR the fetch of
socat 1.7.3.0 fails as that URL doesn't exist anymore.

Update the version to 1.7.4.1 to fix the test.

(From OE-Core rev: 42ebda0c85f14f9f8a508f59115b141d645d4c77)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
942da997e8 python3-importlib-metadata: upgrade 4.6.0 -> 4.6.1
v4.6.1
======

* #327: Deprecation warnings now honor call stack variance
  on PyPy.

(From OE-Core rev: 5a09610d7b7a631f4cac41ab4325f3ed77c68a50)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
3db268aab0 gnome-desktop-testing: upgrade 2018.1 -> 2021.1
(From OE-Core rev: 4956b802f528713c2e59139b27b5baffde2a344d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
bc863f9396 vulkan-tools: upgrade 1.2.176 -> 1.2.182
build: Update to header 1.2.182
- Update known-good
- Add support for printing `int64_t` in `scripts/vulkaninfo_generator.py`
- Disable codegen for VK_HUAWEI_subpass_shading
  KhronosGroup/Vulkan-Docs#1564
- Generate source

(From OE-Core rev: 2c6888550112341346e160a61bf0392ce95b1f2e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
8dfb92a328 vulkan-loader: upgrade 1.2.176 -> 1.2.182
build: Update to header 1.2.182
- Update known-good
- Disable codegen for VK_HUAWEI_subpass_shading
  KhronosGroup/Vulkan-Docs#1564
- Generate source

(From OE-Core rev: 446e2698f5f9c8a652f94b8cc4942ef76edc8d71)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
c68319121c vulkan-headers: upgrade 1.2.176 -> 1.2.182
Add reference to multiple Hpp headers added to this repository

(From OE-Core rev: 1255290a8091e7a1127787e58d129d53d54b4862)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Alexander Kanavin
08b30a33bd xwayland: exclude development snapshots from upstream version checks
(From OE-Core rev: d31fa2a23997f656cd7459d682df8ab82f549267)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Alexander Kanavin
a0b78a6d4d xserver-xorg: exclude development snapshots from upstream version checks
Standalone X is still winding down; there's no commitment or plan for a proper release.
https://lists.freedesktop.org/archives/xorg/2021-July/060726.html

(From OE-Core rev: e510fbd61648bd6083e4ff009b3983014cfc0aba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Ross Burton
486a35a674 glib-2.0: fix g-file-into modification time test
The GFileInfo modification time test assumed that the difference between
a modification timestamp in seconds and in microseconds must be greater
than 0.

Mathmatically, there's a one-in-a-million chance that it will be 0.  It
turns out that one-in-a-million chances happen approximately once every
fortnight on the autobuilder.

[ YOCTO 14373 ]

(From OE-Core rev: 7d2bd897fdbcf5215bf2287cb96eb6b58803f08c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Richard Purdie
287745a09d glibc-testsuite: Fix build failures when directly running recipe
If you try and run the glibc-testsuite's build task, you see failures
as do_populate_sysroot can't work. We don't have a do_install, get
rid of do_populate_sysroot as well.

The recipe is not included in world builds by default which is why
we don't see the issue more widely.

(From OE-Core rev: f7de32dfcc2e6b1872fbd5ea61dcba944d5553a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Richard Purdie
a16d7d2ec6 runqemu: Remove potential lock races around tap device handling
The qemu tap device handling is potentially race ridden. We pass the
fd to the main qemu subprocess which is good as it means the lock is held
as long as the qemu process exists. This means we shouldn't unlock it
ourselves though, only close the file. We also can't delete the file
as we have no idea if qemu is still using it. We could try and obtain
an exclusive new lock, then the file would be safe to unlink but it
doesn't seem worth it.

Also fix the same issue in the port lock code.

(From OE-Core rev: 2a87bddabf816d09ec801e33972879e6983627eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Andreas Müller
bdc5f4e892 pango: upgrade 1.48.5 -> 1.48.7
Overview of changes in 1.48.7
=============================
- Fix a thread-safety issue in fontmap initialization
- Small documentation improvements

Overview of changes in 1.48.6
=============================
- Avoid attribute index overflow
- Add a new pango-segmentation utility
- Documentation cleanups and fixes
- Update script property data for gravity
- Bring back careful glyph position rounding
- Add a few missing bidi types
- Add more tests

(From OE-Core rev: 2abb5fd026bb6f1df504a025702c32eefb13b8bb)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Andreas Müller
ffb71c8f69 mesa: upgrade 21.1.3 -> 21.1.4
Bug fixes
    * [anv] GravityMark (benchmark) crashes on ANV
    * [opengl] We happy few not being rendered correctly
    * Factorio: GPU hang when opening machine inventory
    * RuneScape on Mesa 21.1.1 (VEGA10) has bad performance and leaks memory
    * Supraland: flickering black bars on ground
    * radv: GPU hang in Cyberpunk 2077 on Big Navi
    * [amdgpu][renoir][rx5500m]: [drm:0xffffffff8198ad5e] *ERROR* ring gfx timeout, signaled seq=10952, emitted seq=10954
    * [spirv-fuzz] SPIR-V parsing FAILED: Invalid back or cross-edge in the CFG
    * panfrost Mount and Blade: Warband (glitches)
    * anv: dEQP-VK.robustness.robustness2*no_fmt_qual.null_descriptor.samples* fail

Changes
    * util/fossilize_db: Pull seek into lock.
    * util/fossilize_db: Split out reading the index.
    * util/fossilize_db: Do not lock the fossilize db permanently.
    * spirv: Fix handling of OpBranchConditional with same THEN and ELSE
    * nir/opt_if: Don’t split ALU for single block infinite loops
    * llvmpipe: Add handle export for resource_get_param
    * i965: fix regression in pipe control on g45
    * pick_status.json: Update to 977355c6e5efd781dde85d834172dd23cd4852f1
    * pick_status.json: Update to 40b67a292297606f0a7576e3ef4087028d5edd17
    * zink: do not unmap dt-buffers twice
    * zink: drop repeated usage-bit
    * zink: do not check buffer-format for usage-bits
    * zink: remove unused moltenvk functions
    * libgl-gdi: add missing include
    * aux/trace: fix bool argument
    * ci/windows: work around meson encoding issues
    * intel/fs: Teach IR about EOT instruction writing the accumulator implicitly on TGL+.
    * intel/fs: Fix synchronization of accumulator-clearing W/A move on TGL+.
    * pan/mdg: Add a bundle ID to instructions
    * pan/mdg: Reorder some code in mir_spill_register
    * pan/mdg: Fill from TLS before spilling non-SSA nodes
    * pan/mdg: Fix reading a spilt register in the bundle it’s written
    * pan/mdg: Add 16 bytes of padding to the end of shaders
    * intel/nir: Fix txs for null surfaces
    * spirv: Create acceleration structure and shader record variables
    * nv50/ir: fix surface lowering when values get shared accross operations
    * anv: Fix dynamic primitive topology for tess on Gfx7.x too
    * anv: allocate bigger batches as we grow command buffers
    * mesa: unreference zombie buffers when creating buffers to lower memory usage
    * compiler/glsl: Use mutex lock while freeing up mem_ctx
    * anv: fix dynamic primitive topology for tess
    * zink: handle custom border color without matching wrap mode case
    * radeonsi: skip instance_count==0 draws on <= GFX9
    * radeonsi: disable ngg culling on llvm < 12
    * radv: reject binding buffer/image when the device memory is too small
    * radv: always decompress both aspects of a depth/stencil image
    * amd/addrlib: remove Meson debug message()
    * radeon/vcn/enc: Add missing line to HEVC SPS header code
    * util: add work around for the game We Happy Few
    * ac/nir: Update TCS output barriers with nir_var_mem_shared.
    * radv/llvm: Emit s_barrier at the beginning of NGG non-GS shaders.
    * aco/gfx10: NGG zero output workaround for conservative rasterization.
    * aco/gfx10: Emit barrier at the start of NGG VS and TES.

(From OE-Core rev: b6fbe138f4d359fb5ed5fb0968f6be8f04f8eca6)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Andreas Müller
e1eb2da668 libdrm: upgrade 2.4.106 -> 2.4.107
(From OE-Core rev: 0f913cd6bf8cab67e55cd17c5998bc2459abea30)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
493d1abff7 util-linux: rewrite the ptest integration
Instead of duplicating logic, we can use the run.sh that the test suite
installs.

Unless told otherwise, the util-linux test suite assumes that it is
running in a build tree and looks for binaries to run, but we're on
target so pass --use-system-commands (drops ~180 skips to tens).

Add --show-diff so that debugging can be done from the logs alone.

Remove redundant path manipulation that is now done upstream.

If PAM is disabled, delete the chfn test: it will run the chfn from
shadow which has different output, and the test will fail.

[ YOCTO #14244 ]

(From OE-Core rev: 720660b936b5523ec48a7c04712d10c88198e12c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
c1fea579f0 util-linux: backport test suite fixes
Backport a number of fixes so the test suite passes.

(From OE-Core rev: 398b9dab8675829f3428a4f00bffcf84525e0a46)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
ebaf733a70 util-linux: add missing ptest dependencies
The kernel modules loop and sd-mod are needed for the block device tests.

GNU find is used in some tests.

(From OE-Core rev: 9350c391f11bf7587fe46a54c93dc6e4bf3b51db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
31d2e2ef9f util-linux: build chfn and chsh
As we now split util-linux per-binary there's no disadvantage to not
building chfn and chsh.

This also means that the tests pass instead of failing when the test
uses the binaries from shadow.

(From OE-Core rev: 804c6b5bd3d398d5ea2a45d6bcc23c76e328ea3f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
1ffaa2533e shadow: generate alternative links for chfn and chsh
These can be provided by util-linux, so add alternative links for them.

(From OE-Core rev: 953a91bd258dcb825df3837635ce7561331c049e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Mingli Yu
eefa206741 perl: correct libpth and glibpth
Previouly there is a logic as below used to set libpth in config.sh.
libpth='@LIBDIR@ @BASELIBDIR@'

But after the below commits introduced, the above logic is dropped.
52f2828314 perl: add a version that builds the recipe using perl-cross, and update to 5.28.1
68552c3532 perl: remove the previous version of the recipe

So correct the value of libpth and glibpth to add the dropped logic
back to avoid confusing.

Before the patch(on 64bits system):
 # perl -V:libpth
 libpth='/usr/lib /lib';

After the patch(on 64bits system):
 # perl -V:libpth
 libpth='/usr/lib64 /lib64';

(From OE-Core rev: a494de43c3ccdcf7af988765ae5c3a95bc20c567)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Tim Orling
6c3048f4ac python3-zipp: upgrade 3.4.1 -> 3.5.0
v3.5.0
Issue 74 and bpo-44095: Added .suffix, .suffixes, and .stem properties.

References:
https://github.com/jaraco/zipp/issues/74
https://bugs.python.org/issue44095
https://github.com/python/cpython/pull/26129

(From OE-Core rev: 4978f40eb91ec6d76c61d5e0d1e4a98d0d5bb2f7)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Tim Orling
ae24dd88b9 python3-hypothesis: upgrade 6.14.0 -> 6.14.1
6.14.1 - 2021-07-02

This patch updates some internal type annotations. There is no user-visible change.

(From OE-Core rev: 49f5b968989b3c82613922ee0326f2cfdf86b3c3)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Tim Orling
819e7cba3c python3-packaging: upgrade 20.9 -> 21.0
21.0 - 2021-07-03

packaging is now only compatible with Python 3.6 and above.
Add support for zip files in parse_sdist_filename (:issue:`429`)

References:
https://github.com/pypa/packaging/issues/429

(From OE-Core rev: c2e51c605afc78574f2f561750c498b96c42bc63)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Alexander Kanavin
a47bb4ff00 texinfo: update 6.7 -> 6.8
Drop texinfo-4.12-zlib.patch as it completely lacks a description,
was added together with the original recipe without an explanation in
the commit message, and is difficult to rebase.

(From OE-Core rev: b8634f645b38d4cf3709e7d365e528317d75e676)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Zoltán Böszörményi
0c2abb3d24 tzdata: Allow controlling zoneinfo binary format
tzcode 2020b changed the default format from "-b fat" to "-b slim".
Allow external control for the binary format.

(From OE-Core rev: c9e8b716eb71d4526517825eacefb91ab2c1781c)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Richard Purdie
e10425cc7b oeqa/selftest/multiprocesslauch: Fix test race
Having two possible failures in multiprocesslauch creates a race where one failure
may occur and stop processes being lanuched meaning the second failure may not
be seen. Rather than having periodic races appearing on the autobuilder, only
have one failure, making the test much more deterministic.

[YOCTO #13054]

(From OE-Core rev: 31e9dcda40aae3ce0801580c838928956e1455e3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Richard Purdie
5c928099ed dwarfsrcfiles: Avoid races over debug-link files
We use dwarfsrcfiles in package.bbclass to list the source files used by a binary.
This is done before they're stripped and linked to debug symbols in separate files.

It is possible a binary may already have a link to separate debug symbols, e.g.
some of the test binaries in lttng-tools ptest. In those cases, the linked binary
may be changed by package.bbclass code whilst dwarfsrcfiles is reading it. That
would result in a rare SIGBUS race causing the binary to fail.

To avoid this, break the debug file search path so no other binaries are found.

Also fix a segfault if no binary is specified while here.

[YOCTO #14400]

(From OE-Core rev: efef732859e265533acf16f2f4da3b29d50e0df4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Alexey Brodkin
bdf408ca92 dhcpcd: add ARC support
This retrofits ARC support from upstream [1].
Should be a part of the next release of "dhcpcd".

82386110e6

(From OE-Core rev: 5f4f9529b89b7e3357f6b979bb7d97c4c937d44c)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
bkylerussell@gmail.com
768d621067 gstreamer: add libgst packages to PACKAGES_DYNAMIC
This allows the dynamic libgst* plugin packages and libgstrtspserver-1.0
to be used correctly in RDEPENDS.

All gstreamer1.0-plugins-* recipes and gstreamer1.0-rtsp-server include
gstreamer1.0-plugins-packaging.inc, which creates multiple libgst*
packages through split_gstreamer10_packages(), but only one of the
do_split_packages() regexes was included in PACKAGES_DYNAMIC, and only
for the plugins packages (through gstreamer1.0-plugins-common.inc).
Now the PACKAGES_DYNAMIC definition exists with the do_split_packages()
regexes.

(From OE-Core rev: d5650e00f7b26b8949ca3baad7df4b8a4ea918a7)

Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Alexander Kanavin
e872d4ea6e iputils: correct upstream version check
(From OE-Core rev: fdb36b54a53405785c492e9f98e2ffcbcedec296)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Alexander Kanavin
b77230c010 python3-iniparse: update 0.4 -> 0.5
Drop the python3 compatibility patch (upstream is back from the dead and
fixed it).

(From OE-Core rev: a721edc1faccfdb7fc939fe7284a641485135f2f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Alexander Kanavin
5dc897ffa6 rt-tests: update 1.10 -> 2.1
(From OE-Core rev: 147cf2d17cde50500aaf74627a27b614780374c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Alexander Kanavin
b3cb094755 man-pages: upgrade 5.11 -> 5.12
License-Update: installation instructions

(From OE-Core rev: e6f456bf661fdc9586edbbc8be71aabbaf2e3531)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
bf9216bac4 linux-yocto: introduce 5.13 recipes
5.13 will be the next release/reference kernel (matched with a
libc-headers version bump), this commit creates the recipes, but
does not make it the default kernel (yet).

This has been built and booted on all supported qemu platforms,
as well as with musl and glibc based userspace stacks. Full
core-image-kernel-dev, sato and minimal images have been
tested and show no obvous issues (either locally or on the
autobuilder).

(From OE-Core rev: 8f4eaa7bb9f14b90ce13f17807938ada4d88e6bc)

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>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
1453135bd7 kernel-devsrc: powerpc64 add scripts prepare support
Similar to 32bit powerpc, we need more vdso bits in devsrc to
support on target scripts prepare for powerpc64.

(From OE-Core rev: 412186e001c66f943e10d787e9b826f1ca987402)

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>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
c903260701 kernel-devsrc: fix scripts prepare for powerpc
5.13 introduces some new tweaks required to get on target scripts
and prepare working for powerpc:

  - 'nm' is detected as 'nm --synthetic', so we adjust our replacement
  - more vdso is required on target, so we copy those files (like arm64
    does)
  - grep is required during processing, so we add it to the redpends

(From OE-Core rev: c43baf3a0e41b41a64f450fd03810306c8ddd314)

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>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
ef8f5d17cc kernel-devsrc: fix scripts/prepare for ARM64
There are two new tools in 5.13+ required for on target
recreation of the build environment.

We conditionally add them to the devsrc recipe to support
both 5.13 and older kernels.

(From OE-Core rev: cb1b7e76f20dc7f11a667fa00958ab56e680c632)

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>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
ecd989378b linux-libc-headers: update to 5.13
Bumping the libc-headers to match the latest OE core reference
kernel.

We refresh one of the musl patches to udpate to the 5.12+ context of
the header, but otherwise everything is unchanged.

(From OE-Core rev: 3a171279d8ebe6efc714842c762521354aecebec)

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>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
66d657c138 linux-yocto/5.10: scsi-debug needs scsi-disk
It was pointed out that the default scsi-debug feature didn't behave
the same as other distros, since it doesn't have disk supporrt enabled.
We already have a disk.cfg for scsi so we include it into the debug
fragment to get the support we want.

Integrating the following commit(s) to linux-yocto/.:

    66a4b5fc619 scsi: debug needs disk support

(From OE-Core rev: 8c3ca417a7e9e3c670f1cbff2352c8761b60caff)

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>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
3c013be1ab linux-yocto/5.4: update to v5.4.129
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    82ffbc138a1f Linux 5.4.129
    9011aaab90b8 certs: Move load_system_certificate_list to a common function
    e20b90e4f81b certs: Add EFI_CERT_X509_GUID support for dbx entries
    06ab9df09eb3 x86/efi: move common keyring handler functions to new file
    ac7d3f554472 certs: Add wrapper function to check blacklisted binary hash
    61168eafe024 mm, futex: fix shared futex pgoff on shmem huge page
    a33b70d62552 mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
    e045e9e79d2a mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
    037a1d67d236 mm: page_vma_mapped_walk(): get vma_address_end() earlier
    fa89d536948a mm: page_vma_mapped_walk(): use goto instead of while (1)
    a499febd9935 mm: page_vma_mapped_walk(): add a level of indentation
    b1783bf8c8e4 mm: page_vma_mapped_walk(): crossing page table boundary
    80b2270a14b8 mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
    ef161ccaca70 mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
    4961160272b7 mm: page_vma_mapped_walk(): settle PageHuge on entry
    52e2b20fb5e4 mm: page_vma_mapped_walk(): use page for pvmw->page
    82ee7326af7a mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
    bd4389215227 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
    b767134ec30a mm/thp: fix page_address_in_vma() on file THP tails
    41432a8a6776 mm/thp: fix vma_address() if virtual address below file offset
    4b0a34e222e5 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
    bd092a0f1942 mm/thp: make is_huge_zero_pmd() safe and quicker
    4c37d7f269f8 mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
    7ce4b73d349b mm, thp: use head page in __migration_entry_wait()
    68ce37ebe0f2 mm/rmap: use page_not_mapped in try_to_unmap()
    432b61863ac7 mm/rmap: remove unneeded semicolon in page_not_mapped()
    cfe575954ddd mm: add VM_WARN_ON_ONCE_PAGE() macro
    42f11f0fe977 kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    06ab015d1849 kthread_worker: split code for canceling the delayed work timer
    d77c9c8537db i2c: robotfuzz-osif: fix control-request directions
    bb85717e3797 KVM: do not allow mapping valid but non-reference-counted pages
    d6f751ecccfb nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
    702acfcbfa68 pinctrl: stm32: fix the reported number of GPIO lines per bank
    76c10e10ba7b net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
    aa00b9780482 net: ll_temac: Add memory-barriers for TX BD access
    d807b93f9bca PCI: Add AMD RS690 quirk to enable 64-bit DMA
    5830f2081d98 recordmcount: Correct st_shndx handling
    70866199220e net: qed: Fix memcpy() overflow of qed_dcbx_params()
    b7168ec176fd KVM: selftests: Fix kvm_check_cap() assertion
    58687d143515 r8169: Avoid memcpy() over-reading of ETH_SS_STATS
    cb4a2e4e224a sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
    97e0102e1824 r8152: Avoid memcpy() over-reading of ETH_SS_STATS
    f12a5b48bcc8 net/packet: annotate accesses to po->ifindex
    cdcedd3c8683 net/packet: annotate accesses to po->bind
    343406f9c198 net: caif: fix memory leak in ldisc_open
    8707ce86e927 net: phy: dp83867: perform soft reset and retain established link
    9f2d04dfb3c4 inet: annotate date races around sk->sk_txhash
    d40ff07a7b7d ping: Check return value of function 'ping_queue_rcv_skb'
    9df4f031536b net: ethtool: clear heap allocations for ethtool function
    62aed2df294a mac80211: drop multicast fragments
    eb2b1216bc8f net: ipv4: Remove unneed BUG() function
    e0c950d2fddb dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma
    f7b1926c7c5d dmaengine: mediatek: do not issue a new desc if one is still current
    3d995587c3ea dmaengine: mediatek: free the proper desc in desc_free handler
    c09af3877b53 dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()
    f2c027a7750f cfg80211: call cfg80211_leave_ocb when switching away from OCB
    78bf3c613148 mac80211_hwsim: drop pending frames on stop
    ae9de9444b54 mac80211: remove warning in ieee80211_get_sband()
    0e486713779a dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
    456367b24190 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
    1442186236ad spi: spi-nxp-fspi: move the register operation after the clock enable
    7bc73260c4b1 MIPS: generic: Update node names to avoid unit addresses
    0855fe6d8835 arm64: link with -z norelro for LLD or aarch64-elf
    3173390b8dbc kbuild: add CONFIG_LD_IS_LLD
    3450f5eb8c9e mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk
    48a5449c0be1 ARM: 9081/1: fix gcc-10 thumb2-kernel regression
    4a8e89e0fd0b drm/radeon: wait for moving fence after pinning
    4577708b2a22 drm/nouveau: wait for moving fence after pinning v2
    c77c617e26e2 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."
    6bd0da6c9b12 Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue."
    e2dc07ca4e01 module: limit enabling module.sig_enforce

(From OE-Core rev: d621feee60e71bea68c853626e74669b9d953346)

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>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
404f40d693 linux-yocto/5.10: update to v5.10.47
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    4357ae26d4cd Linux 5.10.47
    1573d595e239 integrity: Load mokx variables into the blacklist keyring
    c6ae6f89fc4f certs: Add ability to preload revocation certs
    72d6f5d982f0 certs: Move load_system_certificate_list to a common function
    45109066f686 certs: Add EFI_CERT_X509_GUID support for dbx entries
    0ba128fa68a4 Revert "drm: add a locked version of drm_is_current_master"
    0463b49e0239 netfs: fix test for whether we can skip read when writing beyond EOF
    e6108147dd91 swiotlb: manipulate orig_addr when tlb_addr has offset
    7570a8b5dd49 KVM: SVM: Call SEV Guest Decommission if ASID binding fails
    377a796e7a71 mm, futex: fix shared futex pgoff on shmem huge page
    ab9d178167ea mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
    915c3a262c49 mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
    90073aecc3cc mm: page_vma_mapped_walk(): get vma_address_end() earlier
    bf60fc2314b9 mm: page_vma_mapped_walk(): use goto instead of while (1)
    9f85dcaf1533 mm: page_vma_mapped_walk(): add a level of indentation
    e56bdb397663 mm: page_vma_mapped_walk(): crossing page table boundary
    8dc191ed9c5f mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
    7b55a4bcfccf mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
    1cb0b9059f9e mm: page_vma_mapped_walk(): settle PageHuge on entry
    65febb41b4d6 mm: page_vma_mapped_walk(): use page for pvmw->page
    825c28052b4d mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
    0010275ca243 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
    38cda6b5ab83 mm/thp: fix page_address_in_vma() on file THP tails
    37ffe9f4d7ff mm/thp: fix vma_address() if virtual address below file offset
    66be14a92609 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
    6527d8ef68c3 mm/thp: make is_huge_zero_pmd() safe and quicker
    a8f4ea1d38ac mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
    32f954e961ca mm, thp: use head page in __migration_entry_wait()
    bfd90b56d7f6 mm/rmap: use page_not_mapped in try_to_unmap()
    ff81af8259bb mm/rmap: remove unneeded semicolon in page_not_mapped()
    a0ad7ea018e7 mm: add VM_WARN_ON_ONCE_PAGE() macro
    130a1d76ee0b x86/fpu: Make init_fpstate correct with optimized XSAVE
    51d8011782ed x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate()
    2b35a4eaaaae kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    bfe28af78a20 kthread_worker: split code for canceling the delayed work timer
    02c303f3b9fb ceph: must hold snap_rwsem when filling inode for async create
    de0af2651daa i2c: robotfuzz-osif: fix control-request directions
    dd8ed6c9bc22 KVM: do not allow mapping valid but non-reference-counted pages
    5fd0c2cf7b11 s390/stack: fix possible register corruption with stack switch helper
    ab5bef978038 nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
    ace31c91fd59 scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)
    b9e6c20d4c9d gpiolib: cdev: zero padding during conversion to gpioline_info_changed
    0221a5a4db46 i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access
    018d03fcf77a pinctrl: stm32: fix the reported number of GPIO lines per bank
    df654cd3d300 perf/x86: Track pmu in per-CPU cpu_hw_events
    f9e73b2967f6 net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
    1c9cf96f5652 net: ll_temac: Add memory-barriers for TX BD access
    bafb6cdd4f70 PCI: Add AMD RS690 quirk to enable 64-bit DMA
    d91c50e6a678 recordmcount: Correct st_shndx handling
    fb71d81ccd69 mac80211: handle various extensible elements correctly
    676a7cb1a96b mac80211: reset profile_periodicity/ema_ap
    ca0e1fefbb53 net: qed: Fix memcpy() overflow of qed_dcbx_params()
    4658a8d30791 KVM: selftests: Fix kvm_check_cap() assertion
    e83e3c5d85a7 r8169: Avoid memcpy() over-reading of ETH_SS_STATS
    992b105abf57 sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
    a10856ea6066 r8152: Avoid memcpy() over-reading of ETH_SS_STATS
    196b22ef6cd1 net/packet: annotate accesses to po->ifindex
    da8b3aeff4ad net/packet: annotate accesses to po->bind
    18ed1789bbce net: caif: fix memory leak in ldisc_open
    edcd7594ada9 riscv32: Use medany C model for modules
    47c07f919fab net: phy: dp83867: perform soft reset and retain established link
    f57132a887ea net/packet: annotate data race in packet_sendmsg()
    9707960ecfdc inet: annotate date races around sk->sk_txhash
    7293f63b7b62 net: annotate data race in sock_error()
    61b132f67c0d ping: Check return value of function 'ping_queue_rcv_skb'
    08c389de6d53 inet: annotate data race in inet_send_prepare() and inet_dgram_connect()
    c2311fd6de78 net: ethtool: clear heap allocations for ethtool function
    c2813d1966ba mac80211: drop multicast fragments
    fedc4d4f548c net: ipv4: Remove unneed BUG() function
    93c2aac13b08 dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma
    0f48f9277182 dmaengine: mediatek: do not issue a new desc if one is still current
    63fa5b2d4b55 dmaengine: mediatek: free the proper desc in desc_free handler
    78fa0f707d73 dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()
    6a07cf36064a cfg80211: call cfg80211_leave_ocb when switching away from OCB
    a9028333001f mac80211_hwsim: drop pending frames on stop
    8cfe765afd5a mac80211: remove warning in ieee80211_get_sband()
    b671b9816982 dmaengine: xilinx: dpdma: Limit descriptor IDs to 16 bits
    524f70b30ef8 dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig
    13b245a7bd59 dmaengine: stm32-mdma: fix PM reference leak in stm32_mdma_alloc_chan_resourc()
    86f3e72dcb72 dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
    4df9ed0edb9f perf/x86/intel/lbr: Zero the xstate buffer on allocation
    56bc20e5fc64 perf/x86/lbr: Remove cpuc->lbr_xsave allocation from atomic context
    ca2acbd5483f locking/lockdep: Improve noinstr vs errors
    59aa5c91f863 x86/xen: Fix noinstr fail in exc_xen_unknown_trap()
    cb83c99cf675 x86/entry: Fix noinstr fail in __do_fast_syscall_32()
    cf5935487594 drm/vc4: hdmi: Make sure the controller is powered in detect
    f73aca83fd83 drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
    f11f9ff8a7c9 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
    4b06ebab4a82 spi: spi-nxp-fspi: move the register operation after the clock enable
    50a1312a29d1 arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required
    bd5d4df4dcc1 arm64: Ignore any DMA offsets in the max_zone_phys() calculation
    3bbdf5a6fcd2 MIPS: generic: Update node names to avoid unit addresses
    03096a46019e mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk
    b8fd230ae085 ARM: 9081/1: fix gcc-10 thumb2-kernel regression
    3d6c4f78ec61 drm/amdgpu: wait for moving fence after pinning
    694bb36aa75d drm/radeon: wait for moving fence after pinning
    bcfea2412f4b drm/nouveau: wait for moving fence after pinning v2
    3ef0ca0ec995 drm: add a locked version of drm_is_current_master
    fea853aca321 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."
    1bd81429d53d Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue."
    3051f230f19f module: limit enabling module.sig_enforce

(From OE-Core rev: a2616c36cf3398ac81db0a479c45686769903159)

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>
2021-07-05 10:59:40 +01:00
Mingli Yu
4d516fdda6 perlcross: check the file if patched or not
After the commit(60dcb230f6 perl: split perl-cross into its own recipe)
introduced, the source files mainly come from two parts, one is from
SRI_URI during do_fetch and the other with below means during do_configure.
do_configure_prepend() {
    cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S}
}

And the source files will be changed during do_compile with below
logic in Makefile.
$(CROSSPATCHED): %.applied: %.patch
        patch -p1 -i $< && touch $@

And there comes build failure with below steps:
 $ bitbake perl-native

Make a change as below
 $ git diff
 diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 index b77bbd1fd4..4c5e35ab80 100644
 --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 @@ -33,6 +33,7 @@ do_compile () {
  do_install_class-native() {
      mkdir -p ${D}/${datadir}/perl-cross/
      cp -rf ${S}/* ${D}/${datadir}/perl-cross/
 +    echo "test" > ${D}/${datadir}/perl-cross/testfile
 }

 $ bitbake perl-native
 | NOTE: make -j 48
 | make crosspatch
 | make[1]: Entering directory '/buildarea1/myu2/wr_build/wr1021_20210616_perl/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0'
 | patch -p1 -i cnf/diffs/perl5-5.34.0/time-hires.patch && touch cnf/diffs/perl5-5.34.0/time-hires.applied
 | patch -p1 -i cnf/diffs/perl5-5.34.0/xconfig.patch && touch cnf/diffs/perl5-5.34.0/xconfig.applied
 | patch -p1 -i cnf/diffs/perl5-5.34.0/posix-makefile.patch && touch cnf/diffs/perl5-5.34.0/posix-makefile.applied
 | File dist/Time-HiRes/Makefile.PL is read-only; trying to patch anyway
 | patching file dist/Time-HiRes/Makefile.PL
 | Reversed (or previously applied) patch detected!  Assume -R? [n]
 | Apply anyway? [n]
 | Skipping patch.
 | 4 out of 4 hunks ignored -- saving rejects to file dist/Time-HiRes/Makefile.PL.rej
 | patch -p1 -i cnf/diffs/perl5-5.34.0/test-commonsense.patch && touch cnf/diffs/perl5-5.34.0/test-commonsense.applied
 | File perl.h is read-only; trying to patch anyway
 | patching file perl.h
 | Reversed (or previously applied) patch detected!  Assume -R? [n]
 | Apply anyway? [n]
 | Skipping patch.
 | 1 out of 1 hunk ignored -- saving rejects to file perl.h.rej
 | make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/time-hires.applied] Error 1
 [snip]

It's because the source files patched twice, so check the file if patched
or not to avoid the source files patched more than one time to fix the
build failure as above.

(From OE-Core rev: 2a71a1f308b7f97d83bd23b0f8e733543841efad)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Peter Bergin
be1cf223bf Revert "libubootenv: inherit uboot-config"
This reverts commit 10aa1291979fb90bed1beb49be4d406ed0e1e4d5.

As there is no build dependency between libubootenv and the configuration
of u-boot there is no reason to check for UBOOT_CONFIG or UBOOT_MACHINE
by adding the class uboot-config. Revert this in order to remove useless
workaround in bsp layer (meta-freescale).

(From OE-Core rev: a6cc842973f8e3d5a72e6f4012d0430777901408)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:33 +01:00
Asfak Rahman
567b7e3060 openssh: Remove temporary keys before generating new ones
Key generation may wait for user input, due to the existence of
temporary keys resulting from power interruption in the first boot.
This prevents users from login via ssh.

(From OE-Core rev: 3196249a6917a32491be56e70bbf26d3b9818e0e)

Signed-off-by: Asfak Rahman <asfakr@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:33 +01:00
Mingli Yu
692c2b3652 pulseaudio: check if NEON code can be compiled on arm
Backport a patch to check if NEON code can be compiled on arm to
fix below issue:
 | /prj/tmp-glibc/work/armv5e-wrs-linux-gnueabi/pulseaudio/14.0-r0/recipe-sysroot-native/usr/lib/arm-wrs-linux-gnueabi/gcc/arm-wrs-linux-gnueabi/10.2.0/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"
 |  31 | #error "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"
      |  ^~~~~
 | ../pulseaudio-14.0/src/pulsecore/mix_neon.c: In function 'pa_mix_ch2_s16ne_neon':
 | ../pulseaudio-14.0/src/pulsecore/mix_neon.c:38:9: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
 |   38 |         int32x4_t sum0, sum1;

(From OE-Core rev: 79dedfbae5edceecca2b0abfacb3c61abcab7cfa)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Tested-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:33 +01:00
Saul Wold
6a9449f0c1 testimage.bbclass: Add dump-guest-memory cmd
This command takes a set of command arguments, one of which requires
a filename so use %s which the MonitorDumper will translate to a
unique filename in the dated qmp directory.

CMD Before: {paging:false,protocol:file:%s.img}
CMD After: {paging:false,protocol:file:/yocto/poky/build/tmp/log/runtime-hostdump/qmp_00_dump-guest-memory.img}

(From OE-Core rev: 563e78491be3763f53f9ea53241853b099f5747b)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:33 +01:00
Saul Wold
bb534a9c02 oeqa/dump.py: Add support for QMP command arguments
Need to ensure that the dump_dir is created correctly and available
When command arguemnts are passed construct a filename if needed and
convert the arguements to a json object to pass to QMP.

(From OE-Core rev: 9a2f4e1e95f4a3f7ebbf08f46445c8ea670adce3)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
Saul Wold
879545999f oeqa/qemurunner: add support qmp cmd args
This will enable passing arguments to qmp commands for
those that require additional information

(From OE-Core rev: 4d34676b6226a34df2877adbeea25abb5b2a31be)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
Tim Orling
e6f0176917 python3-importlib-metadata: upgrade 4.5.0 -> 4.6.0
Upstream release notes:

v4.6.0
======

* #326: Performance tests now rely on
  `pytest-perf <https://pypi.org/project/pytest-perf>`_.
  To disable these tests, which require network access
  and a git checkout, pass ``-p no:perf`` to pytest.

(From OE-Core rev: 9a487fb10682243c6bbbb6a9918760cbeee06c19)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
zhengruoqin
ea29a3c116 python3: upgrade 3.9.5 -> 3.9.6
0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch
removed since it is included in 3.9.6

(From OE-Core rev: 1a12d978f2046fc5d3abc96db3753e378f29ecae)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
zhengruoqin
d2e5c350e9 libffi: upgrade 3.3 -> 3.4.2
0001-Address-platforms-with-no-__int128-part2.patch
0001-Address-platforms-with-no-__int128.patch
0001-Fixed-missed-ifndef-for-__mips_soft_float.patch
0001-ffi_powerpc.h-fix-build-failure-with-powerpc7.patch
0001-powerpc-fix-build-failure-on-power7-and-older-532.patch
removed since they're included in 3.4.2

refresh 0001-arm-sysv-reverted-clang-VFP-mitigation.patch

License-Updage: Copyright year updated to 2021

(From OE-Core rev: 16cd4351d9e54140ea558229a93b1f89fcf7aa8c)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
Mark Hatle
c1dcadb7f8 populate_sdk_ext: Error if trying to generate an eSDK from a mulitconfig
Running a build such as:

  bitbake mc:my_config:core-image-minimal -c populate_sdk-ext

will result in an error like:

ERROR: Task base-files.do_fetch attempted to execute unexpectedly
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_packagedata, unihash ec5ba0e6b31561daba005fb49c5239c8e46913465b51166b5905f3e5ffcf2741, taskhash ec5ba0e6b31561daba005fb49c5239c8e46913465b51166b5905f3e5ffcf2741
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package_write_rpm, unihash 1c7d7509c2ff6dcf11009fbec444726826214795d60474ec8d3262d89c40a955, taskhash 1c7d7509c2ff6dcf11009fbec444726826214795d60474ec8d3262d89c40a955
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_populate_sysroot, unihash 9cc3672f4fa62491f545b15cf617a64cd77d15a2cfd432b57d4b936bc415f40d, taskhash 9cc3672f4fa62491f545b15cf617a64cd77d15a2cfd432b57d4b936bc415f40d
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package_qa, unihash 8ada5f62092c971df8dda1d71c728e42994e1dcf2bbdab419de43867d77b64cc, taskhash 8ada5f62092c971df8dda1d71c728e42994e1dcf2bbdab419de43867d77b64cc
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_qa, unihash 16656a339389e407a5fdca5d64983af845288f3b3cc5582398e5247efb393257, taskhash 16656a339389e407a5fdca5d64983af845288f3b3cc5582398e5247efb393257
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_complete, unihash ef88c74a9f4ae4d252c421eb4e399773aa50cea7c51ffbeed9011e5198a16abb, taskhash ef88c74a9f4ae4d252c421eb4e399773aa50cea7c51ffbeed9011e5198a16abb
This is usually due to missing setscene tasks. Those missing in this build were: {'.../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package_qa',

Instead of letting the system error, we simply tell the user this is not supported.

As long as the eSDK is constructed based on the primary library, it works fine.

(From OE-Core rev: b359c60071585fa323124fc6febe652fe0128b52)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
wangmy
611352d547 xf86-input-libinput: upgrade 1.0.1 -> 1.1.0
(From OE-Core rev: 80f8db775ba9583b5799147377b053e7f6fe44e9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
wangmy
ed7c63ada1 stress-ng: upgrade 0.12.10 -> 0.12.11
(From OE-Core rev: 9efc3f62a9e0db514c9aa300acb2d26b1ab80ccc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
wangmy
1e36f5315b libglu: upgrade 9.0.1 -> 9.0.2
(From OE-Core rev: f327885f1180e9338e0c909d3e591c3a6d57f6aa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
wangmy
ee566b65e6 gpgme: upgrade 1.15.1 -> 1.16.0
(From OE-Core rev: 2d790bfb0c179431c16ff1b49dc858add5d8708f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
wangmy
59de114558 cmake: upgrade 3.20.4 -> 3.20.5
(From OE-Core rev: f3e9b1fedfdc8bf6829db041fd15e3b8216acbf9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
Michael Halstead
bc164bd86a releases: update to include 3.1.9
Adding 3.1.9 to documentation switcher and release list.

(From yocto-docs rev: 6951b86a2e0e95bb72db12624efa23fec579bc70)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Richard Purdie
07630f3cfd oeqa/selftest/archiver: Allow tests to ignore empty directories
If we tweak sstate to not remove empty directories under conditions
where a race could occur, we see failures from:

"oe-selftest -r archiver.Archiver.test_archiver_filters_by_type archiver.Archiver.test_archiver_filters_by_type_and_name"

since an empty directory is left behind. Update the tests to ignore
empty directories.

(From OE-Core rev: 10cda713faea9a348fd278137ac75e4a6d76a71c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Florian Amstutz
73efc71b2c devtool: deploy-target: Fix preserving attributes when using --strip
Commit a2db4fa127 added ${WORKDIR}/deploy-* to
PSEUDO_IGNORE_PATHS. This breaks the --strip mode since ${D} is copied to
deploy-target-stripped. Use the directory devtool-deploy-target-stripped
instead.

[YOCTO #14451]

(From OE-Core rev: 02661f20faf11d0fa2f1874bd423f5d9fa7a31c9)

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Richard Purdie
2b3ced714a sstate/staging: Handle directory creation race issue
The sstate code tries to be careful about racing around directory creation.
In particular, the copyhardlinktree code creates the directory tree first
allowing for "already exists" errors and ignoring them, then hardlinks the
files in.

Unfortunately the sstate removal code can race against this since it
will try and remove empty directories. If there is some bad timing,
a newly created directory can be removed before it was populated, leading
to build failures.

We could try and add locking but this would damage performance, we've been
there before. It is also unclear where to actually place locks just based on
the contents of a manifest file which may cover multiple sstate install
locations for a given task.

Instead, lets disable directory removal in the problematic "shared" core
path. This could result in a few more empty directories being left on disk
but those should be harmless and better than locking hurting performance
or rare build races.

[YOCTO #13999]
[YOCTO #14379]

(From OE-Core rev: 4f94d9296394bc7ce241439f00df86eb5912875f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Richard Purdie
68a4cbb7b2 bash: Fix a rare make race build failure
There is a rare make race that occurs in bash due to the way it constructs
certain headers and a build tool. Restructure the creation to remove
the race.

[YOCTO #14227]

(From OE-Core rev: 6f683cf21630142e82cc37d79f3d797d179d8d12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Fabio Berton
1f3094e775 lib/oe/package_manager: Don't ignore installation failures in install_complementary
When attempt_only flag is set to True all installation failures are
ignored. Disable attempt_only, that is the default in install function,
to raise error in install_complementary and to prevent do_populate_sdk
task to treat errors as warnings.

[RP: Historically some of our addtional packages were in bad shape and
wouldn't all install. This is no longer the case so we shouldn't need
a hack like this any longer.]

(From OE-Core rev: 8042ad9ca91ddaaf741366e1068c63c284ff98f5)

Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:24:29 +01:00
Richard Purdie
b6cbc055eb oeqa/selftest/runcmd: Tweal test timeouts
Load on the autobuilder meant we see occasionaly timeout issues with these tests.
Slightly increase the test timeouts to better reflect the real world timings we
see.

[YOCTO #14262]

(From OE-Core rev: fccd2ade0e345625ed9a4b74a7431b000ce2214f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:21:56 +01:00
Richard Purdie
b3e6b489bb python3-pip/python3-pbr: Drop obsolete md5sum at upgrade
(From OE-Core rev: c41fbcd484701a909c65ff608d4446236a56e578)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:21:22 +01:00
Jose Quaresma
c32b1b3e94 spirv-tools: upgrade 2021.1 -> 2021.2
(From OE-Core rev: fa4b5136bae04274d60b3d4195fdd591c9707f32)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
Jose Quaresma
c64327fe3a shaderc: upgrade 2021.0 -> 2021.1
(From OE-Core rev: 909414bd349c852344e0c451d5e7358ef19214b2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
Jose Quaresma
3a1f5c918c glslang: upgrade 11.4.0 -> 11.5.0
(From OE-Core rev: 42fb3424df1dbf0587837a68a299f818c99c15a2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
Ross Burton
c094a7fb2a cantarell-fonts: fix SRC_URI
Since oe-core fa8950d0c the logic to turn a version into a directory name
doesn't work for versions which are too short.

Solve this by overriding gnome_verdir() to return the version as-is, as
that is what the directory is called.

(From OE-Core rev: dddafd5a4fd50b332a4bd3b0abefb32d315d87ab)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
Ross Burton
cde73f6048 libgudev: fix SRC_URI
Since oe-core fa8950d0c the logic to turn a version into a directory name
doesn't work for versions which are too short.

Solve this by overriding gnome_verdir() to return the version as-is, as
that is what the directory is called.

(From OE-Core rev: f70dc20f8fe38e07385a8a5910624ef38f72e53e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
Michael Ho
dd555537fc sstate.bbclass: fix errors about read-only sstate mirrors
If a read-only sstate mirror is used in conjunction with hash equiv,
then OSError will be raised when an sstate-cache hit is achieved.

This is because sstate_task_postfunc will try to "touch" the symlinks
that point to the read-only sstate mirror when sstate_report_unihash
has changed SSTATE_PKG.

This commit adds an additional exception handler to silently mask read
only rootfs errors thrown during the touch.

The fix is also duplicated to sstate_eventhandler as the code is very
similar but it may not be needed there.

Example of the error:

File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:sstate_task_postfunc(d)
     0003:
File: '/poky/meta/classes/sstate.bbclass', lineno: 774, function: sstate_task_postfunc
     0770:
     0771:    omask = os.umask(0o002)
     0772:    if omask != 0o002:
     0773:       bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
 *** 0774:    sstate_package(shared_state, d)
     0775:    os.umask(omask)
     0776:
     0777:    sstateinst = d.getVar("SSTATE_INSTDIR")
     0778:    d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/poky/meta/classes/sstate.bbclass', lineno: 703, function: sstate_package
     0699:    if not os.path.exists(siginfo):
     0700:        bb.siggen.dump_this_task(siginfo, d)
     0701:    else:
     0702:        try:
 *** 0703:            os.utime(siginfo, None)
     0704:        except PermissionError:
     0705:            pass
     0706:
     0707:    return
Exception: OSError: [Errno 30] Read-only file system

(From OE-Core rev: 244b3be0358a66e0cca4016fe26144e3d7323390)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
zangrc
31461165c1 python3-pip: upgrade 21.1.2 -> 21.1.3
(From OE-Core rev: bb7a13b59abc405c205c127ad46cb9c85efed6d8)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
wangmy
477e4c9891 python3-pbr: upgrade 5.4.4 -> 5.6.0
(From OE-Core rev: 9efd32536b7238c843cfeed8374dd89fd37b5cc9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:56 +01:00
Christoph Muellner
1b67bcdfd2 ldconfig-native: Add RISC-V support
The current version of ldconfig does not support RISC-V.
Let's add a patch, that adds the required constant definitions
(from upstream glibc) and the necessary case statements.

(From OE-Core rev: 790a0634838ab44f8f39db647401886667846b59)

Signed-off-by: Christoph Muellner <cmuellner@linux.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:56 +01:00
jbouchard
a79b5f0f21 Use the label provided when formating a dos partition
Previously the bootimg-pcbios wic plugin was not respecting
the --label option provided from the wks file. The plugin
was setting the label to 'boot'. With this fix, the --label
option is use. If no option are specified, then the default
is 'boot'.

(From OE-Core rev: 0fd7a73c1bd2486b7a022f0f69bbcb2e0d9cb141)

Signed-off-by: jbouchard <jeanbouch418@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:56 +01:00
Changhyeok Bae
b02c5dd154 iputils: Update to 20210202
(From OE-Core rev: ce549ff785db6e47392c30cca725661b421db7c9)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:56 +01:00
Bruce Ashfield
1f802cdf85 linux-yocto/5.10: rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock
Integrating the following commit(s) to linux-yocto/5.10:

    139fe7d68413 rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock

(From OE-Core rev: 63b4761cb1f44aaad4bd0948dc586a90b53049d3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Bruce Ashfield
8c62c9b73a linux-yocto/5.4: update to v5.4.128
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    4037804c5574 Linux 5.4.128
    fd7c4bd58249 usb: dwc3: core: fix kernel panic when do reboot
    d7e403eea007 usb: dwc3: debugfs: Add and remove endpoint dirs dynamically
    5babc3977565 clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
    aad8f1d88ed6 clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
    5394080643bc clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support
    c53cc5f9587c ARM: OMAP: replace setup_irq() by request_irq()
    7d266c8a2ae8 KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
    0c2a4178d796 tools headers UAPI: Sync linux/in.h copy with the kernel sources
    7381c4d0bc10 net: fec_ptp: add clock rate zero check
    190ecdf53d67 net: stmmac: disable clocks in stmmac_remove_config_dt()
    4f69c8930674 mm/slub.c: include swab.h
    9ddeea35c47d mm/slub: fix redzoning for small allocations
    c0837e021d90 mm/slub: clarify verification reporting
    79855be6445b net: bridge: fix vlan tunnel dst refcnt when egressing
    a2241e62f6b4 net: bridge: fix vlan tunnel dst null pointer dereference
    b6c0ab11c88f net: ll_temac: Fix TX BD buffer overwrite
    6d120ab4dc39 net: ll_temac: Make sure to free skb when it is completely used
    a32f70e06980 drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
    dbde458378ef drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell.
    92e08a5ffae9 cfg80211: avoid double free of PMSR request
    01ade7c84fda cfg80211: make certificate generation more robust
    05b4fdec273b dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc
    f3c629b164ca x86/fpu: Reset state for all signal restore failures
    4f1e9bafa195 x86/pkru: Write hardware init value to PKRU when xstate is init
    13c5f1f0798c x86/process: Check PF_KTHREAD and not current->mm for kernel threads
    80c56699cf1a ARCv2: save ABI registers across signal handling
    cbb425f62df9 KVM: x86: Immediately reset the MMU context when the SMM flag is cleared
    58877ce3fecd PCI: Work around Huawei Intelligent NIC VF FLR erratum
    a36d9bdc1917 PCI: Add ACS quirk for Broadcom BCM57414 NIC
    4c90f90a91d7 PCI: aardvark: Fix kernel panic during PIO transfer
    0e888c237754 PCI: aardvark: Don't rely on jiffies while holding spinlock
    f3b600a2b6bc PCI: Mark some NVIDIA GPUs to avoid bus reset
    775c25b7a334 PCI: Mark TI C667X to avoid bus reset
    c7660ab8126e tracing: Do no increment trace_clock_global() by one
    79894a5d75ab tracing: Do not stop recording comms if the trace file is being read
    4ab1152bb778 tracing: Do not stop recording cmdlines when tracing is off
    0061eff74824 usb: core: hub: Disable autosuspend for Cypress CY7C65632
    6f87c0e21ad2 can: mcba_usb: fix memory leak in mcba_usb
    22cba878abf6 can: j1939: fix Use-after-Free, hold skb ref while in use
    776e0d16ac84 can: bcm/raw/isotp: use per module netdevice notifier
    c297559a2a2a can: bcm: fix infoleak in struct bcm_msg_head
    35b651d6bdf3 hwmon: (scpi-hwmon) shows the negative temperature properly
    8ea34be15fb5 radeon: use memcpy_to/fromio for UVD fw upload
    0b445249635d pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled
    d7d307fb3e70 spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd()
    04e5fbe604d3 ASoC: rt5659: Fix the lost powers for the HDA header
    81376d3d5ede regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting
    19f88ca68ccf net: ethernet: fix potential use-after-free in ec_bhf_remove
    63137ea2423c icmp: don't send out ICMP messages with a source address of 0.0.0.0
    c3e6fbc7ba7c bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
    87971d582c66 bnxt_en: Rediscover PHY capabilities after firmware reset
    755da76ec5de cxgb4: fix wrong shift.
    81de2ed06df8 net: cdc_eem: fix tx fixup skb leak
    a49cbb762ef2 net: hamradio: fix memory leak in mkiss_close
    0f868a684376 be2net: Fix an error handling path in 'be_probe()'
    c14c276d7f35 net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
    3dd2aeac2e96 net: ipv4: fix memory leak in ip_mc_add1_src
    7b18f289fd0b net: fec_ptp: fix issue caused by refactor the fec_devtype
    4252bf6c2b24 net: usb: fix possible use-after-free in smsc75xx_bind
    217395c5ab15 lantiq: net: fix duplicated skb in rx descriptor ring
    5f7acbf602d8 net: cdc_ncm: switch to eth%d interface naming
    3daa97817aa8 ptp: improve max_adj check against unreasonable values
    26b8d10703a9 net: qrtr: fix OOB Read in qrtr_endpoint_post
    8d3de2b47e53 netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
    a670a78fb180 qlcnic: Fix an error handling path in 'qlcnic_probe()'
    b0bb49b0fbc3 net: make get_net_ns return error if NET_NS is disabled
    5d47a84f459c net: stmmac: dwmac1000: Fix extended MAC address registers definition
    c82e4e78094d alx: Fix an error handling path in 'alx_probe()'
    4cefa061fc63 sch_cake: Fix out of bounds when parsing TCP options and header
    6defc77d48ef netfilter: synproxy: Fix out of bounds when parsing TCP options
    ad689fec4498 net/mlx5e: Block offload of outer header csum for UDP tunnels
    946a36f82a0b net/mlx5e: allow TSO on VXLAN over VLAN topologies
    0bb0270832c8 net/mlx5: Consider RoCE cap before init RDMA resources
    4b16118665e9 net/mlx5e: Fix page reclaim for dead peer hairpin
    3c3461ed267b net/mlx5e: Remove dependency in IPsec initialization flows
    2ae0f0a409c8 net/sched: act_ct: handle DNAT tuple collision
    23f3d2779dd6 rtnetlink: Fix regression in bridge VLAN configuration
    5a88477c1c85 udp: fix race between close() and udp_abort()
    cc4c6b19093c net: lantiq: disable interrupt before sheduling NAPI
    2038cd15eacd net: rds: fix memory leak in rds_recvmsg
    cc16e7d36e5c vrf: fix maximum MTU
    398a24447eb6 net: ipv4: fix memory leak in netlbl_cipsov4_add_std
    e7fbd8184fa9 batman-adv: Avoid WARN_ON timing related checks
    bf99ea52970c kvm: LAPIC: Restore guard to prevent illegal APIC register access
    566345aaabac mm/memory-failure: make sure wait for page writeback in memory_failure
    0498165c6fec afs: Fix an IS_ERR() vs NULL check
    2a3f74ca167e dmaengine: stedma40: add missing iounmap() on error in d40_probe()
    10fd28745d8b dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM
    1e3c5c450567 dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM
    a82d4d5e9fe6 Linux 5.4.127
    f7afaf778591 fib: Return the correct errno code
    51cc5ad292da net: Return the correct errno code
    376a703f9dce net/x25: Return the correct errno code
    107140952ecd rtnetlink: Fix missing error code in rtnl_bridge_notify()
    12fa0fdbcd0f drm/amd/display: Allow bandwidth validation for 0 streams.
    8c48345fdc98 net: ipconfig: Don't override command-line hostnames or domains
    c8e4a72b255e nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()
    655d4dc10a23 nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails
    ed4bee6e1bb7 nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
    31ac5531110a scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V
    4791b8948741 scsi: qedf: Do not put host in qedf_vport_create() unconditionally
    8034fc4ee9ef ethernet: myri10ge: Fix missing error code in myri10ge_probe()
    ea4a9a34c9b2 scsi: target: core: Fix warning on realtime kernels
    86fd5b27db74 gfs2: Fix use-after-free in gfs2_glock_shrink_scan
    527f70f76742 riscv: Use -mno-relax when using lld linker
    e58f4b5046e0 HID: gt683r: add missing MODULE_DEVICE_TABLE
    50b8e1be15f6 gfs2: Prevent direct-I/O write fallback errors from getting lost
    c8eff6762943 ARM: OMAP2+: Fix build warning when mmc_omap is not built
    e4c3f7a6a3b2 drm/tegra: sor: Do not leak runtime PM reference
    7f5a4b24cdbd HID: usbhid: fix info leak in hid_submit_ctrl
    20fbcfaaa571 HID: Add BUS_VIRTUAL to hid_connect logging
    41b9b39e1b37 HID: multitouch: set Stylus suffix for Stylus-application devices, too
    2173746ed125 HID: quirks: Add quirk for Lenovo optical mouse
    cdf5e4747da9 HID: hid-sensor-hub: Return error for hid_set_field() failure
    1f760c4e655c HID: hid-input: add mapping for emoji picker key
    818bf51031cf HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65
    d0f47648b87b net: ieee802154: fix null deref in parse dev addr
    ffe4d2a0684d Linux 5.4.126
    0f8837070136 proc: only require mm_struct for writing
    d63f00ec908b tracing: Correct the length check which causes memory corruption
    7e4e824b109f ftrace: Do not blindly read the ip address in ftrace_bug()
    74430f3f6149 scsi: core: Only put parent device if host state differs from SHOST_CREATED
    e694ddc8f3de scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
    fe7bcd794a53 scsi: core: Fix failure handling of scsi_add_host_with_dma()
    79296e292d67 scsi: core: Fix error handling of scsi_host_alloc()
    8c9400c4855e NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
    86377b239e04 NFSv4: Fix second deadlock in nfs4_evict_inode()
    3e3c7ebbfac1 NFS: Fix use-after-free in nfs4_init_client()
    83668ab1dbbf kvm: fix previous commit for 32-bit builds
    0147af30925a perf session: Correct buffer copying when peeking events
    34769f17e47c NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode()
    0057ecef9f32 NFS: Fix a potential NULL dereference in nfs_get_client()
    e3ecd9c09fcc IB/mlx5: Fix initializing CQ fragments buffer
    796d3bd4ac93 KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message
    71c751cbb9e8 sched/fair: Make sure to update tg contrib for blocked load
    26ab08df8656 perf: Fix data race between pin_count increment/decrement
    8aeb339571c6 vmlinux.lds.h: Avoid orphan section with !SMP
    fc57713afaca RDMA/mlx4: Do not map the core_clock page to user space unless enabled
    64f1fb6acc2a RDMA/ipoib: Fix warning caused by destroying non-initial netns
    a0828219185d usb: typec: mux: Fix copy-paste mistake in typec_mux_match
    139af3b2192c regulator: max77620: Use device_set_of_node_from_dev()
    c4e10f92c319 regulator: core: resolve supply for boot-on/always-on regulators
    5ef23506695b usb: fix various gadget panics on 10gbps cabling
    b4903f7fdc48 usb: fix various gadgets null ptr deref on 10gbps cabling.
    191144bcfe3a usb: gadget: eem: fix wrong eem header operation
    cc40404bd0dd USB: serial: cp210x: fix alternate function for CP2102N QFN20
    02fafcf74cde USB: serial: quatech2: fix control-request directions
    eedd4b494538 USB: serial: omninet: add device id for Zyxel Omni 56K Plus
    a2119ad276f1 USB: serial: ftdi_sio: add NovaTech OrionMX product ID
    28b9764eb568 usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
    4fe7635a245b usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
    9523c42be986 usb: typec: wcove: Use LE to CPU conversion when accessing msg->header
    5e8ca8c79f74 usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling
    366369b89bed usb: dwc3: ep0: fix NULL pointer exception
    c469c8dddc7d usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms
    32c2e6c2e4eb usb: f_ncm: only first packet of aggregate needs to start timer
    0c05a8bc0e76 USB: f_ncm: ncm_bitrate (speed) is unsigned
    4d14a82ef112 cgroup1: don't allow '\n' in renaming
    298499d73d2d btrfs: promote debugging asserts to full-fledged checks in validate_super
    d4b047651fb1 btrfs: return value from btrfs_mark_extent_written() in case of error
    dccd575337ac staging: rtl8723bs: Fix uninitialized variables
    bff1fbf0cf07 kvm: avoid speculation-based attacks from out-of-range memslot accesses
    977d11df7932 drm: Lock pointer access in drm_master_release()
    b246b4c70c12 drm: Fix use-after-free read in drm_getunique()
    b5502580cf95 spi: bcm2835: Fix out-of-bounds access with more than 4 slaves
    a225ee1fe41c x86/boot: Add .text.* to setup.ld
    8c2c1db4f2e4 i2c: mpc: implement erratum A-004447 workaround
    c7f0393a370e i2c: mpc: Make use of i2c_recover_bus()
    3cdbefdd3146 spi: Cleanup on failure of initial setup
    85a7998e7211 spi: Don't have controller clean up spi device before driver unbind
    92350839d329 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
    96cea4843b8f powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
    3e9aa125f69c nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
    c385af145eb4 bnx2x: Fix missing error code in bnx2x_iov_init_one()
    ece8ad75e318 dm verity: fix require_signatures module_param permissions
    a450b5b6c01d MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
    eb5c4794b79e nvme-fabrics: decode host pathing error for connect
    70036fb61ea8 net: dsa: microchip: enable phy errata workaround on 9567
    128bb4b0e5d2 net: appletalk: cops: Fix data race in cops_probe1
    19e14481cc7d net: macb: ensure the device is available before accessing GEMGXL control registers
    cd05e1a61a05 scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
    e773147692c6 scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq
    1e209effe36c scsi: vmw_pvscsi: Set correct residual data length
    90476c1bfff0 scsi: bnx2fc: Return failure if io_req is already in ABTS processing
    a3842219a69d RDS tcp loopback connection can hang
    3e324774411d net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
    f9e7a38d148e wq: handle VM suspension in stall detection
    92215c1f24c0 cgroup: disable controllers at parse time
    e29d22371de8 net: mdiobus: get rid of a BUG_ON()
    21df0c2e7d19 netlink: disable IRQs for netlink_lock_table()
    e0172831c61a bonding: init notify_work earlier to avoid uninitialized use
    9d7d4649dc1c isdn: mISDN: netjet: Fix crash in nj_probe:
    77b9f527731e spi: sprd: Add missing MODULE_DEVICE_TABLE
    cbeee4ccc1c7 ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
    575ad4ab2057 vfio-ccw: Serialize FSM IDLE state with I/O completion
    02d3f4f0aadb ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet
    8a9478cfb21b ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet
    02851cb0cae3 usb: cdns3: Fix runtime PM imbalance on error
    f3ed12af6bbb net/nfc/rawsock.c: fix a permission check bug
    3e7c190475d9 spi: Fix spi device unregister flow
    9f9ad67183aa ASoC: max98088: fix ni clock divider calculation
    c9002013ffe0 proc: Track /proc/$pid/attr/ opener mm_struct

(From OE-Core rev: 0c48b8526b56530baa50eb78d3870fe252b3ca1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Bruce Ashfield
1b8ed85fbe linux-yocto/5.10: features/nft_tables: refresh config options
The nft tables feature had become out of sync with current config
options. Refreshing the support with the following commits:

Integrating the following commit(s) to linux-yocto/.:

    da478fab290 nft: add CONFIG_NFT_SOCKET
    54e2d36b291 nft: add CONFIG_NFT_TUNNEL
    6fefc38049a nft: add CONFIG_NFT_CONNLIMIT
    cb0b5fc7ed5 nft: enable NF_TABLES_NETDEV
    d36b304d614 nft: drop rbtree
    0a70fa87ee0 nft: merge chain nat types
    c226e82038a nft: merge route type to core
    79968ab78bb nft: masq options merged
    8a0bff8cc5f nft: _set is now built-ins
    5952a26c4f7 nft: consolidate _set options
    0941f794363 nf: META is now builtin
    2fcc2c1b552 nf: EXTHDR is part of core, drop config
    e909f08155d nf: ARP is bool, set to y
    3bc18ee0615 nf: make nf_tables =y
    b90241a5403 nf: set CONFIG_NF_TABLES_IPV6, since dependencies are =y
    32ae602ab4d nf: set CONFIG_NF_TABLES_IPV4, since dependencies are =y
    2a9be72daea nf: make inet_tables =y

(From OE-Core rev: cce1ed5973455666c09dd56ecf3d0c373bdb3fb2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Bruce Ashfield
48b4dc3b37 linux-yocto/5.10: update to v5.10.46
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3de043c6851d Linux 5.10.46
    174c27583b38 usb: dwc3: core: fix kernel panic when do reboot
    e52d43c82f2f usb: dwc3: debugfs: Add and remove endpoint dirs dynamically
    1b5fbb66182f perf beauty: Update copy of linux/socket.h with the kernel sources
    69371e0482ea tools headers UAPI: Sync linux/in.h copy with the kernel sources
    4f6e7098f19b net: fec_ptp: add clock rate zero check
    1af3a8e91f1a net: stmmac: disable clocks in stmmac_remove_config_dt()
    f71ca814c286 mm/slub.c: include swab.h
    f6ed23575416 mm/slub: actually fix freelist pointer vs redzoning
    4314c8c63bfd mm/slub: fix redzoning for small allocations
    4a36fda16b1b mm/slub: clarify verification reporting
    12eb3c2c1a4f mm/swap: fix pte_same_as_swp() not removing uffd-wp bit when compare
    fc7fdd8c5c2a net: bridge: fix vlan tunnel dst refcnt when egressing
    fe0448a3fad3 net: bridge: fix vlan tunnel dst null pointer dereference
    cfe403f209b1 net: ll_temac: Fix TX BD buffer overwrite
    019ab7d044d0 net: ll_temac: Make sure to free skb when it is completely used
    41984d4fbe21 drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
    bc58ec307ce9 drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell.
    96b4126f8c37 cfg80211: avoid double free of PMSR request
    5493b0c2a784 cfg80211: make certificate generation more robust
    f74df6e08608 mac80211: Fix NULL ptr deref for injected rate info
    df203c1fdaaf dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc
    b842b568a584 crash_core, vmcoreinfo: append 'SECTION_SIZE_BITS' to vmcoreinfo
    63ba83563e71 x86/fpu: Reset state for all signal restore failures
    a7748e021b9f x86/fpu: Invalidate FPU state after a failed XRSTOR from a user buffer
    076f732b16a5 x86/fpu: Prevent state corruption in __fpu__restore_sig()
    abc790bdbbc5 x86/pkru: Write hardware init value to PKRU when xstate is init
    208bb686e7fa x86/ioremap: Map EFI-reserved memory as encrypted for SEV
    75a55bc2e5e6 x86/process: Check PF_KTHREAD and not current->mm for kernel threads
    ddaaf38e1923 x86/mm: Avoid truncating memblocks for SGX memory
    f6bcb1a6281d ARCv2: save ABI registers across signal handling
    b516daed9913 s390/ap: Fix hanging ioctl caused by wrong msg counter
    7c003dab436d s390/mcck: fix calculation of SIE critical section size
    3a9934d6b8dd KVM: X86: Fix x86_emulator slab cache leak
    18eca69f88f2 KVM: x86/mmu: Calculate and check "full" mmu_role for nested MMU
    669a8866e468 KVM: x86: Immediately reset the MMU context when the SMM flag is cleared
    077cb8946f55 PCI: Work around Huawei Intelligent NIC VF FLR erratum
    ee1a9cfed28a PCI: Add ACS quirk for Broadcom BCM57414 NIC
    1a1dbc447397 PCI: aardvark: Fix kernel panic during PIO transfer
    dac77a14fa27 PCI: Mark some NVIDIA GPUs to avoid bus reset
    1e460ddf5be1 PCI: Mark TI C667X to avoid bus reset
    c9fd0ab39f0a tracing: Do no increment trace_clock_global() by one
    b313bd944ddd tracing: Do not stop recording comms if the trace file is being read
    adb3849ed8d5 tracing: Do not stop recording cmdlines when tracing is off
    1a91fafa3edc usb: chipidea: imx: Fix Battery Charger 1.2 CDP detection
    576996b64e4d usb: core: hub: Disable autosuspend for Cypress CY7C65632
    6bd3d80d1f01 can: mcba_usb: fix memory leak in mcba_usb
    509ab6bfdd0c can: j1939: fix Use-after-Free, hold skb ref while in use
    0cf4b377907f can: bcm/raw/isotp: use per module netdevice notifier
    acb755be1f7a can: bcm: fix infoleak in struct bcm_msg_head
    8c82c52d1de9 bpf: Do not mark insn as seen under speculative path verification
    e9d271731d21 bpf: Inherit expanded/patched seen count from old aux data
    ed423d80bb9a irqchip/gic-v3: Workaround inconsistent PMR setting on NMI entry
    103c4a08baec mm: relocate 'write_protect_seq' in struct mm_struct
    a87abba03a7a hwmon: (scpi-hwmon) shows the negative temperature properly
    57b21ef118ac radeon: use memcpy_to/fromio for UVD fw upload
    3e4b0fbb7293 ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin
    360609fc8b06 drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device
    5bd6bcb3532d pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled
    6d0dc1b34c02 ASoC: rt5682: Fix the fast discharge for headset unplugging in soundwire mode
    ba8a26a7ce86 regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
    2f8f0e97cebb spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd()
    e03c8b35161b ASoC: tas2562: Fix TDM_CFG0_SAMPRATE values
    813ff24f1d08 sched/pelt: Ensure that *_sum is always synced with *_avg
    f6d28f0e36e9 spi: spi-zynq-qspi: Fix some wrong goto jumps & missing error code
    0ea21221dd5a regulator: rtmv20: Fix to make regcache value first reading back from HW
    3c5064cd2979 ASoC: fsl-asoc-card: Set .owner attribute when registering card.
    9a1790794623 phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init()
    02e245574887 ASoC: rt5659: Fix the lost powers for the HDA header
    3fb6c6acc1a7 platform/x86: thinkpad_acpi: Add X1 Carbon Gen 9 second fan support
    0609c36696e7 regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting
    0ea923519a3f regulator: cros-ec: Fix error code in dev_err message
    95deeb29d831 net: ethernet: fix potential use-after-free in ec_bhf_remove
    8c0c2d97ad28 icmp: don't send out ICMP messages with a source address of 0.0.0.0
    c5d70dbc4d0b bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
    f8774be4dc11 bnxt_en: Fix TQM fastpath ring backing store computation
    acc9175541bf bnxt_en: Rediscover PHY capabilities after firmware reset
    acc358995975 cxgb4: fix wrong shift.
    05b2b9f7d24b net: cdc_eem: fix tx fixup skb leak
    290b0b6432e2 net: hamradio: fix memory leak in mkiss_close
    45bf43d8685f be2net: Fix an error handling path in 'be_probe()'
    327e626c39f3 net/mlx5: Reset mkey index on creation
    38aafe678caa net/mlx5: E-Switch, Allow setting GUID for host PF vport
    601be24dba48 net/mlx5: E-Switch, Read PF mac address
    5f2ccc58a352 net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
    ac31cc837caf net: ipv4: fix memory leak in ip_mc_add1_src
    d08f726cd5b8 net: fec_ptp: fix issue caused by refactor the fec_devtype
    570a52cf3e01 net: usb: fix possible use-after-free in smsc75xx_bind
    70c8418469fb lantiq: net: fix duplicated skb in rx descriptor ring
    11fac7e91270 net: cdc_ncm: switch to eth%d interface naming
    9a4794956292 ptp: improve max_adj check against unreasonable values
    5fc6ed1831ca bpf: Fix leakage under speculation on mispredicted branches
    960b08dd36de net: qrtr: fix OOB Read in qrtr_endpoint_post
    0239c439cedc ipv4: Fix device used for dst_alloc with local routes
    4b5ad4b5aefd cxgb4: fix wrong ethtool n-tuple rule lookup
    d708e5efdd31 netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
    70513cdb936e qlcnic: Fix an error handling path in 'qlcnic_probe()'
    fb3a94814368 ethtool: strset: fix message length calculation
    0e185a7b285d net: qualcomm: rmnet: don't over-count statistics
    e3577776d606 net: qualcomm: rmnet: Update rmnet device MTU based on real device
    4abfd597fe60 net: make get_net_ns return error if NET_NS is disabled
    6a4b39944e2f net: stmmac: dwmac1000: Fix extended MAC address registers definition
    6392ed82ad08 cxgb4: halt chip before flashing PHY firmware image
    b38ec782d004 cxgb4: fix sleep in atomic when flashing PHY firmware
    3d60457d74d9 cxgb4: fix endianness when flashing boot image
    5bf940fe91f8 alx: Fix an error handling path in 'alx_probe()'
    0adf32c033a5 selftests: mptcp: enable syncookie only in absence of reorders
    eab06f7504da mptcp: do not warn on bad input from the network
    222ebeda1702 mptcp: try harder to borrow memory from subflow under pressure
    3b491dd593d5 sch_cake: Fix out of bounds when parsing TCP options and header
    73eeba71dc99 mptcp: Fix out of bounds when parsing TCP options
    9cdf299ba4e1 netfilter: synproxy: Fix out of bounds when parsing TCP options
    a336dc6fdd56 net/mlx5e: Block offload of outer header csum for UDP tunnels
    34ff3770bff8 net/mlx5: DR, Don't use SW steering when RoCE is not supported
    3623bfcab3bf net/mlx5: DR, Allow SW steering for sw_owner_v2 devices
    792f16e083b5 net/mlx5: Consider RoCE cap before init RDMA resources
    be7f3f401d22 net/mlx5e: Fix page reclaim for dead peer hairpin
    02c55a257046 net/mlx5e: Remove dependency in IPsec initialization flows
    4733b73709a2 net/sched: act_ct: handle DNAT tuple collision
    c8f1437c0145 rtnetlink: Fix regression in bridge VLAN configuration
    8729ec8a2238 udp: fix race between close() and udp_abort()
    7dd7b1e4d929 ice: parameterize functions responsible for Tx ring management
    805ae44fc0a8 ice: add ndo_bpf callback for safe mode netdev ops
    27e3d7da654d netfilter: nft_fib_ipv6: skip ipv6 packets from any to link-local
    5cea03aef609 net: lantiq: disable interrupt before sheduling NAPI
    db5f4adc93bd net: dsa: felix: re-enable TX flow control in ocelot_port_flush()
    5946fbf48355 net: rds: fix memory leak in rds_recvmsg
    aba26b38388e vrf: fix maximum MTU
    deeeb65c6ee4 net: ipv4: fix memory leak in netlbl_cipsov4_add_std
    2088824ac90b libbpf: Fixes incorrect rx_ring_setup_done
    195585ddb767 mlxsw: core: Set thermal zone polling delay argument to real value at init
    e95848e9b52c mlxsw: reg: Spectrum-3: Enforce lowest max-shaper burst size of 11
    5a1cd67a801c mac80211: fix skb length check in ieee80211_scan_rx()
    282baa8104af batman-adv: Avoid WARN_ON timing related checks
    ae1d3b989d19 fanotify: fix copy_event_to_user() fid error clean up
    018685461a5b kvm: LAPIC: Restore guard to prevent illegal APIC register access
    9e379da727a7 mm/memory-failure: make sure wait for page writeback in memory_failure
    090b1bb928a9 afs: Fix an IS_ERR() vs NULL check
    5efb0b3886c3 dmaengine: stedma40: add missing iounmap() on error in d40_probe()
    ff864fa71aa0 dmaengine: SF_PDMA depends on HAS_IOMEM
    c0090b0169d6 dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM
    f984fa006b8b dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM
    be4789636f72 dmaengine: xilinx: dpdma: initialize registers before request_irq
    edd60afc3fc3 dmaengine: fsl-dpaa2-qdma: Fix error return code in two functions
    4d74c9802328 dmaengine: idxd: add missing dsa driver unregister
    037a447b7a0b Linux 5.10.45
    808fcc1e707c fib: Return the correct errno code
    d8b2e3e17c33 net: Return the correct errno code
    04c1556bfc79 net/x25: Return the correct errno code
    0aa356950800 rtnetlink: Fix missing error code in rtnl_bridge_notify()
    9250f97fd594 drm/amd/amdgpu:save psp ring wptr to avoid attack
    9e8c2af01046 drm/amd/display: Fix potential memory leak in DMUB hw_init
    75fa7fbef132 drm/amdgpu: refine amdgpu_fru_get_product_info
    34fe4ccb1fe5 drm/amd/display: Allow bandwidth validation for 0 streams.
    ecd26536ec5b net: ipconfig: Don't override command-line hostnames or domains
    511a01029115 nvme-loop: do not warn for deleted controllers during reset
    155c2fea4b31 nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()
    620424df29a0 nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails
    1c80ca596cab nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
    b8fdea0695fd scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V
    f8ac1bd5270b Bluetooth: Add a new USB ID for RTL8822CE
    5491d97078fe scsi: qedf: Do not put host in qedf_vport_create() unconditionally
    609b56e9791c ethernet: myri10ge: Fix missing error code in myri10ge_probe()
    5d5f0d945d47 scsi: target: core: Fix warning on realtime kernels
    a61156314b66 gfs2: Fix use-after-free in gfs2_glock_shrink_scan
    bb73f2f78969 riscv: Use -mno-relax when using lld linker
    35277c1a6669 HID: gt683r: add missing MODULE_DEVICE_TABLE
    7a557de07917 gfs2: fix a deadlock on withdraw-during-mount
    c3e9ea16adc1 gfs2: Prevent direct-I/O write fallback errors from getting lost
    864b5a8d5390 ARM: OMAP2+: Fix build warning when mmc_omap is not built
    247ec8ee0bf2 ARM: OMAP1: Fix use of possibly uninitialized irq variable
    3c0ad70cba1f drm/tegra: sor: Fully initialize SOR before registration
    9c1d492baa91 gpu: host1x: Split up client initalization and registration
    570b3e4020f2 drm/tegra: sor: Do not leak runtime PM reference
    b1e3596416d7 HID: usbhid: fix info leak in hid_submit_ctrl
    1dfd9f18ca64 HID: Add BUS_VIRTUAL to hid_connect logging
    258d3fdbb15e HID: multitouch: set Stylus suffix for Stylus-application devices, too
    6a142ea61074 HID: quirks: Add quirk for Lenovo optical mouse
    716a087adc22 HID: hid-sensor-hub: Return error for hid_set_field() failure
    0bd8a4b46cdb HID: hid-input: add mapping for emoji picker key
    b3c5bfc43c5e HID: a4tech: use A4_2WHEEL_MOUSE_HACK_B8 for A4TECH NB-95
    be6c98879205 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65
    c7836de2cadd net: ieee802154: fix null deref in parse dev addr
    f2b1fc360fa1 Linux 5.10.44
    ef9a0d224baf proc: only require mm_struct for writing
    43c32c22254b tracing: Correct the length check which causes memory corruption
    5b537408f273 scsi: core: Only put parent device if host state differs from SHOST_CREATED
    0a31d1237aaf scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
    146446a43b3d scsi: core: Fix failure handling of scsi_add_host_with_dma()
    7a696ce1d5d1 scsi: core: Fix error handling of scsi_host_alloc()
    6e13b9bc66f0 NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
    d973bd0d6e7f NFSv4: Fix second deadlock in nfs4_evict_inode()
    c3b6cf64dfe4 NFS: Fix use-after-free in nfs4_init_client()
    9064c9d544b9 kvm: fix previous commit for 32-bit builds
    351075bcfea9 perf session: Correct buffer copying when peeking events
    b4651cea43af NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode()
    279ad78a00f8 NFS: Fix a potential NULL dereference in nfs_get_client()
    91f7fdc4cc10 IB/mlx5: Fix initializing CQ fragments buffer
    d046f724bbd7 KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message
    4921feb0e5be x86/nmi_watchdog: Fix old-style NMI watchdog regression on old Intel CPUs
    190a7f908993 sched/fair: Fix util_est UTIL_AVG_UNCHANGED handling
    32e22db8b25e sched/fair: Make sure to update tg contrib for blocked load
    4c37b062edae sched/fair: Keep load_avg and load_sum synced
    c64a3be39fa9 perf: Fix data race between pin_count increment/decrement
    e0b518a2eb44 gpio: wcd934x: Fix shift-out-of-bounds error
    56a388a9cc1e phy: ti: Fix an error code in wiz_probe()
    62d891861f83 ASoC: meson: gx-card: fix sound-dai dt schema
    0e2c9aeb0028 ASoC: core: Fix Null-point-dereference in fmt_single_name()
    d83075c25a28 phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe()
    c9cb5837e92e tools/bootconfig: Fix error return code in apply_xbc()
    16ccdcdfe668 vmlinux.lds.h: Avoid orphan section with !SMP
    c25ec6386a81 ARM: cpuidle: Avoid orphan section warning
    cb1aa1da0488 RDMA/mlx4: Do not map the core_clock page to user space unless enabled
    67cf4e447b5e RDMA/ipoib: Fix warning caused by destroying non-initial netns
    fd681a8c7ac8 drm/msm/a6xx: avoid shadow NULL reference in failure path
    0bc79f4b7ac6 drm/msm/a6xx: update/fix CP_PROTECT initialization
    5b7dc8329d7a drm/msm/a6xx: fix incorrectly set uavflagprd_inv field for A650
    5a61f69da3b8 drm/mcde: Fix off by 10^3 in calculation
    d68889298029 usb: typec: mux: Fix copy-paste mistake in typec_mux_match
    9e0677c2e390 usb: dwc3: gadget: Disable gadget IRQ during pullup disable
    cc440da4aad9 phy: usb: Fix misuse of IS_ENABLED
    aafc51fddfa8 regulator: rtmv20: Fix .set_current_limit/.get_current_limit callbacks
    4579f6517679 regulator: bd71828: Fix .n_voltages settings
    5a5f5cfb5f09 regulator: fan53880: Fix missing n_voltages setting
    c365ff97617c regulator: bd718x7: Fix the BUCK7 voltage setting on BD71837
    e3a502abf506 regulator: max77620: Use device_set_of_node_from_dev()
    06653ebc0ad2 regulator: core: resolve supply for boot-on/always-on regulators
    7dcdfa28e1fe usb: typec: tcpm: cancel frs hrtimer when unregister tcpm port
    18eaf0de50ea usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port
    b972eff87463 usb: fix various gadget panics on 10gbps cabling
    4b289a0f3033 usb: fix various gadgets null ptr deref on 10gbps cabling.
    6bf8ff7d0520 usb: gadget: eem: fix wrong eem header operation
    21bee94fb9e4 USB: serial: cp210x: fix alternate function for CP2102N QFN20
    4fa815beeaf0 USB: serial: quatech2: fix control-request directions
    ef91a6bd9469 USB: serial: omninet: add device id for Zyxel Omni 56K Plus
    1e2d41c17f43 USB: serial: ftdi_sio: add NovaTech OrionMX product ID
    5cead896962d usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
    0b3bb7950e73 usb: typec: intel_pmc_mux: Add missed error check for devm_ioremap_resource()
    6900ef1b1095 usb: typec: intel_pmc_mux: Put fwnode in error case during ->probe()
    572de10087a9 usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
    7cee4344cbb3 usb: typec: wcove: Use LE to CPU conversion when accessing msg->header
    199af8a06de2 usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling
    470403639114 usb: dwc3: ep0: fix NULL pointer exception
    851dee5a5da5 usb: dwc3: gadget: Bail from dwc3_gadget_exit() if dwc->gadget is NULL
    2af93b437a61 usb: dwc3: meson-g12a: Disable the regulator in the error handling path of the probe
    750a0d755642 usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled
    b452e8bb7c52 usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms
    0ff5f83ae147 usb: f_ncm: only first packet of aggregate needs to start timer
    0f5a20b1fd9d USB: f_ncm: ncm_bitrate (speed) is unsigned
    1bf2c28ab268 mmc: renesas_sdhi: Fix HS400 on R-Car M3-W+
    67aca230caf3 mmc: renesas_sdhi: abort tuning when timeout detected
    97524384762c ftrace: Do not blindly read the ip address in ftrace_bug()
    74d3b20b1b20 cgroup1: don't allow '\n' in renaming
    31fe243a6376 btrfs: promote debugging asserts to full-fledged checks in validate_super
    ca69dc891b28 btrfs: return value from btrfs_mark_extent_written() in case of error
    bf240fee5b34 async_xor: check src_offs is not NULL before updating it
    8d5c0f6b7a78 staging: rtl8723bs: Fix uninitialized variables
    7af299b97734 kvm: avoid speculation-based attacks from out-of-range memslot accesses
    6b6ff4d1f349 KVM: X86: MMU: Use the correct inherited permissions to get shadow page
    14831b79560b perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server
    aa8591a58cbd drm: Lock pointer access in drm_master_release()
    491d52e00788 drm: Fix use-after-free read in drm_getunique()
    afd87792db35 Revert "ACPI: sleep: Put the FACS table after using it"
    82a8ffba54d3 spi: bcm2835: Fix out-of-bounds access with more than 4 slaves
    05e6b7159475 ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8
    d62d55f3941b ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 840 Aero G8
    557306806777 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP EliteBook x360 1040 G8
    bd0fe358d182 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Elite Dragonfly G2
    6a81e47788ff ALSA: hda/realtek: headphone and mic don't work on an Acer laptop
    98f842951f8a ALSA: firewire-lib: fix the context to call snd_pcm_stop_xrun()
    bd7d88b0874f ALSA: seq: Fix race of snd_seq_timer_open()
    fff6af6deae8 i2c: mpc: implement erratum A-004447 workaround
    d78b76af9f61 i2c: mpc: Make use of i2c_recover_bus()
    fa05ba61967a spi: Cleanup on failure of initial setup
    0c4d4de2da4d spi: Don't have controller clean up spi device before driver unbind
    3a5b982463f4 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
    a7c3c17867b3 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
    590f718a6473 nvmet: fix false keep-alive timeout when a controller is torn down
    2538f06f9468 nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
    b0308804b2e0 bnx2x: Fix missing error code in bnx2x_iov_init_one()
    90547d5db50b dm verity: fix require_signatures module_param permissions
    7519ece673e3 MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
    37a079a6ae14 nvme-fabrics: decode host pathing error for connect
    f42afc0f2902 net: dsa: microchip: enable phy errata workaround on 9567
    ee144b798028 net: appletalk: cops: Fix data race in cops_probe1
    a385cbf31ed0 net: macb: ensure the device is available before accessing GEMGXL control registers
    bbb48789b62a scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
    16763635285c scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq
    eac1d159b7a3 scsi: vmw_pvscsi: Set correct residual data length
    30030c6ff3d4 scsi: bnx2fc: Return failure if io_req is already in ABTS processing
    8d717c9135a3 net:sfc: fix non-freed irq in legacy irq mode
    e806df71eed2 RDS tcp loopback connection can hang
    4353eb42180d net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
    ad241cb1cffb wq: handle VM suspension in stall detection
    5ca472d40e2d cgroup: disable controllers at parse time
    be23c4af3d8a net: mdiobus: get rid of a BUG_ON()
    1d6d43d4805d netlink: disable IRQs for netlink_lock_table()
    42e490013809 bonding: init notify_work earlier to avoid uninitialized use
    143fc7220961 isdn: mISDN: netjet: Fix crash in nj_probe:
    2e2145ccfbcb usb: chipidea: udc: assign interrupt number to USB gadget structure
    06e84ea1f457 spi: sprd: Add missing MODULE_DEVICE_TABLE
    369f3caa4d74 ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
    01905f3232fd vfio-ccw: Serialize FSM IDLE state with I/O completion
    cad3dc73c064 vfio-ccw: Reset FSM state to IDLE inside FSM
    4352209ed0f0 ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet
    a5ee8f54d0ab ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet
    2f523cd4a931 usb: cdns3: Fix runtime PM imbalance on error
    1e5cab50208c net/nfc/rawsock.c: fix a permission check bug
    584b2c7ce244 bpf: Forbid trampoline attach for functions with variable arguments
    fb91ab403e6e spi: spi-zynq-qspi: Fix stack violation bug
    4b8b7bc3a726 spi: Fix spi device unregister flow
    cb24d57ad572 ASoC: amd: fix for pcm_read() error
    3b89db7468f7 ASoC: max98088: fix ni clock divider calculation
    f70102cb369c proc: Track /proc/$pid/attr/ opener mm_struct

(From OE-Core rev: 43b63c7974584b117c65f422ee8a07d7954d5319)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Richard Purdie
1d1afe6a2b kernel-devicetree: Fix interaction when packaging disabled
When packaging is disabled using the nopackages class, ensure we don't
add to PACKAGES. This fixes builds where we have an unpackaged kernel
alongside a packaged kernel.

(From OE-Core rev: d6b114cf5a9b22688c0b59a3afc46a07450d87b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Richard Purdie
10b39fb94b kernel: Fix interaction when packaging disabled
When packaging is disabled using the nopackages class, ensure we don't
add to PACKAGES. This fixes builds where we have an unpackaged kernel
alongside a packaged kernel.

(From OE-Core rev: 2522daf22e2c27dd9c7926feda0345978217c6c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Max Krummenacher
9c591cfa06 xwayland: port packageconfig from xserver-xorg recipe
Copy the packageconfig options from the xserver-xorg recipe to
allow configuring for non mesa opengl backends.

Keep the defaults as set in the xserver-xorg recipe.

The following options no longer exists and are dropped:
udev dga dri dri2 xshmfence xmlto systemd-logind systemd xwayland

(From OE-Core rev: fce9c89c33ba6c6540fc92b729e0b7b34a6d7a3b)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Trevor Gamblin
e1da684aef python3-pip: add multiprocessing to RDEPENDS
Without it, simple invocations like "pip3 list" will fail with a
ModuleNotFoundError for multiprocessing.

(From OE-Core rev: b030aecdd2e92324caac9a73a1fdcdf013b43d16)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Trevor Gamblin
cf285f9682 python3-pip: upgrade 20.0.2 -> 21.1.2
21.1.2 contains a fix for CVE-2021-3572
(e46bdda971)

The LICENSE.txt signature changed due to an update to the copyright
dates, but the terms are the same.

Also update 0001-change-shebang-to-python3.patch to cover all files in
pip's src directory, since we need to ensure compatibility.

Finally, fix the ordering of the "inherit" and "SRC_URI" lines so that
devtool will correctly identify that there is a new version upstream.

(From OE-Core rev: 2135167ca86ff9d112ef3e71f5320c775d075b6c)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Alexey Brodkin
e1cb57a498 default-distrovars.inc: Remove seccomp for ARC
libseccomp needs too be ported to ARC first

(From OE-Core rev: 7cf427c970aed618f79be90be04e9b756f142c45)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Alexey Brodkin
22d2800f42 dpkg: Add ARC support
This back-ports ARC support which was added after the most recent
tag 1.20.9 was cut. So on the next version bump this change to be
reverted.

(From OE-Core rev: aa0493af960cac5c2346c81100eb31d757c561a0)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Scott Weaver
90ec6e39f3 meta-skeleton: update to satisfy yocto-check-layer tests
Added readme to satisfy the readme file test.
Updated busybox bbappend to satisfy the signature test.

[YOCTO #13612]

(From OE-Core rev: b2419bfaf28903d52dd88a3db7985c71e8ed814a)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Lee Chee Yang
8444eacecd qemu: fix CVE-2021-3527
(From OE-Core rev: 6774efd1e3d0bd5c8c34f84dcf4f698d7eafb36a)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Saul Wold
f0b9303004 qemurunner: Add info log for qemu startup
Add a couple of logging info to track time between activities, first
is from after the Popen(launch_cmd) to after qmp.connect(), second is
from qmp.connect() to the release of the qemu via the qmp("cont") command
this includes the mmap() activity.

Example output:
QMP connected to QEMU at 06/24/21 11:11:56 and took 0.9556229114532471 seconds from launch
QMP released QEMU at 06/24/21 11:11:56 and took 0.26789021492004395 seconds from connect

(From OE-Core rev: 547f49230ba4ebeefe5b696e0460ebaffa8e91e6)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Andrej Valek
7ef8f45b26 busybox: add tmpdir option into mktemp applet
- Make mktemp applet compatible with --tmpdir option in ca-certificate
update script.

(From OE-Core rev: 3d969e482d29da29828d1510f106f161d2b3d3c0)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Richard Purdie
e3c2c1525e selftest/fetch: Avoid occasional selftest failure from poor temp file name choice
The temp file name may contain "_" characters. Switch to a temporary directory
and a fixed filename to avoid this to avoid errors like:

bb.data_smart.ExpansionError: Failure expanding variable PN, expression was
${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}
which triggered exception ParseError:
ParseError in /tmp/tmpd_f2__to.bb: Unable to generate default variables from
filename (too many underscores)

(From OE-Core rev: 086e2ae7b2b7496b4f3ae01436b4049d7f2ff8c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Zqiang
3ea3e3435f ifupdown: Skip wrong test item
Skip wrong testcase(12-15) in testbuild-linux and rebase the patch
tweak-ptest-script.patch.

(From OE-Core rev: 4edcfbace258d94d814c7d61f467e5384e2645fb)

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:30:22 +01:00
Richard Purdie
525b85660e package_pkgdata: Avoid task hash mismatches for generic task changes
Add SSTATETASKS to package_prepare_pkgdata[vardepsexclude] since otherwise
the task hashes vary depending upon which packaging backends are enabled
and likely other changes which add/remove unrelated sstate tasks.

(From OE-Core rev: 4011d31d4372639fd72ee0eefae210bf59c90d13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:39 +01:00
Alexander Kanavin
5a0a8d2e1e pypi: set SRC_URI with _prepend, not with +=
This did not cause problems in builds, but broke some devtool
workflows such as version upgrades or checking the latest version
from upstream. Tarballs should come first, not the patches.

(From OE-Core rev: 5cee50c25197102658e0689f635b2d567a375471)

(From OE-Core rev: 8f17b8bce85efb0e9a7e15d0b98a5cf7b6bd9750)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Ross Burton
252d9a4edb glibc: re-enable memory tagging
Now that the performance regressions caused by MTE have been resolved, we
can enable memory tagging again.

It is safe to globally enable the config as glibc does nothing if it isn't
supported on that target.

(From OE-Core rev: 5910d46b2a4b4387c12feb447c42864ec6b7828c)

(From OE-Core rev: deea7b96a0a4232c8119549dc2e8ecbc0bf47f0f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Ross Burton
bd5fa06a7f glibc: backport MTE improvements from master
After realising that the MTE support in 2.33 was suboptimal, discussion with
upstream revealed that these issues are known and already fixed.

They will be in glibc 2.34 which is scheduled for August, so backport the
fixes for now.

(From OE-Core rev: e5eadbf45b7fb953c557438854b0a96ba740c589)

(From OE-Core rev: c458fc59f5d0bbb68b75c0526c9183269e0efbe5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
wangmy
d109c8d440 python3-numpy: upgrade 1.20.3 -> 1.21.0
refresh 0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch

License-Updage: Copyright year updated to 2021

(From OE-Core rev: f2ad567dbcb846f39fbdbd8e4e432cd2d1bd0d0a)

(From OE-Core rev: 71ca892db9cb863245f9cbf67bb65afb39ef7853)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
wangmy
549bb5a31b libxcrypt: upgrade 4.4.22 -> 4.4.23
(From OE-Core rev: 8dca3e42409ae5f81094c4c422ec6e5408f2d219)

(From OE-Core rev: eb3ff21c6e668ef72ea2bf4f6495c44d75f61706)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
wangmy
297697a6f9 libva: upgrade 2.11.0 -> 2.12.0
(From OE-Core rev: 4abdc18d37e7ac039e71c613b9bb7a4c19c67b7b)

(From OE-Core rev: 5eb537767bb8d3e938b2c5f3cc740eae0cf96094)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
wangmy
da6e2a3c36 libhandy: upgrade 1.2.2 -> 1.2.3
(From OE-Core rev: f820f2fd8f7b5fb8b3fc7b62cbc08940dd992052)

(From OE-Core rev: 1d39f667d3bf1a4180dd8b5858d742bbd795bd2e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
wangmy
46e198e2f3 libcap: upgrade 2.50 -> 2.51
refresh 0001-tests-do-not-statically-link-a-test.patch

(From OE-Core rev: 07f0e1a6e92800f651627687edbc51c714947846)

(From OE-Core rev: 734a489a2d9891f1f42144923ce67a3faeb5713e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Alexander Kanavin
9c1fa69c54 python3: apply test skipping patch unconditionally
Testing IMAGE_FEATURES from component recipes cannot possibly work;
adjusting the test to soft-fail if needed items are not available
is not trivial, so let's just skip unconditionally for now.

(From OE-Core rev: 68b816cb90badddd0aafa2a5c6633e000cb21a21)

(From OE-Core rev: 01b41f7deed48b33b35c84e32ef55de3e63b9bc1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Alexander Kanavin
0223d82562 x264: upgrade to latest revision
(From OE-Core rev: dbf31657f0ef219fa38b4d0b59ae687ea5a2982e)

(From OE-Core rev: 6ff904dc94c8bb8b7b4923617769f26f3b3be063)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Alexander Kanavin
434c0f989b vte: upgrade 0.64.1 -> 0.64.2
(From OE-Core rev: b762788c39026cef2b1e5a5f99e3f19727d0da4f)

(From OE-Core rev: 4f0c1c88fcce6e273a8dc2350b76876009a75fd6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Alexander Kanavin
73546784a2 sqlite3: upgrade 3.35.5 -> 3.36.0
(From OE-Core rev: 118564912d65135e971778eac16667a40fd062b4)

(From OE-Core rev: 70da06a05972af2953ce57042aaa605281685030)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
0c78da38f1 python3-git: upgrade 3.1.17 -> 3.1.18
(From OE-Core rev: a8f8f614c75a1a5ca8759cb0aae8bdf9e8b60083)

(From OE-Core rev: 5ca7af1fa2ac2df2fdd72ffbc8222fce94426c6e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
2b952aa25d mtools: upgrade 4.0.29 -> 4.0.31
(From OE-Core rev: 26c02f5c588cc0b0068d235eacc22ffd058bd923)

(From OE-Core rev: fb5ef9d1d3e9fdefc6ae7968da668c8b79c2429f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
c483757189 libxi: upgrade 1.7.10 -> 1.7.99.2
(From OE-Core rev: 6ff1ab3fc0f12c2ffc81085b35b0041f435a8f94)

(From OE-Core rev: 89447c92908973813386d947de62e630ceaf0e6f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
affde31a0d libpcre: upgrade 8.44 -> 8.45
License-Update: copyright years

(From OE-Core rev: 19358939442d659a337cd525e2a33581d6c87b34)

(From OE-Core rev: e1613edf0631a785485be671737afabe230c992e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
75412907da libdnf: upgrade 0.63.0 -> 0.63.1
(From OE-Core rev: 5d989a6255605c37af9813cf1463f32d6db1a46d)

(From OE-Core rev: e2e1a35ce3d14baf83621fa5b0d4c8de1bcb2753)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
8f31b6e41d dejagnu: upgrade 1.6.2 -> 1.6.3
(From OE-Core rev: 76427f885836c930f85e7befcbec237f39bc5eb7)

(From OE-Core rev: 2662642acc563203afe9cefabbbe38dc3ed0083f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
cf6d214bd8 bluez5: upgrade 5.58 -> 5.59
(From OE-Core rev: 9c42e84c68990b49c71f0fafb3575bf9683414b4)

(From OE-Core rev: ecb10add0ea8f8e046fcba2bcb5ce2a86234218d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
50954707fd bind: upgrade 9.16.16 -> 9.16.18
(From OE-Core rev: e3e4f7b9c95b7c89ab1542483f1782ae884d4ebb)

(From OE-Core rev: b3c94e9a50a64f56296500063c0c2baea6de4d16)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
bfec99bacf vulkan-samples: update to latest revision
(From OE-Core rev: 39b61ce2380cc89dadccee4cf7e6444605fe0ad2)

(From OE-Core rev: 83bf8a89c04e155db236cf72b138943980ebdaca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
e5cdf655b8 dnf: updatee 4.7.0 -> 4.8.0
Remove patches merged upstream.

(From OE-Core rev: f647f368899c88b64d9feffb8d1cde7c3f96bdaa)

(From OE-Core rev: cd66d0c0b08f2e5a64a67f257350456f0f2cbc02)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
8897e63ab9 bash: update 5.1 -> 5.1.8
(From OE-Core rev: 65ccd5fb231b8628374aac5eadae57d8179490ec)

(From OE-Core rev: 713860c05ba9a11a20c3a983dd45fc06f19cddc0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
5e805316bb gnu-config: update to latest revision
(From OE-Core rev: 0ccf1c364c8bf5386896ebd9f00872b096cb268d)

(From OE-Core rev: 3d7df8754ab000b32a672f8c8b8a9901b90ea02f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
0c18344c1f cmake: update 3.20.3 -> 3.20.4
(From OE-Core rev: 312b31a71a793851451e0860f162b8a65ec80835)

(From OE-Core rev: fca0d1a265a1bb2567cee203e5fea99c13e252b5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
c341eea9e9 devtool upgrade: rebase override-only patches as well
There's a number of recipes (such as nettle or glib) which were upgraded
incorrectly due to rebasing only the default set of patches in main SRC_URI.
Native-only or musl-only patches were not handled, causing do_patch fails
and overall misery.

Unfortunately, this also necessitates aborting any incomplete rebases as
devtool needs to be able to return to the original branch to complete
the upgrade command.

Also, do not add devtool-patched-%version tags, as they are not used anywhere,
and it's unclear how to extend them to cover multiple override branches.

(From OE-Core rev: 00131cbc969f6a73caffe068fcb983287cbe577f)

(From OE-Core rev: 588d04748dd89b5371ca9144666e97ec82dd6204)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Justin Bronder
2834c2f853 populate_sdk_ext: copy BBMULTICONFIG files
As the generated local.conf includes BBMULTICONFIG, the referenced files
in conf/multiconfig also need to be copied.  Otherwise with
BBMULTICONFIG="abc" for instance, building the esdk fails with:

ERROR: ParseError at tmp/build-glibc/work/qemux86_64-oe-linux/core-image-ssh/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/openembedded-core/meta/conf/bitbake.conf:767: Could not include required file conf/multiconfig/abc.conf

(From OE-Core rev: 8bc339b83a45becc0c7edf016fcce187152669e3)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Ming Liu
fc253e327c uboot-sign.bbclass: fix some install commands
A "install -d" command is missing when dealing with
${UBOOT_NODTB_BINARY} in install_spl_helper function, this can lead
to invalid install error saying:

| install: cannot create .../usr/share/u-boot-nodtb-2021.04-r0.bin': No such file or directory

Let's drop all "install -d" and replace them with "install -Dm" in
install_helper/install_spl_helper functions.

(From OE-Core rev: db2b1da511ea3d4daef136a8b1d85b7040a46632)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Ming Liu
e9fa8f9001 u-boot-tools: fix a mkimage signature issue
A following error was observed:
| Can't write signature for 'signature@1' signature node in 'conf@imx6ull-colibri-wifi-eval-v3.dtb' conf node: <unknown error>
| uboot-mkimage Can't add hashes to FIT blob: -1

This is caused by a wrong return value being used in uboot source.

The return value '-ENOSPC' of fit_set_timestamp function does not match
the caller fit_image_write_sig's expection which is '-FDT_ERR_NOSPACE'.

Fix it by not calling fit_set_timestamp, but call fdt_setprop instead.

(From OE-Core rev: 8628a276a01e994e84d3c6ac8397860e8e2bbb5b)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Anders Wallin
456191f937 coreutils: remove NOSTAT_LEAF_OPTIMIZATION
coreutils is using gnulib as a submodule. In the tarball used by the recipe the
gnulib source is included. The patch comes from
gnulib
47bf2cf318
In the next release of coreutils this fix will be included.

It caused ‘find’ and ‘du’ to dump core, and it was useful
only for obsolescent Linux filesystems anyway.  Problem reported in:
https://lists.gnu.org/r/bug-gnulib/2020-04/msg00068.html
Quite possibly there is still a serious underlying fts bug with
tight-loop-check and mutating file systems, but if so this patch
should cause the bug to be triggered less often.
* lib/fts.c (enum leaf_optimization): Remove
NOSTAT_LEAF_OPTIMIZATION, as it’s problematic.
(S_MAGIC_REISERFS, S_MAGIC_XFS): Remove; no longer needed.
(leaf_optimization): Remove special cases for ReiserFS and XFS.
(fts_read): Remove NOSTAT_LEAF_OPTIMIZATION code.
* lib/fts_.h (struct _ftsent.fts_n_dirs_remaining):
Remove.  All uses removed.

(From OE-Core rev: d5d0f173be8cc27a0d5c475754483e76185b46b8)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Saul Wold
ab507fad57 qemurunner: add second qmp port
This will allow for direct ssh connection without breaking
the first one that is used for monitoring. The "nowait" option
will cause qmp server connection to NOT block waiting.

(From OE-Core rev: 40f09e184afd42decf2f924896fef03beacddc4b)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Khem Raj
bb30baceec sdk: Enable do_populate_sdk with multilibs
This patch enables building image based SDKs for multi-libbed images
e.g. lib32-core-image-minimal and so on. Change the path to nativesdk
tools to use recipe-sysroot since thats where the nativesdk components
are installed and it will need access to qemu wrappers during build for
processing intercepts

[YOCTO #14444]

(From OE-Core rev: 6196a785eababb040ee1dee9f33cb6d6dad77eef)

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>
2021-06-22 15:18:11 +01:00
Alexey Brodkin
8f0c68a7a6 gcc: Apply multilib fix to ARC as well
W/o that hack target GCC assume existence of per-mcpu folders,
which are missing.

In particular G++ failed to find "bits/c++config.h":
------------------>8------------------
 root@hsdk:~# cat test.cc
 #include <cstdlib>

 int myfunc(void)
 {
 }

 root@hsdk:~# g++ -c test.cc -v
 Using built-in specs.
 COLLECT_GCC=g++
 Target: arc-oe-linux
 Configured with: ../../../../../../work-shared/gcc-11.1.0-r0/gcc-11.1.0/configure --build=x86_64-linux --host=arc-oe-linux --target=arc-oe-linux --prefix=/usr --exec_prefix=/usr -x
 Thread model: posix
 Supported LTO compression algorithms: zlib
 gcc version 11.1.1 20210523 (GCC)
 COLLECT_GCC_OPTIONS='-c' '-v' '-shared-libgcc' '-mcpu=hs38_linux'
  /usr/libexec/gcc/arc-oe-linux/11.1.1/cc1plus -quiet -v -imultilib hs38_linux -D_GNU_SOURCE test.cc -quiet -dumpbase test.cc -dumpbase-ext .cc -mcpu=hs38_linux -version -o /tmp/ccs
 GNU C++17 (GCC) version 11.1.1 20210523 (arc-oe-linux)
         compiled by GNU C version 11.1.1 20210523, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none
 GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129242
 ignoring nonexistent directory "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux/hs38_linux"
 ignoring nonexistent directory "/usr/lib/arc-oe-linux/11.1.1/include"
 ignoring nonexistent directory "/usr/local/include"
 ignoring nonexistent directory "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../arc-oe-linux/include"
 #include "..." search starts here:
 #include <...> search starts here:
  /usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1
  /usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/backward
  /usr/lib/gcc/arc-oe-linux/11.1.1/include
  /usr/lib/gcc/arc-oe-linux/11.1.1/include-fixed
  /usr/include
 End of search list.
 GNU C++17 (GCC) version 11.1.1 20210523 (arc-oe-linux)
         compiled by GNU C version 11.1.1 20210523, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none
 GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129242
 Compiler executable checksum: 6df2f07a822bfbbb80a61414b712b75d
 In file included from test.cc:1:
 /usr/include/c++/11.1.1/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
    41 | #include <bits/c++config.h>
       |          ^~~~~~~~~~~~~~~~~~
 compilation terminated.
------------------>8------------------

Note "ignoring nonexistent directory "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux/hs38_linux"
message which is being used by GCC due to the fact of implicit "-mcpu=hs38_linux".

In fact this header "bits/c++config.h" is located in "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux"
on target.

(From OE-Core rev: fbdc4422361a520af458468d836a8e4159dc22d6)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Andreas Müller
81e5c11623 mesa: upgrade 21.1.2 -> 21.1.3
Changelog:

Bug fixes
* radv: ACO miscompiles a specific DIRT 5 shader
* Segfault in mtx_unlock/amdgpu_bo_slab_destroy
* [radeonsi] Incorrect rendering when using glDisable(GL_MULTISAMPLE) with multisample backbuffer
* kwin_x11 ring gfx_0.0.0 timeout
* [i965] regression: piglit.spec.arb_depth_buffer_float.fbo-depthstencil-gl_depth32f_stencil8-drawpixels

Changes
* classic/xlib: Fix the build after !9817
* radv: Don’t skip barriers that only change queues.
* radv: Actually return correct value for read-only DCC compressedness.
* radv: Allow DCC images to be compressed with foreign queues.
* llvmpipe: add the interesting bit of cpu detection to the cache.
* zink: Correct compiler issue with have_moltenvk member having been moved.
* .pick_status.json: Update to db83dc619c96c35a039f2d8a32e1a179c0f00d64
* .pick_status.json: Update to f884c2e3be363903a59dbee01868c7ad0bf0f346
* .pick_status.json: Update to 561f9ae74b2b7da06bb4830aaca8d017a3dd2746
* llvmpipe: fix edge-rule logic for lines
* anv: Clear all pending stall after pipe flush
* util: Zero out all of mask in util_set_thread_affinity
* panfrost: Use first_tiler to check if tiling is needed
* intel/vec4: Also use MOV_FOR_SCRATCH for swizzle resolves
* anv: Handle OOM in the pinned path in anv_reloc_list_add
* sparc: Avoid some redefinition warnings
* zink: ci updates
* anv: fix availability for copying timestamp query results
* util/vbuf: fix buffer overrun in attribute conversions
* zink: fix caching of shader variants with inlined uniforms
* zink: use scissor region for discarding clears during blit
* zink: fix typo that’s definitely not at all embarrassing or anything like that
* svga: Initialize pipe_shader_state for transform shaders
* docs/install: remove one extra when
* frontend/dri: set PIPE_BIND_PROTECTED later
* frontend/dri: fix bool/int comparison
* radeonsi: fix encryption check for buffers
* radeonsi: add a gfx10 bug workaround for NOT_EOP
* radeonsi: dirty msaa_config on rs->multisample_enable change
* winsys/amdgpu: don’t read bo->u.slab.entry after pb_slab_free
* aco: do not clause NSA instructions
* aco: don’t create 4 and 5 dword NSA instructions on GFX10
* aco: use v1b/v2b for ds_read_u8/ds_read_u16
* egl: zero is a valid fd
* freedreno/ir3: Fix use after free
* radv: enable RADV_DEBUG=invariantgeom for SotTR DX11/DX12 versions
* radv: emit PA_SC_CONSERVATIVE_RASTERIZATION_CNTL only on GFX9+
* aco: fix range checking for SSBO loads/stores with SGPR offset on GFX6-7
* aco: fix emitting literal offsets with SMEM on GFX7
* radv: do not launch an IB2 for secondary cmdbuf with INDIRECT_MULTI on GFX7
* radv: fix aligning the image offset by using align64()
* util/format: Change the pointer offset.
* aco/ra: Fix off-by-one-error in print_regs
* travis: Download XQuartz from GitHub.

(From OE-Core rev: e6e3570d9d555c0f2e62210a2163ae74cc495f2e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Bruce Ashfield
dfed30ed73 bsps/5.10: update to v5.10.43
Updating linux-yocto/5.10 to the latest korg -stable release, and to
match the qemu BSPs in oe-core

(From meta-yocto rev: c4d4fd958ace34f050d2830895470dacc2435b1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Richard Purdie
773f5bbde7 README.poky: Formatting and content cleanup
The README is rather out of date, update the content with the new content
properly in markdown format.

(From meta-yocto rev: d72000219ad03bb8e08c1cc84f6dbf44931155bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Alexander Kanavin
cdbbdb28a4 mesa: enable gallium intel drivers when building for x86
Iris is the default, recommended option for Skylake and newer nowadays,
i915 gallium is favoured over classic i915, and soon classic i965 will
be replaced by crocus gallium driver for i965-to-Haswell GPUs.

(From OE-Core rev: 670878b5919c2a67a2fea0b8e1f032e324fad5aa)

(From OE-Core rev: 5fdc061856348c0dab4dea7cfc0e9fdc1c95d85f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Alexander Kanavin
5b39d87851 glibc: do not enable memory tagging on aarch64 just yet
Sadly, it seems to break copy-on-write as reported here:
https://lists.openembedded.org/g/openembedded-core/message/153082

(From OE-Core rev: 6891217346128cf529c15192defa096378fc5091)

(From OE-Core rev: 85b5b9a3f793f66bd396daa585d8693e13c11b08)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Alexander Kanavin
cb7996ae21 selftest: do not hardcode /tmp/sdk
This races if there are several copies of the test running at the same
time.

[YOCTO #14438]

(From OE-Core rev: deab11848036941771f2b3dc5cdaee83395280b5)

(From OE-Core rev: ea707e8726cd7012d101d02e69503b7c98bdaf3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Tim Orling
721555184b python3: skip tests requiring tools-sdk
Conditionally skip test_ctypes.test_find unless
IMAGE_FEATURES contains 'tools-sdk' as these test
cases require full packagegroup-core-buildessential

Fixes:
  AssertionError: Failed ptests:
  {'python3': ['test_find_library_with_gcc', 'test_find_library_with_ld']}

(From OE-Core rev: 70e2fc066a18c35e42610d75eeaa1edd9aab7cf2)

(From OE-Core rev: c6567235cba55f50ca77d5db848c887232f3670c)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Bruce Ashfield
6636260620 btrfs-tools: include linux/const.h to fix build with 5.12+ headers
btrfs-tools compile fails with mips, musl and 5.12+ headers.

The definition of __ALIGN_KERNEL has moved in 5.12+ kernels, so we
add an explicit include of const.h to pickup the macro:

  | make: *** [Makefile:595: mkfs.btrfs] Error 1
  | make: *** Waiting for unfinished jobs....
  | libbtrfs.a(volumes.o): in function `dev_extent_search_start':
  | /usr/src/debug/btrfs-tools/5.12.1-r0/git/kernel-shared/volumes.c:464: undefined reference to `__ALIGN_KERNEL'
  | collect2: error: ld returned 1 exit status

This is safe for older kernels as well, since the header still
exists, and is valid to include.

(From OE-Core rev: 78eb20ed31e27865c990f96803215139bc99060f)

(From OE-Core rev: e81b531939214a1a34f8841a5f0aaf16fbbe4d08)

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>
2021-06-21 11:09:56 +01:00
Tony Battersby
4a490a6b5e glibc: fix path to place zdump in the tzcode package
zdump should be included in the tzcode package but is instead included
in the glibc-utils package due to an incorrect path in the recipe.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14427

(From OE-Core rev: bf3892cef3381f6bd277228cdcc5a00fcfe3f3af)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Sakib Sajal
7a09f8dde3 oe-time-dd-test.sh: add iostat command
(From OE-Core rev: 615f0492d224a4855e3f0d7a53b39767d5b4095a)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Michael Opdenacker
f585bf4c95 sdk-manual: add missing index references
(From yocto-docs rev: 3308b9bebce69cda1b2e0bd69f59b304ea1e367f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:02 +01:00
Michael Opdenacker
4be12b97dc sdk-manual: fix wrong word
(From yocto-docs rev: 93c43a019e3f44b0eb83a16e44372d98b5dce1a9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Michael Opdenacker
10e0ee9041 sdk-manual: add missing quoting around "devtool upgrade"
(From yocto-docs rev: 8863967d1e4e4a5b8014bf55302752419352c25d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Michael Opdenacker
b394cca927 manuals: fix issues related to trailing dots
Fix missing reference and styling issues found thanks
to trailing dots (only non black character in a line)

Matches (and multiple false positives) found with the below command:
git grep "\s\.$"

(From yocto-docs rev: 1d3026f50753d9ccf39b7d0163c77c765d754994)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Michael Opdenacker
e0ab2c01d6 migration guides: remove index reference to BB_SETSCENE_VERIFY_FUNCTION2
This variable is no longer documented in Bitbake's manual
as it's not in use any more.

(From yocto-docs rev: 68328d93023d2e3251a05ea2830c4f6b6de65708)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Quentin Schulz
7d3f57cfd2 docs: replace `FOO by :term:FOO` where possible
If a variable has a glossary entry and some rST files write about those
variables, it's better to point to the glossary entry instead of just
highlighting it by surrounding it with two tick quotes.

This was automated by the following python script:
"""
import re
from pathlib import Path

with open('objects.inv.txt', 'r') as f:
    objects = f.readlines()

with open('bitbake-objects.inv.txt', 'r') as f:
    objects = objects + f.readlines()

re_term = re.compile(r'variables.html#term-([A-Z_0-9]*)')
terms = []

for obj in objects:
    match = re_term.search(obj)
    if match and match.group(1):
        terms.append(match.group(1))

for rst in Path('.').rglob('*.rst'):
    with open(rst, 'r') as f:
        content = "".joing(f.readlines())
    for term in terms:
        content = re.sub(r'``({})``(?!.*\s*[~-]+)'.format(term), r':term:`\1`', content)

    with open(rst, 'w') as f:
        f.write(content)
"""

(From yocto-docs rev: ba49d9babfcb84bc5c26a68c8c3880a1d9c236d3)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Michael Opdenacker
7a9b74e9d2 sdk-manual: fix broken references
Detected by running:
git grep "^[\ ]*\" section" | grep -v "\`"

(From yocto-docs rev: 1e4909304a7e04fa707633b58c5e0d68a67d353a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
zhengruoqin
9385815965 nfs-utils: upgrade 2.5.3 -> 2.5.4
(From OE-Core rev: b8723c114b3d9b58d2da1a86d728d176dcbeb4b1)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
zhengruoqin
7a7c20275c python3-dbusmock: upgrade 0.23.0 -> 0.23.1
(From OE-Core rev: 935710772068c44e894978995fcf5d16bcce9ae1)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
zhengruoqin
f39fa79699 libcomps: upgrade 0.1.16 -> 0.1.17
refresh 0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch

(From OE-Core rev: 34afce294aece8c2d411181b9fb372afb5da7375)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
446788bef3 createrepo-c: upgrade 0.17.2 -> 0.17.3
refresh 0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch

(From OE-Core rev: 0ff4cfe6655853082771878bdcb4578fc08f7f12)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
50999ca5fa librepo: upgrade 1.14.0 -> 1.14.1
refresh 0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch

(From OE-Core rev: 2d3c4ccaf429e64f3cbd41974c5bed1512c9d435)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
63d38f0f5a enchant2: upgrade 2.2.15 -> 2.3.0
(From OE-Core rev: 9be053dbdb18253cfbcf141bd1bc5dd682ab98fa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
630b366ee6 blktrace: upgrade 1.2.0 -> 1.3.0
CVE-2018-10689.patch
ldflags.patch
make-btt-scripts-python3-ready.patch
removed since they're included in 1.3.0

(From OE-Core rev: d8684646d66d83a6cf922ef57349450ad5a3591d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
cff03371ae alsa-ucm-conf: upgrade 1.2.5 -> 1.2.5.1
(From OE-Core rev: be072099f5a147a69c1509ae530730f3c43497f1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
c901c8a8b9 alsa-topology-conf: upgrade 1.2.5 -> 1.2.5.1
(From OE-Core rev: d5d0853db3d98d0da5ca16b7d06953fadca7f8f4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
6ead5bc913 alsa-utils: upgrade 1.2.5 -> 1.2.5.1
0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch
removed since it is included in 1.2.5.1

(From OE-Core rev: 4255c19584af17b96d452d4cf934e32039894cab)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
1239d73e89 alsa-lib: upgrade 1.2.5 -> 1.2.5.1
0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch
removed since it is included in 1.2.5.1

(From OE-Core rev: 293c6819a4c3ee397ff87ee73d42b5c85f2daf6c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
Alexander Kanavin
64ce39210f util-linux: backport a patch to address mkswap hangs
(From OE-Core rev: 4d50d6f708477da0a5314a3749275d87101374d9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:45:02 +01:00
Richard Purdie
99c0230291 ltp: Reinstate 'hanging' tests for evaluation
We think we've found the root cause of the ltp hangs as a cgroup kernel
fs bug introduced in 5.1 and now fixed in linux-yocto. Reinstate these tests
and see if any issues recur.

(From OE-Core rev: 59d0df4ee3448ce5d5bcc03008f3e239003f9d79)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Khem Raj
4da1e8091e gcompat: Create symlinks to glibc ldso locations
This ensures the glibc based binaries can find it in right place

(From OE-Core rev: 5d82adcbc2326d8abc0039388578d730906b3e58)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Khem Raj
987ab9f860 linuxloader.bbclass: Add entry for ppc64 LE glibc loader
(From OE-Core rev: 6f0d401a508b55f30c11eec8cd875524eb75c40a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
529bb922c7 linux-yocto/5.10: cgroup1: fix leaked context root causing sporadic NULL deref in LTP
Integrating the following commit(s) to linux-yocto/5.10:

    ab49d2db98bd cgroup1: fix leaked context root causing sporadic NULL deref in LTP

PaulG tracked down the AB intermittent issues and generated a kernel
patch.

See: https://lore.kernel.org/lkml/20210616125157.438837-1-paul.gortmaker@windriver.com/

While we wait for it to loop through mainline, we'll integrate it into
our 5.10 branches.

(From OE-Core rev: 9a16dff746dd7ffd48ee8d1a17babef682168ead)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
381b83cae2 linux-yocto/5.4: update to v5.4.125
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    3909e2374335 Linux 5.4.125
    d99029e6aab6 neighbour: allow NUD_NOARP entries to be forced GCed
    8e0bb29446d1 i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops
    bdc17b2f8264 xen-pciback: redo VF placement in the virtual topology
    defcc2b5e54a lib/lz4: explicitly support in-place decompression
    97e814e6b5cd x86/kvm: Disable all PV features on crash
    9084fe1b3572 x86/kvm: Disable kvmclock on all CPUs on shutdown
    7620a669111b x86/kvm: Teardown PV features on boot CPU as well
    f82030a586a1 KVM: arm64: Fix debug register indexing
    2295e87a5e39 KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode
    0450af01ae7e btrfs: fix unmountable seed device after fstrim
    3b7f3cab1d47 mm/filemap: fix storing to a THP shadow entry
    0a890e220954 XArray: add xas_split
    03a390d8796d XArray: add xa_get_order
    fd8e06a7a723 mm: add thp_order
    f192885f7cee bnxt_en: Remove the setting of dev_port.
    14fd3da3e8d3 mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY
    6d4da27bd9ef btrfs: fixup error handling in fixup_inode_link_counts
    dad974d2494a btrfs: return errors from btrfs_del_csums in cleanup_ref_head
    0fd9149a82e3 btrfs: fix error handling in btrfs_del_csums
    295859a55549 btrfs: mark ordered extent and inode with error if we fail to finish
    12ca65539b04 x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing
    b0c0d8b5bf94 drm/amdgpu: make sure we unpin the UVD BO
    24c06e5452c3 drm/amdgpu: Don't query CE and UE errors
    5d4c4b06ed9f nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect
    cc2edb99ea60 ocfs2: fix data corruption by fallocate
    2cd6eedfa634 pid: take a reference when initializing `cad_pid`
    fe4e0bd4c26c usb: dwc2: Fix build in periphal-only mode
    920697b004e4 ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed
    52fc8f05c158 ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators
    2cac47eed455 ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch
    d349ff008cb3 ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx
    0afd601d8e0a ALSA: timer: Fix master timer notification
    d65bc969ec8b HID: multitouch: require Finger field to mark Win8 reports as MT
    368c5d45a87e HID: magicmouse: fix NULL-deref on disconnect
    142d5ca797a9 HID: i2c-hid: Skip ELAN power-on command after reset
    4d94f530cd24 net: caif: fix memory leak in cfusbl_device_notify
    f52f4fd67264 net: caif: fix memory leak in caif_device_notify
    c97cdb70b72d net: caif: add proper error handling
    64824f626c0c net: caif: added cfserl_release function
    b6f97555c71f Bluetooth: use correct lock to prevent UAF of hdev object
    8d3d0ac73a4a Bluetooth: fix the erroneous flush_work() order
    28efacc21d2a tipc: fix unique bearer names sanity check
    9ac67fdf64e0 tipc: add extack messages for bearer/media failure
    0fa160a75748 bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act
    22ea29c39717 ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells
    5b97dd983255 ARM: dts: imx7d-pico: Fix the 'tuning-step' property
    55fa22d1d8b2 ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property
    3a559111bd10 arm64: dts: zii-ultra: fix 12V_MAIN voltage
    f78c28a0dda1 arm64: dts: ls1028a: fix memory node
    3616dd03bc43 i40e: add correct exception tracing for XDP
    adfd6355fc8b i40e: optimize for XDP_REDIRECT in xsk path
    06f667dba42e i2c: qcom-geni: Add shutdown callback for i2c
    de37510ec67d ice: Allow all LLDP packets from PF to Tx
    bafd0a7461f0 ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared
    3583ab29177c ice: write register with correct offset
    7ba7fa78a92d ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
    112533f50c7e ixgbevf: add correct exception tracing for XDP
    b5cc02c6986f ieee802154: fix error return code in ieee802154_llsec_getparams()
    4ca8aa37cb43 ieee802154: fix error return code in ieee802154_add_iface()
    66f3ab065b70 netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches
    da8d31e80ff4 netfilter: nft_ct: skip expectations for confirmed conntrack
    14c0381e2639 ACPICA: Clean up context mutex during object deletion
    8e8678936f0d net/sched: act_ct: Fix ct template allocation for zone 0
    385e1861f31b HID: i2c-hid: fix format string mismatch
    279e2136dd21 HID: pidff: fix error return code in hid_pidff_init()
    c8a95cb0c02d ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service
    087b803a5b49 vfio/platform: fix module_put call in error flow
    60dcad10e2c7 samples: vfio-mdev: fix error handing in mdpy_fb_probe()
    870973918b2a vfio/pci: zap_vma_ptes() needs MMU
    5da371c3fdfb vfio/pci: Fix error return code in vfio_ecap_init()
    a4ed60297770 efi: cper: fix snprintf() use in cper_dimm_err_location()
    bc8f6647a73c efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared
    2986fdd3211f netfilter: conntrack: unregister ipv4 sockopts on error unwind
    90870b45fc62 hwmon: (dell-smm-hwmon) Fix index values
    0338fa4af9f3 nl80211: validate key indexes for cfg80211_registered_device
    e9487a498753 ALSA: usb: update old-style static const declaration
    aaa41b3094ea net: usb: cdc_ncm: don't spew notifications
    96a40c3fa3d3 btrfs: tree-checker: do not error out if extent ref hash doesn't match

(From OE-Core rev: ac4206f38bba852b1171419ad72a6e1c75ccec4c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
b287b21a34 linux-yocto/5.10: update to v5.10.43
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    951358a824f9 Linux 5.10.43
    d17d47da59f7 neighbour: allow NUD_NOARP entries to be forced GCed
    6b53db8c4c14 xen-netback: take a reference to the RX task thread
    316de9a88c83 netfilter: nf_tables: missing error reporting for not selected expressions
    eddf2d9f76b0 i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops
    f20eef4d0686 lib/lz4: explicitly support in-place decompression
    334c59d58de5 x86/kvm: Disable all PV features on crash
    3b0becf8b1ec x86/kvm: Disable kvmclock on all CPUs on shutdown
    38b858da1c58 x86/kvm: Teardown PV features on boot CPU as well
    b327c9774759 KVM: arm64: Fix debug register indexing
    b3ee3f50ab1b KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode
    fe910d20e2d8 btrfs: fix unmountable seed device after fstrim
    05e41f6f1c4e drm/msm/dpu: always use mdp device to scale bandwidth
    2eb4ec9c2c35 mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY
    baa6763123e2 btrfs: fix deadlock when cloning inline extents and low on available space
    0df50d47d174 btrfs: abort in rename_exchange if we fail to insert the second ref
    48568f3944ee btrfs: fixup error handling in fixup_inode_link_counts
    466d83fdbbe3 btrfs: return errors from btrfs_del_csums in cleanup_ref_head
    5a89982fa2bb btrfs: fix error handling in btrfs_del_csums
    b547a16b2491 btrfs: mark ordered extent and inode with error if we fail to finish
    5e5e63bacbe8 powerpc/kprobes: Fix validation of prefixed instructions across page boundary
    42f75a4381a4 x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing
    3a6b69221f96 drm/amdgpu: make sure we unpin the UVD BO
    58da0b509e4b drm/amdgpu: Don't query CE and UE errors
    48ee0db61c82 nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect
    445477e9274e x86/sev: Check SME/SEV support in CPUID first
    942c5864de85 x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove update_pasid()
    68dcd32b326a mm/page_alloc: fix counting of free pages after take off from buddy
    5f2e1e818e9f mm/debug_vm_pgtable: fix alignment for pmd/pud_advanced_tests()
    c8d5faee4624 ocfs2: fix data corruption by fallocate
    7178be006d49 pid: take a reference when initializing `cad_pid`
    a4ed12f5edc4 usb: dwc2: Fix build in periphal-only mode
    3b713aafa7c9 ext4: fix accessing uninit percpu counter variable with fast_commit
    2050c6e5b161 ext4: fix memory leak in ext4_mb_init_backend on error path.
    fb86acc62369 ext4: fix fast commit alignment issues
    d3b668b96ad3 ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed
    01d349a481f0 ext4: fix memory leak in ext4_fill_super
    b2057d138f1b ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators
    623603e255aa ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch
    846848c0520f ALSA: hda: update the power_state during the direct-complete
    cfbb57fcb180 ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx
    029c06103e0a ALSA: timer: Fix master timer notification
    d11e5b96efde gfs2: fix scheduling while atomic bug in glocks
    127f25be2ff0 HID: multitouch: require Finger field to mark Win8 reports as MT
    b5d013c4c76b HID: magicmouse: fix NULL-deref on disconnect
    a5e554f78981 HID: i2c-hid: Skip ELAN power-on command after reset
    46403c1f80b0 net: caif: fix memory leak in cfusbl_device_notify
    af2806345a37 net: caif: fix memory leak in caif_device_notify
    d6db727457dd net: caif: add proper error handling
    dac53568c6ac net: caif: added cfserl_release function
    df3b45f6d1ce wireguard: allowedips: free empty intermediate nodes when removing single node
    c5155c741a48 wireguard: allowedips: allocate nodes in kmem_cache
    70a9a71ab3e5 wireguard: allowedips: remove nodes in O(1)
    42a667715b1e wireguard: allowedips: initialize list head in selftest
    842c21d6a042 wireguard: selftests: make sure rp_filter is disabled on vethc
    b8d72ac1f210 wireguard: selftests: remove old conntrack kconfig value
    f74da2c2546c wireguard: use synchronize_net rather than synchronize_rcu
    d4275889ac9c wireguard: peer: allocate in kmem_cache
    d64fdbaec09b wireguard: do not use -O3
    74caf718cc74 Bluetooth: use correct lock to prevent UAF of hdev object
    3795007c8dfc Bluetooth: fix the erroneous flush_work() order
    7fa8ee00b5fa drm/amdgpu/jpeg3: add cancel_delayed_work_sync before power gate
    c12946548001 drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate
    58f4d45d8d4d drm/amdgpu/vcn3: add cancel_delayed_work_sync before power gate
    ec72cb50c1db io_uring: use better types for cflags
    0b2a990e5d2f io_uring: fix link timeout refs
    3c23e23c7ad9 riscv: vdso: fix and clean-up Makefile
    282c9eeda6c2 serial: stm32: fix threaded interrupt handling
    fdf1e5eec3ed tipc: fix unique bearer names sanity check
    e31ae45ed1d3 tipc: add extack messages for bearer/media failure
    0d83aec6e010 bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act
    5592731e13cc ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells
    67ae12a57b34 ARM: dts: imx7d-pico: Fix the 'tuning-step' property
    a776ea1eca2b ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property
    8aa4700de52d arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage
    4f323ce68e75 arm64: dts: zii-ultra: fix 12V_MAIN voltage
    a3716c19330d arm64: dts: ls1028a: fix memory node
    d551b8e85777 bus: ti-sysc: Fix am335x resume hang for usb otg module
    426ba49ec50b optee: use export_uuid() to copy client UUID
    d866a6e61a4d arm64: dts: ti: j7200-main: Mark Main NAVSS as dma-coherent
    a1bf16616d83 ixgbe: add correct exception tracing for XDP
    e369db6cde11 ixgbe: optimize for XDP_REDIRECT in xsk path
    ad505705bba6 ice: add correct exception tracing for XDP
    9e1eb428849f ice: optimize for XDP_REDIRECT in xsk path
    7bd82b73d589 ice: simplify ice_run_xdp
    274d6eeaafc7 i40e: add correct exception tracing for XDP
    fbae1a97ce34 i40e: optimize for XDP_REDIRECT in xsk path
    1958a31c035d cxgb4: avoid link re-train during TC-MQPRIO configuration
    21d494d4446b i2c: qcom-geni: Add shutdown callback for i2c
    c4b796f20c95 ice: Allow all LLDP packets from PF to Tx
    68db78345f73 ice: report supported and advertised autoneg using PHY capabilities
    8726b9e81be7 ice: handle the VF VSI rebuild failure
    a79883ce1e9f ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared
    b94580b055b8 ice: Fix allowing VF to request more/less queues via virtchnl
    098702358274 ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
    1dcf3d435bf6 cxgb4: fix regression with HASH tc prio value update
    8067da904921 ixgbevf: add correct exception tracing for XDP
    e0b61cda5f07 igb: add correct exception tracing for XDP
    e513d889625b ieee802154: fix error return code in ieee802154_llsec_getparams()
    2a0ba0125c2c ieee802154: fix error return code in ieee802154_add_iface()
    ff5039ec75c8 bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks
    cdf3f6db1a86 bpf: Simplify cases in bpf_base_func_proto
    4cf297ef595c drm/i915/selftests: Fix return value check in live_breadcrumbs_smoketest()
    8d614eebc003 netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches
    5f3429c05e40 netfilter: nft_ct: skip expectations for confirmed conntrack
    c440cd080761 nvmet: fix freeing unallocated p2pmem
    2a8cda3867cd net/mlx5: DR, Create multi-destination flow table with level less than 64
    c8972cf28ea1 net/mlx5e: Check for needed capability for cvlan matching
    730700337593 net/mlx5: Check firmware sync reset requested is set before trying to abort it
    c1ea8c0e71ea net/mlx5e: Fix incompatible casting
    f1d4184f128d net/tls: Fix use-after-free after the TLS device goes down and up
    874ece252ed2 net/tls: Replace TLS_RX_SYNC_RUNNING with RCU
    a5de17bb916a net: sock: fix in-kernel mark setting
    09fdb6747b7e net: dsa: tag_8021q: fix the VLAN IDs used for encoding sub-VLANs
    091283e3d5eb perf probe: Fix NULL pointer dereference in convert_variable_location()
    100c872c7511 ACPICA: Clean up context mutex during object deletion
    df7c913f90c3 nvme-rdma: fix in-casule data send for chained sgls
    b198f77a3613 mptcp: always parse mptcp options for MPC reqsk
    be0d85072686 net/sched: act_ct: Fix ct template allocation for zone 0
    f07c54831477 net/sched: act_ct: Offload connections with commit action
    4f00f9c169d9 devlink: Correct VIRTUAL port to not have phys_port attributes
    56c45ab00aba HID: i2c-hid: fix format string mismatch
    744db828d6f9 HID: pidff: fix error return code in hid_pidff_init()
    39b92726a380 HID: logitech-hidpp: initialize level variable
    4b1aba653642 ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service
    46ae882bb19a vfio/platform: fix module_put call in error flow
    2adb0313b132 samples: vfio-mdev: fix error handing in mdpy_fb_probe()
    c25454a4f4cb vfio/pci: zap_vma_ptes() needs MMU
    c303db1211a7 vfio/pci: Fix error return code in vfio_ecap_init()
    8d27efbb0ee4 efi: cper: fix snprintf() use in cper_dimm_err_location()
    951f8ef71d69 efi/libstub: prevent read overflow in find_file_option()
    b828601c752b efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared
    5148066edbdc efi/fdt: fix panic when no valid fdt found
    39a909a9720d netfilter: conntrack: unregister ipv4 sockopts on error unwind
    46e650617934 hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_3 for RAA228228
    0d0df2e53223 hwmon: (dell-smm-hwmon) Fix index values
    70df000fb880 net: usb: cdc_ncm: don't spew notifications
    1d62b7ac83e0 btrfs: tree-checker: do not error out if extent ref hash doesn't match

(From OE-Core rev: 939d312bf3fac617394f3f96d8b1c7a525b3e26e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
42d5046057 linux-yocto/5.10: restore aufs
Integrating the following commit(s) to linux-yocto/5.10:

    bdda1b6cf99b aufs5: aufs-core
    2fa276071d07 aufs5: aufs-standalone
    06ed4d532456 aufs5: aufs-mmap
    372857834999 aufs5: aufs-kbuild
    fd68c9840693 aufs5: aufs-base

(From OE-Core rev: abe04529947d922c025853b71379d5ac7ff20238)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
c619e880c7 linux-yocto/5.4: update to v5.4.124
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    70154d2f82a9 Linux 5.4.124
    23c7e3235a3a usb: core: reduce power-on-good delay time of root hub
    241abccc8a33 neighbour: Prevent Race condition in neighbour subsytem
    3c36980ba681 net: hso: bail out on interrupt URB allocation failure
    1bd48a2af84e Revert "Revert "ALSA: usx2y: Fix potential NULL pointer dereference""
    866648d965f0 net: hns3: check the return of skb_checksum_help()
    72cda5259f5e drivers/net/ethernet: clean up unused assignments
    776fba1486be i915: fix build warning in intel_dp_get_link_status()
    c561d83be40f drm/i915/display: fix compiler warning about array overrun
    e3d5ff235ec5 MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c
    86a62df8f4d4 MIPS: alchemy: xxs1500: add gpio-au1000.h header file
    2221f233cc9e sch_dsmark: fix a NULL deref in qdisc_reset()
    a052751302b7 net: ethernet: mtk_eth_soc: Fix packet statistics support for MT7628/88
    162b11831f77 ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static
    3bfb58517d06 ipv6: record frag_max_size in atomic fragments in input path
    8bb1077448d4 net: lantiq: fix memory corruption in RX ring
    fda8f74d3975 scsi: libsas: Use _safe() loop in sas_resume_port()
    cf20c704a26e ixgbe: fix large MTU request from VF
    7a143b92d1dc bpf: Set mac_len in bpf_skb_change_head
    272729d56b2d ASoC: cs35l33: fix an error code in probe()
    3ee1d6e23108 staging: emxx_udc: fix loop in _nbu2ss_nuke()
    0bf49b3c8d8b cxgb4: avoid accessing registers when clearing filters
    68b5fc6ec52f gve: Correct SKB queue index validation.
    4f4752e4d8db gve: Upgrade memory barrier in poll routine
    821149ee88c2 gve: Add NULL pointer checks when freeing irqs.
    6abd1d1983f2 gve: Update mgmt_msix_idx if num_ntfy changes
    13c4d8986125 gve: Check TX QPL was actually assigned
    37d697759958 mld: fix panic in mld_newpack()
    b0fb74377891 bnxt_en: Include new P5 HV definition in VF check.
    f7b5b4e26bf5 net: bnx2: Fix error return code in bnx2_init_board()
    7a79654b9076 net: hso: check for allocation failure in hso_create_bulk_serial_device()
    48da4c0577fe net: sched: fix tx action reschedule issue with stopped queue
    515e7c595d84 net: sched: fix tx action rescheduling issue during deactivation
    1c25c7621fb7 net: sched: fix packet stuck problem for lockless qdisc
    a04790d104e2 tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAIT
    5c01181700ab openvswitch: meter: fix race when getting now_ms.
    5bfdc481d812 net: mdio: octeon: Fix some double free issues
    2e0fba911ca7 net: mdio: thunder: Fix a double free issue in the .remove function
    20255d41ac56 net: fec: fix the potential memory leak in fec_enet_init()
    41f7f37ddefe net: really orphan skbs tied to closing sk
    694f68527e75 vfio-ccw: Check initialized flag in cp_init()
    d5e4479228b5 ASoC: cs42l42: Regmap must use_single_read/write
    87803141fb3e net: dsa: fix error code getting shifted with 4 in dsa_slave_get_sset_count
    4450f733dc3d net: netcp: Fix an error message
    de2bf5de17be drm/amd/amdgpu: fix a potential deadlock in gpu reset
    7398c2aab4da drm/amdgpu: Fix a use-after-free
    dde2656e0bbb drm/amd/amdgpu: fix refcount leak
    f6d92ebb3eaf drm/amd/display: Disconnect non-DP with no EDID
    63c61d89660a SMB3: incorrect file id in requests compounded with open
    07160b004a0b platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet
    d1dcd53a45e1 platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI
    feb5d3618a18 platform/x86: hp-wireless: add AMD's hardware id to the supported list
    0ed102453aa1 btrfs: do not BUG_ON in link_to_fixup_dir
    a10371342903 openrisc: Define memory barrier mb
    fed34fb07c4b scsi: BusLogic: Fix 64-bit system enumeration error for Buslogic
    55575c08502f btrfs: return whole extents in fiemap
    a3dea6dc1e14 brcmfmac: properly check for bus register errors
    26fb7a61de4e Revert "brcmfmac: add a check for the status of usb_register"
    d4bab5d15bf5 net: liquidio: Add missing null pointer checks
    6ba750549671 Revert "net: liquidio: fix a NULL pointer dereference"
    d771def6c305 media: gspca: properly check for errors in po1030_probe()
    44b17737b7aa Revert "media: gspca: Check the return value of write_bridge for timeout"
    f6068eadc1d2 media: gspca: mt9m111: Check write_bridge for timeout
    f19375e9a8f2 Revert "media: gspca: mt9m111: Check write_bridge for timeout"
    193c790eccfc media: dvb: Add check on sp8870_readreg return
    2d5e27f0e031 Revert "media: dvb: Add check on sp8870_readreg"
    5b3a68a1cf37 ASoC: cs43130: handle errors in cs43130_probe() properly
    7e4ac4e151f1 Revert "ASoC: cs43130: fix a NULL pointer dereference"
    3aa60a0335ea libertas: register sysfs groups properly
    e0c75f951f81 Revert "libertas: add checks for the return value of sysfs_create_group"
    6c52bc7482e3 dmaengine: qcom_hidma: comment platform_driver_register call
    e829b7253e4d Revert "dmaengine: qcom_hidma: Check for driver register failure"
    4bc94e60d787 isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info
    6b8872d4972f Revert "isdn: mISDN: Fix potential NULL pointer dereference of kzalloc"
    85b2c436a143 ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()
    b74d4ae8f538 Revert "ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()"
    a34338fcaad6 isdn: mISDNinfineon: check/cleanup ioremap failure correctly in setup_io
    d3d74e622e63 Revert "isdn: mISDNinfineon: fix potential NULL pointer dereference"
    5dc20457707b Revert "ALSA: usx2y: Fix potential NULL pointer dereference"
    ea4c563657d7 Revert "ALSA: gus: add a check of the status of snd_ctl_add"
    70bf2a067915 char: hpet: add checks after calling ioremap
    07d2945a3551 Revert "char: hpet: fix a missing check of ioremap"
    b1da7ad9ad58 net: caif: remove BUG_ON(dev == NULL) in caif_xmit
    e8dee217eca8 Revert "net/smc: fix a NULL pointer dereference"
    22049c3d40f0 net: fujitsu: fix potential null-ptr-deref
    ebb533ce35b5 Revert "net: fujitsu: fix a potential NULL pointer dereference"
    e50a9f2548a5 serial: max310x: unregister uart driver in case of failure and abort
    e5d3e4b6104c Revert "serial: max310x: pass return value of spi_register_driver"
    047aefd62220 Revert "ALSA: sb: fix a missing check of snd_ctl_add"
    bec840232fed Revert "media: usb: gspca: add a missed check for goto_low_power"
    e44a9941937d gpio: cadence: Add missing MODULE_DEVICE_TABLE
    e0c7f6cce1cf platform/x86: hp_accel: Avoid invoking _INI to speed up resume
    bd7a3b3ed9e3 perf jevents: Fix getting maximum number of fds
    77ac90814b4e i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E
    04cc05e3716a i2c: i801: Don't generate an interrupt on bus reset
    45488e77e014 i2c: s3c2410: fix possible NULL pointer deref on read message after write
    e00da6510b3b net: dsa: sja1105: error out on unsupported PHY mode
    ce5355f140a7 net: dsa: fix a crash if ->get_sset_count() fails
    4fe4e1f48ba1 net: dsa: mt7530: fix VLAN traffic leaks
    15d1cc4b4b58 spi: spi-fsl-dspi: Fix a resource leak in an error handling path
    64d17ec9f1de tipc: skb_linearize the head skb when reassembling msgs
    d1f76dfadaf8 tipc: wait and exit until all work queues are done
    bdd37028a026 Revert "net:tipc: Fix a double free in tipc_sk_mcast_rcv"
    5e01d87b108c net/mlx4: Fix EEPROM dump support
    4fd3213e5354 net/mlx5e: Fix nullptr in add_vlan_push_action()
    df61870c4b1d net/mlx5e: Fix multipath lag activation
    4ce2bf20b4a6 drm/meson: fix shutdown crash when component not probed
    0787efc1a359 NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config
    785917316b25 NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
    1fc5f4eb9d31 NFS: Fix an Oopsable condition in __nfs_pageio_add_request()
    e411df81cd86 NFS: fix an incorrect limit in filelayout_decode_layout()
    f76e76555682 fs/nfs: Use fatal_signal_pending instead of signal_pending
    fe201316ac36 Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails
    977c34b50e6b spi: spi-geni-qcom: Fix use-after-free on unbind
    b95fb96e6339 net: usb: fix memory leak in smsc75xx_bind
    b94afae0fa7a usb: gadget: udc: renesas_usb3: Fix a race in usb3_start_pipen()
    6b5bfb8ce56d usb: dwc3: gadget: Properly track pending and queued SG
    2cd572cc45b5 thermal/drivers/intel: Initialize RW trip to THERMAL_TEMP_INVALID
    78e80f9c4e96 USB: serial: pl2303: add device id for ADLINK ND-6530 GC
    f485e4dcbe44 USB: serial: ftdi_sio: add IDs for IDS GmbH Products
    8217f3c7f6cc USB: serial: option: add Telit LE910-S1 compositions 0x7010, 0x7011
    eddf691bab0f USB: serial: ti_usb_3410_5052: add startech.com device id
    915452f40e2f serial: rp2: use 'request_firmware' instead of 'request_firmware_nowait'
    1d8071879a2b serial: sh-sci: Fix off-by-one error in FIFO threshold register setting
    3986ba109dad serial: tegra: Fix a mask operation that is always true
    2c835fede13e USB: usbfs: Don't WARN about excessively large memory allocations
    84af0c28ed1b USB: trancevibrator: fix control-request direction
    bc8b9d8c0465 serial: 8250_pci: handle FL_NOIRQ board flag
    f75a5b9907e8 serial: 8250_pci: Add support for new HPE serial device
    72fa5c26936a iio: adc: ad7793: Add missing error code in ad7793_setup()
    f49149964d24 iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers
    7e5cac90430c iio: adc: ad7124: Fix missbalanced regulator enable / disable on error.
    2c9085b0fa04 iio: adc: ad7768-1: Fix too small buffer passed to iio_push_to_buffers_with_timestamp()
    bd877887e479 iio: gyro: fxas21002c: balance runtime power in error path
    657f6a33f871 staging: iio: cdc: ad7746: avoid overwrite of num_channels
    12fb557863f8 mei: request autosuspend after sending rx flow control
    eb78fa5a3815 thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue
    36b5ff1db1a4 misc/uss720: fix memory leak in uss720_probe
    66a2a494ac48 serial: core: fix suspicious security_locked_down() call
    48a9b7957bb2 Documentation: seccomp: Fix user notification documentation
    c7c6a316a887 kgdb: fix gcc-11 warnings harder
    01c57232a1cb selftests/gpio: Fix build when source tree is read only
    d93532a4873d selftests/gpio: Move include of lib.mk up
    1e20cdb93889 selftests/gpio: Use TEST_GEN_PROGS_EXTENDED
    03aeefb46f07 drm/amdgpu/vcn2.5: add cancel_delayed_work_sync before power gate
    f0780e96a6e2 drm/amdgpu/vcn2.0: add cancel_delayed_work_sync before power gate
    9351c5192b88 drm/amdgpu/vcn1: add cancel_delayed_work_sync before power gate
    d65ec240b3e4 dm snapshot: properly fix a crash when an origin has no snapshots
    b06fe1124369 ath10k: Validate first subframe of A-MSDU before processing the list
    aee0121afee5 ath10k: Fix TKIP Michael MIC verification for PCIe
    124ce717f6b2 ath10k: drop MPDU which has discard flag set by firmware for SDIO
    405d08dda2f9 ath10k: drop fragments with multicast DA for SDIO
    96d4d82652fa ath10k: drop fragments with multicast DA for PCIe
    6bf449a34c0d ath10k: add CCMP PN replay protection for fragmented frames for PCIe
    cbc470aa3f93 mac80211: extend protection against mixed key and fragment cache attacks
    88664d5e5dc9 mac80211: do not accept/forward invalid EAPOL frames
    bbc06191e36e mac80211: prevent attacks on TKIP/WEP as well
    c8b3a6150dc8 mac80211: check defrag PN against current frame
    1b3774e58e47 mac80211: add fragment cache to sta_info
    fb1b24f94d1c mac80211: drop A-MSDUs on old ciphers
    fa00d4928eaf cfg80211: mitigate A-MSDU aggregation attacks
    5fe9fae1220e mac80211: properly handle A-MSDUs that start with an RFC 1042 header
    14f29a67f404 mac80211: prevent mixed key and fragment cache attacks
    b90cf214e2bb mac80211: assure all fragments are encrypted
    4302a6fdec60 net: hso: fix control-request directions
    60d171c477e9 proc: Check /proc/$pid/attr/ writes against file opener
    7f4d9d2f0be7 perf scripts python: exported-sql-viewer.py: Fix warning display
    cb08c8d591cb perf scripts python: exported-sql-viewer.py: Fix Array TypeError
    9044d06150d0 perf scripts python: exported-sql-viewer.py: Fix copy to clipboard from Top Calls by elapsed Time report
    21e2eb6a950c perf intel-pt: Fix transaction abort handling
    854216d7ec10 perf intel-pt: Fix sample instruction bytes
    044bbe8b92ab iommu/vt-d: Fix sysfs leak in alloc_iommu()
    aba3c7795f51 NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return()
    f2a35ade2274 cifs: set server->cipher_type to AES-128-CCM for SMB3.0
    5c81a4e24cf1 ALSA: usb-audio: scarlett2: Improve driver startup messages
    26314d278423 ALSA: usb-audio: scarlett2: Fix device hang with ehci-pci
    6fc2850259e6 ALSA: hda/realtek: Headphone volume is controlled by Front mixer

(From OE-Core rev: d91ec7d1b47d026149c488cfe1fd0af831b8fad6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
676f68ba8f linux-yocto-dev: base AUTOREV on specified version
linux-yocto-dev tracks the latest mainline kernel, and uses
standard/* for that support.

Archived -dev versions are under v<kernel version>/standard/base.

This policy works, except that a released branch will still follow
the new kernel versions, causing potential breakage with newer
kernels than are supported in that release.

Rather than lock the SRCREVs and update branches in old releases,
we can preserve the AUTOREV nature of -dev, and allow them to
switch automatically to the archived branch based on the LINUX_VERSION
in the -dev recipe (which is unchanged in the release branch).

This is consistent with the other branch switching done for the
kernels and with the -dev workflow.

(From OE-Core rev: 84e14b6116a7d1e52051c5c80be2d8e3db67c2d7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Alexey Brodkin
4052a66ba3 gdb: Add native GDB support for ARC
This adds support of so-called "native" GDB for ARC processors.
It was submitted upstream a bit late for inclusion in v10.x,
but already in the upstream "master" branch and will be an essential part
of v11.1 whenever it happens.

These are the changes from upstream "master":
 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=b4e3cd0440109d0a5552d3313ccbd35c8103335b
 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=d4af727286e3a9f177ba11677fbd3a012d36558a
 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=46023bbe81355230b4e7b76d3084337823d02362
 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=04c9f85efcd8df5fc482ce97c0104cc7dd5d19e6

Thanks a bunch to Anton & Shahab who made it possible!

(From OE-Core rev: 3429acea0f4a0b59f233947defecdf919c7b1799)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Khem Raj
a5517f5021 linuxloader: Be aware of riscv32 ldso
(From OE-Core rev: 0d7aa00663e1e41980afb24d0ada2d76e8723e2b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Ross Burton
ef772235d4 gcc: replace gdb helper install revert with the upstream fix
A change in the gcc-11 branch broke installation of the GDB helper on
bare-metal targets without a shared libstdc++.so.  This now fixed
upstream so replacce the revert with a backport of the patch.

(From OE-Core rev: 5137ca0a295c3ab8d938d67ea292300bb2cbab93)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Tony Tascioglu
7933c2125b valgrind: Actually install list of non-deterministic ptests
Install list of non-deterministic threaded ptests to be run using taskset
to force them to a single core. This commit works with b318944d7, which
updated the testing script to run the non-deterministic tests separately
but didn't install the list of tests, so these tests were being run
without taskset.

The taskset_nondeterministic_tests file is the list of tests that will
be run separately with taskset, and ignored during the other tests. This
is installed to /usr/lib/valgrind/ptest similar to the 2 existing lists
for tests to skip on ARM and all architectures.

Removed bar_bad and bar_bad_xml to be included separately as they cause
issues on non-kvm QEMU instances.

See:
   b318944dd7 valgrind: Improve non-deterministic ptest reliability
for more info.

(From OE-Core rev: 3d23985d0d653844863ed513d75d93a36359992f)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Alexander Kanavin
60fe30204c gdb-cross: enable debuginfod
This allows avoiding having gdb inside the target image, which might
be too resource-constrained, or otherwise inconvenient.

(From OE-Core rev: b903f250a7bbf04d5853f537b7565a80fb7ce1f3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Alexander Kanavin
4e2baf969f bitbake.conf: enable debuginfod in native/nativesdk
This was an oversight when the distro feature was introduced.

(From OE-Core rev: 4a985ff0dd13c455dadf85f4ad35a0a42f4bd9f1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Matt Spencer
f65757ad17 systemd-conf: Prevent systemd-network from managing veth interfaces
We need to prevent systemd-network from managing veth interface when
using platforms like k3s as they control creation and management of the
interfaces.

(From OE-Core rev: b615bb279730ce3e0c4b4098a9e43700f2f095af)

Signed-off-by: Matt Spencer <matt.spencer@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Andreas Müller
faefe113ac libpcap: upgrade 1.10.0 -> 1.10.1
Summary for 1.10.1 libpcap release
  Packet filtering:
    Fix "type XXX subtype YYY" giving a parse error
  Source code:
    Add PCAP_AVAILABLE_1_11.
  Building and testing:
    Rename struct bpf_aux_data to avoid NetBSD compile errors
    Squelch some compiler warnings
    Squelch some Bison warnings
    Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR
    Fix Bison detection for minor version 0.
    Fix parallel build with FreeBSD make.
    Get DLT_MATCHING_MAX right in gencode.c on NetBSD.
    Define timeradd() and timersub() if necessary.
    Fix Cygwin/MSYS target directories.
    Fix symlinking with DESTDIR.
    Fix generation of libpcap.pc with CMake when not building a shared
        library.
    Check for Arm64 as well as x86-64 when looking for packet.lib on
        Windows.
  Documentation:
    Refine Markdown in README.md.
    Improve the description of portrange in filters.
    README.linux.md isn't Markdown, rename it just README.linux.
  pcapng:
    Support reading version 1.2, which some writers produce, and which
        is the same as 1.0 (some new block types were added, but
        that's not sufficient reason to bump the minor version number,
        as code that understands those new block types can handle them
        in a 1.0 file)
  Linux:
    Drop support for text-mode USB captures, as we require a 2.6.27
        or later kernel (credit to Chaoyuan Peng for noting the
        sscanf vulnerabilities in the text-mode code that got me to
        realize that we didn't need this code any more)
    Bluetooth: fix non-blocking mode.
    Don't assume that all compilers used to build for Linux support
        the __atomic builtins
  Windows:
    ...
  rpcap:
    Clean up error checking and error messages for server address
        lookup.

(From OE-Core rev: bcd20c78be3828903c18fcb40853e7146cc85fdb)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Richard Purdie
0f681265f5 perf: Use python3targetconfig to ensure we use target libraries
We've seen some reproducibility issues on the autobuilder in perf where the
size of the python module varies slightly between systems. After some head
scratching and removing the --quiet option to the python module build,
you can see it using -Lrecipe-sysroot-native in the linking commandline
for the module. This means it is linking against the native library
on systems where that works, skipping it and using the target one
otherwise, probably with warnings in logs we've not seen.

The fix is to inherit the python3targetconfig class which ensures
that the target sysroot is used, then the byte differences between
the builds go away and things are sane(r) again.

(From OE-Core rev: 8e2b6c042edd9ec76cb8281247604e4f81518780)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Alexander Kanavin
d75ed06603 xkeyboard-config: upgrade 2.32 -> 2.33
(From OE-Core rev: 8cdc1767ce15185c99d85dc976f2a316a21cb28f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
cf21610d2d wpebackend-fdo: upgrade 1.8.4 -> 1.10.0
(From OE-Core rev: 6a388fe5eea05b128318aec1b95b1e1cad22e362)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
8d1513417b sudo: upgrade 1.9.7 -> 1.9.7p1
(From OE-Core rev: 7da8152cc42c14ddc02c6a3180632c958a191d74)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
5ef04a0096 python3-magic: upgrade 0.4.23 -> 0.4.24
(From OE-Core rev: d74386b7b7fd2a7e6b3179c123b15331341fafa8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
7c57d7405c stress-ng: upgrade 0.12.09 -> 0.12.10
(From OE-Core rev: 42adfa656617212b6db0d56a4fde1718c32a1e57)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
94fa3f7597 rng-tools: upgrade 6.12 -> 6.13
(From OE-Core rev: 5f40c189e9739303c2c6ec43c83592d729be4ecd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
d1078a7e26 puzzles: upgrade to latest revision
License-update: copyright years

(From OE-Core rev: 512c9c893c67d8a11f9af5d3fcaaa58a9211015e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
90c1b12df9 libwpe: upgrade 1.10.0 -> 1.10.1
(From OE-Core rev: 1d0df5c571978cfb586de040f5ae04df4c52893c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
e9f8e93635 libnss-mdns: upgrade 0.15 -> 0.15.1
(From OE-Core rev: 7631f20b3f4317bc22fead3d28684c42b9a08e98)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
40381bdbd0 libksba: upgrade 1.5.1 -> 1.6.0
(From OE-Core rev: a27ea852b6471d5f4aeb1e9a5768ca81dbfba7ba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
a4c38eb05a connman: update 1.39 -> 1.40
(From OE-Core rev: a23c6374ad3112f8b0a4bc259c67eb7dd2ae9097)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
096f60d490 gptfdisk: upgrade 1.0.7 -> 1.0.8
(From OE-Core rev: 976e8b6f23633d35ac85cad39fa8a3d978430d0f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
6d698363ae grub: upgrade 2.04+2.06~rc1 -> 2.06
(From OE-Core rev: 0f528608eb48809955b2610ecc4bd689f1cf8899)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
ab8853a8fc erofs-utils: upgrade 1.2.1 -> 1.3
(From OE-Core rev: 2fc76fccc7da1768e712e722898d33dc68385f53)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
00d0263cf2 ell: upgrade 0.40 -> 0.41
(From OE-Core rev: 03799c3abe79a2fbf1d273824e7408c275eabd6a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
6393e1781b meson: upgrade 0.58.0 -> 0.58.1
(From OE-Core rev: 0030f7f27446263995f5470fe0d801b3a66a58cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
80323ca44a glib-2.0: update 2.68.2 -> 2.68.3
(From OE-Core rev: d20121522dd6f8bf0286fb6133243a64e095bc55)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
34f894769f nettle: update 3.7.2 -> 3.7.3
(From OE-Core rev: 219c89310264f99c2c43bb80e437a8a1e8e3217a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
7c4d502c74 cross-canadian: correct the location of pkg-config files
layout_libdir has not been defined for many years.

(From OE-Core rev: 2c84fbed676a8e6717592c86c3742566ad0decac)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
6091f104bb util-linux: update 2.36.2 -> 2.37
Drop manpages support, as it requires asciidoctor
(written in ruby, isn't in oe-core).

(From OE-Core rev: 6cb58dd4feae12a064fad3ab30b1d44e159fe7e2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
2e9cdb6979 apt: update 2.2.3 -> 2.2.4
(From OE-Core rev: 56f17fb466a35af7ed80df08bf05970a9fe25c9b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
f9cbd62bf3 ovmf: update 2021.02 -> 2021.05
Reformat patches using git, so that rebasing them to newer versions is easier.

(From OE-Core rev: 796f5a422a1bb9059ca8045b5aa199aa02b0e46a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
b324d19336 m4: correct ptest failures
(From OE-Core rev: 5b9a2d698bfae8919678073970b951b746158d34)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
wangmy
3f51d9e627 m4: upgrade 1.4.18 -> 1.4.19
0001-Unset-need_charset_alias-when-building-for-musl.patch
0001-c-stack-stop-using-SIGSTKSZ.patch
0001-test-getopt-posix-fix.patch
m4-1.4.18-glibc-change-work-around.patch
deleted since they are included in 1.4.19

refresh ac_config_links.patch

License-update: URL of license changed

(From OE-Core rev: c61358d84d83f0fbd8b2fbe2659ed547e0c046a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Andreas Müller
3d76fca34b libx11: remove CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
With 1.7.2 it is not required any and although they mention glibc explicitly,
_GNU_SOURCE is set in config.h for musl either.

(From OE-Core rev: 976c4bb2b1ab75e3fe600a81adc451b698ea4b65)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Andreas Müller
432aab901a libx11: upgrade 1.7.1 -> 1.7.2
Version 1.1.2 - This is a bug fix release, correcting a regression [1] introduced by and
improving the checks from the fix for CVE-2021-31535.

[1] https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/133
Alan Coopersmith (1):
      libX11 1.7.2
Matthieu Herrb (2):
      include <limits.h> always, not if HAVE_CONFIG_H is set.
      Check for NULL strings before getting their lengths
Tobias Stoeckmann (1):
      Protect against overly long strings

(From OE-Core rev: 2d98f8d257d31b334e70357093b6d2a355362688)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Andreas Müller
6b77976ede mpg123: 1.27.2 -> 1.28.0
Changes:
build:
  * Fix up the build to actually build all library objects with libtool
    consistently, also ensuring no pointless static archives for output modules.
  * Adapted things to autoconf 2.71, requiring 2.69 now (the latter tested on
    Debian, with their patches).
  * Improved configure to be more useful --with-default-audio to define the
    search order, fix static build for --with-audio being a list (just choosing
    the first one).
  * Ensure consistent use of LINK_MPG123_DLL in headers.
build (ports/cmake):
  * Thanks to Evgeni Poberezhnikov for working with us on that.
  * Fix up ports/cmake to really work in MSVC also for users of the lib (tested
    in vcpkg, bug 310).
  * Hardcode ports/cmake CPU detection for x64 and ARM as CMAKE_SYSTEM_PROCESSOR
    is useless crap (bug 298 for real).
  * Add missing io.h for _setmode() MSVC warned about (bug 311).
  * Added BUILD_NO_LARGENAME define to be used by MSVC builds. Note that an
    MSVC build of libmpg123 does not support 64 bit file offsets. That would
    need more morting to the explicit API. Thanks to MS for making off_t even
    more messy and less useful.
  * Added JACK output, fixed handling of compat_str there and in win32_wasapi.
libsyn123:
* Fix syn123_mix() to actually do intermediate conversion when input
  and output encoding are the same but non-float. This makes out123 --mix work
  with s16 input and output, which is not that special!
libmpg123:
* Fix misguided handling of part2_3_length checks in III_get_scale_factors_1()
  and III_get_scale_factors_2() which invalidated decoding of a mono source
  encoded as ms+i-stereo (bug 312). This was a regression introduced with
  version 1.25.7.
libout123:
  * Print basic module loading errors only for last one in list. This enables
    use of an output module search list that anticipates module files not
    installed with the main package.
  * Fixes for win32_wasapi build with MSVC.

(From OE-Core rev: a4308b8959041a63896a01a5d79847805be5808d)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Andreas Müller
4c5b65b72f xorgproto: upgrade 2021.4.99.1 -> 2021.4.99.2
Changes:
* Bump inputproto to 2.3.99.2
* specs: Fix type of GESTURECLASS num_touches member
* specs: Fix type of TOUCHCLASS num_touches member
* Bump inputproto to 2.3.99.1
* specs: Specify XI 2.4 as unreleased

(From OE-Core rev: 1860cd0e36806d0a11dcbea52aafd017a68cf2f3)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Khem Raj
e84de43c6a qemu: Provide float128 via hwcaps2 on ppc64le
Fixes runtime problems with qemu-user
Fatal glibc error: CPU lacks float128 support (POWER 9 or later required)

(From OE-Core rev: 2a2ba9ec4ca1aeb4a1d5336bb18ab76253c87bc0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Khem Raj
39dbe03bd3 Revert "libgcc-initial: Do not build fp128 to decimal ppc functions"
This is now fixed in gcc properly, and the patches are backported into
gcc11 branch which OE updated to recently.

https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=645bfc161987a12395869728b63ed01084d23c00
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=f1d012911bd103e9701ed378f32928a3cbcf028a

This reverts commit 7883b4c1384fe30066072f39e9a930be537bc3b4.

(From OE-Core rev: ab8b8153469a038b09b6ff24be41f5942dca60ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Sakib Sajal
a331cb3c5d oe-time-dd-test.sh: improve output formatting
(From OE-Core rev: 3ca3a64d6a2a7160b04a7b0876fe0f744250bdfa)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Ross Burton
d5782204c3 qemu: fix virtio vhost-user-gpu CVEs
Fix a slew of CVEs (CVE-2021-3544, CVE-2021-3545, CVE-2021-3546) by
backporting the relevant patches from qemu's git.

(From OE-Core rev: ce850a5ce84f949d3114024c89ae3dd98fcbef41)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Ross Burton
2dc2bb9191 avahi: apply fix for CVE-2021-3468
This patch isn't yet upstream but it has been submitted and other distros
are shipping it.

(From OE-Core rev: ea33a4a2df4600a55b268e9d57e7396c30f3d123)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Tim Orling
2097f35eba python3-hypothesis: upgrade 6.13.14 -> 6.14.0
Add runtime dependency on:
  - python3-compression
  - python3-json
  - python3-statistics

Upstream release notes:

6.14.0 - 2021-06-09
The explain phase now requires shrinking to be enabled, and will be
automatically skipped for deadline-exceeded errors.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-14-0

(From OE-Core rev: 5a99655d4045cec83169136ca977e81c9123575a)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Tim Orling
f071b059a0 python3-manifest: add statistics subpackage
cpython/Lib/statistics.py contains common statistics functions

"""
Basic statistics module.
This module provides functions for calculating statistics of data, including
averages, variance, and standard deviation.
"""

(From OE-Core rev: cf1c49fea90e11bc037025e15e44f705a12385bf)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Richard Purdie
0764538eb7 README: Move to using markdown as the format
(From meta-yocto rev: d397ed754c04b8ef02b01ae4b439610ede12d9d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-16 16:33:18 +01:00
Richard Purdie
ff6b8af378 README: Tweak as the website isn't really new now
(From yocto-docs rev: 78c50ffffb6f4dd38b5097a64c2e284a6177750a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-16 16:33:18 +01:00
Michael Opdenacker
682ddc5f2a releases: put release number after "Release Series"
This avoids a confusion because of the way other manuals
are numbered, and aligns with the way the migration guides
are listed.

(From yocto-docs rev: 92f17a0ac68a64c86fa46ffbcec7acb3de3b23bf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Michael Opdenacker
c62b924e29 releases: clarify supported and outdated releases
(From yocto-docs rev: c3d6c36497f7af1ca19357c5474ff1e5743f597b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
54d16ea967 ref-manual: variables: fixup class reference in IMAGE_MANIFEST
The definition of IMAGE_MANIFEST was moved to a different class. Fixup
the documentation to reflect this change.

(From yocto-docs rev: 15c0a09154de2a1f6d36e1bb5bf283bd08c9ec3d)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
6bf4cd4e8d ref-manual: variables: fixup example in IMAGE_CMD
The example for IMAGE_CMD_jffs2 given in the glossary for IMAGE_CMD
didn't align with the implementation anymore. Update it to match the
implementation.

(From yocto-docs rev: 4db4efc42af89a109313c4cf33ae13e8236215e9)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Richard Purdie
eab093768d test-manual: Add initial YP Compatible documentation
This starts documenting the Yocto Project Compatible badging programme. This
adds an initial piece of documentation about it from which we can improve
as needed.

(From yocto-docs rev: baa70e3d0d6100e091eb78cf465a9734068a44e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
bec73cd4e6 ref-manual: migration-2.2: add note about IMGDEPLOYDIR
(From yocto-docs rev: e9921b746a0b2a4a2192bab224d9afa9d9395e1e)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
2618389ddc ref-manual: variables: document IMGDEPLOYDIR
DEPLOY_DIR_IMAGE has been replaced by IMGDEPLOYDIR for most use cases
since OE-Core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02. Document
IMGDEPLOYDIR and add a note to DEPLOY_DIR_IMAGE about it.

(From yocto-docs rev: dad7046f9428bde476d2241209c118d52529bed5)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
f5e157d229 ref-manual: variables: update examples refering to DEPLOY_DIR_IMAGE
DEPLOY_DIR_IMAGE has been replaced by IMGDEPLOYDIR for most use cases
since OE-Core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02. Update
examples given in the documentation to use IMGDEPLOYDIR and match their
implementation.

(From yocto-docs rev: 6cad5984306ffbf748a888cedc1a5015105e89fa)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Michael Opdenacker
5f978a6cca ref-manual: move migration guides to separate document
This makes the reference manual much lighter by moving
the migration guides to a separate document.

The migration guides are also reordered from last to first,
and they appear directly in the left bar, making them easier
to find in the documentation.

(From yocto-docs rev: 5121b86ee97eb62a0c69c9ad1fc0e3fabbe3e934)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Michael Opdenacker
dae1e986a0 manuals: fix epub export warnings
Needed now that warnings are turned into errors

(From yocto-docs rev: 3f99cff8c6c672967eb09f6950d16ed30260ca68)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Quentin Schulz
c2a68819d0 documentation: Makefile: turn warnings into errors by default
-W is for turning warnings into errors, --keep-going to make sure the
whole documentation is built and all warnings will be printed before
failing.

Since there's currently no warning, it's time to introduce it!

(From yocto-docs rev: 5d7b8547549b2203a03df617cdba70ccf2194c62)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Richard Purdie
1a1941cc48 test-manual: add initial reproducible builds documentation
(From yocto-docs rev: a4ec469042ccb2487c1d076a2c005f33f8021816)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Andrea Adami
b32f1ad879 kernel.bbclass: fix do_sizecheck() comparison
The routine do_sizecheck() was historically needed by legacy
devices with limited flash memory.
The lowest extreme is probably with Zaurus collie having exactly
1024*1024 = 1048576 bytes for the kernel partition.

In the years the KERNEL_IMAGE_MAXSIZE has been converted to kilobytes
thus rounded so we have now KERNEL_IMAGE_MAXSIZE_collie = "1024".

The effect is that now the check fails because we hit curiously this
 | WARNING: This kernel zImage (size=1024(K) > 1024(K)) is too big for...
even though zImage is 1047288 bytes (kernel + kexecboot-klibc-initramfs).

Fix this case using test -gt (greater) instead of -ge (greater or equal).

(From OE-Core rev: 254ca956d63b4ce6aa294213b60bb943f9f3a9e6)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 15:05:11 +01:00
Khem Raj
5933da887a musl: Set UPSTREAM_CHECK_COMMITS
(From OE-Core rev: ee80b59fba4828b88ccf4b8797a4d7816d31a60b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 15:05:11 +01:00
Khem Raj
3a55f9a33a musl: Do not package glibc loader
This was a ad-hoc solution which did not really work in all cases, now
gcompat is provided to deal with glibc based prebuilts, therefore there
is no need to provide this package

(From OE-Core rev: e2d54f02bcde7a95235a61b9622c584a77c4e9bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 15:05:11 +01:00
Khem Raj
c54865c125 gcompat: Add recipe
This is a compat library which helps running pre-compiled binaries which were
compiled for glibc but needs to run on musl systems, this is quite
common case where pre-existing binaries are supplied and can not be
recompiled immediately

(From OE-Core rev: 5efe7c06c8555672b535adae587596f65bff4fc5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 15:05:11 +01:00
Alexey Brodkin
29c42cf24d gcc: Fixes for ARC
A couple of fixes to be a part of 11.2 whenever it happens

1. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0061fabeb9393c362601486105202cfe837a5a68
   Fixes "harfbuzz" build, see https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/382
   for all the gory details.

2. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=4186b7e93be73f8d68dc0fcc00a4cc8cc83e99a8
   Fixes ext4 run-time issue:
   ------------------------->8---------------------------
   Path: /bin/busybox
   CPU: 0 PID: 1 Comm: init Not tainted 5.13.0-rc2-dirty #23
   Invalid Read @ 0x41c9e600 by insn @ __bio_try_merge_page+0x4e/0xfc
   ECR: 0x00050100 EFA: 0x41c9e600 ERET: 0x80159656
   STAT: 0x80080202 [IE K     ]   BTA: 0x80159648
    SP: 0x80821b88  FP: 0x00000008 BLK: bio_add_page+0x22/0x5c
   LPS: 0x801a6a94 LPE: 0x801a6a98 LPC: 0x00000000
   r00: 0x80823300 r01: 0xbfb85e38 r02: 0x00002000
   r03: 0x00000000 r04: 0x80821b9b r05: 0x80821bfc
   r06: 0x00000000 r07: 0x00000700 r08: 0x00000000
   r09: 0xffffffff r10: 0x00000000 r11: 0x00000000
   r12: 0x8080b300
   Stack Trace:
     __bio_try_merge_page+0x4e/0xfc
     bio_add_page+0x22/0x5c
     do_mpage_readpage+0x534/0x65c
     mpage_readahead+0x30/0xdc
     read_pages+0x34/0x194
     page_cache_ra_unbounded+0x56/0x154
     filemap_fault+0x25a/0x5d8
     __do_fault+0x94/0xe8
     handle_mm_fault+0x4de/0xbd4
     do_page_fault+0x108/0x21c
     ret_from_exception+0x0/0x8
   ------------------------->8---------------------------

3. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5a9b6a004f89fdd95b0470e1324dc4dee8c41d24
   Precautious fix for rare corner cases which we don't wnat to really end-up in.

(From OE-Core rev: 75110a9cc5e6840c65ed24bcca7d4cf1748ab67d)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
Joe Slater
319da63fc9 tcf-agent: change license to EPL/EDL
cpudefs-mdep-mux.h contains a proprietary license notice.

(From OE-Core rev: 6105678a1255aa41ae9314f4d99c571d2b73186a)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
zhengruoqin
2d4c9ee398 liburcu: upgrade 0.12.2 -> 0.13.0
(From OE-Core rev: d9b4f1aba8e47fc9a66497480f8aa4a89fc1d240)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
zhengruoqin
0f2ee5f16e libogg: upgrade 1.3.4 -> 1.3.5
(From OE-Core rev: 2c8b569df071116f647a4283b1e026d4272e205b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
7e1c41a3e6 ethtool: upgrade 5.10 -> 5.12
refresh avoid_parallel_tests.patch

(From OE-Core rev: e1d6e71a54b79b76eb62a6c8da3018b0642967db)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
e7d8ee28a4 less: upgrade 589 -> 590
(From OE-Core rev: 798f7c3cf5dcd531d16c426819147656c661dd2e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
0e33c2f8fc go: upgrade 1.16.4 -> 1.16.5
(From OE-Core rev: c0c567ed2fb092cde97d03cb658d8bae93d9b28c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
61f9f10dc5 gnutls: upgrade 3.7.1 -> 3.7.2
(From OE-Core rev: 3593a4c47d5e8faccb27c7cd975f18f90b9cd86f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
dc7c123df5 git: upgrade 2.31.1 -> 2.32.0
(From OE-Core rev: 2ed33305c4d3b160a996c4284b881f227111585d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
9673e6542c dtc: upgrade 1.6.0 -> 1.6.1
0001-fdtdump-Fix-gcc11-warning.patch
removed since it is included in 1.6.1

(From OE-Core rev: 23ef5cad6274604113d651da8156c96ad647dceb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
Changqing Li
2e36644856 libjpeg-turbo: fix do_compile error on arm
fix below error:
/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
31 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"

(From OE-Core rev: f6dd68994bfd602d60aea10df42176a5d71712d7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
Khem Raj
47b15ea9db qemuriscv: Enable 4 core emulation
Helps in running tests a bit faster

(From OE-Core rev: 735799a66e52ced9de9431ad3062b13583e3754f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
Khem Raj
957bab13ef libssp-nonshared: Use a different implementation for __stack_chk_fail
(From OE-Core rev: 8c4958cd53ce9265c2639dd3a90d38848edc3895)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:13 +01:00
Richard Purdie
59d93693bf build-appliance-image: Update to master head revision
(From OE-Core rev: 3b2903ccc791d5dedd84c75227f38ae4c8d29251)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 08:40:44 +01:00
Sakib Sajal
b44849c32c oeqa/core/target/qemu.py: display contents of dumped files
During do_testimage, if the target is not started within a certain
timeout, TEST_QEMUBOOT_TIMEOUT, host data is dumped to files for
each command in
${TMPDIR}/log/runtime-hostdump/<datetime>_qemu/host_<seq>_<command>.

Display the first 20 lines of top output and the last 20 lines of
bootlog to standard output for more context for the target not being
started up.

(From OE-Core rev: 441390b707bf681bc308c9ebd45ea2ae20c37d7c)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 08:38:29 +01:00
Tony Tascioglu
a71c3b390d valgrind: remove buggy ptest from arm64
This commit removes the stack_changes ptest from aarch64 devices.
This test is buggy and fails almost 100% of the time in qemuarm64.
In general, many of the valgrind tests are more likely to fail on
qemuarm64 vs native x86_64.

This test previously worked on gatesgarth and dunfell, but has
been failing since hardknott. It might be due to a recent change
in the cross-compiler or glibc.
The test runs fine when running natively on arm on a Raspberry Pi.

Until we can find the root cause for the failures, this shorter
term solution should clear up some of the noise from the autobuilder
from a known failure.

(From OE-Core rev: 82d6411b80a46d8ec0258ca75c3c80dc6128d44e)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 08:38:29 +01:00
Richard Purdie
d9e5152bd6 qemurunner: Increase startup timeout 120 -> 300
We now spend time copying the VM image into a tmpfs and with IO load on the
system, the time + the boot time of the VM can take longer than 120s. Increase
the timeout to match the added overhead of copying the image file.

(From OE-Core rev: a40087c966af5ffb9309e1ddfdb3d06973e0bddd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Richard Purdie
37be8268f9 qemurunner: Try to ensure mmap'd libs are paged in
We've seeing issues where IO load appears to cause strange failures due to timeouts
within qemu. One theory for these is that it is is hitting hard page faults
at in-opportune moments which cause timing problems within the VM.

This patch is a bit of a hack which tries to ensure the data is paged in
at a point when we know we can take the time delays (waiting for the QMP
start signal). Whilst this isn't ideal, it does seem to improve things on
the autobuilder and shouldn't harm anything.

The code figures out which files to read my looking at the mmap'd files
the process has open from /proc. On Centos7 systems these files are not
user readable, if that is the case we just skip them.

(From OE-Core rev: e77844314d09ceff9c22338d366519928f4f7284)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Khem Raj
576ddf658d ffmpeg: Link in libatomic on riscv32
It needs some functions from libatomic e.g.
libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8'

(From OE-Core rev: d5e4a55f3d8ed79afca11cbeac6f9f478537a83b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Andreas Müller
6e02a83ac7 p11-kit: upgrade 0.23.22 -> 0.23.24
* Use inclusive language on certificate distrust. Note: This changes the directory and attribute names to distrust certain CAs to
  "blocklist" [#324]
* Fix issues spotted by coverity and ASan [#349, #351]
* Integrate gettext with tools more tightly [#358]
* rpc: Forbid use of array of attributes [#365, #367]
* Build fixes [#342, #344, #345, #353, #362, #364]

(From OE-Core rev: 8bf6e76256e14f11a8ea4a240810280a479a1f57)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Andreas Müller
729f07fa6e vala: upgrade 0.52.3 -> 0.52.4
Vala 0.52.4
===========
 * Various improvements and bug fixes:
  - codegen:
    + GArray, GByteArray and GPtrArray are reference counted
    + Replace wrongly hard coded usage of G_OBJECT_GET_CLASS
    + Don't add errornous cast for unknown type_symbol
    + Mark entry point method implementation "_vala_main" as static
    + Improve check for GLib.Source derived classes
  - vala: Parameter following params-array parameter is not allowed
  - doc: Update man page to include more information on profiles

 * Bindings:
  - glib-2.0: Add missing has_typedef attributes on SourceFuncs delegates
  - gstreamer: Update from 1.19.0+ git master
  - gtk+-3.0: Update to 3.24.29+f9fe28ce
  - gtk4: Update to 4.3.0+24f0ae1d
  - pango: Mark language parameter of AttrIterator.get_font() as out
  - vapi: Update GIR-based bindings

(From OE-Core rev: 9f0f6ef0daf913057af69a834f3607e567d2e54d)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Andreas Müller
0f332fbcc2 epiphany: upgrade 40.1 -> 40.2
40.2 - June 4, 2021
===================

 * Fix some memory leaks (from !958)
 * Fix memory corruption in history dialog (!960)
 * Fix crash when checking for modified forms (!962)

(From OE-Core rev: 0620fe059767f4b914df0be7b4f1b28aee3081a2)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Ross Burton
5e6218929d image_types: add zsync conversions
Add image conversion types to create zsync[1] metadata.  Use .zsync if
the image is already compressed and .gzsync if zsync should compress the
image itself.

The required tool, zsync-curl, has been submitted to meta-oe.

[1] http://zsync.moria.org.uk

(From OE-Core rev: e04113f8b139754c512278555558a1b88b35bc9e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
wangmy
e8e5b166e9 diffoscope: upgrade 175 -> 177
(From OE-Core rev: 80ab050b1d0aa1bc26321979c69117245e7755fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Khem Raj
6b47aefa31 arch-armv4: Allow -march=armv4
Even though it is deprecated in GCC 6 [1] it has not yet been
removed from gcc upstream. We do have active machines in OE
ecosystem which use armv4 ( SA11xx ) e.g. collie in meta-handheld
so until upstream gcc takes next step to remove them
lets support armv4 again, we are still carrying the relevant gcc patch
to support v4 BX fix.

[1] https://gcc.gnu.org/gcc-6/changes.html#arm

(From OE-Core rev: dea9b6c3fd62ec5ea8f12fcb9bf44870379c6f4b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Alex Stewart
4c68b71628 opkg: add QA check for openssl feed verification
Feed signature checking with OpenSSL will be deprecated in the next
release of opkg.

Upstream ML Announcement:
https://groups.google.com/g/opkg-devel/c/drqw5_HuXuU

The opkg-0.4.5 configure.ac already throws a warning when
`--enable-openssl` is requested.

Add a temporary QA check to the opkg recipe, which will throw a warning
to the builder when they have `openssl` enabled in their opkg
PACKAGECONFIG. This will give builders some time to either change their
feed verification mechanism, or raise their use-case with upstream.

(From OE-Core rev: 0ccd4149881113f5c8344ab0cefcf984ade50b1c)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Alex Stewart
e0b9f2c906 opkg: upgrade to version 0.4.5
Drop patches which have been accepted upstream.

(From OE-Core rev: 9fed64cca20e98ab8df874a172cfe17fb3f77142)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Alex Stewart
2104ab479b opkg-utils: upgrade to version 0.4.5
(From OE-Core rev: c1ac3d1a8af6d5752c8c1aa9d133ee35c18c743b)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Marcus Comstedt
39a6abee37 conf/machine-sdk: Add ppc64 SDK machine
(From OE-Core rev: 1b96a6e7d3a8128892a966afaedfb79f9196b949)

Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Luca Boccassi
3798d34dc9 systemd: install new sysext tool via systemd-extra-utils
New standalone (no new dependency) utility added in v248

(From OE-Core rev: 1fb6a0d0a46028107190d133f42b21e048a5db50)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Bruce Ashfield
176e62be47 linux-yocto/5.10: temporarily revert aufs
Integrating the following commit(s) to linux-yocto/5.10:

    a673c127156c Revert "aufs5: core"
    cf62bfcde384 Revert "aufs5: aufs5-base"
    a644419ec785 Revert "aufs5: aufs5-mmap"
    b893f9a999bb Revert "aufs5: aufs5-standalone"
    c60db0819480 Revert "aufs: initial port to v5.10"
    c66a5900f139 Revert "Revert "aufs: initial port to v5.10""
    1320cf58f5dd Revert "aufs: linux-v5.10-rc1, no more set_fs()"
    02349d7738ff Revert "for aufs: linux-v5.10-rc1, no more vfs_(read|write)f_t"
    f01dab74750c Revert "aufs: linux-v5.10-rc1, no more f_op->read() and ->write()"
    3d5de709b676 Revert "aufs5: aufs5-kbuild"

If this doesn't fix instability, we'll restore the functionality.
Work to isolate issues with aufs5 will continue at the same time.

(From OE-Core rev: dcbe9e133f74ca804f877f90e9c8e3fa7b73b88e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Bruce Ashfield
7ccf66174f linux-yocto/5.10: update to v5.10.42
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    65859eca4dff Linux 5.10.42
    972b4c19f55d usb: core: reduce power-on-good delay time of root hub
    5c7b23b79628 neighbour: Prevent Race condition in neighbour subsytem
    942790699977 scripts/clang-tools: switch explicitly to Python 3
    c1febac44856 net: hso: bail out on interrupt URB allocation failure
    0e3045c15ff9 Revert "Revert "ALSA: usx2y: Fix potential NULL pointer dereference""
    899b5131e74c SUNRPC: More fixes for backlog congestion
    c2779f8ddc9a bpftool: Add sock_release help info for cgroup attach/prog load command
    534b6229196e net: hns3: check the return of skb_checksum_help()
    bc924bbccc50 samples/bpf: Consider frame size in tx_only of xdpsock sample
    02ce4c943e2e i915: fix build warning in intel_dp_get_link_status()
    8d2ab018a07a net: mvpp2: add buffer header handling in RX
    ac493452e937 net: zero-initialize tc skb extension on allocation
    8cad65950b18 MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c
    70a922f59068 MIPS: alchemy: xxs1500: add gpio-au1000.h header file
    f6442ee08fe6 net: hsr: fix mac_len checks
    a6a0af3c902c sch_dsmark: fix a NULL deref in qdisc_reset()
    cd751bde9e0d net: ethernet: mtk_eth_soc: Fix packet statistics support for MT7628/88
    f103ae7c9c8b ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static
    5a2e1ce7abc2 ipv6: record frag_max_size in atomic fragments in input path
    5ac72351655f net: lantiq: fix memory corruption in RX ring
    988439906f6f scsi: libsas: Use _safe() loop in sas_resume_port()
    3a17d8adfa02 ASoC: qcom: lpass-cpu: Use optional clk APIs
    3cfd11506ed0 ixgbe: fix large MTU request from VF
    9948170c8eb4 bpf: Set mac_len in bpf_skb_change_head
    24cb8bb7f623 bpf, offload: Reorder offload callback 'prepare' in verifier
    78d5f411615a ASoC: cs35l33: fix an error code in probe()
    d29df5fc69ee staging: emxx_udc: fix loop in _nbu2ss_nuke()
    02f03883fdb1 cxgb4: avoid accessing registers when clearing filters
    a5212518b78c iommu/vt-d: Use user privilege for RID2PASID translation
    a663c1e418a3 net: hns3: put off calling register_netdev() until client initialize complete
    09867c500ec4 net: hns3: fix incorrect resp_msg issue
    815eb57e048b iommu/virtio: Add missing MODULE_DEVICE_TABLE
    8e534c981d7c gve: Correct SKB queue index validation.
    48f4ddec0ab9 gve: Upgrade memory barrier in poll routine
    da21a35c00ff gve: Add NULL pointer checks when freeing irqs.
    7114438671d6 gve: Update mgmt_msix_idx if num_ntfy changes
    b6ef5bfcd9d7 gve: Check TX QPL was actually assigned
    8b2cdc004d21 net/smc: remove device from smcd_dev_list after failed device_add()
    beb39adb150f mld: fix panic in mld_newpack()
    7e31bcbb335e bnxt_en: Fix context memory setup for 64K page size.
    4ebb03c9ffbe bnxt_en: Include new P5 HV definition in VF check.
    8f793568b02e net: bnx2: Fix error return code in bnx2_init_board()
    8eaca8d1caac net: hso: check for allocation failure in hso_create_bulk_serial_device()
    f9fc21e2b11e net: sched: fix tx action reschedule issue with stopped queue
    2f23d5bcd9f8 net: sched: fix tx action rescheduling issue during deactivation
    21c715109253 net: sched: fix packet stuck problem for lockless qdisc
    60e2193a600a tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAIT
    886dd7f3e9d3 openvswitch: meter: fix race when getting now_ms.
    b96adbf6601d cxgb4/ch_ktls: Clear resources when pf4 device is removed
    ada298f861a3 net: mdio: octeon: Fix some double free issues
    4bd833bb5e85 net: mdio: thunder: Fix a double free issue in the .remove function
    4246f7dc354f chelsio/chtls: unlock on error in chtls_pt_recvmsg()
    8ee7ef4a57a9 net: fec: fix the potential memory leak in fec_enet_init()
    9c386011fa61 net: packetmmap: fix only tx timestamp on request
    1f1b431a4fcd net: really orphan skbs tied to closing sk
    f5da0820c59d spi: Assume GPIO CS active high in ACPI case
    cd37040ba931 vfio-ccw: Check initialized flag in cp_init()
    ee67cbc13fc5 net: ipa: memory region array is variable size
    bf5c8f984f7f net: stmmac: Fix MAC WoL not working if PHY does not support WoL
    95cfa6c03047 ASoC: cs42l42: Regmap must use_single_read/write
    211c5d16e357 interconnect: qcom: Add missing MODULE_DEVICE_TABLE
    4e3cea8035b6 interconnect: qcom: bcm-voter: add a missing of_node_put()
    d7932e68520e net: dsa: fix error code getting shifted with 4 in dsa_slave_get_sset_count
    d5b0a1513b6c net: netcp: Fix an error message
    1354ec840899 linux/bits.h: fix compilation error with GENMASK
    b0f5d4891ea3 block: fix a race between del_gendisk and BLKRRPART
    ff945d033a04 platform/x86: touchscreen_dmi: Add info for the Chuwi Hi10 Pro (CWI529) tablet
    5fbc70eef88a drm/amdgpu: stop touching sched.ready in the backend
    4951dd498d48 drm/amd/amdgpu: fix a potential deadlock in gpu reset
    f98cdf084405 drm/amdgpu: Fix a use-after-free
    9fdb8ed37a3a drm/amd/amdgpu: fix refcount leak
    07ab4dfe0323 drm/amd/display: Disconnect non-DP with no EDID
    530baa6f3c06 SMB3: incorrect file id in requests compounded with open
    518457d0270c platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet
    c5bda3a559df platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI
    fe156a601cac platform/x86: hp-wireless: add AMD's hardware id to the supported list
    7e13db503918 btrfs: do not BUG_ON in link_to_fixup_dir
    88f566beb1cf btrfs: release path before starting transaction when cloning inline extent
    8eaa762e1d18 scsi: pm80xx: Fix drives missing during rmmod/insmod loop
    71084e2a4d2f openrisc: Define memory barrier mb
    6384103641e3 scsi: BusLogic: Fix 64-bit system enumeration error for Buslogic
    d64464279404 scsi: ufs: ufs-mediatek: Fix power down spec violation
    c7e0c6047c4f btrfs: return whole extents in fiemap
    df451eab6e00 brcmfmac: properly check for bus register errors
    f0044d135d15 Revert "brcmfmac: add a check for the status of usb_register"
    43e6b2ed46ac net: liquidio: Add missing null pointer checks
    e6fbd9faca9f Revert "net: liquidio: fix a NULL pointer dereference"
    32aba7137879 media: gspca: properly check for errors in po1030_probe()
    3d8ac40a7f22 Revert "media: gspca: Check the return value of write_bridge for timeout"
    9ffea48d9da2 media: gspca: mt9m111: Check write_bridge for timeout
    e4bb3dba9e24 Revert "media: gspca: mt9m111: Check write_bridge for timeout"
    9fd73df80fa4 media: dvb: Add check on sp8870_readreg return
    7dae0ca98ae4 Revert "media: dvb: Add check on sp8870_readreg"
    3bf09ab413c7 ASoC: cs43130: handle errors in cs43130_probe() properly
    ce333cc94e2a Revert "ASoC: cs43130: fix a NULL pointer dereference"
    7fe86d957a45 libertas: register sysfs groups properly
    bf2b6ffa9689 Revert "libertas: add checks for the return value of sysfs_create_group"
    e04f1a7e31a3 dmaengine: qcom_hidma: comment platform_driver_register call
    611640b63ae8 Revert "dmaengine: qcom_hidma: Check for driver register failure"
    d9029b19abe5 isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info
    fb278d346835 Revert "isdn: mISDN: Fix potential NULL pointer dereference of kzalloc"
    34f4c208a8ce ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()
    7e0dc2e96870 Revert "ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()"
    576675c286a0 isdn: mISDNinfineon: check/cleanup ioremap failure correctly in setup_io
    941062256773 Revert "isdn: mISDNinfineon: fix potential NULL pointer dereference"
    1f886612686c Revert "ALSA: usx2y: Fix potential NULL pointer dereference"
    95886dbe3e1c Revert "ALSA: gus: add a check of the status of snd_ctl_add"
    c8972b14044a char: hpet: add checks after calling ioremap
    0f4e71f3d339 Revert "char: hpet: fix a missing check of ioremap"
    4d2b8fcc3fc8 net: caif: remove BUG_ON(dev == NULL) in caif_xmit
    8b5bd5b7424a Revert "net: caif: replace BUG_ON with recovery code"
    62c2472aeee4 net/smc: properly handle workqueue allocation failure
    83d4efe6bf03 Revert "net/smc: fix a NULL pointer dereference"
    71723a796ab7 net: fujitsu: fix potential null-ptr-deref
    b67c3d74adc3 Revert "net: fujitsu: fix a potential NULL pointer dereference"
    52610c1d2577 serial: max310x: unregister uart driver in case of failure and abort
    f7d0b8542fbc Revert "serial: max310x: pass return value of spi_register_driver"
    6bbcc1206c40 Revert "ALSA: sb: fix a missing check of snd_ctl_add"
    870a11325e69 Revert "media: usb: gspca: add a missed check for goto_low_power"
    dac2dde8ee54 Revert "crypto: cavium/nitrox - add an error message to explain the failure of pci_request_mem_regions"
    2bfa3ab89cec gpio: cadence: Add missing MODULE_DEVICE_TABLE
    515181e38e97 platform/x86: hp_accel: Avoid invoking _INI to speed up resume
    3267a061096e mptcp: fix data stream corruption
    deeb7d84f20a mptcp: drop unconditional pr_warn on bad opt
    71227b62143d mptcp: avoid error message on infinite mapping
    cb554bbf364b nvmet-tcp: fix inline data size comparison in nvmet_tcp_queue_response
    e31975c346bf perf jevents: Fix getting maximum number of fds
    ee8a8dd10e1e afs: Fix the nlink handling of dir-over-dir rename
    ce23a0ad4955 i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E
    b523feb7e8e4 i2c: i801: Don't generate an interrupt on bus reset
    87f18aa51e3e i2c: mediatek: Disable i2c start_en and clear intr_stat brfore reset
    eff3c5b67fbb i2c: s3c2410: fix possible NULL pointer deref on read message after write
    935c9443f81c net: dsa: sja1105: fix VL lookup command packing for P/Q/R/S
    83999bf40c78 net: dsa: sja1105: call dsa_unregister_switch when allocating memory fails
    dd8609f20344 net: dsa: sja1105: add error handling in sja1105_setup()
    4a368bc25ab6 net: dsa: sja1105: error out on unsupported PHY mode
    4ef506c0718b net: dsa: sja1105: use 4095 as the private VLAN for untagged traffic
    6f4b79217f6b net: dsa: sja1105: update existing VLANs from the bridge VLAN list
    caff86f85512 net: dsa: fix a crash if ->get_sset_count() fails
    b91117b66fe8 net: dsa: mt7530: fix VLAN traffic leaks
    6d6bc8c75290 netfilter: flowtable: Remove redundant hw refresh bit
    fe6921e3b845 spi: spi-fsl-dspi: Fix a resource leak in an error handling path
    6da24cfc83ba tipc: skb_linearize the head skb when reassembling msgs
    5195ec5e365a tipc: wait and exit until all work queues are done
    0aa2212940b8 Revert "net:tipc: Fix a double free in tipc_sk_mcast_rcv"
    5343fcfc6cc8 SUNRPC in case of backlog, hand free slots directly to waiting task
    5dc905501f71 net/mlx5: Set term table as an unmanaged flow table
    143154a151c9 net/mlx4: Fix EEPROM dump support
    2e4b0b95a489 net/mlx5e: Fix null deref accessing lag dev
    cb6cc62d9e0f net/mlx5: Set reformat action when needed for termination rules
    2dde54e76b68 net/mlx5e: Fix nullptr in add_vlan_push_action()
    89a0e388c6f2 {net,vdpa}/mlx5: Configure interface MAC into mpfs L2 table
    bbd00c4d50db net/mlx5e: Fix error path of updating netdev queues
    02a8da446b49 net/mlx5e: Fix multipath lag activation
    fc41e45aa7e6 net/mlx5e: reset XPS on error flow if netdev isn't registered yet
    d66083c0d6f5 drm/meson: fix shutdown crash when component not probed
    92db1265f6cb NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config
    7087db95c0a0 NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
    ee21cd3aa854 NFS: Fix an Oopsable condition in __nfs_pageio_add_request()
    9b367fe770b1 NFS: fix an incorrect limit in filelayout_decode_layout()
    1fbbcd1752ff fs/nfs: Use fatal_signal_pending instead of signal_pending
    1b364f8ede20 Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails
    635ac38b3625 net: usb: fix memory leak in smsc75xx_bind
    77c6f2b36de1 usb: typec: mux: Fix matching with typec_altmode_desc
    bd4caf585b80 usb: gadget: udc: renesas_usb3: Fix a race in usb3_start_pipen()
    adccf1798262 usb: dwc3: gadget: Properly track pending and queued SG
    a40b07afcb86 thermal/drivers/intel: Initialize RW trip to THERMAL_TEMP_INVALID
    bfd46c08d609 USB: serial: pl2303: add device id for ADLINK ND-6530 GC
    794794459c52 USB: serial: ftdi_sio: add IDs for IDS GmbH Products
    f9a5cbdf86ef USB: serial: option: add Telit LE910-S1 compositions 0x7010, 0x7011
    682437d58e8b USB: serial: ti_usb_3410_5052: add startech.com device id
    6a931ceb0b94 serial: rp2: use 'request_firmware' instead of 'request_firmware_nowait'
    e95571170159 serial: sh-sci: Fix off-by-one error in FIFO threshold register setting
    604c654323fa serial: tegra: Fix a mask operation that is always true
    d007150b4e15 drivers: base: Fix device link removal
    8d83f109e920 USB: usbfs: Don't WARN about excessively large memory allocations
    bc439b4b6a6b Revert "irqbypass: do not start cons/prod when failed connect"
    b98a0380bc81 USB: trancevibrator: fix control-request direction
    ae46660bf29f serial: 8250_pci: handle FL_NOIRQ board flag
    60f9e33bb716 serial: 8250_pci: Add support for new HPE serial device
    a4a261328ce1 serial: 8250_dw: Add device HID for new AMD UART controller
    595505fc6f8b serial: 8250: Add UART_BUG_TXRACE workaround for Aspeed VUART
    023cd911d4c2 iio: adc: ad7192: handle regulator voltage error first
    885fbd6d360c iio: adc: ad7192: Avoid disabling a clock that was never enabled.
    e07d42897009 iio: adc: ad7793: Add missing error code in ad7793_setup()
    bd298334bffe iio: adc: ad7923: Fix undersized rx buffer.
    f70122825076 iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers
    fbb02b5e7a34 iio: adc: ad7124: Fix missbalanced regulator enable / disable on error.
    dceb4ec04222 iio: adc: ad7768-1: Fix too small buffer passed to iio_push_to_buffers_with_timestamp()
    a78238fa3bee iio: dac: ad5770r: Put fwnode in error case during ->probe()
    619289733df0 iio: gyro: fxas21002c: balance runtime power in error path
    0239a3746332 staging: iio: cdc: ad7746: avoid overwrite of num_channels
    ead51afc7f0d mei: request autosuspend after sending rx flow control
    31283877e3cd KVM: arm64: Prevent mixed-width VM creation
    bb2e3adf237c KVM: X86: Fix vCPU preempted state from guest's point of view
    439a0b07fdef thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue
    1b4a65408ec5 thunderbolt: usb4: Fix NVM read buffer bounds and offset issue
    5394ae9d8c79 misc/uss720: fix memory leak in uss720_probe
    1a2494c9eb02 serial: core: fix suspicious security_locked_down() call
    b71781c58982 seccomp: Refactor notification handler to prepare for new semantics
    a160cabf86a7 Documentation: seccomp: Fix user notification documentation
    adfe1d01e6f0 kgdb: fix gcc-11 warnings harder
    eeb3f0b0c351 selftests/gpio: Fix build when source tree is read only
    008f98f1dbac selftests/gpio: Move include of lib.mk up
    beac83e8bd09 selftests/gpio: Use TEST_GEN_PROGS_EXTENDED
    1cdabf921bfa drm/amdgpu/jpeg2.0: add cancel_delayed_work_sync before power gate
    bed5cc65ff3d drm/amdgpu/vcn2.5: add cancel_delayed_work_sync before power gate
    efd47c9d586d drm/amdgpu/vcn2.0: add cancel_delayed_work_sync before power gate
    01abf69154d0 drm/amdkfd: correct sienna_cichlid SDMA RLC register offset error
    2e4f262ef51d drm/amdgpu/vcn1: add cancel_delayed_work_sync before power gate
    e3a662e5e882 drm/amd/pm: correct MGpuFanBoost setting
    1a8ecc3cd1a1 dm snapshot: properly fix a crash when an origin has no snapshots
    cc5d84b1b07d ath11k: Clear the fragment cache during key install
    8135f46f5a48 ath10k: Validate first subframe of A-MSDU before processing the list
    6643b21aee1c ath10k: Fix TKIP Michael MIC verification for PCIe
    c4d5271830c6 ath10k: drop MPDU which has discard flag set by firmware for SDIO
    425cee636091 ath10k: drop fragments with multicast DA for SDIO
    b1b3dcd65377 ath10k: drop fragments with multicast DA for PCIe
    c17b3e1ffc14 ath10k: add CCMP PN replay protection for fragmented frames for PCIe
    6abcc01e8b3b mac80211: extend protection against mixed key and fragment cache attacks
    2b9b07b9a06f mac80211: do not accept/forward invalid EAPOL frames
    bf710b60bc7b mac80211: prevent attacks on TKIP/WEP as well
    e64ea0597050 mac80211: check defrag PN against current frame
    f51fe83ead3a mac80211: add fragment cache to sta_info
    9b21fcae6f68 mac80211: drop A-MSDUs on old ciphers
    c730d72aa6e8 cfg80211: mitigate A-MSDU aggregation attacks
    e3561d5af01c mac80211: properly handle A-MSDUs that start with an RFC 1042 header
    42d98e02193d mac80211: prevent mixed key and fragment cache attacks
    f7829b014bb6 mac80211: assure all fragments are encrypted
    b1f45a26bd32 netfilter: nft_set_pipapo_avx2: Add irq_fpu_usable() check, fallback to non-AVX2 version
    e6294c06e7c6 net/sched: fq_pie: fix OOB access in the traffic path
    e583eb5e7282 net/sched: fq_pie: re-factor fix for fq_pie endless loop
    47da4f614229 net: hso: fix control-request directions
    fb003a1bd603 proc: Check /proc/$pid/attr/ writes against file opener
    03b777ce8d70 perf scripts python: exported-sql-viewer.py: Fix warning display
    76b6c5a98f1a perf scripts python: exported-sql-viewer.py: Fix Array TypeError
    07f769416993 perf scripts python: exported-sql-viewer.py: Fix copy to clipboard from Top Calls by elapsed Time report
    7285b92dc55f perf intel-pt: Fix transaction abort handling
    ce3ea6b66ded perf intel-pt: Fix sample instruction bytes
    f01134321d04 iommu/vt-d: Fix sysfs leak in alloc_iommu()
    f9890652185b NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return()
    3e5b48d9e713 cifs: set server->cipher_type to AES-128-CCM for SMB3.0
    020b6b0dc7b6 ALSA: usb-audio: scarlett2: Improve driver startup messages
    9a75ed510385 ALSA: usb-audio: scarlett2: Fix device hang with ehci-pci
    7b42f41dab4c ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook Fury 17 G8
    7573b58a2d8f ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook Fury 15 G8
    b8cd7164b345 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook G8
    8ffce2b02b45 ALSA: hda/realtek: fix mute/micmute LEDs for HP 855 G8
    7906018de736 ALSA: hda/realtek: Chain in pop reduction fixup for ThinkStation P340
    2f0f8e06e7ea ALSA: hda/realtek: Headphone volume is controlled by Front mixer
    8ca63ce02782 ALSA: hda/realtek: the bass speaker can't output sound on Yoga 9i

(From OE-Core rev: a765ba646b0ab1ab1da5d0a7fcde2e7a1109d7dc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Richard Purdie
7f3c996d30 lttng-tools: upgrade 2.12.3 -> 2.12.4
Add a new lttng file to one of the tests to avoid test failures.

Also add a dependency on grep since standalone testing revealed test
failures without this. Normally this was added by other dependencies
in the ptest images so we didn't see this.

(From OE-Core rev: 5799a807eed44d380e142913e50308589b9412ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-08 12:25:20 +01:00
Ross Burton
5d8d24d5b7 gcc: enable branch protection by standard
Pass --enable-standard-branch-protection.  This is an aarch64-specific
option (currently) which does nothing on other targets.  On aarch64 this
generates code uses BTI/PAC instructions to mitigate Return Orientated
Programming attacks.  This approach is backwards compatible and the code
size/performance impact is typically negliable.

More details can be found at
https://events.static.linuxfound.org/sites/events/files/slides/slides_23.pdf

(From OE-Core rev: 84e6064cde02b463066d7b63fcf8baf392491327)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-08 12:25:20 +01:00
Kai Kang
b6ae985da0 valgrind: fix a typo
(From OE-Core rev: 0478d9b04d6a6d10e439116b23b641a1e2553e26)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-08 12:12:40 +01:00
Mingli Yu
52b9c12508 boost: fix wrong type for mutex in regex v5
Fixes:
 | ./boost/regex/v5/mem_block_cache.hpp:91:11: error: 'static_mutex' in namespace 'boost' does not name a type
 |    91 |    boost::static_mutex mut;

(From OE-Core rev: 707d3d6219ea10342e2a1a86df6335bcbae9182e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
zangrc
88318c6847 python3-pycairo: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 8f9584905f05337fab660a777152cace5180c2c9)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
477300ed95 python3-importlib-metadata: upgrade 4.4.0 -> 4.5.0
Upstream release notes:

v4.5.0
Issue 319: Remove SelectableGroups deprecation exception for flake8.

Previous upgrade release notes:

v4.4.0
Issue 300: Restore compatibility in the result from Distribution.entry_points
(EntryPoints) to honor expectations in older implementations and issuing
deprecation warnings for these cases: EntryPoints objects are once again
mutable, allowing for sort() and other list-based mutation operations. Avoid
deprecation warnings by casting to a mutable sequence (e.g.
list(dist.entry_points).sort()). EntryPoints results once again allow for
access by index. To avoid deprecation warnings, cast the result to a Sequence
first (e.g. tuple(dist.entry_points)[0]).

v4.3.1
Issue 320: Fix issue where normalized name for eggs was incorrectly solicited,
leading to metadata being unavailable for eggs.

(From OE-Core rev: 1d60ba1bc4eafc9cc232d61d2746f272fc966442)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
dfcc7541c6 at-spi2-core: upgrade 2.40.1 -> 2.40.2
Upstream release notes:

What's new in at-spi2-core 2.40.2:

* README: Remove outdated links.
* Key grab fixes for the new API.
* registryd: Add a missing call to va_end.

(From OE-Core rev: 887f1e60d9c9dc0cfcefe44480a30cb15bb0dc13)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
f56f963a02 python3-hypothesis: upgrade 6.13.7 -> 6.13.14
Add RDEPENDS on python3-unittest

Upstream release notes:

6.13.14
  This patch improves the :func:`~hypothesis.strategies.tuples` strategy
  type annotations, to preserve the element types for up to length-five
  tuples (:issue:`3005`).

  As for :func:`~hypothesis.strategies.one_of`, this is the best we can do
  before a `planned extension <https://mail.python.org/archives/list/typing-sigpython.org/thread/LOQFV3IIWGFDB7F5BDX746EZJG4VVBI3/>`__
  to :pep:`646` is released, hopefully in Python 3.11.

6.13.13
  This patch teaches :doc:`the Ghostwriter <ghostwriter>` how to find
  :np-ref:`custom ufuncs <ufuncs.html>` from *any* module that defines them,
  and that ``yaml.unsafe_load()`` does not undo ``yaml.safe_load()``.

6.13.12
  This patch reduces the amount of internal code excluded from our test suite's
  code coverage checks.

  There is no user-visible change.

6.13.11
  This patch removes some old internal helper code that previously existed
  to make Python 2 compatibility easier.

  There is no user-visible change.

6.13.10
  This release adjusts some internal code to help make our test suite more
  reliable.

  There is no user-visible change.

6.13.9
  This patch cleans up some internal code related to filtering strategies.

  There is no user-visible change.

6.13.8
  This patch slightly improves the performance of some internal code for
  generating integers.

(From OE-Core rev: 545b062e6816ad0c97a91e3cdbc486fc381f6263)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
73f05a2c83 python3-scons: upgrade 3.1.2 -> 4.1.0; simplify
* Drop UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX, the
  default pypi.bbclass values work now.
* Drop scipts/ patch, no longer applies.
* Add patch to fix man page installation.

License-Update: Update compyright years

Changelog for 4.1.0:
https://pyup.io/changelogs/scons/#4.1.0

Changelog for 4.0.1:
https://pyup.io/changelogs/scons/#4.0.1

Changelog for 4.0.0:
https://pyup.io/changelogs/scons/#4.0.0

(From OE-Core rev: 6fd0e96fca004ea7ec3441326ef0a601f36703c6)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:22 +01:00
Tim Orling
4882e7b989 maintainers.inc: update email address
(From OE-Core rev: 8d687d50c283fb8383cc63efb26cfc812b6fafe7)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:22 +01:00
Alistair Francis
139fb42023 recipes-bsp/opensbi: Add support for specifying a device tree
(From OE-Core rev: 48bc2f24796705dd7ab7fe4c74690e7e1715ddaf)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:22 +01:00
Alistair Francis
984066eb13 recipes-bsp/u-boot: Allow deploying the u-boot DTB
Use ??= assignment for UBOOT_DTB_BINARY because it is set using ?= in
fitImage bbclass as well, using ?= will preempt that

(From OE-Core rev: efe9f33beb053c8d645bfa5791846ffaa3cbceb4)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:22 +01:00
Michael Opdenacker
6387c76f01 bitbake: doc: bitbake-user-manual: fix erroneous statement in glossary intro
This is the BitBake glossary.
Remove an erroneous statement probably coming from the introduction
to the YP/OE glossary.

(Bitbake rev: 398a1686176c695d103591089a36e25173f9fd6e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Michael Opdenacker
3a740684a3 bitbake: docs: Add BB_HASHSERVE definition to glossary
(Bitbake rev: 0ab3255f8e9d9c8c8aa4788504ab06a50d1bb1f2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Chris Laplante
66f22c0bd1 bitbake: build: warn on setting noexec/nostamp/fakeroot flag to any value besides '1'
Currently setting those flags to even the empty string "" causes it to be set,
which is contrary to the documentation. In a future version of BitBake, we'd
like to change the behavior so that setting the flag to "" does not set it.
This will allow conditionally setting noexec, using variable expansion or
inline Python.

I found no places in poky or meta-openembedded where this warning would trigger.

[YOCTO #13808]

(Bitbake rev: 1e7655c4f765ba7b4791c4cca048a69bf8d9c93d)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Quentin Schulz
c9ef89b3b9 bitbake: doc: user-manual: ref-manual: remove mentions to BB_SETSCENE_VERIFY_FUNCTION2
This variable was removed in July 2019 with commit
5deaa5df730a "runqueue: Drop unused BB_SETSCENE_VERIFY_FUNCTION2".

There's no replacement, so let's update the documentation to not mention
this variable anymore.

This was found by running:
git grep -hoP '^   :term:`\K\w+(?=`)' doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | \
  xargs -I{} sh -c \
    "grep -Rq --include='*.py' --include='*.conf' --include='*.bbclass' --include='*.bb' --include='*.bbappend' --include='*.inc' \
      -w -E {}'_*(_[a-z]+[0-9a-z]*[a-z]+)*' || \
    echo {}"

(Bitbake rev: c2c0f5126c7c784bfd7a08f127e161a58c6b5d12)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Quentin Schulz
2c37ab65e5 bitbake: doc: user-manual: remove mentions to BBVERSIONS
BBVERSIONS support was dropped in November 2016 in commit
0bb188f01e39 "ast: remove BBVERSIONS support".

Let's update the documentation to reflect this.

This was found by running:

git grep -hoP '^   :term:`\K\w+(?=`)' doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | \
  xargs -I{} sh -c \
    "grep -Rq --include='*.py' --include='*.conf' --include='*.bbclass' --include='*.bb' --include='*.bbappend' --include='*.inc' \
      -w -E {}'_*(_[a-z]+[0-9a-z]*[a-z]+)*' || \
     echo {}"

(Bitbake rev: 376e20c1aaff197020cdb68d309b3b22f19dafe8)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Paul Barker
287ee25145 bitbake: asyncrpc: Reduce verbosity
(Bitbake rev: cc803609167b4c399ab768d9e131d618c086a4f2)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Paul Barker
cba7d8f361 bitbake: asyncrpc: Add ping method
This method is needed to support startup of the prservice. As it is so
generic we can add it to the common asyncrpc module.

(Bitbake rev: 25ccd697ea76f66b813be2296866b2d3405b079c)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Scott Weaver
cbb8744735 bitbake: fetch2: add check for empty SRC_URI hash string
No error was being reported when the hash string was set to empty.
For example: SRC_URI[md5sum] = ""

On a related note (not a bug):
Because whitespace in the string will result in a checksum mismatch, the error
message was updated to make it a little clearer why the error was thrown.
For example: SRC_URI[md5sum] = " " or
SRC_URI[md5sum] = " 209f8326f5137d8817a6276d9577a2f1"

Now creates a message like this:
File: '/home/scott/yocto-cache/downloads/rsync-3.2.3.tar.gz' has md5
checksum '209f8326f5137d8817a6276d9577a2f1' when ' 209f8326f5137d8817a6276d9577a2f1' was expected

[YOCTO #14232]

(Bitbake rev: a13510d0028e234ea2f4744b0d0c38558395c70f)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Tony Tascioglu
be491f7343 valgrind: Improve non-deterministic ptest reliability
Several of the valgrind tests (particulaly helgrind) are unreliable and
can fail with a different output.

Particularly, there is a higher chance of failure on QEMU instances with
SMP enabled and on systems with more interrupts such as laptops on powersave.

The tests have been reported upstream as being unreliable dating back
over 5 years, due in part to the ordering of threads during
an "unwinding" process in helgrind.
https://bugs.kde.org/show_bug.cgi?id=345121
https://bugs.kde.org/show_bug.cgi?id=430321

A workaround to improve the reliability of such tests is to force them
to run on a single CPU core using taskset. This greatly reduces the
chance of a failure.

>From my testing, I have found it can help reduce the rate of failures
on both a laptop and QEMU by over 5x. Stress-testing in QEMU for several
hours did not result in a failure while running the test normally did.

The flaky or undeterministic thread-based tests are defined in the
taskset_nondeterministic_tests file. These test cases will be run with
taskset 0x00000001 to run on a single CPU core rather then the regular
test.

The edited run-ptest executes the flaky tests first, then ignores them
to not duplicate the results from the main tests. Everything modified is
restored when testing is complete.

The drawback is that this isn't a foolproof solution. It helps the tests
fail much less frequently, and considering how this issue has been documented
for a long time, a workaround such as this is needed.

(From OE-Core rev: b318944dd72ca7b0408e955f3599381ab3ac3ba8)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
48ecf617b5 python3-libarchive-c: upgrade 3.0 -> 3.1
Add runtime dependency to resolve errors that occurred when import libarchive.

(From OE-Core rev: 5d29a4f036a81076b9ddd98dd93d885f8d2b9f74)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Khem Raj
c602b72c2c harfbuzz: Fix unused-variable warning
Backport a patch to fix the issue

(From OE-Core rev: aa67d21a2a3b18180475c7fc9e8e17f3c80831f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Mingli Yu
3d493f846b sysstat: make the service start automatically
Make sysstat start automatically during bootup.

(From OE-Core rev: e9401f17fe63bef2c3c79e63a9a549d4f450d6a0)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
365bbbab06 erofs-utils: correct upstream version check
(From OE-Core rev: fe5053cf2531527642cf46263793485cc43d524c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
ecad002f35 libgcrypt: upgrade 1.9.2 -> 1.9.3
License-Update: added terms for cipher/cipher-gcm-ppc.c, still under GPL

(From OE-Core rev: d28c1f67c447f99313890e68083da61adcc66f74)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
85d71e2621 perl: update 5.32.1 -> 5.34.0
(From OE-Core rev: 5787ca070e591bbee02f28a55a1118791aa34833)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
48e2dde053 perl-cross: 1.3.5 -> 1.3.6
(From OE-Core rev: 1443553478e28de03dd6f86834095ca8d13fd5f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
53cf53147f perl: split perl-cross into its own recipe
As perl and perl-cross need to be updated (and patches rebased)
in lockstep, devtool upgrade (and therefore AUH) can't cope with it.
Manually updating is still possible, but painful.

Split determinism.patch into perl and perl-cross parts, move the
rest of the perl-cross patches.

(From OE-Core rev: 60dcb230f65fb1a0f23341c379676f82213d6240)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
d39cef3f82 libcap: update 2.49 -> 2.50
(From OE-Core rev: 791d1a215400db08ef98193b2621ec02f108a302)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
c7b15f642b elfutils: update 0.183 -> 0.185
0001-add-support-for-ipkg-to-debuginfod.cxx.patch merged upstream.

0001-debuginfod-debuginfod-client.c-correct-string-format.patch rebased.

(From OE-Core rev: 466ba2d5c81f817334b2f9242daa8ffca271e224)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
b76b3e3743 virglrenderer: explicitly depend on libgbm
virtual/gl may not necessarily be mesa, and virgl needs
specifically the gbm part of mesa.

There's also hope nvidia will support gbm somehow, someday.

(From OE-Core rev: fd807dfa2ec25111dd359ec87d197020e747cf0d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alistair Francis
029af5bf7c recipes-bsp/opensbi: Disable FW_PIC
Disable FW_PIC to fix the error message:

opensbi-0.9-r0 do_package_qa: QA Issue: File /share/opensbi/lp64/generic/firmware/fw_jump.elf in package opensbi doesn't have GNU_HASH (didn't pass LDFLAGS?)

This is seen in newer versions of OpenSBI that enable FW_PIC by default.

(From OE-Core rev: 81015a75c378b0f90e802493150a9a525dbf59bd)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
ade102f807 less: upgrade 586 -> 589
(From OE-Core rev: f209fceeeb4eabe7a0b4b016b538f911a51dd913)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
83794c3d44 python3-magic: upgrade 0.4.22 -> 0.4.23
(From OE-Core rev: b8f80cd1e2a845905fec296cd8d7ee91728492d2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
15bf840487 mtools: upgrade 4.0.27 -> 4.0.29
(From OE-Core rev: 4d117a12bf0d25848c18ccda17e047b60af8bb67)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
d43182f59b cmake: upgrade 3.20.2 -> 3.20.3
(From OE-Core rev: edfbd6f9e597387119d145db0742ba3290cccc2d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
zhengruoqin
c0a17721aa python3-importlib-metadata: upgrade 4.3.0 -> 4.4.0
(From OE-Core rev: 676b32cd5f44420a70d48a6bc4028ae7c6aed99a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
d2b05c92b4 xf86-input-libinput: upgrade 0.30.0 -> 1.0.1
License was changed to real MIT [1]

[1] 2bbc4727a1

(From OE-Core rev: bd4d34ab9bcb1b0125d6bbcf3be58bc363d5d13c)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
452f493ca5 libinput: upgrade 1.17.3 -> 1.18.0
* COPYING changed by link (master->main) [1]

[1] 354df8bce9

(From OE-Core rev: e26d68d1333f920998fa5fd1ee0570f5a8deb9c7)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
590de505df alsa-utils(-scripts): upgrade 1.2.4 -> 1.2.5
See changelog at [1]

[1] https://github.com/alsa-project/alsa-utils/releases/tag/v1.2.5

(From OE-Core rev: 1caf952dc651ab39258fbad98ced5bfa7a7841bf)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
3c0dd6b220 alsa-ucm-conf: upgrade 1.2.4 -> 1.2.5
See changelog at [1]

[1] https://github.com/alsa-project/alsa-ucm-conf/releases/tag/v1.2.5

(From OE-Core rev: 3b69f6c45082b28aea2cbf4ed3580fb01e56654c)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
3c4fdb0790 alsa-topology-conf: upgrade 1.2.4 -> 1.2.5
Changes:
/Makefile
 - Makefile: add SRCPATH to override the source .conf tree
 - Introduce Makefile to simplify the binary files availability
Description
 - Introduce Makefile to simplify the binary files availability

(From OE-Core rev: d60012e8086d09c6e3153ce9afda58fa3cb87bfc)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
2b0b7985ef alsa-tools: upgrade 1.2.2 -> 1.2.5
Changelog:
Core
 - Release v1.2.5
hdspmixer
 - hdspmixer: add output loopback buttons
 - hdspmixer: enhance saving of presets

(From OE-Core rev: 3988250b577cd6a011a2ee49020b2302173c166f)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
6790b8ad76 alsa-plugins: upgrade 1.2.2 -> 1.2.5
Changelog is found at [1]

[1] https://github.com/alsa-project/alsa-utils/releases/tag/v1.2.5

(From OE-Core rev: ddb85c0a171ef792117dfe6e2c6d1f5a0b27dfef)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
8217f02048 alsa-lib: upgrade 1.2.4 -> 1.2.5
* Backported patch can go
* See full changelog at [1]

[1] https://github.com/alsa-project/alsa-lib/releases/tag/v1.2.5

(From OE-Core rev: 2aa6eee190e123e224b34ed4521b095e2dbb780c)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
97a8f1c4b5 systemd: Add more ugly casts to fix build with musl
(From OE-Core rev: 47df56f374921647eb99572a425f51eeade81bea)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
551ce77b43 mesa: upgrade 21.1.1 -> 21.1.2
Changes:
Adam Jackson (1):
      zink/ntv: Don't call free() on ralloc'd memory

Alyssa Rosenzweig (3):
      panfrost: Fix the reads_dest prototype
      panfrost: Fix is_opaque prototype
      panfrost: Increase tiler_heap max allocation to 64MB

Anuj Phogat (1):
      intel/gfx12+: Add Wa_14013840143

Charmaine Lee (1):
      svga: fix texture rectangle sampling when no sampler view declaration is defined

Emma Anholt (2):
      i915g: Disable 3D-pipeline clears.
      i915g: Add support for the .Absolute flag on TGSI srcs.

Eric Anholt (1):
      i915g: Stop advertising support for indirect addressing in the FS.

Eric Engestrom (9):
      .pick_status.json: Update to 17861aff9614abfea3b8a8f111a114b26b351915
      pick-ui & .pick_status.json: rename `master_sha` to `main_sha`
      .pick_status.json: Update to b663c544177e9547793ee405887f0d41c50e6d1d
      .pick_status.json: Update to 507e8907af913ab7b89211240568b8002b3475f1
      .pick_status.json: Update to 3179daf61393ee8a0fac943b94335b114e34873b
      .pick_status.json: Update to 761383720617b46617bd278ec6015c9520f43f5c
      .pick_status.json: Update to 1199d86b2cccc38a101e63bdf9b60a7391f96092
      docs: add release notes for 21.1.2
      VERSION: bump for 21.1.2

Erik Faye-Lund (2):
      zink: use actual const for const offset
      util/prim_restart: revert part of bad fix

Erik Kurzinger (1):
      vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable

Georg Lehmann (1):
      radv: Fix compatible image handle type for dmabufs.

Ian Romanick (2):
      nir/algebraic: Remove some optimizations of comparisons with fsat
      nir/algebraic: Invert comparisons less often

Icecream95 (1):
      panfrost: Fix polygon list size computations

Italo Nicola (1):
      panfrost: fix GL_EXT_multisampled_render_to_texture regression

Jason Ekstrand (3):
      anv: Plumb the shader into push constant helpers
      anv: Support pushing shader constants
      intel/vec4: Don't spill fp64 registers more than once

José Fonseca (1):
      draw: Allocate extra padding for extra shader outputs.

Juan A. Suarez Romero (1):
      vc4: initialize array

Kenneth Graunke (2):
      i965: Don't advertise Y-tiled modifiers for scanout buffers on Gfx8-
      iris: Don't advertise Y-tiled modifiers for scanout buffers on Gfx8

Marek Olšák (3):
      ac/gpu_info: set has_zero_index_buffer_bug for Navi12 too
      radeonsi: add a gfx10 hw bug workaround with the barrier before gs_alloc_req
      radeonsi: disable DFSM on gfx9 by default because it decreases performance a lot

Mike Blumenkrantz (4):
      util/prim_restart: fix util_translate_prim_restart_ib
      aux/vbuf: prevent uint underflow and assert if no vbs are dirty
      aux/trace: fix set_inlinable_constants hook
      zink: remove weird lod hack for texturing

Nanley Chery (2):
      anv,iris: Port the D16 workaround stalls to BLORP
      intel/isl: Fix HiZ+CCS comment about ambiguates

Neha Bhende (2):
      svga: Add target and sampler_return_type info into shader key
      svga: Use shader_key info to declare resources if TGSI shader is missing it

Rhys Perry (3):
      aco: disallow SGPRs on DPP instructions
      radv: add radv_absolute_depth_bias
      radv: workaround incorrect depthBiasConstantFactor by Path of Exile

Robert Tarasov (1):
      iris: Check data alignment for copy_mem_mem

Samuel Pitoiset (4):
      aco: fix derivatives/intrinsics with SGPR sources
      radv: fix fast clearing DCC if one level can't be compressed on GFX10+
      aco: fix emitting discard when the program just ends
      radv: enable RADV_DEBUG=invariantgeom for Monster Hunter World

SureshGuttula (1):
      frontends/va/picture:Fix wrong reallocation even surface is protected

cheyang (1):
      virgl:Fix the leak of hw_res used as fence

(From OE-Core rev: 6d7cde03cc26adb5e1642ddc90f58aae60de1cbc)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Alexandre Belloni
998d23a2c6 runqemu: time the copy to tmpfs
Measure and display the time it takes to copy the rootfs to its new
location (usually in tmpfs) to try to understand whether it sometimes takes
a lot of time on the autobuilders.

(From OE-Core rev: be213114c1349e02ca48fd617a6c3badae8aa101)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Ross Burton
ae7595a603 Remove Clutter references
The clutter class and image have been moved to meta-gnome before it
is finally obsoleted for good, so remove mentions from the documentation.

(From yocto-docs rev: adab5d0047354b5a1b11c2ece48abd8f295f69b0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-05 09:38:27 +01:00
Quentin Schulz
ef13ab1c22 docs: ref-manual: variables: add missing links to terms glossary
The automated script used back then didn't take into account that
terms could be lowercase which is the case for module_autoload and
module_conf, so let's add a link to those too.

Fixes: 9e468274eaad "docs: ref-manual: ref-variables: add links to terms in glossary"

(From yocto-docs rev: beeaf0c48dcd79626c1591a68da4b13387aa0c3f)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-05 09:38:27 +01:00
Quentin Schulz
67d8de7df4 docs: ref-manual: migration-3.0: remove reference to non-existing BB_SETSCENE_VERIFY_FUNCTION2
This variable has been removed in July 2019 with commit
5deaa5df730a "runqueue: Drop unused BB_SETSCENE_VERIFY_FUNCTION2" in
bitbake git repo.

The glossary entry for the variable has been recently removed from bitbake
documentation, therefore the ref breaks the build.

Let's remove the reference so that the build still passes.

(From yocto-docs rev: 4db673a559d290547d4d6006ea692becb574deb7)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-05 09:38:27 +01:00
Ross Burton
8bcbec073f meta-poky: remove clutter references
(From meta-yocto rev: 4c507b7bd9453abce9faf9e764756c01f303d01d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
hongxu
7b0c669bf7 nativesdk-libdnf: fix installed and not shipped files
Since commit [1] applied, PYTHON_INSTALL_DIR is not right
on nativesdk build which caused [installed-vs-shipped] QA issue
...
|Building for python3
|-- Python install dir is
|tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-libdnf/0.63.0-r0/
recipe-sysroot-native/usr/lib/python3.9/site-packages
...

Yocto manually set PYTHON_INSTALL_DIR from recipe, it is not
necessary to call FindPythonInstDir.cmake which will override
Yocto setting

[1] f1cffbfb9f

(From OE-Core rev: d6b62b5a9d6c64971b9f981a4732791658150e43)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Joshua Watt
c78b8a87db classes/reproducible_build: Use atomic rename for SDE file
If an existing source date epoch file was found during do_unpack, it was
deleted and a new one would be written in its place. This causes a race
with check-before-use code in get_source_date_epoch_value. Resolve the
problem by making do_unpack write the new source date epoch to a
temporary file, then do an atomic rename to ensure it's always present,
and change the check-before-use code to use a EAFP exception instead of
checking for file existence.

[YOCTO #14384]

(From OE-Core rev: 0b5e3b33187bf78a2d62cc886463e4b27d6bd228)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Ross Burton
775b07b573 oeqa: remove Clutter usage
Remove the use of core-image-clutter in selftest and manual Toaster QA.

(From OE-Core rev: a634a0555d000d93a23890b68e54f06370f0a97e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Ross Burton
8431708201 Remove Clutter and Cogl
Clutter and Cogl are not used by anything in oe-core, and in Gnome are
legacy components so are only used by a few applications.  The recipes
have already been moved to meta-gnome so they can now be removed from
oe-core.

(From OE-Core rev: c4f167d05f58f35a6b94e8dbc4721ab67e7e71eb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Ross Burton
0eb836a58f core-image-weston: remove Clutter examples
The Clutter examples are pretty, but Clutter is dead so we should stop
using it.

(From OE-Core rev: f4cf7ae2e8ddcf6789c1604ac2b5ab010912f6c1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Ross Burton
d31ff93415 mx: remove from Openembedded Core
MX is obsolete (last release 2012) and isn't used by anything in any
known layer.

(From OE-Core rev: ecc5d74854c9152d21140f2a44927b98ae10c0cd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Joshua Watt
ba491952ee classes/buildhistory: Add option to strip path prefix
Adds an option to strip a prefix from the paths reported in
buildhistory. This makes it easier to compare task signatures in the
build history when the builds were done from different directories.

(From OE-Core rev: 194e7a29212c4a29222730f47d3133dfe92447c1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:41 +01:00
Robert P. J. Day
c26ea554a7 ref-manual: add glossary entry for NON_MULTILIB_RECIPES
(From yocto-docs rev: 6ed8e747265df899d8ce464d83281b0e0f04f9b2)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Nicolas Dechesne
e736434156 index: split releases manuals and indexes into two sections in the tree
(From yocto-docs rev: f245b7b096f699cdc4426022d61d963d7deb9a92)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Nicolas Dechesne
7c99358a1a index: remove links to releases manual and index
Keep the links in the left side navigation bar, but remove them from
the main page.

(From yocto-docs rev: d01324cfb6ecada22005ca05db99b0c1f75eb22e)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Nicolas Dechesne
4f13203488 index: remove the link/section to 'mega manual' from main page
The 'megamanuel' can be selected using the drop down menu on the
documentation website. It was reported it is confusing to have it on
the main page (and in the left side bar) as well. Let's remove it.

(From yocto-docs rev: 593898dc4a4695395856ea481b58cc5092ed3263)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Richard Weinberger
b755468a74 Document erofs filesystem targets
(From yocto-docs rev: 94cbbec788660cc3b18232e2343ce6723942426c)

Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Robert P. J. Day
23ff556abe ref-manual: add SRCTREECOVEREDTASKS to variable glossary
(From yocto-docs rev: c3e8eb234c9d1cf67dc46666ea26c1e4eb945c2c)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Michael Halstead
b5d761583e releases: update to include 3.1.8
Adding 3.1.8 to documentation switcher and release list.

(From yocto-docs rev: 657408bf30279b44f1e1255787a2c56b739df142)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Peter Kjellerstedt
9d1b332292 native.bbclass: Do not remove "-native" in the middle of recipe names
For dependencies such as "${PN}-foo", when modifying them for native
recipes, it is expected that they become "${BPN}-foo-native" rather
than "${BPN}-native-foo-native". This was previously done by removing
all occurences of "-native" from the dependency before adding
"-native" at the end. However, this fails for a recipe such as
"crate-native-tls" that happens to contain the string "-native" in the
middle of the name. Solve this by simply replacing ${PN} with ${BPN}
in the name instead before adding "-native" at the end

Also simplify adding "-native" to the end of names the recipe provides.
In this case it is not necessary to replace ${PN} with ${BPN} as the
recipes are expected to use ${BPN}-foo in the first place.

(From OE-Core rev: edaf8ff278fc96b122c4fc3266b63856e3350f4c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Peter Kjellerstedt
0b94e36b5f util-linux.inc: Do not modify BPN
Changing BPN to be "util-linux" regardless if it is the util-linux
recipe or the util-linux-libuuid recipe that is being built was an
easy way to allow ${BPN} and ${BP} to be used in the SRC_URI for both
recipes. However, it causes problems for native.bbclass where there
are expectations that ${BPN} and ${PN} match each other.

Use "util-linux" directly in the SRC_URI instead to avoid the problem.

(From OE-Core rev: 701ef7ff0e1b17150424a64acfafbb83f518f9c9)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Armin Kuster
75f691d728 package_manager/rpm: decode systemctl failures
Parse systemctl error to provide more info

[Yocto #14395]

(From OE-Core rev: 9d33a3ad68aeadd359e978b35097ece507a92b14)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Armin Kuster
20026c7246 systemctl: Stop tracebacks use formated error messages
When systemctl fail it would throw an exception and
dump a traceback. Lets use a more controlled workflow.

[Yocto #14395]

(From OE-Core rev: df510ae9a1494bc1be8d6673fbaa43d3f7cc8f40)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Richard Purdie
13ed11d909 oeqa/qemurunner: Improve timeout handling
We had debugging for qemu faiing to start which was no longer reachable
after the QMP changes. Reorder the code to enable this debugging to work
again which may allow insight into autobuilder failures in this area.

(From OE-Core rev: 8fac8c61565977c775d8ede5bddc856b7767a3e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Bruce Ashfield
3914105a25 linux-yocto/5.4: update to v5.4.123
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    103f1dbea1ae Linux 5.4.123
    af2a4426baf7 NFC: nci: fix memory leak in nci_allocate_device
    45aef101ca44 perf unwind: Set userdata for all __report_module() paths
    2960df32bb72 perf unwind: Fix separate debug info files when using elfutils' libdw's unwinder
    f3d9f09b10e3 usb: dwc3: gadget: Enable suspend events
    3173c7c80785 bpf: No need to simulate speculative domain for immediates
    2b3cc41d500a bpf: Fix mask direction swap upon off reg sign change
    2768f9962231 bpf: Wrap aux data inside bpf_sanitize_info container
    67154cff6258 Linux 5.4.122
    f97257cde764 Bluetooth: SMP: Fail if remote and local public keys are identical
    46b4a9c68572 video: hgafb: correctly handle card detect failure during probe
    3c18dc7de2bc nvmet: use new ana_log_size instead the old one
    a6f5ef8c1717 Bluetooth: L2CAP: Fix handling LE modes by L2CAP_OPTIONS
    d3d648163a03 ext4: fix error handling in ext4_end_enable_verity()
    829203752441 nvme-multipath: fix double initialization of ANA state
    2dea1e9ae5cf tty: vt: always invoke vc->vc_sw->con_resize callback
    cf52b24b172e vt: Fix character height handling with VT_RESIZEX
    971b3fb5b9a6 vgacon: Record video mode changes with VT_RESIZEX
    f0c9d29f232a video: hgafb: fix potential NULL pointer dereference
    44fe392e1adc qlcnic: Add null check after calling netdev_alloc_skb
    4914c67f1a62 leds: lp5523: check return value of lp5xx_read and jump to cleanup code
    171b3c1afaeb ics932s401: fix broken handling of errors when word reading fails
    d14cd329d83b net: rtlwifi: properly check for alloc_workqueue() failure
    533ac32a80c0 scsi: ufs: handle cleanup correctly on devm_reset_control_get error
    9e38cf9c3070 net: stmicro: handle clk_prepare() failure during init
    9d59d4364dfb ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read()
    8f2efd687d19 Revert "niu: fix missing checks of niu_pci_eeprom_read"
    04a064b36576 Revert "qlcnic: Avoid potential NULL pointer dereference"
    6d53d54ff5be Revert "rtlwifi: fix a potential NULL pointer dereference"
    7fb963895513 Revert "media: rcar_drif: fix a memory disclosure"
    6f2e5eb82557 cdrom: gdrom: initialize global variable at init time
    283cd246bcc1 cdrom: gdrom: deallocate struct gdrom_unit fields in remove_gdrom
    7e230e5ed8fd Revert "gdrom: fix a memory leak bug"
    6ef6f8cd1d34 Revert "scsi: ufs: fix a missing check of devm_reset_control_get"
    9c24899f1fae Revert "ecryptfs: replace BUG_ON with error handling code"
    a1f0e2bb4975 Revert "video: imsttfb: fix potential NULL pointer dereferences"
    bd2a12549fc2 Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe"
    5c463887edb3 Revert "leds: lp5523: fix a missing check of return value of lp55xx_read"
    1cb9f88cde8c Revert "net: stmicro: fix a missing check of clk_prepare"
    6f2a72774f38 Revert "video: hgafb: fix potential NULL pointer dereference"
    3471a221f308 dm snapshot: fix crash with transient storage and zero chunk size
    198ee66478b3 xen-pciback: reconfigure also from backend watch handler
    f1d3c63c3f12 mmc: sdhci-pci-gli: increase 1.8V regulator wait
    d9e9ec363560 drm/amdgpu: update sdma golden setting for Navi12
    e3be683d5e4e drm/amdgpu: update gc golden setting for Navi12
    1f0495355b60 drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang
    c11d59e5edba Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference"
    d55df42ef369 rapidio: handle create_workqueue() failure
    9f2a613e4b0b Revert "rapidio: fix a NULL pointer dereference when create_workqueue() fails"
    cdd91637d4ef uio_hv_generic: Fix a memory leak in error handling paths
    b0fc59e62bf9 ALSA: hda/realtek: Add fixup for HP Spectre x360 15-df0xxx
    c4e7ed4fa1b1 ALSA: hda/realtek: Add fixup for HP OMEN laptop
    2331f2592879 ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA
    1c783bfa7f8d ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293
    be1f7f30b66b ALSA: hda/realtek: reset eapd coeff to default value for alc287
    b2297d1b9511 ALSA: firewire-lib: fix check for the size of isochronous packet payload
    f95aabb6aed4 Revert "ALSA: sb8: add a check for request_region"
    2ed8227ebd84 ALSA: hda: fixup headset for ASUS GU502 laptop
    7ef36d303592 ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro
    844faf4a9675 ALSA: usb-audio: Validate MS endpoint descriptors
    c7456fc35dc8 ALSA: firewire-lib: fix calculation for size of IR context payload
    7981c124e34d ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26
    f72b96ff7935 ALSA: line6: Fix racy initialization of LINE6 MIDI
    048840df6de8 ALSA: intel8x0: Don't update period unless prepared
    a67a88f9e667 ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency
    34413f21acea cifs: fix memory leak in smb2_copychunk_range
    20197d327560 btrfs: avoid RCU stalls while running delayed iputs
    845c2b9d99b6 locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal
    439ce949ee90 nvmet: seset ns->file when open fails
    670d34d54320 ptrace: make ptrace() fail if the tracee changed its pid unexpectedly
    88128a5054f1 RDMA/uverbs: Fix a NULL vs IS_ERR() bug
    6fa78a6b9a3b platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios
    6e90ff540a7b platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue
    66abc4ef6a8b RDMA/core: Don't access cm_id after its destruction
    73e25a2d51bb RDMA/mlx5: Recover from fatal event in dual port mode
    8d8b8016e0af scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword()
    07865459eb62 scsi: ufs: core: Increase the usable queue depth
    a62225d951d7 RDMA/rxe: Clear all QP fields if creation failed
    257f132342ea RDMA/siw: Release xarray entry
    a19bb4c0566c RDMA/siw: Properly check send and receive CQ pointers
    a03676848886 openrisc: Fix a memory leak
    50fd584fbbb3 firmware: arm_scpi: Prevent the ternary sign expansion bug
    b239a0365b93 Linux 5.4.121
    b63a8e5b4a25 scripts: switch explicitly to Python 3
    2cbb484788fe tweewide: Fix most Shebang lines
    252495806968 KVM: arm64: Initialize VCPU mdcr_el2 before loading it
    50e5c93ca647 ipv6: remove extra dev_hold() for fallback tunnels
    b811a8a72366 ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods
    f5ddecb6a195 sit: proper dev_{hold|put} in ndo_[un]init methods
    cca2a2b340a9 ip6_gre: proper dev_{hold|put} in ndo_[un]init methods
    084a1858e256 net: stmmac: Do not enable RX FIFO overflow interrupts
    94600a8300c7 lib: stackdepot: turn depot_lock spinlock to raw_spinlock
    5233f4465e22 block: reexpand iov_iter after read/write
    48744773d63e ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP
    0ce1a72ac9b0 gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055
    b3252a87a811 drm/amd/display: Fix two cursor duplication when using overlay
    6cc777c6acbb bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit
    c5946eb52b73 scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found
    e39a105abbe5 ceph: fix fscache invalidation
    13bc6bda6a1e scsi: lpfc: Fix illegal memory access on Abort IOCBs
    e69c7c149199 riscv: Workaround mcount name prior to clang-13
    cd3ab0ac0a54 scripts/recordmcount.pl: Fix RISC-V regex for clang
    cfa65174402f ARM: 9075/1: kernel: Fix interrupted SMC calls
    a5923afb6149 um: Disable CONFIG_GCOV with MODULES
    2fe3fbcc53b8 um: Mark all kernel symbols as local
    cec4c3810ba3 Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state
    29da2bab24e9 Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices
    bbd7ba95bb06 ACPI / hotplug / PCI: Fix reference count leak in enable_slot()
    64f8e9526e31 ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend()
    41dd2ede9536 dmaengine: dw-edma: Fix crash on loading/unloading driver
    b003a4923628 PCI: thunder: Fix compile testing
    a05fb4ac72fb virtio_net: Do not pull payload in skb->head
    0d08bbce231b xsk: Simplify detection of empty and full rings
    323deebaa2d0 pinctrl: ingenic: Improve unreachable code generation
    e57e2dd9bbdd isdn: capi: fix mismatched prototypes
    7958cdd64cdf cxgb4: Fix the -Wmisleading-indentation warning
    acb4faa5f577 usb: sl811-hcd: improve misleading indentation
    eabb93e34425 kgdb: fix gcc-11 warning on indentation
    b806b41bf55d x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes

(From OE-Core rev: 881ed7938f84ba89b9bb20ce8e45ef9d85e80cb8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Bruce Ashfield
b88391a6a7 linux-yocto/5.10: update to v5.10.41
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    33069919e2dc Linux 5.10.41
    b34cb7ac32cc NFC: nci: fix memory leak in nci_allocate_device
    8d11e6ae4304 perf unwind: Set userdata for all __report_module() paths
    53eaf28c056d perf unwind: Fix separate debug info files when using elfutils' libdw's unwinder
    514883ebac77 KVM: x86: Defer vtime accounting 'til after IRQ handling
    77068304b30f context_tracking: Move guest exit vtime accounting to separate helpers
    5ae5e3f05831 context_tracking: Move guest exit context tracking to separate helpers
    27acfd11ba17 bpf: No need to simulate speculative domain for immediates
    c87ef240a8bb bpf: Fix mask direction swap upon off reg sign change
    4e2c7b297431 bpf: Wrap aux data inside bpf_sanitize_info container
    4068786a8690 Linux 5.10.40
    d8d261c7cfb3 Bluetooth: SMP: Fail if remote and local public keys are identical
    e8c34789f1b8 video: hgafb: correctly handle card detect failure during probe
    ed9fdd4c6f03 nvmet: use new ana_log_size instead the old one
    d28aa3c15736 x86/boot/compressed/64: Check SEV encryption in the 32-bit boot-path
    0296c9057ade rtc: pcf85063: fallback to parent of_node
    7b994b03f1de nvme-multipath: fix double initialization of ANA state
    e2c26ddd4e85 x86/Xen: swap NX determination and GDT setup on BSP
    d5c4605e9e1c openrisc: mm/init.c: remove unused memblock_region variable in map_ram()
    585d8425e504 drm/i915/gt: Disable HiZ Raw Stall Optimization on broken gen7
    eb46907f99d6 tty: vt: always invoke vc->vc_sw->con_resize callback
    a14ca25d4f23 vt: Fix character height handling with VT_RESIZEX
    8026eb8242bc vt_ioctl: Revert VT_RESIZEX parameter handling removal
    a3de46844f34 vgacon: Record video mode changes with VT_RESIZEX
    8e0d302e7e51 video: hgafb: fix potential NULL pointer dereference
    98404acf0a20 qlcnic: Add null check after calling netdev_alloc_skb
    865ec95a77f7 leds: lp5523: check return value of lp5xx_read and jump to cleanup code
    33a9ff900b9b ics932s401: fix broken handling of errors when word reading fails
    e81f94a71b00 net: rtlwifi: properly check for alloc_workqueue() failure
    f9f59f4ca2d8 scsi: ufs: handle cleanup correctly on devm_reset_control_get error
    0eb496c3c103 net: stmicro: handle clk_prepare() failure during init
    c89c9a291149 ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read()
    17e22164d6c5 Revert "niu: fix missing checks of niu_pci_eeprom_read"
    c794f7851c5d Revert "qlcnic: Avoid potential NULL pointer dereference"
    5e4fd74089b1 Revert "rtlwifi: fix a potential NULL pointer dereference"
    951ed241e228 Revert "media: rcar_drif: fix a memory disclosure"
    566086409511 cdrom: gdrom: initialize global variable at init time
    9285808072d4 cdrom: gdrom: deallocate struct gdrom_unit fields in remove_gdrom
    3d2a4fb91122 Revert "gdrom: fix a memory leak bug"
    64ae556541a3 Revert "scsi: ufs: fix a missing check of devm_reset_control_get"
    61b9bc3091a5 Revert "ecryptfs: replace BUG_ON with error handling code"
    6003d373bf2f Revert "video: imsttfb: fix potential NULL pointer dereferences"
    4baaa4946d72 Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe"
    03c5d02c38d4 Revert "leds: lp5523: fix a missing check of return value of lp55xx_read"
    059031afcdc1 Revert "net: stmicro: fix a missing check of clk_prepare"
    d88f05cecefd Revert "video: hgafb: fix potential NULL pointer dereference"
    fae4f4debf2b kcsan: Fix debugfs initcall return type
    2a61f0ccb756 dm snapshot: fix crash with transient storage and zero chunk size
    4528c0c32308 ipc/mqueue, msg, sem: avoid relying on a stack reference past its expiry
    63a5b3844770 xen-pciback: reconfigure also from backend watch handler
    c196031f4fd9 xen-pciback: redo VF placement in the virtual topology
    d047ec8730b2 mmc: sdhci-pci-gli: increase 1.8V regulator wait
    343208ffe92f powerpc/64s/syscall: Fix ptrace syscall info with scv syscalls
    105345b909d8 powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls
    3708b7a9c28c drm/amdgpu: update sdma golden setting for Navi12
    e32cb1057faa drm/amdgpu: update gc golden setting for Navi12
    0c47929fd836 drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang
    93ba55c14d70 drm/amdgpu: Fix GPU TLB update error when PAGE_SIZE > AMDGPU_PAGE_SIZE
    367c90f2bc1b x86/sev-es: Forward page-faults which happen during emulation
    5af89eeb7414 x86/sev-es: Use __put_user()/__get_user() for data accesses
    be4cba71b2d0 x86/sev-es: Don't return NULL from sev_es_get_ghcb()
    e7174da8c45b x86/sev-es: Invalidate the GHCB after completing VMGEXIT
    193e02196fad x86/sev-es: Move sev_es_put_ghcb() in prep for follow on patch
    9b942cb2d92e nvme-tcp: fix possible use-after-completion
    e4be68465322 Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference"
    1ba7a534a9e4 rapidio: handle create_workqueue() failure
    961ae8cbe893 Revert "rapidio: fix a NULL pointer dereference when create_workqueue() fails"
    d84b5e912212 uio_hv_generic: Fix a memory leak in error handling paths
    b044f5108e4b ALSA: hda/realtek: Add fixup for HP Spectre x360 15-df0xxx
    8add3dce391b ALSA: hda/realtek: Add fixup for HP OMEN laptop
    01dbb91d8589 ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA
    cfa55927478a ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293
    f693d0e72c4d ALSA: hda/realtek: reset eapd coeff to default value for alc287
    78a37c03c65c ALSA: firewire-lib: fix check for the size of isochronous packet payload
    00e5aa3f2116 Revert "ALSA: sb8: add a check for request_region"
    42796eb7c485 ALSA: hda: fixup headset for ASUS GU502 laptop
    2cc051b6a482 ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro
    e5ffa75afb5b ALSA: usb-audio: Validate MS endpoint descriptors
    ad7f8cced378 ALSA: firewire-lib: fix calculation for size of IR context payload
    3d063d6ce1d2 ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26
    f42cf1e7b86b ALSA: line6: Fix racy initialization of LINE6 MIDI
    214a9836697c ALSA: firewire-lib: fix amdtp_packet tracepoints event for packet_index field
    1e94ffd074dd ALSA: intel8x0: Don't update period unless prepared
    e227c60aa9ec ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency
    1b2b4d68172b misc: eeprom: at24: check suspend status before disable regulator
    42d35af92246 cifs: fix memory leak in smb2_copychunk_range
    56001dda032f btrfs: avoid RCU stalls while running delayed iputs
    e022914f206c powerpc: Fix early setup to make early_ioremap() work
    e354e3744b0b locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal
    5dfed1be0e9c locking/lockdep: Correct calling tracepoints
    075becedce37 perf/x86: Avoid touching LBR_TOS MSR for Arch LBR
    e207bbf555bd nvmet: seset ns->file when open fails
    6f08af55ea54 ptrace: make ptrace() fail if the tracee changed its pid unexpectedly
    eeafd6489d2c powerpc/pseries: Fix hcall tracing recursion in pv queued spinlocks
    d53738cd4855 tools/testing/selftests/exec: fix link error
    7cf4decefa05 RDMA/uverbs: Fix a NULL vs IS_ERR() bug
    c62c907ccc63 RDMA/mlx5: Fix query DCT via DEVX
    0cf036a0d325 platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios
    b8ff3221771a platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle
    2d6168fa6bc6 platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue
    753927b802f6 nvme-fc: clear q_live at beginning of association teardown
    33ebdee80e40 nvme-tcp: rerun io_work if req_list is not empty
    9c980795ccd7 nvme-loop: fix memory leak in nvme_loop_create_ctrl()
    4720f29acb3f nvmet: fix memory leak in nvmet_alloc_ctrl()
    737ccd21342c nvmet: remove unused ctrl->cqs
    bd538f2f136f RDMA/core: Don't access cm_id after its destruction
    75bdfe783732 RDMA/mlx5: Recover from fatal event in dual port mode
    8170c2039cc1 scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword()
    a6362a737572 scsi: qedf: Add pointer checks in qedf_update_link_speed()
    3f04b4f87f32 scsi: ufs: core: Increase the usable queue depth
    2ee4d79c3649 RDMA/rxe: Clear all QP fields if creation failed
    66ab7fcdac34 RDMA/core: Prevent divide-by-zero error triggered by the user
    15357010e0e1 RDMA/siw: Release xarray entry
    b83b49192767 RDMA/siw: Properly check send and receive CQ pointers
    c39a190d834d tee: amdtee: unload TA only when its refcount becomes 0
    12de3ff98935 openrisc: Fix a memory leak
    4dcb3aa4a5ad firmware: arm_scpi: Prevent the ternary sign expansion bug
    b561d56bcd16 Linux 5.10.39
    090466aeb6a0 scripts: switch explicitly to Python 3
    6ae514b8a8eb tweewide: Fix most Shebang lines
    ccecbcc9c574 ipv6: remove extra dev_hold() for fallback tunnels
    019c426b5360 ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods
    3c24dbd358bf sit: proper dev_{hold|put} in ndo_[un]init methods
    b18b1548cb4e ip6_gre: proper dev_{hold|put} in ndo_[un]init methods
    0473032821e6 net: stmmac: Do not enable RX FIFO overflow interrupts
    1fb05a3f1f20 lib: stackdepot: turn depot_lock spinlock to raw_spinlock
    7da9368f9151 block: reexpand iov_iter after read/write
    87f627a0280b ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP
    027926f4ff86 net:CXGB4: fix leak if sk_buff is not used
    9284b702c8e0 gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055
    1ce34fb34b99 drm/amd/display: Fix two cursor duplication when using overlay
    3851a86c3da8 nvmet: remove unsupported command noise
    86587f35cba9 net: hsr: check skb can contain struct hsr_ethhdr in fill_frame_info
    82646b1844a2 bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit
    dcbc4e33804c amdgpu/pm: Prevent force of DCEFCLK on NAVI10 and SIENNA_CICHLID
    d47d0d1a1fb2 scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found
    3611ce2f23a4 ceph: don't allow access to MDS-private inodes
    db275714dd50 ceph: don't clobber i_snap_caps on non-I_NEW inode
    2783c34d5430 ceph: fix fscache invalidation
    f8adfb1d370f scsi: lpfc: Fix illegal memory access on Abort IOCBs
    0195e2813aac riscv: Workaround mcount name prior to clang-13
    52b7b9ad63da scripts/recordmcount.pl: Fix RISC-V regex for clang
    b6b7f7ed7f96 riscv: Use $(LD) instead of $(CC) to link vDSO
    6a40e3f9a803 platform/chrome: cros_ec_typec: Add DP mode check
    b01b7999f49e ARM: 9075/1: kernel: Fix interrupted SMC calls
    2f06cd6d9c6a um: Disable CONFIG_GCOV with MODULES
    91628cfd70d0 um: Mark all kernel symbols as local
    d35891cbb1d4 NFS: NFS_INO_REVAL_PAGECACHE should mark the change attribute invalid
    87264fb5abac Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state
    c2742ef47574 Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices
    4800a98bcfe4 PCI: tegra: Fix runtime PM imbalance in pex_ep_event_pex_rst_deassert()
    dd6ba896ffa7 ACPI / hotplug / PCI: Fix reference count leak in enable_slot()
    ec324393a63c ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend()
    3029ef71ab22 dmaengine: dw-edma: Fix crash on loading/unloading driver
    13a2ca80d792 PCI: thunder: Fix compile testing
    a36703d08c83 virtio_net: Do not pull payload in skb->head
    cbb397b673bd isdn: capi: fix mismatched prototypes
    a60855366be5 cxgb4: Fix the -Wmisleading-indentation warning
    c6034b618c1a usb: sl811-hcd: improve misleading indentation
    c2e7c260371d kgdb: fix gcc-11 warning on indentation
    b6795cdc268b airo: work around stack usage warning
    80e414e7cf7d drm/i915/display: fix compiler warning about array overrun
    ee387de3cab1 x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes

(From OE-Core rev: dd8b2c9fd746991e0343cf4f42c31ebdca2e130a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Bruce Ashfield
c62eef40d5 linux-yocto/5.4: update to v5.4.120
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    e05d387ba736 Linux 5.4.120
    7f4ac21468b0 ASoC: rsnd: check all BUSIF status when error
    7f6a9044ff24 nvme: do not try to reconfigure APST when the controller is not live
    aa9d659856b1 clk: exynos7: Mark aclk_fsys1_200 as critical
    baea536cf51f netfilter: conntrack: Make global sysctls readonly in non-init netns
    fb80624f39d3 kobject_uevent: remove warning in init_uevent_argv()
    658e8982f0eb usb: typec: tcpm: Fix error while calculating PPS out values
    718f1c1fdf78 ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section
    3c63b72ffba0 ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address
    b05a28f47582 ARM: 9012/1: move device tree mapping out of linear region
    69e44f71319b ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
    bb4f8ead473a f2fs: fix error handling in f2fs_end_enable_verity()
    7a474350d8de thermal/core/fair share: Lock the thermal zone while looping over instances
    2c44110300b8 MIPS: Avoid handcoded DIVU in `__div64_32' altogether
    2759b770b53e MIPS: Avoid DIVU in `__div64_32' is result would be zero
    02b120493a9c MIPS: Reinstate platform `__div64_32' handler
    64508ebf9391 FDDI: defxx: Make MMIO the configuration default except for EISA
    ecdf893c5aef mm: fix struct page layout on 32-bit systems
    187598fd82cb KVM: x86: Cancel pvclock_gtod_work on module removal
    cdaae487e85b cdc-wdm: untangle a circular dependency between callback and softint
    b1de23dbeca7 iio: tsl2583: Fix division by a zero lux_val
    8229f1d40501 iio: gyro: mpu3050: Fix reported temperature value
    2496ead8b1b1 xhci: Add reset resume quirk for AMD xhci controller.
    de72d8769bcf xhci: Do not use GFP_KERNEL in (potentially) atomic context
    941328f7bda6 usb: dwc3: gadget: Return success always for kick transfer in ep queue
    7f15d999dd61 usb: core: hub: fix race condition about TRSMRCY of resume
    8f536512db87 usb: dwc2: Fix gadget DMA unmap direction
    36399169e6a0 usb: xhci: Increase timeout for HC halt
    68b5f65eaa6a usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield
    04904d90a71a usb: dwc3: omap: improve extcon initialization
    f78e2c36609b iomap: fix sub-page uptodate handling
    3c1db90ae0d0 blk-mq: Swap two calls in blk_mq_exit_queue()
    1c4962df9388 nbd: Fix NULL pointer in flush_workqueue
    0b6b4b90b74c kyber: fix out of bounds access when preempted
    dafd4c0b5e83 ACPI: scan: Fix a memory leak in an error handling path
    1648505d1353 hwmon: (occ) Fix poll rate limiting
    fa1547f6e4fb usb: fotg210-hcd: Fix an error message
    57f99e92e2f7 iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
    2b94c23eaf5e drm/i915: Avoid div-by-zero on gen2
    a9b2ac3f6ad1 drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected
    f77aa56ad989 mm/hugetlb: fix F_SEAL_FUTURE_WRITE
    b3f1731c6d7f userfaultfd: release page in error path to avoid BUG_ON
    1b8d4206a48c squashfs: fix divide error in calculate_skip()
    c451a6bafb5f hfsplus: prevent corruption in shrinking truncate
    0b4eb172cc12 powerpc/64s: Fix crashes when toggling entry flush barrier
    379ea3a4e34b powerpc/64s: Fix crashes when toggling stf barrier
    9cca6cc73bb9 ARC: mm: PAE: use 40-bit physical page mask
    e242c138ae01 ARC: entry: fix off-by-one error in syscall number validation
    9c1d454726fc i40e: Fix PHY type identifiers for 2.5G and 5G adapters
    7e7b538a9af5 i40e: fix the restart auto-negotiation after FEC modified
    d718c15a2bf9 i40e: Fix use-after-free in i40e_client_subtask()
    c77e2ef18167 netfilter: nftables: avoid overflows in nft_hash_buckets()
    a8cfa7aff11d kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
    043ebbccdde6 sched/fair: Fix unfairness caused by missing load decay
    687f523c134b sched: Fix out-of-bound access in uclamp
    51d3e462ea91 can: m_can: m_can_tx_work_queue(): fix tx_skb race condition
    c8e3c76cc8c5 netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
    ca74d0dbaffa smc: disallow TCP_ULP in smc_setsockopt()
    2f9f92e2ecec net: fix nla_strcmp to handle more then one trailing null character
    6aeba28d1213 ksm: fix potential missing rmap_item for stable_node
    dde73137ce9c mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
    262943265d97 mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
    3ddbd4beadfa khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()
    1816d1b3272a drm/radeon: Avoid power table parsing memory leaks
    8e0b76725c38 drm/radeon: Fix off-by-one power_state index heap overwrite
    9e3cbdc52318 netfilter: xt_SECMARK: add new revision to fix structure layout
    7a0a9f5cf8b5 sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
    f7f6f0777409 ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
    a04c2a398dc9 sunrpc: Fix misplaced barrier in call_decode
    b8168792c3fb RISC-V: Fix error code returned by riscv_hartid_to_cpuid()
    b1b31948c0af sctp: do asoc update earlier in sctp_sf_do_dupcook_a
    2e99f6871493 net: hns3: disable phy loopback setting in hclge_mac_start_phy
    954ea8a0cfe1 net: hns3: use netif_tx_disable to stop the transmit queue
    c073c2b27285 net: hns3: fix for vxlan gpe tx checksum bug
    56e680c09002 net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet()
    282d8a6a5546 net: hns3: initialize the message content in hclge_get_link_mode()
    ccffcc9f3574 net: hns3: fix incorrect configuration for igu_egu_hw_err
    3dd2cd64466e rtc: ds1307: Fix wday settings for rx8130
    2ad8af2b70e9 ceph: fix inode leak on getattr error in __fh_to_dentry
    b37609ad2277 rtc: fsl-ftm-alarm: add MODULE_TABLE()
    7d1ada9e1096 NFSv4.2 fix handling of sr_eof in SEEK's reply
    89862bd77e9c pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
    ff4d21fb2261 PCI: endpoint: Fix missing destroy_workqueue()
    bdbee0d84520 NFS: Deal correctly with attribute generation counter overflow
    7e16709fc540 NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
    20f9516b8372 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
    3ed8832aeaa9 ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook
    0454a3dc8747 PCI: Release OF node in pci_scan_device()'s error path
    364e8bb8b425 PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()
    e150f825ca29 f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
    f49f00dbe3d0 thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params()
    f599960166a0 ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
    44d96d2dc054 ia64: module: fix symbolizer crash on fdescr
    8b88f16d9d30 bnxt_en: Add PCI IDs for Hyper-V VF devices.
    98e1d0fe20ed net: ethernet: mtk_eth_soc: fix RX VLAN offload
    5da6affd9c7e iavf: remove duplicate free resources calls
    40d1cb16a578 powerpc/iommu: Annotate nested lock for lockdep
    d26436a3b913 qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
    9184f2608e89 wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
    78a004cdfd2d wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
    cd06b0786056 drm/amd/display: fixed divide by zero kernel crash during dsc enablement
    eed7287db3a9 powerpc/pseries: Stop calling printk in rtas_stop_self()
    63a42044b9a1 samples/bpf: Fix broken tracex1 due to kprobe argument change
    9f6e107aab14 net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule
    3aa4e4d7ccf4 ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()
    061868e90062 ASoC: rt286: Generalize support for ALC3263 codec
    56a6218e97db powerpc/smp: Set numa node before updating mask
    dfa2a8d2d8a7 flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target()
    5f24807c3cba sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
    9fc2c9579415 ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume
    f59db26081c0 kconfig: nconf: stop endless search loops
    c262de1777e4 selftests: Set CC to clang in lib.mk if LLVM is set
    2b9ad1fd9dd2 drm/amd/display: Force vsync flip when reconfiguring MPCC
    10ed519fa825 iommu/amd: Remove performance counter pre-initialization test
    82f6753ac96b Revert "iommu/amd: Fix performance counter initialization"
    ae33b2f845fd ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
    d61f2d938135 cuse: prevent clone
    7dac356a65db mt76: mt76x0: disable GTK offloading
    48be573a04f1 pinctrl: samsung: use 'int' for register masks in Exynos
    f88e0fbeff0f mac80211: clear the beacon's CRC after channel switch
    fadf3660a24f i2c: Add I2C_AQ_NO_REP_START adapter quirk
    7ffafbf2537d ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
    98ebeb87b2cf ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
    fae341909d6c Bluetooth: check for zapped sk before connecting
    29e498ff183a net: bridge: when suppression is enabled exclude RARP packets
    a3893726745f Bluetooth: initialize skb_queue_head at l2cap_chan_create()
    ca0dec6564e6 Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
    1ac09b2bdc99 ALSA: bebob: enable to deliver MIDI messages for multiple ports
    e2f577188581 ALSA: rme9652: don't disable if not enabled
    a6f2224be419 ALSA: hdspm: don't disable if not enabled
    4ea252600a7d ALSA: hdsp: don't disable if not enabled
    7900cdfbc1dd i2c: bail out early when RDWR parameters are wrong
    3c0432417fa3 ASoC: rsnd: core: Check convert rate in rsnd_hw_params
    e3564792359d net: stmmac: Set FIFO sizes for ipq806x
    ac740f06bf53 ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
    aee46e847d19 tipc: convert dest node's address to network order
    ccef53a27a24 fs: dlm: fix debugfs dump
    6c799f6c7427 PM: runtime: Fix unpaired parent child_count for force_resume
    18cb19eab713 KVM: x86/mmu: Remove the defunct update_pte() paging hook
    e888d623a420 tpm, tpm_tis: Reserve locality in tpm_tis_resume()
    a0fd39a09e31 tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
    0a60d4be38f0 tpm: fix error return code in tpm2_get_cc_attrs_tbl()

(From OE-Core rev: 6d5da1fa69df93d85b7eebbe8d60108eed4e4e6a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Bruce Ashfield
737fedc702 linux-yocto-dev: bump to v5.13+
(From OE-Core rev: 1dadbb3e852ad356d657156d8ef87338dc5509e0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Richard Purdie
faf001f022 python3-setuptools: upgrade 56.2.0 -> 57.0.0
Add a patch to fix a reproducibility issue in the new version.

(From OE-Core rev: ea6fffe4f07cfd105f861ad0d2dc7c7605bf9e64)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Richard Purdie
725b711ba3 curl: upgrade 7.76.1 -> 7.77.0
(From OE-Core rev: f88e16f4e4f77f532502806246dda38dfbc1a1e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:02 +01:00
Khem Raj
21a919c821 libucontext: Switch to meson build system
cross compiling with meson is easier than the plain makefile build
method that libucontext has, there were bunch of problems passing
compiler and make variables, compounded by the fact that makefile
decided on some compiler flags internally and thought that cflags are
synthesized completely in makefile and not passed from environment like
OE is doing. As a result some features were not being compiled in e.g.
function name aliases were missing

meson, on the other hand is cleaner and we have to add a patch to
support cpu architecture on meson cmdline, everything else pretty much
works out of box

(From OE-Core rev: 6e186e75d62e1afabd19a339924b66eac1418274)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:02 +01:00
Richard Purdie
aa0f01f1cd python3-jinja2: upgrade 3.0.0 -> 3.0.1
(From OE-Core rev: 6021790de3cc281f094ba6535031fd8c5023b273)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
250242f4d4 libepoxy: upgrade 1.5.5 -> 1.5.8
(From OE-Core rev: 575d3976bd774fbf93fccadafe37df689be02161)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
4204271747 libpcre2: upgrade 10.36 -> 10.37
Only the copyright year changed in license text.

(From OE-Core rev: 07d1c6948ec7b688f461e737a5afb00f3eb0c1cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
9b386cf2f9 xorgproto: upgrade 2021.4 -> 2021.4.99.1
(From OE-Core rev: f2d35063748c9bb6761f2d2b81a3904cb6e91d17)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
4ec8f799a9 kmod: upgrade 28 -> 29
(From OE-Core rev: 21f421c5caa3ddecda20e7d8718ba6db4d6acdbd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
ce82509d00 gi-docgen: upgrade 2021.5 -> 2021.6
(From OE-Core rev: 204971217fc2eea0bded7446e8e60562539c8f40)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
33d8fa8273 libinput: upgrade 1.17.2 -> 1.17.3
(From OE-Core rev: 711e6f77f3da132cf7238282bc6f499b48adf620)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
429802e73e vte: upgrade 0.64.0 -> 0.64.1
(From OE-Core rev: 6801cc787f0cccf4cb7b8a98535ccdd74fac2b1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
4a599203d9 libmodulemd: upgrade 2.12.0 -> 2.12.1
(From OE-Core rev: 446c90ceb71e3cdad0f3d0a1ea5bf9cf92018fc8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
36560dc85c python3-importlib-metadata: upgrade 4.0.1 -> 4.3.0
(From OE-Core rev: 933a4c6e656fb632b61beee03103b9bf26ede54a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
1e618f91a6 pango: upgrade 1.48.4 -> 1.48.5
(From OE-Core rev: 404986fba897f3dcf1e3d959d202e7c32655ff83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
db6ede6e49 python3-hypothesis: upgrade 6.12.0 -> 6.13.7
(From OE-Core rev: 42db8dcd5f010e7fa16f6b59a15c08f6a2e5c961)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
6a2ca04df5 libx11: upgrade 1.7.0 -> 1.7.1
(From OE-Core rev: 129f3b20d68e4711dfc67af5a58341266a9d3969)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
58e82e856f iproute2: upgrade 5.11.0 -> 5.12.0
(From OE-Core rev: e36e645bf02c608ccfe4e410bd72602d304d0cb5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
429dfff189 libxcrypt: Upgrade 4.4.20 -> 4.4.22
(From OE-Core rev: cb1b414a3af6d0c674f15969fbe560207c4aacde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
6b83800749 linux-firmware: upgrade 20210315 -> 20210511
There were additional links and new firmware versions added but these
were not under any additional licenses.

(From OE-Core rev: b0562c526817501a494a3674fed006ba40c8f164)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Changqing Li
164281a293 pkgconfig: update SRC_URI
The git repo for pkg-config was changed, so update the
SRC_URI accordingly with the new link.

(From OE-Core rev: 9fd1b9b8282d68213b187ab42fae27e6a3c95b2e)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Khem Raj
43380125d9 ovmf: Fix VLA warnings with GCC 11
(From OE-Core rev: 5406ce83e07c3f89b9f2bb26f083861467b7bc59)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Weinberger
63b3c44d27 Add support for erofs filesystems
Since Linux 5.4 a new read-only filesystem is available, erofs.
Compared to squashfs it offers much better read performance with and
without compression enabled.
It suppports two optional compressors, lz4 and lz4hc.

>From the mkfs.erofs man page:
EROFS is a new enhanced lightweight linux read-only filesystem with
modern designs (eg. no buffer head, reduced metadata, inline
xattrs/data, etc.) for scenarios which need high-performance read-only
requirements, e.g. Android OS for smartphones and LIVECDs.
It also provides fixed-sized output compression support, which improves
storage density, keeps relatively higher compression ratios, which is
more useful to achieve high performance for embedded devices with
limited  memory since it has unnoticable memory overhead and page cache
thrashing.

This commit adds support for three new filesystem targets:
erofs: erofs without compression
erofs-lz4: erofs with lz4 compresssion enabled
erofs-lz4hc: erofs with lz4hc compression enabled

(From OE-Core rev: 41dead1ff8ccc49e6cd6e6f5d41a59d164693e0d)

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Nikolay Papenkov
40d3366bea flex: correct license information
License-Update: Corrected license information

flex package is under two licenses:
- "BSD-3-Clause" is provided in top-level COPYING file; the license
  actually include third obligation (without the actual "3" numbering)
- "LGPL-2.0+" is explained by src/gettext.h

(From OE-Core rev: 7beaae812f55a43797a459f3ad25f1be121bdbe1)

Signed-off-by: Dmitry Kisil <d.kisil@inango-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
Steve Sakoman
219f9fc977 expat: set CVE_PRODUCT
Upstream database uses both "expat" and "libexpat" to report CVEs

(From OE-Core rev: 706bdcaec5fd7c59d7877bbefa5ed4ce5b4f3da1)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
Trevor Gamblin
fa50a3d34a bind: upgrade 9.16.15 -> 9.16.16
(From OE-Core rev: ad19d41cbdb2afa2f58fa18be44343f199ab488e)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
Richard Purdie
a939636ae4 oeqa/runtime/rpm: Drop log message counting test component
This test is flawed since multiple parts of the system can write to the log
and we obtain different numbers of log messages depending on factors we
can't control.

Drop the log testing component of the test.

[YOCTO #12465]

(From OE-Core rev: 2ad815dbafda0b90f5164f05d22dbbc26cb53f13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
zhengruoqin
fb83f447ef libucontext: upgrade 0.10 -> 1.1
(From OE-Core rev: f6093c2fb68279e7a269d0f9d9e5f54594a903ed)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
zhengruoqin
c95bb66335 libtest-needs-perl: upgrade 0.002006 -> 0.002009
(From OE-Core rev: a9524b680f55a4a3ba0d24b1ddb9f38e0f88c026)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
zhengruoqin
7a59b496e9 libedit: upgrade 20210419-3.1 -> 20210522-3.1
(From OE-Core rev: 3228a011c97e610ea24eb80343651a90fcd32417)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
f3cb3d3b0f stress-ng: upgrade 0.12.08 -> 0.12.09
(From OE-Core rev: 1de8a2a93b847a9de29bd3aa9a3248b59a19f07e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
ed9421da03 logrotate: upgrade 3.18.0 -> 3.18.1
(From OE-Core rev: dabd47e2f7cf4d8d2a4df15c2789bb3d9a7ccedd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
4dda8ecf4f python3-pytest: upgrade 6.2.3 -> 6.2.4
(From OE-Core rev: 4ff5f3234ca827bfa051418506975711ce12267f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
dce1c0ba4c python3-more-itertools: upgrade 8.7.0 -> 8.8.0
Add runtime dependency to resolve errors that occurred when import more_itertools.

(From OE-Core rev: 2165dc8b7f8448d5053ce25d676039430db25203)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
874caab5be python3-markupsafe: upgrade 2.0.0 -> 2.0.1
(From OE-Core rev: 2fab69a424910270354283a7a1270112237bf721)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
wangmy
786ab5d453 python3-libarchive-c: upgrade 2.9 -> 3.0
(From OE-Core rev: cebb8e0e9db0eac993a3b5c3395c2ac3c651a9e1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Richard Purdie
db36f166bd distro/maintainers: Fix up the ptest image entries
This fixes the maintainers file to match the ptest images changes

(From OE-Core rev: 592a2f1e95b2216e04206fbfb841a4d604a0827e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Alexander Kanavin
121438b52e images: add ptest images based on core-image-minimal
This greatly reduces build times needed for those images, as
they no longer need anything graphical, or -dev packages for
everything.

(From OE-Core rev: 2db500793d9c39caf7a94050df20684fe703e9f6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Alexander Kanavin
71a4173fc0 images: remove sato/weston ptest images
They have been replaced by core-image-minimal-ptest-fast/all

(From OE-Core rev: 0d5bd979a9f67474c4da1d69377a1a1c2161ca6b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Khem Raj
06667ed5d4 apt: Add missing <array> header
This issue is seen with clang/libc++

(From OE-Core rev: 65e9606bae6bcd849e3e30f3ce093ee64838b774)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Douglas Royds
1ccfa55156 icecc-create-env: Silence warning: invalid ICECC_ENV_EXEC
(From OE-Core rev: 42016f34ae59d4282491be9294d1e6698c18e1ba)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Douglas Royds
07ce33a7f4 icecc: Demote "could not get ICECC_CC" warning to note
For many components, it is perfectly correct not to have gcc or g++ in
the PATH, notably when INHIBIT_DEFAULT_DEPS is set.
We were getting a flood of warnings when icecc was enabled, eg:

    WARNING: base-files-3.0.14-r89.tait.8.6 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: base-files-3.0.14-r89.tait.8.6 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: base-files-3.0.14-r89.tait.8.6 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: busybox-inittab-1.33.0-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: busybox-inittab-1.33.0-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: busybox-inittab-1.33.0-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: linux-libc-headers-3.14-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: linux-libc-headers-3.14-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: linux-libc-headers-3.14-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX

Demote this message to a "NOTE".
It still appears in log.do_configure and friends:

    NOTE: Cannot use icecc: could not get ICECC_CC or ICECC_CXX

(From OE-Core rev: 720254152ca57c19acf1f156d47fd47af0afa20d)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Douglas Royds
3f34312b56 Revert "icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set"
Although this silenced the warnings, it also turned off icecc for
gcc-cross and friends, binutils-cross, and importantly, the linux
kernel.

This reverts commit 0315aabeff8e6483b737d0e23d6841f1394ad3c8.

[YOCTO #13863]

(From OE-Core rev: a0e86951498db15221d8bcf6ac3ba5016b3ca144)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Alexander Kanavin
3cdcc442c9 ptest: add newly discovered missing runtime dependencies across recipes
Making ptest images based on core-image-minimal uncovered quite a
few missing depenendcies from various recipes, here they are.

(From OE-Core rev: 2cda6242f2f0f6f9c6bdef72bbb271eab7e5e1f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Alexander Kanavin
9f4f30ac99 wayland: package target binaries into -tools, not into -dev
(From OE-Core rev: 5e96a2b56ce3ee4d113f3ae8b556c230f4b9df7d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Nisha Parrakat
134aad7c6a squashfs-tools: package squashfs-fs.h
Needed to build the latest debian version
of android-tools
Fixes below error while building android-tools libext4_utils.mk
| squashfs_utils/squashfs_utils.c:27:10: fatal error: 'squashfs_fs.h' file not found
| #include "squashfs_fs.h"
|          ^~~~~~~~~~~~~~~
| 1 error generated.
| core2-64-poky-linux/android-tools/10.0.0.r36-r0/git/system/extras/debian/libext4_utils.mk:29: recipe for target 'build' failed
| make: *** [build] Error 1

(From OE-Core rev: 543c3042eb5c79c6d506262c5d5d36884358d0be)

Signed-off-by: Nisha Parrakat <Nisha.Parrakat@kpit.com>
Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Ross Burton
47e98cbca0 gcc: revert libstc++-gdb.py installation changes
Commit dbb87d in the GCC 11 branch was intended to make the installation of
this Python module more robust, but for unknown reasons the library_name
in libstdc++.la in baremetal builds (for example, Zephyr) is unset, so the
module is just installed as "-gdb.py".

This may be a GCC bug, or a bug in our build. Until that is resolved,
revert the commit to fix the packaging.

(From OE-Core rev: 61947fc024bf18b42547d2ea4cad90184132994d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Guillaume Champagne
230d6b252c image-live.bbclass: order do_bootimg after do_rootfs
do_bootimg expects IMGDEPLOYDIR to exist, since it stores its artifacts
there. Therefore, do_bootimg should run after do_rootfs because
IMGDEPLOYDIR is created before do_rootfs runs since IMGDEPLOYDIR is
contained in do_rootfs' [cleandirs] varflag.

When do_bootimg depends on ${PN}:do_image_${LIVE_ROOTFS_TYPE},
do_bootimg is correctly ordered after do_rootfs because
do_image_${FSTYPE} tasks are added after do_image and do_image itself is
added after do_rootfs.

However, when do_bootimg doesn't depend on
${PN}:do_image_${LIVE_ROOTFS_TYPE}
(introduced by: 96f47c39f1d17f073243913d524bde84add41d8f), do_bootimg
can run before do_rootfs, thus before IMGDEPLOYDIR is created. To
avoid this situation, do_bootimg is now explicitly ordered after
do_rootfs.

(From OE-Core rev: 73c21db8e54002b300ba4972cb49c0577acc5406)

Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Carlos Rafael Giani
f67a12d243 ffmpeg: Add libopus packageconfig
(From OE-Core rev: 2c70334f847ecb872b3cf1061b3a8ed86557fddb)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Samuli Piippo
f32f72b29a cmake-native: enabled zstd support
CMake depends on having all formats supported and build issues can
arise when zstd is not available:
https://gitlab.kitware.com/cmake/cmake/-/issues/21552

Quote from a CMake dev:
"As far as CMake's design is concerned, we have no optional formats.
All should be supported. That's why we bundle sufficiently new versions
of libarchive and libzstd. If a distro builds with an older libarchive
that doesn't have zstd support, then that is not a proper packaging of CMake."

(From OE-Core rev: 897d3695e11484cb5e62d63e4d6b0b4893605c56)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Joshua Watt
eccefdff6a zstd: Add patch to fix MinGW builds
Adds a patch to fix the make files to work correctly when building for
MinGW

(From OE-Core rev: 5eb716501c57de18b505265a19ccf754dcf1a83c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Samuli Piippo
0ea02c5283 libarchive: enable zstd support
Now that zstd is in oe-core, add PACKAGECONFIG for it and enabled
it by default in libarchive.

zstd support is expected by CMake, which in nativesdk depends on
libarchive. CMake depends on having all formats supported and build
issues can arise when zstd is not available:
https://gitlab.kitware.com/cmake/cmake/-/issues/21552

Quote from a CMake dev:
"As far as CMake's design is concerned, we have no optional formats.
All should be supported. That's why we bundle sufficiently new versions
of libarchive and libzstd. If a distro builds with an older libarchive
that doesn't have zstd support, then that is not a proper packaging of CMake."

(From OE-Core rev: 6090bec1261726e5290f50e9cd22e42952253ed5)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Ross Burton
3c5e126401 package_rpm: pass XZ_THREADS to rpm
By default RPM uses the number of cores as the number of threads to use,
which can result in quite antisocial memory usage.

As we control the macros for compression anyway, we can pass XZ_THREADS
to limit the number of threads if needed.

(From OE-Core rev: b9c983eb22a9b0771a0454216d1d7cbb5f3f8a16)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Andrej Valek
1f577fec3c expat: upgrade 2.3.0 -> 2.4.1
Includes lot of security fixes, especially CVE-2013-0340/CWE-776.

(From OE-Core rev: 31142d9ddce396a6b490f974e952e7f056e2b192)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Petr Vorel
2f97ec19e0 ltp: Update to 20210524
Remove patches accepted in this upstream release
* determinism.patch (45530792a, 01fefa08c)
* libswapon.patch (2b64c727f)
* 0001-open_posix_testsuite-generate-makefiles.sh-Avoid-inc.patch
  (f38172209)
* 0002-Makefile-Avoid-wildcard-determinism-issues.patch (edf60cf6a)
* 0003-syscalls-swapon-swapoff-Move-common-library-to-libs.patch
  (ac140ed58)

Removed (test rewritten to new API)
* 0007-Fix-test_proc_kill-hanging.patch

(From OE-Core rev: d36bd5a532d38c786b87ec15f0eec1d849487fa5)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Richard Purdie
6aaaa066ce python3-setuptools: upgrade 56.0.0 -> 56.2.0
(From OE-Core rev: 6535cbfdd3ae3bc31b704cdb32ac1cac34156ae3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Khem Raj
95a4ea5057 gcc: Update to latest on release/gcc-11 branch
There has been 150+ fixes made available after gcc 11.1.0
was released, details of these fixes is here

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;hp=releases/gcc-11.1.0;h=9ee61d2b51d

(From OE-Core rev: 3dae2c37d68ba25266934156fced0eb85e1dcd8a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Bruce Ashfield
bacb97abbb linux-yocto/5.10: update to v5.10.38
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    689e89aee55c Linux 5.10.38
    ed350825e89a ASoC: rsnd: check all BUSIF status when error
    cd709c8e06b6 nvme: do not try to reconfigure APST when the controller is not live
    054add24a869 ext4: fix debug format string warning
    c5dffd422145 debugfs: Make debugfs_allow RO after init
    81cb4f36d62c dt-bindings: serial: 8250: Remove duplicated compatible strings
    c1514ad24c3e dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1
    c4e3d8cf615b i2c: mediatek: Fix send master code at more than 1MHz
    667627fa85a8 media: rkvdec: Remove of_match_ptr()
    b0402e785351 clk: exynos7: Mark aclk_fsys1_200 as critical
    805c990a9c54 drm/i915: Fix crash in auto_retire
    cd47b861d225 drm/i915/overlay: Fix active retire callback alignment
    a67c80dcb403 drm/i915: Read C0DRB3/C1DRB3 as 16 bits again
    17928443db88 drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp
    20530f7fde75 kobject_uevent: remove warning in init_uevent_argv()
    6ece86e9e88f usb: typec: tcpm: Fix error while calculating PPS out values
    5d2f09c44ff2 ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section
    ac421c7f90c8 ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address
    1eb77569029d ARM: 9012/1: move device tree mapping out of linear region
    6cdbafc2addd ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
    6d5fda434b1f clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
    06470de53e4f clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
    462049cfb342 MIPS: Avoid handcoded DIVU in `__div64_32' altogether
    d17af8b19d99 MIPS: Avoid DIVU in `__div64_32' is result would be zero
    d2abb95bb1a4 MIPS: Reinstate platform `__div64_32' handler
    cfddf6a685e3 mm: fix struct page layout on 32-bit systems
    89bd62079870 iommu/vt-d: Remove WO permissions on second-level paging entries
    0160f627929c iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
    a282b76166b1 Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL"
    c1f2d0beab5c Revert "iommu/vt-d: Remove WO permissions on second-level paging entries"
    31f29749ee97 KVM: VMX: Disable preemption when probing user return MSRs
    79abde761e05 KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported
    c8bf64e3fb77 KVM: nVMX: Always make an attempt to map eVMCS after migration
    2f86dd3d2bcf KVM: x86: Move RDPID emulation intercept to its own enum
    abbf8c99a9e1 KVM: x86: Emulate RDPID only if RDTSCP is supported
    8a7027f011c5 xen/gntdev: fix gntdev_mmap() error exit path
    652c9689f589 cdc-wdm: untangle a circular dependency between callback and softint
    12d16c24f35f iio: tsl2583: Fix division by a zero lux_val
    e8c6852bdba2 iio: gyro: mpu3050: Fix reported temperature value
    70698dda4bca xhci: Add reset resume quirk for AMD xhci controller.
    9d9526cc3c01 xhci: Do not use GFP_KERNEL in (potentially) atomic context
    ca043cc02a88 xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI
    fa4b1363256d usb: typec: ucsi: Put fwnode in any case during ->probe()
    e5366bea0277 usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4
    9bd96a2e77fd usb: dwc3: gadget: Return success always for kick transfer in ep queue
    45f37f54e7c1 usb: dwc3: gadget: Enable suspend events
    9238492b9a84 usb: core: hub: fix race condition about TRSMRCY of resume
    45ad6b592e64 usb: dwc2: Fix gadget DMA unmap direction
    7ad9256b49a6 usb: xhci: Increase timeout for HC halt
    42bb80ae0165 usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield
    95e3da5b53ba usb: dwc3: omap: improve extcon initialization
    3a96437f6bf8 blk-mq: Swap two calls in blk_mq_exit_queue()
    c9c1ed08c174 blk-mq: plug request for shared sbitmap
    cde4b55cfb24 nbd: Fix NULL pointer in flush_workqueue
    a9fc163514d2 f2fs: compress: fix to assign cc.cluster_idx correctly
    5639b73fd3bc f2fs: compress: fix race condition of overwrite vs truncate
    72b0f3077ebd f2fs: compress: fix to free compress page correctly
    64f3410c7bfc nvmet-rdma: Fix NULL deref when SEND is completed with error
    c98ecfb18296 nvmet: fix inline bio check for bdev-ns
    f8ae879b776c nvmet: add lba to sect conversion helpers
    54dbe2d2c1fc kyber: fix out of bounds access when preempted
    e2381174daea ACPI: scan: Fix a memory leak in an error handling path
    a8dc16bbfe29 usb: musb: Fix an error message
    550473900f80 hwmon: (occ) Fix poll rate limiting
    0becd19b211a usb: fotg210-hcd: Fix an error message
    2c3b4375e118 iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER
    020fe6f80f4f iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
    9db8ba3cac05 iio: light: gp2ap002: Fix rumtime PM imbalance on error
    1ea775021282 usb: dwc3: gadget: Free gadget structure only after freeing endpoints
    26c777470d57 perf tools: Fix dynamic libbpf link
    1d8d7e02f6d0 xen/unpopulated-alloc: fix error return code in fill_list()
    058122572676 xen/unpopulated-alloc: consolidate pgmap manipulation
    9eaa10be0c08 dax: Wake up all waiters after invalidating dax entry
    e9e70b78e163 dax: Add a wakeup mode parameter to put_unlocked_entry()
    b93d3410e789 dax: Add an enum for specifying dax wakup mode
    b9c663dc9a83 KVM: x86: Prevent deadlock against tk_core.seq
    8aa7227a5d9b KVM: x86: Cancel pvclock_gtod_work on module removal
    1fe269372244 drm/msm/dp: initialize audio_comp when audio starts
    2e0ce36d0bf6 KVM: LAPIC: Accurately guarantee busy wait for timer to expire when using hv_timer
    ce7639252357 kvm: exit halt polling on need_resched() as well
    970c978d0591 drm/i915: Avoid div-by-zero on gen2
    86cd6072157c drm/amd/display: Initialize attribute for hdcp_srm sysfs file
    5a6fe45a3a7f drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected
    bccb7dd137ad btrfs: fix race leading to unpersisted data and metadata on fsync
    d6d66dbd5adc arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache()
    d3bab7cbadfb arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup
    70748bba5565 blk-iocost: fix weight updates of inner active iocgs
    014868616d48 mm/hugetlb: fix F_SEAL_FUTURE_WRITE
    fe5c0a63ad22 kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled
    140cfd998012 userfaultfd: release page in error path to avoid BUG_ON
    2ed1d90162a0 squashfs: fix divide error in calculate_skip()
    adbd8a2a8cc0 hfsplus: prevent corruption in shrinking truncate
    d2e3590ca39c powerpc/64s: Fix crashes when toggling entry flush barrier
    51570beeb448 powerpc/64s: Fix crashes when toggling stf barrier
    cb3e286f22ff ARC: mm: Use max_high_pfn as a HIGHMEM zone border
    969de0f6599e ARC: mm: PAE: use 40-bit physical page mask
    af9e5364c617 ARC: entry: fix off-by-one error in syscall number validation
    23ecfe7f2c1f f2fs: avoid unneeded data copy in f2fs_ioc_move_range()
    758fd227ed84 mptcp: fix splat when closing unaccepted socket
    b8cf51a36da2 i40e: Fix PHY type identifiers for 2.5G and 5G adapters
    06ef93b776f7 i40e: fix the restart auto-negotiation after FEC modified
    829a713450b8 i40e: Fix use-after-free in i40e_client_subtask()
    2692bf13e646 i40e: fix broken XDP support
    72b49dd116ca netfilter: nftables: avoid overflows in nft_hash_buckets()
    f665dedeedc9 kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resources
    1ec193255271 kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_RAM resources
    0886bb143cbb kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
    d43be02fc40b fs/proc/generic.c: fix incorrect pde_is_permanent check
    f89b408d506e sched/fair: Fix unfairness caused by missing load decay
    f7347c85490b sched: Fix out-of-bound access in uclamp
    26359d362c93 can: m_can: m_can_tx_work_queue(): fix tx_skb race condition
    eecb4df8ec9f can: mcp251x: fix resume from sleep before interface was brought up
    02140d9d2712 can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path
    2c784a500f5e netfilter: nftables: Fix a memleak from userdata error path in new objects
    403ccad066ec netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
    cee6592d444a smc: disallow TCP_ULP in smc_setsockopt()
    d6c635a8cc6a net: fix nla_strcmp to handle more then one trailing null character
    26b7924707a4 ethtool: fix missing NLM_F_MULTI flag when dumping
    673422b97ef3 mm/gup: check for isolation errors
    096c9482cea2 mm/gup: return an error on migration failure
    7df511ef376d mm/gup: check every subpage of a compound page during isolation
    87c4e386b612 ksm: fix potential missing rmap_item for stable_node
    aa0d6d1d3e77 mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
    9639a754cce5 mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
    14d45fb5a3fc khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()
    51524fa8b5f7 arm64: entry: always set GIC_PRIO_PSR_I_SET during entry
    c9f43423c41e arm64: entry: factor irq triage logic into macros
    93dcaa8cba65 drm/radeon: Avoid power table parsing memory leaks
    79208af94738 drm/radeon: Fix off-by-one power_state index heap overwrite
    f551068f5f32 net: stmmac: Clear receive all(RA) bit when promiscuous mode is off
    340de910d65e xsk: Fix for xp_aligned_validate_desc() when len == chunk_size
    75ea98246903 netfilter: xt_SECMARK: add new revision to fix structure layout
    db5f1c6f776d sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
    7afdd6aba95c ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
    3d808916d256 block/rnbd-clt: Check the return value of the function rtrs_clt_query
    c1a90296a9b5 block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t
    4aae6eb6af7d libbpf: Fix signed overflow in ringbuf_process_ring
    60bb2cecf47f sunrpc: Fix misplaced barrier in call_decode
    208af7ffc351 RISC-V: Fix error code returned by riscv_hartid_to_cpuid()
    f01988ecf365 sctp: do asoc update earlier in sctp_sf_do_dupcook_a
    65084886c6ee net: hns3: disable phy loopback setting in hclge_mac_start_phy
    5aa957e2b5fc net: hns3: use netif_tx_disable to stop the transmit queue
    90120c475dd7 net: hns3: fix for vxlan gpe tx checksum bug
    7a476a8a9cb6 net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet()
    bd4d527ea5f7 net: hns3: initialize the message content in hclge_get_link_mode()
    5d326e253501 net: hns3: fix incorrect configuration for igu_egu_hw_err
    494ade7aba11 rtc: ds1307: Fix wday settings for rx8130
    5515b85e1a01 scsi: ufs: core: Narrow down fast path in system suspend path
    e8295def80b7 scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend
    591602738e00 scsi: ufs: core: Do not put UFS power into LPM if link is broken
    429ac0fb8375 scsi: qla2xxx: Prevent PRLI in target mode
    bf45c9fe99aa ceph: fix inode leak on getattr error in __fh_to_dentry
    a01572e21f09 swiotlb: Fix the type of index
    04dad2ca1f5e xprtrdma: rpcrdma_mr_pop() already does list_del_init()
    eddae8be7944 xprtrdma: Fix cwnd update ordering
    89a31bf85c7b xprtrdma: Avoid Receive Queue wrapping
    b22e8f427c3d pwm: atmel: Fix duty cycle calculation in .get_state()
    0a9decf2dd4d SUNRPC: fix ternary sign expansion bug in tracing
    dd41a0e51532 dmaengine: idxd: fix cdev setup and free device lifetime issues
    975c4b2b9976 dmaengine: idxd: fix dma device lifetime
    5756f757c725 dmaengine: idxd: Fix potential null dereference on pointer status
    0f9d467ff139 rtc: fsl-ftm-alarm: add MODULE_TABLE()
    90e8fa8bdfb3 nfsd: ensure new clients break delegations
    b4bf335acacc NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting
    5d254e17ca86 thermal/drivers/tsens: Fix missing put_device error
    4f86a0a5eb61 SUNRPC: Handle major timeout in xprt_adjust_timeout()
    8efd19bf754b SUNRPC: Remove trace_xprt_transmit_queued
    7b906077fd99 SUNRPC: Move fault injection call sites
    bfeb4e607d00 NFSv4.2 fix handling of sr_eof in SEEK's reply
    1fbea60ea658 pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
    fd65cac30d45 PCI: endpoint: Fix missing destroy_workqueue()
    d21a5950cca6 NFS: Deal correctly with attribute generation counter overflow
    cbc868ea28a8 NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
    a09afbb63620 NFS: Fix attribute bitmask in _nfs42_proc_fallocate()
    ce2b470added NFS: nfs4_bitmask_adjust() must not change the server global bitmasks
    0627cbc9b875 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
    b59194c7ca29 f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block()
    1fd6a0641040 f2fs: Fix a hungtask problem in atomic write
    98ccee81fe96 f2fs: fix to cover __allocate_new_section() with curseg_lock
    105155a8146d f2fs: fix to avoid touching checkpointed data in get_victim()
    bbed83d7060e PCI: endpoint: Fix NULL pointer dereference for ->get_features()
    d5e85b92b457 PCI: endpoint: Make *_free_bar() to return error codes on failure
    d98bfd4cc258 PCI: endpoint: Add helper API to get the 'next' unreserved BAR
    5974766170d8 PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR
    8c8f7c49930d f2fs: fix to update last i_size if fallocate partially succeeds
    74d2b0e74c3f f2fs: fix to align to section for fallocate() on pinned file
    630146203108 ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook
    ee93cdcbe0b5 PCI: Release OF node in pci_scan_device()'s error path
    c5c0ede221d7 PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()
    1ce0d1d3656b remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader
    2ec65063e45a remoteproc: qcom_q6v5_mss: Replace ioremap with memremap
    2d6d5b4fc498 f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
    1c20a4896409 f2fs: fix panic during f2fs_resize_fs()
    81ba1634d1b6 f2fs: fix to allow migrating fully valid segment
    de2041d92d2a f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE
    b7ff0885de7e f2fs: move ioctl interface definitions to separated file
    997d24a932a9 thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params()
    a1b5fecedfa9 ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
    5b66867966bc watchdog: fix barriers when printing backtraces from all CPUs
    a68c246065b6 watchdog/softlockup: remove logic that tried to prevent repeated reports
    9413b1ee3858 watchdog: explicitly update timestamp when reporting softlockup
    018655f8758a watchdog: rename __touch_watchdog() to a better descriptive name
    1dc55c3a4862 ia64: module: fix symbolizer crash on fdescr
    602795e247d1 bnxt_en: Add PCI IDs for Hyper-V VF devices.
    d0736af81151 kbuild: generate Module.symvers only when vmlinux exists
    9401b7ff91f9 selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test
    dfa0e8461e99 selftests: mlxsw: Increase the tolerance of backlog buildup
    99d9989ee53b net: ethernet: mtk_eth_soc: fix RX VLAN offload
    320c50ff84a0 iavf: remove duplicate free resources calls
    6289b028b5e2 powerpc/iommu: Annotate nested lock for lockdep
    bece6aea3653 qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
    ededc7325dc2 wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
    83a7ed5b891c wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
    f3a5dee0f30c crypto: ccp: Free SEV device if SEV init fails
    22ab352fcab7 mt76: mt7615: fix entering driver-own state on mt7663
    5b02d6efdb1b drm/amdgpu: Add mem sync flag for IB allocated by SA
    8be5e713f725 drm/amd/display: add handling for hdcp2 rx id list validation
    fa9952e854c4 drm/amd/display: fixed divide by zero kernel crash during dsc enablement
    d98b03bfd0c7 powerpc/pseries: Stop calling printk in rtas_stop_self()
    799c3950680a samples/bpf: Fix broken tracex1 due to kprobe argument change
    d4b0dc31df99 net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule
    05916c62f54a ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()
    b506357ab8bb ASoC: rt286: Generalize support for ALC3263 codec
    33eee468f83a powerpc/smp: Set numa node before updating mask
    245f5ab5ce52 flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target()
    d5716625f185 sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
    136b0261f119 ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume
    4ac5823083fa ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp
    e3a2982bf63f ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740
    cc1956f8b278 kconfig: nconf: stop endless search loops
    06b0037e6f02 selftests: Set CC to clang in lib.mk if LLVM is set
    f9bc5e3f3f75 drm/amd/display: Force vsync flip when reconfiguring MPCC
    63e9abe35df9 iommu/amd: Remove performance counter pre-initialization test
    1097ecf826bc Revert "iommu/amd: Fix performance counter initialization"
    a027e6155bb4 ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
    cc748965313b powerpc/mm: Add cond_resched() while removing hpte mappings
    26f98b2d97a8 iwlwifi: pcie: make cfg vs. trans_cfg more robust
    2bfc47dec5b8 cuse: prevent clone
    2c20c7d96e45 virtiofs: fix userns
    87fe0ca09b26 fuse: invalidate attrs when page writeback completes
    f1c230d75b47 mt76: mt7915: fix txpower init for TSSI off chips
    7eb1e84cfe28 mt76: mt76x0: disable GTK offloading
    bbd3d0014cc4 mt76: mt7615: support loading EEPROM for MT7613BE
    32b3e7e303bd rtw88: 8822c: add LC calibration for RTL8822C
    28c2a1d65088 pinctrl: samsung: use 'int' for register masks in Exynos
    2eac474900d3 mac80211: clear the beacon's CRC after channel switch
    437a4746e47e IB/hfi1: Correct oversized ring allocation
    d7592a5c376b coresight: Do not scan for graph if none is present
    8f7806174fdb MIPS: Loongson64: Use _CACHE_UNCACHED instead of _CACHE_UNCACHED_ACCELERATED
    2c098ad786d3 i2c: Add I2C_AQ_NO_REP_START adapter quirk
    c6d2f8ffb145 ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055
    6c9b2de44812 Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip.
    c87b052deaa8 ice: handle increasing Tx or Rx ring sizes
    eb28709c07a6 ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
    7bd851a6d369 ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
    b502a6a44066 net: hns3: add handling for xmit skb with recursive fraglist
    c56804f431db net: hns3: remediate a potential overflow risk of bd_num_list
    286b3ff9fd98 powerpc/32: Statically initialise first emergency context
    b9f9313c7501 selftests/powerpc: Fix L1D flushing tests for Power10
    2033dde6aa01 Bluetooth: check for zapped sk before connecting
    6421cdfbb6fb net: bridge: when suppression is enabled exclude RARP packets
    fccb35bbf75f net/sched: cls_flower: use ntohs for struct flow_dissector_key_ports
    a019b8d7dfd5 Bluetooth: initialize skb_queue_head at l2cap_chan_create()
    e0dc9e93f7fd Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
    b972f345a17a ALSA: bebob: enable to deliver MIDI messages for multiple ports
    d398f25007d5 ALSA: rme9652: don't disable if not enabled
    9df07b0661e7 ALSA: hdspm: don't disable if not enabled
    a950cd8cb05d ALSA: hdsp: don't disable if not enabled
    faed3150a436 i2c: bail out early when RDWR parameters are wrong
    18df2bc13b1f Bluetooth: Fix incorrect status handling in LE PHY UPDATE event
    879a96d817ed ASoC: rsnd: core: Check convert rate in rsnd_hw_params
    a2aeb5de26c1 net: stmmac: Set FIFO sizes for ipq806x
    c0a62a441bbd net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath
    2d17c58a3a4f ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
    3d1bede85632 tipc: convert dest node's address to network order
    a407b5881686 fs: dlm: flush swork on shutdown
    ff58d1c72edf fs: dlm: check on minimum msglen size
    ca973d2aeaf7 fs: dlm: add errno handling to check callback
    06d59d21cb05 fs: dlm: fix debugfs dump
    bd6017a942b9 ath11k: fix thermal temperature read
    21756f878e82 kvm: Cap halt polling at kvm->max_halt_poll_ns
    53d7eed0315a cpufreq: intel_pstate: Use HWP if enabled by platform firmware
    182f1f72af2e PM: runtime: Fix unpaired parent child_count for force_resume
    e97da47e9be0 ACPI: PM: Add ACPI ID of Alder Lake Fan
    bfccc4eade2b KVM/VMX: Invoke NMI non-IST entry instead of IST entry
    21f317826e17 KVM: x86/mmu: Remove the defunct update_pte() paging hook
    53171e68a509 tpm, tpm_tis: Reserve locality in tpm_tis_resume()
    923866165610 tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
    8fe5a459186a tpm: fix error return code in tpm2_get_cc_attrs_tbl()
    31c9a4b24d86 KEYS: trusted: Fix memory leak on object td

(From OE-Core rev: d9a05d2c6252f53819cc7b4c9d2062ebb64f4299)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Khem Raj
a93e743e21 glibc: Enable memory tagging for aarch64
Glibc on aarch64 has a memory tagging option that can be enabled
via GLIBC_TUNABLES="glibc.mem.tagging=$SOMETHING" when glibc
is built with memory tagging support and the kernel/HW supports
MTE. There should be no side effects unless the user turns it
on with approprate HW support

Linux 5.4 headers and binutils 2.33.1 or newer is needed.

(From OE-Core rev: f6521f85f783dc7565eb0c0046de59aa945423e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
33d1dbeeba systemtap: update 4.4 -> 4.5
Drop 0001-transport-protect-include-and-callsite-with-same-con.patch
as upstream made the same change:
https://sourceware.org/git/?p=systemtap.git;a=commitdiff;h=0d80048e02ecf6876c9f9ebeea387af9fb2a8051

(From OE-Core rev: 1d207eac08d9392b0ae53a2e740aabad72e57750)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
58515daf6b curl: update 7.76.0 -> 7.76.1
(From OE-Core rev: 3876bb2365be7600951ff27dd055eb52773d032b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
aedca3cf87 harfbuzz: update 2.8.0 -> 2.8.1
fontconfig option has been removed upstream as fontconfig
hasn't been used for anything.

(From OE-Core rev: 6606c019279fb17d16e7b9f31c4c8f54c2721933)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
c8559d16c2 libdnf: update 0.62.0 -> 0.63.0
(From OE-Core rev: 5d515290ba31c35d860d03e5313239610025f2da)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
0c06a3b65d cmake: update 3.20.1 -> 3.20.2
(From OE-Core rev: fdc7283a05fa45c2a8fe7369ef741b61e26909e7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
d44269179a apt: upgrade 2.2.2 -> 2.2.3
(From OE-Core rev: 78fb660b67488bdd7e29ca606c22d0a06c5a309f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
dfae094307 glib-2.0: update 2.68.1 -> 2.68.2
(From OE-Core rev: 19b459c60f40d0fa6b1d6d439346b846b11a60fd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
5477beb7db webkitgtk: update 2.32.0 -> 2.32.1
Drop 49a19c49c6de8af74e521f36cb43e6c1ec2e391c.patch
(backport)
0001-Fix-build-with-musl.patch
(problem fixed upstream).

(From OE-Core rev: b824f728c9f78c9c5777987a17bfd794c60ad0ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
8c18e3c062 libgpg-error: update 1.41 -> 1.42
(From OE-Core rev: 9d08ba366260a161c34b81ad6d9e52fe970e83d3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
2267eebd65 vulkan-samples: update to latest revision
(From OE-Core rev: 482c3509bccfde031100c60b641bcada659c981a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
8579142183 mesa: update 21.0.3 -> 21.1.1
License-Update: typo fix

(From OE-Core rev: 2b91620cdb2047fd3df8e951a80142b67af85f26)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
83bb5e110d igt-gpu-tools: upgrade 1.25 -> 1.26
Drop patches merged upstream.

(From OE-Core rev: 8f97315e2fbec7308b77d5b53077014bbd973c53)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
eb2327bc7d gsettings-desktop-schemas: upgrade 3.38.0 -> 40.0
(From OE-Core rev: 0e8fcd88678a073a51fb386117f946a0b4a56ee5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
dc5bbd2607 gnomebase: trim the SRC_URI directory from the back
Rather than take the first two components, drop the last one at the end.
This makes it compatible with both old and new gnome version schemes.

(From OE-Core rev: fa8950d0cf6174ce517275fe44df9e4c0788d5f0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
9be54cb3dc at: upgrade 3.2.1 -> 3.2.2
Drop a script in /usr/share as purpose is unclear
(nothing references it), and it pulls in bash without need.

(From OE-Core rev: 19b259d421aa878047104b92141c4d67963fc4e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
08e3dcb340 python3-smartypants: fix upstream version check
Upstream has never published the 2.0.1 tarball.

(From OE-Core rev: 00f3ebbab50182ad5b948f266480cf30f9eb1d33)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
e18350d44f mmc-utils: update to latest revision
Drop patch as upstream has fixed the issue.

(From OE-Core rev: 656894bc388bc5c65e2b7cc4a34642bf17db89bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
f663b9512b gnu-config: update to latest revision
(From OE-Core rev: ae9d04e9bb517fb66ad84d09269aea2c59ae8ed8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
ca78d0c159 systemd-conf: do not version in lockstep with systemd
This is not needed as systemd-conf only packages
standalone config files.

(From OE-Core rev: 02bebaaf927e2cf5326bcae1de10cd4a82fd9495)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Khem Raj
0c3bea895e systemd: Fix 248.3 on musl
(From OE-Core rev: 7a6009a8a9eee36724672610569f1db08615cf50)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
4cac662d7d systemd: update 247.6 -> 248.3
Drop backports:
48fff0a2af3f62acd446ebec8081b039b72caad8.patch
7c5fd25119a495009ea62f79e5daec34cc464628.patch
0001-analyze-resolve-executable-path-if-it-is-relative.patch
0001-analyze-resolve-executable-path-if-it-is-relative.patch

Drop 0027-proc-dont-trigger-mount-error-with-invalid-options-o.patch
as difficult to rebase; please resend if you feel strongly that
it is needed.

Rebase the big pile of musl patches.

(From OE-Core rev: e8dd5a36bf2f1e645fb2ff15eb3b5e97c04776e6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Chen Qi
f003e6015f xxhash: backport patch to fix special char problem
When building nativesdk-xxhash, we get error like below.

   Makefile:422: *** configured libdir (/opt/poky/3.3+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib) is outside of
   exec_prefix (/opt/poky/3.3+snapshot/sysroots/x86_64-pokysdk-linux/usr), can't generate pkg-config file.  Stop.

This is because we have '+' in the path.

Backport a patch to fix this problem.

(From OE-Core rev: 0f328cd36fe10e0d1d865ada45ca4f118007956c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Changqing Li
f3ea5898cb unfs3: correct configure option
On some new distro like ubuntu21.04, unfs3-native compile failed with
error: undefined reference to `xdr_uint32', since new distro has new
glibc.

>From glibc 2.27 rpc support is dropped, so unfs3 need to link to
libtirpc.

Here is defination of ac_link:
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'

Depended library should be added into LIBS, not LDFLAGS, otherwise,
gcc may not load the lib since it is before conftest.$ac_ext during
configure. Finally, it results in compile failed.

(From OE-Core rev: 27867862c1fee6c0e649286500fa1ab015d57faf)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Khem Raj
d7daabfbd7 glibc: Update to latest 2.33 branch
Drop backported patches
Add CVE-2021-27645 to CVE_CHECK_WHITELIST and drop the patch as its also
upstreamed

Changes in the version bump are

* 3f5080aedd nptl: Do not build nptl/tst-pthread-gdb-attach as PIE
* 36783141cf nptl: Check for compatible GDB in nptl/tst-pthread-gdb-attach
* ea299b62e8 nptl_db: Support different libpthread/ld.so load orders (bug 27744)
* 162df872f0 x86: tst-cpu-features-supports.c: Update AMX check
* 12ff80b312 Remove PR_TAGGED_ADDR_ENABLE from sys/prctl.h
* 1bf38e7260 Fix SXID_ERASE behavior in setuid programs (BZ #27471)
* a7b8e8ec9b Enhance setuid-tunables test
* ee16c81063 tst-env-setuid: Use support_capture_subprogram_self_sgid
* 267e174f19 support: Add capability to fork an sgid child
* 249c486ce8 support: Pass environ to child process
* 45b2c57d34 support: Typo and formatting fixes
* e07abf59b2 tunables: Fix comparison of tunable values
* 3e9ca60a58 linux: always update select timeout (BZ #27706)
* 8380ca5833 linux: Normalize and return timeout on select (BZ #27651)
* 85e4dc415a libsupport: Add support_select_normalizes_timeout
* b5b4aa62c1 libsupport: Add support_select_modifies_timeout
* 3d525dd639 misc: Fix tst-select timeout handling (BZ#27648)
* 830674605f tst: Provide test for select
* e78ea9bd26 Update Nios II libm-test-ulps.
* 98bb18f52a malloc: Fix a realloc crash with heap tagging [BZ 27468]
* fc4ecce85b S390: Also check vector support in memmove ifunc-selector [BZ #27511]
* db32fc27e7 test-container: Always copy test-specific support files [BZ #27537]
* 79c6be6a0a nptl: Remove private futex optimization [BZ #27304]
* f90d6b0484 pthread_once hangs when init routine throws an exception [BZ #18435]
* dd8023c2ac elf: ld.so --help calls _dl_init_paths without a main map [BZ #27577]
* ea5a537e87 elf: Always set l in _dl_init_paths (bug 23462)
* 64f6c287ad x86: Handle _SC_LEVEL1_ICACHE_LINESIZE [BZ #27444]
* 32b9280f1d io: Return EBAFD for negative file descriptor on fstat (BZ #27559)
* a151f2e05a nscd: Fix double free in netgroupcache [BZ #27462]
* ee9f98d9ca x86: Set minimum x86-64 level marker [BZ #27318]
* 3e880d7337 nss: Re-enable NSS module loading after chroot [BZ #27389]
* 71b2463f61 x86: Add CPU-specific diagnostics to ld.so --list-diagnostics
* a1eb3915e7 x86: Automate generation of PREFERRED_FEATURE_INDEX_1 bitfield
* 33dc1dd602 ld.so: Implement the --list-diagnostics option
* 8d4241b897 string: Work around GCC PR 98512 in rawmemchr
* 6efa2d44c8 S390: Add new hwcap values.
* c5e3545897 tunables: Disallow negative values for some tunables
* 905fdc7071 x86: Use SIZE_MAX instead of (long int)-1 for tunable range value
* 15afd6b8d8 tunables: Simplify TUNABLE_SET interface
* 17f0ff0978 nsswitch: return result when nss database is locked [BZ #27343]

(From OE-Core rev: c6fb9b80ecb0a4e7970157774ce9add12e9ef3ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Michael Halstead
c23a25e607 releases: update to include 3.3.1
Adding 3.3.1 to documentation switcher and release list.

(From yocto-docs rev: db80bb70d9bea7008cb6b2795c8f617b1486ca03)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:26:34 +01:00
Chen Qi
0c762158ca rt-tests: update SRCREV
The commit '6af88067da16c6e69243b376c3b6454ec694460b' is not available
in the repo any more. I think it's due to some mis-operation of the upstream
repo in the past few hours.

Update the SRCREV to use the latest commit on unstable/devel/latest branch.

Also, set PV explicitly and remove the obsolete comment.

(From OE-Core rev: 42f1c751bbaa2cc0a0abe874878b8bbbda250d02)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:06:24 +01:00
Alexander Kanavin
6e0d7b32db gdk-pixbuf: update a patch status
(From OE-Core rev: 6b4a5608dfacc1e82cd19bfa71ae9013673c64c1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:06:24 +01:00
Daniel McGregor
003fa5200f bison: Make libtextstyle and libreadline optional
Bison opportunistically enables libtextstyle and libreadline support
if they're installed on the build host. Since textstyle and readline
aren't part of uninative avoid host contamination by making their
support configurable and disabled by default in the native case.

(From OE-Core rev: 286e60702aa1d8448efc703fa40735e079e6a027)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:05:19 +01:00
Ming Liu
c20055e8bb uboot-sign/kernel-fitimage: split generate_rsa_keys task
Currently generate_rsa_keys tasks are being executed parallelly in
kernel and uboot's task list, and both of them are calling openssl to
generate rsa keys in same path, this can lead to race condition.

Let's split it to kernel_generate_rsa_keys and uboot_generate_rsa_keys.

(From OE-Core rev: 36814f5467c9abd84aeb05916b4fd49f766f4f9f)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:05:19 +01:00
Ming Liu
0ce91adbbf kernel-fitimage.bbclass: drop unit addresses from bootscr sections
In commit 6047be9f:
[ kernel-fitimage: Don't use unit addresses on FIT ]

It had dropped unit addresses from FIT image but missed on bootscr
part.

Drop unit addresses from bootscr sections in this patch.

(From OE-Core rev: 0ef3a5e2a6d4507c8d9bc6143f9aa65e6cdb1ed7)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:05:19 +01:00
Samuli Piippo
e7cc8ac2d3 gcc-cross-canadian: add symlinks for ld.bfd and ld.gold
When -fuse-ld gcc option is used, missing ld.bfd or ld.gold symlinks
can lead to linker error:

collect2: fatal error: cannot find 'ld'

(From OE-Core rev: 9ec1cd0a1e4cc2740be37585231279adf91c47d7)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:05:18 +01:00
Robert P. J. Day
0411a1e027 ref-manual: add links to some variables in glossary
Add some links to a small set of glossary variables that I happened
to be perusing at the time.

(From yocto-docs rev: d71d8da78285f2314bfd27a821b26434e39622a8)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
5871eeea6e manuals: simplify style
(From yocto-docs rev: 3332ee547cde0f2f8718f83d526b21339b0a8901)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
31f1d4d331 overview-manual: simplify style and add missings references
(From yocto-docs rev: 4a07947dbe0dd70fd1d528a207d663dfdca2b7c1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
42f6423cc8 sdk-manual: simplify style and fix formating
(From yocto-docs rev: fffd2ce4c9efbdeb75b7afd6f4f2ce4ffca517ad)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
5386f28c44 dev-manual: simplify style
(From yocto-docs rev: a8b3c1a5cbfa7fb0bca0d7dd8f38ac59acf032fa)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
020562cfbc kernel-dev manual: simplify style
(From yocto-docs rev: 5bbbed35175ffcabb24bcac305d17563b8d9b9e3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:40 +01:00
Michael Opdenacker
4db4e4ca46 ref-manual: simplify style
(From yocto-docs rev: 657a7f54856afd6fec7f2cb0b5f12b4b2d24adb7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:40 +01:00
Armin Kuster
68ee5b4bcc poky.yaml: fedora33: add missing pkgs
[ Yocto #14188]

The following packages where needed to a fresh FC33 install
perl-FindBin
perl-File-Compare
perl-File-Copy
perl-locale

Error seen:

openssl-native-1.1.1g-r0 do_configure: Execution of '/{snipped}/build/tmp-glibc/work/x86_64-linux/openssl-native/1.1.1g-r0/temp/run.do_configure.14627' failed with exit code 2:
Can't locate FindBin.pm in @INC (you may need to install the FindBin module)

(From yocto-docs rev: 5b4127dd72a465ff8c962c425e78140ca8e536db)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:40 +01:00
Ross Burton
c17083af21 ref-manual: Ubuntu 20.04 is also LTS
(From yocto-docs rev: e7b7ec18c27b34e96de9b576b8bfe518f7466bff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:40 +01:00
Ming Liu
08dee904c1 initramfs-framework:rootfs: fix wrong indentions
(From OE-Core rev: cd4d76f43c6ead9f32dece1faa9c9c5da895d9cd)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 09:59:04 +01:00
Ming Liu
64b736ce08 kernel-fitimage.bbclass: fix a wrong conditional check
It should check if "${UBOOT_SIGN_ENABLE}" equals to "1" instead of
checking if "${UBOOT_SIGN_ENABLE}" is not empty since it could be "0".

(From OE-Core rev: 900949af7fe357ee66065ba150b0b1914e8ca581)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 09:59:04 +01:00
Richard Purdie
b73c484a58 ltp: Disable problematic tests causing autobuilder hangs
We've seen three hangs in cgroup_xattr and two in proc01 so far. The new
plan is just to disable any tests seen to hang. I've had enough of these
causing problems on our testing infrastructure.

(From OE-Core rev: 0cc8d4e27e5d3024e35ad877622f32f9bb4819a4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 09:59:04 +01:00
Tony Tascioglu
91ffc0a96c libxml2: Update to 2.9.12
Drop CVE patches which are fixed by the new upstream version.

Modify conflicting patches to apply to the new versions:
   libxml2/libxml-m4-use-pkgconfig.patch
   libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch

Drop fix-python39, which is merged upstream.

Removed hunk for tstLastError.py from
   libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch
since it has been fixed upstream by:

   8c3e52e: Updated python/tests/tstLastError.py

   libxml2.registerErrorHandler(None,None):
   None is not acceptable as first argument
   failUnlessEqual replaced by assertEqual

The checksums for the licence file changed because a typo was fixed
across the files. The licence remains the same.
The obsolete MD5 checksums for the tar files have been dropped in
favor of SHA256.

The new release also adds fuzz tests, which are removed from the
makefile to allow the ptests to run. Fuzz testing is done upstream
and there is no need to run them as part of ptests which are
intended for functionality testing.

(From OE-Core rev: c7c429d05ca51b0404f09981f6c9bcad7dc33222)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
hongxu
d2ddc7020f gdk-pixbuf: fix nativesdk do_configure failed
Since commit [92fc28498f gdk-pixbuf: rewrite the cross-build support
for tests] applied, it add meson option -Duse_prebuilt_tools=true to
taget.

Add the same option for nativesdk to fix do_configure failure
|../gdk-pixbuf-2.42.6/thumbnailer/meson.build:32:0: ERROR: Arrays do not
have a method called 'full_path'

(From OE-Core rev: 4781dad55cc0449a3dc52914e2b6f9eace91158e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Khem Raj
2a67800b8c xorgproto: Upgrade to 2021.4 release
(From OE-Core rev: 46a223866fcedafc63543a052721d19560d1792b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Khem Raj
2a6baee654 libxfixes: Update to 6.0.0 release
(From OE-Core rev: 71b53b096e66da4923cc4a79c429f3d5d3469d84)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
zhengruoqin
74f6ed497f rxvt-unicode: upgrade 9.22 -> 9.26
0001-libev-remove-deprecated-throw-specification.patch
removed since it is included in 9.26

(From OE-Core rev: 62342c91c7aaa27cbc83d9f9421205d879b32d3a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
zhengruoqin
00b76b33d4 python3-sortedcontainers: upgrade 2.3.0 -> 2.4.0
(From OE-Core rev: c8c4e324eccc816432381d61b94c6ec13e25d634)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
zhengruoqin
477a49b391 python3-importlib-metadata: upgrade 3.10.1 -> 4.0.1
(From OE-Core rev: 4dc1d078ea224659592b9c072701ab965718853c)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
wangmy
712f4403da libtasn1: upgrade 4.16.0 -> 4.17.0
file LICENSE renamed to COPYING.

(From OE-Core rev: 52e30a0344e727527cc3f498aa09bbbdfa1c2f47)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
wangmy
87b81715c0 libidn2: upgrade 2.3.0 -> 2.3.1
-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 25646e0608610a88be49de8d50b8965ddea8268a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
wangmy
c4f8deca96 libdrm: upgrade 2.4.105 -> 2.4.106
(From OE-Core rev: a7dfd075e5a809be3728d4e0041caf23cf3c5258)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
wangmy
206b26ecd4 distcc: upgrade 3.3.5 -> 3.4
(From OE-Core rev: 572d446cca38d564e462ccc5d8f7bcf1648433b0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Alejandro Hernandez Samaniego
9f0cbdf2c1 baremetal-image: Fix post process command rootfs_update_timestamp
When running:

execute_pre_post_process(d, d.getVar(ROOTFS_POSTPROCESS_COMMAND))

rootfs_update_timestamp is run, which assumes that rootfs/${sysconfdir}
is already created (usually done through the do_rootfs task on linux).

This causes the build to fail if ${sysconfdir} does not exist.

This may be overlooked if debug-tweaks is enabled since some other
commands are added, one of which creates the required path
(see postinst_enable_logging).

See [1] for more info:

[1] https://github.com/aehs29/meta-freertos/issues/4

(From OE-Core rev: 04791272e0cc104450cae6ab89b9d8e866457a0b)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Martin Jansa
95bca793e4 sstatesig.py: make it fatal error when sstate manifest isn't found
* all known issues in this area were fixed, make it fatal that it
  cannot be overlooked if someone triggers this issue again

(From OE-Core rev: 64b89f3c8fc31842256c482a3039d90d3f12c1cc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Khem Raj
180d2fb8b1 musl: Fix __NR_fstatat syscall name for riscv
(From OE-Core rev: 3bd71e31ea535c5ad480c2d97110ff0b4b290555)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Daniel McGregor
497b5b3329 sstate: Ignore sstate signing key
What key is used to sign sstate artefacts should not affect the hash of
the object, otherwise everyone would need to use the same signing key.

(From OE-Core rev: 57cc9429dba4f9bd23127633dbc1f57dc2d5dd16)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Daniel McGregor
0dad484097 lib/oe/gpg_sign.py: Fix gpg verification
A stray space made it into the command for verifying gpg signatures.
This caused verification to fail, at least on my host. Removing the
space makes it work as expected.

(From OE-Core rev: af1d948822cbe6ac7ede9cb4e881db8dc780e308)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Alexander Kanavin
dd11f1c535 u-boot: upgrade 2021.01 -> 2021.04
(From OE-Core rev: 9da492e576b2d7190130224c486ba22675dce416)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Richard Purdie
ba333719d6 cve-extra-exclusions.inc: Clean up merged CPE updates
(From OE-Core rev: d2ba6d58e77430cceeca9db61fdb06882a92e1e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Richard Purdie
8b9bd26295 grub: Exclude CVE-2019-14865 from cve-check
The CVE only applies to RHEL.

(From OE-Core rev: 8cfc3ebe50facb7e34e778f3e264b26cfae20a04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Richard Purdie
8893cd87f3 cve-extra-exclusions: Fix typos
(From OE-Core rev: d4d4644e7c127e8b88b180635124e8afc905c69e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 18:14:47 +01:00
Richard Purdie
4e9513b2c3 rpm: Drop CVE exclusion as database fixed to handle
Didn't think this might make it in but it has, we can drop the exclusion.

(From OE-Core rev: 64456aed7514d611a242c210375c01d7f4048de2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 12:32:28 +01:00
Richard Purdie
1376f22693 cve-extra-exclusions.inc: add exclusion list for intractable CVE's
The preferred methods for CVE resolution are:

1. Version upgrades where possible
2. Patches where not possible
3. Database updates where version info is incorrect
4. Exclusion from checking where it is determined that the CVE
   does not apply to our environment

In some cases none of these methods are possible. For example the
CVE may be decades old with no apparent resolution, and with broken
links that make further research impractical. Some CVEs are vauge
with no specific action the project can take too.

This patch creates a mechanism for users to remove this type of
CVE from the cve-check results via an optional include file.

Based on an initial patch from Steve Sakoman <steve@sakoman.com>
but extended heavily by RP.

(From OE-Core rev: cf282ae03db3f09df42dcd110d7086c2d854642c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 12:30:32 +01:00
Richard Purdie
c124290d90 glibc: Add 8GB VM usage cap for usermode test suite
We've noticed that:

MACHINE=qemuarm oe-selftest -r glibc.GlibcSelfTest.test_glibc

ends up with one process growing to about the size of system memory
and triggering the OOM killer. This has been taking out other builds
running on the system on the autobuilders and is one cause of our
intermittent failures.

This was tracked down to:

WORKDIR=XXX/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0
BUILDDIR=$WORKDIR/build-arm-poky-linux-gnueabi QEMU_SYSROOT=$WORKDIR/recipe-sysroot
QEMU_OPTIONS="$WORKDIR/recipe-sysroot-native/usr/bin/qemu-arm -r 3.2.0" \
$WORKDIR/check-test-wrapper user env GCONV_PATH=$BUILDDIR/iconvdata LOCPATH=$BUILDDIR/localedata LC_ALL=C $BUILDDIR/elf/ld-linux-armhf.so.3 \
    --library-path $BUILDDIR:$BUILDDIR/math:$BUILDDIR/elf:$BUILDDIR/dlfcn:$BUILDDIR/nss:$BUILDDIR/nis:$BUILDDIR/rt:$BUILDDIR/resolv:$BUILDDIR/mathvec:$BUILDDIR/support:$BUILDDIR/nptl \
    $BUILDDIR/nptl/tst-pthread-timedlock-lockloop

although other glibc tests appear to use 16GB of memory before failing
anyway. By capping the VM size to 8GB, we see the same number of failures
but no OOM situations. There may be some issue in qemu or the test which
could be improved to avoid this entirely but this provides a necessary
and useful safeguard to other builds and doensn't appear to make the
situation worse.

On a loaded system OOM may not occur as the test timeout may be triggered
first. An experiment with a 5GB limit showed an additional 7 failures.

(From OE-Core rev: 58d4f669bd46805669daf87626350fe9359feca5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 12:27:54 +01:00
Michael Halstead
c5616806e7 uninative: Upgrade to 3.2 (gcc11 support)
This upgrade builds unnative with gcc11 allowing it to work with newer distros
using gcc 11.

(From OE-Core rev: a1c7b71c109ca68931d098f4149ab8284d56108e)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 12:27:54 +01:00
Alexander Kanavin
3160736075 local.conf: Drop support for mklibs
This is not enabled or tested by default, and has never been
ported to python 3 upstream[1], which means it doesn't work at all
with plain poky. If you need it, please put it in a separate layer
and/or modernize to work with py3.

https://salsa.debian.org/installer-team/mklibs/-/blob/master/src/mklibs

(From meta-yocto rev: c8c8f284eb2abe7e1352850a885454487cc01986)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:53:47 +01:00
Richard Purdie
2f12a20935 bitbake: server/process: Handle error in heartbeat funciton in OOM case
We've seen cases where an OOM error causes bitbake server to hang:

9171 02:21:09.127810 Command Completed
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/bin/bitbake-server", line 51, in <module>
    bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 550, in execServer
    server.run()
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 108, in run
    ret = self.main()
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 242, in main
    ready = self.idle_commands(.1, fds)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 370, in idle_commands
    bb.event.fire(heartbeat, self.cooker.data)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 216, in fire
    fire_class_handlers(event, d)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 93, in execute_handler
    ret = handler(event)
  File "/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass", line 182, in defaultrun_buildstats
    write_host_data(os.path.join(bsdir, "host_stats"), e, d, "interval")
  File "/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass", line 160, in write_host_data
    output = subprocess.check_output(c.split(), stderr=subprocess.STDOUT, timeout=limit).decode('utf-8')
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1295, in _execute_child
    restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory

We need to wrap the calls in the same high level wrapper as idle function calls
and trigger an exit upon an unhandled exception.

(Bitbake rev: 74042b5b89d5a170013fc1a327ce3a6530fbf7d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:53:15 +01:00
Richard Purdie
e109bdae37 Revert "cml1.bbclass: Return sorted list of cfg files"
This reverts commit dee41e92f0.

This patch breaks cases where some config files make changes to earlier ones,
ordering is important. The reproducibility issue in busybox was elsewhere.

(From OE-Core rev: ab0a296607b58775e91948ba40956c666dbb1244)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Ross Burton
d686afb18f python3: update status on upstreamed patch
(From OE-Core rev: 319fb2d804b193d39d78010115e28a31b4f9f6e9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Tony Tascioglu
16fce99695 libxml2: Add bash dependency for ptests.
Before, running ptests on core-image-minimal would result in
an error due to missing /bin/bash:

   [ -d test   ] || ln -s ../libxml2-2.9.10/test   .
   make: /bin/bash: No such file or directory
   make: *** [Makefile:2105: runtests] Error 127

Changing the Makefile to use /bin/sh results in some of the
tests failing, so I have added the missing dependancy on bash.

(From OE-Core rev: d2e81298c446aec8d7fcf61fd5023ac30350f205)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Tony Tascioglu
d05cebc52b libxml2: Reformat runtest.patch
Reformatted runtest.patch to allow it to be applied using git am.
This makes it easier to apply the series of patches to the original git repo.

There are no changes to the code of the patch other than the reformat.

Previously, the patch claimed to be a backport, but I have not found an
upstream commit so I've changed the Upstream-Status to pending.

(From OE-Core rev: 0361d625e1573e846a2f03ed90a8b897bc405160)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Stefan Ghinea
8ab36da6e8 boost: fix do_fetch failure
Bintray service has been discontinued causing boost do_fetch to fail:
WARNING: boost-1.76.0-r0 do_fetch: Failed to fetch URL
https://dl.bintray.com/boostorg/release/1.76.0/source/boost_1_76_0.tar.bz2,
attempting MIRRORS if available

(From OE-Core rev: 6a76da15ece9d27fca20ace12db4978092e042b7)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Khem Raj
9b0221fd8b gcc: Refresh patch to fix patch fuzz
This is due to previous patches editing common files from this patch

Fixes
ERROR: gcc-source-11.1.0-11.1.0-r0 do_patch: Fuzz detected:

Applying patch 0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
patching file gcc/config/linux.h
Hunk #1 succeeded at 203 with fuzz 1 (offset 8 lines).
patching file gcc/config/rs6000/linux.h
patching file gcc/config/rs6000/linux64.h

(From OE-Core rev: d8c3f3a1872a41cc4788ff3d9f42c13debedabd2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Khem Raj
87635fa01c gcc: Extend .gccrelocprefix section support to musl configs
musl includes were not using the relocatable prefix like glibc
counterpart, this will mean that musl SDKs will behave better and find
the headers in right install directories

(From OE-Core rev: 8cb141306f13fa6e25c89c104af9ad0af431eb5d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Khem Raj
3b0603391b gcc: Add target gcc include search for musl config too
Musl has different search order and therefore injects it
via INCLUDE_DEFAULTS and does not use the defaults from
gcc/cppdefaults.h, this ensures that same fix is extended
to musl configs too where it can search for compiler headers
It will fix builds with musl where omp.h is not found because
it is in gcc includes path on target ( not cross ) sysroot

(From OE-Core rev: 3ff688ca02dcc4c0187d1ddc214ec0c74b4e73f1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Bruce Ashfield
6938faf9d1 kernel-devsrc: adjust NM and OBJTOOL variables for target
v5.13 has started storting the values for NM and OBJTOOL in
auto.conf.cmd

Just as we've done for other tools, we need to adjust NM and
OBJTOOL to the names of the on-target executables. With this
adjustment, 'make scripts prepare' continues to work without
user intervention on the target.

(From OE-Core rev: e749b81ece1f94f99ca26028a2f6f891aa14bda9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
3bdd5b934b linux-yocto/5.4: update to v5.4.119
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    b82e5721a173 Linux 5.4.119
    6b183fbf18b9 Revert "fdt: Properly handle "no-map" field in the memory region"
    66b8853dfa3c Revert "of/fdt: Make sure no-map does not remove already reserved regions"
    3fe9ee040fb7 sctp: delay auto_asconf init until binding the first addr
    e1bf000709cc Revert "net/sctp: fix race condition in sctp_destroy_sock"
    32e046965fac smp: Fix smp_call_function_single_async prototype
    9884f745108f net: Only allow init netns to set default tcp cong to a restricted algo
    4a83a9deead9 mm/memory-failure: unnecessary amount of unmapping
    de143fb2feac mm/sparse: add the missing sparse_buffer_fini() in error branch
    ba450bba7115 kfifo: fix ternary sign extension bugs
    24c54e0a9747 net:nfc:digital: Fix a double free in digital_tg_recv_dep_req
    07ef3f7bc5c4 net: bridge: mcast: fix broken length + header check for MRDv6 Adv.
    da5b49598a11 RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res
    30b9e92d0b5e RDMA/siw: Fix a use after free in siw_alloc_mr
    55fcdd1258fa net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send
    b1523e4ba293 bnxt_en: Fix RX consumer index logic in the error path.
    d1ad9f2f7e2d selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static
    6f92124d7441 net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb
    06e03b867d96 arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    978170191d3d ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    4bfea784ea35 bnxt_en: fix ternary sign extension bug in bnxt_show_temp()
    10ff6ad91e0d powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
    c6af4c1d196e ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
    bf0be675e646 ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices
    87fc6b2914e5 net: phy: intel-xway: enable integrated led functions
    57bed78ce64a net: renesas: ravb: Fix a stuck issue when a lot of frames are received
    27a894a9556f net: davinci_emac: Fix incorrect masking of tx and rx error channel
    8d77c9564309 ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails
    59f965ef61d7 RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails
    d7ba506b00ea RDMA/cxgb4: add missing qpid increment
    f7368865da57 gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check
    e97aea9f2503 vsock/vmci: log once the failed queue pair allocation
    469135100325 mwl8k: Fix a double Free in mwl8k_probe_hw
    afb735e764ba i2c: sh7760: fix IRQ error path
    da80b35b6e26 rtlwifi: 8821ae: upgrade PHY and RF parameters
    b1b8d90d4550 powerpc/pseries: extract host bridge from pci_bus prior to bus removal
    bdad13dd15e2 MIPS: pci-legacy: stop using of_pci_range_to_resource
    5950c9d7f987 perf beauty: Fix fsconfig generator
    0ff76bd07bc4 drm/i915/gvt: Fix error code in intel_gvt_init_device()
    ecfbcb858007 ASoC: ak5558: correct reset polarity
    c77bf004717d powerpc/xive: Fix xmon command "dxi"
    65b771660f57 i2c: sh7760: add IRQ check
    cb834ff29bdb i2c: jz4780: add IRQ check
    aa90700f953a i2c: emev2: add IRQ check
    45f02a0f8ded i2c: cadence: add IRQ check
    7e1764312440 i2c: sprd: fix reference leak when pm_runtime_get_sync fails
    5f51ddcbfc78 i2c: omap: fix reference leak when pm_runtime_get_sync fails
    815859cb1d23 i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails
    4734c4b1d957 i2c: img-scb: fix reference leak when pm_runtime_get_sync fails
    ed016b77012e RDMA/srpt: Fix error return code in srpt_cm_req_recv()
    e1d10b2cc792 net: thunderx: Fix unintentional sign extension issue
    b0d8fa3adc9d cxgb4: Fix unintentional sign extension issues
    05692b952365 IB/hfi1: Fix error return code in parse_platform_config()
    53656a2a0183 RDMA/qedr: Fix error return code in qedr_iw_connect()
    bf365066fbe0 KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit
    af5a87a1d413 mt7601u: fix always true expression
    53ada35f2ecc mac80211: bail out if cipher schemes are invalid
    22cb8496f290 powerpc: iommu: fix build when neither PCI or IBMVIO is set
    5aa028a827fe powerpc/perf: Fix PMU constraint check for EBB events
    73f9dccb29e4 powerpc/64s: Fix pte update for kernel memory on radix
    440fead0fc81 liquidio: Fix unintented sign extension of a left shift of a u16
    92626cf41b0e ASoC: simple-card: fix possible uninitialized single_cpu local variable
    e1b01d914c31 ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls
    11fa9b38e030 mips: bmips: fix syscon-reboot nodes
    c8f7e2e04724 net: hns3: Limiting the scope of vector_ring_chain variable
    cab33b3b6da8 nfc: pn533: prevent potential memory corruption
    efb0f45b4535 bug: Remove redundant condition check in report_bug
    7628bc544ba8 ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
    3733a64d5828 powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration
    fee81285bd09 inet: use bigger hash table for IP ID generation
    318993949423 powerpc/prom: Mark identical_pvr_fixup as __init
    4543fcd6835b powerpc/fadump: Mark fadump_calculate_reserve_size as __init
    e00c5b9eebf0 net: lapbether: Prevent racing when checking whether the netif is running
    f937a0f6ada1 perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars
    1121f5f3d440 HID: plantronics: Workaround for double volume key presses
    59021008b317 drivers/block/null_blk/main: Fix a double free in null_init.
    279749d0d4ef sched/debug: Fix cgroup_path[] serialization
    c01fc0adba30 x86/events/amd/iommu: Fix sysfs type mismatch
    846357609409 HSI: core: fix resource leaks in hsi_add_client_from_dt()
    ff386ac05098 nvme-pci: don't simple map sgl when sgls are disabled
    7e1ab103f63f mfd: stm32-timers: Avoid clearing auto reload register
    e8fe98f6ec69 scsi: ibmvfc: Fix invalid state machine BUG_ON()
    ce8585f979e4 scsi: sni_53c710: Add IRQ check
    1ff0b82c6674 scsi: sun3x_esp: Add IRQ check
    4b94098f0aa7 scsi: jazz_esp: Add IRQ check
    ae0cadd35daf scsi: hisi_sas: Fix IRQ checks
    6adac4efe77d clk: uniphier: Fix potential infinite loop
    e1a5c8594c0e clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
    6c9bbf98b1d8 clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback
    3d81ce0cfb31 vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer
    e6707395c839 media: v4l2-ctrls.c: fix race condition in hdl->requests list
    b22867aa3d32 nvme: retrigger ANA log update if group descriptor isn't found
    999d606a820c nvmet-tcp: fix incorrect locking in state_change sk callback
    ced0760eb45a nvme-tcp: block BH in sk state_change sk callback
    4bbae57c7bde ata: libahci_platform: fix IRQ check
    bafcaa016585 sata_mv: add IRQ checks
    782ec39b37bd pata_ipx4xx_cf: fix IRQ check
    af9c0391353d pata_arasan_cf: fix IRQ check
    c66229b36fd3 x86/kprobes: Fix to check non boostable prefixes correctly
    1cfaa6444a5e drm/amdkfd: fix build error with AMD_IOMMU_V2=m
    bfd83cf79b7f media: m88rs6000t: avoid potential out-of-bounds reads on arrays
    7db94692631e media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
    1dc1d30ac101 media: aspeed: fix clock handling logic
    d36f9755d1db media: omap4iss: return error code when omap4iss_get() failed
    75c6252e8630 media: vivid: fix assignment of dev->fbuf_out_flags
    6b121dc6807c soc: aspeed: fix a ternary sign expansion bug
    f276d195ce10 xen-blkback: fix compatibility bug with single page rings
    aafb5e38e695 ttyprintk: Add TTY hangup callback.
    ce7b62d85791 usb: dwc2: Fix hibernation between host and device modes.
    6f7ed537ca2d usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
    e83dcf255a13 Drivers: hv: vmbus: Increase wait time for VMbus unload
    9b47b3a67552 x86/platform/uv: Fix !KEXEC build failure
    9a9ce397336e platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table
    eec90f4b9575 usbip: vudc: fix missing unlock on error in usbip_sockfd_store()
    d3b6b252bab0 node: fix device cleanups in error handling code
    3f605558a4f7 firmware: qcom-scm: Fix QCOM_SCM configuration
    77a1c15145c8 serial: core: return early on unsupported ioctls
    b6803d57f587 tty: fix return value for unsupported ioctls
    932d67b84b4f tty: actually undefine superseded ASYNC flags
    a6fb73f4e009 USB: cdc-acm: fix TIOCGSERIAL implementation
    8abef571fd92 USB: cdc-acm: fix unprivileged TIOCCSERIAL
    9aa155203427 usb: gadget: r8a66597: Add missing null check on return from platform_get_resource
    4a01ad002d2e spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
    eaf03935b859 cpufreq: armada-37xx: Fix determining base CPU frequency
    d33a00f35531 cpufreq: armada-37xx: Fix driver cleanup when registration failed
    4bffea742b66 clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0
    0289edd869ac clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz
    0c793b76066b cpufreq: armada-37xx: Fix the AVS value for load L1
    b671a3277b7c clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock
    3518c6d0178c cpufreq: armada-37xx: Fix setting TBG parent for load levels
    19d16a689793 crypto: qat - Fix a double free in adf_create_ring
    32f5f51a3703 ACPI: CPPC: Replace cppc_attr with kobj_attribute
    726837481c93 soc: qcom: mdt_loader: Detect truncated read of segments
    08b601cb7aef soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
    001c8e83646a spi: Fix use-after-free with devm_spi_alloc_*
    3b0cd47fe1b7 PM / devfreq: Use more accurate returned new_freq as resume_freq
    51a5e5e93c01 staging: greybus: uart: fix unprivileged TIOCCSERIAL
    c751e448b726 staging: rtl8192u: Fix potential infinite loop
    8148375c865f irqchip/gic-v3: Fix OF_BAD_ADDR error handling
    ef8e7bfea99a mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init
    f6a90818a320 m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
    870533403ffa soundwire: stream: fix memory leak in stream config error path
    7cd10f8a5a9d memory: pl353: fix mask of ECC page_size config register
    6b18f6ac820e USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR()
    93615b25c78f usb: gadget: aspeed: fix dma map failure
    c675ead206b7 crypto: qat - fix error path in adf_isr_resource_alloc()
    f3685a9ef29d phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
    4dc0332faf80 soundwire: bus: Fix device found flag correctly
    3a76ec28824c bus: qcom: Put child node before return
    5880afefe0cb mtd: require write permissions for locking and badblock ioctls
    ff352d27d4ce fotg210-udc: Complete OUT requests on short packets
    0d19ad0706c2 fotg210-udc: Don't DMA more than the buffer can take
    88f1100e523c fotg210-udc: Mask GRP2 interrupts we don't handle
    f580a8046acf fotg210-udc: Remove a dubious condition leading to fotg210_done
    359d1b0ad239 fotg210-udc: Fix EP0 IN requests bigger than two packets
    9a97aa4bbe0f fotg210-udc: Fix DMA on EP0 for length > max packet size
    05ec8192ee4b crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
    2a41049a0e21 crypto: qat - don't release uninitialized resources
    cfd99d250cde usb: gadget: pch_udc: Check for DMA mapping error
    44452b7bd35d usb: gadget: pch_udc: Check if driver is present before calling ->setup()
    23978eb064dc usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
    369428a646b7 x86/microcode: Check for offline CPUs before requesting new microcode
    6b8ff2a35a74 arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding
    cbf784eff5de spi: stm32: drop devres version of spi_register_master
    15ee35be9286 arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges'
    168877a575a5 mtd: rawnand: qcom: Return actual error code instead of -ENODEV
    73744fcb4eb0 mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions()
    e5b3e69eb36a mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
    9e612890bb87 mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
    d8897f7b2283 regmap: set debugfs_name to NULL after it is freed
    0d2c86076844 usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS
    6e666a05e540 serial: stm32: fix tx_empty condition
    12e423331ec9 serial: stm32: fix incorrect characters on console
    6be27923140a ARM: dts: exynos: correct PMIC interrupt trigger level on Snow
    aacfc3bef07b ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250
    d788a900f362 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family
    f9b701bc13da ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family
    6cf80f1fc1a9 ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family
    73bc2732108c ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family
    12d9d517a2fe memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]
    52189bf0b2a2 usb: gadget: pch_udc: Revert d3cb25a12138 completely
    db699975f72d ovl: fix missing revert_creds() on error path
    a51050108bed Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
    7d1bc32d6477 KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
    cc6623055f2d KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit
    358264425747 KVM: s390: split kvm_s390_real_to_abs
    45a3ae26fcd9 s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
    9ea2c4fd1a72 KVM: s390: fix guarded storage control register handling
    34a6d1d57c71 KVM: s390: split kvm_s390_logical_to_effective
    027de80194fb ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable
    1bfa051571ac ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
    9337f5ba5090 ALSA: hda/realtek: Re-order ALC662 quirk table entries
    5f68b0ec9882 ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries
    15b414029478 ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries
    99aa203c6eb6 ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
    1f1612fc6bea ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries
    65d5b99c1ea9 ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries
    b161e02481d8 ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries
    bd0e9154100c ALSA: hda/realtek: Re-order ALC269 HP quirk table entries
    e97cf247ba44 ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries
    02968e62200a ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
    6d9e8828fa77 ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
    e584e52783a4 drm/amd/display: Reject non-zero src_y and src_x for video planes
    56f2ea0bc2a1 drm/radeon: fix copy of uninitialized variable back to userspace
    4aea3ddac00a drm/panfrost: Don't try to map pages that are already mapped
    debaae7ac45a drm/panfrost: Clear MMU irqs before handling the fault
    6b5aa0cf321c rtw88: Fix array overrun in rtw_get_tx_power_params()
    e5b02c096145 cfg80211: scan: drop entry from hidden_list on overflow
    16b68fb8df43 ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
    af7ea06b3cae md: Fix missing unused status line of /proc/mdstat
    79c1bfae668d md: md_open returns -EBUSY when entering racing area
    adb9bbf1a284 md: factor out a mddev_find_locked helper from mddev_find
    afa4de092663 md: split mddev_find
    acdf531e77f0 md-cluster: fix use-after-free issue when removing rdev
    a72373588ce3 md/bitmap: wait for external bitmap writes to complete during tear down
    45bc83f71b22 misc: vmw_vmci: explicitly initialize vmci_datagram payload
    0f8f75b92ecc misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
    34f6ba8810c3 misc: lis3lv02d: Fix false-positive WARN on various HP models
    8809d87cb86f iio:accel:adis16201: Fix wrong axis assignment that prevents loading
    7cb1f304237a PCI: Allow VPD access for QLogic ISP2722
    f30ded0ba1b6 FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
    8943172edaf7 MIPS: pci-rt2880: fix slot 0 configuration
    cd2e53ad366f MIPS: pci-mt7620: fix PLL lock check
    4dce2a19e76b ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function
    79cc386696fb ASoC: samsung: tm2_wm5110: check of of_parse return value
    2b8b8cc94f4d usb: xhci-mtk: improve bandwidth scheduling with TT
    9f0d3e676a25 usb: xhci-mtk: remove or operator for setting schedule parameters
    230bd196536b usb: typec: tcpm: update power supply once partner accepts
    9d7bb10859b9 usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply
    c87bb48ac5c5 usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
    66ca71d28301 staging: fwserial: fix TIOCSSERIAL permission check
    ebb46274e33f tty: moxa: fix TIOCSSERIAL permission check
    d524fb44c657 staging: fwserial: fix TIOCSSERIAL jiffies conversions
    f80f12ee00b8 USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
    f50cad556c28 staging: greybus: uart: fix TIOCSSERIAL jiffies conversions
    3114fedf4020 USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
    edce32412096 tty: amiserial: fix TIOCSSERIAL permission check
    e503d7bc7bfe tty: moxa: fix TIOCSSERIAL jiffies conversions
    c30b11c74cbb Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL"
    e32352070bca net/nfc: fix use-after-free llcp_sock_bind/connect
    eeec325c9944 bluetooth: eliminate the potential race condition when removing the HCI controller
    119858caf400 hsr: use netdev_err() instead of WARN_ONCE()
    3a826ffa80d5 Bluetooth: verify AMP hci_chan before amp_destroy

(From OE-Core rev: 4d00220f08e9ec8e421157187794b5701ffc04eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
59a631a847 linux-yocto/5.10: update to v5.10.37
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    e97bd1e03e6e Linux 5.10.37
    42f1b8653f85 sctp: delay auto_asconf init until binding the first addr
    14919cdf68d0 Revert "net/sctp: fix race condition in sctp_destroy_sock"
    41f1aed56de5 smp: Fix smp_call_function_single_async prototype
    6c1ea8bee75d net: Only allow init netns to set default tcp cong to a restricted algo
    2281df0b0226 arm64: Remove arm64_dma32_phys_limit and its uses
    00d9f429af03 bpf: Prevent writable memory-mapping of read-only ringbuf pages
    1ca284f08670 bpf, ringbuf: Deny reserve of buffers larger than ringbuf
    282bfc8848ea bpf: Fix alu32 const subreg bound tracking on bitwise operations
    f76e0829bbab afs: Fix speculative status fetches
    949e7c5f4957 mm/memory-failure: unnecessary amount of unmapping
    62d96faa74c8 mm/sparse: add the missing sparse_buffer_fini() in error branch
    31df8bc4d3fe mm: memcontrol: slab: fix obtain a reference to a freeing memcg
    2e95bc6cfed1 mm/sl?b.c: remove ctor argument from kmem_cache_flags
    618fa6a35c79 kfifo: fix ternary sign extension bugs
    c02dd80655fd ia64: fix EFI_DEBUG build
    c6b7e0b1ab87 perf session: Add swap operation for event TIME_CONV
    86941f8bd46a perf jit: Let convert_timestamp() to be backwards-compatible
    fe07408afba2 perf tools: Change fields type in perf_record_time_conv
    3bce718d977b net:nfc:digital: Fix a double free in digital_tg_recv_dep_req
    e2c34cacff7b net: bridge: mcast: fix broken length + header check for MRDv6 Adv.
    f5ce59707d6a RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res
    608a4b90ece0 RDMA/siw: Fix a use after free in siw_alloc_mr
    4394be0a1866 bpf: Fix propagation of 32 bit unsigned bounds from 64 bit bounds
    183d9ebd449c selftests/bpf: Fix core_reloc test runner
    0257a0a5ffb7 selftests/bpf: Fix field existence CO-RE reloc tests
    3769c54d341c selftests/bpf: Fix BPF_CORE_READ_BITFIELD() macro
    9dc373f74097 net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send
    8fcdfa71ba6a KVM: VMX: Intercept FS/GS_BASE MSR accesses for 32-bit KVM
    4fcaad2b7dac bnxt_en: Fix RX consumer index logic in the error path.
    1625872f012c selftests: mlxsw: Remove a redundant if statement in tc_flower_scale test
    8ebdce8fe0b0 selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static
    71ad9260c001 net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb
    1fc61844b6a2 arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    0ae610556f23 ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    66b1cfc0cd87 bnxt_en: fix ternary sign extension bug in bnxt_show_temp()
    9f722ef596fe net: enetc: fix link error again
    bfcb5a8cc7b6 net: phy: marvell: fix m88e1111_set_downshift
    1157d01e04d9 net: phy: marvell: fix m88e1011_set_downshift
    be631825652f powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
    e06a532f31c4 powerpc/perf: Fix the threshold event selection for memory events in power10
    b6b894e7a27e wlcore: Fix buffer overrun by snprintf due to incorrect buffer size
    1cce33fe59f0 ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
    8bb054fb336f ath10k: Fix a use after free in ath10k_htc_send_bundle
    0f98e1ea970c ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices
    4b9fb2c9039a powerpc/64: Fix the definition of the fixmap area
    c5ebaca402f5 RDMA/core: Add CM to restrack after successful attachment to a device
    63c61d26e3fb RDMA/rxe: Fix a bug in rxe_fill_ip_info()
    7fe12d6db3f0 net: phy: intel-xway: enable integrated led functions
    cf49a91faa7d net: renesas: ravb: Fix a stuck issue when a lot of frames are received
    01dab91200dc net: stmmac: fix TSO and TBS feature enabling during driver open
    64753ac1e43e nfp: devlink: initialize the devlink port attribute "lanes"
    e606073b77a3 crypto: ccp: Detect and reject "invalid" addresses destined for PSP
    4fa28c807da5 mt76: mt7615: fix memleak when mt7615_unregister_device()
    9ed951f41643 net: davinci_emac: Fix incorrect masking of tx and rx error channel
    0ce6052802be net: marvell: prestera: fix port event handling on init
    b605673b523f vsock/virtio: free queued packets when closing socket
    5231d17eb9d0 sfc: ef10: fix TX queue lookup in TX event handling
    7459bb594328 ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails
    312c5ce34942 RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails
    45b84abb47a9 RDMA/cxgb4: add missing qpid increment
    da54cc254939 gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check
    257f38e78aa3 net: ethernet: ixp4xx: Set the DMA masks explicitly
    78d8b34751cf libbpf: Initialize the bpf_seq_printf parameters array field by field
    b9e719698fc4 vsock/vmci: log once the failed queue pair allocation
    bc2e5321d7f1 netfilter: nftables_offload: special ethertype handling for VLAN
    a7eb38aacc81 netfilter: nftables_offload: VLAN id needs host byteorder in flow dissector
    cf2de861b279 netfilter: nft_payload: fix C-VLAN offload support
    1dd5ac62c0d4 mwl8k: Fix a double Free in mwl8k_probe_hw
    87299aad6278 i2c: mediatek: Fix wrong dma sync flag
    232598e99fad i2c: sh7760: fix IRQ error path
    d204db4fe6ac wlcore: fix overlapping snprintf arguments in debugfs
    c0aa320ac617 rtlwifi: 8821ae: upgrade PHY and RF parameters
    e9bd1af4c038 KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is valid
    bf6476152a0a powerpc/smp: Reintroduce cpu_core_mask
    af39f070c8b0 powerpc/pseries: extract host bridge from pci_bus prior to bus removal
    8dfd7329ad0b MIPS: pci-legacy: stop using of_pci_range_to_resource
    cabed6027a5b drm/amd/pm: fix error code in smu_set_power_limit()
    486642baea69 perf beauty: Fix fsconfig generator
    0df2770ad33b iommu/amd: Put newline after closing bracket in warning
    a1c1de90cd28 drm/i915/gvt: Fix error code in intel_gvt_init_device()
    2b3ae007c639 net/packet: remove data races in fanout operations
    3a1c395703be net/packet: make packet_fanout.arr size configurable up to 64K
    d10c5162b493 net/mlx5: Fix bit-wise and with zero
    d97d22bda17a ASoC: ak5558: correct reset polarity
    c1f980961133 powerpc/xive: Fix xmon command "dxi"
    e2724bed6481 powerpc/xive: Drop check on irq_data in xive_core_debug_show()
    a38b77899c2c i2c: sh7760: add IRQ check
    4b8177766a8b i2c: rcar: add IRQ check
    1ac4f7a26017 i2c: rcar: protect against supurious interrupts on V3U
    11e2b2b6f6b9 i2c: rcar: make sure irq is not threaded on Gen2 and earlier
    f41d2bfef538 i2c: mlxbf: add IRQ check
    c6eea11b5cb6 i2c: jz4780: add IRQ check
    ab6d6cae0aa1 i2c: emev2: add IRQ check
    6f291ab1776e i2c: cadence: add IRQ check
    c977426db644 i2c: xiic: fix reference leak when pm_runtime_get_sync fails
    c323b270a52a i2c: stm32f7: fix reference leak when pm_runtime_get_sync fails
    e547640cee79 i2c: sprd: fix reference leak when pm_runtime_get_sync fails
    8c0a2009fb20 i2c: omap: fix reference leak when pm_runtime_get_sync fails
    3a0cdd336d92 i2c: imx: fix reference leak when pm_runtime_get_sync fails
    cc49d2064142 i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails
    e80ae8bde412 i2c: img-scb: fix reference leak when pm_runtime_get_sync fails
    30410519328c i2c: cadence: fix reference leak when pm_runtime_get_sync fails
    b64415c6b347 RDMA/rtrs-clt: destroy sysfs after removing session from active list
    6a07e5e39d4f RDMA/srpt: Fix error return code in srpt_cm_req_recv()
    4601bcc6410c net: thunderx: Fix unintentional sign extension issue
    6a61307e58ab cxgb4: Fix unintentional sign extension issues
    52fd8005a239 RDMA/bnxt_re: Fix error return code in bnxt_qplib_cq_process_terminal()
    afb738b74447 IB/hfi1: Fix error return code in parse_platform_config()
    a12d75f5dcfb RDMA/qedr: Fix error return code in qedr_iw_connect()
    0f8528c78fc8 ovl: invalidate readdir cache on changes to dir with origin
    082fa65bf60a KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit
    de4e60382b90 mt76: mt7663s: fix the possible device hang in high traffic
    188dfc470263 mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation
    bf08637d32e6 mt76: mt7915: fix mib stats counter reporting to mac80211
    0b39be51626d mt76: mt7615: fix mib stats counter reporting to mac80211
    2da92db47f07 mt76: mt7915: fix aggr len debugfs node
    4e7914ce2330 mt76: mt7915: fix tx skb dma unmap
    75bc5f779a76 mt76: mt7615: fix tx skb dma unmap
    3443c54c4171 mt7601u: fix always true expression
    00792f31a330 rtw88: Fix an error code in rtw_debugfs_set_rsvd_page()
    80cff3e11670 xfs: fix return of uninitialized value in variable error
    b07520a55f10 perf vendor events amd: Fix broken L2 Cache Hits from L2 HWPF metric
    08c75d4b7682 mac80211: bail out if cipher schemes are invalid
    e00f32c2c97b powerpc: iommu: fix build when neither PCI or IBMVIO is set
    8ce329c68983 powerpc/perf: Fix PMU constraint check for EBB events
    84c0762633f2 powerpc/64s: Fix pte update for kernel memory on radix
    8fac4bd3674f IB/hfi1: Use kzalloc() for mmu_rb_handler allocation
    f9e9df72dc08 liquidio: Fix unintented sign extension of a left shift of a u16
    c87df56d28a6 ASoC: simple-card: fix possible uninitialized single_cpu local variable
    325e8f9edf72 KVM: arm64: Initialize VCPU mdcr_el2 before loading it
    348f68ae40c8 HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE
    9b14027e4cc2 HID: lenovo: Check hid_get_drvdata() returns non NULL in lenovo_event()
    5ccdc6dd6266 HID: lenovo: Fix lenovo_led_set_tp10ubkbd() error handling
    29bfd0446a2c HID: lenovo: Use brightness_set_blocking callback for setting LEDs brightness
    716132e00ce1 ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls
    e759105d459b iommu/vt-d: Invalidate PASID cache when root/context entry changed
    c848416cc05a iommu/vt-d: Remove WO permissions on second-level paging entries
    416fa531c816 iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
    32737c3a2669 iommu/vt-d: Report the right page fault address
    eb0530d71c78 iommu/vt-d: Report right snoop capability when using FL for IOVA
    620aa5821aaa iommu: Fix a boundary issue to avoid performance drop
    c96f7eb59b7e iommu/vt-d: Don't set then clear private data in prq_event_thread()
    e0c7b956162b mips: bmips: fix syscon-reboot nodes
    3cf9fac71b79 net: hns3: Limiting the scope of vector_ring_chain variable
    db574a60c482 nfc: pn533: prevent potential memory corruption
    a16f02187d9d RDMA/core: Fix corrupted SL on passive side
    556e75a0ae03 bug: Remove redundant condition check in report_bug
    faba97afdbb9 net/tipc: fix missing destroy_workqueue() on error in tipc_crypto_start()
    fd26f3a07e73 powerpc/pseries: Only register vio drivers if vio bus exists
    4877c4a52339 udp: never accept GSO_FRAGLIST packets
    c45cb22a5500 net: phy: lan87xx: fix access to wrong register of LAN87xx
    897c095c7e9e ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
    afb3416c4fef gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP
    9becf957e0b0 MIPS/bpf: Enable bpf_probe_read{, str}() on MIPS again
    19c990c9fad3 powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration
    499b3ceb17ad IB/isert: Fix a use after free in isert_connect_request
    78f537c0054a RDMA/mlx5: Fix drop packet rule in egress table
    4ff081701b3d iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK
    9681d50a70b2 ASoC: wm8960: Remove bitclk relax condition in wm8960_configure_sysclk
    0f69f9596ba0 MIPS: loongson64: fix bug when PAGE_SIZE > 16KB
    da40d5fec5d7 pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero
    353fcebf49e2 pinctrl: pinctrl-single: remove unused parameter
    a273c27d7255 inet: use bigger hash table for IP ID generation
    6b4b3b84049f ima: Fix the error code for restoring the PCR value
    536175f0065c MIPS: fix local_irq_{disable,enable} in asmmacro.h
    4c45556db31c powerpc/prom: Mark identical_pvr_fixup as __init
    494327b777f6 powerpc/fadump: Mark fadump_calculate_reserve_size as __init
    454fb207476b libbpf: Add explicit padding to btf_dump_emit_type_decl_opts
    87520507b1ae selftests/bpf: Re-generate vmlinux.h and BPF skeletons if bpftool changed
    ee06efc811ea iommu/vt-d: Reject unsupported page request modes
    b60e13c30688 iommu: Check dev->iommu in iommu_dev_xxx functions
    3d15bf2b2c93 bpftool: Fix maybe-uninitialized warnings
    b1ed7a571750 libbpf: Add explicit padding to bpf_xdp_set_link_opts
    f72e3d81c622 net: lapbether: Prevent racing when checking whether the netif is running
    7cc0ba67883c Bluetooth: avoid deadlock between hci_dev->lock and socket lock
    5cce890e5dc6 KVM: x86/mmu: Retry page faults that hit an invalid memslot
    cd6e679b8d1d wilc1000: write value to WILC_INTR2_ENABLE register
    0d74db145787 RDMA/mlx5: Fix mlx5 rates to IB rates map
    4ebb3b797a63 ASoC: Intel: Skylake: Compile when any configuration is selected
    5fb733e250c0 ASoC: Intel: boards: sof-wm8804: add check for PLL setting
    b3222026dde7 perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars
    56027a2e75e6 HID: plantronics: Workaround for double volume key presses
    613f9d1f1587 xsk: Respect device's headroom and tailroom on generic xmit path
    5378c92425f3 drivers/block/null_blk/main: Fix a double free in null_init.
    94f1bdf01b39 sched/debug: Fix cgroup_path[] serialization
    cbbc13b115b8 io_uring: fix overflows checks in provide buffers
    db4645fbae17 perf/amd/uncore: Fix sysfs type mismatch
    c8a54b4d6657 x86/events/amd/iommu: Fix sysfs type mismatch
    d5149a487f2d HSI: core: fix resource leaks in hsi_add_client_from_dt()
    38c1f8ebb373 media: cedrus: Fix H265 status definitions
    a11497b3bb75 nvme-pci: don't simple map sgl when sgls are disabled
    b2c55f81c1d1 nvmet-tcp: fix a segmentation fault during io parsing error
    2842b91ac7a5 mfd: stm32-timers: Avoid clearing auto reload register
    cadbba5ec895 mailbox: sprd: Introduce refcnt when clients requests/free channels
    b42ec774db50 scsi: ibmvfc: Fix invalid state machine BUG_ON()
    5129ec347a89 scsi: sni_53c710: Add IRQ check
    79ee30433357 scsi: sun3x_esp: Add IRQ check
    18e729d21f26 scsi: jazz_esp: Add IRQ check
    7d81167e513f scsi: hisi_sas: Fix IRQ checks
    aa83f32d40e2 scsi: ufs: ufshcd-pltfrm: Fix deferred probing
    4e5e08975521 scsi: pm80xx: Fix potential infinite loop
    a613887c4126 scsi: pm80xx: Increase timeout for pm80xx mpi_uninit_check()
    d3d3735858e0 clk: uniphier: Fix potential infinite loop
    c360228ecfb1 drm/radeon: Fix a missing check bug in radeon_dp_mst_detect()
    a6d56760eaba drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct
    3968d95f3116 clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE
    edc6a44bcc49 clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
    a6596d71a635 drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train()
    fc076f40c859 clk: zynqmp: pll: add set_pll_mode to check condition in zynqmp_pll_enable
    9c91a014a3b5 clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback
    b29d6a435e0f vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer
    87856f9af04e vfio/pci: Re-order vfio_pci_probe()
    dad86dd76b8b vfio/pci: Move VGA and VF initialization to functions
    daa72300c996 vfio/fsl-mc: Re-order vfio_fsl_mc_probe()
    d0702c665e6b media: v4l2-ctrls.c: fix race condition in hdl->requests list
    2d49873b49dc media: i2c: imx219: Balance runtime PM use-count
    0050c9794135 media: i2c: imx219: Move out locking/unlocking of vflip and hflip controls from imx219_set_stream
    59dd4fe0ae03 nvme: retrigger ANA log update if group descriptor isn't found
    20719538c49f power: supply: bq25980: Move props from battery node
    9e33e261b4d6 clk: imx: Fix reparenting of UARTs not associated with stdout
    60ade0d56b06 nvmet-tcp: fix incorrect locking in state_change sk callback
    a3ea59d09525 nvme-tcp: block BH in sk state_change sk callback
    7456cc7c9fd5 seccomp: Fix CONFIG tests for Seccomp_filters
    4f53ef0f7841 ata: libahci_platform: fix IRQ check
    6187fa250294 sata_mv: add IRQ checks
    f87689e71604 pata_ipx4xx_cf: fix IRQ check
    d1bb0316f507 pata_arasan_cf: fix IRQ check
    0ad91dc7ea8e selftests: fix prepending $(OUTPUT) to $(TEST_PROGS)
    296da2049f2a x86/kprobes: Fix to check non boostable prefixes correctly
    e2ff41d2ee4d of: overlay: fix for_each_child.cocci warnings
    c272c735a1e2 drm/amdkfd: fix build error with AMD_IOMMU_V2=m
    d218c7a0284f media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()
    1f743e8d582b media: m88rs6000t: avoid potential out-of-bounds reads on arrays
    96498fbb7b14 media: atomisp: Fixed error handling path
    cc4cc2fb5aaf media: [next] staging: media: atomisp: fix memory leak of object flash
    99ce023bb8bb media: docs: Fix data organization of MEDIA_BUS_FMT_RGB101010_1X30
    757d5d54ca71 media: m88ds3103: fix return value check in m88ds3103_probe()
    697af15095fc media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
    00b68a747834 media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'
    0741a8f2e5b0 drm/probe-helper: Check epoch counter in output_poll_execute()
    a59d01384c80 media: aspeed: fix clock handling logic
    29eb741801b3 media: rkisp1: rsz: crash fix when setting src format
    38f9456ef5a2 media: omap4iss: return error code when omap4iss_get() failed
    3ad6a6288c88 media: saa7146: use sg_dma_len when building pgtable
    a250df336aa5 media: saa7134: use sg_dma_len when building pgtable
    385470a358a6 media: vivid: fix assignment of dev->fbuf_out_flags
    7d81aff28953 rcu: Remove spurious instrumentation_end() in rcu_nmi_enter()
    95f4e9f33b70 afs: Fix updating of i_mode due to 3rd party change
    80862cbf76c2 sched/fair: Fix shift-out-of-bounds in load_balance()
    ef8a03901259 drm/mcde/panel: Inverse misunderstood flag
    403c4528e588 drm/amd/display: Fix off by one in hdmi_14_process_transaction()
    9f075cb08822 drm/stm: Fix bus_flags handling
    1de265ad3c3c drm/tilcdc: send vblank event when disabling crtc
    8e81ff6d512e soc: aspeed: fix a ternary sign expansion bug
    bbe9de67ac5b xen-blkback: fix compatibility bug with single page rings
    565e7c98d332 serial: omap: fix rs485 half-duplex filtering
    9c3e2ad20b0c serial: omap: don't disable rs485 if rts gpio is missing
    927162c7133f ttyprintk: Add TTY hangup callback.
    62bb46f51f91 usb: dwc2: Fix hibernation between host and device modes.
    7bf9d7286cf2 usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
    1789737ca9f1 PM: hibernate: x86: Use crc32 instead of md5 for hibernation e820 integrity check
    8b4d4bd1f1ce Drivers: hv: vmbus: Increase wait time for VMbus unload
    816fbc17cbe8 hwmon: (pmbus/pxe1610) don't bail out when not all pages are active
    ee9bc379e43c x86/platform/uv: Fix !KEXEC build failure
    5980a3b9c933 spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails
    1231279389b5 spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op
    fa3a26b43760 spi: spi-zynqmp-gqspi: fix hang issue when suspend/resume
    24159580abcc spi: spi-zynqmp-gqspi: fix clk_enable/disable imbalance issue
    d5c7b42c9f56 Drivers: hv: vmbus: Use after free in __vmbus_open()
    b49bdd70b337 ARM: dts: aspeed: Rainier: Fix humidity sensor bus address
    fe310fd19ff1 platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table
    09a119a2d4c0 security: keys: trusted: fix TPM2 authorizations
    7bb63ed88189 memory: samsung: exynos5422-dmc: handle clk_set_parent() failure
    71bcc1b4a174 memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
    73585b2714db spi: spi-zynqmp-gqspi: Fix missing unlock on error in zynqmp_qspi_exec_op()
    58ee5a0de192 m68k: Add missing mmap_read_lock() to sys_cacheflush()
    99d2fa2daf6d usbip: vudc: fix missing unlock on error in usbip_sockfd_store()
    99a29899e3a3 crypto: chelsio - Read rxchannel-id from firmware
    c703ef8289dc node: fix device cleanups in error handling code
    190a2f24aed6 firmware: qcom-scm: Fix QCOM_SCM configuration
    26882a15ed23 serial: core: return early on unsupported ioctls
    1d9cde4ddf6c tty: fix return value for unsupported termiox ioctls
    eef2158b0c44 tty: Remove dead termiox code
    aa7f103da301 tty: fix return value for unsupported ioctls
    bd8fa4ef36ca tty: actually undefine superseded ASYNC flags
    45c7e5c1428f USB: cdc-acm: fix TIOCGSERIAL implementation
    4425c2f32ac9 USB: cdc-acm: fix unprivileged TIOCCSERIAL
    e38a77c48aa0 usb: gadget: r8a66597: Add missing null check on return from platform_get_resource
    ce02e58ddf86 spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
    cbe254a1fdce spi: spi-zynqmp-gqspi: fix incorrect operating mode in zynqmp_qspi_read_op
    314469666791 spi: spi-zynqmp-gqspi: transmit dummy circles by using the controller's internal functionality
    6bd307eb518d spi: spi-zynqmp-gqspi: add mutex locking for exec_op
    c164328f57c4 spi: spi-zynqmp-gqspi: use wait_for_completion_timeout to make zynqmp_qspi_exec_op not interruptible
    36cf347de9c4 cpufreq: armada-37xx: Fix determining base CPU frequency
    2f412fba2749 cpufreq: armada-37xx: Fix driver cleanup when registration failed
    6d7507243e05 clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0
    a7ddbc86e4e4 clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz
    ce4b8f58b611 cpufreq: armada-37xx: Fix the AVS value for load L1
    cccc3f18fcb5 clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock
    a13b110e7c9e cpufreq: armada-37xx: Fix setting TBG parent for load levels
    1faf7e6199b8 crypto: qat - Fix a double free in adf_create_ring
    0e596b373464 crypto: sa2ul - Fix memory leak of rxd
    2c67a9333da9 crypto: sun8i-ss - Fix memory leak of pad
    2e57ffdb5696 crypto: allwinner - add missing CRYPTO_ prefix
    ac0fc2de8ad1 ACPI: CPPC: Replace cppc_attr with kobj_attribute
    e65c287c9bd8 cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration
    8316ec23bdd0 PM: runtime: Replace inline function pm_runtime_callbacks_present()
    d97cb4365747 soc: qcom: mdt_loader: Detect truncated read of segments
    ab86e5145f61 soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
    078362f495a0 spi: fsl: add missing iounmap() on error in of_fsl_spi_probe()
    c7fabe372a90 spi: Fix use-after-free with devm_spi_alloc_*
    1de36911689c clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe()
    edfcc1835958 clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped
    410a1da7ee0e clocksource/drivers/timer-ti-dm: Fix posted mode status check order
    0681c62d1ea2 PM / devfreq: Use more accurate returned new_freq as resume_freq
    165b71a98c5a soc: qcom: pdr: Fix error return code in pdr_register_listener
    49f71d50cb30 staging: greybus: uart: fix unprivileged TIOCCSERIAL
    2c3ce3d84e80 staging: fwserial: fix TIOCGSERIAL implementation
    e08a24ae25b3 staging: fwserial: fix TIOCSSERIAL implementation
    40d622b31baf staging: rtl8192u: Fix potential infinite loop
    ab727e601cb5 staging: comedi: tests: ni_routes_test: Fix compilation error
    16ed454e10a8 irqchip/gic-v3: Fix OF_BAD_ADDR error handling
    b1d1f644ed9e mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init
    4b465576f02a iio: adc: Kconfig: make AD9467 depend on ADI_AXI_ADC symbol
    11e708c19bdd firmware: qcom_scm: Workaround lack of "is available" call on SC7180
    89d449867c5d firmware: qcom_scm: Reduce locking section for __get_convention()
    2ceac2b6c87c firmware: qcom_scm: Make __qcom_scm_is_call_available() return bool
    1dfb26df15fc m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
    7c468deae306 soundwire: stream: fix memory leak in stream config error path
    aa531c6c51e7 memory: pl353: fix mask of ECC page_size config register
    0256f4205c14 driver core: platform: Declare early_platform_cleanup() prototype
    100a5c76e5d2 drivers: nvmem: Fix voltage settings for QTI qfprom-efuse
    409ab5a9d809 USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR()
    4b6b771a6d3f usb: gadget: aspeed: fix dma map failure
    36babddef782 crypto: qat - fix error path in adf_isr_resource_alloc()
    bbd61fa05cd6 crypto: poly1305 - fix poly1305_core_setkey() declaration
    821ff1d44fe3 NFSv4.2: fix copy stateid copying for the async copy
    74bcea1a608e NFSD: Fix sparse warning in nfs4proc.c
    c9df2c56f502 arm64: dts: mediatek: fix reset GPIO level on pumpkin
    53191c1d78b1 phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
    6cca7cc213d6 phy: ti: j721e-wiz: Delete "clk_div_sel" clk provider during cleanup
    1e337097fe10 soundwire: bus: Fix device found flag correctly
    00f6abd3509b bus: qcom: Put child node before return
    6a4d2f863ab8 arm64: dts: renesas: r8a779a0: Fix PMU interrupt
    7b6552719c0c mtd: require write permissions for locking and badblock ioctls
    45eb038029b9 dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'
    42c9f39a7222 usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()'
    0764c91011c5 usb: gadget: s3c: Fix incorrect resources releasing
    b33c05d6bf6f fotg210-udc: Complete OUT requests on short packets
    7d5ff493219c fotg210-udc: Don't DMA more than the buffer can take
    e06d4a0c39bf fotg210-udc: Mask GRP2 interrupts we don't handle
    3515fd226ea0 fotg210-udc: Remove a dubious condition leading to fotg210_done
    36df13916de9 fotg210-udc: Fix EP0 IN requests bigger than two packets
    01c66e834024 fotg210-udc: Fix DMA on EP0 for length > max packet size
    1f50392650ae crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
    b50967781767 crypto: qat - don't release uninitialized resources
    31e1314ceee0 crypto: ccp - fix command queuing to TEE ring buffer
    22ae303805aa usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)
    9f6e0fdb154c usb: gadget: pch_udc: Initialize device pointer before use
    3b6769806027 usb: gadget: pch_udc: Check for DMA mapping error
    a6e680788c62 usb: gadget: pch_udc: Check if driver is present before calling ->setup()
    7d18eb34036a usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
    501ba8bf8d35 devtmpfs: fix placement of complete() call
    bac20313210a x86/microcode: Check for offline CPUs before requesting new microcode
    05b3f9b0ac32 spi: stm32: Fix use-after-free on unbind
    75a7a8920a57 arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding
    e8146dc804bf regulator: bd9576: Fix return from bd957x_probe()
    0390f6f1d0bc spi: stm32: drop devres version of spi_register_master
    617ec35ed51f crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
    75d0f3fb02d9 arm64: dts: qcom: db845c: fix correct powerdown pin for WSA881x
    a27a2590f76e arm64: dts: qcom: sm8250: fix number of pins in 'gpio-ranges'
    2feffa751958 arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges'
    8ff9b9f4fb54 arm64: dts: qcom: sdm845: fix number of pins in 'gpio-ranges'
    3673e0fa13ec arm64: dts: qcom: sm8250: Fix timer interrupt to specify EL2 physical timer
    5faf320a2b4d arm64: dts: qcom: sm8250: Fix level triggered PMU interrupt polarity
    33ffc713dfc2 ARM: dts: stm32: fix usart 2 & 3 pinconf to wake up with flow control
    5133b4bdc98e mtd: maps: fix error return code of physmap_flash_remove()
    c55310e30de2 mtd: don't lock when recursively deleting partitions
    174fe383de80 mtd: rawnand: qcom: Return actual error code instead of -ENODEV
    ca28e6a013b2 mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions()
    705ad2d8c361 mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
    c8f3837c51f8 mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
    82a0cadf6fa5 spi: rockchip: avoid objtool warning
    eb949f891226 regmap: set debugfs_name to NULL after it is freed
    840a6ff50a53 usb: typec: stusb160x: fix return value check in stusb160x_probe()
    72fa4c30ac1b usb: typec: tps6598x: Fix return value check in tps6598x_probe()
    2c80fa2cbfec usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS
    98743f2b8c25 serial: stm32: fix tx_empty condition
    566901ba502f serial: stm32: add FIFO flush when port is closed
    01ce9c5d1715 serial: stm32: fix FIFO flush in startup and set_termios
    f765918b334d serial: stm32: call stm32_transmit_chars locked
    a98c0683a3be serial: stm32: fix tx dma completion, release channel
    1f308f65d851 serial: stm32: fix a deadlock in set_termios
    5eacd7fa4087 serial: stm32: fix wake-up flag handling
    ea627af3dddd serial: stm32: fix a deadlock condition with wakeup event
    69ac7b3b893c serial: stm32: fix TX and RX FIFO thresholds
    5ca0d5b2c801 serial: stm32: fix incorrect characters on console
    a44d6acfa7df serial: stm32: fix startup by enabling usart for reception
    b5e8f0adaec1 serial: stm32: Use of_device_get_match_data()
    379b007b57ca serial: stm32: fix probe and remove order for dma
    1027c8c028c0 serial: stm32: add "_usart" prefix in functions name
    ab8363f13f12 serial: stm32: fix code cleaning warnings and checks
    7c5e96e89c05 x86/platform/uv: Set section block size for hubless architectures
    e6d95f35235a arm64: dts: renesas: Add mmc aliases into board dts files
    9d48f2b903d1 ARM: dts: renesas: Add mmc aliases into R-Car Gen2 board dts files
    2ddb0b285c2c ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family
    6d6abd5e4778 ARM: dts: exynos: correct PMIC interrupt trigger level on Snow
    0069053e21ed ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250
    c4121dac1c14 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family
    2c2d05131e1b ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family
    c6541b0e8891 ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family
    0cc067284a3e ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family
    41fdefb351ae ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100
    dff20fb2791c memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]
    1f12aaf07f61 crypto: sun8i-ss - fix result memory leak on error path
    9c0d2c3f7f72 fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER
    305a936af4fc firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)
    cfc0577ab19e firmware: xilinx: Add a blank line after function declaration
    ef7809681b2c firmware: xilinx: Fix dereferencing freed memory
    7f69649dad99 Revert "tools/power turbostat: adjust for temperature offset"
    0781a13c9c44 usb: gadget: pch_udc: Revert d3cb25a12138 completely
    6b922dc1d11e Revert "drm/qxl: do not run release if qxl failed to init"
    06f414e5c9f0 ovl: fix missing revert_creds() on error path
    7604978e85b8 Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
    545dbb1bbeff Revert "drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit"
    96e308a36efe KVM: arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read
    00824c30236b KVM: arm64: Fully zero the vcpu state on reset
    2a20592baff5 KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
    03c6cccedd39 KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU
    ae996824da9b KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
    a947f95b6b3a KVM: nVMX: Truncate base/index GPR value on address calc in !64-bit
    6b7028de661d KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit
    fa9b4ee318f9 KVM: nVMX: Defer the MMU reload to the normal path on an EPTP switch
    6748f80aeaf3 KVM: SVM: Inject #GP on guest MSR_TSC_AUX accesses if RDTSCP unsupported
    6ccdbedd167c KVM: SVM: Do not allow SEV/SEV-ES initialization after vCPUs are created
    ead4fb53fd42 KVM: SVM: Don't strip the C-bit from CR2 on #PF interception
    12d684302581 KVM: nSVM: Set the shadow root level to the TDP level for nested NPT
    f59c2220f6ec KVM: x86: Remove emulator's broken checks on CR0/CR3/CR4 loads
    c8b49e01a23b KVM: x86/mmu: Alloc page for PDPTEs when shadowing 32-bit NPT with 64-bit
    b4414fbc0fb3 KVM: s390: extend kvm_s390_shadow_fault to return entry pointer
    568782de5df1 KVM: s390: split kvm_s390_real_to_abs
    3804d1a4be99 KVM: s390: VSIE: fix MVPG handling for prefixing and MSO
    814cb6de6db6 s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
    be4ed1ac92ef KVM: s390: fix guarded storage control register handling
    2705bc3f1c8d KVM: s390: split kvm_s390_logical_to_effective
    82de9ad49303 KVM: s390: VSIE: correctly handle MVPG when in VSIE
    885024a8fb20 ALSA: hda/realtek: Fix speaker amp on HP Envy AiO 32
    bead5f0e81d7 ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable
    e8a3a49001f3 ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
    ccaa81e802d2 ALSA: hda/realtek: Re-order ALC662 quirk table entries
    ada3f488d576 ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries
    5a58fbcf6443 ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries
    44d57dcd8300 ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
    9f7ee3dd2c09 ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries
    7aee1f28ebd9 ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries
    ba56b860da86 ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries
    252feb3af9a0 ALSA: hda/realtek: Re-order ALC269 HP quirk table entries
    91d5c81bf24f ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries
    56e923d0368f ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
    8c9841ae6e8b ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
    ae5c6690e0c8 drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2
    7e2459bb19b9 drm/amd/display: Reject non-zero src_y and src_x for video planes
    ce450934a00c drm: bridge/panel: Cleanup connector on bridge detach
    92b98bcc4f48 drm/dp_mst: Set CLEAR_PAYLOAD_ID_TABLE as broadcast
    7eea3eff02ed drm/dp_mst: Revise broadcast msg lct & lcr
    9b50c185d27d drm/radeon: fix copy of uninitialized variable back to userspace
    09b031b5fc18 drm/panfrost: Don't try to map pages that are already mapped
    abb79f67a909 drm/panfrost: Clear MMU irqs before handling the fault
    08f6e8a7538d drm/qxl: use ttm bo priorities
    f6c5cc6febbe drm/i915/gvt: Fix vfio_edid issue for BXT/APL
    92b82770e9ba drm/i915/gvt: Fix virtual display setup for BXT/APL
    3b999f3eac04 FDDI: defxx: Make MMIO the configuration default except for EISA
    9fa26701cd1f mt76: fix potential DMA mapping leak
    95fb153c6027 rtw88: Fix array overrun in rtw_get_tx_power_params()
    9e7fcf39e2f8 cfg80211: scan: drop entry from hidden_list on overflow
    c9996845ff67 ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
    f54f21c07fea mt76: mt7615: use ieee80211_free_txskb() in mt7615_tx_token_put()
    0035a4704557 md: Fix missing unused status line of /proc/mdstat
    b70b7ec50089 md: md_open returns -EBUSY when entering racing area
    cdcfa77a332a md: factor out a mddev_find_locked helper from mddev_find
    07e737408502 md: split mddev_find
    61b8c6efbe87 md-cluster: fix use-after-free issue when removing rdev
    569885ad7518 md/bitmap: wait for external bitmap writes to complete during tear down
    cab2e8e5997b async_xor: increase src_offs when dropping destination page
    a4c421b12cc6 x86, sched: Treat Intel SNC topology as default, COD as exception
    4c0ddc8712d9 selinux: add proper NULL termination to the secclass_map permissions
    bb27aecf06a3 misc: vmw_vmci: explicitly initialize vmci_datagram payload
    15f2a3de1a6b misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
    6115a9027e52 phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()
    dbd328dfd9c1 misc: lis3lv02d: Fix false-positive WARN on various HP models
    be6566144cbd phy: cadence: Sierra: Fix PHY power_on sequence
    66c86eefa2eb sc16is7xx: Defer probe if device read fails
    814919a0739f iio:adc:ad7476: Fix remove handling
    62a560ac4acd iio:accel:adis16201: Fix wrong axis assignment that prevents loading
    5670ed4d5568 iio: inv_mpu6050: Fully validate gyro and accel scale writes
    a1ad124c8368 soc/tegra: regulators: Fix locking up when voltage-spread is out of range
    2f2d444ac496 PM / devfreq: Unlock mutex and free devfreq struct in error path
    e0b325888b53 PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c
    cc178b77f8a3 PCI: xgene: Fix cfg resource mapping
    451a3e7570fc KVM: x86: Defer the MMU unload to the normal path on an global INVPCID
    14e3676e3cad PCI: Allow VPD access for QLogic ISP2722
    a22fc2eb03c4 FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
    bd93fbc101d0 MIPS: pci-rt2880: fix slot 0 configuration
    149e1986ff6a MIPS: pci-mt7620: fix PLL lock check
    cdc7ff119a65 ASoC: tlv320aic32x4: Increase maximum register in regmap
    8d24a7195976 ASoC: tlv320aic32x4: Register clocks before registering component
    c3c86bd3d5e4 ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function
    7a7c14873c6d ASoC: samsung: tm2_wm5110: check of of_parse return value
    5a75dc20a92b usb: xhci-mtk: improve bandwidth scheduling with TT
    eb58724f4476 usb: xhci-mtk: remove or operator for setting schedule parameters
    048a99032d8a usb: typec: tcpm: update power supply once partner accepts
    61a4b925aa0f usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply
    79cae796dbf0 usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
    0dace269aa22 drm: bridge: fix LONTIUM use of mipi_dsi_() functions
    8a80901a061f staging: fwserial: fix TIOCSSERIAL permission check
    af5145c8efa6 tty: moxa: fix TIOCSSERIAL permission check
    6096118089c9 staging: fwserial: fix TIOCSSERIAL jiffies conversions
    eb3a757e0baa USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
    767e8241dd1c staging: greybus: uart: fix TIOCSSERIAL jiffies conversions
    304efedabad2 USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
    f283aaa01824 tty: amiserial: fix TIOCSSERIAL permission check
    f09ec0fc67a4 tty: moxa: fix TIOCSSERIAL jiffies conversions
    eeb4fd46eb9e usb: roles: Call try_module_get() from usb_role_switch_find_by_fwnode()
    c2ef392fff9d Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL"
    7e916d0124e5 io_uring: truncate lengths larger than MAX_RW_COUNT on provide buffers
    6b7021ed36da net/nfc: fix use-after-free llcp_sock_bind/connect
    2d84ef4e6569 bluetooth: eliminate the potential race condition when removing the HCI controller
    1d7bd87a2c8d Bluetooth: verify AMP hci_chan before amp_destroy

(From OE-Core rev: 7e47d02cb34d23132b54e48bf0c86844d20d0f02)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
6f79bfa414 linux-yocto/5.4: update to v5.4.118
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    16022114de98 Linux 5.4.118
    a992a283c0b7 dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
    569bae00ebbe dm integrity: fix missing goto in bitmap_flush_interval error handling
    ff8fd1e3b58a dm space map common: fix division bug in sm_ll_find_free_block()
    6fcaa44105aa dm persistent data: packed struct should have an aligned() attribute too
    c64da3294a7d tracing: Restructure trace_clock_global() to never block
    0834094c9a08 tracing: Map all PIDs to command lines
    8768085ba271 rsi: Use resume_noirq for SDIO
    55aa314a1a6c tty: fix memory leak in vc_deallocate
    943131fda33b usb: dwc2: Fix session request interrupt handler
    5bd06fc6b02c usb: dwc3: gadget: Fix START_TRANSFER link state check
    0790fdbf37ee usb: gadget/function/f_fs string table fix for multiple languages
    3b8b63be230f usb: gadget: Fix double free of device descriptor pointers
    efa99087ea69 usb: gadget: dummy_hcd: fix gpf in gadget_setup
    ffe824c0e35a media: staging/intel-ipu3: Fix race condition during set_fmt
    a03fb1e8a110 media: staging/intel-ipu3: Fix set_fmt error handling
    ff792ae52005 media: staging/intel-ipu3: Fix memory leak in imu_fmt
    ae37aee56cad media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
    e5c27c2ae2f2 media: dvb-usb: Fix use-after-free access
    9185b3b1c143 media: dvbdev: Fix memory leak in dvb_media_device_free()
    92eb134265fa ext4: fix error code in ext4_commit_super
    c599462ab9c3 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
    9c61387630a5 ext4: fix check to prevent false positive report of incorrect used inodes
    79c95130a52a kbuild: update config_data.gz only when the content of .config is changed
    19c8c34a8b80 x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
    8d2be04dbb17 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
    2b040d13b411 jffs2: check the validity of dstlen in jffs2_zlib_compress()
    564b1868f229 Fix misc new gcc warnings
    8aa728568202 security: commoncap: fix -Wstringop-overread warning
    be8db260f482 fuse: fix write deadlock
    dc21b424861a dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
    6920cef604fa md/raid1: properly indicate failure when ending a failed write request
    5f2d256875a5 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
    63a25b715633 tpm: vtpm_proxy: Avoid reading host log when using a virtual device
    2f12258b5224 tpm: efi: Use local variable for calculating final log size
    2af501de8f43 intel_th: pci: Add Alder Lake-M support
    ab5d5c9dfd02 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
    abf3573ef4e7 powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
    077f526fe3cc jffs2: Fix kasan slab-out-of-bounds problem
    ad3f360ef20f Input: ili210x - add missing negation for touch indication on ili210x
    6be0e4b59314 NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
    12ccd59941e3 NFS: Don't discard pNFS layout segments that are marked for return
    504632a3577a ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
    490ad0a23904 openvswitch: fix stack OOB read while fragmenting IPv4 packets
    9508634b2b18 mlxsw: spectrum_mr: Update egress RIF list before route's action
    27a130638406 f2fs: fix to avoid out-of-bounds memory access
    6c9b98a66d0a ubifs: Only check replay with inode type to judge if inode linked
    310efc95c72c virtiofs: fix memory leak in virtio_fs_probe()
    2b28e26bd776 Makefile: Move -Wno-unused-but-set-variable out of GCC only block
    13a474c01353 arm64/vdso: Discard .note.gnu.property sections in vDSO
    f40bf82bf693 btrfs: fix race when picking most recent mod log operation for an old root
    2bc0131d5be0 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
    45392da1bd91 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
    ee47a6414950 ALSA: hda/realtek: fix mic boost on Intel NUC 8
    d143cd1f8f6b ALSA: hda/realtek: GA503 use same quirks as GA401
    f2b75e357816 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
    2136ecfcf3d9 ALSA: usb-audio: More constifications
    adba683c573d ALSA: usb-audio: Explicitly set up the clock selector
    93588ea2fbd4 ALSA: sb: Fix two use after free in snd_sb_qsound_build
    1666f1ac383f ALSA: hda/conexant: Re-order CX5066 quirk table entries
    b53b72ef83ff ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
    a65181cfd953 s390/archrandom: add parameter check for s390_arch_random_generate
    ef00a39e2c78 scsi: libfc: Fix a format specifier
    02c13900477c mfd: arizona: Fix rumtime PM imbalance on error
    0d0e6dbd5fca scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
    0756818b4d3b scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
    f67fc8095bbe scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
    82bc134b93b5 drm/amdgpu: fix NULL pointer dereference
    4b65414ea416 amdgpu: avoid incorrect %hu format string
    443fdd7b4bc3 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
    c49981759450 drm/msm/mdp5: Do not multiply vclk line count by 100
    336e7e758640 drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
    b56ad4febe67 sched/fair: Ignore percpu threads for imbalance pulls
    53995be39f93 media: gscpa/stv06xx: fix memory leak
    3a855efb5426 media: dvb-usb: fix memory leak in dvb_usb_adapter_init
    4ca05c0e04d5 media: platform: sti: Fix runtime PM imbalance in regs_show
    47be6867d2d0 media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
    f6b97476053d media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
    cc265fb8e549 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
    48304f37ce81 media: adv7604: fix possible use-after-free in adv76xx_remove()
    b76249a0a64e media: tc358743: fix possible use-after-free in tc358743_remove()
    b25324cf16f5 power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
    ac22a96c7388 power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
    e0be54070ba1 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
    330753d38f26 media: vivid: update EDID
    71b75e6e2410 media: em28xx: fix memory leak
    cfb42c1bcce8 scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
    1a22a9fde806 scsi: smartpqi: Add new PCI IDs
    7973764b5454 scsi: smartpqi: Correct request leakage during reset operations
    7d77ac088fd7 ata: ahci: Disable SXS for Hisilicon Kunpeng920
    1f3daf672a13 mmc: sdhci-pci: Add PCI IDs for Intel LKF
    40fdaa2d149b scsi: qla2xxx: Fix use after free in bsg
    2cb8ce1d79d3 drm/vkms: fix misuse of WARN_ON
    3f67d5b6f943 scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
    48425948d2b6 drm/amd/display: fix dml prefetch validation
    cd148571eab0 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
    e81f4da43b1d drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
    0c0356ef2498 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
    888b482dbe26 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
    8d802ad28f9c power: supply: Use IRQF_ONESHOT
    bc73cb52997d media: gspca/sq905.c: fix uninitialized variable
    bec3831f5108 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
    20065ae0056a extcon: arizona: Fix various races on driver unbind
    32990455bd12 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
    22ee443ac784 power: supply: bq27xxx: fix power_avg for newer ICs
    5bc128a16333 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
    e18cee768a6e media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
    a2e71d2d797d media: ite-cir: check for receive overflow
    78829d2ec594 scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
    a27784943a96 scsi: lpfc: Fix pt2pt connection does not recover after LOGO
    52d2b4370a9d scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
    2b847dc1f662 drm/amd/display: Don't optimize bandwidth before disabling planes
    84b03026cccc drm/amd/display: Check for DSC support instead of ASIC revision
    bbf11337ded8 drm/qxl: release shadow on shutdown
    a7d964da5d17 drm: Added orientation quirk for OneGX1 Pro
    567c83104471 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
    3260434687cc platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
    229d2c12f1eb crypto: omap-aes - Fix PM reference leak on omap-aes.c
    5c411b92439d crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
    e6d5c66737a9 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
    e7138a6d6a4d phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
    349f95248bce intel_th: Consistency and off-by-one fix
    86f4ac7ca448 tty: n_gsm: check error while registering tty devices
    665dbcf35508 usb: core: hub: Fix PM reference leak in usb_port_resume()
    b8035ac2ad08 usb: musb: fix PM reference leak in musb_irq_work()
    972639ed7b90 spi: qup: fix PM reference leak in spi_qup_remove()
    0adc0e0c87ff spi: omap-100k: Fix reference leak to master
    d6aa2fcd8566 spi: dln2: Fix reference leak to master
    99569ac2e97c xhci: fix potential array out of bounds with several interrupters
    99c82db050ae xhci: check control context is valid before dereferencing it.
    6f34d2ab34ed usb: xhci-mtk: support quirk to disable usb2 lpm
    d95748f23084 perf/arm_pmu_platform: Fix error handling
    fe53f8fd64d7 tee: optee: do not check memref size on return from Secure World
    dda2bc82891c x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
    ee68dd4e502f PCI: PM: Do not read power state in pci_enable_device_flags()
    52b4b9d250d4 usb: xhci: Fix port minor revision
    c13c8354fd58 usb: dwc3: gadget: Ignore EP queue requests during bus reset
    9f3c7e0074b7 usb: gadget: f_uac1: validate input parameters
    a10fb8a1c70a usb: gadget: f_uac2: validate input parameters
    a629f6bc034a genirq/matrix: Prevent allocation counter corruption
    1b2207a19664 usb: webcam: Invalid size of Processing Unit Descriptor
    4cc65c749d58 usb: gadget: uvc: add bInterval checking for HS mode
    28da0edb56ae crypto: qat - fix unmap invalid dma address
    69f1a9702d3f crypto: api - check for ERR pointers in crypto_destroy_tfm()
    8ac79bdcc0c4 spi: ath79: remove spi-master setup and cleanup assignment
    4d6a20917fda spi: ath79: always call chipselect function
    e24b9cded4bc staging: wimax/i2400m: fix byte-order issue
    ce64f57a0fe0 bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
    4928d3b02083 fbdev: zero-fill colormap in fbcmap.c
    1c5cb86cdd7f posix-timers: Preserve return value in clock_adjtime32()
    e07d0fd8d64f intel_th: pci: Add Rocket Lake CPU support
    b6635915a3c3 btrfs: fix metadata extent leak after failure to create subvolume
    93f3339b22ba cifs: Return correct error code from smb2_get_enc_key
    e7ea8e46e3b7 irqchip/gic-v3: Do not enable irqs when handling spurious interrups
    13b0a28e6fef modules: inherit TAINT_PROPRIETARY_MODULE
    cd5a738e28ac modules: return licensing information from find_symbol
    c4698910a9af modules: rename the licence field in struct symsearch to license
    7500d4999431 modules: unexport __module_address
    ad6d414703d7 modules: unexport __module_text_address
    86de29b833e6 modules: mark each_symbol_section static
    79100b191e71 modules: mark find_symbol static
    6e38daf2e5db modules: mark ref_module static
    909a01b95120 mmc: core: Fix hanging on I/O during system suspend for removable cards
    c80524b9e418 mmc: core: Set read only for SD cards with permanent write protect bit
    42998c98ce9f mmc: core: Do a power cycle when the CMD11 fails
    1b45fcf11d28 mmc: block: Issue a cache flush only when it's enabled
    2fb68f705c56 mmc: block: Update ext_csd.cache_ctrl if it was written
    4e438ff2d967 mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
    698df555cc5f mmc: sdhci: Check for reset prior to DMA address unmap
    0d8941b9b2d3 mmc: uniphier-sd: Fix a resource leak in the remove function
    06e48bb631d3 mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
    21171ede4337 scsi: mpt3sas: Block PCI config access from userspace during reset
    77509a238547 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
    e45acaddd64b spi: spi-ti-qspi: Free DMA resources
    c57af0be7722 erofs: add unsupported inode i_format check
    49fc21a47e93 mtd: rawnand: atmel: Update ecc_stats.corrected counter
    3ef6813bb3a4 mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
    fd1772305002 ecryptfs: fix kernel panic with null dev_name
    e057164f8731 arm64: dts: mt8173: fix property typo of 'phys' in dsi node
    527edae13d24 arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
    34ae75d699fd ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
    0b641b25870f ftrace: Handle commands when closing set_ftrace_filter file
    6a4f786f8eb5 ACPI: custom_method: fix a possible memory leak
    72814a94c38a ACPI: custom_method: fix potential use-after-free issue
    b691331218d0 s390/disassembler: increase ebpf disasm buffer size

(From OE-Core rev: 4d4609d4bb709db887b5302077f89a14c05b1edc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
9d768da0f8 linux-yocto/5.10: update to v5.10.36
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    72bb632d15f2 Linux 5.10.36
    14b2801ccd9b thermal/core/fair share: Lock the thermal zone while looping over instances
    c24a20912eef thermal/drivers/cpufreq_cooling: Fix slab OOB issue
    051dd0681ce1 lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf()
    1cb02dc76f4c dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
    06141465e372 dm integrity: fix missing goto in bitmap_flush_interval error handling
    df893916b330 dm space map common: fix division bug in sm_ll_find_free_block()
    fcf763a80e0e dm persistent data: packed struct should have an aligned() attribute too
    a33614d52e97 tracing: Restructure trace_clock_global() to never block
    9e40ef5391df tracing: Map all PIDs to command lines
    ea6803ff2cd1 tools/power turbostat: Fix offset overflow issue in index converting
    b84c57762cef rsi: Use resume_noirq for SDIO
    b1c953dc853a tty: fix memory leak in vc_deallocate
    25e9c2c11735 usb: dwc2: Fix session request interrupt handler
    fce7bbcd07d5 usb: dwc3: core: Do core softreset when switch mode
    b624b32584ac usb: dwc3: gadget: Fix START_TRANSFER link state check
    f9ddfaa9703c usb: dwc3: gadget: Remove FS bInterval_m1 limitation
    8df75d1296d0 usb: gadget/function/f_fs string table fix for multiple languages
    ba8ce683076e usb: gadget: Fix double free of device descriptor pointers
    f12c5cca65f7 usb: gadget: dummy_hcd: fix gpf in gadget_setup
    678e76bccee4 media: venus: hfi_parser: Don't initialize parser on v1
    5d0f6f5251a3 media: v4l2-ctrls: fix reference to freed memory
    4121def7df29 media: staging/intel-ipu3: Fix race condition during set_fmt
    c6b81b897f6f media: staging/intel-ipu3: Fix set_fmt error handling
    517f6f570566 media: staging/intel-ipu3: Fix memory leak in imu_fmt
    8acb13189dae media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
    a5e9ae5a22b0 media: dvb-usb: Fix use-after-free access
    43263fd43083 media: dvbdev: Fix memory leak in dvb_media_device_free()
    378a016271ba ext4: Fix occasional generic/418 failure
    133e83b5b3b3 ext4: allow the dax flag to be set and cleared on inline directories
    72447c925ea9 ext4: fix error return code in ext4_fc_perform_commit()
    bf4ba04f0161 ext4: fix ext4_error_err save negative errno into superblock
    12905cf9e5c4 ext4: fix error code in ext4_commit_super
    7e9298f4d139 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
    098b257563b9 ext4: fix check to prevent false positive report of incorrect used inodes
    346190959f97 ext4: annotate data race in jbd2_journal_dirty_metadata()
    9aca313726cb ext4: annotate data race in start_this_handle()
    a27aad321751 kbuild: update config_data.gz only when the content of .config is changed
    3aec683ee79b x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
    d19a456acaec futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI
    2543329485e2 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
    d35c4c959eb4 smb3: do not attempt multichannel to server which does not support it
    796b82637528 smb3: when mounting with multichannel include it in requested capabilities
    5781c9df77a3 jffs2: check the validity of dstlen in jffs2_zlib_compress()
    54708651bc1e Fix misc new gcc warnings
    f37b9c142e1c security: commoncap: fix -Wstringop-overread warning
    bf2b941d0a6f sfc: farch: fix TX queue lookup in TX event handling
    fb791572d674 sfc: farch: fix TX queue lookup in TX flush done handling
    11e3ff7e164a exfat: fix erroneous discard when clear cluster bit
    1c525c265668 fuse: fix write deadlock
    0cd2d2577a98 dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
    661061a45e32 md/raid1: properly indicate failure when ending a failed write request
    015cc7ad58d0 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
    0ba942cbf52b crypto: arm/curve25519 - Move '.fpu' after '.arch'
    c9adb76c712c tpm: vtpm_proxy: Avoid reading host log when using a virtual device
    60a01ecc9f68 tpm: efi: Use local variable for calculating final log size
    4a63b2438a93 intel_th: pci: Add Alder Lake-M support
    34ceafa62f49 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
    0bdcaebb1225 powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR
    f2aa64979e11 powerpc/kexec_file: Use current CPU info while setting up FDT
    481fee8295ab powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
    293c30ce25e0 powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors
    643243e31868 jffs2: Hook up splice_write callback
    72c282b10951 jffs2: Fix kasan slab-out-of-bounds problem
    072f787e8798 Input: ili210x - add missing negation for touch indication on ili210x
    2fafe7d5047f NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
    334165d9fb69 NFS: Don't discard pNFS layout segments that are marked for return
    96fa26b74cdc NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
    e0f2d86481ea ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
    a1478374b0bd openvswitch: fix stack OOB read while fragmenting IPv4 packets
    4248f4649bf3 mlxsw: spectrum_mr: Update egress RIF list before route's action
    9aa4602237d5 f2fs: fix to avoid out-of-bounds memory access
    39624749c52d f2fs: fix error handling in f2fs_end_enable_verity()
    50b0c0c3385d ubifs: Only check replay with inode type to judge if inode linked
    5a876a46d7b7 kcsan, debugfs: Move debugfs file creation out of early init
    d19555ff225d virtiofs: fix memory leak in virtio_fs_probe()
    1b41d4e5aa75 fs: fix reporting supported extra file attributes for statx()
    dc4b67baba3b Makefile: Move -Wno-unused-but-set-variable out of GCC only block
    0f9055936668 arm64/vdso: Discard .note.gnu.property sections in vDSO
    1d852d6bb4d4 btrfs: fix race when picking most recent mod log operation for an old root
    b24f0e381036 tools/power/turbostat: Fix turbostat for AMD Zen CPUs
    d1ca3d2c4fd5 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
    a9d0f7c14789 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
    3c8a599bc951 ALSA: hda/realtek - Headset Mic issue on HP platform
    871234a6ad4c ALSA: hda/realtek: fix mic boost on Intel NUC 8
    13ff604c79a0 ALSA: hda/realtek: GA503 use same quirks as GA401
    970fbbee55bc ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7
    12fea3cb2277 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
    ad7736cebf4d ALSA: usb-audio: Explicitly set up the clock selector
    cc427a507f29 ALSA: sb: Fix two use after free in snd_sb_qsound_build
    1ce8212e80f9 ALSA: hda/conexant: Re-order CX5066 quirk table entries
    9b7388931fbb ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
    443467bd6240 power: supply: cpcap-battery: fix invalid usage of list cursor
    a15f68a5d55c sched,psi: Handle potential task count underflow bugs more gracefully
    a32a2d831de0 s390/archrandom: add parameter check for s390_arch_random_generate
    338a87230228 block/rnbd-clt: Fix missing a memory free when unloading the module
    ae7fe4794da2 sched,fair: Alternative sched_slice()
    94902ee2996a perf: Rework perf_event_exit_event()
    2c4de79e9a09 scsi: libfc: Fix a format specifier
    97a81d4051c3 mfd: arizona: Fix rumtime PM imbalance on error
    14c7e3f5bed5 mfd: da9063: Support SMBus and I2C mode
    d7ec1dab6be7 mfd: intel-m10-bmc: Fix the register access range
    c8fe9ef530e9 scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
    cc42ea42e250 scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
    1ac2b3720f61 scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
    56488df9f4bc drm/amdgpu: fix NULL pointer dereference
    d721702f8a82 drm/amd/display: Try YCbCr420 color when YCbCr444 fails
    f26f33a40952 amdgpu: avoid incorrect %hu format string
    a98a90048853 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
    081cec78467f drm/amd/display: Fix UBSAN: shift-out-of-bounds warning
    cc6215d94de9 drm/amd/display: Fix debugfs link_settings entry
    bcefa89b3e48 drm/radeon/ttm: Fix memory leak userptr pages
    14637a8dfe4f drm/amdgpu/ttm: Fix memory leak userptr pages
    6e4ae9b0eb23 drm/msm/mdp5: Do not multiply vclk line count by 100
    79f701ec9efa drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
    2f5f4cce496e sched/fair: Ignore percpu threads for imbalance pulls
    fded2096b153 media: gscpa/stv06xx: fix memory leak
    f8f2b7ebe03a media: dvb-usb: fix memory leak in dvb_usb_adapter_init
    1b61ad26af55 media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming
    810cf54025b7 media: platform: sti: Fix runtime PM imbalance in regs_show
    67a97525dd6e media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
    c8e7e6e1780c media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
    3f9e0eb06258 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
    651ad9e04f75 media: adv7604: fix possible use-after-free in adv76xx_remove()
    8d3ae83d6344 media: tc358743: fix possible use-after-free in tc358743_remove()
    a931c5791b5e power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
    ccb098c053dc power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
    932329941ca8 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
    573bbb6f80f1 drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver
    4066456bb2de media: vivid: update EDID
    6fef73a039da media: em28xx: fix memory leak
    ed7ab208cc2e scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
    486e974358e7 scsi: smartpqi: Add new PCI IDs
    c3187412d9c7 scsi: smartpqi: Correct request leakage during reset operations
    bc05560dd756 scsi: smartpqi: Use host-wide tag space
    dc655d743c2b power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce
    a669817a3384 selftests/resctrl: Fix checking for < 0 for unsigned values
    726d3185b89a selftests/resctrl: Fix incorrect parsing of iMC counters
    19eaad1400ea selftests/resctrl: Use resctrl/info for feature detection
    0ccead50c386 selftests/resctrl: Fix missing options "-n" and "-p"
    cd29eef12771 selftests/resctrl: Clean up resctrl features check
    6ef95f0b80ec selftests/resctrl: Fix compilation issues for other global variables
    cf99daf7c3a2 selftests/resctrl: Fix compilation issues for global variables
    078d3d75dd4c selftests/resctrl: Enable gcc checks to detect buffer overflows
    9ec74da2ac4c nvmet: return proper error code from discovery ctrl
    7f9757005cf5 drm/komeda: Fix bit check to import to value of proper type
    5e8b58e27ea8 ata: ahci: Disable SXS for Hisilicon Kunpeng920
    c753c1a77e7a mmc: sdhci-brcmstb: Remove CQE quirk
    fdd04d1c8336 mmc: sdhci-pci: Add PCI IDs for Intel LKF
    79315ebff432 mmc: sdhci-esdhc-imx: validate pinctrl before use it
    47ac226199f0 scsi: qla2xxx: Fix use after free in bsg
    1d7935fd022d drm/vkms: fix misuse of WARN_ON
    57fa6a6a998c scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
    298778681c10 drm/amd/display: fix dml prefetch validation
    dd5d6042e5d2 drm/amd/display: DCHUB underflow counter increasing in some scenarios
    9cc76f29b9e5 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
    729b92e68b8e drm/amd/pm: fix workload mismatch on vega10
    7cb855dfe5f0 drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
    1874b0ef1426 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
    7b3eb98a3ef4 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
    61c1ddd29f87 backlight: qcom-wled: Fix FSC update issue for WLED5
    918a45b65365 backlight: qcom-wled: Use sink_addr for sync toggle
    983d10e59fb4 power: supply: Use IRQF_ONESHOT
    80ba39ec7cc9 media: gspca/sq905.c: fix uninitialized variable
    6a3edc1a5e17 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
    087c2bffb4e9 extcon: arizona: Fix various races on driver unbind
    b7d2e5097f18 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
    8ff0d8a0904b power: supply: bq27xxx: fix power_avg for newer ICs
    7bb783ec9e0e atomisp: don't let it go past pipes array
    12b4b2855024 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
    f3dd6c47c493 media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
    b5261590f309 media: ite-cir: check for receive overflow
    3a2270dd3f09 scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
    09a27d662006 kvfree_rcu: Use same set of GFP flags as does single-argument
    661af9371c32 sched/pelt: Fix task util_est update filtering
    b168fffa3821 drm/amdgpu: Fix some unload driver issues
    5b62053e762c scsi: lpfc: Fix pt2pt connection does not recover after LOGO
    7382825b068e scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
    b814402fdf37 drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue
    500ec98998c2 drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work
    bd9477319714 drm/amd/display: Don't optimize bandwidth before disabling planes
    6b2132f50d9f drm/amd/display: Check for DSC support instead of ASIC revision
    01e03a661872 drm/ast: fix memory leak when unload the driver
    100e35484682 drm/amd/display: changing sr exit latency
    2c518667f953 drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check
    6f64be8f5211 drm/qxl: release shadow on shutdown
    423fb866b3fc drm/qxl: do not run release if qxl failed to init
    6228456ceb1a drm: Added orientation quirk for OneGX1 Pro
    9c60c881d662 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
    f32b84d7c977 btrfs: do proper error handling in btrfs_update_reloc_root
    224c654a2eca btrfs: do proper error handling in create_reloc_root
    c5aa9ea54a00 spi: sync up initial chipselect state
    b82e8f0bb028 platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
    5d60792d1292 crypto: omap-aes - Fix PM reference leak on omap-aes.c
    92894b185321 crypto: sa2ul - Fix PM reference leak in sa_ul_probe()
    4e7ae0cfaca9 crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
    8a090d492f70 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
    836671775a6e crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
    2264965f576f crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
    a16162a17417 phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
    df9105950755 intel_th: Consistency and off-by-one fix
    b549cc7c9ca2 tty: n_gsm: check error while registering tty devices
    8f7cdbbf61f9 usb: dwc3: gadget: Check for disabled LPM quirk
    2946f95356cc usb: core: hub: Fix PM reference leak in usb_port_resume()
    e82da9b21fed usb: musb: fix PM reference leak in musb_irq_work()
    015f3f25213e usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove()
    0e73535a496c spi: qup: fix PM reference leak in spi_qup_remove()
    75e2b4621137 spi: omap-100k: Fix reference leak to master
    517e99f22842 spi: dln2: Fix reference leak to master
    4ddfac16b5c7 platform/x86: ISST: Account for increased timeout in some cases
    bc900a7ccdd4 tools/power/x86/intel-speed-select: Increase string size
    125b3590d1fb ARM: dts: at91: change the key code of the gpio key
    2ed4d587539e bus: mhi: core: Clear context for stopped channels from remove()
    3737cf191a80 xhci: fix potential array out of bounds with several interrupters
    98599e1045c2 xhci: check control context is valid before dereferencing it.
    2b195c32bccd xhci: check port array allocation was successful before dereferencing it
    b52b1b8c480c fpga: dfl: pci: add DID for D5005 PAC cards
    e22fd531518d usb: xhci-mtk: support quirk to disable usb2 lpm
    5c22421fb35f random: initialize ChaCha20 constants with correct endianness
    2d78ede60615 perf/arm_pmu_platform: Fix error handling
    167fecaa4311 perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors
    64d579453bd6 soundwire: cadence: only prepare attached devices on clock stop
    9584ce366cc9 tee: optee: do not check memref size on return from Secure World
    e5da8b37ce34 arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on
    187c001c492c soc/tegra: pmc: Fix completion of power-gate toggling
    bc24381f5768 efi/libstub: Add $(CLANG_FLAGS) to x86 flags
    8829b6ccf49f x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
    fdc9c3cff9e2 x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
    af79dc5ad974 ARM: dts: ux500: Fix up TVK R3 sensors
    3f571ae706da ARM: dts: BCM5301X: fix "reg" formatting in /memory node
    f38f972e14f1 kselftest/arm64: mte: Fix MTE feature detection
    d16749988d09 PCI: PM: Do not read power state in pci_enable_device_flags()
    d863389e9f2e ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node
    d9a1f62b03da kselftest/arm64: mte: Fix compilation with native compiler
    173ab4bb8cbf usb: xhci: Fix port minor revision
    45f879b29da7 usb: dwc3: gadget: Ignore EP queue requests during bus reset
    85eb84bd818f usb: gadget: f_uac1: validate input parameters
    f63390de9b43 usb: gadget: f_uac2: validate input parameters
    df7452f03b7f genirq/matrix: Prevent allocation counter corruption
    bde50f19ba24 crypto: hisilicon/sec - fixes a printing error
    6a6273a65fcd x86/sev: Do not require Hypervisor CPUID bit for SEV guests
    ba637773a9f9 usb: webcam: Invalid size of Processing Unit Descriptor
    930d586646cf usb: gadget: uvc: add bInterval checking for HS mode
    6202e708f303 crypto: qat - fix unmap invalid dma address
    92f333793a78 crypto: api - check for ERR pointers in crypto_destroy_tfm()
    298a44f38171 bus: mhi: core: Destroy SBL devices when moving to mission mode
    2e40d8cd3db5 spi: ath79: remove spi-master setup and cleanup assignment
    91629921cef9 spi: ath79: always call chipselect function
    40e02e167816 staging: wimax/i2400m: fix byte-order issue
    e160833c9fdf bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
    6af796b4ac45 cpuidle: tegra: Fix C7 idling state on Tegra114
    6f85f0497274 fbdev: zero-fill colormap in fbcmap.c
    af830b27c34d posix-timers: Preserve return value in clock_adjtime32()
    a4794be7b00b btrfs: fix race between transaction aborts and fsyncs leading to use-after-free
    af835665ddc9 intel_th: pci: Add Rocket Lake CPU support
    97f30747b22c btrfs: fix metadata extent leak after failure to create subvolume
    0c48349a6d41 x86/build: Disable HIGHMEM64G selection for M486SX
    dba16ca6f347 btrfs: handle remount to no compress during compression
    5f2adf84624e smb2: fix use-after-free in smb2_ioctl_query_info()
    8a90058752e0 cifs: detect dead connections only when echoes are enabled.
    23d7b4a8f77a cifs: fix out-of-bound memory access when calling smb3_notify() at mount point
    aaa0faa5c28a cifs: Return correct error code from smb2_get_enc_key
    7be4db5c2b59 irqchip/gic-v3: Do not enable irqs when handling spurious interrups
    44faf03f56b8 mmc: core: Fix hanging on I/O during system suspend for removable cards
    886da99e8fc4 mmc: core: Set read only for SD cards with permanent write protect bit
    140f225218cd mmc: core: Do a power cycle when the CMD11 fails
    20d6f231f8f1 mmc: block: Issue a cache flush only when it's enabled
    b1fba87e60bc mmc: block: Update ext_csd.cache_ctrl if it was written
    cdc615acade4 mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit
    6c43290972ed mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
    01db7cb746f0 mmc: sdhci: Check for reset prior to DMA address unmap
    25ac6ce65f1a mmc: uniphier-sd: Fix a resource leak in the remove function
    83e9e22ba93a mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
    b7a1577a1a79 scsi: mpt3sas: Block PCI config access from userspace during reset
    702cdaa2c628 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
    f1cbba5ea75b spi: spi-ti-qspi: Free DMA resources
    421f24114c64 spi: stm32-qspi: fix pm_runtime usage_count counter
    dbaf435ddf97 erofs: add unsupported inode i_format check
    34ec706bf0b7 mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
    706e60c19237 mtd: rawnand: atmel: Update ecc_stats.corrected counter
    907452b3b6a6 mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
    cb5305ac5bac Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
    2e41cc10660e mtd: spi-nor: core: Fix an issue of releasing resources during read/write
    4c44c136f2fa fs/epoll: restore waking from ep_done_scan()
    6b5aeb69bb9f ecryptfs: fix kernel panic with null dev_name
    3ad1fb97619b arm64: dts: mt8173: fix property typo of 'phys' in dsi node
    6c2f97f3887f arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
    011b9e1c2a18 ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
    634684d79733 ftrace: Handle commands when closing set_ftrace_filter file
    d11fdbee28af ACPI: custom_method: fix a possible memory leak
    62dc2440ebb5 ACPI: custom_method: fix potential use-after-free issue
    58a762a7f3be tpm: acpi: Check eventlog signature before using it
    3b8b6399666a vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
    026499a9c2e0 s390/zcrypt: fix zcard and zqueue hot-unplug memleak
    e534a4b139a8 s390/disassembler: increase ebpf disasm buffer size
    90402b6b45f3 dyndbg: fix parsing file query without a line-range suffix
    ed9cfd60c787 nitro_enclaves: Fix stale file descriptors on failed usercopy
    a1d2bd164c1c bus: mhi: core: Sanity check values from remote device before use
    bcb80329e815 bus: mhi: core: Clear configuration from channel context during reset
    542fd3e4fde6 bus: mhi: core: Fix check for syserr at power_up

(From OE-Core rev: 86bac399136de151c2b33e715fd8d810707c431c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
4dc1b5240e linux-yocto/5.10: ktypes/standard: disable obsolete crypto options by default
Integrating the following commit(s) to linux-yocto/5.10.:

    ktypes/standard: disable obsolete crypto options by default

    CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE is on by default, but really
    shouldn't be on in our kernels for a safe set of baseline options.

    This is almost never used, so we disable it by default. If something
    needs it, they can turn it on in a board specific config.

(From OE-Core rev: f29be437290a960decdc2d8be8e505e8179c2f58)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
086230f08a linux-yocto/5.4: update to v5.4.117
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    b5dbcd05792a Linux 5.4.117
    0ee3bfc2c31e vfio: Depend on MMU
    b246759284d6 perf/core: Fix unconditional security_locked_down() call
    a1e6a0d1e6cf ovl: allow upperdir inside lowerdir
    8198962021fd scsi: ufs: Unlock on a couple error paths
    91aa2644a3ab platform/x86: thinkpad_acpi: Correct thermal sensor allocation
    164f74391822 USB: Add reset-resume quirk for WD19's Realtek Hub
    5922dfc42ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
    314192f055d9 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
    6cede11149bf perf ftrace: Fix access to pid in array when setting a pid filter
    ad4659935e11 perf data: Fix error return code in perf_data__create_dir()
    cbc6b467610c iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
    c7166a529e2b avoid __memcat_p link failure
    8ba25a9ef9b9 bpf: Fix leakage of uninitialized bpf stack under speculation
    53e0db429b37 bpf: Fix masking negation logic upon negative dst register
    b0c8fe7ef797 iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
    43b515c52942 igb: Enable RSS for Intel I211 Ethernet Controller
    354520d3ea81 net: usb: ax88179_178a: initialize local variables before use
    55714a57f369 ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
    b3041510f0fc ACPI: tables: x86: Reserve memory occupied by ACPI tables
    91b08c5319a5 mips: Do not include hi and lo in clobber list for R6

(From OE-Core rev: 0bb2a057ed02b94e6f12b0508b5d7f4a535b1ca0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
f94bc9ea76 linux-yocto/5.10: update to v5.10.35
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    f53a3a480862 Linux 5.10.35
    94c76056fc3f vfio: Depend on MMU
    4348d3b5027b perf/core: Fix unconditional security_locked_down() call
    399f9c18473c platform/x86: thinkpad_acpi: Correct thermal sensor allocation
    ac2cd82c7609 USB: Add reset-resume quirk for WD19's Realtek Hub
    d844aaa49ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
    59b3f88386b5 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
    27c1936af506 ovl: allow upperdir inside lowerdir
    71d58457a8af ovl: fix leaked dentry
    2fa0387fa2d0 nvme-pci: set min_align_mask
    f8e71c667ee1 swiotlb: respect min_align_mask
    85a5a6875ca9 swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single
    25ed8827cfbf swiotlb: refactor swiotlb_tbl_map_single
    9efd5df078a7 swiotlb: clean up swiotlb_tbl_unmap_single
    1f2ef5a0f771 swiotlb: factor out a nr_slots helper
    1bbcc985d195 swiotlb: factor out an io_tlb_offset helper
    22163a8ec863 swiotlb: add a IO_TLB_SIZE define
    2e8b3b0b8e2d driver core: add a min_align_mask field to struct device_dma_parameters
    6995512a472f tools/cgroup/slabinfo.py: updated to work on current kernel
    a7c37332afa8 perf ftrace: Fix access to pid in array when setting a pid filter
    fb4c1c2e9fd1 capabilities: require CAP_SETFCAP to map uid 0
    b571a6302a64 perf data: Fix error return code in perf_data__create_dir()
    48ec949ac979 net: qrtr: Avoid potential use after free in MHI send
    2fa15d61e4cb bpf: Fix leakage of uninitialized bpf stack under speculation
    2cfa537674cd bpf: Fix masking negation logic upon negative dst register
    a41c193d004e igb: Enable RSS for Intel I211 Ethernet Controller
    2e68890993d0 net: usb: ax88179_178a: initialize local variables before use
    d3598eb3915c netfilter: conntrack: Make global sysctls readonly in non-init netns
    c239bfc2e4ac mips: Do not include hi and lo in clobber list for R6

(From OE-Core rev: 767e6755740204981e5789b7a3066eac855605e8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
029d331448 kernel-yocto: provide debug / summary information for metadata
It was mentioned that when developing a BSP, the information about what
definition was used, or what fragments have been applied is not obvious
and requires looking at the code.

With this change, we can trigger a full summary of the meta data gathering
phase when KCONF_AUDIT_LEVEL > 0.

Sample output follows:

   NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0
   NOTE: kernel meta data summary for qemux86-64 (standard):
   NOTE:
   ======================================================================
   NOTE: BSP entry point / definition:
   /build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
   NOTE: Fragments from SRC_URI:
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
   NOTE: KERNEL_FEATURES:  features/nfsd/nfsd-enable.scc
   features/debug/printk.scc features/kernel-sample/kernel-sample.scc
   features/netfilter/netfilter.scc cfg/virtio.scc
   features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
   features/scsi/scsi-debug.scc features/gpio/mockup.scc
   features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc
   NOTE: Final scc/cfg list:
   /build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
   features/nfsd/nfsd-enable.scc features/debug/printk.scc
   features/kernel-sample/kernel-sample.scc
   features/netfilter/netfilter.scc cfg/virtio.scc
   features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
   features/scsi/scsi-debug.scc features/gpio/mockup.scc
   features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc

(From OE-Core rev: b95b11e130e91cb7c5e65f0f9a1c655bcbcbc919)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Alexander Kanavin
e897e02d21 mklibs: remove recipes and class
This is not enabled or tested by default, and has never been
ported to python 3 upstream[1], which means it doesn't work at all
with plain poky. If you need it, please put it in a separate layer
and/or modernize to work with py3.

https://salsa.debian.org/installer-team/mklibs/-/blob/master/src/mklibs

(From OE-Core rev: 908df863b419d1cad7317153101fc827e7e3a354)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Richard Purdie
c879b0797b libxcrypt-compat: upgrade 4.4.19 -> 4.4.20
(From OE-Core rev: d7eb1125e974fddd43062665bd5eb29f352832dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Ross Burton
b96c342fbd rpm: turn Berkeley DB hard dependency into PACKAGECONFIG
In the future we hope to switch to sqlite instead of Berkeley DB, so
prepare for this by adding an (enabled by default) PACKAGECONFIG for
Berkeley DB.

(From OE-Core rev: 365f0804a0726fe4be9eb7ef3515fea2dd38bef1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Ross Burton
d54f9cf4cf libsolv: add missing db dependency
The RPM option currently enables ENABLE_RPMDB_BDB which means libsolv
depends on db.

(From OE-Core rev: 8d6be1b9914186bca2552ae03bf9bd35ecbffeec)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Michael Halstead
ed2d99203d releases: update to include 3.2.4
Adding 3.2.4 to documentation switcher and release list.

(From yocto-docs rev: b24cddff0f1367360441e3f9ff59cbed77da28ad)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:53:08 +01:00
Ross Burton
3a461e071e cups: whitelist CVE-2021-25317
This CVE relates to bad ownership of /var/log/cups, which we don't have.

(From OE-Core rev: 0792312f3637ec160d2ef90781a8cb1f75b84940)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Robert P. J. Day
da52dce440 bitbake.conf: alphabetize contents of ASSUME_PROVIDED
Alphabetical order is always good.

(From OE-Core rev: 338834153ec2042fbe256b598753ffe492221cc4)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
c206f7e984 wpebackend-fdo: upgrade 1.8.3 -> 1.8.4
(From OE-Core rev: 304cb97053eb4593a37ad3282594747b5e601bee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
169f863cf3 shaderc: upgrade 2020.5 -> 2021.0
(From OE-Core rev: 9ff9536efdc4e5cc7c9934ab739bb7a75b55fb29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
709ff9bd1c wayland-protocols: upgrade 1.20 -> 1.21
(From OE-Core rev: 590fd78550a1754ab3ea0c64510601025c13436c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
16e8c05a63 sqlite3: upgrade 3.35.3 -> 3.35.5
(From OE-Core rev: a7480b206848df56fb64d9bfec9d4cdffa16efea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
7447735d6f mpg123: upgrade 1.26.5 -> 1.27.2
(From OE-Core rev: 769647f1bc857ab03c1740ae24f020ed3ca3522a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
5e3580e1e1 diffoscope: upgrade 172 -> 175
(From OE-Core rev: 7b6ace9394aef54025744bdf187166049ac17b31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
a642a9a1e8 spirv-tools: upgrade 2020.7 -> 2021.1
(From OE-Core rev: 160c3c063450356738198cd2f13f9abd87bf2a93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
0bb620b18a libxkbcommon: upgrade 1.2.1 -> 1.3.0
(From OE-Core rev: a41f88496d99251ea88cf93e08f233b10580eaab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
0e9f80ed55 hdparm: upgrade 9.61 -> 9.62
(From OE-Core rev: c2270c807c4628f0abddea0a4c039acaa4b1cf67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
9ca6a18e04 zstd: upgrade 1.4.9 -> 1.5.0
(From OE-Core rev: 6de028400650c1a8f6320c46d3b191bccdfad331)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
c4dacef328 libinput: upgrade 1.17.1 -> 1.17.2
(From OE-Core rev: a59063cfb23132ee5a110f1cd84cd43f8b8eea41)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
726ccae31f libtirpc: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 041c67f8366b41675bf070e0102ed04563bbf8c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
cc5c4860fe less: upgrade 581 -> 586
(From OE-Core rev: 69b5b82498a00217a55a3781d636cdd3e280586b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
101dd81a62 stress-ng: upgrade 0.12.06 -> 0.12.08
(From OE-Core rev: 177ca64feee973b5d60c5601ba03042a6f073204)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
600e9b6ad0 sudo: upgrade 1.9.6p1 -> 1.9.7
(From OE-Core rev: a1698056f5548285d87ebe25052c48c701f89143)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
9ad80efd2a gtk+3: upgrade 3.24.28 -> 3.24.29
(From OE-Core rev: 1933012b19849befcf09b90940f00468f0da1cec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
29c0c3da49 python3-numpy: upgrade 1.20.2 -> 1.20.3
(From OE-Core rev: 759bd9cfcf753c4ef2c20411aee0301ac8b45469)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
e6b682534f python3-hypothesis: upgrade 6.9.1 -> 6.12.0
(From OE-Core rev: 4499ec65592df456c60d7f0ff690a50ca55c9c01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
7965967d09 btrfs-tools: upgrade 5.12 -> 5.12.1
(From OE-Core rev: f75c02e3e067473d85b4b57d36250098ddb99dbd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
9be8314df2 libjpeg-turbo: upgrade 2.0.6 -> 2.1.0
License changes were from a new author entry and changes to copyrght
years, no license change.

(From OE-Core rev: e2ddecb7ca7b35259fcce0052b40366379047935)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
b34e16f839 vala: upgrade 0.52.2 -> 0.52.3
(From OE-Core rev: 8416c85539ac7ac4e13e873773f00e67304aacfa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
c3a541d23d bind: upgrade 9.16.13 -> 9.16.15
(From OE-Core rev: e938c7041a651071a995ceeb475ed4eb8fb8949a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
016af160c1 python3-git: upgrade 3.1.14 -> 3.1.17
(From OE-Core rev: b56ef3af9d6afdb2208b4d3d1813241e77fe2fd8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:42:59 +01:00
Richard Purdie
0f60b3a7aa libnss-mdns: upgrade 0.14.1 -> 0.15
(From OE-Core rev: bef3740cfd146921d0dd8789246573e68081c80a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:42:59 +01:00
Richard Purdie
74267b69b3 ofono: upgrade 1.31 -> 1.32
(From OE-Core rev: c0e635c85b2d1eedcc515a89e949b8c9e43d8881)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:42:58 +01:00
Ross Burton
fb26a7c9b8 meson: update patch status
(From OE-Core rev: 87f0b45a307bb47df5a68d6649fe5625f2dd0775)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-17 09:53:15 +01:00
Richard Purdie
09a5d1e444 python3-jinja2: Upgrade 2.11.3 -> 3.0.0
(From OE-Core rev: 1e520a7d0602059101646f24e7e347e4117697e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
6e58a59f31 python3-markupsafe: Upgrade 1.1.1 -> 2.0.0
(From OE-Core rev: def6184a8f24fe8965db77511bbc65edb38942c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
d9aa32dbf9 qemu: Upgrade 5.2.0 -> 6.0.0
Building without PIE support seems broken upstream, enable it by default
to match the configuration others evidently use.

Tweak git submodule option to match upstream.

Drop backported/merged patches, refresh others.

(From OE-Core rev: ede1b86e663f1cafccc8aa8c35fa13ebd3f55d11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
a9e49336dc lttng-ust: Upgrade 2.12.1 -> 2.12.2
(From OE-Core rev: 03b9c9ab5e74c4e825a023e54fe8891f6f6cc809)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Bruce Ashfield
4f7ea3fef7 lttng-modules: update to v2.12.6
To support building against v5.12+ and v5.13+ kernels, bumping to the
v2.12.6 lttng-release.

We drop the previously backported patches, and bring in the following
commits:

   0d8e4ab9 Version 2.12.6
   78f56ae3 fix: adjust ranges for RHEL 8.2 and 8.3
   4c996ea7 Disable block rwbs bitwise enum in default build
   4ac46085 Disable sched_switch bitwise enum in default build
   5e22c27b Add experimental bitwise enum config option
   937d307e Add defaults to Kconfig options
   4a114d43 Sync `show_inode_state()` macro with upstream stable kernels
   3bd6ac3e fix: block: remove disk_part_iter (v5.12)
   8bbb8c9d Fix: Backport of "Fix: increment buffer offset when failing to copy from user-space"
   30cddf69 Fix: increment buffer offset when failing to copy from user-space
   4733b9ab Sync `show_inode_state()` macro with Ubuntu 4.15 kernel
   ff21ec48 fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12)
   b2b02c29 Set 'stable-2.12' branch in git review config
   00b42dbf fix backport: block: add a disk_uevent helper (v5.12)
   771ff089 fix: Adjust ranges for Ubuntu 5.4.0-67 kernel
   d8933959 fix: block: add a disk_uevent helper (v5.12)
   71034df1 Fix: properly compare type enumeration
   4d879d23 compiler warning cleanup: is_signed_type: compare -1 to 1
   fead3a9c Fix: bytecode linker: validate event and field array/sequence encoding
   92cc3e7f Fix: kretprobe: null ptr deref on session destroy
   49c603ef fix: mm, tracing: record slab name for kmem_cache_free() (v5.12)
   23a2f61f Fix: filter interpreter early-exits on uninitialized value
   b3fdf78b Fix: memory leaks on event destroy

(From OE-Core rev: c2f027b8e2f842915a0ffdfd6c2c0597f3b02bce)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Bruce Ashfield
f98ea33f63 lttng-modules: update devupstream to v2.13-rc
To support builds against v5.13+ kernels, bumping the devupstream
to 2.13 and the 2.13-rc series.

Along with the SRCREV update, a port of the existing CONFIG_TRACEPOINTS
patch from the main Makefile to src/Kbuild is done.

The LICENSE file was part of commit [Cleanup: Move headers from toplevel
to include/lttng/], so we adjust the checksum to the new fie contents.

(From OE-Core rev: 18bf7b0eafc5331b0b33c0ae777374e24df741b8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Mike Crowe
7fedc98498 libnotify: Make gtk+3 dependency optional
libnotify only requires gtk+3 for its tests. Let's disable them by
default and only enable them if "tests" is in PACKAGECONFIG. If gtk+3 is
not available then we need to declare the dependency on gdk-pixbuf
explicitly.

It looks like the tests genuinely do need some sort of desktop
environment to run, so let's maintain the ANY_OF_DISTRO_FEATURES check
added back in 3edf08b38b0af93cef0933b061349264dc86d54c.

(From OE-Core rev: da15d7cf3e6f31c92232f8dd7272ea9ee41656db)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
11222ce6df sstate: Handle manifest 'corruption' issue
Under certain build patterns, warnings about missing manifests can appear. These
are real issues where the manifest was removed and shouldn't have been.

Martin Jansa was able to find a reproducer of:

MACHINE=qemux86 bitbake zlib-native
echo 'PR = "r1"' >> meta/recipes-core/zlib/zlib_1.2.11.bb
MACHINE=qemux86-64 bitbake zlib-native
MACHINE=qemux86 bitbake zlib-native
<the zlib-native manifest is now removed along with the sysroot-components contents>

The code maintains a per machine list of stamps but a per PACAGE_ARCH list of
stamp/manifest/workdir mappings. The latter is only appended to for speed with
the assumption that once stamps are gone, the code wouldn't trigger.

The code only ever appends to the mapping list (for speed/efficency under lock)
meaning that multiple entries can result where the stamp/workdir differs due to
version changes but the manifest remains the same.

By switching MACHINE part way through the build, the older stamp is referenced
and the manifest is incorrectly removed as it matches an now obsolete entry in
the mapping file.

There are two possible fixes, one is to rewrite the mapping file every time
which means adding regexs, iterating and generally complicating that code. The
second option is to only use the last mapping entry in the file for a given
manifest and ignore any earlier ones. This patch implments the latter.

Also drop the stale entries if we are rewriting it.

(From OE-Core rev: 63da9a4f889c5b0e41bc8ec08abe0acea1546479)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
zhengruoqin
c33de3dbaf sysklogd: upgrade 2.2.2 -> 2.2.3
(From OE-Core rev: a366a457bf0c990df4bb97cfc5477dbc75eaff65)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
zhengruoqin
b05c3637ce rpcbind: upgrade 1.2.5 -> 1.2.6
refresh rpcbind_add_option_to_fix_port_number.patch

(From OE-Core rev: 11bbe1c86d5d3e446fe5ea4028bc8b3f21b98587)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
zhengruoqin
f1b7f662c5 rng-tools: upgrade 6.11 -> 6.12
(From OE-Core rev: 5af1d25d9621020d89c1193e0f95fefa1be85642)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
8c0ee9a7ed vulkan-loader: upgrade 1.2.170.0 -> 1.2.176.0
(From OE-Core rev: b87917335c252a38ea63f999b9d3611ac079104b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
2b79b15ef3 vulkan-tools: upgrade 1.2.170.0 -> 1.2.176.0
(From OE-Core rev: 8c864d0711a39548b69c7ea278f2d978651925e7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
ae2ad4d57c vulkan-headers: upgrade 1.2.170.0 -> 1.2.176.0
(From OE-Core rev: 4ebbb906227f31548e708bd01c54407f3221c63e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
4df55c95a5 vulkan-samples: update to latest revision
(From OE-Core rev: e59138cc1ee028e19b00ced57da33ab348c367cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
f8019df2b9 python3-six: upgrade 1.15.0 -> 1.16.0
(From OE-Core rev: c27ede9d77edc0a0ca71707642f19e43fe9c4e7d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
eb83c19d97 python3-attrs: upgrade 20.3.0 -> 21.2.0
(From OE-Core rev: f6e624046afbbf6853c7fe409f77ecd2ab802f21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Armin Kuster
ed2e3b739a bitbake: hashserver/client.py: drop unused imports
(Bitbake rev: 9dc77266085c605b108641a9d76ac4dbdc064c34)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:57 +01:00
Armin Kuster
c0c16809ef bitbake: hashserv/server.py: drop unused imports
remove unused vars.

(Bitbake rev: 3287d28a506f67abd192799e61ef28e74ce7002d)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:57 +01:00
Alexander Kanavin
37792f1410 bitbake: fetch2/wget: when checking latest versions, consider all numerical directories
Previously the regex was maching x.y, but wasn't matching x, which is a problem
e.g. here:
https://download.gnome.org/sources/epiphany/
(the new gnome version scheme adds 40-series at the end).

(Bitbake rev: c03101576f447263ea38e8464210d3a3a2c27226)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:57 +01:00
Mike Crowe
bac39de14e npm.bbclass: Allow nodedir to be overridden by NPM_NODEDIR
Node modules may need to be built against multiple Node
versions. Setting nodedir in the NPM configuration stops older ways of
doing this, such as setting npm_config_target and npm_config_disturl,
from working.

(From OE-Core rev: 14795ee305f3c11fcc31cc7ca815b8ff1020e29a)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
436662bc4d nativesdk-meson: correctly set cpu_family
This was a warning before, but with the patch
that turns it into an error, it needs to be properly addressed.

(From OE-Core rev: b6257f3b88e788af3ee748a8a6366aab819dce3f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
74fbe5578a qemu: backport a patch to fix meson 0.58 builds
(From OE-Core rev: fe6889ed05edf2f1e4ac7b06debd4cc43ebb9607)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
2077235f35 meson: update 0.57.2 -> 0.58.0
Rebase patches; dropped chunks (and cross-prop-default.patch)
have been removed upstream.

Move native-only patches to all-patches, as they're a pain to rebase
separately.

(From OE-Core rev: cb2a7dcc86d784cb9903f69570ddc05e23d36529)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
6b10910b47 gstreamer1.0-plugins-base: backport a patch to fix meson 0.58 builds
(From OE-Core rev: 4e509099d1a8c22e5f592e6675dabacfe910b9b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
830e634bbb meson.bbclass: split python routines into a separate class
This allows reusing them in nativesdk-meson without copy-pasting code.

(From OE-Core rev: f2715f5f2a56f9b660f9f0fe2933ec231a2dd8c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
6f8cc237bf expat: upgrade 2.2.10 -> 2.3.0
Drop 0001-Add-output-of-tests-result.patch
(difficult to rebase). I have verified that ptests
still pass, and print PASS for every test. If they
start failing we can revisit what kind of output would
be beneficial.

(From OE-Core rev: ef1a76f9c130e7efaecae15ccb1d48a03fa17b9b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
e63fd638d3 gnome: drop upstream even condition from a few recipes
They have adopted the new gnome version scheme where the distinction
is no longer:
https://lwn.net/Articles/831746/

(From OE-Core rev: 7e36fe212eb6bc9a4dbe66007837ad87d8f00a7d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
035f8548fe gdk-pixbuf: rewrite the cross-build support for tests
It was scattered over four different patches, and wasn't guarded
by a configuration option. Hopefully the new patch is acceptable
to upstream.

(From OE-Core rev: 92fc28498fcb9bdcea743961729b21b7e6c6b1fa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
wangmy
ec94923ec7 go: upgrade 1.16.3 -> 1.16.4
(From OE-Core rev: 1e280a596293976ac835b557dcaaa56972682480)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Khem Raj
fd9ae730cf npth: Check for pthread_create for including lpthread
pthread_detach() is moved into libc which means this test will fail
so check for pthead_create again

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=df65f897e9501aa5b64a5cbcb101301715f2ec2f
(From OE-Core rev: e82742849e6228f892a489bfbd02c365c4a8607e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Trevor Gamblin
b9f5a890a5 python3: upgrade 3.9.4 -> 3.9.5
Version 3.9.5 includes a fix for CVE-2021-29921.

(From OE-Core rev: be23351f97c1a7362c0ddd240a6de0cddfca1b01)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
9e130813ce avahi: disable gtk bits
This should greatly reduce dependency chains on the autobuilder;
the only affected recipe is remmina, where avahi support will be
disabled by default.

(From OE-Core rev: 5f68f2e72accecaad6210c71d7f1ffb069edf011)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:26 +01:00
Robert P. J. Day
5019cfef85 meta/lib/oe/rootfs.py: Fix typo "Restoreing" -> "Restoring"
(From OE-Core rev: 2621dbbc1181808f18ca4ae79408d0d5b557670f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:38 +01:00
Robert P. J. Day
1dfd7f9a42 image.bbclass: fix comment "pacackages" -> "packages"
(From OE-Core rev: 5c5f0d21799c2bff6875ef9fdc22d11035ea3320)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:38 +01:00
Richard Purdie
4898e857db qemu-x86: Add commandline options to improve boot
To try and help with the inermittent rcu stalls and boot issues with qemu
add some kernel commandline options commonly used with qemu instances which
were suggested may help.

(From OE-Core rev: d75cb16ecb3a55fd7631bf7720663e4b196421ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Richard Purdie
e8997d869b qemuboot-x86: Switch to IvyBridge and q35 instead of pc
Move from 1996 to 2009 by swapping machine 'pc' for 'q35'.

Also move to a CPU which is SMP capable and doesn't have tsc bugs. IvyBridge
matches what we're using on the autobuilder.

The intent here is to try and improve on some of the intermittent autobuilder
issues we're seeing. I'm told that nobody else runs with config this old
and it could well be contributing to our issues. Having reliable testing
is key to the project and justifies updating this IMO.

(From OE-Core rev: 6d9f25782bd585e89c5aaf7046266c848f1e581b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Richard Purdie
34e1bea0e8 qemu: Set SMP to 4 cpus for arm/x86 only
Only qemux86* and qemuarm* support SMP with our current configurations so
rework qemu SMP enabling to account for that and only use it on the architectures
where it works.

(From OE-Core rev: ee371325ce651cc113e43bdeb5d8986d5b84a3f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Alexander Kanavin
1584108bdc qemu: use 4 cores in qemu guests
Each of the cores is mapped to a thread on the host, this
should speed up things inside qemu which can take advantage of that.

(From OE-Core rev: 56f98d12a79585a4d4c459160f39403e05b620a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Ulrich Ölmann
64ba8fc55b local.conf.sample: fix typo
(From meta-yocto rev: 8d872236e713a4b26059039fb32e93e7b602bb6c)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:34 +01:00
Robert Joslyn
899da712ae btrfs-tools: Update to 5.12
Add PACKAGECONFIG for zoned block devices. Leave disabled by default, as
this requires a recent kernel.

License-Update: libbtrfsutil was relicensed to LGPLv2.1+: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=9e30f779e3cbf12a88ebe309ee371851fdfd3aa0

(From OE-Core rev: d10b62f54c6e0f19af02bab024680462d9e4418a)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:15 +01:00
Martin Jansa
e7ce28c8b0 binutils: backport DWARF-5 support for gold
* DWARF-5 is now used by default with gcc-11, causing
  11.1.0/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278
  collect2: error: ld returned 1 exit status
  in various projects (runc-opencontainers, libhybris, collada-dom)

* https://gcc.gnu.org/gcc-11/changes.html

  For targets that produce DWARF debugging information GCC now defaults to DWARF version 5
  (with the exception of VxWorks and Darwin/Mac OS X which default to version 2 and
  AIX which defaults to version 4). This can produce up to 25% more compact debug
  information compared to earlier versions.

  To take full advantage of DWARF version 5 GCC needs to be build against binutils version 2.35.2 or higher.
  When GCC is build against earlier versions of binutils GCC will still emit DWARF version 5 for
  most debuginfo data, but will generate version 4 debug line tables (even when explicitly given -gdwarf-5).

  The following debug information consumers can process DWARF version 5:

  GDB 8.0, or higher
  valgrind 3.17.0
  elfutils 0.172, or higher (for use with systemtap, dwarves/pahole, perf and libabigail)
  dwz 0.14
  Programs embedding libbacktrace are urged to upgrade to the version shipping with GCC 11.

  To make GCC 11 generate an older DWARF version use -g together with -gdwarf-2, -gdwarf-3 or -gdwarf-4.

(From OE-Core rev: d07d4d739ae17787017f771dd2068fda0e836722)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:15 +01:00
Ross Burton
0fc0804e4b libarchive: disable redundant libxml2 PACKAGECONFIG
An XML parser (either libxml2, or expat) is only needed by libarchive to
read/write XAR archives.  However, these also need OpenSSL enabled which
by default it is not, so XAR files were disabled and libxml2 was a build
dependency for no reason.

As XAR archives are mainly used on macOS, we can remove libxml2.

(From OE-Core rev: 363f1ee30b0e6d222943aaed8dce37a4a441a86d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Martin Jansa
1e122267fd webkitgtk: fix build without opengl in DISTRO_FEATURES
(From OE-Core rev: 3b46038685c4d319ca0c88b3519cde04d615dc2a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
5dd7fde24f avahi: Exclude CVE-2021-26720 from cve-check
Issue only affects Debian and SUSE.

(From OE-Core rev: 72522fa1a5f3b9b2855043fe6b421886d641385f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
41ccc827cf librsvg: Exclude CVE-2018-1000041 from cve-check
Issue only affects windows.

(From OE-Core rev: a90d3b056992346003d96765fc8639f5235cca55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
ac9436c81b coreutils: Exclude CVE-2016-2781 from cve-check
http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842

"Given runcon is not really a sandbox command, the advice is to use
`runcon ... setsid ...` to avoid this particular issue.

(From OE-Core rev: 2d273b5aed4a5bd509ec9c68a6f451c17ec17d0c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
b77802fb05 rpm: Exclude CVE-2021-20271 from cve-check
This is included in the release we have, it was the reason for the last rpm
point release.

(From OE-Core rev: 117feb358c81b6b852dee24268eac0a1a47c1701)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Bruce Ashfield
53ac441029 kern-tools: Kconfiglib: add support for bare 'modules' keyword
Bumping the SRCREV to pickup the following for the kern-tools:

    commit 6dd85ff178cd76851e2184b13e545f5a88d1be30 [kconfig: change
    "modules" from sub-option to first-level attribute] broke parsing
    in 5.13+ trees.

    We add the new location to the parser so we can support both
    types of module specifications.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>

Without this, the kernel configuration audit for 5.13+ errors
immediately.

The older "option modules" parsing has been left in the code, so that
older kernels continue to work as well.

(From OE-Core rev: ba39e42681e7e3c6fe82686a42a9ee4b519003f9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
944de7ea5f ovmf: Fix other reproducibility issues
When building in longer paths, the ovmf build changes in many ways. This adds a
patch addressing various causes of problems. Full details are in the patch header.

(From OE-Core rev: 9113a5815f3c682ef99fd777e35e892b2e08237f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
8e19e48f1b ovmf: Disable lto to aid reproducibility
lto tends to break reproducibility and makes ovmf near impossible to debug
reproducibility issues in. Disable it and supress the warnings that then
generates from Werror.

(From OE-Core rev: 627b6ed763eca90192203932784872b60a65fcaa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Michael Opdenacker
d4a82b30b7 manuals: reduce verbosity related to "the following" expression
(From yocto-docs rev: da9d1cfb5c084d172eff3cb10ec3631dd8266260)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Michael Opdenacker
f3540fc691 manuals: reduce verbosity with "worry about" expression
(From yocto-docs rev: 6c65f5f350cdc79a435deb20c48d861d9f4c5c14)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Daniel Wagenknecht
e145129aaa kernel-dev: document KCONFIG_MODE
(From yocto-docs rev: 12aa6f9c6af68ea03fbb056677213b00d693cf5f)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
0fc54213c2 ref-manual: delete extraneous back quote
(From yocto-docs rev: 784d39fe28436302b4df7e1ea08582d4d2f664c6)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
6afc2f5737 ref-manual: delete references to dead LSB compliance
Since LSB does not seem to be relevant these days, delete mentions of
it.

(From yocto-docs rev: 5b4354e0611253b40ad58613b910b6591493a1b4)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Drew Moseley
6591d95eb1 manuals: fix a few incorrect option specifications.
(From yocto-docs rev: b6b218de3629d1f8fb61137e8bdcf84739cfaf67)

Signed-off-by: Drew Moseley <drew@moseleynet.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
f3a66b53bb sdk-manual: various cleanups to intro.rst
Minutiae including grammar fixes, increased brevity and adding a
proper link to another SDK manual section.

(From yocto-docs rev: 21d6c6fcbae938c256da6e72d6ac8d2ca72d5bc0)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
60c081d9f8 sdk-manual: couple minor fixes in using.rst
One grammar fix, and adding two proper links to other sections.

(From yocto-docs rev: 969d4737da992e1fbca14cfbeb35bd5401698cba)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Khem Raj
c553b55a48 ffmpeg: Fix build on mips
configure is not able to decode, right options to compiler, it needs to
be set according to default tune manually. Fixes build issue on mips
e.g.

 {standard input}: Assembler messages:
| {standard input}:2162: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dmult $22,$22'
| {standard input}:2164: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsrl $5,$5,32'
| make: *** [/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/ffmpeg/4.4-r0/ffmpeg-4.4/ffbuild/common.mak:67: libavcodec/aptxenc.o] Error 1

(From OE-Core rev: b254db634fc888ae75e843c8a9108e71ffff3f77)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Alexander Kanavin
2153aa26e3 ffmpeg: update 4.3.2 -> 4.4
Drop mips64_cpu_detection.patch as upstream
has changed the code in a way that's difficult
to rebase. I have confirmed that builds on qemumip64 still
work, and the patch does not say clearly what was the
way to reproduce the failure it's aiming to address.

(From OE-Core rev: 7db3aed539044bed1c7d3cf7b91f55caed974fe2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
2d5c161021 tiff: Exclude CVE-2015-7313 from cve-check
Some fix upstream addresses the issue, it isn't clear which change this was. Our
current version doesn't have issues with the test image though so we can exclude.

(From OE-Core rev: 3874da694ae1d9de06dd003bd80705205e2b033b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
c887238347 bluez: Exclude CVE-2020-12352 CVE-2020-24490 from cve-check
These CVEs are fixed with kernel changes and don't affect the bluez recipe.

(From OE-Core rev: 658902477840ea34d414083c4c79616bf5e999a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
409df45522 ghostscript: Exclude CVE-2013-6629 from cve-check
The CVE is in the jpeg sources included with ghostscript. We use our own
external jpeg library so this doesn't affect us.

(From OE-Core rev: 8556d6a6722f21af5e6f97589bec3cbd31da206c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
4b7fae138c xinetd: Exclude CVE-2013-4342 from cve-check
We use the SUSE mirror of xinetd. The CVE fix was added to the main repo
after the latest release but is included in the version from the SUSE repo.

(From OE-Core rev: 6f587d1e1fdf8141d240160d57c9a05ff97ea510)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
fd5f1656ae cpio: Exclude CVE-2010-4226 from cve-check
Issue applies to use of cpio in SUSE/OBS, doesn't apply to us.

(From OE-Core rev: 915b38c54a7932744a9f56713d1c6bd00a789331)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
a6e8f4163c unzip: Exclude CVE-2008-0888 from cve-check
The patch mentioned as the fix for the CVE is applied to the 6.0 source
code. Zip versioning makes CPE entry changes hard.

(From OE-Core rev: 8917e5ae2bb44d017fc0155f16632c5decadb0bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
8efb104e7b openssh: Exclude CVE-2008-3844 from cve-check
CVE only applies to some distributed RHEL binaries so irrelavent to us.

(From OE-Core rev: 5d8b3ddf91050f6745a99a8abb1c3b03c35247af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
c6421254c5 bind: Exclude CVE-2019-6470 from cve-check
Issue only affects dhcpd with recent bind versions. We don't ship dhcpd anymore
so the issue doesn't affect us.

(From OE-Core rev: 30106ae676124ba3c0e496a4f19c919c8418b59b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Robert Joslyn
987b668b13 epiphany: Update to 40.1
Refresh patch and adjust version directory for new version numbering
scheme. Add new dependency on libarchive.

(From OE-Core rev: 02bce05698d905771250ab12b48d8b0e19d218cb)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alejandro Hernandez Samaniego
4ba09d6a2b baremetal-helloworld: Enable RISC-V 64 port
Add support for MACHINE=qemuriscv64.

$ runqemu nographic

KERNEL: [tmp/deploy/images/qemuriscv64/baremetal-helloworld-image-qemuriscv64.bin]
MACHINE: [qemuriscv64]
FSTYPE: [bin]

runqemu - INFO - Running tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv64

Hello OpenEmbedded on RISC-V 64!

(From OE-Core rev: 31fde82640bf0d185eab55d2cbaf663c9faae801)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alexander Kanavin
d875ba64e9 mesa: add lmsensors PACKAGECONFIG
(From OE-Core rev: 1b470a5fe7c74938cac7c83cd104ca25182af6cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alexander Kanavin
c4473061f7 powertop: update 2.13 -> 2.14
Drop configure() tweaks, none of them are needed anymore, and particularly
the ncurses tweak was changing the build in a way that is not clear
(and no one remembers why it was there in the first place).

Adjust LDFLAGS as somehow -pthread isn't there --> link failures.

(From OE-Core rev: c4982ddd71ac652f9d3b879bf31bb087500fb611)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alexander Kanavin
3127ef1b43 Revert "go: Use dl.google.com for SRC_URI"
This reverts commit 4118415d4b.

This was found to be unnecessary, and broke upstream version checks.

(From OE-Core rev: cee436d1eb94663f3604c80b6ad87292f6901498)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:03 +01:00
Richard Purdie
8dcb68f477 ovmf: Improve reproducibility by enabling prefix mapping
We want to pass ${DEBUG_PREFIX_MAP} to gcc commands and also pass in
--debug-prefix-map to nasm (we carry a patch to nasm for this). The
tools definitions are built by ovmf-native so we need to pass this in
at target build time when we know the right values.

By using determininistc file paths in the ovmf build, it removes the
opportunitity for gcc/ld to change the output binaries due to path
lengths overflowing section sizes and causing small changes in the
binary output.

This also means that if builds have reproducibility issues in future, it
becomes much easier to compare intermediate build artefacts.

(From OE-Core rev: 51f51310d6d5cced2b55bf27dbb9a5717740a206)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
20efb29a5d openssh: Exclude CVE-2007-2768 from cve-check
We don't build/use the OPIE PAM module, exclude the CVE from this recipe.

(From OE-Core rev: 3670be602f2ace24dc49e196407efec577164050)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
a087553fa5 logrotate: Exclude CVE-2011-1548,1549,1550 from cve-check
These CVEs apply to the way logrotate was installed on Gentoo, Debian
and SUSE, exclude from cve-check as they don't apply to OE.

(From OE-Core rev: 23643016f3b8794db772e333ff0b8f598571b628)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
8a6a71ea4d jquery: Exclude CVE-2007-2379 from cve-check
The CVE is non-specific and depends on the users of jquery, doesn't
make sense to have this flagged against jquery as there is nothing we can
do about it.

(From OE-Core rev: 1f82843584f6d2843c5bbd2fe5dcbc654a0fbcfb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
d2708c0b5b qemu: Exclude CVE-2018-18438 from cve-check
The issues were investigated and found not to be an issue therefore
exclude from checks.

(From OE-Core rev: ee6ee9bd489c126b99d15c1011560df2f840a6e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
ae3527372f qemu: Exclude CVE-2007-0998 from cve-check
The CVE applies to the built-in VNC server but we don't enable this by default.

(From OE-Core rev: d62b9974a5f3a0f462434ce2763c28a4b4bbcfc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
458f5d026e qemu: Exclude CVE-2017-5957 from cve-check
The CVE applies to virglrender before 0.6.0 which we don't have.

(From OE-Core rev: 9b5355375d028577de0b98e05992de6a088cb972)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Ross Burton
a8192999f0 builder: whitelist CVE-2008-4178 (a different builder)
(From OE-Core rev: 107987b342a834badfad286474b03543b4764d23)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Ross Burton
e703650fce libnotify: whitelist CVE-2013-7381 (specific to the NodeJS bindings)
(From OE-Core rev: be04484f99a5b29cc9066e350b526fc4420ad6d4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Ross Burton
cb93117edb cairo: backport patch for CVE-2020-35492
(From OE-Core rev: 0c4e6f99332ae253855708845a41fdfeb72d4c30)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
217e7c61c5 glibc: Document and whitelist CVE-2019-1010022-25
These CVEs are disputed by upstream and there is no plan to fix/address them. No
other distros are carrying patches for them. There is a patch for 1010025
however it isn't merged upstream and probably carries more risk of other bugs
than not having it.

(From OE-Core rev: b238db678083cc15313b98d2e33f83cccab03fc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
1c926417e1 grub2: Add CVE whitelist entries for issues fixed in 2.06
We're using a pre-release version of 2.06 so these issues are fixed but
continue to show up in the checks since it is pre-2.06 and the CPE
entries are "before but excluding 2.06".

Adding these will clean up CVE reports until the 2.06 release comes out.

(From OE-Core rev: 2467ab1554bee3a431636046735e8e369e865bc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Bastian Krause
4638576d10 ccache: version bump 4.2.1 -> 4.3
Instead of [1] a very similar PR [2] was merged that allows
enabling/disabling documentation builds. So drop the patch here and use
the upstream cmake option ENABLE_DOCUMENTATION instead.

[1] https://github.com/ccache/ccache/pull/844
[2] https://github.com/ccache/ccache/pull/842

(From OE-Core rev: 1eedc5f822933928ed7861350ad47ff9c096552a)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Alexander Kanavin
2809a33b74 liberation-fonts: fix upstream version check
(From OE-Core rev: dbb283b838007744e6bb1641e844ca7719fc4742)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Alexander Kanavin
9427f6f92a swig: fix upstream version check
(From OE-Core rev: 4e9f4dca48e853a794331a75200fd7450176eeb2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Martin Jansa
17535c15b7 gcc-sanitizers: Package up static hwasan files as well
* introduced with gcc-11, other hwasan files were already packaged in:
  3df4a25465 gcc-sanitizers: Package up hwasan files
  but static library was still triggering installed-vs-shipped

(From OE-Core rev: 49aec04aa8ac98545b48c41382ebf1a1c3be1118)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Yann Dirson
698fd81c55 linux-firmware: include all relevant files in -bcm4356
This currently catches the .clb_blob and .vamrs,rock960.txt, and other
.txt files may come in future upstream releases.

(From OE-Core rev: e332738a8aae0914c58b40faae8b9d7a82fd6a95)

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
zhengruoqin
c8ea2cb37d busybox: upgrade 1.33.0 -> 1.33.1
0001-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch
removed since it is included in 1.33.1

(From OE-Core rev: 544236b12a72ee5be5ef0147249ead112082b871)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
wangmy
764db5fde8 kexec-tools: upgrade 2.0.21 -> 2.0.22
(From OE-Core rev: 2c7868ef9e85a3cdd56b11cd5e876e633307a21d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
wangmy
d7323f994e ell: upgrade 0.39 -> 0.40
(From OE-Core rev: db1f0f28a0651a648cd9fd238f5e2809110ff577)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
wangmy
beac6e438f at-spi2-core: upgrade 2.40.0 -> 2.40.1
(From OE-Core rev: 7944928f86348562e4b4440e53f4201b186a3ca6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
Alexander Kanavin
a6f18016c4 ptest: add a test for orphaned ptests, and restore ones found by it
Particularly, numactl, numpy and libseccomp are disabled for now
due to failures or lack of qemu support. The rest have been verified
to pass quickly.

[RP: Fix multilib recipe handling]
(From OE-Core rev: 8bb5da87000ade519529e44181448244bd94d4f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
Richard Purdie
bb490c7ea9 puzzles: Upstream changed to main branch for development
(From OE-Core rev: 943402b25212408a4ddcfa8a146b645509e138dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-10 08:00:22 +01:00
Khem Raj
03a3fddb50 python3-markdown: Upgrade to 3.3.4
meta-python is carrying 3.3.4, once we upgrade it in core
we can safely drop it from meta-python, helps with layer-compatibility
checks

(From OE-Core rev: 88c11b0a45b3fd310288325f97c16ca2c9e0006e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Andreas Müller
caa8605d8d gstreamer1.0-plugins-good: fix build with gcc11
This fixes issues when qt plugins are enabled (which is not by default
without additional layers).

(From OE-Core rev: 25f3ff9c4ca20962994c43b741c7839b713cbfe6)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Kai Kang
4444786679 grub2.inc: remove '-O2' from CFLAGS
It fails to boot grub after upgrade grub to 2.06. According to
description in

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14367

it is introduced by a commit to fix CVE. So remove option '-O2' from
CFLAGS rather than revert the commit to avoid the failure.

[YOCTO #14367]

CC: Tony Battersby <tonyb@cybernetics.com>
(From OE-Core rev: 69805629b8f47fd46a37b7c5cc435982e2ac3d1d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Romain Naour
4523af6c1d dejagnu: needs expect at runtime
runtest return an error due to missing expect on the target.
Add expect as runtime dependency.

(From OE-Core rev: d9a3a08edc1efcbe7b02e80be98370792d3c6cc2)

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Khem Raj
3f93502b27 swig: Upgrade to 4.0.2
Drop backports and refresh patches to apply on 4.x series

(From OE-Core rev: 5c7923e79c2411a0a36e540a8b894d399ad04aa7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Peter Kjellerstedt
48c64d609b libcap: Configure Make variables correctly without a horrible hack
Occasionally, the build would fail with:

  make[2]: execvp: mkdir: Argument list too long

This turned out to be due to a hacky solution used in the recipe to
modify the Makefile, which resulted in one more $(BUILD_CFLAGS) being
added to the immediately expanded BUILD_CFLAGS Make variable each time
do_configure was executed. After a couple of times, this lead to an
environment with a 140 kB BUILD_CFLAGS when mkdir should execute, which
resulted in the E2BIG.

(From OE-Core rev: 116e6b61c585c6f0f7ae6f010bd490bb39914348)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Vinícius Ossanes Aquino
071fa40b0e lttng-modules: backport patches to fix build against 5.12+ kernel
Add the following patches from stable-2.12 branch of lttng repository
to fix errors when building lttng-modules against 5.12+ kernel
since they are not present on the release 2.12.5:

- 17cd2dc9 fix: block: add a disk_uevent helper (v5.12)
- 127135b6 fix backport: block: add a disk_uevent helper (v5.12)
- 853d5903 fix: mm, tracing: kfree event name mismatching with
provider kmem (v5.12)

(From OE-Core rev: 2538ba2b3490e3599d9ccd637aa8486ea428f1b0)

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Bruce Ashfield
3bebf05cff linux-yocto/5.4: qemuppc32: reduce serial shutdown issues
Integrating the following commit(s) to linux-yocto/5.4:

    qemuppc32: reduce serial issues seen on shutdown

    Richard reported:

    We've been seeing a lot of the qemuppc shutdown issue and I decided to
    look into it. The really worrying thing looking at the logs locally is the
    serial ports are showing irq issues and becoming disabled as nobody would
    handle them.

    Errors like:

       [    9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
       [    9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted
       [    9.202283] Call Trace:
       [    9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
       [    9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
       [    9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
       [    9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
       [    9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
       [    9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
       [    9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
       [    9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
       [    9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
       [    9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
       [    9.237288]     LR = __setup_irq+0x790/0x838
       [    9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
       [    9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
       [    9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
       [    9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
       [    9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
       [    9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
       [    9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
       [    9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
       [    9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
       [    9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
       [    9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
       [    9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
       [    9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
       [    9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
       [    9.292620] --- interrupt: c01 at 0xfec3738
       [    9.292620]     LR = 0xfec36e0
       [    9.299035] handlers:
       [    9.302312] [<7f7f7da8>] pmz_interrupt
       [    9.305541] Disabling IRQ #36

    (and the irqpoll option does not help)

    This is problematic as the shutdown test uses the serial interface to
    shut down the system. If the serial interface fails to login or run the command,
    game over for the test.

    CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
    any output or capabilities that we need. So we disable it here, and
    reduce the chances of issues during shutdown.

(From OE-Core rev: 42355cb73049ee7a4af0f539a2a5b7d4ee1abc65)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
8edb167924 x264: upgrade to latest revision
(From OE-Core rev: 17f18d0aa3a8588717b6b5ae2a2b9c773fbf7863)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
341796ff8c python3-setuptools-scm: upgrade 5.0.1 -> 6.0.1
(From OE-Core rev: a95aab10c662dda99867c2cffd4e6fcfe33cebe0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
b18df94122 python3-pytest: upgrade 6.2.2 -> 6.2.3
(From OE-Core rev: a49c3ee159164dbea35fdae51584ce8c2abb488b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
ac7fdbe558 python3-importlib-metadata: upgrade 3.4.0 -> 3.10.1
(From OE-Core rev: 68ec69e4c135ce49956a50698f681cd317cf96c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
922ebe04b6 python3-hypothesis: upgrade 6.2.0 -> 6.9.1
(From OE-Core rev: 549b395e0fcc59e01a48b91d33cf72b7501c41df)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
5e164fcba6 pkgconf: upgrade 1.7.3 -> 1.7.4
(From OE-Core rev: a7cb5f9160fa1575adf10d4a0b679478cfa585ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
4d2ed6b901 piglit: upgrade to latest revision
(From OE-Core rev: dd085bd577a2a64b46485a9fde7eb8f2a727e1e8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
24ac6969db pango: upgrade 1.48.2 -> 1.48.4
(From OE-Core rev: 894f2783ac1f9741bcf3e54c1b86ac0dd1bc04e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
d45d46f2ee linux-firmware: upgrade 20210208 -> 20210315
License-Update: additional firmware files, version changes

(From OE-Core rev: 2f10b9dbb4fb8ccb9a427883370fbbeb6f394551)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
54cd6a5a51 libxres: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: beb2c79c77f9a5370c633f3f7cd4f7302c0cf49a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
97063ca5d7 libwpe: upgrade 1.8.0 -> 1.10.0
(From OE-Core rev: 2abc471c24d60485fb6fb3380eeea33137bf81bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
85cb9f2c73 libinput: upgrade 1.16.4 -> 1.17.1
(From OE-Core rev: c70e9a812659811664b40fa103d52bbb06e39750)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
3a7b18544f libfm: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 3f40b23dc8e034d17a97c988892ef01522bc1b43)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
d158921a6f less: upgrade 563 -> 581
(From OE-Core rev: e19736b809cbc8c15808e75473a95117fbdb1468)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
93d88fe52b harfbuzz: upgrade 2.7.4 -> 2.8.0
(From OE-Core rev: e5f82c4431e3d48914e26be97c83b0efbb2b478c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
5ef38c9cae gtk+3: upgrade 3.24.25 -> 3.24.28
(From OE-Core rev: 09cc5725b8ecdfd1cc54eaf834cdf5e2dbdd050c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
6c1dd9dede gobject-introspection: upgrade 1.66.1 -> 1.68.0
(From OE-Core rev: 803bbae963d59a91fbd3c517003f9972fc9bf7e8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
05904ebc14 systemd-boot: backport a fix to address failures with new gnu-efi
(From OE-Core rev: c88679a2f1a3aa84f7699a0ee752cf8071e8a430)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
46fcf0d6d3 gnu-efi: upgrade 3.0.12 -> 3.0.13
(From OE-Core rev: 464a09f45f619f1f96e3f5c83dc3d6d68eadfcbe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
3ac289eb81 e2fsprogs: upgrade 1.46.1 -> 1.46.2
(From OE-Core rev: 89ed9395b247e741fe667e7321be996b27d4e0c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
21bd255395 dnf: upgrade 4.6.0 -> 4.7.0
(From OE-Core rev: 432352dddc97eb19cefacd8644fb59b1f10bc2d3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
ad7581132d cronie: upgrade 1.5.5 -> 1.5.7
(From OE-Core rev: 3ad65c9509c2c352f4126f87d34634e4248579b4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
f5dbb6b815 createrepo-c: upgrade 0.17.0 -> 0.17.2
(From OE-Core rev: 0013f8195c046031aad5156d889b86676144e74b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
85a6dffc87 bison: upgrade 3.7.5 -> 3.7.6
License-Update: http links -> https

(From OE-Core rev: d3072372c95f327d38581e0f29f3d3329e0ecaae)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
2fb7154779 bind: upgrade 9.16.12 -> 9.16.13
(From OE-Core rev: 40624d1d3420783f24253b87465cd5ab7ecb32b4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
1cc617ae10 acl: upgrade 2.2.53 -> 2.3.1
(From OE-Core rev: dabe3173a9b9cd8f96913c3c47c01f056d79f274)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
99445990ca webkitgtk: update 2.30.6 -> 2.32.0
Drop 0001-Extend-atomics-check-to-include-1-byte-CAS-test.patch
(merged upstream).

Rebase other patches.

(From OE-Core rev: f64e9ba5f0d48e34d7022bf74bd9765f9e8a792c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
39932f22fa virglrenderer: update 0.8.2 -> 0.9.1
Drop 0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch,
issue fixed upstream.

(From OE-Core rev: ad968bc3d3ec5ae6862cdbe46608a99f561046fd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
a3b5f86004 gnupg: upgrade 2.2.27 -> 2.3.1
Remove 0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch
as upstream has removed the .m4 files.

Rebase other patches.

(From OE-Core rev: 623b10d3428f84219f7fb0cbb539fbbba7161e2d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
0de28255b7 vulkan-samples: update to latest revision
(From OE-Core rev: a6f8da2a59b3c8fd14bacb7e29feb1cc2fea0088)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
b36bf2f6d4 libgudev: update 234 -> 236
Convert to meson.

(From OE-Core rev: 80bf33236e26c57f441ebebce758afad9900f27e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
ab3a1f4262 libxkbcommon: update 1.0.3 -> 1.2.1
(From OE-Core rev: eb5044711bd74cd37799feb55aa006fcbf5ad155)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
b143dc6db0 bluez5: upgrade 5.56 -> 5.58
(From OE-Core rev: 6aabd10b113a81b0abbcb9654bc6fe17cc6bb3ce)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
d112d5bee6 libdnf: upgrade 0.58.0 -> 0.62.0
(From OE-Core rev: 87f9e745998be322cf13952f8d914139185b9d8c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
9f137c86a8 pulseaudio: unbreak build with latest meson
(From OE-Core rev: 3ac3c5dad3e9a434b421c654b3d375c2fee044a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
038eb82ad6 systemd: backport a patch to avoid unnecessary rsync dependency with latest meson
(From OE-Core rev: 3f0269ff1e5f87b23ef9012813a753daf3c5c24f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
ec0e1d4fb9 meson: update 0.57.1 -> 0.57.2
(From OE-Core rev: 85345697c6e492598c882eb452b999b8a05f97a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
25fdd28161 cmake: update 3.19.5 -> 3.20.1
Remove 0002-cmake-Prevent-the-detection-of-Qt5.patch
(patch purpose and failing scenarios unclear; disabling
is better done through configuration options which
are available for all of these items).

License-Update: copyright years

(From OE-Core rev: 6f3a4f224931866ab2e9758530efdb81d7ddb63d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Richard Purdie
ecaefb9d57 ptest-packagelists: Add expat-ptest to fast ptests
This ptest package was accidentally not enabled. The tests run quickly (2s) and
pass so add to the standard test suite.

(From OE-Core rev: 53dcc4b7bb4dce6cd2bc8d194efc4b8246317f22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
537ffe0d95 puzzles: update to latest revision
Convert to cmake, drop all the unneeded cruft from the recipe.

License-Update: additional contributors
(From OE-Core rev: adba510022781f139014d6174e46954c1f4774c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
73b4bf301e dpkg: update 1.20.7.1 -> 1.20.9
(From OE-Core rev: 2000040d92a41ef5ae594aed2482a7b33d17dda9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
b4a004d583 xorgproto: upgrade 2020.1 -> 2021.3
License-Update: formatting

(From OE-Core rev: fa51ebcff8424eb0f777a78647c462f33318849f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
c04b40a21e xserver-xorg: upgrade 1.20.10 -> 1.20.11
(From OE-Core rev: 0e9ff8859492403a88e61cfba5df2917d70d3584)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
70f797eced stress-ng: upgrade 0.12.05 -> 0.12.06
(From OE-Core rev: 31a09f59db6461a5f65f93783c25d8d05e4edf3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
f33847f5ba xkbcomp: upgrade 1.4.4 -> 1.4.5
License-Update: formatting

(From OE-Core rev: 2cfc32df6c527d308d436464421766522d34c829)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
9fbf28b1d9 vala: upgrade 0.50.4 -> 0.52.2
(From OE-Core rev: 25c6b77d2ab914dc7a38e7bf6171d66bd3be85d3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Chen Qi
91787002cb db: update CVE_PRODUCT
Update CVE_PRODUCT to also include 'berkeley_db'. For example,
CVE-2020-2981 uses 'berkeley_db'.

(From OE-Core rev: ad799b109716ccd2f44dcf7a6a4cfcbd622ea661)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Robert Joslyn
276974ca9e liberation-fonts: Update to 2.1.4
Update HOMEPAGE and SRC_URI since development moved to GitHub.

(From OE-Core rev: a522704c1891eeb78b0cf1bcbdb2bb6b3c96c204)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
wangmy
0fe48bb863 python3-pygments: upgrade 2.8.1 -> 2.9.0
(From OE-Core rev: cd0b5ecccccb5b77aee77e3eb4547fd342fbabaf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Anuj Mittal
3d6e67b389 lsb-release: fix reproducibility failure
Make sure help2man output is reproducible. Fixes:

| .\"·DO·NOT·MODIFY·THIS·FILE!··It·was·generated·by·help2man·1.022.	.\"·DO·NOT·MODIFY·THIS·FILE!··It·was·generated·by·help2man·1.022.
| .TH·FSG·"1"·"April·2021"·"FSG·lsb_release·v1.4"·FSG	.TH·FSG·"1"·"May·2021"·"FSG·lsb_release·v1.4"·FSG
| .SH·NAME	3 	.SH·NAME

(From OE-Core rev: 49371207a7f1fe3d3feb7b8b9aabb62b43ae34d1)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
3eab723431 gdk-pixbuf/pango: replace gtk-doc with gi-docgen
(From OE-Core rev: fe97a89056857e1326b087fb3d4a4b4be28acdc9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
7572042364 gi-docgen: add a recipe and class
This seems to be the gtk-doc successor, and gnome
projects such as pango and gdk-pixbuf have started
transitioning to it.

(From OE-Core rev: f87bb7d848015c371095ef3ff423eee81e6d8ecd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
13e4ff2250 python3: add markdown/smartypants/typogrify modules
This is needed to enable gi-docgen, a successor to gtk-doc

(From OE-Core rev: b557ea3cc61da326bb7783a2ac8e4080c4bf79e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Richard Purdie
b681827f5b oeqa/qemurunner: Improve handling of run_serial for shutdown commands
When running a shutdown command, the serial port can close without the
command returning. This is seen as the socket being readable but having
no data. Change the way this case is handled in the code to avoid
tracebacks.

(From OE-Core rev: 396a3ba884820d040c91f7592daf20ac28c49b5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Richard Purdie
4a3a0e7838 oeqa/qemurunner: Fix binary vs str issue
The recent logging changes for qemurunner showed up as errors on the
autobuilder where decode couldn't be called on the returned string.
Since the code returns binary data, return b'' instead of '' to match
to avoid tracebacks.

One of these cases was newly added, copied from the other which has
been there for a long time, always broken.

(From OE-Core rev: b8995b27db265b0a0b2d2ca595915f70f9f96e07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Bruce Ashfield
2dcd1f2a21 yocto-check-layer: Only note a layer without a conf/layer.conf (versus error)
Dynamic layers may have a conf directory, but don't need (or
want) a conf/layer.conf

This isn't an error, so we can just log it and indicate the
layer is being skipped.

A full layer without a conf file isn't all that useable, so we
aren't letting anything subtle slip through by just logging
it.

(From OE-Core rev: 9841a7c70bc21c5cd3bbea98d5f8654434577f61)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 16:55:35 +01:00
Saul Wold
3d79025398 qemurunner: change warning to info
This information is useful, but should not be a warning level.

[YOCTO #14382]

(From OE-Core rev: cd17d8bb00be1ecb7c92ab13eb8b162807aefed9)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 16:55:35 +01:00
Bruce Ashfield
6716a16efc linux-yocto/5.10: qemuppc32: reduce serial shutdown issues
Integrating the following commit(s) to linux-yocto/5.10:

    qemuppc32: reduce serial issues seen on shutdown

    Richard reported:

    We've been seeing a lot of the qemuppc shutdown issue and I decided to
    look into it. The really worrying thing looking at the logs locally is the
    serial ports are showing irq issues and becoming disabled as nobody would
    handle them.

    Errors like:

       [    9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
       [    9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted 5.10.30-yocto-standard #1
       [    9.202283] Call Trace:
       [    9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
       [    9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
       [    9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
       [    9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
       [    9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
       [    9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
       [    9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
       [    9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
       [    9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
       [    9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
       [    9.237288]     LR = __setup_irq+0x790/0x838
       [    9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
       [    9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
       [    9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
       [    9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
       [    9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
       [    9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
       [    9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
       [    9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
       [    9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
       [    9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
       [    9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
       [    9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
       [    9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
       [    9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
       [    9.292620] --- interrupt: c01 at 0xfec3738
       [    9.292620]     LR = 0xfec36e0
       [    9.299035] handlers:
       [    9.302312] [<7f7f7da8>] pmz_interrupt
       [    9.305541] Disabling IRQ #36

    (and the irqpoll option does not help)

    This is problematic as the shutdown test uses the serial interface to
    shut down the system. If the serial interface fails to login or run the command,
    game over for the test.

    CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
    any output or capabilities that we need. So we disable it here, and
    reduce the chances of issues during shutdown.

(From OE-Core rev: bf2c6ea03d45742597275691b4c883044765c57e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 16:55:35 +01:00
Alexander Kanavin
5ac0965479 gnu-config: update to latest revision
(From OE-Core rev: 2f13632a0b573f635c91efee3fd6ce2215f407cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Alexander Kanavin
1681d34e4b glib-2.0: update 2.68.0 -> 2.68.1
(From OE-Core rev: 1e8959da12afbde05060c5ee0019a28fd6945ef2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Alexander Kanavin
3533549e78 gdk-pixbuf: update 2.40.0 -> 2.42.6
Note: jpg/png loaders are now builtin and no longer
provided as separate packages.

Drop backport missing-test-data.patch.

Drop no longer needed 0004-Do-not-run-tests-when-building.patch

Rebase 0004-Do-not-run-tests-when-building.patch

Rework 0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch
so that it can be applied to both native and target builds.

(From OE-Core rev: 9eda439c7c775fb7fa26a97d2575b491e2a4bd45)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Alexander Kanavin
c9af0cd128 vte: use tarballs again
(From OE-Core rev: 4f4d631dbb88dad03a3f83ea57cb7a0a17a7fdb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Richard Purdie
eff192abe2 lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts
If the scripts/postinst-intercepts is owned by root/root then the copyfile() calls
will fail due to chown issues. We don't care about ownership of these files so
use shutil.copy() instead which won't perform any chown.

(From OE-Core rev: 1a03c70c282b3445b93a4c70ea6d40a1778750c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:24 +01:00
Richard Purdie
1140cca023 oeqa/qemurunner: Handle path length issues for qmp socket
After the addition of the qmp socket, runqemu started failing:

ERROR - Failed to run qemu: qemu-system-aarch64: -qmp unix:/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid,server,wait:
UNIX socket path '/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid' is too long
Path must be less than 108 bytes

To avoid this, run qemu within tmpdir and use a relative path to the socket.
This avoids having to patch the socket code within qemu.

Update the client code to chdir and only use a relative path to the socket
to match.

(From OE-Core rev: 5c56e72fca18dc942f5c1fd377e98d46ae0126f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:24 +01:00
Richard Purdie
e293a37935 oeqa/qemurunner: Improve logging thread exit handling for qemu shutdown test
Rather than totally disabling the logging, inform it we're about to exit
so we can log messages over the exit cleanly too. This aids debugging. It
also avoids a race where the logging handler could still error whilst
shutting down.

Also remove a race window by notificing the handler of the shutdown
first, before triggering it. This removes a race window I watched in
local testing.

(From OE-Core rev: 0e19f31a1005f94105e1cef252abfffcef2aafad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:23 +01:00
Yi Fan Yu
27c77ee898 libevent: Increase ptest timing tolerance 50 ms -> 100 ms
Adjusting the tolerance to a more reasonable time
given the load on the AB and given the high amount(100) of
events some of the tests like `common_timeout` generates.

[YOCTO #14163]

(From OE-Core rev: 38b36d2b90d570149e63816e68f457aea28a5092)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:23 +01:00
Devendra Tewari
b71375304f classes/lib/scripts: Use bb.utils.rename() instead of os.rename()
Incremental build in Docker fails with:

OSError: [Errno 18] Invalid cross-device link

when source and destination are on different overlay filesystems.

Rather than adding fallback code to every call site, use a new wrapper
in bitbake which detects this case and falls back to shutil.move
which is slower but will handtle the overlay docker filesystems correctly.

[YOCTO #14301]

(From OE-Core rev: 656a65b2b84e7d529b89cf5de7eb838f902d84a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:23 +01:00
Richard Purdie
974441aeda sanity.conf: Require bitbake 1.51.0
We're about to require bb.utils.rename() so depend on the correct
version of bitbake.

(From OE-Core rev: ed2b18ed6e76a3bc050a1c48526c114de5cb1a93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:12:40 +01:00
Richard Purdie
49da1ed2dc bitbake: bitbake: Switch to post release version number 1.51.0
(Bitbake rev: 97a64d12f70eb02f1d35b4ffefb291b80ca8c425)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:08 +01:00
Richard Purdie
7bbeddeee1 bitbake: bin/bitbake-getvar: Add a new command to query a variable value (with history)
We've talked about having this for long enough. Add a command which queries a single
variable value with history. This saves "bitbake -e | grep" and avoids the
various pitfalls that has.

It also provides a neat example of using tinfoil to make such a query.

Parameters to limit the output to just the value, to limit to a variable flag
and to not expand the output are provided.

[YOCTO #10748]

(Bitbake rev: 4c1881b620e885f55d7772f8626b8a76c2828333)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:08 +01:00
Harald Brinkmann
e155a81ab6 bitbake: fetch/svn: Fix parsing revision of SVN repos with redirects
svn was printing a message when encountering HTTP redirects.
This confused the revision parser.

(Bitbake rev: a944a335f8f4c4fe5df55f3d7d8e757bd2835146)

Signed-off-by: Harald Brinkmann <Harald.Brinkmann@detectomat.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:08 +01:00
Paul Barker
81b55a050d bitbake: prserv: Handle requests in main thread
The prserver process is cleanly separated from the main bitbake process
so requests can be handled in the main thread. This removes the need for
a request queue and a separate request handling thread.

(Bitbake rev: 6b09415bed6b5e7c12aaf39b677d9ef72844e233)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:07 +01:00
Paul Barker
d66a1d83f5 bitbake: prserv: Extract daemonization from PRServer class
The code to start the prservice process as a daemon is extracted out of
the PRServer class and simplified. This makes the PRServer class easier
to modernise as it no longer needs to worry about process management.

(Bitbake rev: 39c7c158c52157b18f5ccbbd673e3298e6402f52)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:07 +01:00
Paul Barker
802024fd2a bitbake: prserv: Use multiprocessing to auto start prserver
We can use the modern multiprocessing support in Python instead of
manually using fork to start the prserver process. To do this we need
to set up the signal handlers for the prserver process in the
work_forever function (which is now used as the main function for this
process).

The old code to start the prserver process using fork is not removed in
this commit as it is tightly intertwined with the daemonization code
which will be refactored in a following commit.

(Bitbake rev: b3da56240c0f92efab1c0b293738c35c0f1ee6ab)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:07 +01:00
Devendra Tewari
581233a798 bitbake: lib/bb: Add bb.utils.rename() helper function and use for renaming
os.rename can fail for example an incremental build in Docker fails with:

OSError: [Errno 18] Invalid cross-device link

when source and destination are on different overlay filesystems.

Rather than trying to fix every call site, add a wrapper in bb.utils
for renames. We can then handle cross device failures and
fall back to shutil.move. The reason os.rename is still used is
because shutil.move is too slow for speed sensitive sections of code.

[YOCTO #14301]

(Bitbake rev: c5c4e49574ab2a65e06298a0a77bb98b041cf56b)

Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:04:59 +01:00
Alexander Kanavin
7fbd7744ea boost: correct upstream version check
(From OE-Core rev: 4b04153a7d30f1a7a6485e2537bc3a708128bad4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Michael Opdenacker
dd628adc7c sanity.bbclass: mention CONNECTIVITY_CHECK_URIS in network failure message
This expands the error message when a network failure is detected.
It happens that some ISPs or networks block the default example.com
domain. Therefore, instead of disabling network access, it
lets the user know how to modify the test URL.

(From OE-Core rev: 62c94bb925543c1e1c5af3c751913d9f06d9597d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Joshua Watt
ad3879eb61 classes/image: Use xargs to set file timestamps
Instead of having find directly invoke touch for each file in the root
file system, pass a list to xargs for batching. This significantly
reduces the number of times the touch program is invoked and speeds up
the do_image task time:

    PKG           TASK      ABSDIFF  RELDIFF  CPUTIME1 -> CPUTIME2
    my-image      do_image   -45.3s   -94.2%     48.1s -> 2.8s

    Cumulative cputime:
      -44.3s    -92.3%    00:48.1 (48.1s) -> 00:03.7 (3.7s)

(From OE-Core rev: 15c65f90a3aa1e98c2beab2539403157df1fca08)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Alexander Kanavin
c8e1aeebd8 Revert "oeqa: Set LD_LIBRARY_PATH when executing native commands"
LD_LIBRARY_PATH leaks into host executables too, and breaks them
as they are not uninative-enabled. E.g. on ubuntu 18.04 trying
to run host bash with a sysroot that was built on Fedora 33:

akanavin@ubuntu1804-ty-3:/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-24341/tmp/work/x86_64-linux/gnupg-native/2.3.1-r0/recipe-sysroot-native$ LD_LIBRARY_PATH=./usr/lib /bin/bash
/bin/bash: ./usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./usr/lib/libtinfo.so.5)

This was seen e.g. here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2090/steps/14/logs/stdio

(From OE-Core rev: 0e9850486b74a3de934527ca1077df001d3a8d22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Alexander Kanavin
5c2ccb059d diffoscope: add native libraries to LD_LIBRARY_PATH
Reversal of global setting in previous commit necessitates
a local fix, otherwise, this happens:

  File "/home/pokybuild/yocto-worker/reproducible-debian/build/build-st-52142/tmp/work/x86_64-linux/diffoscope-native/172-r0/recipe-sysroot-native/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: nativepython3: undefined symbol: archive_errno

(From OE-Core rev: 87884d9938829d5ae5d250f483c749e00cd83322)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Vinay Kumar
f628b052f6 binutils: Fix CVE-2021-20197
Source: git://sourceware.org/git/binutils-gdb.git
Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=26945

Backported upstream commit d3edaa91d4cf7202ec14342410194841e2f67f12 to
binutils-2.36 source along with commit id dependencies
(8e03235147a9e774d3ba084e93c2da1aa94d1cec and 8b69e61d4be276bb862698aaafddc3e779d23c8f).

(From OE-Core rev: 395812c345cb510471e264c6f5bb83eed61d79df)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Robert P. J. Day
71d07cdebc bitbake.conf: sort MIRROR list, add missing SAMBA_MIRROR
As is the pattern with all lists, put the list of MIRRORs in
alphabetical order, and add an entry for SAMBA_MIRROR as it appears in
the samba recipe from the meta-networking layer.

(From OE-Core rev: 3301536f821dce86cd3683d9c50abea2d39c6c20)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Anuj Mittal
e3d054cd62 qemu: fix CVE-2021-3392
(From OE-Core rev: a0257aee7d80fc67c92877e2de1e4b98ece54174)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Anuj Mittal
db4d9619aa Revert "qemu: fix CVE-2021-3392"
This reverts commit 5e8e08df8b.

This is an incomplete fix.

(From OE-Core rev: 2e7494cd388c5d03a95d8a54d6231e7fe7fd46ef)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Khem Raj
0a0c83d083 strace: Upgrade to 5.12
Changes are here [1]

[1] https://github.com/strace/strace/releases/tag/v5.12

(From OE-Core rev: 853eb9a9c4b02b7acfc72659eb20914f0f19e66b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Andreas Müller
d71ed04ebf xwayland: remove protocol.txt - it clashes with xserver-xorg
* Images with wayland-compositors + xwayland + xserver fail to build
* Fedora - they introduced standalone xwayland - does same [1]

[1] https://src.fedoraproject.org/rpms/xorg-x11-server-Xwayland/blob/rawhide/f/xorg-x11-server-Xwayland.spec

(From OE-Core rev: ace7a71b09df24de7b70f52edcd425366f39d56e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Ross Burton
e3887b0690 oe-buildenv-internal: add BitBake's library to PYTHONPATH
There are many Python scripts in oe-core that want to use Tinfoil, and
right now they have to know where they are to work out where BitBake is
likely to be.

This is suboptimal as BitBake could be somewhere else, so this
approach doesn't scale to other layers at all.

Solve this by adding BITBAKEDIR/lib to PYTHONPATH in oe-buildenv-internal,
so that Python has BitBake on its search path once the build system is
configured.

(From OE-Core rev: a48178f6d00e7f97a09f42d5a164204e9dcffa9f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Bastian Krause
ce39d05d51 ccache: add packageconfig docs option
Before, ccache's configure stage built HTML documentation and man pages
depending on if asciidoc is installed. This patch makes it configurable.

Pass the new cmake option BUILD_DOCS along and add the asciidoc
dependency if necessary.

This fixes an issue when ccache's configure stage found asciidoc/a2x on
the system outside of the sysroot (e.g. installed via 'apt install
asciidoc'). ccache would then decide to build docs and manual pages, but
would fail during compilation: the system's a2x could not find the
system's asciidoc because it did not reside in the set PATH.

By enabling/disabling docs/man page generation explicitly and adding
asciidoc to DEPENDS as necessary, this is no longer an issue.

(From OE-Core rev: b0aedd74f13b174861ff742eb503d8d343f9e714)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Richard Purdie
9f951a2d49 Revert "perl: fix startperl configuration option for perl-native"
This reverts commit f2d1523b19cb066a4a06609f036822fe4a8b43f0.

We've reports of a number of failures from this, it causes pod2man to
reference full paths to perl rather than nativeperl from the environment.
I've also seen this issue locally now. Revert until we can find a solution
which works for everyone.

(From OE-Core rev: 231c99728da9d81c9430a2aa62239ce28734ef4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Khem Raj
5a0679cb75 busybox: Fix reproducibility
The ensures that globbing results in same order irrespective of shell in
use

(From OE-Core rev: fdeee94fa78f91613850500b209b75a6608241d0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:17 +01:00
Jose Quaresma
30f3691c3f gstreamer1.0: update ptest patch
- rework the ptest patch with a new one that are sent upstream [1].
- it uses the same approach as the existing patch in OE-Core but
  is based on the glib meson installed-tests [2] logic.

* qemux86-64 ptest-runner result
  SUMMARY: total=105; passed=105; skipped=0; failed=0; user=20.4s; system=4.7s; maxrss=9928

[1] - https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/789
[2] - 1bba3276bb

(From OE-Core rev: 44befb922e061823c636c7ccbf09cc5e7defd9e2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:17 +01:00
Jose Quaresma
0728558a52 gstreamer1.0: rename patches
(From OE-Core rev: 793b6f72e5b06cbbc7a8eec6c8880d9e407b8a2e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Jose Quaresma
faf1197865 ptest-runner: libgcc must be installed for pthread_cancel to work
This only affects glibc systems and have been
found on runqemu core-image-minimal with gstreamer ptest-runner

STOP: ptest-runner
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

(From OE-Core rev: 1cb679e6a4528a2cef16f65342d5e65adb14cb16)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Sakib Sajal
dad4cfaca3 qemu: fix CVE-2021-20263
virtiofs: drop remapped security.capability xattr as needed

(From OE-Core rev: 7ad71de89dd60700cbaad2df1937bc3d743112da)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Sakib Sajal
9f31c9ebeb qemu: fix CVE-2020-27821
memory: clamp cached translation in case it points to an MMIO region

(From OE-Core rev: df92b3359743ed1837fa57df8035d121f5c5676b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
7cb612add7 linux-yocto/5.4: update to v5.4.116
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    370636ffbb86 Linux 5.4.116
    e23967af130b bpf: Update selftests to reflect new error states
    ef4e68f0af04 bpf: Tighten speculative pointer arithmetic mask
    4dc6e55e282f bpf: Move sanitize_val_alu out of op switch
    876d1cec9369 bpf: Refactor and streamline bounds check into helper
    4158e5fea3b1 bpf: Improve verifier error messages for users
    15de0c537bf7 bpf: Rework ptr_limit into alu_limit and add common error path
    f7fbedc90909 bpf: Ensure off_reg has no mixed signed bounds for all types
    4a163b1c7053 bpf: Move off_reg into sanitize_ptr_alu
    19bfeb47e96b Linux 5.4.115
    af7099bad495 USB: CDC-ACM: fix poison/unpoison imbalance
    d7fad2ce15bd net: hso: fix NULL-deref on disconnect regression
    699017fe0de4 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
    b3962b4e8334 ia64: tools: remove duplicate definition of ia64_mf() on ia64
    763cbe5e1ebb ia64: fix discontig.c section mismatches
    3dce9c4bb546 csky: change a Kconfig symbol name to fix e1000 build error
    892f6bc55746 cavium/liquidio: Fix duplicate argument
    2ccca124620e xen-netback: Check for hotplug-status existence before watching
    78687d6a3213 s390/entry: save the caller of psw_idle
    026490fac496 net: geneve: check skb is large enough for IPv4/IPv6 header
    caaf9371ecad ARM: dts: Fix swapped mmc order for omap3
    be60afbb9136 HID: wacom: Assign boolean values to a bool variable
    116ee59ef886 HID: alps: fix error return code in alps_input_configured()
    a4e2b91cea52 HID: google: add don USB id
    aefb6ac6ac11 perf auxtrace: Fix potential NULL pointer dereference
    39638289595b perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[]
    319a06e58ed7 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
    82808cc02681 locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
    c6eb92b37af1 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
    37ee803d7ed7 pinctrl: lewisburg: Update number of pins in community
    dbb355960ef9 gpio: omap: Save and restore sysconfig
    835c8d688e1e s390/ptrace: return -ENOSYS when invalid syscall is supplied

(From OE-Core rev: 667352cc46429f3d8eca12cf93c26be2d26e5d74)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
538c918fa3 linux-yocto/5.10: update to v5.10.34
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    0aa66717f684 Linux 5.10.34
    47d54b990103 mei: me: add Alder Lake P device id.
    2a442f11407e iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
    8bd8301ccc11 Linux 5.10.33
    8a661bad6cee USB: CDC-ACM: fix poison/unpoison imbalance
    90642ee9eb58 net: hso: fix NULL-deref on disconnect regression
    31720f9e87c0 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
    bed21bed2e79 ia64: tools: remove duplicate definition of ia64_mf() on ia64
    ba0910ad1c57 ia64: fix discontig.c section mismatches
    f4a777bcc8d1 csky: change a Kconfig symbol name to fix e1000 build error
    393200a1b095 kasan: fix hwasan build for gcc
    f2b46286e326 cavium/liquidio: Fix duplicate argument
    1bfefd866195 xen-netback: Check for hotplug-status existence before watching
    509ae27a1874 arm64: kprobes: Restore local irqflag if kprobes is cancelled
    da99331fc6ce s390/entry: save the caller of psw_idle
    d33031a894d2 dmaengine: tegra20: Fix runtime PM imbalance on error
    66d0cf7dcaa1 net: geneve: check skb is large enough for IPv4/IPv6 header
    6ce64437224d ARM: dts: Fix swapped mmc order for omap3
    db010ba54a96 dmaengine: xilinx: dpdma: Fix race condition in done IRQ
    e8d9a93ec46e dmaengine: xilinx: dpdma: Fix descriptor issuing on video group
    eb2c81ee764d soc: qcom: geni: shield geni_icc_get() for ACPI boot
    8c4bfe30eb55 HID: wacom: Assign boolean values to a bool variable
    e913cbc952c3 HID cp2112: fix support for multiple gpiochips
    f691dc86411d HID: alps: fix error return code in alps_input_configured()
    079e32723f78 HID: google: add don USB id
    ffe249b4fc2c perf map: Fix error return code in maps__clone()
    4d0cfb3713bc perf auxtrace: Fix potential NULL pointer dereference
    ab112cc573cc perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[]
    6f8315e5d951 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
    82fa9ced35d8 locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
    b642e493a9a0 bpf: Tighten speculative pointer arithmetic mask
    2982ea926b5c bpf: Refactor and streamline bounds check into helper
    f3c4b01689d3 bpf: Allow variable-offset stack access
    f79efcb0075a bpf: Permits pointers on stack for helper calls
    edc5d1601389 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
    83d93d05376a pinctrl: core: Show pin numbers for the controllers with base = 0
    fc2454cc0c4b block: return -EBUSY when there are open partitions in blkdev_reread_part
    2bbd8aafde36 pinctrl: lewisburg: Update number of pins in community
    a8cd07e4400d vdpa/mlx5: Set err = -ENOMEM in case dma_map_sg_attrs fails
    bf84ef2dd2cc KEYS: trusted: Fix TPM reservation for seal/unseal
    9857fccd653c gpio: omap: Save and restore sysconfig
    71777492b745 vhost-vdpa: protect concurrent access to vhost device iotlb

(From OE-Core rev: 2cfc4489c14f8d1ec2c6fc2aa411d158058f5aea)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
18c45c5bcb linux-yocto/5.4: update to v5.4.114
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a7eb81c1d11a Linux 5.4.114
    3822683fd101 net: phy: marvell: fix detection of PHY on Topaz switches
    cec3b778f70f ARM: 9071/1: uprobes: Don't hook on thumb instructions
    4f0cda5e9e62 r8169: don't advertise pause in jumbo mode
    c5934da725bb r8169: tweak max read request size for newer chips also in jumbo mtu mode
    50b7a68664dc r8169: improve rtl_jumbo_config
    cbbd3e2a2e7c r8169: fix performance regression related to PCIe max read request size
    0243bb394186 r8169: simplify setting PCI_EXP_DEVCTL_NOSNOOP_EN
    c667953d6433 r8169: remove fiddling with the PCIe max read request size
    b14992c96274 arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
    871b569a3e67 ARM: footbridge: fix PCI interrupt mapping
    9a7ac9afc8d7 gro: ensure frag0 meets IP header alignment
    fde195c03bff ibmvnic: remove duplicate napi_schedule call in open function
    c591bbaae545 ibmvnic: remove duplicate napi_schedule call in do_reset function
    c6acd7d19124 ibmvnic: avoid calling napi_disable() twice
    2bc14f5eca10 i40e: fix the panic when running bpf in xdpdrv mode
    51edda8a6334 net: ip6_tunnel: Unregister catch-all devices
    92f93a03cef0 net: sit: Unregister catch-all devices
    4fcbb1fa2703 net: davicom: Fix regulator not turned off on failed probe
    01fb1626b620 netfilter: nft_limit: avoid possible divide error in nft_limit_init
    e65cd80558e5 net: macb: fix the restore of cmp registers
    6449b405f99a netfilter: arp_tables: add pre_exit hook for table unregister
    ce23be37ecac netfilter: bridge: add pre_exit hooks for ebtable unregistration
    61ca5b653220 libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
    4ce8e86d125d netfilter: conntrack: do not print icmpv6 as unknown via /proc
    5f6c1a81713e scsi: libsas: Reset num_scatter if libata marks qc as NODATA
    7779f84e4677 riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
    ec3bb712fb62 vfio/pci: Add missing range check in vfio_pci_mmap
    9e8c5e3d8279 arm64: alternatives: Move length validation in alternative_{insn, endif}
    b7d15166c1d1 arm64: fix inline asm in load_unaligned_zeropad()
    b9956950f23c readdir: make sure to verify directory entry for legacy interfaces too
    ff821c7ce913 dm verity fec: fix misaligned RS roots IO
    804607635cc1 HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
    b428063fb310 Input: i8042 - fix Pegatron C15B ID entry
    995503dd6546 Input: s6sy761 - fix coordinate read bit shift
    7a2ac9ed8cf6 virt_wifi: Return micros for BSS TSF values
    bd7e90c82850 mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
    f666567a51fb pcnet32: Use pci_resource_len to validate PCI resource
    9e249bc38a48 net: ieee802154: forbid monitor for add llsec seclevel
    7a7899eaaeb8 net: ieee802154: stop dump llsec seclevels for monitors
    fc5f9c33edb5 net: ieee802154: forbid monitor for del llsec devkey
    63581374638b net: ieee802154: forbid monitor for add llsec devkey
    0d5ee2ee9ab2 net: ieee802154: stop dump llsec devkeys for monitors
    6c8caf78304f net: ieee802154: forbid monitor for del llsec dev
    c993c05b9d48 net: ieee802154: forbid monitor for add llsec dev
    f9d7088d385c net: ieee802154: stop dump llsec devs for monitors
    178ddee28d53 net: ieee802154: forbid monitor for del llsec key
    5d025404d513 net: ieee802154: forbid monitor for add llsec key
    d8b4f3a9d732 net: ieee802154: stop dump llsec keys for monitors
    e16998019358 scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
    f0268d35305d ASoC: fsl_esai: Fix TDM slot setup for I2S mode
    d60837aa64be drm/msm: Fix a5xx/a6xx timestamps
    01e86da75c18 ARM: omap1: fix building with clang IAS
    4f02dc4d360f ARM: keystone: fix integer overflow warning
    f3183866b3da neighbour: Disregard DEAD dst in neigh_update
    1cf8b48a4de2 ASoC: max98373: Added 30ms turn on/off time delay
    47d04c039915 arc: kernel: Return -EFAULT if copy_to_user() fails
    68bd0d8ab19e lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
    6ffc9f854d23 ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
    4609d27ca6e4 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
    09db44ad36b0 dmaengine: dw: Make it dependent to HAS_IOMEM
    5130cda3cb1f gpio: sysfs: Obey valid_mask
    2dce5702ef05 Input: nspire-keypad - enable interrupts only when opened
    6180d2274b17 net/sctp: fix race condition in sctp_destroy_sock
    304c21786b01 scsi: qla2xxx: Fix fabric scan hang
    ca0188d396cd scsi: qla2xxx: Fix stuck login session using prli_pend_timer
    c393c7f77cf8 scsi: qla2xxx: Add a shadow variable to hold disc_state history of fcport
    ad66dc6d8830 scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure
    8b5e82aea7b3 scsi: qla2xxx: Fix device connect issues in P2P configuration
    8eed34d3c444 scsi: qla2xxx: Dual FCP-NVMe target port support
    33beb0e6c244 Revert "scsi: qla2xxx: Fix stuck login session using prli_pend_timer"
    94ac0a8866c4 Revert "scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure"
    ab3bed80f9d3 Linux 5.4.113
    94371b6c5553 xen/events: fix setting irq affinity
    4ea6097986c4 perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
    d462247bb274 perf tools: Use %zd for size_t printf formats on 32-bit
    2715a4c0dc34 perf tools: Use %define api.pure full instead of %pure-parser
    799f02f0dfc4 driver core: Fix locking bug in deferred_probe_timeout_work_func()
    cc59b872f2e1 netfilter: x_tables: fix compat match/target pad out-of-bound write
    8119a2b42028 block: don't ignore REQ_NOWAIT for direct IO
    2d71bffbe9a0 riscv,entry: fix misaligned base for excp_vect_table
    90b71ae8e5cf idr test suite: Create anchor before launching throbber
    b9299c2bf554 idr test suite: Take RCU read lock in idr_find_test_1
    cde89079ce46 radix tree test suite: Register the main thread with the RCU library
    f5b60f26e36b block: only update parent bi_status when bio fail
    5b8f89685a9a drm/tegra: dc: Don't set PLL clock to 0Hz
    db162d8d7d08 gfs2: report "already frozen/thawed" errors
    3c89c7240412 drm/imx: imx-ldb: fix out of bounds array access warning
    e1ff1c6bbe4b KVM: arm64: Disable guest access to trace filter controls
    2012f9f75444 KVM: arm64: Hide system instruction access to Trace registers
    cc678e2f372e interconnect: core: fix error return code of icc_link_destroy()

(From OE-Core rev: a24b8651365b333e903b317ad969ba8adfed28c4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
327eb77b0e perf: fix python-audit RDEPENDS
When doing the perf python3 conversion, the audit-python RDEPENDS
was caught up in the regex replacement and was incorrectly changed.

The audit recipe continues to produce a package called audit-python
and it is that package we should have as a RDEPENDS.

(From OE-Core rev: 7eccb9c0c2ea00685451c44cb8faa96c4a2272fd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
afca35c665 linux-yocto/5.10: update to v5.10.32
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    aea70bd5a455 Linux 5.10.32
    6ac98ee9cb7c net: phy: marvell: fix detection of PHY on Topaz switches
    fbe6603e7cab bpf: Move sanitize_val_alu out of op switch
    7723d3243857 bpf: Improve verifier error messages for users
    55565c307908 bpf: Rework ptr_limit into alu_limit and add common error path
    496e2fabbbe3 arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is set atomically
    cada2ed0bb70 ARM: 9071/1: uprobes: Don't hook on thumb instructions
    480d875f1242 bpf: Move off_reg into sanitize_ptr_alu
    589fd9684dfa bpf: Ensure off_reg has no mixed signed bounds for all types
    b2df20c0f19f r8169: don't advertise pause in jumbo mode
    154fb9cb3e6f r8169: tweak max read request size for newer chips also in jumbo mtu mode
    7f64753835a7 KVM: VMX: Don't use vcpu->run->internal.ndata as an array index
    c670ff84fac9 KVM: VMX: Convert vcpu_vmx.exit_reason to a union
    4f3ff11204ea bpf: Use correct permission flag for mixed signed bounds arithmetic
    8d7906c548aa arm64: dts: allwinner: h6: beelink-gs1: Remove ext. 32 kHz osc reference
    286c39d08664 arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
    4f90db2e92d2 ARM: OMAP2+: Fix uninitialized sr_inst
    1fc087fdb98d ARM: footbridge: fix PCI interrupt mapping
    11a718ef953f ARM: 9069/1: NOMMU: Fix conversion for_each_membock() to for_each_mem_range()
    a13d4a1228ab ARM: OMAP2+: Fix warning for omap_init_time_of()
    9143158a6bd3 gro: ensure frag0 meets IP header alignment
    fd766f792a56 ch_ktls: do not send snd_una update to TCB in middle
    65bdd564b387 ch_ktls: tcb close causes tls connection failure
    5f3c278035c0 ch_ktls: fix device connection close
    8d5a9dbd2116 ch_ktls: Fix kernel panic
    976da1b08784 ibmvnic: remove duplicate napi_schedule call in open function
    008885a880dc ibmvnic: remove duplicate napi_schedule call in do_reset function
    685bc730e3a9 ibmvnic: avoid calling napi_disable() twice
    e154b5060aa1 ia64: tools: remove inclusion of ia64-specific version of errno.h header
    f8f01fc8c653 ia64: remove duplicate entries in generic_defconfig
    1aec111c944f ethtool: pause: make sure we init driver stats
    44ef38c0a2b3 i40e: fix the panic when running bpf in xdpdrv mode
    35d7491e2f77 net: Make tcp_allowed_congestion_control readonly in non-init netns
    76af8126a6e4 mm: ptdump: fix build failure
    33f3dab42ae2 net: ip6_tunnel: Unregister catch-all devices
    ea0340e632ba net: sit: Unregister catch-all devices
    154ac84d497a net: davicom: Fix regulator not turned off on failed probe
    e072247938a8 net/mlx5e: Fix setting of RS FEC mode
    dc1732baa9da netfilter: nft_limit: avoid possible divide error in nft_limit_init
    cda5507d234f net/mlx5e: fix ingress_ifindex check in mlx5e_flower_parse_meta
    40ed1d29f151 net: macb: fix the restore of cmp registers
    7f8e59c4c5e5 libbpf: Fix potential NULL pointer dereference
    7824d5a9935a netfilter: arp_tables: add pre_exit hook for table unregister
    4d26865974fb netfilter: bridge: add pre_exit hooks for ebtable unregistration
    eb82199e377a libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
    a2af8a0f38e4 ice: Fix potential infinite loop when using u8 loop counter
    783645e65b57 netfilter: conntrack: do not print icmpv6 as unknown via /proc
    394c81e36e49 netfilter: flowtable: fix NAT IPv6 offload mangling
    be07581aacae ixgbe: fix unbalanced device enable/disable in suspend/resume
    0ef9919a06a3 scsi: libsas: Reset num_scatter if libata marks qc as NODATA
    6a70ab9769cd riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
    f66d695c06f4 vfio/pci: Add missing range check in vfio_pci_mmap
    e6177990e17d arm64: alternatives: Move length validation in alternative_{insn, endif}
    e2931f05eb32 arm64: fix inline asm in load_unaligned_zeropad()
    957f83a138f1 readdir: make sure to verify directory entry for legacy interfaces too
    2b8308741cf5 dm verity fec: fix misaligned RS roots IO
    18ba387261ea HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
    dedf75aec8fc Input: i8042 - fix Pegatron C15B ID entry
    8b978750dcd2 Input: s6sy761 - fix coordinate read bit shift
    955da2b5cd98 lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS
    024f9d048000 virt_wifi: Return micros for BSS TSF values
    cc413b375c6d mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
    2e08d9a56838 pcnet32: Use pci_resource_len to validate PCI resource
    248b9b61b951 net: ieee802154: forbid monitor for add llsec seclevel
    b97c7bc42d8d net: ieee802154: stop dump llsec seclevels for monitors
    ab9f9a1d5874 net: ieee802154: forbid monitor for del llsec devkey
    4846c2debb2c net: ieee802154: forbid monitor for add llsec devkey
    07714229e0e2 net: ieee802154: stop dump llsec devkeys for monitors
    4c1775d6ea86 net: ieee802154: forbid monitor for del llsec dev
    813b13155d14 net: ieee802154: forbid monitor for add llsec dev
    2f80452951b5 net: ieee802154: stop dump llsec devs for monitors
    08744a622faa net: ieee802154: forbid monitor for del llsec key
    7edf4d2baa8a net: ieee802154: forbid monitor for add llsec key
    c09075df5e4d net: ieee802154: stop dump llsec keys for monitors
    8b9485b651d4 iwlwifi: add support for Qu with AX201 device
    c836374bacfa scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
    d9fc084067f5 ASoC: fsl_esai: Fix TDM slot setup for I2S mode
    79ef0e6c0cf8 drm/msm: Fix a5xx/a6xx timestamps
    d61238aa6482 ARM: omap1: fix building with clang IAS
    505c48942f04 ARM: keystone: fix integer overflow warning
    0d0ad98bee39 neighbour: Disregard DEAD dst in neigh_update
    7a1cd9044da4 gpu/xen: Fix a use after free in xen_drm_drv_init
    bfb5a1523f17 ASoC: max98373: Added 30ms turn on/off time delay
    58d59d9ae56f ASoC: max98373: Changed amp shutdown register as volatile
    b2f8476193eb xfrm: BEET mode doesn't support fragments for inner packets
    806addaf8dfd iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
    b448a6a2fc5a arc: kernel: Return -EFAULT if copy_to_user() fails
    f12e8cf6b180 lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
    a55de4f0d1d4 ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
    9f399a9d7006 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
    f338b8fffd75 ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
    e5eb9757fe4c dmaengine: idxd: fix wq cleanup of WQCFG registers
    4c59c5c8668e dmaengine: plx_dma: add a missing put_device() on error path
    ac030f5c5680 dmaengine: Fix a double free in dma_async_device_register
    56f9c04893fb dmaengine: dw: Make it dependent to HAS_IOMEM
    4ecf25595273 dmaengine: idxd: fix wq size store permission state
    db23b7b5ca3e dmaengine: idxd: fix opcap sysfs attribute output
    0e3f14755111 dmaengine: idxd: fix delta_rec and crc size field for completion record
    a5ad12d5d69c dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback
    f567fde02baa gpio: sysfs: Obey valid_mask
    dfed481e62e5 Input: nspire-keypad - enable interrupts only when opened
    b80ea54e1e71 mtd: rawnand: mtk: Fix WAITRDY break condition and timeout
    5a627026be4a net/sctp: fix race condition in sctp_destroy_sock
    65f1995ea1e9 Linux 5.10.31
    ceee49ca34bf xen/events: fix setting irq affinity
    9d9facd32d89 net: sfp: cope with SFPs that set both LOS normal and LOS inverted
    2a60ab2dab3d net: sfp: relax bitrate-derived mode check
    cd8ce27e6caa perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
    1f3b9000cb44 netfilter: x_tables: fix compat match/target pad out-of-bound write
    5402a67ac403 block: don't ignore REQ_NOWAIT for direct IO
    efa7b6e4017a riscv,entry: fix misaligned base for excp_vect_table
    6fbdce3cde97 io_uring: don't mark S_ISBLK async work as unbounded
    5d4600017bee null_blk: fix command timeout completion handling
    b1f6c6f39bd6 idr test suite: Create anchor before launching throbber
    9a7552daa93b idr test suite: Take RCU read lock in idr_find_test_1
    edd822b69241 radix tree test suite: Register the main thread with the RCU library
    1d2310d95fb8 block: only update parent bi_status when bio fail
    d99e22c0ea74 XArray: Fix splitting to non-zero orders
    9576dd89554e gpu: host1x: Use different lock classes for each client
    39af2f472f21 drm/tegra: dc: Don't set PLL clock to 0Hz
    e4a0956574c7 tools/kvm_stat: Add restart delay
    1dcb3ebc2416 ftrace: Check if pages were allocated before calling free_pages()
    6c6d58322079 gfs2: report "already frozen/thawed" errors
    870c8df1d192 drm/imx: imx-ldb: fix out of bounds array access warning
    5b50468a2d4d KVM: arm64: Disable guest access to trace filter controls
    fa0c0dce589d KVM: arm64: Hide system instruction access to Trace registers
    57fb08fb9a25 gfs2: Flag a withdraw if init_threads() fails
    9b57ecb01b43 interconnect: core: fix error return code of icc_link_destroy()

(From OE-Core rev: 91fcd094619e25d63a80231c3b776788504ce37b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
551ae27ea0 linux-yocto/5.10: qemuriscv32.cfg: RV32 only supports 1G physical memory
Integrating the following commit(s) to linux-yocto/5.10:

    a19886b00ea qemuriscv32.cfg: RV32 only supports 1G physical memory

(From OE-Core rev: 894f5328d395872f69bd48c59518bbafb7cbd61e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
fc7a4c3be9 linux-yocto/5.10: aufs fixes
It was reported that aufs was behaving incorrectly on arm/x86. Although
we don't have an exact fix for the issues, the Wind River guys were able
to come up with a minimal patch set to fix just the core issue, versus
a full aufs uprev.

We didn't have time to get this in before the release, but picking it up
in a dot release is sufficient. (given that it took several months for
the issue to be noticed).

Integrating the following commit(s) to linux-yocto/5.10:

    a8808e541750 aufs: linux-v5.10-rc1, no more f_op->read() and ->write()
    cb1c41dac775 for aufs: linux-v5.10-rc1, no more vfs_(read|write)f_t
    a5805df6583f aufs: linux-v5.10-rc1, no more set_fs()
    64e145dcca8c Revert "aufs: initial port to v5.10"

(From OE-Core rev: c290adec4e27f5d7987193e9a0749082f3ed3e20)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Stefano Babic
148ada9b35 libubootenv: upgrade 0.3.1 -> 0.3.2
This is a bugfix release which includes the following changes:

f4ab25d shared library: Link against zlib
e663439 Always fsync file writes
80b7f31 Treat '=' as an illegal character in variable names
950f541 libuboot_env: fix calculation of usable envsize
fb88032 Correct initialisations in libuboot_configure
20d1ec7 Force writing of environment if default is used
5ca11bd libuboot_env: correct length to usable env size length
cd4a8f1 libuboot_env_store: fix env double-null termination
9510164 uboot_env: fix infinite loop on short read (EOF)

(From OE-Core rev: ed270bd146139a85935544bc0c6f35c3ecc27313)

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Richard Purdie
fc277ba011 yocto-uninative: Update to 3.1 which includes a patchelf fix
(From OE-Core rev: 1d9d38eb6b3621fed58a217eeb4de1816e3e6487)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:38:47 +01:00
Khem Raj
b621ead6d5 gcc: Upgrade to GCC 11
Drop already upstream/backported patches

(From OE-Core rev: e64bf999a92aed3c6be38eae9e75ec9277638b95)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:48 +01:00
Khem Raj
4a72c681fa libgcc-initial: Do not build fp128 to decimal ppc functions
These functions depend on glibc headers e.g.
stdlib.h/fenv.h/string.h/stdio.h which do not exist when building
lbgcc-initial, and these functions are not needed during glibc build
so we are fine to disable them

introdcued with [1]
[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=781183595acba67a37c66f59a0c1d9b5fee7e248

(From OE-Core rev: 7883b4c1384fe30066072f39e9a930be537bc3b4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
7d3e35204f webkitgtk: Update patch status
These patches are accepted in webkit master ( 2.34+ )

(From OE-Core rev: 1e5b73f068cfe709bf7188ed3fff46a391b89897)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
7c84c70161 webkitgtk: Fix reproducibility in minibrowser
(From OE-Core rev: 8f08ca440b6c2ad3494808ffa4ec6091722c0339)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
68dd1a5400 busybox: Enable long options for enabled applets
certain applets are enabled but the long options are not enabled for
them, it results in subtle failures in ptests where its expecting these
options e.g. gzip --best is commonly used in many package tests e.g.

root@qemux86-64:/usr/lib# grep -r "\-\-best" *
acl/ptest/Makefile:GZIP_ENV = --best
attr/ptest/Makefile:GZIP_ENV = --best
coreutils/ptest/Makefile:GZIP_ENV = --best
ethtool/ptest/Makefile:GZIP_ENV = --best
libxml2/ptest/Makefile:GZIP_ENV = --best
lttng-tools/ptest/Makefile:GZIP_ENV = --best
opkg/ptest/Makefile:GZIP_ENV = --best
perl/ptest/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm:    COMPRESS     ('gzip --best')
python3.9/test/test_gzip.py:        for compress_level in ('--fast', '--best'):
...

this ensures that these options are enabled by default, which makes them more
compatible than now with coreutils provided utilities

busybox size grows by 4K which perhaps is acceptable

--rwxr-xr-x root       root           817704 ./bin/busybox.nosuid
+-rwxr-xr-x root       root           821800 ./bin/busybox.nosuid

This makes autopoint-3/gettext pass

This patch add all the long options to this fragment. The long options
for a tool will only get enabled if the corresponding tool/feature is
enabled in main defconfig, otherwise it will be ignored in final .config

(From OE-Core rev: 6a6c64426f544fcd376f2eabdb5aecc0ab04e541)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
dee41e92f0 cml1.bbclass: Return sorted list of cfg files
Since these files are passed to merge_config.sh its better to use a
sorted list, so we can be sure that this list is always fed in same
order irrespective of python versions on host

(From OE-Core rev: 3d949f286c29bcaaf4dfc0aaffd15f129d1bab2d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Robert P. J. Day
68e84ae936 sdk-manual: fix broken formatting of sample command
And add proper quoting around the first instance
of the "image" word, as it refers to a keyword in the
subsequent command.

(From yocto-docs rev: 1ffaa1db5a6eba53558b714f6071ea2e9bfe03e6)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
Michael Opdenacker
c075e28aa0 dev-manual: update references to Docker installation instructions
Update Docker installation URL on various plaforms, replacing
some URLs by the ones they now redirect to, renaming "Docker CE"
to "Docker Desktop" on Mac and Windows, and to "Docker Engine"
on GNU/Linux.

Stop mentioning "Docker Toolbox" which is now deprecated and
replaced by "Docker Desktop" on Mac and Windows.

(From yocto-docs rev: 8eb249aed50b7b5b2078648c9efd9c79262ae57f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
Robert P. J. Day
73d317c393 sdk-manual: "beablebone" -> "beaglebone"
(From yocto-docs rev: 29d8b6f07dddba43cf14706ec26cc8cf033d1040)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
Alexander Kanavin
e1ebdcff7c dev-manual/common-tasks.rst: correct the documentation for debuginfod
Particularly,
- correctly describe the use of DEBUGINFOD_URLS; drop it from bitbake variables
- all necessary component tweaks are enabled by default via DISTRO_FEATURES
- provide on-target examples of what to look for when things work properly

(From yocto-docs rev: 6d5d568d427b22675b999f94ead829ab1bef0b21)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
zhengruoqin
f353ba0ec2 wireless-regdb: upgrade 2020.11.20 -> 2021.04.21
(From OE-Core rev: df540a630f87c02898f7ce5703f63e9c7bd2c156)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
zhengruoqin
f03a094f3e python3-numpy: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: dc98345d7b6c5d4342415723d0b578c0268c646e)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
zhengruoqin
eb31bf7ea3 libmicrohttpd: upgrade 0.9.72 -> 0.9.73
(From OE-Core rev: 079d56b24b4e1a577b58516c00000184542f2dfe)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Christophe Chapuis
2d96636ebc rootfs.py: find .ko.gz and .ko.xz kernel modules as well
* with xz PACKAGECONFIG enabled in kmod and xz module compression enabled in kernel
  the do_rootfs task doesn't run depmod in the image, because it thinks there are no modules:
  NOTE: No Kernel Modules found, not running depmod

(From OE-Core rev: 9c13ce05eae0f126eb150e48709e9bd06e9280fa)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Stefan Ghinea
cd618cc017 xserver-xorg: fix CVE-2021-3472
Insufficient checks on the lengths of the XInput extension
ChangeFeedbackControl request can lead to out of bounds memory accesses
in the X server.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-3472

Upstream patches:
7aaf54a188

(From OE-Core rev: 6fec5fea942ce88e33e5cf4c2102d69ce25e7180)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Zqiang
c52b46825f rt-tests: Update rt-tests
When run cyclictest, the parameter enable NUMA. but in some BSP
which not support NUMA, will causes the test program to exit
directly and does not carry out subsequent operations, the
latest changes have fixed this problem. so update to the
latest branch to resolve.

(From OE-Core rev: a8a9b0d9155ee9f233e46021eae896552428c51a)

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
7cd4258049 libpam: Provide needed env for tst-pam_start_confdir ptest
tst-pam_start_confdir needs a file called confdir and it should reside
in directory pointed by srcdir env variable, therefore copy confdir into
ptest package and export srcdir before running the ptests

(From OE-Core rev: 149d84b7eba8240737a301d0fd75b69e8a767854)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
0a5079681e bash: Include files needed for run-heredoc ptest
These files are used by this ptest case

103,108d102
< cat: ../y.tab.c: No such file or directory
< cmp: ../y.tab.c: No such file or directory
< cat: /usr/lib/bash/ptest/config.h: No such file or directory
< cmp: /usr/lib/bash/ptest/config.h: No such file or directory
< cat: /usr/lib/bash/ptest/version.h: No such file or directory
< cmp: /usr/lib/bash/ptest/version.h: No such file or directory
FAIL: run-heredoc

(From OE-Core rev: 0672a3dae14462e590959e966fef22b6e2a2ad09)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Richard Purdie
86a66606fe pybootchart/draw: Avoid divide by zero error
When disk stats don't run frequenctly enough, we see divide by zero
errors. The code already has a fallback path so ensure we use it
for this case too.

[YOCTO #14360]

(From OE-Core rev: b71d30aef5dc2c360432c0dd4147859dd303ea48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
b80e6aeffe findutils: Do not use SIGSTKSZ
(From OE-Core rev: d2962c51e5588166b0618cd37364df32f040f671)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
984ffe3ab4 valgrind: Disable leak_cpp_interior test
This test is known to fail and especially is prominent with GCC-11
where stdc++17 is enabled by default

(From OE-Core rev: 7f549d7c1f0a3f3cf312ebe00ce8cfc0e787bf15)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
3ca350ebe7 bluez: Fix shadowing of pause function from libc
(From OE-Core rev: d5e0d319fc714a5af59ebec0b3a89851c04a6c4f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
e4f7cdf988 m4: Do not use SIGSTKSZ
Fixes
../../m4-1.4.18/lib/c-stack.c:55:26: error: missing binary operator before token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
      |                          ^~~~~~~~

(From OE-Core rev: 44ca8edd622782733d507e20a3d5ee9e44eb8be4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
d713988268 pkgconfig: Fix nativesdk builds for mingw sdk hosts
pkgconfig uses a vendored version of ancient glib-2.0, which does not
have many of fixes that current glib-2.0 will have, we enable this
internal version for nativesdk/native recipe, which on mingw hosts does
not work well, as its missing necessary mingw support. This patch
backports couple of fixes which makes GCC11 happy

but its going to be a constant source of pain as long as we support mingw

(From OE-Core rev: 348b1ebb917cdd65e6678078e23a3f9fa079badc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Richard Purdie
c19e2c23be patchelf: Fix alignment patch
The previous fix was in the right direction but needed to account
for the section alignment of the current section. Tweak the patch
to handle this.

(From OE-Core rev: e464efc07a8997c43998a9c6a9544be11ab4f303)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:20:12 +01:00
Richard Purdie
93aaa5e994 bitbake: runqueue: Handle deferred task rehashing in multiconfig builds
If the hash of a task changes and that hash is a deferred task (e.g. a multiconfig
build), we need to ensure that the hash change propagates through to all the tasks
else the build will run multiple copies of the task, sometimes with oddly differing
results as the outhashes of native tasks built in differing locations can confuse
things.

(Bitbake rev: 2db571324f755edc4981deecbcfdf0aaa5a97627)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Richard Purdie
76891afd76 bitbake: runqueue: Fix multiconfig deferred task sstate validity caching issue
We were testing the validity of deferred tasks setscene status "up front" which
is very unlikely to succeed and leads to cache invalidation issues. With the
change to rebuild the deferred task list, this status becomes out of sync. The
result was tasks being executed when they should not have been leading to extra
work for the build unnecessarily.

Instead, don't process validity status for deferred tasks and assume their
data will become available. If it doesn't, this will now result in a build
error as the setscene task will fail and the main task will run instead.

In theory we could try and track the state changes in the deferred list and
re-test validity then but I'm not sure it is worth the effort when the other
code path and errors in setscene tasks will give a pretty good idea of what
is happening anyway.

(Bitbake rev: edcafac13b3b241b6687419e59018d21811507a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Joshua Watt
f3e1a668fb bitbake: knotty: Re-enable command line logging levels
The "-l" command line options to enable specific logging domains wasn't
working with the switch to structured logging because they were only
being used to set the legacy logging domains. Fix this by implementing
the logic to parse the user options into the logging configuration.

(Bitbake rev: 005fc7a8c588d0b0bca382469645cbf481ad8e30)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Przemyslaw Gorszkowski
6da327c788 bitbake: fetch/s3: Add progress handler for S3 cp command
Adds progress support for fetchers from S3.

(Bitbake rev: 90d31b2d5a81e5f41fe95907c78fd2f5f36e39ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Przemyslaw Gorszkowski
a854068b52 bitbake: progress: LineFilterProgressHandler - Handle parsing line which ends with CR only
S3 commands need to handle different CR only line endings, update the handler
to cope with this.

(Bitbake rev: 3f7b9c1b429a4c68240e80832a8ef93ee210e5ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Minjae Kim
5e8e08df8b qemu: fix CVE-2021-3392
scsi: use-after-free in mptsas_process_scsi_io_request() of mptsas1068 emulator
(From OE-Core rev: 97ec10a1d7111dafde8609176ffa9e13cc1b8f1f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
a6ccd73562 libjitterentropy: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: 4c8a675e436e8e6b08baa5b4709244c04cc8f6f1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
67dfa8b02a libhandy: upgrade 1.2.1 -> 1.2.2
(From OE-Core rev: 9f36a62fc6ff59885b41d932a838ec9145a46dc6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
00e4a35b82 hdparm: upgrade 9.60 -> 9.61
(From OE-Core rev: e6c73cfb01299b5a98fb18063a04baacb59346fc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
db195e73bc glslang: upgrade 11.2.0 -> 11.4.0
(From OE-Core rev: 857f413e1db69e42262e230b4aff110a00a20429)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
4a68753196 glib-networking: upgrade 2.66.0 -> 2.68.1
(From OE-Core rev: 12a9bb0feed96a0f3e0795106c6d95755ccb42b0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
4dfba049f4 gdb: upgrade 10.1 -> 10.2
(From OE-Core rev: 7505165ac90ba34a465eb707c7e6c8ccbeae024d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Paul Barker
f7f459bf65 prservice: Use new connect API
The new prserv connect() function decouples the code in oe-core from the
exact classes and implementation details used within bitbake. This
allows us to more easily switch over to a new asyncrpc based prservice.

(From OE-Core rev: 6bf39c5c8cf09e3f2ce6eba13b9d18193bce9655)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
fc5b3c78e5 reproducible_build.bbclass: Enable -Wdate-time
This will help identifying packages using __TIME__, __DATE__ and
__TIMESTAMP__ macros in code, its a warning from the compiler and the
packages which use -Werror will break the build with this and where they
don't we will atleast have a warning in the build logs

(From OE-Core rev: 20335cd89001f5fb159f5f1b0c3bd5e40b8b2fb5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
eb6154c46e gcc-runtime: Fix __FILE__ related reproducablity issues
libstdc++ uses assertion macros which use __FILE__ macros and

  if (__builtin_expect(!bool(_Condition), false))                      \
    std::__replacement_assert(__FILE__, __LINE__, __PRETTY_FUNCTION__, \
                              #_Condition)

This ends up using absolute paths into build tree for the cases where
the charconv header is used, therefore replace the file prefix paths
with on-target paths to make them build dir independent

(From OE-Core rev: 972c50d6e46ee9dfba8b8ea3867ebdbf24001e6e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
3b33c0870e ltp: Filter out -ffile-prefix-map
ffile-prefix-map is also needed for reproduble builds and when
introduced can be handled

(From OE-Core rev: 1f8132450b0192ad0c9f35f8b5dbac186c240e29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
bc0a58343b openssl: Filter out -ffile-prefix-map as well
(From OE-Core rev: 1829fa0bda9a9388c3134866c471f26ec5658c36)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
08989d4f56 libid3tag: Filter -ffile-prefix-map too
helps when compiler has -ffile-prefix-map flag which helps
reproducibility as well

(From OE-Core rev: c3799bfdcc37ef139061aef22d125873607b0965)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
be3912baf9 libjpeg-turbo: Use --reproducible option for nasm
This ensures that nasm version and timestamps do but appear in build
outputs

(From OE-Core rev: 2f69c00c4bc1de6cd518fd78f67ff3ca863392f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Petr Vorel
efbef1daa3 ltp: Replace musl patches with do_patch[postfuncs]
MUSL related build fixes are not going to be upstreamed.  They just not
compile broken files, thus replace them with upstream solution for CI:
just deleting files for musl (easier to maintain).

(From OE-Core rev: c781677fd5f4e15bde17114468d9f66ba5dc38a2)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
3f657a908e mesa: upgrade 21.0.2 -> 21.0.3
(From OE-Core rev: a89ed8ce30a5830a0ac90aa633ec466b4e3a0ba1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Richard Purdie
cde414f571 patchelf: Fix note section alignment issues
Improve note section normalization was added to patchelf in recent versions
however if fails if there are two note sections which aren't sized to match
section alignment. Tweak the code to account for section alignment.

This fixes patchelf failures on the autobuilder, particularly to ccache-native.

(From OE-Core rev: fee8dde0d597b511b37d8dcf215e8355980d5f2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:43:11 +01:00
Richard Purdie
19c365d040 libxcrypt: Update to 4.4.19 release and fix symbol version issues
This patch upgrades to the 4.4.19 release and replaces a configure patch
from "libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat" with
a fix to avoid leading spaces in CFLAGS causing failures.

The license changed a few filenames listed in the license but the overall
license remains unchanged.

(From OE-Core rev: 7a2144f065c913ef189011b94d90de4dde51a347)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30 16:42:25 +01:00
Sakib Sajal
c21419b1fe buildstats.bbclass: collect data in the same file.
Previously "at interval" and "on failure" logs were collected
in separate files. Collect both types of logging in the same
file for better analysis.

Introduced new variable which allows different set of commands
to be run by the different logging, interval or failure. The
variables are BB_LOG_HOST_STAT_CMDS_INTERVAL and
BB_LOG_HOST_STAT_CMDS_FAILURE respecteviely.

(From OE-Core rev: 4fbf422351668f755a14811ac39161c889087e81)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 23:43:57 +01:00
Paul Barker
ebb7adac03 bitbake: prserv: Add connect function
This function abstracts the setup of a PR service client connection so
that openembedded-core doesn't need to be updated any time the details
are changed.

(Bitbake rev: d892287b31f81b075983ba500be265f75b53df64)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
ad5c898808 bitbake: prserv: Drop unused dump_db method
(Bitbake rev: ecb7bf34eac02ff58dbc27b3768ceaf4adb1c9cd)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
ea647326d1 bitbake: prserv: Drop obsolete python version check
Bitbake no longer supports Python 2 so this version check is obsolete.

(Bitbake rev: 45eb6c6e124e507012df9c288f1fbde0e7899e5d)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
421e86e7ed bitbake: hashserv: Refactor to use asyncrpc
The asyncrpc module can now be used to provide the json & asyncio based
RPC system used by hashserv.

(Bitbake rev: 5afb9586b0a4a23a05efb0e8ff4a97262631ae4a)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
244b044fd6 bitbake: asyncrpc: Common implementation of RPC using json & asyncio
The hashserv module implements a flexible RPC mechanism based on sending
json formatted messages over unix or tcp sockets and uses Python's
asyncio features to build an efficient message loop on both the client
and server side. Much of this implementation is not specific to the
hash equivalency service and can be extracted into a new module for
easy re-use elsewhere in bitbake.

(Bitbake rev: 4105ffd967fa86154ad67366aaf0f898abf78d14)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
1023671823 bitbake: hashserv: Use generic ConnectionError
The Python built-in ConnectionError type can be used instead of a custom
HashConnectionError type. This will make code refactoring simpler.

(Bitbake rev: 8a796c3d6d99cfa8ef7aff0ae55bb0f23bbbeae1)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Alexander Kanavin
bf348561f3 core-image-multilib-example: base on weston, and not sato
(From OE-Core rev: 56cd96651c6304712fd544fbc9b69c986d2b2efe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Alexander Kanavin
06413d33b3 oeqa/selftest: transition to weston images
For readonly rootfs tests core-image-weston
is appended; everywhere else it replaces core-image-sato.

(From OE-Core rev: 75e042db853b9bf9a70ff8a5abe6d45ebb0b77a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Alexander Kanavin
377a73d5b7 oeqa/core/tests/test_data.py: use weston image instead of sato
(From OE-Core rev: c2ccd8c8144cdda52b858589f7d5d3a15ab28b90)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Alexander Kanavin
f66d90a06f core-image-weston: add sdk/ptest images
This is the first step towards rebasing the AB matrix from sato to
weston; the eventual goal is to keep sato only in core-image-sato
image.

The broader rationale is that X11 is effectively deprecated technology
at this point with only minimal maintenance; standalone X server will not
be developed any further, and all attention currently is towards making
it work well under Wayland.

I believe YP should be defaulting to Wayland and not X11.

(From OE-Core rev: 3a6996f87a9e32f2e6e668dce98f77d0b40fceb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Reto Schneider
73bdeae2fc license_image.bbclass: Fix symlink to generic license files
Link to the canonical filename of a license as only this one exists.

Fixes commit 670fe71dd18ea675f35581db4a61fda137f8bf00
[license_image.bbclass: use canonical name for license files].

(From OE-Core rev: 64b1ba978e079c345e1f7fbd1bf44052fc3dd857)

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Reto Schneider
62eb846232 license_image.bbclass: Detect broken symlinks
Find and report symlinks which point to a non-existing file.

(From OE-Core rev: 81809a1ffe67aade1b2ed66fe95044ffbf7d3df8)

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Sakib Sajal
f8b2e0f600 oe-time-dd-test.sh: collect cooker log when timeout is exceeded
Collect the last 30 lines from the cooker.log
whenever the timeout is exceeded.

(From OE-Core rev: 58f7cd4d6186525f08f3027975530d647cbfa26b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
6db9f63412 gnutls: Point to staging area for finding seccomp libs and includes
This ensures that if libseccomp is installed on build host then it does
not resort to use it.

Fixes
checking for libseccomp... (cached) yes
checking how to link with libseccomp... /usr/lib/libseccomp.so

(From OE-Core rev: 3751ac58720a500e3b749b2296922d7c82db49a1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Saul Wold
3acbec85b0 qemurunner: Add support for qmp commands
This adds support for the Qemu Machine Protocol [0] extending
the current dump process for Host and Target. The commands are
added in the testimage.bbclass.

Currently, we setup qemu to stall until qmp gets connected and
sends the initialization and continue commands, this works
correctly. If the UNIX Socket does not exist, we wait an timeout
to ensure to socket file is created.

With this version, the monitor_dumper is created in OEQemuTarget
but then set in OESSHTarget as that's where we get the SSH failure
happens. Python's @property is used to create a setter/getter type
of setup in OESSHTarget to get overridden by OEQemuTarget.

By default the data is currently dumped to files for each command in
TMPDIR/log/runtime-hostdump/<date>_qmp/unknown_<seq>_qemu_monitor as
this is the naming convenstion in the dump.py code.

We use the qmp.py from qemu, which needs to get installed in the
recipe-sysroot-native of the target image.

[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt

(From OE-Core rev: 42af4cd2df72fc8ed9deb3fde4312909842fcf91)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Saul Wold
2c86aba6f0 qemu-system-native: install qmp python module
The qmp python module supports the Qemu Machine Protocol [0].
This module needs to be installed in a known location so the
qemurunner python script can find the qmp module.

This change causes it to be installed in the recipe-sysroot-native
of the target image and that directory can be added to the python
sys.path that needs to use the qmp.py module.

[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt

(From OE-Core rev: 46a60f67562a6ae227e018228212fc797d1f2795)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
8cf9b6529e gcc-cross-canadian: Install LTO linker plugin to BFD searchable location
This helps binutils provided tools ar/ranlib/nm to find the LTO linker
plugin automatically as well which makes it equivalent to gcc-ar/gcc-nm/gcc-ranlib

(From OE-Core rev: 7d8d0b90bea7ea01e1e9ab0ff98f22431f68a506)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
fb21d2e147 gcc-cross: Install linker LTO plugin for binutils tools
This will ensure that ar/ranlib/nm can load the lto linker plugin like
gcc-ar, gcc-nm, gcc-ranlib does, this will let the behaviour match
between gcc wrappers for these tools, this should help LTO builds for
packages

(From OE-Core rev: d6658505089234476c1b35fc08fef1eb4f121e85)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
dfc632785d bitbake.conf: Use gcc-nm as default NM
This ensures linker LTO plugin is loaded correctly

(From OE-Core rev: d6ffd683bf635548e0bfb3fd6458ed03e26ec2bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
d18f8178b8 gcc-target: Create a LTO plugin symlink in bfd-plugins directory
This directory is scanned by binutils provided ar,ranlib,nm for plugins
that it can load automatically, putting liblto_plugin.so in their means
we do not need gcc-ar, gcc-nm, gcc-ranlib particularly as normal
ar/ranlib/nm tools will work equally well as they can now use this
linker plugin by default

This also mean we can revert back to using ar/ranlib/nm as default
providers for AR/NM/RANLIB on target

(From OE-Core rev: 5aae5812223792d5e5bd57e024de50fbcd1e6da5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Nicolas Dechesne
b3426e89f5 bitbake: doc: bitbake-user-manual: fix typo left over from Sphinx migration
Fixes d99760cc687c (sphinx: last manual round of fixes/improvements)

Reported-by: Michal Piechowski <m.z.piechowski@gmail.com>
(Bitbake rev: 00ce48919de720639eda2b6f7065a82b641e5167)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 15:26:14 +01:00
Michael Opdenacker
7e9305613d bitbake: doc: bitbake-user-manual: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed
by code insertion.

Automatically substituted through the command:
sed -i -z "s/:\n\s*::/::/g" file.rst

This generates identical HTML output.

(Bitbake rev: 51c80fc3497eecc8e50194fe1ff8069b59f03eda)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 15:26:14 +01:00
Michael Opdenacker
91aacf4ed3 bitbake: doc: bitbake-user-manual: simplify colon usage
- This replaces instances of ": ::" by "::", which
  generates identical HTML output

(Bitbake rev: fd8ce4dcaff3aae395f9945fb0a3be54905e1727)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 15:26:14 +01:00
Khem Raj
a836bd6fc0 default-distrovars.inc: Remove seccomp for riscv32
libseccomp needs too be ported to rv32 first

(From OE-Core rev: ecf167c6419afd483f5291043a1d5072d388866b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:16:31 +01:00
Chen Qi
c9e8724e26 rsync: fix CVE-2020-14387
Backport patch to fix CVE-2020-14387.

(From OE-Core rev: 13f331436747ebb8e9211feee3aa774f1acd0fee)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
71c216b4be default-distrovars.inc: Add seccomp to DISTRO_FEATURES_DEFAULT
Since xattr is included, seccomp should be too

(From OE-Core rev: e164bd55ef5becf691c2755d8d6af45a490fe9b2)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Khem Raj
3db18236b9 apt: Fix build on musl when seccomp is enabled
(From OE-Core rev: 3ffce694d75977895557ff61f27b627c1a11be12)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
0086576160 apt: Disable libseccomp
This isn't in DEPENDS and isn't configured. It can detect the library when
pulled in via other dependencies meaning the build isn't deterministic.

Ultimately this could become a PACKAGECONFIG. It doesn't build on musl
so disable it for now until someone fixes and sorts this out properly.

(From OE-Core rev: 1425fe0f28a31b1d4004736b9edb036680e12c92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
f7c278c330 qemu: Enable seccomp if FEATURE is set
(From OE-Core rev: c057509306319cc0c2c7ef89154995ffd96c5646)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
528547a46a systemd: Enable seccomp if FEATURE is set
(From OE-Core rev: c9d4fb93429a90191dc77e1dbc183535d66952cb)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
65ecffc430 gnutls: Enable seccomp if FEATURE is set
(From OE-Core rev: f2527b5567252c7da4fbd863e119c8114e6debcd)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
280a83d4af libseccomp: Fix reproducibility issue
Rather than installing libtool wrapper scripts which won't work on target
and aren't reproducible, use the real binaries.

(From OE-Core rev: 8afdf055b7b8bad6f0f13c3cd184d019c50a1e25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
e07821846b libseccomp: Add MAINTAINERS entry and HOMEPAGE
Add entries for the migrated recipe to passify the various checks.

(From OE-Core rev: cd49367af2b3daa8d3012ae2b8ace380d41cc0b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
241c7d2e67 libseccomp: move recipe from meta-security to core
ptest results:
Regression Test Summary
 tests run: 1404
 tests skipped: 369
 tests passed: 1402
 tests failed: 2
 tests errored: 154

Add feature_check so that the other recipes who can take
advantage of this funtionality can enable it.

(From OE-Core rev: 5b0182f5c01c8b10b4b65f8af55d682be4839947)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Marek Vasut
4d05decb97 linux-firmware: Package RSI 911x WiFi firmware
The RSI 911x WiFi firmware is already part of the linux-firmware
repository, package it to make it easily available.

(From OE-Core rev: cc44b71f6ea68ca0f483d635df7dc7b9905b1593)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
bf59f39653 yocto-check-layer: Avoid bug when iterating and autoadding dependencies
If iterating a layer with multiple components and auto-adding dependencies
the tests can break since layers are never removed and order isn't guaranteed
to account for that.

Fix this by resetting the layer list back to the original list each time
before auto-adding the dependencies in each case.

This fixes scanning of meta-openembedded in particular where the sublayers
may not be added in order of minimal dependency.

(From OE-Core rev: bf1b467dacf345379cd5d84a1c9b3b0d844d5c91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Stefan Ghinea
01bd284339 libssh2: fix build failure with option no-ecdsa
libssh2 fails at do_compile if
DEPRECATED_CRYPTO_FLAGS = "no-ecdsa" is set in recipe:

../src/.libs/libssh2.so: undefined reference to
`LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY'

References:
https://github.com/libssh2/libssh2/issues/549

Upstream patches:
1f76151c92

(From OE-Core rev: 2bb146e7315f8080cb49a95212231ccb76a4a822)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Richard Purdie
35d6da6fe5 pyyaml: Add missing HOMEPAGE
Add a HOMEPAGE to the new recipe to avoid sanity test failures.

(From OE-Core rev: 23be2a27e16d711f928561d96f901a25f5f29998)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
9be7098de3 python3-pyyaml: Add recipe
This is migrated from meta-python

(From OE-Core rev: 0a8600f9cec0a88b90693302554c82cfe28152ae)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
c3a3153810 python3-jinja2: Enable ptests
Needed dependencies on toml and pytest and unixadmin
are in core now

(From OE-Core rev: c983359eae9d7e3d729af36755612916dabe32d6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
b39ea6620f python3-markupsafe: Enable ptests
pytest is now in OE-Core

(From OE-Core rev: 48c83fc1141ff22c9ede0c82acec896937d61357)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
64e26d1e6b python3-docutils: Upgrade to 0.17.1
This was in meta-python for a while so merge the changes here
and  upgrade, once applied, delete from meta-python

License-Change: Deleted legacy stylesheets from LICENSE [1]
                Updated URI for BSD-2 [2]

[1] https://sourceforge.net/p/docutils/code/8487/
[2] https://sourceforge.net/p/docutils/code/8554/

(From OE-Core rev: 757d87f676d542f49760ef4ed8bea238719af159)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Changqing Li
770532164f gcr: fix one parallel build failure
ui/gcr-live-search.c includes gcr/gcr-marshal.h. Because missing
dependency, following error occurred intermittently during doing parallel
build:

 -o ui/libgcr-ui-3.so.1.0.0.p/gcr-live-search.c.o -c ../gcr-3.38.1/ui/gcr-live-search.c
../gcr-3.38.1/ui/gcr-live-search.c:32:10: fatal error: gcr/gcr-marshal.h: No such file or directory
   32 | #include "gcr/gcr-marshal.h"
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

(From OE-Core rev: a6690c22952a315e6c6734a5936d9eb18e1b3004)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Mikko Rapeli
7d228861e8 unzip: use optimization from bitbake
Build with bitbake default optimizations, e.g. O2,
instead of custom O3. Reduces unzip binary package
size from 304401 to 283921 bytes, and enables building
with Os to even further reduce binary size if needed
and configured for the whole system.

(From OE-Core rev: 1330ac1902360cc5e01b69a6065963bf7b92d4bb)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
dcfdecb9ff qemu: fix CVE-2021-20257
(From OE-Core rev: 547ac986a74cfcae39b691ebb92aadc8436443ea)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
4284f80d1f qemu: fix CVE-2021-3416
(From OE-Core rev: e2b5bc11d1b26b73b62e1a63cb75572793282dcb)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
ea7850cd83 qemu: fix CVE-2021-3409
(From OE-Core rev: e2fb8c15a64e1f5db678e8e95924da8c88a188c0)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
2c01852bcb qemu: fix CVE-2021-20221
(From OE-Core rev: 59a44f8c70d4a026ae74e44b9d70100029c691b5)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
5c59b634a2 qemu: fix CVE-2020-29443
(From OE-Core rev: 481e012de865ee232fa5a233e9f1d4fc7a2232ab)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
640c6d1191 qemu: fix CVE-2021-20181
(From OE-Core rev: c2f79065ef0684f2c0bdb92f1b03e690ab730b8c)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Kai Kang
e7746189de kernel-yocto.bbclass: chdir to ${WORKDIR} for do_kernel_checkout
It chdirs to ${S} at the beginning of task do_kernel_checkout. Then it
removes ${S} when it still resides in ${S}. It may fail to run the task
do_kernel_checkout when bitbake is called by third-part wrapper script.
So chdir to ${WORKDIR} by default for do_kernel_checkout. And it will
chdir to ${S} afterwards in task do_kernel_checkout.

(From OE-Core rev: cf0e3397d3f86c7ea1f3c66c50a44d6205f5921b)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Kai Kang
9bbd9cab86 cmake.bbclass: remove ${B} before cmake_do_configure
It is fallible to remove ${B} in directory ${B} itself. And it does fail
when call bitbake by third-party wrapper script.

Use flag 'cleandirs' to remove ${B} first if build out of source tree.

(From OE-Core rev: 0fb6280432a36985590d9a714a5f11164aaebb51)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Mikko Rapeli
d2c176d1ca lz4: use CFLAGS from bitbake
Currently lz4 uses it's own defaults which include O3 optimization.
Switch from O3 to bitbake default O2 reduces binary package size
from 467056 to 331888 bytes. Enables also building with Os if needed.

(From OE-Core rev: abaaf8c6bcd368728d298937a9406eb2aebc7a7d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:04 +01:00
Paulo Cesar Zaneti
de0c3226ab perl: fix startperl configuration option for perl-native
Unlike vanilla Perl "Configure" script, perl-cross "configure" does not
derive "startperl" from "bin". It instead derives from "perlpath".

This patch aims to fix "startperl" configuration option for perl-native by
correctly setting "perlpath" on perl-cross "configure" script.

It also changes do_install_append_class-native task to comply with
cpan_do_install task.

(From OE-Core rev: f2d1523b19cb066a4a06609f036822fe4a8b43f0)

Signed-off-by: Paulo Cesar Zaneti <paulo.zaneti@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:04 +01:00
Trevor Gamblin
4aff77c851 ref-manual/variables.rst: Add incompatibility warning for SERIAL_CONSOLES_CHECK
See [YOCTO #13921]

Add details to the SERIAL_CONSOLES_CHECK entry to clarify that it
doesn't work with read-only rootfs.

(From yocto-docs rev: cefd66301a40f9048499879674e467543f704c44)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Michael Opdenacker
c3c6de2187 manuals: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed
by code insertion.

Automatically substituted through the command:
sed -i -z "s/:\n\s*::/::/g" file.rst

This generates identical HTML output.

(From yocto-docs rev: 28e2192a7c12d64b68061138a9f6c796453eebb1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Michael Opdenacker
773536c333 manuals: simplify code insertion
This replaces instances of ": ::" by "::", which
generates identical HTML output

(From yocto-docs rev: 1f410dfc7c16c09af612de659f8574ef6cff4636)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Michael Opdenacker
21b42cc54f dev-manual: fix code insertion
Fix a misaligned code insertion statement, causing
the code block to be misaligned compared to the other ones
in subsequent paragraphs

(From yocto-docs rev: bc03d122a35ac027d0aab5bfd70b366933fd7356)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Vineela Tummalapalli
1ea11c5c20 Adding dunfell 3.1.7 to the switcher and release list.
(From yocto-docs rev: bed221137de77340280d71b4a8b0f2f60addc566)

Signed-off-by: Vineela Tummalapalli <vineela.tummalapalli@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Diego Sueiro
cda69e0166 bitbake: layerindex: Add --fetchdir parameter to layerindex-fetch
Introduce --fetchdir parameter to layerindex-fetch enabling users to choose
the directory to fetch the layers different from BBLAYERS_FETCH_DIR.

[YOCTO #14347]

(Bitbake rev: 784a904faffac723ddf58ba765b9dd11ac068de5)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:13:13 +01:00
Diego Sueiro
9fae310dd2 bitbake: layerindex: Fix bitbake-layers layerindex-show-depends command
Running 'bitbake-layers layerindex-show-depends meta-filesystems' fails with:
```
Traceback (most recent call last):
  File "<...>/poky/bitbake/bin/bitbake-layers", line 93, in <module>
    ret = main()
  File "<...>/poky/bitbake/bin/bitbake-layers", line 86, in main
    return args.func(args)
  File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 209, in do_layerindex_show_depends
    self.do_layerindex_fetch(args)
  File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 182, in do_layerindex_fetch
    args.shallow)
AttributeError: 'Namespace' object has no attribute 'shallow'
```

Initialize the shallow attribute to fix it.

(Bitbake rev: 71f095c147fe6aa7b5e6272002e0498cf9494256)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:13:13 +01:00
Khem Raj
93c73856f4 llvm: Upgrade to LLVM 12 release
Drop backported patch

(From OE-Core rev: ca72375a3bbebcb9a7af4dce3c06716ac2c0f5fc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
cc6b1e2b1d wpebackend-fdo: upgrade 1.8.2 -> 1.8.3
(From OE-Core rev: 3aa145d326cf22aa423940e8b09f609fe9c27cbe)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
aac6941d84 boost: upgrade 1.75.0 -> 1.76.0
(From OE-Core rev: 14b597845ad7b97e84c652ce56e137dc4b9d23b9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
fa1208406e tiff: upgrade 4.2.0 -> 4.3.0
(From OE-Core rev: 702c5c7973c77c51d5ce8de11e73c708c55927a3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
05343e7611 python3-cython: upgrade 0.29.22 -> 0.29.23
(From OE-Core rev: 7f0482bf6709277f2506e71d828f6bed3ab72263)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
7bc3a900a6 mtools: upgrade 4.0.26 -> 4.0.27
(From OE-Core rev: 86777da8f46e6ddf9b04a80fa1ecbcf41faff21c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
41334b0064 openssh: upgrade 8.5p1 -> 8.6p1
(From OE-Core rev: 5fd4497e7ad156fa426bb1913846c2b65a9fbd1b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
b02c5193c2 libsolv: upgrade 0.7.18 -> 0.7.19
(From OE-Core rev: 74355aff39b4bbed9dc3ecb403e679d1aa0edbb5)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
00bfb40b68 libical: upgrade 3.0.9 -> 3.0.10
(From OE-Core rev: 8f67f233c77ef03572aee8b8c484b634f42b668b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
73639903c2 libhandy: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: 089d75b47d4d1a7b2c68b8b310cddf40b4b83199)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
6d774dadd2 libedit: upgrade 20210216-3.1 -> 20210419-3.1
(From OE-Core rev: be628ddfbc401242e0884916ccf4abea336c4ad9)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Khem Raj
e165bf75b1 musl: Update to latest master
changelog [1]

* aad50fcd fix regression in dl_iterate_phdr reporting of modules with no TLS
* 0ea78a64 nscd: fall back gracefully on kernels without AF_UNIX support
* 95a540e1 mallocng/aligned_alloc: check for malloc failure
* 2c00f95c make epoll_[p]wait a cancellation point
* 521b4d27 fix dl_iterate_phdr dlpi_tls_data reporting to match spec
* 122002f0 remove no-longer-needed special case handling in popen
* 8ef9d46f use internal malloc for posix_spawn file actions objects
* cfdfd5ea don't fail to map library/executable with zero-length segment maps
* e48e99c1 suppress isascii() macro for C++
* b129cd86 guard against compilers failing to handle setjmp specially by default
* 3309e2d7 aarch64/bits/mman.h: add PROT_MTE from linux v5.10
* 44331150 aarch64/bits/hwcap.h: add HWCAP2_MTE from linux v5.10
* 42aa19a0 add aarch64/bits/mman.h with PROT_BTI from linux v5.8
* b7554b5e aarch64/bits/hwcap.h: add HWCAP2_BTI from linux v5.8
* 87b8f148 signal.h: add MTE specific SIGSEGV codes from linux v5.10
* 19239cde sys/prctl.h: add MTE related constants from linux v5.10
* 8b29f023 elf.h: add NT_ARM_TAGGED_ADDR_CTRL from linux v5.10
* d7210f0c sys/mman.h: add MAP_HUGE_16KB from linux v5.10
* a7456524 sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
* 54ca1cc7 sys/membarrier.h: add new constants from linux v5.10
* fd285f9d bits/syscall.h: add process_madvise from linux v5.10
* 49b6df3d fix error return value for cuserid
* cc577d0e fix misuse of getpwuid_r in cuserid
* a75283d7 cuserid: don't return truncated results
* ef137da6 cuserid: support invocation with a null pointer argument

[1] https://git.musl-libc.org/cgit/musl/log/\?qt\=range\&q\=e5d2823631bbfebacf48e1a34ed28f28d7cb2570..aad50fcd791e009961621ddfbe3d4c245fd689a3

(From OE-Core rev: 601d8e87a7c796bd9d91d1ffa090d3b1afcf2a2d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Yi Fan Yu
c707bf9f80 valgrind: Enable drd/tests/bar_bad* ptest
Revert some of 7f7d2fa18267090891754d976cbc3e628324d3dd

Was not able to reproduce the reported non-deterministic failure.
(ran 20 times on qemux86-64 on a relatively isolated machine)
it might be related to the AB-INT issues,
but it seems to only affect ARM builders now.

Also no action taken by upstream valgrind to fix
https://bugs.kde.org/show_bug.cgi?id=430321

Let it run on AB to see if failure was fixed by uprev to 3.17.0.
if not, we can gather more data from the AB failure.

[YOCTO #14051]

(From OE-Core rev: c0ea23832a96352d8eeda5cebc9d37a22c5d5439)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Yi Fan Yu
223ef10436 re2c: Upgrade 2.0.3 -> 2.1.1
(From OE-Core rev: 09bfe5cbd68f2e837c99c9d7554e9fadd009ad65)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Khem Raj
4118415d4b go: Use dl.google.com for SRC_URI
golang.org/dl is resolving to this anyway

(From OE-Core rev: 8470e38ac1d9f9bb6d8a4ee43724af452d080057)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Khem Raj
70a757bbec binutils: Fix linking failures when using dwarf-5
Since GCC 11 will switch to dwarf-5 as default, this patch will be
required soon

(From OE-Core rev: 9dc9bf85f53c6712dd047df5fd718e9895946fd5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Alexander Kanavin
c13be2e1dc meta/lib/oeqa/core/tests/cases/timeout.py: add a testcase for the previous fix
This is the sequence that didn't properly operate:

- a test case that skips and isn't executed
- a second test case that is skipped via a dependency decorator, and sets a timeout
- a third test case that takes longer than the timeout from the second
test case

Without the fix, the timeout is not cleared, and the third test case is
erroneously aborted. With the fix, the timeout is cleared and the third
test case is able to complete.

(From OE-Core rev: 54ef07a9aa1af8f41cfb9a4802929c918efc43c8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Alexander Kanavin
b40f78a5c7 oeqa: tear down oeqa decorators if one of them raises an exception in setup
Some of the decorators need proper cleanup, such as OETimeout
which sets a signal handler that needs to be cleared via teardown.
If this is not done then the signal gets called later with unpredictable effects.

This can be seen if there's a test that is skipped via a decorator and sets a timeout
at the same time: the timeout isn't cleared, and is invoked later in a
completely unrelated context. The test case for this is added in the
next commit.

(From OE-Core rev: f42a08e1aabf1ca57e0c09d69fb69cc717c7f156)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Chen Qi
942b80e82e weston: fix build failure due to race condition
The wayland.c actually include 'xdg-shell-client-protocol.h' instead of
the server one, so fix it. Otherwise, it's possible to get build failure
due to race condition.

(From OE-Core rev: bd2a9a4d82f66f1ff414c392bcf234d8dbd5e553)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Mingli Yu
ce9e341775 rpm: Upgrade to 4.16.1.3
Fixes some security vulnerabilities such as CVE-2021-3421 and
CVE-2021-20271.

Rebase 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
to avoid fuzz warnings.

(From OE-Core rev: 5dcd9c673502dab276b4fb4e6b4c7c1d1d9425ef)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Martin Jansa
a8ae23104c ofono: prevent using bundled ell headers and fix build with ell-0.39
* -I../ofono-1.31 is included when building drivers/mbimmodem/mbim.c and then
  ell.h will happily include ell/util.h from there:

  # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 1 3 4
  # 23 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 3 4
  # 1 "../ofono-1.31/ell/util.h" 1 3 4
  # 26 "../ofono-1.31/ell/util.h" 3 4
  # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 1 3 4
  # 26 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 3 4
  # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/bits/libc-header-start.h" 1 3 4
  # 27 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 2 3 4

* and it gets more interesting because unlikely() macro was dropped from ell/util.h in:
  https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=2a682421b06e41c45098217a686157f576847021
  and ofono builds from git (which doesn't bundle ell) were failing with:

drivers/mbimmodem/mbim-message.c: In function 'message_iter_next_entry_valist':
drivers/mbimmodem/mbim-message.c:504:8: warning: implicit declaration of function 'unlikely' [-Wimplicit-function-declaration]
  504 |    if (unlikely(indent > MAX_NESTING))
      |        ^~~~~~~~
...
x86_64-webos-linux-libtool: link: x86_64-webos-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/dbus-1.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/dbus-1.0/include -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/glib-2.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/glib-2.0/include -DOFONO_PLUGIN_BUILTIN -DPLUGINDIR=\"/usr/lib/ofono/plugins\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o unit/test-mbim unit/test-mbim.o drivers/mbimmodem/mbim-message.o drivers/mbimmodem/mbim.o  -lell
drivers/mbimmodem/mbim-message.c:1389: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:1255: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:514: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:504: error: undefined reference to 'unlikely'
collect2: error: ld returned 1 exit status

  while build from 1.31 tarball was passing OK, because using this older
  bundled ell/util.h

  delete bundled ell as we always enable external ell to make sure this
  doesn't happen again and fix mbimmodem to build with ell-0.39

(From OE-Core rev: 25f44ce327aff94c956d431c3cdf92adc39b2eeb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Diego Sueiro
d00d7e6621 oeqa/selftest/bblayers: Add test case for bitbake-layers layerindex-show-depends
(From OE-Core rev: 80090c31164d62a169431ab71c4aaee5475b6f40)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Alexander Kanavin
dd35211b69 default-distrovars.inc: add debuginfod to default DISTRO_FEATURES
Obtaining debug information by having it served automatically via http
is far more pleasant than messing about with debugfs and gdbserver or
transferring and installing -dbg packages by hand.

I believe we should follow the desktop distros and have it enabled
out of the box. Please see the following commit for the description
of how it works.

(From OE-Core rev: 024c88c82791a113b614abf61ffd82e097bf21d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:09 +01:00
Khem Raj
972888296c elfutils: Make 64bit time_t fix generic
Apply it always since more than x32 needs it

(From OE-Core rev: faf5034876c319aa51d6b3e21265d0984566bb9e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Alexander Kanavin
2cd3d10d36 elfutils: adjust ptests for correct debuginfod testing
(From OE-Core rev: fdfe429dad9b9ab685caf3a61876f7a23453aedd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Alexander Kanavin
1b349efbc2 elfutils: correct debuginfod builds on x32
(From OE-Core rev: 53cd394a6fe409eef3542832ad81ae3dd2cc6aad)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Changqing Li
46edbab0b3 libpam: make volatile files created successfully
(From OE-Core rev: f0de19e31122abd225bd75c6202839094194a36d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
d601dfdb74 oeqa/manual/bsp-hw.json : remove Test_if_usb_hid_device_works_well_after_resume_from_suspend_state manual test
Remove the Test_if_usb_hid_device_works_well_after_resume_from_suspend_state test as it was replaced by the new automated runtime oeqa/runtime/cases/usb_hid.py.

(From OE-Core rev: 61b0eba90ba4676967b96b5561f99ee2294352a0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
7542a292de oeqa/manual/bsp-hw.json :remove Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test
Remove the Check_if_RTC_(Real_Time_Clock)_can_work_correctly test as it was replaced by the new automated runtime oeqa/runtime/cases/rtc.py.

(From OE-Core rev: ea5d87f014b33b88402176ae7e07f8ff216415a0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
711039f052 oeqa/manual/bsp-hw.json : remove click_terminal_icon_on_X_desktop manual test
Remove the click_terminal_icon_on_X_desktop test as it was replaced by the new automated runtime oeqa/runtime/cases/terminal.py.

(From OE-Core rev: ce10543b03349a68dd2639990b8c267110dcab2e)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
3d02cc072e oeqa/manual/bsp-hw.json : remove standby and Test_if_LAN_device_works_well_after_resume_from_suspend_state manual test
Remove standby and Test_if_LAN_device_works_well_after_resume_from_suspend_state test as they was replaced by the new automated runtime oeqa/runtime/cases/suspend.py.

(From OE-Core rev: 2b99a35f0131300a121304ac46f2d29b593128c0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
495f029389 oeqa/manual/bsp-hw.json : remove ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP manual test
Remove ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP test as they was replaced by the new automated runtime oeqa/runtime/cases/ethernet_ip_connman.py.

(From OE-Core rev: bb7d753e636c81d1a9d48210da6910c711e4f2df)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
99d8cd1201 oeqa/manual/bsp-hw.json : remove boot_from_runlevel_3 and boot_from_runlevel_5 manual test
Remove boot_from_runlevel_3 and boot_from_runlevel_5 test as they was replaced by the new automated runtime oeqa/runtime/cases/runlevel.py.

(From OE-Core rev: f4f9dffddf699cef63ab5554e2f92ae026574e89)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Richard Purdie
63b0992ab7 patchelf: Backport fix from upstream for note section overlap error
Backport a patch from upstream to fix an error:
patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections

seen on our ubuntu1604 autobuilder worker.

(From OE-Core rev: 80e8f7d34d7032cc94b61bf155eac7648e6b6c74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Khem Raj
c365e38233 weston: Drop loading xwayland.so module
This module is no longer installed by x11 instead it uses a stand along
server for xwayland, as a result when xwayland is enabled in
packageconfig in weston then it fails to load xwayland.so during runtime

Fixes

[21:07:12.-100663296] Old Xwayland module loading detected: Please use --xwayland command line option or set xwayland=true in the [core] section in weston.ini
[21:07:12.-100663296] Loading module '/usr/lib/libweston-9/xwayland.so'
[21:07:12.-100663296] Failed to load module: /usr/lib/libweston-9/xwayland.so: cannot open shared object file: No such file or directory
[21:07:12.-100663296] Destroying fbdev output.

(From OE-Core rev: aa829e27a0d3bda3ed943005c1622e71d38bb872)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Martin Jansa
5625fbdfa5 xwayland: add opengl to REQUIRED_DISTRO_FEATURES
* it depends on libepoxy which has this restriction
* fixes:
  ERROR: Nothing PROVIDES 'libepoxy' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb DEPENDS on or otherwise requires it)
  libepoxy was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  ERROR: Nothing RPROVIDES 'xwayland' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'xwayland'
  NOTE: Runtime target 'xwayland' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['xwayland']
  ERROR: Nothing RPROVIDES 'xwayland-dev' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'xwayland-dev'
  NOTE: Runtime target 'xwayland-dev' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['xwayland-dev']

(From OE-Core rev: d5455a8f636599d6be8c36ea1578274148d558df)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Konrad Weihmann
df2a1f37f7 cve-update-db-native: skip on empty cpe23Uri
Recently an entry in the NVD DB appeared that looks like that
{'vulnerable': True, 'cpe_name': []}.
As besides all the vulnerable flag no data is present we would get
a KeyError exception on acccess.
Use get method on dictionary and return if no meta data is present
Also quit if the length of the array after splitting is less than 6

(From OE-Core rev: 00ce2796d97de2bc376b038d0ea7969088791d34)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:06:04 +01:00
Richard Purdie
d5eb86b3aa runqemu: Ensure we cleanup snapshot files after image run
We need to cleanup snapshot files if we make a copy of them to ensure
the tmpfs doesn't run out of space. There is already NFS code needing
this so make it a generic code path.

(From OE-Core rev: a3e0eec5a4785a0c4859455eb10b43aa832e606d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 00:08:38 +01:00
Richard Purdie
6f7bc9e4af poky.conf: Post release version bump
(From meta-yocto rev: 63b7374d9053f4f585d7e30fc2347fafa4381528)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
1f75873390 linux-yocto/5.10: fix arm defconfig warnings
A recent fix to the kern-tools promoted some previously unseen
issues to warnings. This commit fixes them by tagging some BT
options as non-hardware so they won't generate warnings if they
don't appear in the final .config. These are sub BT options and
shouldn't warn when/if their controlling option is disabled by
a fragment.

    40a967b115f base: exclude some BT options as non-hardware

(From OE-Core rev: fc7875ce3c68a253f8b8e5d8855c1814731b5a45)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
afb15a8817 linux-yocto/5.4: fix arm defconfig warnings
A recent fix to the kern-tools promoted some previously unseen
issues to warnings. This commit fixes them by tagging some BT
options as non-hardware so they won't generate warnings if they
don't appear in the final .config. These are sub BT options and
shouldn't warn when/if their controlling option is disabled by
a fragment.

    d7fd0213b75 base: exclude some BT options as non-hardware

(From OE-Core rev: a86c8251905baf5bf4714f3db01cdfae02383839)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
64d8607232 linux-yocto/5.4: update to v5.4.112
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    8f55ad4daf00 Linux 5.4.112
    ea42fd91d304 Revert "cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath."
    7ee5bde3164c net: ieee802154: stop dump llsec params for monitors
    b4042ecc12cb net: ieee802154: forbid monitor for del llsec seclevel
    e82f8b7713ab net: ieee802154: forbid monitor for set llsec params
    948a2817f71d net: ieee802154: fix nl802154 del llsec devkey
    b3a105e15cd6 net: ieee802154: fix nl802154 add llsec key
    4097afd93df7 net: ieee802154: fix nl802154 del llsec dev
    7d32fc7964d6 net: ieee802154: fix nl802154 del llsec key
    8f4c815c74f4 net: ieee802154: nl-mac: fix check on panid
    38ea2b3ed00f net: mac802154: Fix general protection fault
    6e7098f56c83 drivers: net: fix memory leak in peak_usb_create_dev
    32e2f9a708e1 drivers: net: fix memory leak in atusb_probe
    0a790ad1358b net: tun: set tun->dev->addr_len during TUNSETLINK processing
    ed13df88c6d5 cfg80211: remove WARN_ON() in cfg80211_sme_connect
    628ac886dfba net: sched: bump refcount for new action in ACT replace mode
    3dbafee8426f dt-bindings: net: ethernet-controller: fix typo in NVMEM
    f4c5968da773 clk: socfpga: fix iomem pointer cast on 64-bit
    35ba6d9240ee RAS/CEC: Correct ce_add_elem()'s returned values
    f666ad4f8d87 RDMA/addr: Be strict with gid size
    44d03319fe77 RDMA/cxgb4: check for ipv6 address properly while destroying listener
    3ca5345db92c net/mlx5: Fix PBMC register mapping
    798d94a274fb net/mlx5: Fix placement of log_max_flow_counter
    9716aac17419 net: hns3: clear VF down state bit before request link status
    9dd7092d1a96 openvswitch: fix send of uninitialized stack memory in ct limit reply
    731abf396e37 net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit()
    d0aab59f0993 perf inject: Fix repipe usage
    d3343a35d108 s390/cpcmd: fix inline assembly register clobbering
    c88fa8d4f994 workqueue: Move the position of debug_work_activate() in __queue_work()
    14060454cdb9 clk: fix invalid usage of list cursor in unregister
    bedda47d5dce clk: fix invalid usage of list cursor in register
    b3717885865c net: macb: restore cmp registers on resume path
    c61fe6b7e21f scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs
    81fddc7be649 scsi: ufs: core: Fix task management request completion timeout
    f6abec1a3172 scsi: ufs: Use blk_{get,put}_request() to allocate and free TMFs
    a8d2d45c70c7 scsi: ufs: Avoid busy-waiting by eliminating tag conflicts
    c5efc9d26c84 scsi: ufs: Fix irq return code
    537a2449cc6f net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);
    de8c5962bdae drm/msm: Set drvdata to NULL when msm_drm_init() fails
    e22ce1d21b42 i40e: Fix display statistics for veb_tc
    7c0d2372298f soc/fsl: qbman: fix conflicting alignment attributes
    c178e8a19937 net/rds: Fix a use after free in rds_message_map_pages
    73f88cc2bf5c net/mlx5: Don't request more than supported EQs
    029416e14be2 net/mlx5e: Fix ethtool indication of connector type
    1f3010fc3fe6 ASoC: sunxi: sun4i-codec: fill ASoC card owner
    db4600aa938c net: phy: broadcom: Only advertise EEE for supported modes
    6aa7d2621b19 nfp: flower: ignore duplicate merge hints from FW
    bbbee59f4f32 net/ncsi: Avoid channel_monitor hrtimer deadlock
    c66b672a231c ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces
    c991ca6a2c79 net:tipc: Fix a double free in tipc_sk_mcast_rcv
    200c8453287f cxgb4: avoid collecting SGE_QBASE regs during traffic
    e9bdd3e45f0e gianfar: Handle error code at MAC address change
    516c436ff5d6 can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZE
    ca443546f8d4 arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0
    840a181729ac sch_red: fix off-by-one checks in red_check_params()
    accb27006595 amd-xgbe: Update DMA coherency values
    e472f6814ceb hostfs: fix memory handling in follow_link()
    613f35568a5d hostfs: Use kasprintf() instead of fixed buffer formatting
    fec47d458add i40e: Fix kernel oops when i40e driver removes VF's
    c0aacaa0a8f2 i40e: Added Asym_Pause to supported link modes
    f819977ad42c xfrm: Fix NULL pointer dereference on policy lookup
    bac7e764e5d5 ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips
    b32969aaed1c ASoC: SOF: Intel: HDA: fix core status verification
    99b4e9af8f00 ASoC: SOF: Intel: hda: remove unnecessary parentheses
    540ddeed5c51 esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
    a128e07b472b net: xfrm: Localize sequence counter per network namespace
    34659399e713 regulator: bd9571mwv: Fix AVS and DVFS voltage range
    d78e99dd4960 xfrm: interface: fix ipv4 pmtu check to honor ip header df
    7977d5fe3d5b net: dsa: lantiq_gswip: Configure all remaining GSWIP_MII_CFG bits
    249908ed36a8 net: dsa: lantiq_gswip: Don't use PHY auto polling
    910e785ba8de virtio_net: Add XDP meta data support
    0534f1f1bc76 i2c: turn recovery error on init to debug
    cafced041915 usbip: synchronize event handler with sysfs code paths
    37168011d427 usbip: vudc synchronize sysfs code paths
    06fedcc6870e usbip: stub-dev synchronize sysfs code paths
    6a435364b608 usbip: add sysfs_lock to synchronize sysfs code paths
    b02bded94b91 net: let skb_orphan_partial wake-up waiters.
    fd8a95d56050 net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
    b5e7653ffdd1 net: hsr: Reset MAC header for Tx path
    a9311be5f617 mac80211: fix TXQ AC confusion
    5a4f39f19e6f net: sched: sch_teql: fix null-pointer dereference
    2f5edf14f62a i40e: Fix sparse error: 'vsi->netdev' could be null
    b31d91e9e8c8 i40e: Fix sparse warning: missing error code 'err'
    599200ad44e7 net: ensure mac header is set in virtio_net_hdr_to_skb()
    158a9b815c54 bpf, sockmap: Fix sk->prot unhash op reset
    0242251d6a97 ethernet/netronome/nfp: Fix a use after free in nfp_bpf_ctrl_msg_rx
    4a2933c88399 net: hso: fix null-ptr-deref during tty device unregistration
    ef2ccf84071f ice: Cleanup fltr list in case of allocation issues
    0df579b3de8c ice: Fix for dereference of NULL pointer
    1aecc5781101 ice: Increase control queue timeout
    9de1caa1103f batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
    79407ae3475e ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin
    9dfd74a8c015 parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
    957d0308aa36 parisc: parisc-agp requires SBA IOMMU driver
    507c2009dc4c fs: direct-io: fix missing sdio->boundary
    f495bedb001b ocfs2: fix deadlock between setattr and dio_end_io_write
    52999a66c0b3 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff
    75fd54ea1b60 ia64: fix user_stack_pointer() for ptrace()
    7a92396bf8dd gcov: re-fix clang-11+ support
    c2b3cf2c70d6 drm/i915: Fix invalid access to ACPI _DSM objects
    0e8f850e26b2 net: dsa: lantiq_gswip: Let GSWIP automatically set the xMII clock
    6649b5eda131 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
    a09acbb53934 xen/evtchn: Change irq_info lock to raw_spinlock_t
    aa0cff2e0751 nfc: Avoid endless loops caused by repeated llcp_sock_connect()
    404daa4d62a3 nfc: fix memory leak in llcp_sock_connect()
    41bc58ba0945 nfc: fix refcount leak in llcp_sock_connect()
    c89903c9eff2 nfc: fix refcount leak in llcp_sock_bind()
    12289d9840d6 ASoC: intel: atom: Stop advertising non working S24LE support
    c99780f782aa ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1
    da8f3cc5771e ALSA: aloop: Fix initialization of controls
    8732c2df9d15 counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register

(From OE-Core rev: bd41c1b7170b4d27bebac0a4387cad070c41e03d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
c6f0f24dba linux-yocto-rt/5.10: update to -rt34
Integrating the following commit(s) to linux-yocto/5.10:

    ac98a75ef2bc net/xfrm: fixup 5.10.30 -stable merge

(From OE-Core rev: 2e7dd8afd0dbe7803170006297309b6699b98f34)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
6698385521 linux-yocto/5.10: update to v5.10.30
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    1e798745fa8e Linux 5.10.30
    b451aed56348 Revert "net: sched: bump refcount for new action in ACT replace mode"
    a22115c3492f net: ieee802154: stop dump llsec params for monitors
    f872fb3feadd net: ieee802154: forbid monitor for del llsec seclevel
    a933bcbb1f7f net: ieee802154: forbid monitor for set llsec params
    0238c7b47f77 net: ieee802154: fix nl802154 del llsec devkey
    d06a96e72803 net: ieee802154: fix nl802154 add llsec key
    399f38c420ee net: ieee802154: fix nl802154 del llsec dev
    07699fcce052 net: ieee802154: fix nl802154 del llsec key
    8bfb45fa131d net: ieee802154: nl-mac: fix check on panid
    38731bbcd9f0 net: mac802154: Fix general protection fault
    9f51a42d81f6 drivers: net: fix memory leak in peak_usb_create_dev
    160ac0d55d52 drivers: net: fix memory leak in atusb_probe
    4d9117b7404a net: tun: set tun->dev->addr_len during TUNSETLINK processing
    26ab092615f5 cfg80211: remove WARN_ON() in cfg80211_sme_connect
    138a6e1dc35e gpiolib: Read "gpio-line-names" from a firmware node
    300368c59cf0 net: sched: bump refcount for new action in ACT replace mode
    982dd14fba0f dt-bindings: net: ethernet-controller: fix typo in NVMEM
    c65a000a236e lockdep: Address clang -Wformat warning printing for %hd
    4c4aa344edf4 clk: socfpga: fix iomem pointer cast on 64-bit
    674ddb52f94b RAS/CEC: Correct ce_add_elem()'s returned values
    253acf2e983b vdpa/mlx5: Fix wrong use of bit numbers
    0ddb34c2ccce vdpa/mlx5: should exclude header length and fcs from mtu
    5700c3d4abb2 RDMA/addr: Be strict with gid size
    e53ff6e59144 i40e: Fix parameters in aq_get_phy_register()
    999852207464 drm/vc4: crtc: Reduce PV fifo threshold on hvs4
    d8a0861e269d RDMA/qedr: Fix kernel panic when trying to access recv_cq
    3fa7ae3f3754 perf report: Fix wrong LBR block sorting
    7f40e9332898 RDMA/cxgb4: check for ipv6 address properly while destroying listener
    03ad6a2521a0 net/mlx5: Fix PBMC register mapping
    1312f11eb33d net/mlx5: Fix PPLM register mapping
    f92faf0bdd25 net/mlx5: Fix placement of log_max_flow_counter
    f780a0808827 net: hns3: clear VF down state bit before request link status
    f473789db536 tipc: increment the tmp aead refcnt before attaching it
    3292c4fc9ce2 can: mcp251x: fix support for half duplex SPI host controllers
    a96f1ed70927 iwlwifi: fix 11ax disabled bit in the regulatory capability flags
    363d610a9652 i2c: designware: Adjust bus_freq_hz when refuse high speed mode set
    cc5418973cc9 openvswitch: fix send of uninitialized stack memory in ct limit reply
    3e288c3a7d55 net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit()
    3b70c6f26364 perf inject: Fix repipe usage
    d9dc1b406cb9 s390/cpcmd: fix inline assembly register clobbering
    7943f749f0d2 workqueue: Move the position of debug_work_activate() in __queue_work()
    b3f29ed5dd4b clk: fix invalid usage of list cursor in unregister
    2307baac56af clk: fix invalid usage of list cursor in register
    d9c55b2d3368 net: macb: restore cmp registers on resume path
    af36da5becfb net: cls_api: Fix uninitialised struct field bo->unlocked_driver_cb
    ffd5f1e87c15 scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs
    ff9231ddfec8 scsi: ufs: core: Fix task management request completion timeout
    71ee255d0698 mptcp: forbit mcast-related sockopt on MPTCP sockets
    24bbfe89b1c7 net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);
    a08d5d3bec53 drm/msm: Set drvdata to NULL when msm_drm_init() fails
    7290bf419894 RDMA/rtrs-clt: Close rtrs client conn before destroying rtrs clt session files
    49cfa2b20193 i40e: Fix display statistics for veb_tc
    e8c96b57a781 soc/fsl: qbman: fix conflicting alignment attributes
    553290002aa8 xdp: fix xdp_return_frame() kernel BUG throw for page_pool memory model
    4cfae7b23889 net/rds: Fix a use after free in rds_message_map_pages
    05bbe9d85a4c net/mlx5: Don't request more than supported EQs
    86530effd18f net/mlx5e: Fix ethtool indication of connector type
    bde64eac2379 net/mlx5e: Fix mapping of ct_label zero
    d65b66ca3334 ASoC: sunxi: sun4i-codec: fill ASoC card owner
    dcdf0876b040 I2C: JZ4780: Fix bug for Ingenic X1000.
    f295dfc831bc net: phy: broadcom: Only advertise EEE for supported modes
    7a896e189361 nfp: flower: ignore duplicate merge hints from FW
    6af631d1caf2 net: qrtr: Fix memory leak on qrtr_tx_wait failure
    dfe7805e6aa6 net/ncsi: Avoid channel_monitor hrtimer deadlock
    ae4a8d10ac8b ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces
    e5e5ecc9d9fd net:tipc: Fix a double free in tipc_sk_mcast_rcv
    f273e3726e14 cxgb4: avoid collecting SGE_QBASE regs during traffic
    63a64c366ce0 net: dsa: Fix type was not set for devlink port
    ed613d96842e gianfar: Handle error code at MAC address change
    1eb5f4e00755 ethernet: myri10ge: Fix a use after free in myri10ge_sw_tso
    759b44d247c6 mlxsw: spectrum: Fix ECN marking in tunnel decapsulation
    d02b68a92905 can: isotp: fix msg_namelen values depending on CAN_REQUIRED_SIZE
    1d3837ca7335 can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZE
    58f8f1074039 xfrm: Provide private skb extensions for segmented and hw offloaded ESP packets
    bc0b89a9a28f arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0
    d9670f5e77e5 drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit
    d38bce5adcd9 sch_red: fix off-by-one checks in red_check_params()
    985c9bb1b594 geneve: do not modify the shared tunnel info when PMTU triggers an ICMP reply
    f3bc1885746f vxlan: do not modify the shared tunnel info when PMTU triggers an ICMP reply
    f33f79703a4e amd-xgbe: Update DMA coherency values
    e5a3449ce16a hostfs: fix memory handling in follow_link()
    3cc4db1213a4 i40e: Fix kernel oops when i40e driver removes VF's
    9856607c9c29 i40e: Added Asym_Pause to supported link modes
    d4d4c6a4ca7c virtchnl: Fix layout of RSS structures
    95d58bf5ed43 xfrm: Fix NULL pointer dereference on policy lookup
    48a443026bb6 ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips
    f6db9dbfa6b6 ASoC: SOF: Intel: HDA: fix core status verification
    ef4ddd1d6d93 esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
    0224432a8fc1 net: xfrm: Localize sequence counter per network namespace
    1e6a3b41cf2a ARM: OMAP4: PM: update ROM return address for OSWR and OFF
    042b2cad81de ARM: OMAP4: Fix PMIC voltage domains for bionic
    1f51cb88e788 regulator: bd9571mwv: Fix AVS and DVFS voltage range
    b267688ce007 remoteproc: qcom: pil_info: avoid 64-bit division
    c7a175a24b0e xfrm: Use actual socket sk instead of skb socket for xfrm_output_resume
    3b74ce529ece xfrm: interface: fix ipv4 pmtu check to honor ip header df
    2d62d6980c2b ice: Recognize 860 as iSCSI port in CEE mode
    fd92e7aacc16 ice: Refactor DCB related variables out of the ice_port_info struct
    4a78ae127803 net: sched: fix err handler in tcf_action_init()
    3c7d3d188ca7 KVM: x86/mmu: preserve pending TLB flush across calls to kvm_tdp_mmu_zap_sp
    25fc773b21ce KVM: x86/mmu: Don't allow TDP MMU to yield when recovering NX pages
    be2c527b5d39 KVM: x86/mmu: Ensure TLBs are flushed for TDP MMU during NX zapping
    0aa4dd9e5132 KVM: x86/mmu: Ensure TLBs are flushed when yielding during GFN range zap
    3c7a18440638 KVM: x86/mmu: Yield in TDU MMU iter even if no SPTES changed
    85f4ff2b06af KVM: x86/mmu: Ensure forward progress when yielding in TDP MMU iter
    1cd17c5c9b8a KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn
    b4a3a0d27924 KVM: x86/mmu: Merge flush and non-flush tdp_mmu_iter_cond_resched
    8f90432d7f59 KVM: x86/mmu: change TDP MMU yield function returns to match cond_resched
    5ea9e6038d29 i2c: turn recovery error on init to debug
    efa869b68be9 percpu: make pcpu_nr_empty_pop_pages per chunk type
    c441949184a9 scsi: target: iscsi: Fix zero tag inside a trace event
    d8e7fa8509d7 scsi: pm80xx: Fix chip initialization failure
    0c47d8a55f7f driver core: Fix locking bug in deferred_probe_timeout_work_func()
    f06cb4641b15 usbip: synchronize event handler with sysfs code paths
    28dc9237fe83 usbip: vudc synchronize sysfs code paths
    513765b186c9 usbip: stub-dev synchronize sysfs code paths
    68be610c19a5 usbip: add sysfs_lock to synchronize sysfs code paths
    126ce97d39cf thunderbolt: Fix off by one in tb_port_find_retimer()
    256ece954961 thunderbolt: Fix a leak in tb_retimer_add()
    b830650c1a0c net: let skb_orphan_partial wake-up waiters.
    5d9216b85100 net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
    b82816d77875 net: hsr: Reset MAC header for Tx path
    9b9c910ccc19 mac80211: fix TXQ AC confusion
    cc357c29358d mac80211: fix time-is-after bug in mlme
    cc1a702e6ec0 cfg80211: check S1G beacon compat element length
    fea52345f422 nl80211: fix potential leak of ACL params
    42e4450e3790 nl80211: fix beacon head validation
    81692c6add7e net: sched: fix action overwrite reference counting
    cdcf3829f418 net: sched: sch_teql: fix null-pointer dereference
    422eda625516 vdpa/mlx5: Fix suspend/resume index restoration
    89e406e95278 i40e: Fix sparse errors in i40e_txrx.c
    12e1438a0946 i40e: Fix sparse error: uninitialized symbol 'ring'
    2472ba1c46b4 i40e: Fix sparse error: 'vsi->netdev' could be null
    792387118204 i40e: Fix sparse warning: missing error code 'err'
    f0b4c9acf5fe net: ensure mac header is set in virtio_net_hdr_to_skb()
    72c5de25ba83 bpf, sockmap: Fix incorrect fwd_alloc accounting
    00c01de1a994 bpf, sockmap: Fix sk->prot unhash op reset
    d921baabd964 bpf: Refcount task stack in bpf_get_task_stack
    caef7806141a libbpf: Only create rx and tx XDP rings when necessary
    4cc9177b099e libbpf: Restore umem state after socket create failure
    5aa7df172207 libbpf: Ensure umem pointer is non-NULL before dereferencing
    b52e88638f71 ethernet/netronome/nfp: Fix a use after free in nfp_bpf_ctrl_msg_rx
    d86046a77535 bpf: link: Refuse non-O_RDWR flags in BPF_OBJ_GET
    b7004ecafade bpf: Enforce that struct_ops programs be GPL-only
    3015db3de715 libbpf: Fix bail out from 'ringbuf_process_ring()' on error
    dc195928d7e4 net: hso: fix null-ptr-deref during tty device unregistration
    c2743e0a631c ice: fix memory leak of aRFS after resuming from suspend
    6bd4e822925d iwlwifi: pcie: properly set LTR workarounds on 22000 devices
    e5386e87f8aa ice: Cleanup fltr list in case of allocation issues
    9d1c342c5018 ice: Use port number instead of PF ID for WoL
    b69686110291 ice: Fix for dereference of NULL pointer
    4d73a6143d40 ice: remove DCBNL_DEVRESET bit from PF state
    286830a8469c ice: fix memory allocation call
    4686a26e9536 ice: prevent ice_open and ice_stop during reset
    ef7ed8c77d1c ice: Increase control queue timeout
    6590b7bfbc2b ice: Continue probe on link/PHY errors
    9a7bc0c40367 batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
    d1173effc574 ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin
    4941889535f3 parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
    597121792eb4 parisc: parisc-agp requires SBA IOMMU driver
    9b54dad28def of: property: fw_devlink: do not link ".*,nr-gpios"
    009c5665278b ethtool: fix incorrect datatype in set_eee ops
    3a675c1b507f fs: direct-io: fix missing sdio->boundary
    b1a5122554ae ocfs2: fix deadlock between setattr and dio_end_io_write
    4fabcf229477 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff
    7d9da660affc ia64: fix user_stack_pointer() for ptrace()
    8e5bfafedf6d gcov: re-fix clang-11+ support
    43908139368e LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late
    de427b662bfb IB/hfi1: Fix probe time panic when AIP is enabled with a buggy BIOS
    856f60e3e800 ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m
    8599a39adca8 drm/i915: Fix invalid access to ACPI _DSM objects
    bf991df9535e net: dsa: lantiq_gswip: Configure all remaining GSWIP_MII_CFG bits
    c4ae852ec940 net: dsa: lantiq_gswip: Don't use PHY auto polling
    ba39959bfebd net: dsa: lantiq_gswip: Let GSWIP automatically set the xMII clock
    40375bc3d0f9 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
    005c5afa9f85 xen/evtchn: Change irq_info lock to raw_spinlock_t
    a28124e8ad03 selinux: fix race between old and new sidtab
    fd75d73aa214 selinux: fix cond_list corruption when changing booleans
    4f29b08e238f selinux: make nslot handling in avtab more robust
    a12a2fa9a129 nfc: Avoid endless loops caused by repeated llcp_sock_connect()
    568ac94df580 nfc: fix memory leak in llcp_sock_connect()
    99b596199e84 nfc: fix refcount leak in llcp_sock_connect()
    6fb003e5ae18 nfc: fix refcount leak in llcp_sock_bind()
    117557711974 ASoC: intel: atom: Stop advertising non working S24LE support
    c4a6fb0e8389 ALSA: hda/conexant: Apply quirk for another HP ZBook G5 model
    6c9119de7ffe ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1
    6efe4c1f4d17 ALSA: aloop: Fix initialization of controls
    4c933ff31f21 xfrm/compat: Cleanup WARN()s that can be user-triggered

(From OE-Core rev: aec9a6d709f14decd65013434f13a26c57e9196f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
55d65fc106 linux-yocto/5.4: update to v5.4.111
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a49e5ea5e045 Linux 5.4.111
    45f540622d5b init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
    43dd03f08819 init/Kconfig: make COMPILE_TEST depend on !S390
    f5eb7e12a75d nvme-mpath: replace direct_make_request with generic_make_request
    6cce30548058 bpf, x86: Validate computation of branch displacements for x86-32
    a0b3927a07be bpf, x86: Validate computation of branch displacements for x86-64
    20c60bbc1c54 cifs: Silently ignore unknown oplock break handle
    754c82a6bf48 cifs: revalidate mapping when we open files for SMB1 POSIX
    e5991b4fcedb ia64: fix format strings for err_inject
    3e9292b39862 ia64: mca: allocate early mca with GFP_ATOMIC
    9b872bac1923 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
    e2db0e66139a x86/build: Turn off -fcf-protection for realmode targets
    0465098898ef platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
    5a8c30e8acad netfilter: conntrack: Fix gre tunneling over ipv6
    e84a795b8a0b drm/msm: Ratelimit invalid-fence message
    daf5aaa8e6e0 drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
    6abe3dad0afe mac80211: choose first enabled channel for monitor
    37b51460b25a mISDN: fix crash in fritzpci
    901d39f7b2ce net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
    dc7c4d30d6e0 net/mlx5e: Enforce minimum value check for ICOSQ size
    b0e2b3271236 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp
    e5868baa1e3c platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
    422c68101110 bus: ti-sysc: Fix warning on unbind if reset is not deasserted
    bec7103b04a9 ARM: dts: am33xx: add aliases for mmc interfaces
    59c8e3329268 Linux 5.4.110
    cde4e338c2b2 drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
    0ca13611d33f staging: rtl8192e: Change state information from u16 to u8
    f9974f189c67 staging: rtl8192e: Fix incorrect source in memcpy()
    fd5ce87aee48 usb: dwc2: Prevent core suspend when port connection flag is 0
    85e1752ae0ed usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
    26d2284a0580 usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
    25c13ca8302f USB: cdc-acm: fix use-after-free after probe failure
    b5aedddb621e USB: cdc-acm: fix double free on probe failure
    7220bba3066e USB: cdc-acm: downgrade message to debug
    62da51d0e7b7 USB: cdc-acm: untangle a circular dependency between callback and softint
    7443350af8cb cdc-acm: fix BREAK rx code path adding necessary calls
    58cace45f84b usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
    a22e35f7b4fb usb: musb: Fix suspend with devices connected for a64
    e94dec2765b5 USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
    2ecf5803557b usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
    5ecfad1efbc3 firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
    58073dc536a6 extcon: Fix error handling in extcon_dev_register
    e3a3d5005e63 extcon: Add stubs for extcon_register_notifier_all() functions
    67ff75be1ab1 pinctrl: rockchip: fix restore error in resume
    c92e8a8ecb9d vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
    7f93d47677dd reiserfs: update reiserfs_xattrs_initialized() condition
    4dc52ce56d63 drm/amdgpu: check alignment on CPU page for bo map
    f9b3b70fd468 drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
    00bd9c22409e mm: fix race by making init_zero_pfn() early_initcall
    558ab52776c0 tracing: Fix stack trace event size
    07b19a118d2f PM: runtime: Fix ordering in pm_runtime_get_suppliers()
    72a667681cc4 PM: runtime: Fix race getting/putting suppliers at probe
    b6e7dbf0ed9c xtensa: move coprocessor_flush to the .text section
    c3715f06f9ad ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
    09a08fd89996 ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
    3acbf473a885 ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
    65f92e40cc6d ALSA: hda: Re-add dropped snd_poewr_change_state() calls
    05dd1a4223c5 ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
    42c83e3bca43 bpf: Remove MTU check in __bpf_skb_max_len
    aca623d79cb7 net: wan/lmc: unregister device when no matching device is found
    f22854911523 appletalk: Fix skb allocation size in loopback case
    4ff476b88135 net: ethernet: aquantia: Handle error cleanup of start on open
    ee898d95f446 ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
    0b8dfb61f29a brcmfmac: clear EAP/association status bits on linkdown events
    2d0e594c1316 can: tcan4x5x: fix max register value
    4ac1feff6ea6 net: introduce CAN specific pointer in the struct net_device
    23394679aa56 can: dev: move driver related infrastructure into separate subdir
    7ca4feb37e9e flow_dissector: fix TTL and TOS dissection on IPv4 fragments
    ee5055593d0e net: mvpp2: fix interrupt mask/unmask skip condition
    aa9345d10f0a ext4: do not iput inode under running transaction in ext4_rename()
    5e39a73e47ef locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
    84bd602c14b7 thermal/core: Add NULL pointer check before using cooling device stats
    50c38f76b51d ASoC: rt5659: Update MCLK rate in set_sysclk()
    b6408fd7eb89 staging: comedi: cb_pcidas64: fix request_irq() warn
    b9fe8673b874 staging: comedi: cb_pcidas: fix request_irq() warn
    7390a1cdf304 scsi: qla2xxx: Fix broken #endif placement
    6e79f829e791 scsi: st: Fix a use after free in st_open()
    98052c40e3ac vhost: Fix vhost_vq_reset()
    57aa4f30911a powerpc: Force inlining of cpu_has_feature() to avoid build failure
    dcf4b6e710c7 NFSD: fix error handling in NFSv4.0 callbacks
    990a0fa1ccbb ASoC: cs42l42: Always wait at least 3ms after reset
    6d197691a1c5 ASoC: cs42l42: Fix mixer volume control
    aa74bf73937c ASoC: cs42l42: Fix channel width support
    47ae33d5b32b ASoC: cs42l42: Fix Bitclock polarity inversion
    5952cf385ceb ASoC: es8316: Simplify adc_pga_gain_tlv table
    381679aec216 ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
    57b8a192872a ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
    b75073a37c65 ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
    ca3f8dcd6d94 iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
    c899b8391a54 rpc: fix NULL dereference on kmalloc failure
    0e71c59b2450 fs: nfsd: fix kconfig dependency warning for NFSD_V4
    9b68d3ed8aa8 ext4: fix bh ref count on error paths
    721a6f64c0bc ext4: shrink race window in ext4_should_retry_alloc()
    05d891e76dde module: harden ELF info handling
    6a8df0821f67 module: avoid *goto*s in module_sig_check()
    d9b98ccdfed0 module: merge repetitive strings in module_sig_check()
    1a8c5fbe2f1d modsign: print module name along with error message
    120589bb0970 ipv6: weaken the v4mapped source check
    1225bb45c87b selinux: vsock: Set SID for socket returned by accept()

(From OE-Core rev: 199566a40671ac273028cb44d0bb4494be22c4aa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
376f5cc843 linux-yocto/5.10: update to v5.10.29
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    d8cf82b410b4 Linux 5.10.29
    cef13a04376b init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
    ba02635769f1 init/Kconfig: make COMPILE_TEST depend on !S390
    faa30969f66e bpf, x86: Validate computation of branch displacements for x86-32
    3edb8967d91e bpf, x86: Validate computation of branch displacements for x86-64
    f890246ae75c tools/resolve_btfids: Add /libbpf to .gitignore
    76983e244908 kbuild: Do not clean resolve_btfids if the output does not exist
    0945d67e5d43 kbuild: Add resolve_btfids clean to root clean target
    eff1e0465727 tools/resolve_btfids: Set srctree variable unconditionally
    f60c918b07b7 tools/resolve_btfids: Check objects before removing
    249719092447 tools/resolve_btfids: Build libbpf and libsubcmd in separate directories
    2934985086b9 math: Export mul_u64_u64_div_u64
    7345d4b2d421 io_uring: fix timeout cancel return code
    8f9049e70cd6 cifs: Silently ignore unknown oplock break handle
    fee111089cc9 cifs: revalidate mapping when we open files for SMB1 POSIX
    42498ee67296 ia64: fix format strings for err_inject
    bc30fdd598e3 ia64: mca: allocate early mca with GFP_ATOMIC
    b008489d8b86 selftests/vm: fix out-of-tree build
    47f8bc68ae95 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
    266d3106efbd ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation
    f135b89e286b platform/x86: intel_pmc_core: Ignore GBE LTR on Tiger Lake platforms
    037950869be3 block: clear GD_NEED_PART_SCAN later in bdev_disk_changed
    7c73059bf849 x86/build: Turn off -fcf-protection for realmode targets
    6372aa9a78f8 drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume
    6deb9d9a84a2 kselftest/arm64: sve: Do not use non-canonical FFR register value
    bcd57b07fd90 platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
    6304295c6190 net: ipa: fix init header command validation
    8a57256e0548 netfilter: nftables: skip hook overlap logic if flowtable is stale
    b0c795f4cc53 netfilter: conntrack: Fix gre tunneling over ipv6
    439c2c22fb85 drm/msm: Ratelimit invalid-fence message
    57e0546f01ca drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
    b9ec77ef36af drm/msm/dsi_pll_7nm: Fix variable usage for pll_lockdet_rate
    0a66bd60b1ce mac80211: choose first enabled channel for monitor
    7705c48b8695 mac80211: Check crypto_aead_encrypt for errors
    05878b681981 mISDN: fix crash in fritzpci
    4ca265610cc6 kunit: tool: Fix a python tuple typing error
    f0ed115feccc net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
    4b4ce9895e64 net/mlx5e: Enforce minimum value check for ICOSQ size
    198afc3b0c01 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp
    107875a53868 platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
    4c875e034dfb bus: ti-sysc: Fix warning on unbind if reset is not deasserted
    5c6f778e8f7d ARM: dts: am33xx: add aliases for mmc interfaces
    ecdfb9d70fb8 Linux 5.10.28
    7973a0dad073 bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIG
    12b5f9dae410 Revert "kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing"
    6ae5eaee1ea5 riscv: evaluate put_user() arg before enabling user access
    61f0c3e8098f drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
    d06d0b3cf626 driver core: clear deferred probe reason on probe retry
    d29c38dd926d staging: rtl8192e: Change state information from u16 to u8
    538b96315375 staging: rtl8192e: Fix incorrect source in memcpy()
    84e5203fd277 soc: qcom-geni-se: Cleanup the code to remove proxy votes
    996a5782faef usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable
    1808ee421ce5 usb: dwc3: qcom: skip interconnect init for ACPI probe
    137dfed1552a usb: dwc2: Prevent core suspend when port connection flag is 0
    4e28aca96729 usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
    77c0d6af858b usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
    6f86681691c2 USB: cdc-acm: fix use-after-free after probe failure
    64deff1f4e0f USB: cdc-acm: fix double free on probe failure
    439a27521112 USB: cdc-acm: downgrade message to debug
    511302531eb8 USB: cdc-acm: untangle a circular dependency between callback and softint
    e700e3aec303 cdc-acm: fix BREAK rx code path adding necessary calls
    9efa606a83e0 usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
    1addcb1f77d6 usb: musb: Fix suspend with devices connected for a64
    15e61d9ae7ac USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
    4027d6e88fef usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
    c04adcc819d3 firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
    2c7d85026324 video: hyperv_fb: Fix a double free in hvfb_probe
    a267a7e1c0ca usb: dwc3: pci: Enable dis_uX_susphy_quirk for Intel Merrifield
    bf4c643192b3 firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0
    3b681a1c43b6 extcon: Fix error handling in extcon_dev_register
    023d13952e9b extcon: Add stubs for extcon_register_notifier_all() functions
    0fe56e294cef pinctrl: rockchip: fix restore error in resume
    80ee9e02be3d vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
    d2308dd5119b drm/tegra: sor: Grab runtime PM reference across reset
    f552f95853f8 drm/tegra: dc: Restore coupling of display controllers
    77a8e6f792d5 drm/imx: fix memory leak when fails to init
    74612ecdf263 reiserfs: update reiserfs_xattrs_initialized() condition
    8c71f5b30955 drm/amdgpu: check alignment on CPU page for bo map
    78ceecd2ed45 drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
    28f901fe1634 drm/amdkfd: dqm fence memory corruption
    ec3e06e06f76 mm: fix race by making init_zero_pfn() early_initcall
    d88b557b9b73 s390/vdso: fix tod_steering_delta type
    b332265430c8 s390/vdso: copy tod_steering_delta value to vdso_data page
    f706acc9312b tracing: Fix stack trace event size
    cc038ab785a8 PM: runtime: Fix ordering in pm_runtime_get_suppliers()
    da2976cd711b PM: runtime: Fix race getting/putting suppliers at probe
    e6d8eb65532e KVM: SVM: ensure that EFER.SVME is set when running nested guest or on nested vmexit
    5f6625f5cd5c KVM: SVM: load control fields from VMCB12 before checking them
    6aaa3c2ebb4f xtensa: move coprocessor_flush to the .text section
    a3be911a5fee xtensa: fix uaccess-related livelock in do_page_fault
    bcd7999c03ed ALSA: hda/realtek: fix mute/micmute LEDs for HP 640 G8
    ee58eee4501f ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
    f235ffa56b8e ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
    6d91f3afb632 ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
    b3116cda4e52 ALSA: hda: Re-add dropped snd_poewr_change_state() calls
    474d3d65784e ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
    e525cd364c09 ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
    cdd192a20b06 ACPI: tables: x86: Reserve memory occupied by ACPI tables
    fd38d4e6757b bpf: Remove MTU check in __bpf_skb_max_len
    ff64f33bc93b net: 9p: advance iov on empty read
    84877db1cdea net: wan/lmc: unregister device when no matching device is found
    33a6b3eea44b net: ipa: fix register write command validation
    44d76042c038 net: ipa: remove two unused register definitions
    c805f215e9c5 appletalk: Fix skb allocation size in loopback case
    f2294a707f63 net: ethernet: aquantia: Handle error cleanup of start on open
    7d3ffc0993fe ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
    221528c20e5e iwlwifi: pcie: don't disable interrupts for reg_lock
    f33d87047323 netdevsim: dev: Initialize FIB module after debugfs
    660bf76aec07 rtw88: coex: 8821c: correct antenna switch function
    b5777172cce2 ath11k: add ieee80211_unregister_hw to avoid kernel crash caused by NULL pointer
    731c4447e6db brcmfmac: clear EAP/association status bits on linkdown events
    4094194d103b can: tcan4x5x: fix max register value
    1a5751d58b14 net: introduce CAN specific pointer in the struct net_device
    9e35159c6e9a can: dev: move driver related infrastructure into separate subdir
    e3ccad57ac09 flow_dissector: fix TTL and TOS dissection on IPv4 fragments
    8fe47a33944f net: mvpp2: fix interrupt mask/unmask skip condition
    44c816c8b9ab io_uring: call req_set_fail_links() on short send[msg]()/recv[msg]() with MSG_WAITALL
    5038c1122e13 ext4: do not iput inode under running transaction in ext4_rename()
    eb8049d85a92 static_call: Align static_call_is_init() patching condition
    21c2bbc17b6b io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls
    fa068ee3f37e nvmet-tcp: fix kmap leak when data digest in use
    3ac4aaff387b locking/ww_mutex: Fix acquire/release imbalance in ww_acquire_init()/ww_acquire_fini()
    905ef030bdf9 locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
    1e2a75c24a48 thermal/core: Add NULL pointer check before using cooling device stats
    cf51b6145b9d ASoC: rt711: add snd_soc_component remove callback
    805645d89a20 ASoC: rt5659: Update MCLK rate in set_sysclk()
    7d4344fd3ee0 staging: comedi: cb_pcidas64: fix request_irq() warn
    e833d5716fbb staging: comedi: cb_pcidas: fix request_irq() warn
    4cd96a0de7a1 scsi: qla2xxx: Fix broken #endif placement
    3860814ef620 scsi: st: Fix a use after free in st_open()
    861fc287e036 io_uring: fix ->flags races by linked timeouts
    e1f8c95c1110 vhost: Fix vhost_vq_reset()
    7f6518ec6ee9 kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing
    540a1ebf3c23 NFSD: fix error handling in NFSv4.0 callbacks
    73df108e3aec ASoC: cs42l42: Always wait at least 3ms after reset
    9b7b92c4b92d ASoC: cs42l42: Fix mixer volume control
    20b39eb99598 ASoC: cs42l42: Fix channel width support
    0d3753babfa7 ASoC: cs42l42: Fix Bitclock polarity inversion
    ed47acc0c888 ASoC: soc-core: Prevent warning if no DMI table is present
    294d4c2b4fda ASoC: es8316: Simplify adc_pga_gain_tlv table
    f134a436d766 ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
    b057d540ad2c ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
    ed4cdb772680 ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
    4bac395e0b8a ASoC: rt1015: fix i2c communication error
    4eff80b14014 iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
    5fb71b231c4e rpc: fix NULL dereference on kmalloc failure
    9e9aa1c03c33 fs: nfsd: fix kconfig dependency warning for NFSD_V4
    e178f362f095 ext4: fix bh ref count on error paths
    4b3139576a20 ext4: shrink race window in ext4_should_retry_alloc()
    1bfb046d29e3 virtiofs: Fail dax mount if device does not support it
    e21d2b92354b bpf: Fix fexit trampoline.
    68abc0115617 arm64: mm: correct the inside linear map range during hotplug check

(From OE-Core rev: 255ec8ff86d31c3464c30c26bdb15f01563b088e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
7f7281cb6d linux-yocto/5.10: BSP configuration fixes
Integrating the following commit(s) to linux-yocto/5.10.:

    fa039db710c qemuppc64: Enable the RTC driver
    f6cfc23fbfc nxp-s32g2xx: add HSE UIO related configs to make hse demo work
    2b445fb1e0b firmware: fix CONFIG_FW_LOADER option mismatch warning
    60dde01d949 nxp-imx8: Correct DRM_TTM config and delete redundant config
    07119316ee5 xlnx: bsp: drop obsolete kernel options for xilinx-zynqmp and xilinx-zynq
    0cf78165f8e bcm-2xxx-rpi: update v5.10 kernel config for raspberrypi 4b platform
    9b5a9e46778 marvell-cn96xx: Add the preempt-rt support

(From OE-Core rev: 6186f21b29e7a152d34c620e81878bf6eff6519d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
He Zhe
0596dc8d51 linux-yocto-dev: add features/scsi/scsi-debug.scc features/gpio/mockup.scc to KERNEL_FEATURES
Add features/scsi/scsi-debug.scc and features/gpio/mockup.scc to
KERNEL_FEATURES to meet ptest requirement as what we did for other
linux-yocto*.

(From OE-Core rev: fd27f302df886c27cb424191c27152ad9d0e8d80)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
995acdd74e linux-yocto/5.10: update to v5.10.27
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    472493c8a425 Linux 5.10.27
    3a1ca9bd4f5a xen-blkback: don't leak persistent grants from xen_blkbk_map()
    03a1c3253f25 can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
    f12d05f70282 nvme: fix the nsid value to print in nvme_validate_or_alloc_ns
    36478a9ec5af Revert "net: bonding: fix error return code of bond_neigh_init()"
    451ba16cc5b7 Revert "xen: fix p2m size in dom0 for disabled memory hotplug case"
    df61d3cff422 fs/ext4: fix integer overflow in s_log_groups_per_flex
    0229b5926dc9 ext4: add reclaim checks to xattr code
    25e809bf8bec mac80211: fix double free in ibss_leave
    39e1a35ea65a net: dsa: b53: VLAN filtering is global to all users
    d3b5a04b8ce5 r8169: fix DMA being used after buffer free if WoL is enabled
    8dc08a2962c8 can: dev: Move device back to init netns on owning netns delete
    24256b4d87eb ch_ktls: fix enum-conversion warning
    6f15c02ebbe9 fs/cachefiles: Remove wait_bit_key layout dependency
    002ea848d7fd mm/memcg: fix 5.10 backport of splitting page memcg
    2c163520e12b x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
    c6c9bc4f261d locking/mutex: Fix non debug version of mutex_lock_io_nested()
    d4ce2a8f465d cifs: Adjust key sizes and key generation routines for AES256 encryption
    86cc799e1d9d smb3: fix cached file size problems in duplicate extents (reflink)
    2423511cc5ba scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
    6b977fea78de scsi: qedi: Fix error return code of qedi_alloc_global_queues()
    62bb066cdfb6 scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
    fc062d21c011 block: recalculate segment count for multi-segment discards correctly
    dcf2dfc1614d io_uring: fix provide_buffers sign extension
    efb334c4e5ff perf synthetic events: Avoid write of uninitialized memory when generating PERF_RECORD_MMAP* records
    5febe60a8021 perf auxtrace: Fix auxtrace queue conflict
    4a5891992c68 ACPI: scan: Use unique number for instance_no
    2ba9964a9653 ACPI: scan: Rearrange memory allocation in acpi_device_add()
    c33f918758fa Revert "netfilter: x_tables: Update remaining dereference to RCU"
    de2e6b4e32d6 mm/mmu_notifiers: ensure range_end() is paired with range_start()
    42aa210795d8 dm table: Fix zoned model check and zone sectors check
    3fdebc2d8e79 netfilter: x_tables: Use correct memory barriers.
    520be4d1af9c Revert "netfilter: x_tables: Switch synchronization to RCU"
    87771c9b09bb net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M
    485335a637c8 net: phy: broadcom: Set proper 1000BaseX/SGMII interface mode for BCM54616S
    837a3ae33459 net: phy: broadcom: Avoid forward for bcm54xx_config_clock_delay()
    9a5267264fc2 net: phy: introduce phydev->port
    c4934e65c8bc net: axienet: Fix probe error cleanup
    3e08fd4a8298 net: axienet: Properly handle PCS/PMA PHY for 1000BaseX mode
    d65e7d0c7449 igb: avoid premature Rx buffer reuse
    c7eb3e12f18f net, bpf: Fix ip6ip6 crash with collect_md populated skbs
    0a245acbce89 net: Consolidate common blackhole dst ops
    33cd5f88b5bf bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
    d95696f537d6 RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
    b740e58324c8 xen/x86: make XEN_BALLOON_MEMORY_HOTPLUG_LIMIT depend on MEMORY_HOTPLUG
    889c56ea941e octeontx2-af: Fix memory leak of object buf
    558454ec5170 net: bridge: don't notify switchdev for local FDB addresses
    7d019b2d0f27 PM: EM: postpone creating the debugfs dir till fs_initcall
    08a5f812ad6c net/mlx5e: Fix error path for ethtool set-priv-flag
    624f0dc8f7f4 net/mlx5e: Offload tuple rewrite for non-CT flows
    c83207bb02d6 net/mlx5e: Allow to match on MPLS parameters only for MPLS over UDP
    0be13d01473a net/mlx5: Add back multicast stats for uplink representor
    65c021e73590 PM: runtime: Defer suspending suppliers
    3db5fc556515 arm64: kdump: update ppos when reading elfcorehdr
    447a011bb40d drm/msm: Fix suspend/resume on i.MX5
    c7552dee62a0 drm/msm: fix shutdown hook in case GPU components failed to bind
    0b7bc92c1986 can: isotp: tx-path: zero initialize outgoing CAN frames
    ccd5565feea3 bpf: Fix umd memory leak in copy_process()
    eeadce8811d3 libbpf: Fix BTF dump of pointer-to-array-of-struct
    7693b64ae508 selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
    5ebb9947b488 selinux: vsock: Set SID for socket returned by accept()
    1e01729999c0 net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
    961d9a6e47b9 r8152: limit the RX buffer size of RTL8153A for USB 2.0
    2330d46db081 igb: check timestamp validity
    421e0d731070 net: cdc-phonet: fix data-interface release on probe failure
    943e1583bf8a net: check all name nodes in __dev_alloc_name
    748a158359d7 octeontx2-af: fix infinite loop in unmapping NPC counter
    b553f45c76ec octeontx2-pf: Clear RSS enable flag on interace down
    11e94cfa9dd8 octeontx2-af: Fix irq free in rvu teardown
    da517ca38dc6 octeontx2-af: Remove TOS field from MKEX TX
    1055796ca031 octeontx2-af: Modify default KEX profile to extract TX packet fields
    f896ae2886d1 octeontx2-af: Formatting debugfs entry rsrc_alloc.
    5f64c4c550c8 ipv6: weaken the v4mapped source check
    9e48a3bc8ba2 ARM: dts: imx6ull: fix ubi filesystem mount failed
    b4c574e4b471 libbpf: Use SOCK_CLOEXEC when opening the netlink socket
    86e525bc04f2 libbpf: Fix error path in bpf_object__elf_init()
    4280132339ce netfilter: flowtable: Make sure GC works periodically in idle system
    186d8dc40a65 netfilter: nftables: allow to update flowtable flags
    4a741b4df032 netfilter: nftables: report EOPNOTSUPP on unsupported flowtable flags
    a96a8cb0500a net/sched: cls_flower: fix only mask bit check in the validate_ct_state
    6233c2d09633 ionic: linearize tso skb with too many frags
    7637048707e5 drm/msm/dsi: fix check-before-set in the 7nm dsi_pll code
    126aa8f23424 ftrace: Fix modify_ftrace_direct.
    29b8834cf828 nfp: flower: fix pre_tun mask id allocation
    47dae14b21f7 nfp: flower: add ipv6 bit to pre_tunnel control message
    259b0122dea5 nfp: flower: fix unsupported pre_tunnel flows
    aeff815e76ef selftests/net: fix warnings on reuseaddr_ports_exhausted
    bd63bd78d303 mac80211: Allow HE operation to be longer than expected.
    f865127b1d26 mac80211: fix rate mask reset
    48d0b548b49e can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors
    afaca48e3017 can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
    4fcf59c24990 can: c_can: move runtime PM enable/disable to c_can_platform
    524320e8034a can: c_can_pci: c_can_pci_remove(): fix use-after-free
    f9a5974b9719 can: kvaser_pciefd: Always disable bus load reporting
    af3e6c3dcf54 can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
    0cbadc0fb54c can: peak_usb: add forgotten supported devices
    3b3d9279be6c can: isotp: TX-path: ensure that CAN frame flags are initialized
    f88517dae95b can: isotp: isotp_setsockopt(): only allow to set low level TX flags for CAN-FD
    63f2a9bd3133 tcp: relookup sock for RST+ACK packets handled by obsolete req sock
    50f41f2e29ff tipc: better validate user input in tipc_nl_retrieve_key()
    ddeba5b39cca net: phylink: Fix phylink_err() function name error in phylink_major_config
    375f5169f231 net: hdlc_x25: Prevent racing between "x25_close" and "x25_xmit"/"x25_rx"
    ee39ee5f437c netfilter: ctnetlink: fix dump of the expect mask attribute
    d5380ceede6f selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed
    33cc382c5830 flow_dissector: fix byteorder of dissected ICMP ID
    fce6fb902189 net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
    6d3635ed12e7 net: ipa: terminate message handler arrays
    1701bd22b05d clk: qcom: gcc-sc7180: Use floor ops for the correct sdcc1 clk
    b50c46ef67d6 ftgmac100: Restart MAC HW once
    e64a5a5b8e93 net: phy: broadcom: Add power down exit reset state delay
    87378c850fee net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
    648b62f10cec e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
    8ed431fec355 e1000e: add rtnl_lock() to e1000_reset_task
    5994a096570f igc: Fix igc_ptp_rx_pktstamp()
    0963fadcf536 igc: Fix Supported Pause Frame Link Setting
    d5330d5cc3ad igc: Fix Pause Frame Advertising
    d85ffade499a igc: reinit_locked() should be called with rtnl_lock
    4c91fc60e3f6 net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
    f64270027928 net: sched: validate stab values
    400199d6e6f6 macvlan: macvlan_count_rx() needs to be aware of preemption
    2514c7ad115e drop_monitor: Perform cleanup upon probe registration failure
    7f041ee8effd ipv6: fix suspecious RCU usage warning
    61219de46413 net/mlx5e: Don't match on Geneve options in case option masks are all zero
    d0be25fa4f96 net/mlx5e: When changing XDP program without reset, take refs for XSK RQs
    60b5ff15b41d net/mlx5e: RX, Mind the MPWQE gaps when calculating offsets
    9857de932b30 libbpf: Fix INSTALL flag order
    f7c3d7615e6c bpf: Change inode_storage's lookup_elem return value from NULL to -EBADF
    926cde9eec67 veth: Store queue_mapping independently of XDP prog presence
    f47a9b2570ad soc: ti: omap-prm: Fix occasional abort on reset deassert for dra7 iva
    1f798907b435 ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data
    965e6cb8d4c9 bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
    921aae17bb0f dm ioctl: fix out of bounds array access when no devices
    d8b36c483d47 dm verity: fix DM_VERITY_OPTS_MAX value
    1e2d70d08ade drm/i915: Fix the GT fence revocation runtime PM logic
    da6a9b5b1799 drm/amdgpu: Add additional Sienna Cichlid PCI ID
    dc28098f40b4 drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x
    e02f765fa784 drm/amd/pm: workaround for audio noise issue
    f771b2b3eb2f drm/etnaviv: Use FOLL_FORCE for userptr
    546f7fcc451c integrity: double check iint_cache was initialized
    5f7b515df003 ARM: dts: at91-sama5d27_som1: fix phy address to 7
    2a0d35962ff1 ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet
    0b6cd8802d32 ARM: dts: at91: sam9x60: fix mux-mask for PA7 so it can be set to A, B and C
    1c103f512251 arm64: dts: ls1043a: mark crypto engine dma coherent
    4f35b64ba823 arm64: dts: ls1012a: mark crypto engine dma coherent
    3883f335b5ee arm64: dts: ls1046a: mark crypto engine dma coherent
    1ced45535d4b arm64: stacktrace: don't trace arch_stack_walk()
    53d3c8063590 ACPICA: Always create namespace nodes using acpi_ns_create_node()
    36fe73bd0af9 ACPI: video: Add missing callback back for Sony VPCEH3U1E
    1f5c9efad9fe gcov: fix clang-11+ support
    6e63cc1fe253 kasan: fix per-page tags for non-page_alloc pages
    fe03ccc3ce90 hugetlb_cgroup: fix imbalanced css_get and css_put pair for shared mappings
    269042e8ffed squashfs: fix xattr id and id lookup sanity checks
    61d72c5952c4 squashfs: fix inode lookup sanity checks
    1d215fcbc4ef z3fold: prevent reclaim/free race for headless pages
    e4642090734e psample: Fix user API breakage
    a4be7e4ed5d9 platform/x86: intel-vbtn: Stop reporting SW_DOCK events
    4f67d3e8c0ac netsec: restore phy power state after controller reset
    19c9967e495e selinux: fix variable scope issue in live sidtab conversion
    9731e08a3381 selinux: don't log MAC_POLICY_LOAD record on failed policy load
    3b87d0c5834b btrfs: fix sleep while in non-sleep context during qgroup removal
    771dfb3c531d KVM: x86: Protect userspace MSR filter with SRCU, and set atomically-ish
    394e4fd67946 static_call: Fix static_call_set_init()
    0fefb5f3e574 static_call: Fix the module key fixup
    a63068e93917 static_call: Allow module use without exposing static_call_key
    433cd7ca386c static_call: Pull some static_call declarations to the type headers
    533c293f737c ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
    d76e207991c4 ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
    7077d5e7f074 mm/fork: clear PASID for new mm
    07feac84efc6 block: Suppress uevent for hidden device when removed
    9f704608010b nfs: we don't support removing system.nfs4_acl
    3dab008e23bd nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a
    8f0534c96ac8 nvme-rdma: Fix a use after free in nvmet_rdma_write_data_done
    c7b3f6db97c2 nvme-core: check ctrl css before setting up zns
    9083dc773d67 nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
    4d6aea29a795 nvme-fc: set NVME_REQ_CANCELLED in nvme_fc_terminate_exchange()
    7e62a89b51dd nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
    d8b17df7bf80 nvme: simplify error logic in nvme_validate_ns()
    b91230a0013f drm/radeon: fix AGP dependency
    35d4f0712828 drm/amdgpu: fb BO should be ttm_bo_type_device
    a255d14eb5dc drm/amd/display: Revert dram_clock_change_latency for DCN2.1
    d27b0964ade9 block: Fix REQ_OP_ZONE_RESET_ALL handling
    c9d1f6ad1e25 regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
    6366a5bb888b kselftest: arm64: Fix exit code of sve-ptrace
    da5bc0c21c04 u64_stats,lockdep: Fix u64_stats_init() vs lockdep
    f89338395545 staging: rtl8192e: fix kconfig dependency on CRYPTO
    eb4154fb61e2 habanalabs: Call put_pid() when releasing control device
    f2b38f03a3f7 sparc64: Fix opcode filtering in handling of no fault loads
    58b34195b33f umem: fix error return code in mm_pci_probe()
    feaa91193ad3 kbuild: dummy-tools: fix inverted tests for gcc
    ede8be3ae078 kbuild: add image_name to no-sync-config-targets
    264bb27b9fe4 irqchip/ingenic: Add support for the JZ4760
    b684c380f0b9 cifs: change noisy error message to FYI
    758bca385a79 atm: idt77252: fix null-ptr-dereference
    f35954a3961b atm: uPD98402: fix incorrect allocation
    852143ed96e2 net: enetc: set MAC RX FIFO to recommended value
    697082b125b0 net: davicom: Use platform_get_irq_optional()
    e6946ef43848 net: wan: fix error return code of uhdlc_init()
    184dc037575c net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
    9d1a5392aca1 NFS: Correct size calculation for create reply length
    2479c6b9ef36 nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
    b48779c863c0 gpiolib: acpi: Add missing IRQF_ONESHOT
    9443aef16fca cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
    6d7dce3bdfc4 gfs2: fix use-after-free in trans_drain
    419ebba40dbf cifs: ask for more credit on async read/write code paths
    b8bfda6e08b8 gianfar: fix jumbo packets+napi+rx overrun crash
    2d0fba5a2e9f sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
    81b1a8f14436 net: intel: iavf: fix error return code of iavf_init_get_resources()
    5f86016bdfa7 net: tehuti: fix error return code in bdx_probe()
    71b996c9b883 blk-cgroup: Fix the recursive blkg rwstat
    b171748b7953 scsi: ufs: ufs-qcom: Disable interrupt in reset path
    028210541b3c ixgbe: Fix memleak in ixgbe_configure_clsu32
    4dc123500c3b ALSA: hda: ignore invalid NHLT table
    18f27fc6bcc2 Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
    f8f6190094a3 atm: lanai: dont run lanai_dev_close if not open
    6f6e45947572 atm: eni: dont release is never initialized
    75e967a04d37 powerpc/4xx: Fix build errors from mfdcr()
    4a104e4d4d9d net: fec: ptp: avoid register access when ipg clock is disabled
    50c75680bdce net: stmmac: fix dma physical address of descriptor when display ring
    a9daba140178 mt76: fix tx skb error handling in mt76_dma_tx_queue_skb
    efb12c03fcd0 mm/memcg: set memcg when splitting page
    6143a1d193e9 mm/memcg: rename mem_cgroup_split_huge_fixup to split_page_memcg and add nr_pages argument
    856cd02bbdd4 Linux 5.10.26
    de1126ea44bb cifs: Fix preauth hash corruption
    21536d7b7e6f x86/apic/of: Fix CPU devicetree-node lookups
    95247d24c4d4 genirq: Disable interrupts for force threaded handlers
    80b2787789af firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
    47ba0d4d2afb efi: use 32-bit alignment for efi_guid_t literals
    e5154ea8e48f static_call: Fix static_call_update() sanity check
    51ccdd25d7e5 MAINTAINERS: move the staging subsystem to lists.linux.dev
    4c9a74798ef1 MAINTAINERS: move some real subsystems off of the staging mailing list
    35ecf664fd6c ext4: fix rename whiteout with fast commit
    e8fa569465e5 ext4: fix potential error in ext4_do_update_inode
    6163a0662b79 ext4: do not try to set xattr into ea_inode if value is empty
    d130b802f98a ext4: stop inode update before return
    258db8e6ffdc ext4: find old entry again if failed to rename whiteout
    9689ecadf8a7 ext4: fix error handling in ext4_end_enable_verity()
    e4ea2a28d068 efivars: respect EFI_UNSUPPORTED return from firmware
    a548acde9608 x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
    97c608959c27 x86: Move TS_COMPAT back to asm/thread_info.h
    4523e648b7b7 kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
    0e245256e34d x86/ioapic: Ignore IRQ2 again
    4fdf5f4ba61f perf/x86/intel: Fix unchecked MSR access error caused by VLBR_EVENT
    514ea597be8e perf/x86/intel: Fix a crash caused by zero PEBS status
    be1f58e58f76 PCI: rpadlpar: Fix potential drc_name corruption in store functions
    6d4e1fed18d0 counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register
    cbc4c42dbec0 counter: stm32-timer-cnt: fix ceiling write max value
    dcdde25844d4 iio: hid-sensor-temperature: Fix issues of timestamp channel
    7de97c4bba51 iio: hid-sensor-prox: Fix scale not correct issue
    fd8efe16d867 iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
    b477c121a287 iio: adc: adi-axi-adc: add proper Kconfig dependencies
    d894acab2844 iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
    533ee1e28455 iio: adc: ab8500-gpadc: Fix off by 10 to 3
    f8bfbd3917fa iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
    06c281c23ace iio: adis16400: Fix an error code in adis16400_initial_setup()
    531231485844 iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
    3ce2e7b2d360 iio:adc:stm32-adc: Add HAS_IOMEM dependency
    6c3c90058b95 thunderbolt: Increase runtime PM reference count on DP tunnel discovery
    f4ca082e3f59 thunderbolt: Initialize HopID IDAs in tb_switch_alloc()
    c7bb96a37dd2 usb: dwc3: gadget: Prevent EP queuing while stopping transfers
    395d273f2998 usb: dwc3: gadget: Allow runtime suspend if UDC unbinded
    8b8a84234c38 usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
    0ea3fb15a87e usb: typec: Remove vdo[3] part of tps6598x_rx_identity_reg struct
    0f882bcc6407 usb: gadget: configfs: Fix KASAN use-after-free
    22e85a6a35cc usbip: Fix incorrect double assignment to udc->ud.tcp_rx
    7046e5f7a2f6 usb-storage: Add quirk to defeat Kindle's automatic unload
    5a62d6d7afa0 powerpc: Force inlining of cpu_has_feature() to avoid build failure
    2bdef2b476e2 gfs2: bypass signal_our_withdraw if no journal
    a602e830ddaf gfs2: move freeze glock outside the make_fs_rw and _ro functions
    49787b1bba1f gfs2: Add common helper for holding and releasing the freeze glock
    db37238f3452 regulator: pca9450: Clear PRESET_EN bit to fix BUCK1/2/3 voltage setting
    cfbff8bd9efc regulator: pca9450: Enable system reset on WDOG_B assertion
    775691b94ce7 regulator: pca9450: Add SD_VSEL GPIO for LDO5
    9392b8219b62 net: bonding: fix error return code of bond_neigh_init()
    76f496681d6a io_uring: clear IOCB_WAITQ for non -EIOCBQUEUED return
    3c08f772ad0d io_uring: don't attempt IO reissue from the ring exit path
    40345b9c9d90 drm/amd/pm: fulfill the Polaris implementation for get_clock_by_type_with_latency()
    e8e99acd0830 s390/qeth: schedule TX NAPI on QAOB completion
    f3f6765fd0e8 ibmvnic: remove excessive irqsave
    96823c1e9997 media: cedrus: h264: Support profile controls
    1c20e9040f49 io_uring: fix inconsistent lock state
    e1a69079edc4 iwlwifi: Add a new card for MA family
    e7f6ebde21cf drm/amd/display: turn DPMS off on connector unplug
    559b842a64ff MIPS: compressed: fix build with enabled UBSAN
    8545519b1f51 net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081
    33cafc7952a4 i40e: Fix endianness conversions
    41d4c889b274 powerpc/sstep: Fix darn emulation
    8a335142f1c5 powerpc/sstep: Fix load-store and update emulation
    8b4a797e86a0 RDMA/mlx5: Allow creating all QPs even when non RDMA profile is used
    bb38c1c03384 scsi: isci: Pass gfp_t flags in isci_port_bc_change_received()
    d74238028a11 scsi: isci: Pass gfp_t flags in isci_port_link_up()
    d9f5efd1afc4 scsi: isci: Pass gfp_t flags in isci_port_link_down()
    1eda358e37e5 scsi: mvsas: Pass gfp_t flags to libsas event notifiers
    58bdc321beb5 scsi: libsas: Introduce a _gfp() variant of event notifiers
    18c3c04e8e53 scsi: libsas: Remove notifier indirection
    29c5b80327b7 scsi: pm8001: Neaten debug logging macros and uses
    c4186c00adc1 scsi: pm80xx: Fix pm8001_mpi_get_nvmd_resp() race condition
    3e4b3770744d scsi: pm80xx: Make running_req atomic
    6075c84a98ce scsi: pm80xx: Make mpi_build_cmd locking consistent
    d802672c7f00 module: harden ELF info handling
    e2c8978a75e0 module: avoid *goto*s in module_sig_check()
    8587715b65fa module: merge repetitive strings in module_sig_check()
    c02a33f0fd28 RDMA/rtrs: Fix KASAN: stack-out-of-bounds bug
    904a52dd9e50 RDMA/rtrs: Introduce rtrs_post_send
    9e97c211b701 RDMA/rtrs-srv: Jump to dereg_mr label if allocate iu fails
    5abee8b1fc4f RDMA/rtrs: Remove unnecessary argument dir of rtrs_iu_free
    4ebd8f0c82a5 bpf: Declare __bpf_free_used_maps() unconditionally
    0e44f1e18398 serial: stm32: fix DMA initialization error handling
    5f8659adf7a2 tty: serial: stm32-usart: Remove set but unused 'cookie' variables
    20c0bd2b6579 ibmvnic: serialize access to work queue on remove
    f8ba6913c40a ibmvnic: add some debugs
    b4be6e6e2696 nvme-rdma: fix possible hang when failing to set io queues
    b3901ceb120d gpiolib: Assign fwnode to parent's if no primary one provided
    c5fe922eaf1a counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
    f854abe46b0e RISC-V: correct enum sbi_ext_rfence_fid
    359d8ff40a09 scsi: ufs: ufs-mediatek: Correct operator & -> &&
    38089ba4b20c scsi: myrs: Fix a double free in myrs_cleanup()
    eb9d08b34351 scsi: lpfc: Fix some error codes in debugfs
    e95c0d43509c riscv: Correct SPARSEMEM configuration
    04eb2b2fa12f cifs: fix allocation size on newly created files
    bb2e41e65c33 kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
    72714560fbc7 net/qrtr: fix __netdev_alloc_skb call
    6cae8095490c io_uring: ensure that SQPOLL thread is started for exit
    a7acb614287b pstore: Fix warning in pstore_kill_sb()
    5f7d470696ad i915/perf: Start hrtimer only if sampling the OA buffer
    cb14e99e886f sunrpc: fix refcount leak for rpc auth modules
    2ea2d3a79800 vhost_vdpa: fix the missing irq_bypass_unregister_producer() invocation
    3e5a1bb6ea20 vfio: IOMMU_API should be selected
    c2219627091c svcrdma: disable timeouts on rdma backchannel
    982b899ba672 NFSD: fix dest to src mount in inter-server COPY
    800369d61add NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
    12628e7779f8 nfsd: don't abort copies early
    5ea0aa29ad4b nfsd: Don't keep looking up unhashed files in the nfsd file cache
    628f39a57a46 nvmet: don't check iosqes,iocqes for discovery controllers
    b4f911e3a982 nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
    7089cdfce32f nvme-tcp: fix possible hang when failing to set io queues
    a83e5c6c35fa nvme-tcp: fix misuse of __smp_processor_id with preemption enabled
    fd9e2b999740 nvme: fix Write Zeroes limitations
    2d202085d2dd ALSA: usb-audio: Fix unintentional sign extension issue
    64195f022ae8 afs: Stop listxattr() from listing "afs.*" attributes
    78ba4793b084 afs: Fix accessing YFS xattrs on a non-YFS server
    07fa872bf79c ASoC: simple-card-utils: Do not handle device clock
    d1ab87e31761 ASoC: qcom: lpass-cpu: Fix lpass dai ids parse
    1ae54de79fba ASoC: codecs: wcd934x: add a sanity check in set channel map
    03079a0f1bf7 ASoC: qcom: sdm845: Fix array out of range on rx slim channels
    26b08c08a5f3 ASoC: qcom: sdm845: Fix array out of bounds access
    47a6cadb6cfd ASoC: SOF: intel: fix wrong poll bits in dsp power down
    b94b71a7a6f6 ASoC: SOF: Intel: unregister DMIC device on probe error
    4da5a9a73c4c ASoC: Intel: bytcr_rt5640: Fix HP Pavilion x2 10-p0XX OVCD current threshold
    118cfdc770cd ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
    223dc51caa51 drm/amd/display: Correct algorithm for reversed gamma
    4daa70a80c68 vhost-vdpa: set v->config_ctx to NULL if eventfd_ctx_fdget() fails
    49ca3100fbaf vhost-vdpa: fix use-after-free of v->config_ctx
    2c8d6a9474f0 btrfs: fix slab cache flags for free space tree bitmap
    38ffe9eaeb7c btrfs: fix race when cloning extent buffer during rewind of an old root
    78486cf1f31e zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone()
    9c1c5e81a002 zonefs: prevent use of seq files as swap file
    dfbdbf0f359a zonefs: Fix O_APPEND async write handling
    38c74f2f2318 s390/pci: fix leak of PCI device structure
    075e3034740c s390/pci: remove superfluous zdev->zbus check
    bd37d9b9c4fb s390/pci: refactor zpci_create_device()
    015916ca0266 s390/vtime: fix increased steal time accounting
    5c0a3a331dc5 Revert "PM: runtime: Update device status before letting suppliers suspend"
    68525e424175 ALSA: hda/realtek: fix mute/micmute LEDs for HP 850 G8
    f086deab2c64 ALSA: hda/realtek: fix mute/micmute LEDs for HP 440 G8
    7b00df1894c6 ALSA: hda/realtek: fix mute/micmute LEDs for HP 840 G8
    14af4bf8d481 ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
    4c698a3b8fb7 ALSA: hda: generic: Fix the micmute led init state
    e6c7cdf0baf3 ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
    cd7b17ba8e4d ALSA: dice: fix null pointer dereference when node is disconnected
    422806f8d289 spi: cadence: set cqspi to the driver_data field of struct device
    f8d5ced57b07 ASoC: ak5558: Add MODULE_DEVICE_TABLE
    064a7289b445 ASoC: ak4458: Add MODULE_DEVICE_TABLE

(From OE-Core rev: cbb5c4392c63f896f204c0c15b0cfa7a364feed2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
94afd49286 linux-yocto/5.4: update to v5.4.109
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    4e85f8a712cd Linux 5.4.109
    057dd3e6986b xen-blkback: don't leak persistent grants from xen_blkbk_map()
    ce934540ff09 can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
    2638770e793b ext4: add reclaim checks to xattr code
    92b9e3deffb6 mac80211: fix double free in ibss_leave
    ae23957bd1fb net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
    f7a962970001 net: dsa: b53: VLAN filtering is global to all users
    f866d1fa48e4 can: dev: Move device back to init netns on owning netns delete
    dfd6627c83dd x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
    f989059cd22a locking/mutex: Fix non debug version of mutex_lock_io_nested()
    1260d8dc2d66 scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
    d31747705762 scsi: qedi: Fix error return code of qedi_alloc_global_queues()
    063c3cfb264b scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
    fdc61af371db block: recalculate segment count for multi-segment discards correctly
    8ce9f6efa655 perf auxtrace: Fix auxtrace queue conflict
    bc0b1a2036dd ACPI: scan: Use unique number for instance_no
    b382f9d61609 ACPI: scan: Rearrange memory allocation in acpi_device_add()
    cc578c3e612b Revert "netfilter: x_tables: Update remaining dereference to RCU"
    19a5fb4ceada netfilter: x_tables: Use correct memory barriers.
    c46cd29b89da Revert "netfilter: x_tables: Switch synchronization to RCU"
    e74d46e69a45 bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
    01398e024ba6 RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
    78aafa0240bc PM: EM: postpone creating the debugfs dir till fs_initcall
    f54b10114d63 net/mlx5e: Fix error path for ethtool set-priv-flag
    fa4addf30c2c PM: runtime: Defer suspending suppliers
    c82d289fe958 arm64: kdump: update ppos when reading elfcorehdr
    8bf90e000c10 drm/msm: fix shutdown hook in case GPU components failed to bind
    4fda26d2f7e1 libbpf: Fix BTF dump of pointer-to-array-of-struct
    4f71aacd6c92 selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
    4ecf6d486e45 net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
    1f103ca31c51 r8152: limit the RX buffer size of RTL8153A for USB 2.0
    048d0bf8ad19 net: cdc-phonet: fix data-interface release on probe failure
    ecc62c3b1b57 octeontx2-af: fix infinite loop in unmapping NPC counter
    7e9a48ceccae octeontx2-af: Fix irq free in rvu teardown
    e15823801229 libbpf: Use SOCK_CLOEXEC when opening the netlink socket
    7722378c4a0a nfp: flower: fix pre_tun mask id allocation
    060deac22f87 mac80211: fix rate mask reset
    52cc7bad1275 can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors
    059c1996017d can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
    e484616a9600 can: c_can: move runtime PM enable/disable to c_can_platform
    4f71965ee897 can: c_can_pci: c_can_pci_remove(): fix use-after-free
    42e49b3aa536 can: kvaser_pciefd: Always disable bus load reporting
    e3ca9fbfcdf5 can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
    fb4a6ac4851a can: peak_usb: add forgotten supported devices
    0a8046daba17 tcp: relookup sock for RST+ACK packets handled by obsolete req sock
    67319a8df5d3 netfilter: ctnetlink: fix dump of the expect mask attribute
    c4dd0b36cce4 selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed
    9d06cabe3bf4 ftgmac100: Restart MAC HW once
    81c591299da3 net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
    d00db63edd0a e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
    9f02a5658413 e1000e: add rtnl_lock() to e1000_reset_task
    71fa8051f2f4 igc: Fix Supported Pause Frame Link Setting
    35d8a780fa2b igc: Fix Pause Frame Advertising
    da8af444b325 net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
    267b79a11046 net: sched: validate stab values
    76909a298ebb macvlan: macvlan_count_rx() needs to be aware of preemption
    c6b6c7a92fe5 ipv6: fix suspecious RCU usage warning
    40fa14bbe3fe net/mlx5e: Don't match on Geneve options in case option masks are all zero
    e64e327c7fab libbpf: Fix INSTALL flag order
    53f1483984bf veth: Store queue_mapping independently of XDP prog presence
    f259a7fdeb12 bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
    e6587d142d02 dm ioctl: fix out of bounds array access when no devices
    7b6944f18cec dm verity: fix DM_VERITY_OPTS_MAX value
    752589cd4ea8 integrity: double check iint_cache was initialized
    f3404a677770 ARM: dts: at91-sama5d27_som1: fix phy address to 7
    1815a24b9483 arm64: dts: ls1043a: mark crypto engine dma coherent
    7447c05e06c4 arm64: dts: ls1012a: mark crypto engine dma coherent
    b6f866bbf7ca arm64: dts: ls1046a: mark crypto engine dma coherent
    e980bd1f7f60 ACPI: video: Add missing callback back for Sony VPCEH3U1E
    431aaecd24ac gcov: fix clang-11+ support
    4748b6d56efe kasan: fix per-page tags for non-page_alloc pages
    037ecab65eb6 squashfs: fix xattr id and id lookup sanity checks
    79b8814d6765 squashfs: fix inode lookup sanity checks
    5b1abfe7d620 platform/x86: intel-vbtn: Stop reporting SW_DOCK events
    599cbcda68ee netsec: restore phy power state after controller reset
    8aa97ae0f5d9 ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
    cb1504b30b6f ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
    37732ea82e09 block: Suppress uevent for hidden device when removed
    a2d07d077eb3 nfs: we don't support removing system.nfs4_acl
    eed4e1abc997 nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a
    5fc284999c4a nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
    526abcb05c61 nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
    8cdbee05b83f drm/radeon: fix AGP dependency
    5a0e3fcbeb5a drm/amdgpu: fb BO should be ttm_bo_type_device
    fc8e4af4c3ef drm/amd/display: Revert dram_clock_change_latency for DCN2.1
    6292d84c8af4 regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
    c45182707277 u64_stats,lockdep: Fix u64_stats_init() vs lockdep
    f59604786a48 habanalabs: Call put_pid() when releasing control device
    694761bfdd76 sparc64: Fix opcode filtering in handling of no fault loads
    11efb0cda655 irqchip/ingenic: Add support for the JZ4760
    69423418c5eb cifs: change noisy error message to FYI
    981ba9c9a529 atm: idt77252: fix null-ptr-dereference
    6b2844ad7b17 atm: uPD98402: fix incorrect allocation
    40d0a9297f83 net: davicom: Use platform_get_irq_optional()
    b90de232a806 net: wan: fix error return code of uhdlc_init()
    0da0f199e767 net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
    ab60e4f5eb3a NFS: Correct size calculation for create reply length
    785be28d360f nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
    d605afb11945 gpiolib: acpi: Add missing IRQF_ONESHOT
    f6c1da94ddb3 cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
    1d2c9669135f cifs: ask for more credit on async read/write code paths
    ec7ce1e337ec gianfar: fix jumbo packets+napi+rx overrun crash
    7ef7d296b154 sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
    d25f579ec557 net: intel: iavf: fix error return code of iavf_init_get_resources()
    d4dd6de6fc90 net: tehuti: fix error return code in bdx_probe()
    e224a789d4a6 ixgbe: Fix memleak in ixgbe_configure_clsu32
    537653a0698b ALSA: hda: ignore invalid NHLT table
    bd272f11a9d4 Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
    7a12167636bf atm: lanai: dont run lanai_dev_close if not open
    fb0067fcda6a atm: eni: dont release is never initialized
    614a4ba66854 powerpc/4xx: Fix build errors from mfdcr()
    45c1ca3e5784 net: fec: ptp: avoid register access when ipg clock is disabled
    d0f5726ab1df hugetlbfs: hugetlb_fault_mutex_hash() cleanup
    b90344f7d600 Linux 5.4.108
    819eb4d7a85e cifs: Fix preauth hash corruption
    cf113ffd620d x86/apic/of: Fix CPU devicetree-node lookups
    288be0ed9b36 genirq: Disable interrupts for force threaded handlers
    b8ebe853abca firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
    31e17169a116 efi: use 32-bit alignment for efi_guid_t literals
    886dbe0e338b ext4: fix potential error in ext4_do_update_inode
    2f65ae3a7ee3 ext4: do not try to set xattr into ea_inode if value is empty
    474aab448436 ext4: find old entry again if failed to rename whiteout
    de2e1603c125 x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
    076b60af926b x86: Move TS_COMPAT back to asm/thread_info.h
    27ddd2b59045 kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
    f546965c3aac x86/ioapic: Ignore IRQ2 again
    da326ba3b84a perf/x86/intel: Fix a crash caused by zero PEBS status
    51a2b19b554c PCI: rpadlpar: Fix potential drc_name corruption in store functions
    796fc331c3cf counter: stm32-timer-cnt: fix ceiling write max value
    850ca1c0130a iio: hid-sensor-temperature: Fix issues of timestamp channel
    31a2e804ad4a iio: hid-sensor-prox: Fix scale not correct issue
    3fa27c8749cf iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
    4458ae8d4001 iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
    a605c095bb46 iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
    87163fbba6d2 iio: adis16400: Fix an error code in adis16400_initial_setup()
    ed0625334b94 iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
    08414c498b4b iio:adc:stm32-adc: Add HAS_IOMEM dependency
    b0a595269e62 usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
    4baade6fd6e5 usb: gadget: configfs: Fix KASAN use-after-free
    c92aebf2b0f3 USB: replace hardcode maximum usb string length by definition
    f89366164693 usbip: Fix incorrect double assignment to udc->ud.tcp_rx
    251949ec9d95 usb-storage: Add quirk to defeat Kindle's automatic unload
    81b56afc2841 nvme-rdma: fix possible hang when failing to set io queues
    b891d41d01f4 counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
    86fd6c0d22a5 scsi: myrs: Fix a double free in myrs_cleanup()
    eb46392d329a scsi: lpfc: Fix some error codes in debugfs
    1f925558e3f1 riscv: Correct SPARSEMEM configuration
    7db8f3be034d kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
    1dad483b1ebc net/qrtr: fix __netdev_alloc_skb call
    f0b09d547713 sunrpc: fix refcount leak for rpc auth modules
    3c57ea09365f vfio: IOMMU_API should be selected
    b439aac77360 svcrdma: disable timeouts on rdma backchannel
    d1ae8f16c223 NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
    4c5fab560cb0 nfsd: Don't keep looking up unhashed files in the nfsd file cache
    49545a7b8b30 nvmet: don't check iosqes,iocqes for discovery controllers
    cf7d7728d8a5 nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
    36a4f9164cf6 nvme-tcp: fix possible hang when failing to set io queues
    81c1dbe1070c nvme: fix Write Zeroes limitations
    6712b7fcef9d afs: Stop listxattr() from listing "afs.*" attributes
    c71b93323f37 ASoC: simple-card-utils: Do not handle device clock
    e029384c1835 ASoC: SOF: intel: fix wrong poll bits in dsp power down
    626a484d1ec2 ASoC: SOF: Intel: unregister DMIC device on probe error
    db3d39bcd66a ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
    24c553371add btrfs: fix slab cache flags for free space tree bitmap
    5b3b99525c4f btrfs: fix race when cloning extent buffer during rewind of an old root
    a3e438db75fb ARM: 9044/1: vfp: use undef hook for VFP support detection
    a47b395d441d ARM: 9030/1: entry: omit FP emulation for UND exceptions taken in kernel mode
    34794bc0e768 s390/vtime: fix increased steal time accounting
    ba4342094d71 Revert "PM: runtime: Update device status before letting suppliers suspend"
    62cf220630a0 ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
    613fd762d188 ALSA: hda: generic: Fix the micmute led init state
    5a5f85603e6e ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
    4d35c01a3645 ALSA: dice: fix null pointer dereference when node is disconnected
    d0fc0e7bfda2 ASoC: ak5558: Add MODULE_DEVICE_TABLE
    a592a4c2889e ASoC: ak4458: Add MODULE_DEVICE_TABLE

(From OE-Core rev: a6aecb7e564f067b786cdec5b2eedd7fc3f2f13d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
0f9ce18071 kern-tools: add dropped options to audit output
The rewrite of the configuration audit code dropped the ability to
generate warnings for configuration options that didn't make it into
the final .config.

We integrated the following commit to restore those warnings:

    symbol_why: classify based on config.queue hints

    The config.queue has typing hints inline with each fragment,
    we should be using them to further classify the options, and
    not only relying on the special hardware.cfg, etc, files that
    are part of the meta data

    We also should be checking for options that were set to a
    non 'no' value, and that don't make it into the final .config,
    since without that check it means we are missing some warnings.

(From OE-Core rev: f5e8a8c52386317607e333e55f710bf0393186c8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Michael Halstead
6204a3f5f4 releases: update to include 3.3
Adding Hardknott to documentation switcher and release list.

(From yocto-docs rev: d1578f6ae84d0c44c63632bd5f3146653f1310a3)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 14:04:56 +01:00
Richard Purdie
8c5b67bec2 bitbake: doc/user-manual-fetching: Remove basepath unpack parameter docs
The code for this was removed in 2016 in commit
e659a3b0c2771679057ee3e13cd42e6c62383ff2. Nobody seems to have missed it
so remove the documentation so we match the code.

[YOCTO #13449]

(Bitbake rev: 76bf42ea41a28b19d0377c2e548b0a59119fdf67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:51 +01:00
Niels Avonds
d12a06cd49 bitbake: fetch/gitsm: Fix crash when using git LFS and submodules
Gitsm fetcher crashes when cloning a repository that contains LFS files.
This happens because the unpack method is called during download, but the
submodules have not been downloaded yet at this point.

This issue was introduced in this
commit: 977b7268bf

[YOCTO #14283]

(Bitbake rev: 26caedc4d2e9b5a0f1d57f9291754a7f6c5e437e)

Signed-off-by: Niels Avonds <niels@codebits.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:50 +01:00
Richard Purdie
6584e59ff0 bitbake: bitbake-server: Remove now unneeded code
With the previous patch this code is now pointless as we'd have hit a TypeError
before now.

(Bitbake rev: 6301a99055c79d89b715f72182cd0ef1b781b89a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:50 +01:00
Ross Burton
01066a584a bitbake: bitbake-server: ensure server timeout is a float
bitbake-server is spawned by process.py and passes the arguments it is
given to ProcessServer.  There's some type confusion here:

bitbake-server is called with a string representation of the timeout,
which may be None.  If the timeout is not set, pass 0 instead of None.

Inside bitbake-server a ProcessServer is created which expects the
timeout to be a float not a string, so always float() the value.

[ YOCTO #14350 ]

(Bitbake rev: c93ae1f861208f6d39fd15c84fbcd0e2b54331f5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:50 +01:00
Trevor Gamblin
f39676bf56 nettle: upgrade 3.7.1 -> 3.7.2
Version 3.7.2 includes a fix for CVE-2021-20305.

(From OE-Core rev: 29f0ef2e32a9b55d8271fde240a4469070d57729)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Richard Purdie
ad2206b3fa sanity: Further improve directory sanity tests
Add tests to ensure COREBASE/TMPDIR doon't contain ".." as this causes
hard to understand build failures.

Also rework the code to test TMPDIR and COREBASE for all the patterns
since they may be set differently and one may contain problematic
characters.

[YOCTO #14111]

(From OE-Core rev: f22a6e46d003aba516a9a0cc7f94eae678d846b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
1e6a42e923 ca-certificates: Fix openssl runtime cert dependencies
With commit dc778c70449ee5401b5a24ad18b22b88338c47c5, dependency was
moved to openssl-bin which in itself was a fine change, but dropping
dependency on openssl too should have been kept along, dropping this
meant that openssl binary wont be able to validate secure connections as
the CApath files wont be installed, which infact are required for
openssl bins to work, following call e.g. fails

$ openssl s_client -connect google.com:443

....
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 256 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 20 (unable to get local issuer certificate)
....

The local issuer certs are not found in default location
/usr/lib/ssh-1.1/certs, this dir and its content is installed by openssl package
therefore re-add the dependency on openssl

(From OE-Core rev: eaf377315efc73d6ffe361372a873918b3bb3bf5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
9fc863bcdb weston: use standalone xwayland instead of outdated xserver-xorg version
(From OE-Core rev: e933962061ac3fa1c0c1069b8075a5f7645001c4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
07d33c8ec8 xwayland: add a standalone recipe
Please see here for the rationale for splitting XWayland out of
main xserver-xorg tree:
https://fedoraproject.org/wiki/Changes/XwaylandStandalone

Release announcement:
https://lists.x.org/archives/xorg-announce/2021-March/003076.html

(From OE-Core rev: 1533d913af0aac5524d2f9ebacaeafb5891124e2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
be76f499ad maintainers.inc: add libmicrohttpd entry
(From OE-Core rev: 3e588abaa081b2de238bbeead867204ff485e5ba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
76a9b01ff3 libmicrohttpd: add a recipe from meta-oe
This is required to enable debuginfod in elfutils.

(From OE-Core rev: e6035099772a0ccbb4835c0c782317c19527876c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
5aa20fe1b9 scripts/oe-debuginfod: correct several issues
Particularly:
- nesting subprocess.run() inside subprocess.check_output() does not work at all.
How was this tested?
- -R and -U options can be combined; no need to separate the invocations based
on packaging format
- both exception handlers are unnecessary; we can simply print the hint if
invocation did not succeed
- to run debuginfod from its own sysroot, '-c addto_recipe_sysroot' for elfutils-native
must be executed

(From OE-Core rev: 9e57bf636ec63e74d56f1ac48b5a27c5b80f1877)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Randy MacLeod
193251b8d0 oe-time-dd-test.sh: increase timeout to 15 sec
With the previous timeout of 5 seconds, there would be
builds such as:
   https://autobuilder.yocto.io/pub/non-release/20210417-13/
which produced 17 files with top output with top running 454 times
and that's a bit too much data to analyze for each run. By
increasing the timeout, we'll find the worse problems
first, fix them and then we can decrease the timeout if needed.

(From OE-Core rev: 92b29a09b4c442597d212337b785afb76129ac7c)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
c226e49cd5 gstreamer1.0-plugins-bad: Add packageconfigs for hls crypto backends
Use openssl by default

(From OE-Core rev: 4959563e59e0a829b9526009b14f71500624cced)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
268888f484 glib-networking: Prefer openssl backend instead of gnutls
Change the defaults to use openSSL

(From OE-Core rev: e63a422a407ed941a0d31522a8016d4c784bd87b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
1ceb808fb7 libpsl: Add config knobs for runtime/builtin conversion choices
Use libicu by default

(From OE-Core rev: 20fc11919e2cec656685dab3fad07862b0b90610)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
96b4ed1e93 curl: Use openssl backend
use openssl instead of gnutls

(From OE-Core rev: c39452bf65a8baa0eac15e6c4d39cc0f88e089d0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
7bfe0a4e7d wpa-supplicant: Enable openssl
Use openSSL for TLS/SSL implementation

(From OE-Core rev: 2bd4702d68ef79320c8194934568c56b4cc87aa3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
2d07f91008 cups: Turn gnutls into a packageconfig knob
Disable it by default

(From OE-Core rev: 438d00af14a0cc108a25b36bf37502f1383865be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
397f7130e5 epiphany: Add missing dependency on gnutls
This was being pulled in by other dependencies thus far

(From OE-Core rev: de944399fa3dadecd3faa5054145fe0cd7adbbf7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Robert Joslyn
b129f2edda btrfs-tools: Try to follow style guide
Cosmetic changes to better follow the style guide.

(From OE-Core rev: e478013830700580c25877ab55b70ff73072bb81)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Robert Joslyn
769004c34a btrfs-tools: Add PACKAGECONFIG options
Add options to make it easier to control which features are enabled. All
of these default to enabled by upstream, so keep them enabled to
maintain previous behavior.

The convert option also supports reiserfs, but no recipes exist in the
layer index. Limit the option to ext filesystems until someone cares
enough to make reiserfs recipes.

Remove acl and attr from DEPENDS, as they do not apper to be needed. Add
zlib since it is required.

(From OE-Core rev: 7452cab85b65ce4b6e8309ab85ad40555c24435f)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Robert Joslyn
46b49025f3 btrfs-tools: Update to 5.11.1
Update licensing, as libtrfsutil is under LGPLv3+. Note that libtrfsutil
is in the process of being relicensed to LGPLv2.1+:
	https://github.com/kdave/btrfs-progs/issues/323

(From OE-Core rev: 0f75bb0e4d99c658302e28435d055b4f99dcc247)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Oleksandr Kravchuk
bd2c93374e autoconf-archive: update to 2021.02.19
(From OE-Core rev: f7417480667e7a06206239e3aac48dd1149d42fb)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Wes Lindauer
ada30f1091 oeqa/runtime/cases: Only disable/enable for current boot
Previously doing a stop/start worked, but using a disable/enable does
not work on a read-only rootfs. Add a --runtime flag to systemctl so
that systemd only modifies the current boot and does not attempt to
write to the filesystem.

This also keeps the test from making a permanent (one could argue
policy) change to the running system being tested. i.e. What if the
image being tested had intentionally disabled the timesyncd service in
preference to using chrony or ntpd? The test shouldn't assume that the
user wants the timesyncd service enabled.

(From OE-Core rev: 43dd83b6a325589368c980a3f17cab90935aaeb0)

Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Richard Purdie
d08d362cf9 bitbake: tinfoil/data_smart: Allow variable history emit() to function remotely
We can't access the emit() function of varhistory currently as the datastore parameter
isn't handled correctly, nor is the output stream. Add a custom wrapper for this
function which handles the two details correctly.

(Bitbake rev: ba0fa084ccd2b1ade96425d158fd31e49e42f286)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Henning Schild
46654e14a5 bitbake: tests/fetch: add tests for local and remote "noshared" git fetching
(Bitbake rev: e0267fe43bda208856af939b17e39beb9e5586c3)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Henning Schild
d274cf0cf8 bitbake: tests/fetch: deduplicate local git testing code
Purely cosmetic change that probably improves the code.

(Bitbake rev: 9c0733f0062f3cf19514c891cc06c9a8e0db429b)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Henning Schild
2cb6ce7788 bitbake: fetch/git: add support for disabling shared clones on unpack
By default the unpacker will create a "shared" clone when cloning from
the DL_DIR to the WORKDIR. This patch introduces an option to control
that behaviour.

Imagine some recipe steps are executed in a namespace that is different
from the one your downloader and unpacker ran in. (chroot) Because a
"shared" clone has an absolute reference to its "alternate" you now
have to make that "alternate" visible in that new namespace (chroot) at
the exact place.

With this patch you can unpack "noshared" and get a stand-alone copy.
This copy will also work if the "alternate" is not visible or existant.

The switch is a global bitbake switch and will affect all git urls.
Build systems that need "noshared" most likely need it for everything
they do with git.

(Bitbake rev: 6ae6f1865d5e666ebc670f70b7401a7b41648102)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Mikko Rapeli
33650ffdc7 bitbake: bitbake: tests/fetch: remove write protected files too
For some reason several git-annex files in Debian 10 buster
are read-only and removing them with "rm -rf" fails.

Fixes test failures like:

$ bitbake-selftest
...
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
EE..................................ssss.sssssssssssssss.sssss.......................................................................................................
======================================================================
ERROR: test_shallow_annex (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1773, in test_shallow_annex
    fetcher, ud = self.fetch_shallow(uri)
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1541, in fetch_shallow
    bb.utils.remove(ud.clonedir, recurse=True)
  File "/home/builder/src/base/poky/bitbake/lib/bb/utils.py", line 700, in remove
    subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource']' returned non-zero exit status 1.

Also, one "chmod" call was failing since the .git/annex subdirectory doesn't exist so just chmod
the whole temporary directory which should cover any directory name differences between
different git-annex versions. Fixes tests failing after chmod call:

Running 'export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; chmod u+w -R /tmp/tmpwmfn4w64/git//.git/annex' in /tmp/tmpwmfn4w64/git/

(Bitbake rev: 7729ef2983c72867e99fad82d671069ba5cb32b2)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Mikko Rapeli
490fb73e34 bitbake: bitbake: tests/fetch: fix test execution without .gitconfig
A CI user validating changes does not have any git push rights or
even a .gitconfig file so fix tests so that they run
by setting the user.name and user.email for the repo before
committing changes.

Fixes errors like:

ERROR: test_that_unpack_throws_an_error_when_the_git_clone_nor_shallow_tarball_exist (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 2055, in test_that_unpack_throws_an_error_when_the_git_clone_nor_shallow_tarball_exist
    self.add_empty_file('a')
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1562, in add_empty_file
    self.git(['commit', '-m', msg, path], cwd)
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1553, in git
    return bb.process.run(cmd, cwd=cwd)[0]
  File "/home/builder/src/base/poky/bitbake/lib/bb/process.py", line 184, in run
    raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git commit -m a a' failed with exit code 128:

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

(Bitbake rev: 57c0811f1ee19b6619f4840a39e01e3cb98c34c4)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Richard Purdie
7ea37b9291 bitbake: runqueue: Fix deferred task issues
In a multiconfig situation there are circumstances where firstly, tasks
are deferred when they shouldn't be, then later, tasks can end up as
both covered and not covered.

This patch fixes two related issues. Firstly, the stamp validity checking
is done up front in the build and not reevaulated. When rebuilding the
deferred task list after scenequeue hash change updates, we need therefore
need to check if a task was in notcovered *or* covered when deciding to
defer it. This avoids strange logs like:

NOTE: Running setscene task X of Y (mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch_setscene)
NOTE: Deferring mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch after mc:host:/A/alsa-state.bb:do_deploy_source_date_epoch

where tasks have run but are then deferred.

Since we're recalculating the whole list, we also need to clear it before
iterating to rebuild it. By ensuring covered tasks aren't added to the
deferred queue, the covered + notcovered issue should also be avoided.
in the task deadlock forcing code.

[YOCTO #14342]

(Bitbake rev: 3c8717fb9ee1114dd80fc1ad22ee6c9e312bdac7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Oleksandr Kravchuk
3f1ccea75e python3-setuptools: update to 56.0.0
(From OE-Core rev: 589a5695befb887f290746a3fc85d291fcb881ff)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Alejandro Enedino Hernandez Samaniego
a8ec0d8cfd python3: Upgrade 3.9.2 -> 3.9.4
- Rebased patch 0001-test_locale.py-correct-the-test-output-format
  Maintainer needs to sign CLA and resubmit
- configure now explicitly requires autoconf-archive to be present

(From OE-Core rev: 34cb8f2a2ed36ad929dca9055c96f2f843656b8f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Alejandro Enedino Hernandez Samaniego
51b7ecfef3 python3: Improve logging, syntax and update deprecated modules to create_manifest
The imp module has een deprecated by upstream python, drop its usage
  (imp.get_tag) in favor of sys.implementation.cache_tag.

Avoid incorrectly getting dependencies for running script and
multiprocessing module.

Improve logging behavior of the create_manifest task:
- Use indentation.
- Logs on temp directory.
- Use a proper debug flag.
- Standarize syntax.

(From OE-Core rev: a3ac339f5b8549a050308ba94c4ef9093f10e303)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Khem Raj
18007c25bd systemd: Fix build on mips/musl
(From OE-Core rev: b4a0d8799af0a3d1b685dd7200b545fdb2c79d64)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Otavio Salvador
44b37abc66 gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
(From OE-Core rev: ec3a1cb77131a3cf61fc005c84295d282a2eb80a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Otavio Salvador
8569ec6e7e gstreamer1.0-plugins-base: Add 'viv-fb' OpenGL Window System option
This adds the 'viv-fb' PACKAGECONFIG option to allow Vivante GPU window
system to work.

(From OE-Core rev: 846564f1a999ea044f580bd61f7bcd527af62dce)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
7117390a42 python3-pygobject: upgrade 3.38.0 -> 3.40.1
(From OE-Core rev: 3a274301edc359fba086e36da1272af93d59d178)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zangrc
a369684a85 maintainers.inc: Modify email address
zangrc.fnst@cn.fujitsu.com -> zangrc.fnst@fujitsu.com
wangmy@cn.fujitsu.com -> wangmy@fujitsu.com

(From OE-Core rev: 6e8562e5b924e6c10625c2e9b660eed89fdfbdf4)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
313c21d257 mesa: upgrade 21.0.1 -> 21.0.2
(From OE-Core rev: 58ad359da1b05820ea3dc4ae3f789ccb8991fc32)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
3d389d46d7 go: update SRC_URI to use https protocol
(From OE-Core rev: 2a1eb731ed3bcb049192550e362b771c3a9ea6eb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Yanfei Xu
6a58e0c4ad parselogs: ignore floppy error on qemu-system-x86 at boot stage
We can disable floppy drive by BIOS on a hardware, but an empty floppy
drive is connected by default on qemu-system-x86. Linux usually detect
the device and modprode the matched floppy.ko at the boot stage. Due to
we don't specify a floppy deivce in qemu boot arguments, then the errors
about floppy reading comes out.

It is harmless and normal, so we could ignore this error message on
qemux86.

Seen if kernel-modules is included in the image which pulls in the
relavent kernel module.

https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg01402.html

(From OE-Core rev: 3359f23ee9351c70997d5e0a17d17d1e47d59623)

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Jon Mason
f349bce59e oeqa/runtime: space needed
Messages are currently being printed as:
	Test requires dropbear, oropenssh-sshd to be installed
but should be
	Test requires dropbear, or openssh-sshd to be installed
Adding the space after the 'or' corrects this.

(From OE-Core rev: 51596e0f8cebe1607ab64ffb018d51e815c0ee4b)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
c3bd6ba29a man-pages: upgrade 5.10 -> 5.11
(From OE-Core rev: 40b0cd87c6677220168bfa029e68437b43d51df5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
e88cb57ea8 mpg123: upgrade 1.26.4 -> 1.26.5
(From OE-Core rev: f277c3bbde507ae1830b1ba6c5ce9c0878f42491)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Mingli Yu
d186f922ef groff: not ship /usr/bin/grap2graph
grap2graph which converts a GRAP diagram into a cropped image fails
to run as below:
 $ grap2graph
 /usr/bin/grap2graph: line 89: convert: command not found
 /usr/bin/grap2graph: warning: falling back to old '-crop 0x0' trim method
 /usr/bin/grap2graph: line 104: convert: command not found
 /usr/bin/grap2graph: line 103: grap: command not found

Considering we don't often need to convert a GRAP diagram into
a cropped image and the recipe ImageMagick which provides convert
command is in meta-oe layer, so don't ship the related files to
avoid the confusion about the above run time error.

(From OE-Core rev: 251be7279a475ee18c0c53fe9795bb37bffc2b45)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
67609b751e icu: upgrade 68.2 -> 69.1
refresh 0001-icu-Added-armeb-support.patch

(From OE-Core rev: 6b22fce3a8a3567c794d0d701ffd14b61ea859c8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
2e95ad1e67 libdrm: upgrade 2.4.104 -> 2.4.105
0001-meson-Also-search-for-rst2man.py.patch
removed since it is included in 2.4.105

(From OE-Core rev: 7871f85a9fe610f600c4234fce38d24808f5a2fd)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
9ff374170d librepo: upgrade 1.13.0 -> 1.14.0
(From OE-Core rev: 7017725b14888c9668efcad92bca46b4d1ce9a68)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
86f2dff78b libdazzle: upgrade 3.38.0 -> 3.40.0
(From OE-Core rev: 5c184382bd9e952d91993bd29320357360d79cb3)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
fb2be3e462 libcomps: upgrade 0.1.15 -> 0.1.16
refresh 0001-Add-crc32.c-to-sources-list.patch

(From OE-Core rev: f1f66e20eeea7bb1c370991490d34f868cd8a964)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
98d10b1c42 libcap: upgrade 2.48 -> 2.49
License-Update: add description of GPL v2.0

(From OE-Core rev: 2a02e5622d07146687f72615e9bcb8612cce03e3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Richard Purdie
b3092cf96d sanity: Add error check for '%' in build path
It has been reported that '%' characters in build paths break with python
exceptions, probably due to confusion with python string escaping. Whilst it
is probably fixable, showing the user a human readable error is better given
it doesn't work.

[YOCTO #14282]

(From OE-Core rev: 31a3cf78452270131a657be45e76569515cff7ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Ross Burton
9230ef121d insane: clean up some more warning messages
(From OE-Core rev: 2abe18682192e7b38b9af5a5043906f2f069648f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Armin Kuster
190a53a942 binutils: rename BRANCH var
If BRANCH is defined in local.conf then that name is used to d/l sources
for binutils. You will get this error:

Fetcher failure for URL: 'git://sourceware.org/git/binutils-gdb.git;branch=hardknott;protocol=git'. Unable to fetch URL from any source.

Rename to SRCBRANCH like glibc has to avoid the more common variable name BRANCH.

(From OE-Core rev: 40d18272cd765420080fffc0e4bde7e3e79982af)

Signed-off-by: Armin Kuster <akuster808@gmail.com>

--
V2]
Remove commented out BINUPV and function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Kevin Hao
a24d0161f6 Revert "inittab: Add getty launch on hvc0 for qemuppc64"
This reverts commit ed69ef2016.

The console entry has already been added into /etc/inittab based
on the SERIAL_CONSOLES. So drop this redundant entry.

(From OE-Core rev: 633f0c6b74e3caa2bae52ca60c61b811b7b2215d)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Kevin Hao
bfbccfd85f sysvinit-inittab/start_getty: Check /sys for the tty device existence
The hvc tty driver doesn't populate a file like /proc/tty/driver/serial,
so the current implementation of start_getty doesn't work for the hvc
console. By checking the /sys/class/tty/ for the tty device existence,
it should support more console types and also make the codes more simple.

(From OE-Core rev: 670ceef0f6584ece5ce4176610255226a6148570)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Kevin Hao
7d9a47e623 modutils-initscripts: Bail out when no module is installed
Fix the following warning when boot with a core-image-minimal rootfs:
  depmod: can't change directory to 'lib/modules/5.10.25-yocto-standard': No such file or directory

(From OE-Core rev: c34650400182a1104a5fbe03e54f5cea69eb1900)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Mingli Yu
25e1aabea6 libtool: make sure autoheader run before automake
When use automake to generate Makefile.in from Makefile.am, there
comes below race:
 | configure.ac:45: error: required file 'config-h.in' not found

It is because the file config-h.in in updating process by autoheader,
so make automake run after autoheader to avoid the above race.

(From OE-Core rev: 1fc0a4a98e65db7efba8bb5cb835101ea5dd865b)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Gavin Li
55c1c00456 kmod: do not symlink config.guess/config.sub during autoreconf
I was encountering the following race condition on poky:

- automake-native does do_install.
- automake-native does do_populate_sysroot. This hardlinks config.guess
  and config.sub into ${D}.
- kmod-native does do_configure. This runs `autoreconf`, which runs
  `automake --add-missing` (symlinks config.guess/config.sub from
  recipe-sysroot-native to build dir), then runs `gnu-configize` (copies
  _its own_ config.guess/config.sub _on top_ of the already existing
  ones). Since the destinations already had symlinks, the copy would
  overwrite config.guess/config.sub in recipe-sysroot-native, which
  would in turn overwrite the same in ${D} due to being hardlinked.
- automake-native does do_package. The outhash is thus calculated on the
  clobbered config.guess/config.sub files.

With hash equivalency enabled, the different outhash produced a
different unihash, which kept me from reusing sstate between my laptop
and my build server. This race condition would happen only on the build
server (BB_NUMBER_THREADS = 32) but never on my laptop
(BB_NUMBER_THREADS = 6).

I didn't see the --install and --symlink flags being used by any other
recipe, so I removed them, and that fixed the issue.

(From OE-Core rev: 89d675efd633b495daa4a3a57420b9c309497035)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Saul Wold
984dddf288 pango: re-enable ptest
The run-ptest script got accidently dropped from the SRC_URI during
a past update and ptest patch.

(From OE-Core rev: 4479f810c1a3ab2badf4f9610c309bc0e23e2a5f)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Anthony Bagwell
77ee8ef875 systemd: upgrade 247.4 -> 247.6
(From OE-Core rev: 63fbf39b8aa3d94ca2db719d1a53190045dbb86d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
bdda15e0f3 go: upgrade 1.16.2 -> 1.16.3
This is bugfix release in 1.16 series [1]

[1] https://github.com/golang/go/issues?q=milestone%3AGo1.16.3+label%3ACherryPickApproved

(From OE-Core rev: 84188e7b78aa40b168b526fa5d681a8a21d3b77c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Jose Quaresma
cac76cef79 gstreamer1.0: update patch upstream status
(From OE-Core rev: 0bd65127a249ce8a1199d4961e2351dbd6d83dd6)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Konrad Weihmann
ded1504299 cpan-base: set default UPSTREAM_CHECK_REGEX
as cpan release versions are almost always follow an a.b version scheme,
it's better to filter out beta releases such as a.b.c.
Use the first resource fetched from https://cpan.metacpan.org as base
for calculating the needed regex.
In case nothing can be calculated fall back to nothing.
Add this to cpan-base to enable it for new & old style cpan integration.

(From OE-Core rev: 3df2cf383b58a3100bd78ebb0369047221121512)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Ross Burton
da24dbf7b9 glslang: strip whitespace in pkgconfig file
Whilst pkg-config is fine with .pc files containing leading whitespace,
pkgconf is less forgiving.

(From OE-Core rev: 14bfe5f15f78c1bc049868633fd6fa19feb5a70c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Jonas Höppner
bcb4246fa6 ltp: fix empty ltp-dev package
Currently the headers are not installed and the ltp-dev package is
empty.

This patch adds an include-install make target in the do_install step to
install them in sysroot which ends up as a working ltp-dev package.

(From OE-Core rev: f6943da4444cd71053650be0c9212bc25ac53137)

Signed-off-by: Jonas Höppner <jonas.hoeppner@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anatol Belski
036a8d4330 cross-canadian: Whitelist "mingw32" as TARGET_OS
If a recipe inherits cross-canadian and contains "nativesdk" in
BBCLASSEXTEND and meta-mingw is included and multiconfig is enabled,
bitbake will generate the correspending recipe. As meta-mingw sets
SDK_OS to "mingw32", that's what TARGET_OS will be set to as well.
Thus, currently such a recipe won't pass the check and fail with
a message:

Building cross-candian for an unknown TARGET_SYS
(x86_64-mysdk-mingw32), please update cross-canadian.bbclass

Even when building an SDK targeting Linux, but the mentioned conditions
are met, bitbake will try to generate the corresponding recipe and fail.

As the described combination seems valid, including "mingw32" into the
whitelist unconditionally as a fix is suggested.

(From OE-Core rev: d9306e8f9dbdbd30382f0bc0f0a1af75e702a2aa)

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Mingli Yu
0ae3f1edd6 packagegroup-core-tools-testapps.bb: Remove kexec for riscv32
kexec is not yet ported to riscv32.

(From OE-Core rev: f1e7da7737b3d6df27cc5af002fd1eb0c202d0b4)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Mingli Yu
5228f37b7e packagegroup-core-tools-profile: Remove valgrind for riscv32
valgrind is not yet ported to riscv32.

(From OE-Core rev: df70bc4c60838af1dd7e7f31aba43e8d190def77)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Mingli Yu
8cf34c3517 libxshmfence: Build fixes for riscv32
NR_futex is not defined by newer architectures e.g. riscv32 as
they only have 64bit variant of time_t. Glibc defines SYS_futex
interface based on __NR_futex, since this is used in applications,
such applications start to fail to build for these newer architectures.

Define a fallback to alias __NR_futex to __NR_futex_time64 to make
SYS_futex keep working.

Reference: https://git.openembedded.org/openembedded-core/commit/?id=7a218adf9990f5e18d0b6a33eb34091969f979c7

(From OE-Core rev: 81599bf32135187b34726d41e9f619d22ca1bdd1)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Ulrich Ölmann
91aa850998 arch-armv6m.inc: fix access rights
(From OE-Core rev: 2f7ebe444c2a78ef149b8c5f0f005ab23f24a176)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Douglas Royds
a7c950d7b5 externalsrc: Detect code changes in submodules
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our source subtree.

[YOCTO #14333]

(From OE-Core rev: 1c18225d3ef94a41fc073ae87c163b68e6d46571)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Douglas Royds
52c1cb2a9d Revert "externalsrc: Detect code changes in submodules"
This reverts commit 4525310d49d115a37705f04ac5c03d639e5e8f8c.

Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our EXTERNALSRC subtree.

If we unpack one git repo inside another, like this:

    SRC_URI = "git://${GIT_SERVER}/repo1;name=repo1;destsuffix=repo1 \
               git://${GIT_SERVER}/repo2;name=repo2;destsuffix=repo1/repo2 \
               "

Git status reports, for repo1:

    Untracked files:
      (use "git add <file>..." to include in what will be committed)
	repo2/

If we run `devtool modify` on this recipe, do_patch runs with:

    PATCHTOOL = "git"
    PATCH_COMMIT_FUNCTIONS = "1"

The `patch_task_postfunc` (patch.bbclass, line 82) runs a `git add .` on the
top-level repo1, leaving the checkout in an invalid state. The following git
warning does not appear in the log:

    $ git add .
    warning: adding embedded git repository: repo2
    hint: You've added another git repository inside your current repository.
    hint: Clones of the outer repository will not contain the contents of
    hint: the embedded repository and will not know how to obtain it.
    hint: If you meant to add a submodule, use:
    hint:
    hint: 	git submodule add <url> repo2
    hint:
    hint: If you added this path by mistake, you can remove it from the
    hint: index with:
    hint:
    hint: 	git rm --cached repo2
    hint:
    hint: See "git help submodule" for more information.

    $ git submodule status
    fatal: no submodule mapping found in .gitmodules for path 'repo2'

No further git submodule commands can be run on the checkout.

We could enhance the `patch_task_postfunc` to look for any embedded git
checkouts and add them as submodules, but this seems unnecessary complexity for
an obscure edge-case. Although the git repo is left in an invalid state with
respect to the submodules, it still serves the purpose required by devtool:
To take further commits, and generate patch files from them.

We are still able to run these commands to examine any submodules,
where git submodule--helper reports paths relative to the top of the checkout:

    $ git ls-files --stage | grep ^160000
    160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0   repo2

    $ git submodule--helper list
    160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0   repo2

When a recipe sets EXTERNALSRC to a subdirectory of the git checkout, we test
for the existence of the reported submodule paths within the EXTERNALSRC
directory.

The latest versions of git submodule--helper accept a path to a subdirectory and
correctly report no submodules within that subdirectory. Regrettably, we still
support git versions that don't accept a path to a subdirectory.

[YOCTO #14333]

(From OE-Core rev: 2055718fdd19f925e236d67823017323bbd92a4b)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Samuli Piippo
91cb0b9645 assimp: BBCLASSEXTEND to native and nativesdk
At least some Qt tooling depends on assimp.

(From OE-Core rev: 49c6742eba328236cb73c0ac59b6288f29c46c81)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
40f1ab6a53 libksba: upgrade 1.5.0 -> 1.5.1
(From OE-Core rev: 506a99a9f2dd49bacc06821ad5e953c15d44b5e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
c2804bba62 libportal: upgrade 0.3 -> 0.4
(From OE-Core rev: c6517d33eed8b092d2eda04b9173892139090b4c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
82fb0385a9 help2man: upgrade 1.48.2 -> 1.48.3
(From OE-Core rev: 27a2cbc0fa14ed8f6bdf5e75c38203238ed82931)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
8c1dff642c libva-utils: upgrade 2.10.0 -> 2.11.1
(From OE-Core rev: e296fc53b738c3a2b72831a6d6d003f28f19d062)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
122293878e ruby: upgrade 3.0.0 -> 3.0.1
(From OE-Core rev: b6949a028fd31bd04ed0478fb34a58b971f31e1f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
32710bff53 libva: upgrade 2.10.0 -> 2.11.0
(From OE-Core rev: 47360e2dacf0521260ef5883f4a741eb8c69a18e)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Yi Fan Yu
1a42923505 Revert "glib-2.0: add workaround to fix codegen.py.test failing"
This reverts commit afc9ba7d546f3f2e60fb6f46f740dc925542df16.

Ptest-runner was upgraded in e3fd8f17dfb41173dbe037c25087a69f90b1346f,
which means we no longer need to limit glib-2.0 ptest output.

[YOCTO #14170]

(From OE-Core rev: e7be3901e43645796e195348924739d03495a079)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
hongxu
9ca4b13bd5 deb: apply postinstall on sdk
If not postinstall applied, some nativesdk command could not be found
in sdk due to update-alternatives in postinst not be executed, such as chroot:

$ which chroot
/sbin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils

After applying the fix
$ which chroot
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils

(From OE-Core rev: 2a9bf19502766baa4087456649d5471483d04f6a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anders Wallin
9e0f210179 scripts/contrib/image-manifest: add new script
image-manifest: script to generate product/image specific BOM

The image-manifest script generates image specific reports based on
an image manifest file. Currently there is data generated by buildhistory,
pkgdata, and license manifest but this data is poorly formated and spread
across multiple text files. This script can generate a single JSON output
file that is machine readable by other tools.

The manifest-info collects package information and stores the information
in a tarball. manifest-info can be configured using a json configuration
file. The default configuration including all possible options can be
dumped using the dump-config subcommand.

image-manifest takes an image manifest file as input to get the runtime
dependencies. As an option image-manifest can also use the build dependency
file, pn-buildlist, to get the build dependencies excluding native
packages.

This script extends the oe-image-manifest script [0] done by Paul Eggleton

[0]
https://github.com/intel/clear-linux-dissector-web/blob/master/layerindex/static/files/oe-image-manifest

------------------------------------------------------
usage: image-manifest [-h] [-d] [-q] <subcommand> ...

Image manifest utility

options:
  -h, --help     show this help message and exit
  -d, --debug    Enable debug output
  -q, --quiet    Print only errors

subcommands:
  recipe-info    Get recipe info
  list-depends   List dependencies
  list-recipes   List recipes producing packages within an image
  list-packages  List packages within an image
  list-layers    List included layers
  dump-config    Dump default config
  manifest-info  Export recipe info for a manifest
Use image-manifest <subcommand> --help to get help on a specific command

Co-developed-by: Paul Eggleton <bluelightning@bluelightning.org>
(From OE-Core rev: ad8fec9ce1704866df925bda18a240d6889b1ed5)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Stefan Ghinea
f07d4c2234 wpa-supplicant: fix CVE-2021-30004
In wpa_supplicant and hostapd 2.9, forging attacks may occur because
AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and
tls/x509v3.c.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-30004

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=a0541334a6394f8237a4393b7372693cd7e96f15

(From OE-Core rev: b32b671bf430b36a5547f8d822dbb760d6be47f7)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
317907d736 acpica: upgrade 20210105 -> 20210331
(From OE-Core rev: 5165d2e38406c29809dcdbbde4fbc48bcda01b43)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
218e1e3f47 curl: upgrade 7.75.0 -> 7.76.0
(From OE-Core rev: c1dfe36c5641ce1ddc1424e56037e23fd927c058)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
3db91ef623 file: upgrade 5.39 -> 5.40
0001-src-compress.c-correct-header-define-for-xz-lzma.patch
removed since it is included in 5.40

(From OE-Core rev: ae73c5fa666c0e0a7d1d7a04acd6246542b744aa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anders Wallin
565cbd773d lttng-tools: Fix path for test_python_looging
" was missing

(From OE-Core rev: e1780ccfc89e9ff4e260276f28ffa0bb8e9b44e1)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anders Wallin
beb01f1820 lttng-tools: Fix missing legacy test files
tests/regression/tools/save-load

(From OE-Core rev: 2e892895e25d148b4c522e3a30bfb1bb4e9a9506)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Khem Raj
5765253344 vte: Upgrade to 0.64.0 release
Use git for SRC_URI as thi release has not appeared on gnome downloads yet
Drop LGPL-2.0 as it has fully moved to LGPL-3.1+ see [1] that also
covers for change in License checksums for GPL-3

Add license information to cover for Xterm files in libvte

Add new glade files into -dev package

[1] 5e14529d42

(From OE-Core rev: 4a1a20325e2d40256e03ab1a5be348a4c213d181)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
54dff05002 glib-2.0: upgrade 2.66.7 -> 2.68.0
the following patches are refreshed:
0001-Set-host_machine-correctly-when-building-with-mingw3.patch
0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
0001-tests-codegen.py-removing-unecessary-print-statement.patch
relocate-modules.patch

the following patches are removed since they are included
in 2.68.0:
0001-gobject-Drop-use-of-volatile-from-get_type-macros.patch
0002-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0003-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0004-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0005-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0006-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0007-gdbusconnection-Drop-unnecessary-volatile-qualifiers.patch
0008-gdbuserror-Drop-unnecessary-volatile-qualifiers-from.patch
0009-gio-Drop-unnecessary-volatile-qualifiers-from-intern.patch
0010-kqueue-Fix-unlocked-access-to-shared-variable.patch
0011-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0012-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0013-gatomic-Drop-unnecessary-volatile-qualifiers-from-in.patch
0014-gatomic-Drop-unnecessary-volatile-qualifiers-from-ma.patch
0015-glib-Drop-unnecessary-volatile-qualifiers-from-inter.patch
0016-gobject-Drop-unnecessary-volatile-qualifiers-from-in.patch
0017-gmessages-Drop-unnecessary-volatile-qualifiers-from-.patch
0018-gtypes-Drop-volatile-qualifier-from-gatomicrefcount.patch
0019-gatomicarray-Drop-volatile-qualifier-from-GAtomicArr.patch
0020-gobject-Drop-volatile-qualifier-from-GObject.ref_cou.patch
0021-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0022-build-Drop-unnecessary-volatile-qualifiers-from-conf.patch
0023-gdbusprivate-Avoid-a-warning-about-a-statement-with-.patch
0024-tests-Add-comment-to-volatile-atomic-tests.patch
0025-gthread-Use-g_atomic-primitives-correctly-in-destruc.patch
0026-gtype-Fix-some-typos-in-comments.patch
0027-gtype-Add-some-missing-atomic-accesses-to-init_state.patch
0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch
0029-docs-Document-not-to-use-volatile-qualifiers.patch

(From OE-Core rev: fde4cb18e28e98f934c0742292f7ec183a568233)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
d7e0475b50 python3-gitdb: upgrade 4.0.5 -> 4.0.7
(From OE-Core rev: 4abef6ce5093ce62fb583eba1f103f1b79723723)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
4ca98c14a6 python3-dbusmock: upgrade 0.22.0 -> 0.23.0
(From OE-Core rev: 114950983c82a7412301ed88bf1f74d7f2d2ac14)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
075ac6ca72 netbase: upgrade 6.2 -> 6.3
(From OE-Core rev: 9fd991163cfce6c4a1cf481b42c493eccb0a5a1a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
2e7c5829fc libsolv: upgrade 0.7.17 -> 0.7.18
(From OE-Core rev: a06a4d19b102c4b1fbdb969c8b6e96c2ffba3ef9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
bf8055edad ghostscript: upgrade 9.53.3 -> 9.54.0
(From OE-Core rev: bb4cdbda73b77808ebbd17cce3420fab767b496d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
446a078ad5 gcr: upgrade 3.38.1 -> 3.40.0
(From OE-Core rev: d9f8925864d80d959b2b145c00fb36423f6dd08e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
6852a907dc ccache: upgrade 4.2 -> 4.2.1
License-Update: add license information of src/third_party/win32/winerror_to_errno.h

(From OE-Core rev: 12f0aa9533edc7ac5a65b1c165797b049349b19e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
49652a4910 dbus-glib: upgrade 0.110 -> 0.112
License-Update:add the following information of license
     SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later

(From OE-Core rev: fbc9e6f5c2a45ff917b7c255487616d922bdeb7a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
da9f221f70 ell: upgrade 0.38 -> 0.39
(From OE-Core rev: dba7774a0f34eea86707a011941c7b3ef2fa5c1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Randy MacLeod
0b16b83dff sqlite3: upgrade 3.35.0 -> 3.35.3
(From OE-Core rev: 7d511f9b2b1f739e0c96a063d85428b3ab5767b3)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
af42c1a8ad vte: upgrade 0.62.2 -> 0.62.3
(From OE-Core rev: f258154135980c054c220a34c6a9c4278d2038c3)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
b676111c64 webkitgtk: upgrade 2.30.5 -> 2.30.6
(From OE-Core rev: 9a3a925cc90f1b882463f3e885af441177a8215c)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
zhengruoqin
7b4b6ff618 wpebackend-fdo: upgrade 1.8.0 -> 1.8.2
(From OE-Core rev: c65d04d555df94ad3b5c1076d8b5097de699f8c5)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
zhengruoqin
19ff739725 epiphany: upgrade 3.38.2 -> 3.38.3
(From OE-Core rev: 5062a5a0e7d2228051721346bbc2abb4ab7c9ecc)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
31e395f4ba libassuan: upgrade 2.5.4 -> 2.5.5
refresh libassuan-add-pkgconfig-support.patch

(From OE-Core rev: e4948654311034d75352ffd74d7f602d7f8394de)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
8c88d149c8 valgrind: Add libstdc++ debug symbols for ptest
new/delete symbols are needed by overloaded-new.post test

(From OE-Core rev: 11bb1fe42590fd35ae5f24196d263f93dd063d35)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
5015e6711d valgrind: Add glibc-src to ptest rdeps
gdbserver tests look for glibc sources ( rtld.c )
or else they are flagged as differences and tests marked as failures

(From OE-Core rev: 3824f811db82c6f2360eea19a9df9129f4330291)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
5751bf6e14 valgrind: Delete trailing whitespaces
(From OE-Core rev: 2a049dd918e565c37b03af03973c695420b9599a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Yi Fan Yu
e90519f1b5 valgrind: Fix ptest swapcontext.vgtest
Backport an upstream patch.
to limit the amount of stackstrace present.

Revert "valgrind: Disable ptest swapcontext.vgtest"
Effectively reverts commit 9dff5766f5795bb02677050045f24365f68bbc1a.

[YOCTO #14324]

(From OE-Core rev: a9baae5994354ba6410793f8a54e224e9dc21b5a)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Yi Fan Yu
0f51493992 valgrind: Disable ptest swapcontext.vgtest
New test introduced in valgrind 3.17.0.
Test fails on both qemuarm64 and qemux64.

[YOCTO #14324]

(From OE-Core rev: 2c21e5dda1d88280be3062eabb8c2788ff543600)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Yi Fan Yu
70dcfaea5e valgrind: update 3.16.1 -> 3.17.0
Notable changes:
* library is now in libexecdir instead of libdir

Added patches:
* Add musl.supp: missing musl.supp in 3.17.0

Dropped backport patches:
* nlcontrolc: found in c79180a3afcf65902e578646c3b716cc749db406
* drd Fedora33: found in 15330adf7c2471fbaa6a0818db07078d81dbff97
* lmw lswi ppc64le: found in 74b74174d572fee4015b8f4e326db3cd949bcdc3

Other dropped patches
* helgrind intercept: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9
* drd musl fix: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9

TESTING RESULTS:
qemux86-64:
FAIL: drd/tests/swapcontext

      3.17.0  3.16.1
===================
TOTAL:  736    726
PASSED: 694    688
FAILED:   1      0
SKIPPED: 41     38

(From OE-Core rev: 7c8c04ad933be38a806da355158c1e13e2c1b84c)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
ea6c56ed89 boost-build-native: upgrade 4.3.0 -> 4.4.1
(From OE-Core rev: 9c8cc168d215d5eb784997a40c31262904ff8145)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
583a26f346 babeltrace2: upgrade 2.0.3 -> 2.0.4
(From OE-Core rev: 628d335300ac378f8b7af5d1437873990fffa9e5)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
0732afc6e9 at-spi2-core: upgrade 2.38.0 -> 2.40.0
(From OE-Core rev: 3e3e158839b57221919d1dd54eb54fffc1f9ac1b)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Richard Purdie
83b9c24889 layer.conf: Update to add post 3.3 release honister series
(From OE-Core rev: c0f43f19fecfd16f973c2d2f8227106c46b451bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Chen Qi
bbec2f3f29 busybox: fix CVE-2021-28831
Backport patch to fix CVE-2021-28831.

(From OE-Core rev: e579dbd9a6b2472ca90f411c0b594da9e38c9aca)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Daniel Ammann
cf80f79422 archiver: Fix typos
(From OE-Core rev: 36de56496bc07c321162555d603fac756297911a)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
27eadb84fe gcc-runtime: Make DEBUG_PREFIX_MAP relative to S
Current definition of SLIB is actually equal to S but is hardcoded, this
means when we have altered location of S, then the regexp for
DEBUG_PREFIX_MAP will not be effective, which could result in S being
emitted into debug_line sections. Simplify the maps to use S variable
instead of SLIB

Secondly, rename SLIB_NEW to REL_S to make it more appropritate to what
it represents

(From OE-Core rev: 2c8e130adb5d4d55ba732a042ec157498460ee29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
f715025381 glibc: Rename glibc src package
Since glibc uses custom PACKAGES, it misses using ${PN}-src and as a
result it uses libc-src for name which means creating rdep on glibc src
package becomes difficult since bitbake can not resolve rdep = glibc-src
back to glibc recipe and bails out on builds

Missing or unbuildable dependency chain was: ['glibc-src']
ERROR: Required build target 'valgrind' has no buildable providers.
Missing or unbuildable dependency chain was: ['valgrind', 'glibc-src']

(From OE-Core rev: 816c8529f05271aba3d414ab2e68506ac7b6ec69)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
e237e345fb gcc: Upgrade to 10.3.0 bug-fix release
Drop aarch64 backports which are already upstream
List of bugs fixed is [1]

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=298084&resolution=FIXED&target_milestone=10.3

(From OE-Core rev: 023806e0e0de2b0e814e6e38d78bf2faa9661f19)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khairul Rohaizzat Jamaluddin
b50e51b1c8 qemu: Fix CVE-2020-35517
CVE:
CVE-2020-35517

(From OE-Core rev: 51376edb13eed748395ebe1e56081c092565be9b)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Richard Purdie
84a6d97670 oeqa/selftest: Ensure packages classes are set correctly for maintainers test
The dnf packages aren't parsed if rpm isn't in PACKAGE_CLASSES which means
the aintainers test failes for OE-Core (where ipk is the default) but not
for poky (where the default is rpm).

Ensure PACKAGE_CLASSES is set so it works in all cases.

[YOCTO #14277]

(From OE-Core rev: 842b11107363357ed933cfcf619f1cf23f0d841e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Richard Purdie
773f19df44 pseudo: Upgrade to add trailing slashes ignore path fix
Pull in:
  client: strip trailing slashes when opening an ignored path

(From OE-Core rev: 9fb92bc13b8a78ef98798f14e728058feb180ba6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:23 +01:00
Peter Budny
16aeb6e94f lib/oe/terminal: Fix tmux new-session on older tmux versions (<1.9)
`tmux new -c` fails on tmux older than 1.9, when that flag was added.
We can omit the flag for older versions of tmux, and the working
directory gets set even without it.

(From OE-Core rev: c55c294be6f5119f4c58a4e7a0bc052904126569)

Signed-off-by: Peter Budny <pbbudny@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:23 +01:00
3744 changed files with 155177 additions and 107423 deletions

72
MAINTAINERS.md Normal file
View File

@@ -0,0 +1,72 @@
OpenEmbedded-Core and Yocto Project Maintainer Information
==========================================================
OpenEmbedded and Yocto Project work jointly together to maintain the metadata,
layers, tools and sub-projects that make up their ecosystems.
The projects operate through collaborative development. This currently takes
place on mailing lists for many components as the "pull request on github"
workflow works well for single or small numbers of maintainers but we have
a large number, all with different specialisms and benefit from the mailing
list review process. Changes therefore undergo peer review through mailing
lists in many cases.
This file aims to acknowledge people with specific skills/knowledge/interest
both to recognise their contributions but also empower them to help lead and
curate those components. Where we have people with specialist knowledge in
particular areas, during review patches/feedback from these people in these
areas would generally carry weight.
This file is maintained in OE-Core but may refer to components that are separate
to it if that makes sense in the context of maintainership. The README of specific
layers and components should ultimately be definitive about the patch process and
maintainership for the component.
Recipe Maintainers
------------------
See meta/conf/distro/include/maintainers.inc
Component/Subsystem Maintainers
-------------------------------
* Kernel (inc. linux-yocto, perf): Bruce Ashfield
* Reproducible Builds: Joshua Watt
* Toaster: David Reyna
* Hash-Equivalence: Joshua Watt
* Recipe upgrade infrastructure: Alex Kanavin
* Toolchain: Khem Raj
* ptest-runner: Aníbal Limón
* opkg: Alex Stewart
* devtool: Saul Wold
* eSDK: Saul Wold
* overlayfs: Vyacheslav Yurkov
Maintainers needed
------------------
* Pseudo
* Layer Index
* recipetool
* QA framework/automated testing
* error reporting system/web UI
* wic
* Patchwork
* Patchtest
* Prelink-cross
* Matchbox
* Sato
* Autobuilder
Layer Maintainers needed
------------------------
* meta-gplv2 (ideally new strategy but active maintainer welcome)
Shadow maintainers/development needed
--------------------------------------
* toaster
* bitbake

View File

@@ -1,29 +0,0 @@
OpenEmbedded-Core
=================
OpenEmbedded-Core is a layer containing the core metadata for current versions
of OpenEmbedded. It is distro-less (can build a functional image with
DISTRO = "nodistro") and contains only emulated machine support.
For information about OpenEmbedded, see the OpenEmbedded website:
http://www.openembedded.org/
The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
http://yoctoproject.org/documentation
Contributing
------------
Please refer to
http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches.
Mailing list:
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Source code:
http://git.openembedded.org/openembedded-core/

29
README.OE-Core.md Normal file
View File

@@ -0,0 +1,29 @@
OpenEmbedded-Core
=================
OpenEmbedded-Core is a layer containing the core metadata for current versions
of OpenEmbedded. It is distro-less (can build a functional image with
DISTRO = "nodistro") and contains only emulated machine support.
For information about OpenEmbedded, see the OpenEmbedded website:
https://www.openembedded.org/
The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
https://docs.yoctoproject.org/
Contributing
------------
Please refer to
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches.
Mailing list:
https://lists.openembedded.org/g/openembedded-core
Source code:
https://git.openembedded.org/openembedded-core/

View File

@@ -1 +0,0 @@
meta-yocto-bsp/README.hardware

1
README.hardware.md Symbolic link
View File

@@ -0,0 +1 @@
meta-yocto-bsp/README.hardware.md

1
README.md Symbolic link
View File

@@ -0,0 +1 @@
README.poky.md

View File

@@ -1 +0,0 @@
meta-poky/README.poky

1
README.poky.md Symbolic link
View File

@@ -0,0 +1 @@
meta-poky/README.poky.md

View File

@@ -7,7 +7,7 @@ One of BitBake's main users, OpenEmbedded, takes this core and builds embedded L
stacks using a task-oriented approach.
For information about Bitbake, see the OpenEmbedded website:
http://www.openembedded.org/
https://www.openembedded.org/
Bitbake plain documentation can be found under the doc directory or its integrated
html version at the Yocto Project website:
@@ -17,7 +17,7 @@ Contributing
------------
Please refer to
http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches, just note that the latter documentation is intended
for OpenEmbedded (and its core) not bitbake patches (bitbake-devel@lists.openembedded.org)
but in general main guidelines apply. Once the commit(s) have been created, the way to send
@@ -28,8 +28,16 @@ branch, type:
Mailing list:
http://lists.openembedded.org/mailman/listinfo/bitbake-devel
https://lists.openembedded.org/g/bitbake-devel
Source code:
http://git.openembedded.org/bitbake/
https://git.openembedded.org/bitbake/
Testing:
Bitbake has a testsuite located in lib/bb/tests/ whichs aim to try and prevent regressions.
You can run this with "bitbake-selftest". In particular the fetcher is well covered since
it has so many corner cases. The datastore has many tests too. Testing with the testsuite is
recommended before submitting patches, particularly to the fetcher and datastore. We also
appreciate new test cases and may require them for more obscure issues.

View File

@@ -12,6 +12,8 @@
import os
import sys
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
'lib'))
@@ -26,7 +28,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
__version__ = "1.50.0"
__version__ = "2.0.0"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -11,6 +11,7 @@
import os
import sys
import warnings
warnings.simplefilter("default")
import argparse
import logging
import pickle
@@ -59,7 +60,7 @@ def find_siginfo_task(bbhandler, pn, taskname, sig1=None, sig2=None):
if sig1 and sig2:
sigfiles = find_siginfo(bbhandler, pn, taskname, [sig1, sig2])
if len(sigfiles) == 0:
if not sigfiles:
logger.error('No sigdata files found matching %s %s matching either %s or %s' % (pn, taskname, sig1, sig2))
sys.exit(1)
elif not sig1 in sigfiles:
@@ -85,7 +86,7 @@ def recursecb(key, hash1, hash2):
hashfiles = find_siginfo(tinfoil, key, None, hashes)
recout = []
if len(hashfiles) == 0:
if not hashfiles:
recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2))
elif not hash1 in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash1))

50
bitbake/bin/bitbake-getvar Executable file
View File

@@ -0,0 +1,50 @@
#! /usr/bin/env python3
#
# Copyright (C) 2021 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import argparse
import io
import os
import sys
import warnings
warnings.simplefilter("default")
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)
sys.path[0:0] = [os.path.join(topdir, 'lib')]
import bb.tinfoil
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Bitbake Query Variable")
parser.add_argument("variable", help="variable name to query")
parser.add_argument("-r", "--recipe", help="Recipe name to query", default=None, required=False)
parser.add_argument('-u', '--unexpand', help='Do not expand the value (with --value)', action="store_true")
parser.add_argument('-f', '--flag', help='Specify a variable flag to query (with --value)', default=None)
parser.add_argument('--value', help='Only report the value, no history and no variable name', action="store_true")
args = parser.parse_args()
if args.unexpand and not args.value:
print("--unexpand only makes sense with --value")
sys.exit(1)
if args.flag and not args.value:
print("--flag only makes sense with --value")
sys.exit(1)
with bb.tinfoil.Tinfoil(tracking=True) as tinfoil:
if args.recipe:
tinfoil.prepare(quiet=2)
d = tinfoil.parse_recipe(args.recipe)
else:
tinfoil.prepare(quiet=2, config_only=True)
d = tinfoil.config_data
if args.flag:
print(str(d.getVarFlag(args.variable, args.flag, expand=(not args.unexpand))))
elif args.value:
print(str(d.getVar(args.variable, expand=(not args.unexpand))))
else:
bb.data.emit_var(args.variable, d=d, all=True)

View File

@@ -13,6 +13,8 @@ import pprint
import sys
import threading
import time
import warnings
warnings.simplefilter("default")
try:
import tqdm

View File

@@ -10,6 +10,8 @@ import sys
import logging
import argparse
import sqlite3
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'lib'))

View File

@@ -14,6 +14,8 @@ import logging
import os
import sys
import argparse
import warnings
warnings.simplefilter("default")
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)

View File

@@ -6,6 +6,8 @@
import os
import sys,logging
import optparse
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),'lib'))
@@ -36,12 +38,14 @@ def main():
dest="host", type="string", default=PRHOST_DEFAULT)
parser.add_option("--port", help="port number(default: 8585)", action="store",
dest="port", type="int", default=PRPORT_DEFAULT)
parser.add_option("-r", "--read-only", help="open database in read-only mode",
action="store_true")
options, args = parser.parse_args(sys.argv)
prserv.init_logger(os.path.abspath(options.logfile),options.loglevel)
if options.start:
ret=prserv.serv.start_daemon(options.dbfile, options.host, options.port,os.path.abspath(options.logfile))
ret=prserv.serv.start_daemon(options.dbfile, options.host, options.port,os.path.abspath(options.logfile), options.read_only)
elif options.stop:
ret=prserv.serv.stop_daemon(options.host, options.port)
else:

View File

@@ -7,6 +7,8 @@
import os
import sys, logging
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'lib'))
import unittest
@@ -29,6 +31,7 @@ tests = ["bb.tests.codeparser",
"bb.tests.runqueue",
"bb.tests.siggen",
"bb.tests.utils",
"bb.tests.compression",
"hashserv.tests",
"layerindexlib.tests.layerindexobj",
"layerindexlib.tests.restapi",

View File

@@ -8,6 +8,7 @@
import os
import sys
import warnings
warnings.simplefilter("default")
import logging
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
@@ -26,12 +27,10 @@ readypipeinfd = int(sys.argv[3])
logfile = sys.argv[4]
lockname = sys.argv[5]
sockname = sys.argv[6]
timeout = sys.argv[7]
timeout = float(sys.argv[7])
xmlrpcinterface = (sys.argv[8], int(sys.argv[9]))
if xmlrpcinterface[0] == "None":
xmlrpcinterface = (None, xmlrpcinterface[1])
if timeout == "None":
timeout = None
# Replace standard fds with our own
with open('/dev/null', 'r') as si:

View File

@@ -6,6 +6,7 @@
import os
import sys
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
from bb import fetch2
import logging
@@ -16,6 +17,8 @@ import signal
import pickle
import traceback
import queue
import shlex
import subprocess
from multiprocessing import Lock
from threading import Thread
@@ -145,9 +148,14 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
# a fork() or exec*() activates PSEUDO...
envbackup = {}
fakeroot = False
fakeenv = {}
umask = None
uid = os.getuid()
gid = os.getgid()
taskdep = workerdata["taskdeps"][fn]
if 'umask' in taskdep and taskname in taskdep['umask']:
umask = taskdep['umask'][taskname]
@@ -164,6 +172,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
# We can't use the fakeroot environment in a dry run as it possibly hasn't been built
if 'fakeroot' in taskdep and taskname in taskdep['fakeroot'] and not dry_run:
fakeroot = True
envvars = (workerdata["fakerootenv"][fn] or "").split()
for key, value in (var.split('=') for var in envvars):
envbackup[key] = os.environ.get(key)
@@ -232,6 +241,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
the_data = databuilder.mcdata[mc]
the_data.setVar("BB_WORKERCONTEXT", "1")
the_data.setVar("BB_TASKDEPDATA", taskdepdata)
the_data.setVar('BB_CURRENTTASK', taskname.replace("do_", ""))
if cfg.limited_deps:
the_data.setVar("BB_LIMITEDDEPS", "1")
the_data.setVar("BUILDNAME", workerdata["buildname"])
@@ -251,6 +261,13 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
bb.utils.set_process_name("%s:%s" % (the_data.getVar("PN"), taskname.replace("do_", "")))
if not the_data.getVarFlag(taskname, 'network', False):
if bb.utils.is_local_uid(uid):
logger.debug("Attempting to disable network for %s" % taskname)
bb.utils.disable_network(uid, gid)
else:
logger.debug("Skipping disable network for %s since %s is not a local uid." % (taskname, uid))
# exported_vars() returns a generator which *cannot* be passed to os.environ.update()
# successfully. We also need to unset anything from the environment which shouldn't be there
exports = bb.data.exported_vars(the_data)
@@ -282,7 +299,13 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
try:
if dry_run:
return 0
return bb.build.exec_task(fn, taskname, the_data, cfg.profile)
try:
ret = bb.build.exec_task(fn, taskname, the_data, cfg.profile)
finally:
if fakeroot:
fakerootcmd = shlex.split(the_data.getVar("FAKEROOTCMD"))
subprocess.run(fakerootcmd + ['-S'], check=True, stdout=subprocess.PIPE)
return ret
except:
os._exit(1)
if not profiling:
@@ -406,14 +429,18 @@ class BitbakeWorker(object):
if self.queue.startswith(b"<" + item + b">"):
index = self.queue.find(b"</" + item + b">")
while index != -1:
func(self.queue[(len(item) + 2):index])
try:
func(self.queue[(len(item) + 2):index])
except pickle.UnpicklingError:
workerlog_write("Unable to unpickle data: %s\n" % ":".join("{:02x}".format(c) for c in self.queue))
raise
self.queue = self.queue[(index + len(item) + 3):]
index = self.queue.find(b"</" + item + b">")
def handle_cookercfg(self, data):
self.cookercfg = pickle.loads(data)
self.databuilder = bb.cookerdata.CookerDataBuilder(self.cookercfg, worker=True)
self.databuilder.parseBaseConfiguration()
self.databuilder.parseBaseConfiguration(worker=True)
self.data = self.databuilder.data
def handle_extraconfigdata(self, data):
@@ -513,9 +540,11 @@ except BaseException as e:
import traceback
sys.stderr.write(traceback.format_exc())
sys.stderr.write(str(e))
finally:
worker_thread_exit = True
worker_thread.join()
worker_thread_exit = True
worker_thread.join()
workerlog_write("exitting")
workerlog_write("exiting")
if not normalexit:
sys.exit(1)
sys.exit(0)

View File

@@ -16,6 +16,8 @@ import itertools
import os
import subprocess
import sys
import warnings
warnings.simplefilter("default")
version = 1.0

View File

@@ -33,7 +33,7 @@ databaseCheck()
$MANAGE migrate --noinput || retval=1
if [ $retval -eq 1 ]; then
echo "Failed migrations, aborting system start" 1>&2
echo "Failed migrations, halting system start" 1>&2
return $retval
fi
# Make sure that checksettings can pick up any value for TEMPLATECONF
@@ -41,7 +41,7 @@ databaseCheck()
$MANAGE checksettings --traceback || retval=1
if [ $retval -eq 1 ]; then
printf "\nError while checking settings; aborting\n"
printf "\nError while checking settings; exiting\n"
return $retval
fi
@@ -248,7 +248,7 @@ fi
# 3) the sqlite db if that is being used.
# 4) pid's we need to clean up on exit/shutdown
export TOASTER_DIR=$TOASTERDIR
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOASTER_DIR"
export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS TOASTER_DIR"
# Determine the action. If specified by arguments, fine, if not, toggle it
if [ "$CMD" = "start" ] ; then

View File

@@ -19,6 +19,8 @@ import sys
import json
import pickle
import codecs
import warnings
warnings.simplefilter("default")
from collections import namedtuple

View File

@@ -1,7 +1,7 @@
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com>
#
#
# Dockerfile to build a bitbake hash equivalence server container
#
# From the root of the bitbake repository, run:
@@ -15,5 +15,9 @@ RUN apk add --no-cache python3
COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
COPY lib/bb /opt/bbhashserv/lib/bb/
COPY lib/codegen.py /opt/bbhashserv/lib/codegen.py
COPY lib/ply /opt/bbhashserv/lib/ply/
COPY lib/bs4 /opt/bbhashserv/lib/bs4/
ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"]

View File

@@ -0,0 +1,62 @@
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2022 Daniel Gomez <daniel@qtec.com>
#
# Dockerfile to build a bitbake PR service container
#
# From the root of the bitbake repository, run:
#
# docker build -f contrib/prserv/Dockerfile . -t prserv
#
# Running examples:
#
# 1. PR Service in RW mode, port 18585:
#
# docker run --detach --tty \
# --env PORT=18585 \
# --publish 18585:18585 \
# --volume $PWD:/var/lib/bbprserv \
# prserv
#
# 2. PR Service in RO mode, default port (8585) and custom LOGFILE:
#
# docker run --detach --tty \
# --env DBMODE="--read-only" \
# --env LOGFILE=/var/lib/bbprserv/prservro.log \
# --publish 8585:8585 \
# --volume $PWD:/var/lib/bbprserv \
# prserv
#
FROM alpine:3.14.4
RUN apk add --no-cache python3
COPY bin/bitbake-prserv /opt/bbprserv/bin/
COPY lib/prserv /opt/bbprserv/lib/prserv/
COPY lib/bb /opt/bbprserv/lib/bb/
COPY lib/codegen.py /opt/bbprserv/lib/codegen.py
COPY lib/ply /opt/bbprserv/lib/ply/
COPY lib/bs4 /opt/bbprserv/lib/bs4/
ENV PATH=$PATH:/opt/bbprserv/bin
RUN mkdir -p /var/lib/bbprserv
ENV DBFILE=/var/lib/bbprserv/prserv.sqlite3 \
LOGFILE=/var/lib/bbprserv/prserv.log \
LOGLEVEL=debug \
HOST=0.0.0.0 \
PORT=8585 \
DBMODE=""
ENTRYPOINT [ "/bin/sh", "-c", \
"bitbake-prserv \
--file=$DBFILE \
--log=$LOGFILE \
--loglevel=$LOGLEVEL \
--start \
--host=$HOST \
--port=$PORT \
$DBMODE \
&& tail -f $LOGFILE"]

View File

@@ -20,7 +20,7 @@ fun! NewBBAppendTemplate()
set nopaste
" New bbappend template
0 put ='FILESEXTRAPATHS_prepend := \"${THISDIR}/${PN}:\"'
0 put ='FILESEXTRAPATHS:prepend := \"${THISDIR}/${PN}:\"'
2
if paste == 1

View File

@@ -51,9 +51,9 @@ syn region bbString matchgroup=bbQuote start=+'+ skip=+\\$+ end=+'+
syn match bbExport "^export" nextgroup=bbIdentifier skipwhite
syn keyword bbExportFlag export contained nextgroup=bbIdentifier skipwhite
syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained
syn match bbVarDeref "${[a-zA-Z0-9\-_\.\/\+]\+}" contained
syn match bbVarDeref "${[a-zA-Z0-9\-_:\.\/\+]\+}" contained
syn match bbVarEq "\(:=\|+=\|=+\|\.=\|=\.\|?=\|??=\|=\)" contained nextgroup=bbVarValue
syn match bbVarDef "^\(export\s*\)\?\([a-zA-Z0-9\-_\.\/\+]\+\(_[${}a-zA-Z0-9\-_\.\/\+]\+\)\?\)\s*\(:=\|+=\|=+\|\.=\|=\.\|?=\|??=\|=\)\@=" contains=bbExportFlag,bbIdentifier,bbVarDeref nextgroup=bbVarEq
syn match bbVarDef "^\(export\s*\)\?\([a-zA-Z0-9\-_\.\/\+][${}a-zA-Z0-9\-_:\.\/\+]*\)\s*\(:=\|+=\|=+\|\.=\|=\.\|?=\|??=\|=\)\@=" contains=bbExportFlag,bbIdentifier,bbOverrideOperator,bbVarDeref nextgroup=bbVarEq
syn match bbVarValue ".*$" contained contains=bbString,bbVarDeref,bbVarPyValue
syn region bbVarPyValue start=+${@+ skip=+\\$+ end=+}+ contained contains=@python
@@ -77,13 +77,15 @@ syn keyword bbOEFunctions do_fetch do_unpack do_patch do_configure do_comp
" Generic Functions
syn match bbFunction "\h[0-9A-Za-z_\-\.]*" display contained contains=bbOEFunctions
syn keyword bbOverrideOperator append prepend remove contained
" BitBake shell metadata
syn include @shell syntax/sh.vim
if exists("b:current_syntax")
unlet b:current_syntax
endif
syn keyword bbShFakeRootFlag fakeroot contained
syn match bbShFuncDef "^\(fakeroot\s*\)\?\([\.0-9A-Za-z_${}\-\.]\+\)\(python\)\@<!\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbFunction,bbVarDeref,bbDelimiter nextgroup=bbShFuncRegion skipwhite
syn match bbShFuncDef "^\(fakeroot\s*\)\?\([\.0-9A-Za-z_:${}\-\.]\+\)\(python\)\@<!\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbFunction,bbOverrideOperator,bbVarDeref,bbDelimiter nextgroup=bbShFuncRegion skipwhite
syn region bbShFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" contained contains=@shell
" Python value inside shell functions
@@ -91,7 +93,7 @@ syn region shDeref start=+${@+ skip=+\\$+ excludenl end=+}+ contained co
" BitBake python metadata
syn keyword bbPyFlag python contained
syn match bbPyFuncDef "^\(fakeroot\s*\)\?\(python\)\(\s\+[0-9A-Za-z_${}\-\.]\+\)\?\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbPyFlag,bbFunction,bbVarDeref,bbDelimiter nextgroup=bbPyFuncRegion skipwhite
syn match bbPyFuncDef "^\(fakeroot\s*\)\?\(python\)\(\s\+[0-9A-Za-z_:${}\-\.]\+\)\?\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbPyFlag,bbFunction,bbOverrideOperator,bbVarDeref,bbDelimiter nextgroup=bbPyFuncRegion skipwhite
syn region bbPyFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" contained contains=@python
" BitBake 'def'd python functions
@@ -122,5 +124,6 @@ hi def link bbStatement Statement
hi def link bbStatementRest Identifier
hi def link bbOEFunctions Special
hi def link bbVarPyValue PreProc
hi def link bbOverrideOperator Operator
let b:current_syntax = "bb"

View File

@@ -3,7 +3,7 @@
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -j auto
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

View File

@@ -8,12 +8,12 @@ Manual Organization
Folders exist for individual manuals as follows:
* bitbake-user-manual - The BitBake User Manual
* bitbake-user-manual --- The BitBake User Manual
Each folder is self-contained regarding content and figures.
If you want to find HTML versions of the BitBake manuals on the web,
go to http://www.openembedded.org/wiki/Documentation.
go to https://www.openembedded.org/wiki/Documentation.
Sphinx
======

View File

@@ -16,7 +16,7 @@ data, or simply return information about the execution environment.
This chapter describes BitBake's execution process from start to finish
when you use it to create an image. The execution process is launched
using the following command form: ::
using the following command form::
$ bitbake target
@@ -32,7 +32,7 @@ the BitBake command and its options, see ":ref:`The BitBake Command
your project's ``local.conf`` configuration file.
A common method to determine this value for your build host is to run
the following: ::
the following::
$ grep processor /proc/cpuinfo
@@ -40,7 +40,7 @@ the BitBake command and its options, see ":ref:`The BitBake Command
the number of processors, which takes into account hyper-threading.
Thus, a quad-core build host with hyper-threading most likely shows
eight processors, which is the value you would then assign to
``BB_NUMBER_THREADS``.
:term:`BB_NUMBER_THREADS`.
A possibly simpler solution is that some Linux distributions (e.g.
Debian and Ubuntu) provide the ``ncpus`` command.
@@ -65,13 +65,13 @@ data itself is of various types:
The ``layer.conf`` files are used to construct key variables such as
:term:`BBPATH` and :term:`BBFILES`.
``BBPATH`` is used to search for configuration and class files under the
``conf`` and ``classes`` directories, respectively. ``BBFILES`` is used
:term:`BBPATH` is used to search for configuration and class files under the
``conf`` and ``classes`` directories, respectively. :term:`BBFILES` is used
to locate both recipe and recipe append files (``.bb`` and
``.bbappend``). If there is no ``bblayers.conf`` file, it is assumed the
user has set the ``BBPATH`` and ``BBFILES`` directly in the environment.
user has set the :term:`BBPATH` and :term:`BBFILES` directly in the environment.
Next, the ``bitbake.conf`` file is located using the ``BBPATH`` variable
Next, the ``bitbake.conf`` file is located using the :term:`BBPATH` variable
that was just constructed. The ``bitbake.conf`` file may also include
other configuration files using the ``include`` or ``require``
directives.
@@ -79,8 +79,8 @@ directives.
Prior to parsing configuration files, BitBake looks at certain
variables, including:
- :term:`BB_ENV_WHITELIST`
- :term:`BB_ENV_EXTRAWHITE`
- :term:`BB_ENV_PASSTHROUGH`
- :term:`BB_ENV_PASSTHROUGH_ADDITIONS`
- :term:`BB_PRESERVE_ENV`
- :term:`BB_ORIGENV`
- :term:`BITBAKE_UI`
@@ -104,7 +104,7 @@ BitBake first searches the current working directory for an optional
contain a :term:`BBLAYERS` variable that is a
space-delimited list of 'layer' directories. Recall that if BitBake
cannot find a ``bblayers.conf`` file, then it is assumed the user has
set the ``BBPATH`` and ``BBFILES`` variables directly in the
set the :term:`BBPATH` and :term:`BBFILES` variables directly in the
environment.
For each directory (layer) in this list, a ``conf/layer.conf`` file is
@@ -114,7 +114,7 @@ files automatically set up :term:`BBPATH` and other
variables correctly for a given build directory.
BitBake then expects to find the ``conf/bitbake.conf`` file somewhere in
the user-specified ``BBPATH``. That configuration file generally has
the user-specified :term:`BBPATH`. That configuration file generally has
include directives to pull in any other metadata such as files specific
to the architecture, the machine, the local environment, and so forth.
@@ -135,11 +135,11 @@ The ``base.bbclass`` file is always included. Other classes that are
specified in the configuration using the
:term:`INHERIT` variable are also included. BitBake
searches for class files in a ``classes`` subdirectory under the paths
in ``BBPATH`` in the same way as configuration files.
in :term:`BBPATH` in the same way as configuration files.
A good way to get an idea of the configuration files and the class files
used in your execution environment is to run the following BitBake
command: ::
command::
$ bitbake -e > mybb.log
@@ -155,7 +155,7 @@ execution environment.
pair of curly braces in a shell function, the closing curly brace
must not be located at the start of the line without leading spaces.
Here is an example that causes BitBake to produce a parsing error: ::
Here is an example that causes BitBake to produce a parsing error::
fakeroot create_shar() {
cat << "EOF" > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
@@ -184,13 +184,13 @@ Locating and Parsing Recipes
During the configuration phase, BitBake will have set
:term:`BBFILES`. BitBake now uses it to construct a
list of recipes to parse, along with any append files (``.bbappend``) to
apply. ``BBFILES`` is a space-separated list of available files and
supports wildcards. An example would be: ::
apply. :term:`BBFILES` is a space-separated list of available files and
supports wildcards. An example would be::
BBFILES = "/path/to/bbfiles/*.bb /path/to/appends/*.bbappend"
BitBake parses each
recipe and append file located with ``BBFILES`` and stores the values of
recipe and append file located with :term:`BBFILES` and stores the values of
various variables into the datastore.
.. note::
@@ -201,18 +201,18 @@ For each file, a fresh copy of the base configuration is made, then the
recipe is parsed line by line. Any inherit statements cause BitBake to
find and then parse class files (``.bbclass``) using
:term:`BBPATH` as the search path. Finally, BitBake
parses in order any append files found in ``BBFILES``.
parses in order any append files found in :term:`BBFILES`.
One common convention is to use the recipe filename to define pieces of
metadata. For example, in ``bitbake.conf`` the recipe name and version
are used to set the variables :term:`PN` and
:term:`PV`: ::
:term:`PV`::
PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
PV = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
In this example, a recipe called "something_1.2.3.bb" would set
``PN`` to "something" and ``PV`` to "1.2.3".
:term:`PN` to "something" and :term:`PV` to "1.2.3".
By the time parsing is complete for a recipe, BitBake has a list of
tasks that the recipe defines and a set of data consisting of keys and
@@ -228,7 +228,7 @@ and then reload it.
Where possible, subsequent BitBake commands reuse this cache of recipe
information. The validity of this cache is determined by first computing
a checksum of the base configuration data (see
:term:`BB_HASHCONFIG_WHITELIST`) and
:term:`BB_HASHCONFIG_IGNORE_VARS`) and
then checking if the checksum matches. If that checksum matches what is
in the cache and the recipe and class files have not changed, BitBake is
able to use the cache. BitBake then reloads the cached information about
@@ -238,7 +238,7 @@ Recipe file collections exist to allow the user to have multiple
repositories of ``.bb`` files that contain the same exact package. For
example, one could easily use them to make one's own local copy of an
upstream repository, but with custom modifications that one does not
want upstream. Here is an example: ::
want upstream. Here is an example::
BBFILES = "/stuff/openembedded/*/*.bb /stuff/openembedded.modified/*/*.bb"
BBFILE_COLLECTIONS = "upstream local"
@@ -260,21 +260,21 @@ Providers
Assuming BitBake has been instructed to execute a target and that all
the recipe files have been parsed, BitBake starts to figure out how to
build the target. BitBake looks through the ``PROVIDES`` list for each
of the recipes. A ``PROVIDES`` list is the list of names by which the
recipe can be known. Each recipe's ``PROVIDES`` list is created
build the target. BitBake looks through the :term:`PROVIDES` list for each
of the recipes. A :term:`PROVIDES` list is the list of names by which the
recipe can be known. Each recipe's :term:`PROVIDES` list is created
implicitly through the recipe's :term:`PN` variable and
explicitly through the recipe's :term:`PROVIDES`
variable, which is optional.
When a recipe uses ``PROVIDES``, that recipe's functionality can be
found under an alternative name or names other than the implicit ``PN``
When a recipe uses :term:`PROVIDES`, that recipe's functionality can be
found under an alternative name or names other than the implicit :term:`PN`
name. As an example, suppose a recipe named ``keyboard_1.0.bb``
contained the following: ::
contained the following::
PROVIDES += "fullkeyboard"
The ``PROVIDES``
The :term:`PROVIDES`
list for this recipe becomes "keyboard", which is implicit, and
"fullkeyboard", which is explicit. Consequently, the functionality found
in ``keyboard_1.0.bb`` can be found under two different names.
@@ -284,14 +284,14 @@ in ``keyboard_1.0.bb`` can be found under two different names.
Preferences
===========
The ``PROVIDES`` list is only part of the solution for figuring out a
The :term:`PROVIDES` list is only part of the solution for figuring out a
target's recipes. Because targets might have multiple providers, BitBake
needs to prioritize providers by determining provider preferences.
A common example in which a target has multiple providers is
"virtual/kernel", which is on the ``PROVIDES`` list for each kernel
"virtual/kernel", which is on the :term:`PROVIDES` list for each kernel
recipe. Each machine often selects the best kernel provider by using a
line similar to the following in the machine configuration file: ::
line similar to the following in the machine configuration file::
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
@@ -309,10 +309,10 @@ specify a particular version. You can influence the order by using the
:term:`DEFAULT_PREFERENCE` variable.
By default, files have a preference of "0". Setting
``DEFAULT_PREFERENCE`` to "-1" makes the recipe unlikely to be used
unless it is explicitly referenced. Setting ``DEFAULT_PREFERENCE`` to
"1" makes it likely the recipe is used. ``PREFERRED_VERSION`` overrides
any ``DEFAULT_PREFERENCE`` setting. ``DEFAULT_PREFERENCE`` is often used
:term:`DEFAULT_PREFERENCE` to "-1" makes the recipe unlikely to be used
unless it is explicitly referenced. Setting :term:`DEFAULT_PREFERENCE` to
"1" makes it likely the recipe is used. :term:`PREFERRED_VERSION` overrides
any :term:`DEFAULT_PREFERENCE` setting. :term:`DEFAULT_PREFERENCE` is often used
to mark newer and more experimental recipe versions until they have
undergone sufficient testing to be considered stable.
@@ -331,7 +331,7 @@ If the first recipe is named ``a_1.1.bb``, then the
Thus, if a recipe named ``a_1.2.bb`` exists, BitBake will choose 1.2 by
default. However, if you define the following variable in a ``.conf``
file that BitBake parses, you can change that preference: ::
file that BitBake parses, you can change that preference::
PREFERRED_VERSION_a = "1.1"
@@ -394,7 +394,7 @@ ready to run, those tasks have all their dependencies met, and the
thread threshold has not been exceeded.
It is worth noting that you can greatly speed up the build time by
properly setting the ``BB_NUMBER_THREADS`` variable.
properly setting the :term:`BB_NUMBER_THREADS` variable.
As each task completes, a timestamp is written to the directory
specified by the :term:`STAMP` variable. On subsequent
@@ -435,7 +435,7 @@ BitBake writes a shell script to
executes the script. The generated shell script contains all the
exported variables, and the shell functions with all variables expanded.
Output from the shell script goes to the file
``${T}/log.do_taskname.pid``. Looking at the expanded shell functions in
``${``\ :term:`T`\ ``}/log.do_taskname.pid``. Looking at the expanded shell functions in
the run file and the output in the log files is a useful debugging
technique.
@@ -477,7 +477,7 @@ changes because it should not affect the output for target packages. The
simplistic approach for excluding the working directory is to set it to
some fixed value and create the checksum for the "run" script. BitBake
goes one step better and uses the
:term:`BB_HASHBASE_WHITELIST` variable
:term:`BB_BASEHASH_IGNORE_VARS` variable
to define a list of variables that should never be included when
generating the signatures.
@@ -498,7 +498,7 @@ to the task.
Like the working directory case, situations exist where dependencies
should be ignored. For these cases, you can instruct the build process
to ignore a dependency by using a line like the following: ::
to ignore a dependency by using a line like the following::
PACKAGE_ARCHS[vardepsexclude] = "MACHINE"
@@ -508,7 +508,7 @@ even if it does reference it.
Equally, there are cases where we need to add dependencies BitBake is
not able to find. You can accomplish this by using a line like the
following: ::
following::
PACKAGE_ARCHS[vardeps] = "MACHINE"
@@ -523,7 +523,7 @@ it cannot figure out dependencies.
Thus far, this section has limited discussion to the direct inputs into
a task. Information based on direct inputs is referred to as the
"basehash" in the code. However, there is still the question of a task's
indirect inputs - the things that were already built and present in the
indirect inputs --- the things that were already built and present in the
build directory. The checksum (or signature) for a particular task needs
to add the hashes of all the tasks on which the particular task depends.
Choosing which dependencies to add is a policy decision. However, the
@@ -534,11 +534,11 @@ At the code level, there are a variety of ways both the basehash and the
dependent task hashes can be influenced. Within the BitBake
configuration file, we can give BitBake some extra information to help
it construct the basehash. The following statement effectively results
in a list of global variable dependency excludes - variables never
in a list of global variable dependency excludes --- variables never
included in any checksum. This example uses variables from OpenEmbedded
to help illustrate the concept: ::
to help illustrate the concept::
BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR \
BB_BASEHASH_IGNORE_VARS ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR \
SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL \
USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \
PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \
@@ -557,11 +557,11 @@ OpenEmbedded-Core uses: "OEBasic" and "OEBasicHash". By default, there
is a dummy "noop" signature handler enabled in BitBake. This means that
behavior is unchanged from previous versions. ``OE-Core`` uses the
"OEBasicHash" signature handler by default through this setting in the
``bitbake.conf`` file: ::
``bitbake.conf`` file::
BB_SIGNATURE_HANDLER ?= "OEBasicHash"
The "OEBasicHash" ``BB_SIGNATURE_HANDLER`` is the same as the "OEBasic"
The "OEBasicHash" :term:`BB_SIGNATURE_HANDLER` is the same as the "OEBasic"
version but adds the task hash to the stamp files. This results in any
metadata change that changes the task hash, automatically causing the
task to be run again. This removes the need to bump
@@ -578,10 +578,7 @@ the build. This information includes:
- ``BB_BASEHASH_``\ *filename:taskname*: The base hashes for each
dependent task.
- ``BBHASHDEPS_``\ *filename:taskname*: The task dependencies for
each task.
- ``BB_TASKHASH``: The hash of the currently running task.
- :term:`BB_TASKHASH`: The hash of the currently running task.
It is worth noting that BitBake's "-S" option lets you debug BitBake's
processing of signatures. The options passed to -S allow different
@@ -648,13 +645,6 @@ compiled binary. To handle this, BitBake calls the
each successful setscene task to know whether or not it needs to obtain
the dependencies of that task.
Finally, after all the setscene tasks have executed, BitBake calls the
function listed in
:term:`BB_SETSCENE_VERIFY_FUNCTION2`
with the list of tasks BitBake thinks has been "covered". The metadata
can then ensure that this list is correct and can inform BitBake that it
wants specific tasks to be run regardless of the setscene result.
You can find more information on setscene metadata in the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
section.

View File

@@ -27,7 +27,7 @@ and unpacking the files is often optionally followed by patching.
Patching, however, is not covered by this module.
The code to execute the first part of this process, a fetch, looks
something like the following: ::
something like the following::
src_uri = (d.getVar('SRC_URI') or "").split()
fetcher = bb.fetch2.Fetch(src_uri, d)
@@ -37,7 +37,7 @@ This code sets up an instance of the fetch class. The instance uses a
space-separated list of URLs from the :term:`SRC_URI`
variable and then calls the ``download`` method to download the files.
The instantiation of the fetch class is usually followed by: ::
The instantiation of the fetch class is usually followed by::
rootdir = l.getVar('WORKDIR')
fetcher.unpack(rootdir)
@@ -51,7 +51,7 @@ This code unpacks the downloaded files to the specified by ``WORKDIR``.
examine the OpenEmbedded class file ``base.bbclass``
.
The ``SRC_URI`` and ``WORKDIR`` variables are not hardcoded into the
The :term:`SRC_URI` and ``WORKDIR`` variables are not hardcoded into the
fetcher, since those fetcher methods can be (and are) called with
different variable names. In OpenEmbedded for example, the shared state
(sstate) code uses the fetch module to fetch the sstate files.
@@ -64,38 +64,38 @@ URLs by looking for source files in a specific search order:
:term:`PREMIRRORS` variable.
- *Source URI:* If pre-mirrors fail, BitBake uses the original URL (e.g
from ``SRC_URI``).
from :term:`SRC_URI`).
- *Mirror Sites:* If fetch failures occur, BitBake next uses mirror
locations as defined by the :term:`MIRRORS` variable.
For each URL passed to the fetcher, the fetcher calls the submodule that
handles that particular URL type. This behavior can be the source of
some confusion when you are providing URLs for the ``SRC_URI`` variable.
Consider the following two URLs: ::
some confusion when you are providing URLs for the :term:`SRC_URI` variable.
Consider the following two URLs::
http://git.yoctoproject.org/git/poky;protocol=git
https://git.yoctoproject.org/git/poky;protocol=git
git://git.yoctoproject.org/git/poky;protocol=http
In the former case, the URL is passed to the ``wget`` fetcher, which does not
understand "git". Therefore, the latter case is the correct form since the Git
fetcher does know how to use HTTP as a transport.
Here are some examples that show commonly used mirror definitions: ::
Here are some examples that show commonly used mirror definitions::
PREMIRRORS ?= "\
bzr://.*/.\* http://somemirror.org/sources/ \\n \
cvs://.*/.\* http://somemirror.org/sources/ \\n \
git://.*/.\* http://somemirror.org/sources/ \\n \
hg://.*/.\* http://somemirror.org/sources/ \\n \
osc://.*/.\* http://somemirror.org/sources/ \\n \
p4://.*/.\* http://somemirror.org/sources/ \\n \
svn://.*/.\* http://somemirror.org/sources/ \\n"
bzr://.*/.\* http://somemirror.org/sources/ \
cvs://.*/.\* http://somemirror.org/sources/ \
git://.*/.\* http://somemirror.org/sources/ \
hg://.*/.\* http://somemirror.org/sources/ \
osc://.*/.\* http://somemirror.org/sources/ \
p4://.*/.\* http://somemirror.org/sources/ \
svn://.*/.\* http://somemirror.org/sources/"
MIRRORS =+ "\
ftp://.*/.\* http://somemirror.org/sources/ \\n \
http://.*/.\* http://somemirror.org/sources/ \\n \
https://.*/.\* http://somemirror.org/sources/ \\n"
ftp://.*/.\* http://somemirror.org/sources/ \
http://.*/.\* http://somemirror.org/sources/ \
https://.*/.\* http://somemirror.org/sources/"
It is useful to note that BitBake
supports cross-URLs. It is possible to mirror a Git repository on an
@@ -110,26 +110,26 @@ which is specified by the :term:`DL_DIR` variable.
File integrity is of key importance for reproducing builds. For
non-local archive downloads, the fetcher code can verify SHA-256 and MD5
checksums to ensure the archives have been downloaded correctly. You can
specify these checksums by using the ``SRC_URI`` variable with the
appropriate varflags as follows: ::
specify these checksums by using the :term:`SRC_URI` variable with the
appropriate varflags as follows::
SRC_URI[md5sum] = "value"
SRC_URI[sha256sum] = "value"
You can also specify the checksums as
parameters on the ``SRC_URI`` as shown below: ::
parameters on the :term:`SRC_URI` as shown below::
SRC_URI = "http://example.com/foobar.tar.bz2;md5sum=4a8e0f237e961fd7785d19d07fdb994d"
If multiple URIs exist, you can specify the checksums either directly as
in the previous example, or you can name the URLs. The following syntax
shows how you name the URIs: ::
shows how you name the URIs::
SRC_URI = "http://example.com/foobar.tar.bz2;name=foo"
SRC_URI[foo.md5sum] = 4a8e0f237e961fd7785d19d07fdb994d
After a file has been downloaded and
has had its checksum checked, a ".done" stamp is placed in ``DL_DIR``.
has had its checksum checked, a ".done" stamp is placed in :term:`DL_DIR`.
BitBake uses this stamp during subsequent builds to avoid downloading or
comparing a checksum for the file again.
@@ -144,6 +144,10 @@ download without a checksum triggers an error message. The
make any attempted network access a fatal error, which is useful for
checking that mirrors are complete as well as other things.
If :term:`BB_CHECK_SSL_CERTS` is set to ``0`` then SSL certificate checking will
be disabled. This variable defaults to ``1`` so SSL certificates are normally
checked.
.. _bb-the-unpack:
The Unpack
@@ -163,8 +167,8 @@ govern the behavior of the unpack stage:
- *dos:* Applies to ``.zip`` and ``.jar`` files and specifies whether
to use DOS line ending conversion on text files.
- *basepath:* Instructs the unpack stage to strip the specified
directories from the source path when unpacking.
- *striplevel:* Strip specified number of leading components (levels)
from file names on extraction
- *subdir:* Unpacks the specific URL to the specified subdirectory
within the root directory.
@@ -204,7 +208,7 @@ time the ``download()`` method is called.
If you specify a directory, the entire directory is unpacked.
Here are a couple of example URLs, the first relative and the second
absolute: ::
absolute::
SRC_URI = "file://relativefile.patch"
SRC_URI = "file:///Users/ich/very_important_software"
@@ -225,7 +229,12 @@ downloaded file is useful for avoiding collisions in
:term:`DL_DIR` when dealing with multiple files that
have the same name.
Some example URLs are as follows: ::
If a username and password are specified in the ``SRC_URI``, a Basic
Authorization header will be added to each request, including across redirects.
To instead limit the Authorization header to the first request, add
"redirectauth=0" to the list of parameters.
Some example URLs are as follows::
SRC_URI = "http://oe.handhelds.org/not_there.aac"
SRC_URI = "ftp://oe.handhelds.org/not_there_as_well.aac"
@@ -235,15 +244,13 @@ Some example URLs are as follows: ::
Because URL parameters are delimited by semi-colons, this can
introduce ambiguity when parsing URLs that also contain semi-colons,
for example:
::
for example::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git;a=snapshot;h=a5dd47"
Such URLs should should be modified by replacing semi-colons with '&'
characters:
::
characters::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47"
@@ -251,8 +258,7 @@ Some example URLs are as follows: ::
In most cases this should work. Treating semi-colons and '&' in
queries identically is recommended by the World Wide Web Consortium
(W3C). Note that due to the nature of the URL, you may have to
specify the name of the downloaded file as well:
::
specify the name of the downloaded file as well::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47;downloadfilename=myfile.bz2"
@@ -321,7 +327,7 @@ The supported parameters are as follows:
- *"port":* The port to which the CVS server connects.
Some example URLs are as follows: ::
Some example URLs are as follows::
SRC_URI = "cvs://CVSROOT;module=mymodule;tag=some-version;method=ext"
SRC_URI = "cvs://CVSROOT;module=mymodule;date=20060126;localdir=usethat"
@@ -363,7 +369,7 @@ The supported parameters are as follows:
username is different than the username used in the main URL, which
is passed to the subversion command.
Following are three examples using svn: ::
Following are three examples using svn::
SRC_URI = "svn://myrepos/proj1;module=vip;protocol=http;rev=667"
SRC_URI = "svn://myrepos/proj1;module=opie;protocol=svn+ssh"
@@ -390,6 +396,19 @@ This fetcher supports the following parameters:
protocol is "file". You can also use "http", "https", "ssh" and
"rsync".
.. note::
When ``protocol`` is "ssh", the URL expected in :term:`SRC_URI` differs
from the one that is typically passed to ``git clone`` command and provided
by the Git server to fetch from. For example, the URL returned by GitLab
server for ``mesa`` when cloning over SSH is
``git@gitlab.freedesktop.org:mesa/mesa.git``, however the expected URL in
:term:`SRC_URI` is the following::
SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..."
Note the ``:`` character changed for a ``/`` before the path to the project.
- *"nocheckout":* Tells the fetcher to not checkout source code when
unpacking when set to "1". Set this option for the URL where there is
a custom routine to checkout code. The default is "0".
@@ -413,9 +432,9 @@ This fetcher supports the following parameters:
raw Git metadata is provided. This parameter implies the "nocheckout"
parameter as well.
- *"branch":* The branch(es) of the Git tree to clone. If unset, this
is assumed to be "master". The number of branch parameters much match
the number of name parameters.
- *"branch":* The branch(es) of the Git tree to clone. Unless
"nobranch" is set to "1", this is a mandatory parameter. The number of
branch parameters must match the number of name parameters.
- *"rev":* The revision to use for the checkout. The default is
"master".
@@ -436,15 +455,23 @@ This fetcher supports the following parameters:
parameter implies no branch and only works when the transfer protocol
is ``file://``.
Here are some example URLs: ::
Here are some example URLs::
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1"
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http"
SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV};tag=${PV}"
SRC_URI = "git://github.com/asciidoc/asciidoc-py;protocol=https;branch=main"
SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..."
.. note::
When using ``git`` as the fetcher of the main source code of your software,
``S`` should be set accordingly::
S = "${WORKDIR}/git"
.. note::
Specifying passwords directly in ``git://`` urls is not supported.
There are several reasons: ``SRC_URI`` is often written out to logs and
There are several reasons: :term:`SRC_URI` is often written out to logs and
other places, and that could easily leak passwords; it is also all too
easy to share metadata without removing passwords. SSH keys, ``~/.netrc``
and ``~/.ssh/config`` files can be used as alternatives.
@@ -484,7 +511,7 @@ repository.
To use this fetcher, make sure your recipe has proper
:term:`SRC_URI`, :term:`SRCREV`, and
:term:`PV` settings. Here is an example: ::
:term:`PV` settings. Here is an example::
SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module"
SRCREV = "EXAMPLE_CLEARCASE_TAG"
@@ -493,7 +520,7 @@ To use this fetcher, make sure your recipe has proper
The fetcher uses the ``rcleartool`` or
``cleartool`` remote client, depending on which one is available.
Following are options for the ``SRC_URI`` statement:
Following are options for the :term:`SRC_URI` statement:
- *vob*: The name, which must include the prepending "/" character,
of the ClearCase VOB. This option is required.
@@ -506,7 +533,7 @@ Following are options for the ``SRC_URI`` statement:
The module and vob options are combined to create the load rule in the
view config spec. As an example, consider the vob and module values from
the SRC_URI statement at the start of this section. Combining those values
results in the following: ::
results in the following::
load /example_vob/example_module
@@ -555,10 +582,10 @@ password if you do not wish to keep those values in a recipe itself. If
you choose not to use ``P4CONFIG``, or to explicitly set variables that
``P4CONFIG`` can contain, you can specify the ``P4PORT`` value, which is
the server's URL and port number, and you can specify a username and
password directly in your recipe within ``SRC_URI``.
password directly in your recipe within :term:`SRC_URI`.
Here is an example that relies on ``P4CONFIG`` to specify the server URL
and port, username, and password, and fetches the Head Revision: ::
and port, username, and password, and fetches the Head Revision::
SRC_URI = "p4://example-depot/main/source/..."
SRCREV = "${AUTOREV}"
@@ -566,7 +593,7 @@ and port, username, and password, and fetches the Head Revision: ::
S = "${WORKDIR}/p4"
Here is an example that specifies the server URL and port, username, and
password, and fetches a Revision based on a Label: ::
password, and fetches a Revision based on a Label::
P4PORT = "tcp:p4server.example.net:1666"
SRC_URI = "p4://user:passwd@example-depot/main/source/..."
@@ -592,7 +619,7 @@ paths locally is desirable, the fetcher supports two parameters:
paths locally for the specified location, even in combination with the
``module`` parameter.
Here is an example use of the the ``module`` parameter: ::
Here is an example use of the the ``module`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/..."
@@ -600,7 +627,7 @@ In this case, the content of the top-level directory ``source/`` will be fetched
to ``${P4DIR}``, including the directory itself. The top-level directory will
be accesible at ``${P4DIR}/source/``.
Here is an example use of the the ``remotepath`` parameter: ::
Here is an example use of the the ``remotepath`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/...;remotepath=keep"
@@ -628,7 +655,7 @@ This fetcher supports the following parameters:
- *"manifest":* Name of the manifest file (default: ``default.xml``).
Here are some example URLs: ::
Here are some example URLs::
SRC_URI = "repo://REPOROOT;protocol=git;branch=some_branch;manifest=my_manifest.xml"
SRC_URI = "repo://REPOROOT;protocol=file;branch=some_branch;manifest=my_manifest.xml"
@@ -651,16 +678,32 @@ Such functionality is set by the variable:
delegate access to resources, if this variable is set, the Az Fetcher will
use it when fetching artifacts from the cloud.
You can specify the AZ_SAS variable as shown below: ::
You can specify the AZ_SAS variable as shown below::
AZ_SAS = "se=2021-01-01&sp=r&sv=2018-11-09&sr=c&skoid=<skoid>&sig=<signature>"
Here is an example URL: ::
Here is an example URL::
SRC_URI = "az://<azure-storage-account>.blob.core.windows.net/<foo_container>/<bar_file>"
It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
Crate Fetcher (``crate://``)
----------------------------
This submodule fetches code for
`Rust language "crates" <https://doc.rust-lang.org/reference/glossary.html?highlight=crate#crate>`__
corresponding to Rust libraries and programs to compile. Such crates are typically shared
on https://crates.io/ but this fetcher supports other crate registries too.
The format for the :term:`SRC_URI` setting must be::
SRC_URI = "crate://REGISTRY/NAME/VERSION"
Here is an example URL::
SRC_URI = "crate://crates.io/glob/0.2.11"
Other Fetchers
--------------
@@ -686,4 +729,4 @@ submodules. However, you might find the code helpful and readable.
Auto Revisions
==============
We need to document ``AUTOREV`` and ``SRCREV_FORMAT`` here.
We need to document ``AUTOREV`` and :term:`SRCREV_FORMAT` here.

View File

@@ -20,7 +20,7 @@ Obtaining BitBake
See the :ref:`bitbake-user-manual/bitbake-user-manual-hello:obtaining bitbake` section for
information on how to obtain BitBake. Once you have the source code on
your machine, the BitBake directory appears as follows: ::
your machine, the BitBake directory appears as follows::
$ ls -al
total 100
@@ -49,7 +49,7 @@ Setting Up the BitBake Environment
First, you need to be sure that you can run BitBake. Set your working
directory to where your local BitBake files are and run the following
command: ::
command::
$ ./bin/bitbake --version
BitBake Build Tool Core version 1.23.0, bitbake version 1.23.0
@@ -61,14 +61,14 @@ The recommended method to run BitBake is from a directory of your
choice. To be able to run BitBake from any directory, you need to add
the executable binary to your binary to your shell's environment
``PATH`` variable. First, look at your current ``PATH`` variable by
entering the following: ::
entering the following::
$ echo $PATH
Next, add the directory location
for the BitBake binary to the ``PATH``. Here is an example that adds the
``/home/scott-lenovo/bitbake/bin`` directory to the front of the
``PATH`` variable: ::
``PATH`` variable::
$ export PATH=/home/scott-lenovo/bitbake/bin:$PATH
@@ -99,7 +99,7 @@ discussion mailing list about the BitBake build tool.
This example was inspired by and drew heavily from
`Mailing List post - The BitBake equivalent of "Hello, World!"
<http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html>`_.
<https://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html>`_.
As stated earlier, the goal of this example is to eventually compile
"Hello World". However, it is unknown what BitBake needs and what you
@@ -116,7 +116,7 @@ Following is the complete "Hello World" example.
#. **Create a Project Directory:** First, set up a directory for the
"Hello World" project. Here is how you can do so in your home
directory: ::
directory::
$ mkdir ~/hello
$ cd ~/hello
@@ -127,7 +127,7 @@ Following is the complete "Hello World" example.
directory is a good way to isolate your project.
#. **Run BitBake:** At this point, you have nothing but a project
directory. Run the ``bitbake`` command and see what it does: ::
directory. Run the ``bitbake`` command and see what it does::
$ bitbake
The BBPATH variable is not set and bitbake did not
@@ -145,23 +145,23 @@ Following is the complete "Hello World" example.
The majority of this output is specific to environment variables that
are not directly relevant to BitBake. However, the very first
message regarding the ``BBPATH`` variable and the
message regarding the :term:`BBPATH` variable and the
``conf/bblayers.conf`` file is relevant.
When you run BitBake, it begins looking for metadata files. The
:term:`BBPATH` variable is what tells BitBake where
to look for those files. ``BBPATH`` is not set and you need to set
it. Without ``BBPATH``, BitBake cannot find any configuration files
to look for those files. :term:`BBPATH` is not set and you need to set
it. Without :term:`BBPATH`, BitBake cannot find any configuration files
(``.conf``) or recipe files (``.bb``) at all. BitBake also cannot
find the ``bitbake.conf`` file.
#. **Setting BBPATH:** For this example, you can set ``BBPATH`` in
#. **Setting BBPATH:** For this example, you can set :term:`BBPATH` in
the same manner that you set ``PATH`` earlier in the appendix. You
should realize, though, that it is much more flexible to set the
``BBPATH`` variable up in a configuration file for each project.
:term:`BBPATH` variable up in a configuration file for each project.
From your shell, enter the following commands to set and export the
``BBPATH`` variable: ::
:term:`BBPATH` variable::
$ BBPATH="projectdirectory"
$ export BBPATH
@@ -175,8 +175,8 @@ Following is the complete "Hello World" example.
("~") character as BitBake does not expand that character as the
shell would.
#. **Run BitBake:** Now that you have ``BBPATH`` defined, run the
``bitbake`` command again: ::
#. **Run BitBake:** Now that you have :term:`BBPATH` defined, run the
``bitbake`` command again::
$ bitbake
ERROR: Traceback (most recent call last):
@@ -205,18 +205,18 @@ Following is the complete "Hello World" example.
recipe files. For this example, you need to create the file in your
project directory and define some key BitBake variables. For more
information on the ``bitbake.conf`` file, see
http://git.openembedded.org/bitbake/tree/conf/bitbake.conf.
https://git.openembedded.org/bitbake/tree/conf/bitbake.conf.
Use the following commands to create the ``conf`` directory in the
project directory: ::
project directory::
$ mkdir conf
From within the ``conf`` directory,
use some editor to create the ``bitbake.conf`` so that it contains
the following: ::
the following::
PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
TMPDIR = "${TOPDIR}/tmp"
CACHE = "${TMPDIR}/cache"
@@ -251,7 +251,7 @@ Following is the complete "Hello World" example.
glossary.
#. **Run BitBake:** After making sure that the ``conf/bitbake.conf`` file
exists, you can run the ``bitbake`` command again: ::
exists, you can run the ``bitbake`` command again::
$ bitbake
ERROR: Traceback (most recent call last):
@@ -278,7 +278,7 @@ Following is the complete "Hello World" example.
in the ``classes`` directory of the project (i.e ``hello/classes``
in this example).
Create the ``classes`` directory as follows: ::
Create the ``classes`` directory as follows::
$ cd $HOME/hello
$ mkdir classes
@@ -291,7 +291,7 @@ Following is the complete "Hello World" example.
environments BitBake is supporting.
#. **Run BitBake:** After making sure that the ``classes/base.bbclass``
file exists, you can run the ``bitbake`` command again: ::
file exists, you can run the ``bitbake`` command again::
$ bitbake
Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
@@ -314,7 +314,7 @@ Following is the complete "Hello World" example.
Minimally, you need a recipe file and a layer configuration file in
your layer. The configuration file needs to be in the ``conf``
directory inside the layer. Use these commands to set up the layer
and the ``conf`` directory: ::
and the ``conf`` directory::
$ cd $HOME
$ mkdir mylayer
@@ -322,12 +322,12 @@ Following is the complete "Hello World" example.
$ mkdir conf
Move to the ``conf`` directory and create a ``layer.conf`` file that has the
following: ::
following::
BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/\*.bb"
BBFILES += "${LAYERDIR}/*.bb"
BBFILE_COLLECTIONS += "mylayer"
`BBFILE_PATTERN_mylayer := "^${LAYERDIR_RE}/"
BBFILE_PATTERN_mylayer := "^${LAYERDIR_RE}/"
For information on these variables, click on :term:`BBFILES`,
:term:`LAYERDIR`, :term:`BBFILE_COLLECTIONS` or :term:`BBFILE_PATTERN_mylayer <BBFILE_PATTERN>`
@@ -335,7 +335,7 @@ Following is the complete "Hello World" example.
You need to create the recipe file next. Inside your layer at the
top-level, use an editor and create a recipe file named
``printhello.bb`` that has the following: ::
``printhello.bb`` that has the following::
DESCRIPTION = "Prints Hello World"
PN = 'printhello'
@@ -356,7 +356,7 @@ Following is the complete "Hello World" example.
follow the links to the glossary.
#. **Run BitBake With a Target:** Now that a BitBake target exists, run
the command and provide that target: ::
the command and provide that target::
$ cd $HOME/hello
$ bitbake printhello
@@ -376,7 +376,7 @@ Following is the complete "Hello World" example.
``hello/conf`` for this example).
Set your working directory to the ``hello/conf`` directory and then
create the ``bblayers.conf`` file so that it contains the following: ::
create the ``bblayers.conf`` file so that it contains the following::
BBLAYERS ?= " \
/home/<you>/mylayer \
@@ -386,7 +386,7 @@ Following is the complete "Hello World" example.
#. **Run BitBake With a Target:** Now that you have supplied the
``bblayers.conf`` file, run the ``bitbake`` command and provide the
target: ::
target::
$ bitbake printhello
Parsing recipes: 100% |##################################################################################|

View File

@@ -27,7 +27,7 @@ Linux software stacks using a task-oriented approach.
Conceptually, BitBake is similar to GNU Make in some regards but has
significant differences:
- BitBake executes tasks according to provided metadata that builds up
- BitBake executes tasks according to the provided metadata that builds up
the tasks. Metadata is stored in recipe (``.bb``) and related recipe
"append" (``.bbappend``) files, configuration (``.conf``) and
underlying include (``.inc``) files, and in class (``.bbclass``)
@@ -60,11 +60,10 @@ member Chris Larson split the project into two distinct pieces:
- OpenEmbedded, a metadata set utilized by BitBake
Today, BitBake is the primary basis of the
`OpenEmbedded <http://www.openembedded.org/>`__ project, which is being
used to build and maintain Linux distributions such as the `Angstrom
Distribution <http://www.angstrom-distribution.org/>`__, and which is
also being used as the build tool for Linux projects such as the `Yocto
Project <http://www.yoctoproject.org>`__.
`OpenEmbedded <https://www.openembedded.org/>`__ project, which is being
used to build and maintain Linux distributions such as the `Poky
Reference Distribution <https://www.yoctoproject.org/software-item/poky/>`__,
developed under the umbrella of the `Yocto Project <https://www.yoctoproject.org>`__.
Prior to BitBake, no other build tool adequately met the needs of an
aspiring embedded Linux distribution. All of the build systems used by
@@ -248,13 +247,13 @@ underlying, similarly-named recipe files.
When you name an append file, you can use the "``%``" wildcard character
to allow for matching recipe names. For example, suppose you have an
append file named as follows: ::
append file named as follows::
busybox_1.21.%.bbappend
That append file
would match any ``busybox_1.21.``\ x\ ``.bb`` version of the recipe. So,
the append file would match the following recipe names: ::
the append file would match the following recipe names::
busybox_1.21.1.bb
busybox_1.21.2.bb
@@ -290,7 +289,7 @@ You can obtain BitBake several different ways:
are using. The metadata is generally backwards compatible but not
forward compatible.
Here is an example that clones the BitBake repository: ::
Here is an example that clones the BitBake repository::
$ git clone git://git.openembedded.org/bitbake
@@ -298,7 +297,7 @@ You can obtain BitBake several different ways:
Git repository into a directory called ``bitbake``. Alternatively,
you can designate a directory after the ``git clone`` command if you
want to call the new directory something other than ``bitbake``. Here
is an example that names the directory ``bbdev``: ::
is an example that names the directory ``bbdev``::
$ git clone git://git.openembedded.org/bitbake bbdev
@@ -317,9 +316,9 @@ You can obtain BitBake several different ways:
method for getting BitBake. Cloning the repository makes it easier
to update as patches are added to the stable branches.
The following example downloads a snapshot of BitBake version 1.17.0: ::
The following example downloads a snapshot of BitBake version 1.17.0::
$ wget http://git.openembedded.org/bitbake/snapshot/bitbake-1.17.0.tar.gz
$ wget https://git.openembedded.org/bitbake/snapshot/bitbake-1.17.0.tar.gz
$ tar zxpvf bitbake-1.17.0.tar.gz
After extraction of the tarball using
@@ -347,7 +346,7 @@ execution examples.
Usage and syntax
----------------
Following is the usage and syntax for BitBake: ::
Following is the usage and syntax for BitBake::
$ bitbake -h
Usage: bitbake [options] [recipename/target recipe:do_task ...]
@@ -417,8 +416,8 @@ Following is the usage and syntax for BitBake: ::
-l DEBUG_DOMAINS, --log-domains=DEBUG_DOMAINS
Show debug logging for the specified logging domains
-P, --profile Profile the command and save reports.
-u UI, --ui=UI The user interface to use (knotty, ncurses or taskexp
- default knotty).
-u UI, --ui=UI The user interface to use (knotty, ncurses, taskexp or
teamcity - default knotty).
--token=XMLRPCTOKEN Specify the connection token to be used when
connecting to a remote server.
--revisions-changed Set the exit code depending on whether upstream
@@ -433,6 +432,9 @@ Following is the usage and syntax for BitBake: ::
Environment variable BB_SERVER_TIMEOUT.
--no-setscene Do not run any setscene tasks. sstate will be ignored
and everything needed, built.
--skip-setscene Skip setscene tasks if they would be executed. Tasks
previously restored from sstate will be kept, unlike
--no-setscene
--setscene-only Only run setscene tasks, don't run any real tasks.
--remote-server=REMOTE_SERVER
Connect to the specified server.
@@ -469,11 +471,11 @@ default task, which is "build". BitBake obeys inter-task dependencies
when doing so.
The following command runs the build task, which is the default task, on
the ``foo_1.0.bb`` recipe file: ::
the ``foo_1.0.bb`` recipe file::
$ bitbake -b foo_1.0.bb
The following command runs the clean task on the ``foo.bb`` recipe file: ::
The following command runs the clean task on the ``foo.bb`` recipe file::
$ bitbake -b foo.bb -c clean
@@ -497,13 +499,13 @@ functionality, or when there are multiple versions of a recipe.
The ``bitbake`` command, when not using "--buildfile" or "-b" only
accepts a "PROVIDES". You cannot provide anything else. By default, a
recipe file generally "PROVIDES" its "packagename" as shown in the
following example: ::
following example::
$ bitbake foo
This next example "PROVIDES" the
package name and also uses the "-c" option to tell BitBake to just
execute the ``do_clean`` task: ::
execute the ``do_clean`` task::
$ bitbake -c clean foo
@@ -514,7 +516,7 @@ The BitBake command line supports specifying different tasks for
individual targets when you specify multiple targets. For example,
suppose you had two targets (or recipes) ``myfirstrecipe`` and
``mysecondrecipe`` and you needed BitBake to run ``taskA`` for the first
recipe and ``taskB`` for the second recipe: ::
recipe and ``taskB`` for the second recipe::
$ bitbake myfirstrecipe:do_taskA mysecondrecipe:do_taskB
@@ -534,13 +536,13 @@ current working directory:
- ``pn-buildlist``: Shows a simple list of targets that are to be
built.
To stop depending on common depends, use the "-I" depend option and
To stop depending on common depends, use the ``-I`` depend option and
BitBake omits them from the graph. Leaving this information out can
produce more readable graphs. This way, you can remove from the graph
``DEPENDS`` from inherited classes such as ``base.bbclass``.
:term:`DEPENDS` from inherited classes such as ``base.bbclass``.
Here are two examples that create dependency graphs. The second example
omits depends common in OpenEmbedded from the graph: ::
omits depends common in OpenEmbedded from the graph::
$ bitbake -g foo
@@ -564,7 +566,7 @@ for two separate targets:
.. image:: figures/bb_multiconfig_files.png
:align: center
The reason for this required file hierarchy is because the ``BBPATH``
The reason for this required file hierarchy is because the :term:`BBPATH`
variable is not constructed until the layers are parsed. Consequently,
using the configuration file as a pre-configuration file is not possible
unless it is located in the current working directory.
@@ -582,17 +584,17 @@ accomplished by setting the
configuration files for ``target1`` and ``target2`` defined in the build
directory. The following statement in the ``local.conf`` file both
enables BitBake to perform multiple configuration builds and specifies
the two extra multiconfigs: ::
the two extra multiconfigs::
BBMULTICONFIG = "target1 target2"
Once the target configuration files are in place and BitBake has been
enabled to perform multiple configuration builds, use the following
command form to start the builds: ::
command form to start the builds::
$ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target] ... ]
Here is an example for two extra multiconfigs: ``target1`` and ``target2``: ::
Here is an example for two extra multiconfigs: ``target1`` and ``target2``::
$ bitbake mc::target mc:target1:target mc:target2:target
@@ -613,12 +615,12 @@ multiconfig.
To enable dependencies in a multiple configuration build, you must
declare the dependencies in the recipe using the following statement
form: ::
form::
task_or_package[mcdepends] = "mc:from_multiconfig:to_multiconfig:recipe_name:task_on_which_to_depend"
To better show how to use this statement, consider an example with two
multiconfigs: ``target1`` and ``target2``: ::
multiconfigs: ``target1`` and ``target2``::
image_task[mcdepends] = "mc:target1:target2:image2:rootfs_task"
@@ -629,7 +631,7 @@ completion of the rootfs_task used to build out image2, which is
associated with the "target2" multiconfig.
Once you set up this dependency, you can build the "target1" multiconfig
using a BitBake command as follows: ::
using a BitBake command as follows::
$ bitbake mc:target1:image1
@@ -639,7 +641,7 @@ the ``rootfs_task`` for the "target2" multiconfig build.
Having a recipe depend on the root filesystem of another build might not
seem that useful. Consider this change to the statement in the image1
recipe: ::
recipe::
image_task[mcdepends] = "mc:target1:target2:image2:image_task"

View File

@@ -1,32 +1,74 @@
.. SPDX-License-Identifier: CC-BY-2.5
=========================
Current Release Manuals
=========================
===========================
Supported Release Manuals
===========================
******************************
Release Series 3.4 (honister)
******************************
- :yocto_docs:`3.4 BitBake User Manual </3.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.4.1 BitBake User Manual </3.4.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.4.2 BitBake User Manual </3.4.2/bitbake-user-manual/bitbake-user-manual.html>`
******************************
Release Series 3.3 (hardknott)
******************************
- :yocto_docs:`3.3 BitBake User Manual </3.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.1 BitBake User Manual </3.3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.2 BitBake User Manual </3.3.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.3 BitBake User Manual </3.3.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.4 BitBake User Manual </3.3.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.5 BitBake User Manual </3.3.5/bitbake-user-manual/bitbake-user-manual.html>`
****************************
3.1 'dunfell' Release Series
Release Series 3.1 (dunfell)
****************************
- :yocto_docs:`3.1 BitBake User Manual </3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.1 BitBake User Manual </3.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.2 BitBake User Manual </3.1.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.3 BitBake User Manual </3.1.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.4 BitBake User Manual </3.1.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.5 BitBake User Manual </3.1.5/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.6 BitBake User Manual </3.1.6/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.7 BitBake User Manual </3.1.7/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.8 BitBake User Manual </3.1.8/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.9 BitBake User Manual </3.1.9/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.10 BitBake User Manual </3.1.10/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.11 BitBake User Manual </3.1.11/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.12 BitBake User Manual </3.1.12/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.13 BitBake User Manual </3.1.13/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.14 BitBake User Manual </3.1.14/bitbake-user-manual/bitbake-user-manual.html>`
==========================
Previous Release Manuals
Outdated Release Manuals
==========================
*******************************
Release Series 3.2 (gatesgarth)
*******************************
- :yocto_docs:`3.2 BitBake User Manual </3.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.1 BitBake User Manual </3.2.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.2 BitBake User Manual </3.2.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.3 BitBake User Manual </3.2.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.4 BitBake User Manual </3.2.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
3.0 'zeus' Release Series
Release Series 3.0 (zeus)
*************************
- :yocto_docs:`3.0 BitBake User Manual </3.0/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.1 BitBake User Manual </3.0.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.2 BitBake User Manual </3.0.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.3 BitBake User Manual </3.0.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.4 BitBake User Manual </3.0.4/bitbake-user-manual/bitbake-user-manual.html>`
****************************
2.7 'warrior' Release Series
Release Series 2.7 (warrior)
****************************
- :yocto_docs:`2.7 BitBake User Manual </2.7/bitbake-user-manual/bitbake-user-manual.html>`
@@ -36,7 +78,7 @@
- :yocto_docs:`2.7.4 BitBake User Manual </2.7.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
2.6 'thud' Release Series
Release Series 2.6 (thud)
*************************
- :yocto_docs:`2.6 BitBake User Manual </2.6/bitbake-user-manual/bitbake-user-manual.html>`
@@ -46,16 +88,16 @@
- :yocto_docs:`2.6.4 BitBake User Manual </2.6.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
2.5 'sumo' Release Series
Release Series 2.5 (sumo)
*************************
- :yocto_docs:`2.5 BitBake User Manual </2.5/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5.1 BitBake User Manual </2.5.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5.2 BitBake User Manual </2.5.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5.3 BitBake User Manual </2.5.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5 Documentation </2.5>`
- :yocto_docs:`2.5.1 Documentation </2.5.1>`
- :yocto_docs:`2.5.2 Documentation </2.5.2>`
- :yocto_docs:`2.5.3 Documentation </2.5.3>`
**************************
2.4 'rocko' Release Series
Release Series 2.4 (rocko)
**************************
- :yocto_docs:`2.4 BitBake User Manual </2.4/bitbake-user-manual/bitbake-user-manual.html>`
@@ -65,7 +107,7 @@
- :yocto_docs:`2.4.4 BitBake User Manual </2.4.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
2.3 'pyro' Release Series
Release Series 2.3 (pyro)
*************************
- :yocto_docs:`2.3 BitBake User Manual </2.3/bitbake-user-manual/bitbake-user-manual.html>`
@@ -75,7 +117,7 @@
- :yocto_docs:`2.3.4 BitBake User Manual </2.3.4/bitbake-user-manual/bitbake-user-manual.html>`
**************************
2.2 'morty' Release Series
Release Series 2.2 (morty)
**************************
- :yocto_docs:`2.2 BitBake User Manual </2.2/bitbake-user-manual/bitbake-user-manual.html>`
@@ -84,7 +126,7 @@
- :yocto_docs:`2.2.3 BitBake User Manual </2.2.3/bitbake-user-manual/bitbake-user-manual.html>`
****************************
2.1 'krogoth' Release Series
Release Series 2.1 (krogoth)
****************************
- :yocto_docs:`2.1 BitBake User Manual </2.1/bitbake-user-manual/bitbake-user-manual.html>`
@@ -93,7 +135,7 @@
- :yocto_docs:`2.1.3 BitBake User Manual </2.1.3/bitbake-user-manual/bitbake-user-manual.html>`
***************************
2.0 'jethro' Release Series
Release Series 2.0 (jethro)
***************************
- :yocto_docs:`1.9 BitBake User Manual </1.9/bitbake-user-manual/bitbake-user-manual.html>`
@@ -103,7 +145,7 @@
- :yocto_docs:`2.0.3 BitBake User Manual </2.0.3/bitbake-user-manual/bitbake-user-manual.html>`
*************************
1.8 'fido' Release Series
Release Series 1.8 (fido)
*************************
- :yocto_docs:`1.8 BitBake User Manual </1.8/bitbake-user-manual/bitbake-user-manual.html>`
@@ -111,7 +153,7 @@
- :yocto_docs:`1.8.2 BitBake User Manual </1.8.2/bitbake-user-manual/bitbake-user-manual.html>`
**************************
1.7 'dizzy' Release Series
Release Series 1.7 (dizzy)
**************************
- :yocto_docs:`1.7 BitBake User Manual </1.7/bitbake-user-manual/bitbake-user-manual.html>`
@@ -120,7 +162,7 @@
- :yocto_docs:`1.7.3 BitBake User Manual </1.7.3/bitbake-user-manual/bitbake-user-manual.html>`
**************************
1.6 'daisy' Release Series
Release Series 1.6 (daisy)
**************************
- :yocto_docs:`1.6 BitBake User Manual </1.6/bitbake-user-manual/bitbake-user-manual.html>`

View File

@@ -9,11 +9,11 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "1.50.0"
__version__ = "2.0.0"
import sys
if sys.version_info < (3, 5, 0):
raise RuntimeError("Sorry, python 3.5.0 or later is required for this version of bitbake")
if sys.version_info < (3, 6, 0):
raise RuntimeError("Sorry, python 3.6.0 or later is required for this version of bitbake")
class BBHandledException(Exception):
@@ -71,6 +71,13 @@ class BBLoggerMixin(object):
def verbnote(self, msg, *args, **kwargs):
return self.log(logging.INFO + 2, msg, *args, **kwargs)
def warnonce(self, msg, *args, **kwargs):
return self.log(logging.WARNING - 1, msg, *args, **kwargs)
def erroronce(self, msg, *args, **kwargs):
return self.log(logging.ERROR - 1, msg, *args, **kwargs)
Logger = logging.getLoggerClass()
class BBLogger(Logger, BBLoggerMixin):
def __init__(self, name, *args, **kwargs):
@@ -157,9 +164,15 @@ def verbnote(*args):
def warn(*args):
mainlogger.warning(''.join(args))
def warnonce(*args):
mainlogger.warnonce(''.join(args))
def error(*args, **kwargs):
mainlogger.error(''.join(args), extra=kwargs)
def erroronce(*args):
mainlogger.erroronce(''.join(args))
def fatal(*args, **kwargs):
mainlogger.critical(''.join(args), extra=kwargs)
raise BBHandledException()

View File

@@ -0,0 +1,31 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import itertools
import json
# The Python async server defaults to a 64K receive buffer, so we hardcode our
# maximum chunk size. It would be better if the client and server reported to
# each other what the maximum chunk sizes were, but that will slow down the
# connection setup with a round trip delay so I'd rather not do that unless it
# is necessary
DEFAULT_MAX_CHUNK = 32 * 1024
def chunkify(msg, max_chunk):
if len(msg) < max_chunk - 1:
yield ''.join((msg, "\n"))
else:
yield ''.join((json.dumps({
'chunk-stream': None
}), "\n"))
args = [iter(msg)] * (max_chunk - 1)
for m in map(''.join, itertools.zip_longest(*args, fillvalue='')):
yield ''.join(itertools.chain(m, "\n"))
yield "\n"
from .client import AsyncClient, Client
from .serv import AsyncServer, AsyncServerConnection, ClientError, ServerError

View File

@@ -0,0 +1,172 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import abc
import asyncio
import json
import os
import socket
import sys
from . import chunkify, DEFAULT_MAX_CHUNK
class AsyncClient(object):
def __init__(self, proto_name, proto_version, logger, timeout=30):
self.reader = None
self.writer = None
self.max_chunk = DEFAULT_MAX_CHUNK
self.proto_name = proto_name
self.proto_version = proto_version
self.logger = logger
self.timeout = timeout
async def connect_tcp(self, address, port):
async def connect_sock():
return await asyncio.open_connection(address, port)
self._connect_sock = connect_sock
async def connect_unix(self, path):
async def connect_sock():
return await asyncio.open_unix_connection(path)
self._connect_sock = connect_sock
async def setup_connection(self):
s = '%s %s\n\n' % (self.proto_name, self.proto_version)
self.writer.write(s.encode("utf-8"))
await self.writer.drain()
async def connect(self):
if self.reader is None or self.writer is None:
(self.reader, self.writer) = await self._connect_sock()
await self.setup_connection()
async def close(self):
self.reader = None
if self.writer is not None:
self.writer.close()
self.writer = None
async def _send_wrapper(self, proc):
count = 0
while True:
try:
await self.connect()
return await proc()
except (
OSError,
ConnectionError,
json.JSONDecodeError,
UnicodeDecodeError,
) as e:
self.logger.warning("Error talking to server: %s" % e)
if count >= 3:
if not isinstance(e, ConnectionError):
raise ConnectionError(str(e))
raise e
await self.close()
count += 1
async def send_message(self, msg):
async def get_line():
try:
line = await asyncio.wait_for(self.reader.readline(), self.timeout)
except asyncio.TimeoutError:
raise ConnectionError("Timed out waiting for server")
if not line:
raise ConnectionError("Connection closed")
line = line.decode("utf-8")
if not line.endswith("\n"):
raise ConnectionError("Bad message %r" % (line))
return line
async def proc():
for c in chunkify(json.dumps(msg), self.max_chunk):
self.writer.write(c.encode("utf-8"))
await self.writer.drain()
l = await get_line()
m = json.loads(l)
if m and "chunk-stream" in m:
lines = []
while True:
l = (await get_line()).rstrip("\n")
if not l:
break
lines.append(l)
m = json.loads("".join(lines))
return m
return await self._send_wrapper(proc)
async def ping(self):
return await self.send_message(
{'ping': {}}
)
class Client(object):
def __init__(self):
self.client = self._get_async_client()
self.loop = asyncio.new_event_loop()
# Override any pre-existing loop.
# Without this, the PR server export selftest triggers a hang
# when running with Python 3.7. The drawback is that there is
# potential for issues if the PR and hash equiv (or some new)
# clients need to both be instantiated in the same process.
# This should be revisited if/when Python 3.9 becomes the
# minimum required version for BitBake, as it seems not
# required (but harmless) with it.
asyncio.set_event_loop(self.loop)
self._add_methods('connect_tcp', 'ping')
@abc.abstractmethod
def _get_async_client(self):
pass
def _get_downcall_wrapper(self, downcall):
def wrapper(*args, **kwargs):
return self.loop.run_until_complete(downcall(*args, **kwargs))
return wrapper
def _add_methods(self, *methods):
for m in methods:
downcall = getattr(self.client, m)
setattr(self, m, self._get_downcall_wrapper(downcall))
def connect_unix(self, path):
# AF_UNIX has path length issues so chdir here to workaround
cwd = os.getcwd()
try:
os.chdir(os.path.dirname(path))
self.loop.run_until_complete(self.client.connect_unix(os.path.basename(path)))
self.loop.run_until_complete(self.client.connect())
finally:
os.chdir(cwd)
@property
def max_chunk(self):
return self.client.max_chunk
@max_chunk.setter
def max_chunk(self, value):
self.client.max_chunk = value
def close(self):
self.loop.run_until_complete(self.client.close())
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()

View File

@@ -0,0 +1,286 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import abc
import asyncio
import json
import os
import signal
import socket
import sys
import multiprocessing
from . import chunkify, DEFAULT_MAX_CHUNK
class ClientError(Exception):
pass
class ServerError(Exception):
pass
class AsyncServerConnection(object):
def __init__(self, reader, writer, proto_name, logger):
self.reader = reader
self.writer = writer
self.proto_name = proto_name
self.max_chunk = DEFAULT_MAX_CHUNK
self.handlers = {
'chunk-stream': self.handle_chunk,
'ping': self.handle_ping,
}
self.logger = logger
async def process_requests(self):
try:
self.addr = self.writer.get_extra_info('peername')
self.logger.debug('Client %r connected' % (self.addr,))
# Read protocol and version
client_protocol = await self.reader.readline()
if client_protocol is None:
return
(client_proto_name, client_proto_version) = client_protocol.decode('utf-8').rstrip().split()
if client_proto_name != self.proto_name:
self.logger.debug('Rejecting invalid protocol %s' % (self.proto_name))
return
self.proto_version = tuple(int(v) for v in client_proto_version.split('.'))
if not self.validate_proto_version():
self.logger.debug('Rejecting invalid protocol version %s' % (client_proto_version))
return
# Read headers. Currently, no headers are implemented, so look for
# an empty line to signal the end of the headers
while True:
line = await self.reader.readline()
if line is None:
return
line = line.decode('utf-8').rstrip()
if not line:
break
# Handle messages
while True:
d = await self.read_message()
if d is None:
break
await self.dispatch_message(d)
await self.writer.drain()
except ClientError as e:
self.logger.error(str(e))
finally:
self.writer.close()
async def dispatch_message(self, msg):
for k in self.handlers.keys():
if k in msg:
self.logger.debug('Handling %s' % k)
await self.handlers[k](msg[k])
return
raise ClientError("Unrecognized command %r" % msg)
def write_message(self, msg):
for c in chunkify(json.dumps(msg), self.max_chunk):
self.writer.write(c.encode('utf-8'))
async def read_message(self):
l = await self.reader.readline()
if not l:
return None
try:
message = l.decode('utf-8')
if not message.endswith('\n'):
return None
return json.loads(message)
except (json.JSONDecodeError, UnicodeDecodeError) as e:
self.logger.error('Bad message from client: %r' % message)
raise e
async def handle_chunk(self, request):
lines = []
try:
while True:
l = await self.reader.readline()
l = l.rstrip(b"\n").decode("utf-8")
if not l:
break
lines.append(l)
msg = json.loads(''.join(lines))
except (json.JSONDecodeError, UnicodeDecodeError) as e:
self.logger.error('Bad message from client: %r' % lines)
raise e
if 'chunk-stream' in msg:
raise ClientError("Nested chunks are not allowed")
await self.dispatch_message(msg)
async def handle_ping(self, request):
response = {'alive': True}
self.write_message(response)
class AsyncServer(object):
def __init__(self, logger):
self._cleanup_socket = None
self.logger = logger
self.start = None
self.address = None
self.loop = None
def start_tcp_server(self, host, port):
def start_tcp():
self.server = self.loop.run_until_complete(
asyncio.start_server(self.handle_client, host, port)
)
for s in self.server.sockets:
self.logger.debug('Listening on %r' % (s.getsockname(),))
# Newer python does this automatically. Do it manually here for
# maximum compatibility
s.setsockopt(socket.SOL_TCP, socket.TCP_NODELAY, 1)
s.setsockopt(socket.SOL_TCP, socket.TCP_QUICKACK, 1)
name = self.server.sockets[0].getsockname()
if self.server.sockets[0].family == socket.AF_INET6:
self.address = "[%s]:%d" % (name[0], name[1])
else:
self.address = "%s:%d" % (name[0], name[1])
self.start = start_tcp
def start_unix_server(self, path):
def cleanup():
os.unlink(path)
def start_unix():
cwd = os.getcwd()
try:
# Work around path length limits in AF_UNIX
os.chdir(os.path.dirname(path))
self.server = self.loop.run_until_complete(
asyncio.start_unix_server(self.handle_client, os.path.basename(path))
)
finally:
os.chdir(cwd)
self.logger.debug('Listening on %r' % path)
self._cleanup_socket = cleanup
self.address = "unix://%s" % os.path.abspath(path)
self.start = start_unix
@abc.abstractmethod
def accept_client(self, reader, writer):
pass
async def handle_client(self, reader, writer):
# writer.transport.set_write_buffer_limits(0)
try:
client = self.accept_client(reader, writer)
await client.process_requests()
except Exception as e:
import traceback
self.logger.error('Error from client: %s' % str(e), exc_info=True)
traceback.print_exc()
writer.close()
self.logger.debug('Client disconnected')
def run_loop_forever(self):
try:
self.loop.run_forever()
except KeyboardInterrupt:
pass
def signal_handler(self):
self.logger.debug("Got exit signal")
self.loop.stop()
def _serve_forever(self):
try:
self.loop.add_signal_handler(signal.SIGTERM, self.signal_handler)
signal.pthread_sigmask(signal.SIG_UNBLOCK, [signal.SIGTERM])
self.run_loop_forever()
self.server.close()
self.loop.run_until_complete(self.server.wait_closed())
self.logger.debug('Server shutting down')
finally:
if self._cleanup_socket is not None:
self._cleanup_socket()
def serve_forever(self):
"""
Serve requests in the current process
"""
# Create loop and override any loop that may have existed in
# a parent process. It is possible that the usecases of
# serve_forever might be constrained enough to allow using
# get_event_loop here, but better safe than sorry for now.
self.loop = asyncio.new_event_loop()
asyncio.set_event_loop(self.loop)
self.start()
self._serve_forever()
def serve_as_process(self, *, prefunc=None, args=()):
"""
Serve requests in a child process
"""
def run(queue):
# Create loop and override any loop that may have existed
# in a parent process. Without doing this and instead
# using get_event_loop, at the very minimum the hashserv
# unit tests will hang when running the second test.
# This happens since get_event_loop in the spawned server
# process for the second testcase ends up with the loop
# from the hashserv client created in the unit test process
# when running the first testcase. The problem is somewhat
# more general, though, as any potential use of asyncio in
# Cooker could create a loop that needs to replaced in this
# new process.
self.loop = asyncio.new_event_loop()
asyncio.set_event_loop(self.loop)
try:
self.start()
finally:
queue.put(self.address)
queue.close()
if prefunc is not None:
prefunc(self, *args)
self._serve_forever()
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
queue = multiprocessing.Queue()
# Temporarily block SIGTERM. The server process will inherit this
# block which will ensure it doesn't receive the SIGTERM until the
# handler is ready for it
mask = signal.pthread_sigmask(signal.SIG_BLOCK, [signal.SIGTERM])
try:
self.process = multiprocessing.Process(target=run, args=(queue,))
self.process.start()
self.address = queue.get()
queue.close()
queue.join_thread()
return self.process
finally:
signal.pthread_sigmask(signal.SIG_SETMASK, mask)

View File

@@ -295,9 +295,13 @@ def exec_func_python(func, d, runfile, cwd=None):
lineno = int(d.getVarFlag(func, "lineno", False))
bb.methodpool.insert_method(func, text, fn, lineno - 1)
comp = utils.better_compile(code, func, "exec_python_func() autogenerated")
utils.better_exec(comp, {"d": d}, code, "exec_python_func() autogenerated")
comp = utils.better_compile(code, func, "exec_func_python() autogenerated")
utils.better_exec(comp, {"d": d}, code, "exec_func_python() autogenerated")
finally:
# We want any stdout/stderr to be printed before any other log messages to make debugging
# more accurate. In some cases we seem to lose stdout/stderr entirely in logging tests without this.
sys.stdout.flush()
sys.stderr.flush()
bb.debug(2, "Python function %s finished" % func)
if cwd and olddir:
@@ -565,7 +569,6 @@ exit $ret
def _task_data(fn, task, d):
localdata = bb.data.createCopy(d)
localdata.setVar('BB_FILENAME', fn)
localdata.setVar('BB_CURRENTTASK', task[3:])
localdata.setVar('OVERRIDES', 'task-%s:%s' %
(task[3:].replace('_', '-'), d.getVar('OVERRIDES', False)))
localdata.finalize()
@@ -579,7 +582,7 @@ def _exec_task(fn, task, d, quieterr):
running it with its own local metadata, and with some useful variables set.
"""
if not d.getVarFlag(task, 'task', False):
event.fire(TaskInvalid(task, d), d)
event.fire(TaskInvalid(task, fn, d), d)
logger.error("No such task: %s" % task)
return 1
@@ -682,47 +685,55 @@ def _exec_task(fn, task, d, quieterr):
try:
try:
event.fire(TaskStarted(task, fn, logfn, flags, localdata), localdata)
except (bb.BBHandledException, SystemExit):
return 1
try:
for func in (prefuncs or '').split():
exec_func(func, localdata)
exec_func(task, localdata)
for func in (postfuncs or '').split():
exec_func(func, localdata)
except bb.BBHandledException:
event.fire(TaskFailed(task, fn, logfn, localdata, True), localdata)
return 1
except Exception as exc:
if quieterr:
event.fire(TaskFailedSilent(task, fn, logfn, localdata), localdata)
else:
errprinted = errchk.triggered
logger.error(str(exc))
event.fire(TaskFailed(task, fn, logfn, localdata, errprinted), localdata)
return 1
finally:
sys.stdout.flush()
sys.stderr.flush()
finally:
# Need to flush and close the logs before sending events where the
# UI may try to look at the logs.
sys.stdout.flush()
sys.stderr.flush()
bblogger.removeHandler(handler)
bblogger.removeHandler(handler)
# Restore the backup fds
os.dup2(osi[0], osi[1])
os.dup2(oso[0], oso[1])
os.dup2(ose[0], ose[1])
# Restore the backup fds
os.dup2(osi[0], osi[1])
os.dup2(oso[0], oso[1])
os.dup2(ose[0], ose[1])
# Close the backup fds
os.close(osi[0])
os.close(oso[0])
os.close(ose[0])
# Close the backup fds
os.close(osi[0])
os.close(oso[0])
os.close(ose[0])
logfile.close()
if os.path.exists(logfn) and os.path.getsize(logfn) == 0:
logger.debug2("Zero size logfn %s, removing", logfn)
bb.utils.remove(logfn)
bb.utils.remove(loglink)
except (Exception, SystemExit) as exc:
handled = False
if isinstance(exc, bb.BBHandledException):
handled = True
if quieterr:
if not handled:
logger.warning(repr(exc))
event.fire(TaskFailedSilent(task, fn, logfn, localdata), localdata)
else:
errprinted = errchk.triggered
# If the output is already on stdout, we've printed the information in the
# logs once already so don't duplicate
if verboseStdoutLogging or handled:
errprinted = True
if not handled:
logger.error(repr(exc))
event.fire(TaskFailed(task, fn, logfn, localdata, errprinted), localdata)
return 1
logfile.close()
if os.path.exists(logfn) and os.path.getsize(logfn) == 0:
logger.debug2("Zero size logfn %s, removing", logfn)
bb.utils.remove(logfn)
bb.utils.remove(loglink)
event.fire(TaskSucceeded(task, fn, logfn, localdata), localdata)
if not localdata.getVarFlag(task, 'nostamp', False) and not localdata.getVarFlag(task, 'selfstamp', False):
@@ -927,6 +938,11 @@ def add_tasks(tasklist, d):
task_deps[name] = {}
if name in flags:
deptask = d.expand(flags[name])
if name in ['noexec', 'fakeroot', 'nostamp']:
if deptask != '1':
bb.warn("In a future version of BitBake, setting the '{}' flag to something other than '1' "
"will result in the flag not being set. See YP bug #13808.".format(name))
task_deps[name][task] = deptask
getTask('mcdepends')
getTask('depends')
@@ -1025,6 +1041,8 @@ def tasksbetween(task_start, task_end, d):
def follow_chain(task, endtask, chain=None):
if not chain:
chain = []
if task in chain:
bb.fatal("Circular task dependencies as %s depends on itself via the chain %s" % (task, " -> ".join(chain)))
chain.append(task)
for othertask in tasks:
if othertask == task:

View File

@@ -19,7 +19,8 @@
import os
import logging
import pickle
from collections import defaultdict, Mapping
from collections import defaultdict
from collections.abc import Mapping
import bb.utils
from bb import PrefixLoggerAdapter
import re
@@ -53,12 +54,12 @@ class RecipeInfoCommon(object):
@classmethod
def pkgvar(cls, var, packages, metadata):
return dict((pkg, cls.depvar("%s_%s" % (var, pkg), metadata))
return dict((pkg, cls.depvar("%s:%s" % (var, pkg), metadata))
for pkg in packages)
@classmethod
def taskvar(cls, var, tasks, metadata):
return dict((task, cls.getvar("%s_task-%s" % (var, task), metadata))
return dict((task, cls.getvar("%s:task-%s" % (var, task), metadata))
for task in tasks)
@classmethod
@@ -283,36 +284,15 @@ def parse_recipe(bb_data, bbfile, appends, mc=''):
Parse a recipe
"""
chdir_back = False
bb_data.setVar("__BBMULTICONFIG", mc)
# expand tmpdir to include this topdir
bb_data.setVar('TMPDIR', bb_data.getVar('TMPDIR') or "")
bbfile_loc = os.path.abspath(os.path.dirname(bbfile))
oldpath = os.path.abspath(os.getcwd())
bb.parse.cached_mtime_noerror(bbfile_loc)
# The ConfHandler first looks if there is a TOPDIR and if not
# then it would call getcwd().
# Previously, we chdir()ed to bbfile_loc, called the handler
# and finally chdir()ed back, a couple of thousand times. We now
# just fill in TOPDIR to point to bbfile_loc if there is no TOPDIR yet.
if not bb_data.getVar('TOPDIR', False):
chdir_back = True
bb_data.setVar('TOPDIR', bbfile_loc)
try:
if appends:
bb_data.setVar('__BBAPPEND', " ".join(appends))
bb_data = bb.parse.handle(bbfile, bb_data)
if chdir_back:
os.chdir(oldpath)
return bb_data
except:
if chdir_back:
os.chdir(oldpath)
raise
if appends:
bb_data.setVar('__BBAPPEND', " ".join(appends))
bb_data = bb.parse.handle(bbfile, bb_data)
return bb_data
class NoCache(object):
@@ -639,7 +619,7 @@ class Cache(NoCache):
for f in flist:
if not f:
continue
f, exist = f.split(":")
f, exist = f.rsplit(":", 1)
if (exist == "True" and not os.path.exists(f)) or (exist == "False" and os.path.exists(f)):
self.logger.debug2("%s's file checksum list file %s changed",
fn, f)

View File

@@ -11,10 +11,13 @@ import os
import stat
import bb.utils
import logging
import re
from bb.cache import MultiProcessCache
logger = logging.getLogger("BitBake.Cache")
filelist_regex = re.compile(r'(?:(?<=:True)|(?<=:False))\s+')
# mtime cache (non-persistent)
# based upon the assumption that files do not change during bitbake run
class FileMtimeCache(object):
@@ -50,6 +53,7 @@ class FileChecksumCache(MultiProcessCache):
MultiProcessCache.__init__(self)
def get_checksum(self, f):
f = os.path.normpath(f)
entry = self.cachedata[0].get(f)
cmtime = self.mtime_cache.cached_mtime(f)
if entry:
@@ -84,22 +88,36 @@ class FileChecksumCache(MultiProcessCache):
return None
return checksum
#
# Changing the format of file-checksums is problematic as both OE and Bitbake have
# knowledge of them. We need to encode a new piece of data, the portion of the path
# we care about from a checksum perspective. This means that files that change subdirectory
# are tracked by the task hashes. To do this, we do something horrible and put a "/./" into
# the path. The filesystem handles it but it gives us a marker to know which subsection
# of the path to cache.
#
def checksum_dir(pth):
# Handle directories recursively
if pth == "/":
bb.fatal("Refusing to checksum /")
pth = pth.rstrip("/")
dirchecksums = []
for root, dirs, files in os.walk(pth, topdown=True):
[dirs.remove(d) for d in list(dirs) if d in localdirsexclude]
for name in files:
fullpth = os.path.join(root, name)
fullpth = os.path.join(root, name).replace(pth, os.path.join(pth, "."))
checksum = checksum_file(fullpth)
if checksum:
dirchecksums.append((fullpth, checksum))
return dirchecksums
checksums = []
for pth in filelist.split():
for pth in filelist_regex.split(filelist):
if not pth:
continue
pth = pth.strip()
if not pth:
continue
exist = pth.split(":")[1]
if exist == "False":
continue

View File

@@ -195,6 +195,10 @@ class BufferedLogger(Logger):
self.target.handle(record)
self.buffer = []
class DummyLogger():
def flush(self):
return
class PythonParser():
getvars = (".getVar", ".appendVar", ".prependVar", "oe.utils.conditional")
getvarflags = (".getVarFlag", ".appendVarFlag", ".prependVarFlag")
@@ -276,7 +280,9 @@ class PythonParser():
self.contains = {}
self.execs = set()
self.references = set()
self.log = BufferedLogger('BitBake.Data.PythonParser', logging.DEBUG, log)
self._log = log
# Defer init as expensive
self.log = DummyLogger()
self.unhandled_message = "in call of %s, argument '%s' is not a string literal"
self.unhandled_message = "while parsing %s, %s" % (name, self.unhandled_message)
@@ -303,6 +309,9 @@ class PythonParser():
self.contains[i] = set(codeparsercache.pythoncacheextras[h].contains[i])
return
# Need to parse so take the hit on the real log buffer
self.log = BufferedLogger('BitBake.Data.PythonParser', logging.DEBUG, self._log)
# We can't add to the linenumbers for compile, we can pad to the correct number of blank lines though
node = "\n" * int(lineno) + node
code = compile(check_indent(str(node)), filename, "exec",
@@ -321,7 +330,11 @@ class ShellParser():
self.funcdefs = set()
self.allexecs = set()
self.execs = set()
self.log = BufferedLogger('BitBake.Data.%s' % name, logging.DEBUG, log)
self._name = name
self._log = log
# Defer init as expensive
self.log = DummyLogger()
self.unhandled_template = "unable to handle non-literal command '%s'"
self.unhandled_template = "while parsing %s, %s" % (name, self.unhandled_template)
@@ -340,6 +353,9 @@ class ShellParser():
self.execs = set(codeparsercache.shellcacheextras[h].execs)
return self.execs
# Need to parse so take the hit on the real log buffer
self.log = BufferedLogger('BitBake.Data.%s' % self._name, logging.DEBUG, self._log)
self._parse_shell(value)
self.execs = set(cmd for cmd in self.allexecs if cmd not in self.funcdefs)

View File

@@ -20,6 +20,7 @@ Commands are queued in a CommandQueue
from collections import OrderedDict, defaultdict
import io
import bb.event
import bb.cooker
import bb.remotedata
@@ -64,9 +65,17 @@ class Command:
# Ensure cooker is ready for commands
if command != "updateConfig" and command != "setFeatures":
self.cooker.init_configdata()
if not self.remotedatastores:
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
try:
self.cooker.init_configdata()
if not self.remotedatastores:
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
except (Exception, SystemExit) as exc:
import traceback
if isinstance(exc, bb.BBHandledException):
# We need to start returning real exceptions here. Until we do, we can't
# tell if an exception is an instance of bb.BBHandledException
return None, "bb.BBHandledException()\n" + traceback.format_exc()
return None, traceback.format_exc()
if hasattr(CommandsSync, command):
# Can run synchronous commands straight away
@@ -500,6 +509,17 @@ class CommandsSync:
d = command.remotedatastores[dsindex].varhistory
return getattr(d, method)(*args, **kwargs)
def dataStoreConnectorVarHistCmdEmit(self, command, params):
dsindex = params[0]
var = params[1]
oval = params[2]
val = params[3]
d = command.remotedatastores[params[4]]
o = io.StringIO()
command.remotedatastores[dsindex].varhistory.emit(var, oval, val, o, d)
return o.getvalue()
def dataStoreConnectorIncHistCmd(self, command, params):
dsindex = params[0]
method = params[1]
@@ -647,6 +667,16 @@ class CommandsAsync:
command.finishAsyncCommand()
findFilesMatchingInDir.needcache = False
def testCookerCommandEvent(self, command, params):
"""
Dummy command used by OEQA selftest to test tinfoil without IO
"""
pattern = params[0]
command.cooker.testCookerCommandEvent(pattern)
command.finishAsyncCommand()
testCookerCommandEvent.needcache = False
def findConfigFilePath(self, command, params):
"""
Find the path of the requested configuration file

View File

@@ -0,0 +1,194 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Helper library to implement streaming compression and decompression using an
# external process
#
# This library should be used directly by end users; a wrapper library for the
# specific compression tool should be created
import builtins
import io
import os
import subprocess
def open_wrap(
cls, filename, mode="rb", *, encoding=None, errors=None, newline=None, **kwargs
):
"""
Open a compressed file in binary or text mode.
Users should not call this directly. A specific compression library can use
this helper to provide it's own "open" command
The filename argument can be an actual filename (a str or bytes object), or
an existing file object to read from or write to.
The mode argument can be "r", "rb", "w", "wb", "x", "xb", "a" or "ab" for
binary mode, or "rt", "wt", "xt" or "at" for text mode. The default mode is
"rb".
For binary mode, this function is equivalent to the cls constructor:
cls(filename, mode). In this case, the encoding, errors and newline
arguments must not be provided.
For text mode, a cls object is created, and wrapped in an
io.TextIOWrapper instance with the specified encoding, error handling
behavior, and line ending(s).
"""
if "t" in mode:
if "b" in mode:
raise ValueError("Invalid mode: %r" % (mode,))
else:
if encoding is not None:
raise ValueError("Argument 'encoding' not supported in binary mode")
if errors is not None:
raise ValueError("Argument 'errors' not supported in binary mode")
if newline is not None:
raise ValueError("Argument 'newline' not supported in binary mode")
file_mode = mode.replace("t", "")
if isinstance(filename, (str, bytes, os.PathLike, int)):
binary_file = cls(filename, file_mode, **kwargs)
elif hasattr(filename, "read") or hasattr(filename, "write"):
binary_file = cls(None, file_mode, fileobj=filename, **kwargs)
else:
raise TypeError("filename must be a str or bytes object, or a file")
if "t" in mode:
return io.TextIOWrapper(
binary_file, encoding, errors, newline, write_through=True
)
else:
return binary_file
class CompressionError(OSError):
pass
class PipeFile(io.RawIOBase):
"""
Class that implements generically piping to/from a compression program
Derived classes should add the function get_compress() and get_decompress()
that return the required commands. Input will be piped into stdin and the
(de)compressed output should be written to stdout, e.g.:
class FooFile(PipeCompressionFile):
def get_decompress(self):
return ["fooc", "--decompress", "--stdout"]
def get_compress(self):
return ["fooc", "--compress", "--stdout"]
"""
READ = 0
WRITE = 1
def __init__(self, filename=None, mode="rb", *, stderr=None, fileobj=None):
if "t" in mode or "U" in mode:
raise ValueError("Invalid mode: {!r}".format(mode))
if not "b" in mode:
mode += "b"
if mode.startswith("r"):
self.mode = self.READ
elif mode.startswith("w"):
self.mode = self.WRITE
else:
raise ValueError("Invalid mode %r" % mode)
if fileobj is not None:
self.fileobj = fileobj
else:
self.fileobj = builtins.open(filename, mode or "rb")
if self.mode == self.READ:
self.p = subprocess.Popen(
self.get_decompress(),
stdin=self.fileobj,
stdout=subprocess.PIPE,
stderr=stderr,
close_fds=True,
)
self.pipe = self.p.stdout
else:
self.p = subprocess.Popen(
self.get_compress(),
stdin=subprocess.PIPE,
stdout=self.fileobj,
stderr=stderr,
close_fds=True,
)
self.pipe = self.p.stdin
self.__closed = False
def _check_process(self):
if self.p is None:
return
returncode = self.p.wait()
if returncode:
raise CompressionError("Process died with %d" % returncode)
self.p = None
def close(self):
if self.closed:
return
self.pipe.close()
if self.p is not None:
self._check_process()
self.fileobj.close()
self.__closed = True
@property
def closed(self):
return self.__closed
def fileno(self):
return self.pipe.fileno()
def flush(self):
self.pipe.flush()
def isatty(self):
return self.pipe.isatty()
def readable(self):
return self.mode == self.READ
def writable(self):
return self.mode == self.WRITE
def readinto(self, b):
if self.mode != self.READ:
import errno
raise OSError(
errno.EBADF, "read() on write-only %s object" % self.__class__.__name__
)
size = self.pipe.readinto(b)
if size == 0:
self._check_process()
return size
def write(self, data):
if self.mode != self.WRITE:
import errno
raise OSError(
errno.EBADF, "write() on read-only %s object" % self.__class__.__name__
)
data = self.pipe.write(data)
if not data:
self._check_process()
return data

View File

@@ -0,0 +1,17 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import bb.compress._pipecompress
def open(*args, **kwargs):
return bb.compress._pipecompress.open_wrap(LZ4File, *args, **kwargs)
class LZ4File(bb.compress._pipecompress.PipeFile):
def get_compress(self):
return ["lz4c", "-z", "-c"]
def get_decompress(self):
return ["lz4c", "-d", "-c"]

View File

@@ -0,0 +1,28 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import bb.compress._pipecompress
import shutil
def open(*args, **kwargs):
return bb.compress._pipecompress.open_wrap(ZstdFile, *args, **kwargs)
class ZstdFile(bb.compress._pipecompress.PipeFile):
def __init__(self, *args, num_threads=1, compresslevel=3, **kwargs):
self.num_threads = num_threads
self.compresslevel = compresslevel
super().__init__(*args, **kwargs)
def _get_zstd(self):
if self.num_threads == 1 or not shutil.which("pzstd"):
return ["zstd"]
return ["pzstd", "-p", "%d" % self.num_threads]
def get_compress(self):
return self._get_zstd() + ["-c", "-%d" % self.compresslevel]
def get_decompress(self):
return self._get_zstd() + ["-d", "-c"]

View File

@@ -159,6 +159,9 @@ class BBCooker:
for f in featureSet:
self.featureset.setFeature(f)
self.orig_syspath = sys.path.copy()
self.orig_sysmodules = [*sys.modules]
self.configuration = bb.cookerdata.CookerConfiguration()
self.idleCallBackRegister = idleCallBackRegister
@@ -166,27 +169,15 @@ class BBCooker:
bb.debug(1, "BBCooker starting %s" % time.time())
sys.stdout.flush()
self.configwatcher = pyinotify.WatchManager()
bb.debug(1, "BBCooker pyinotify1 %s" % time.time())
sys.stdout.flush()
self.configwatcher = None
self.confignotifier = None
self.configwatcher.bbseen = set()
self.configwatcher.bbwatchedfiles = set()
self.confignotifier = pyinotify.Notifier(self.configwatcher, self.config_notifications)
bb.debug(1, "BBCooker pyinotify2 %s" % time.time())
sys.stdout.flush()
self.watchmask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_CREATE | pyinotify.IN_DELETE | \
pyinotify.IN_DELETE_SELF | pyinotify.IN_MODIFY | pyinotify.IN_MOVE_SELF | \
pyinotify.IN_MOVED_FROM | pyinotify.IN_MOVED_TO
self.watcher = pyinotify.WatchManager()
bb.debug(1, "BBCooker pyinotify3 %s" % time.time())
sys.stdout.flush()
self.watcher.bbseen = set()
self.watcher.bbwatchedfiles = set()
self.notifier = pyinotify.Notifier(self.watcher, self.notifications)
bb.debug(1, "BBCooker pyinotify complete %s" % time.time())
sys.stdout.flush()
self.watcher = None
self.notifier = None
# If being called by something like tinfoil, we need to clean cached data
# which may now be invalid
@@ -199,7 +190,7 @@ class BBCooker:
self.inotify_modified_files = []
def _process_inotify_updates(server, cooker, abort):
def _process_inotify_updates(server, cooker, halt):
cooker.process_inotify_updates()
return 1.0
@@ -237,9 +228,29 @@ class BBCooker:
sys.stdout.flush()
self.handlePRServ()
def setupConfigWatcher(self):
if self.configwatcher:
self.configwatcher.close()
self.confignotifier = None
self.configwatcher = None
self.configwatcher = pyinotify.WatchManager()
self.configwatcher.bbseen = set()
self.configwatcher.bbwatchedfiles = set()
self.confignotifier = pyinotify.Notifier(self.configwatcher, self.config_notifications)
def setupParserWatcher(self):
if self.watcher:
self.watcher.close()
self.notifier = None
self.watcher = None
self.watcher = pyinotify.WatchManager()
self.watcher.bbseen = set()
self.watcher.bbwatchedfiles = set()
self.notifier = pyinotify.Notifier(self.watcher, self.notifications)
def process_inotify_updates(self):
for n in [self.confignotifier, self.notifier]:
if n.check_events(timeout=0):
if n and n.check_events(timeout=0):
# read notified events and enqeue them
n.read_events()
n.process_events()
@@ -253,6 +264,12 @@ class BBCooker:
return
if not event.pathname in self.configwatcher.bbwatchedfiles:
return
if "IN_ISDIR" in event.maskname:
if "IN_CREATE" in event.maskname or "IN_DELETE" in event.maskname:
if event.pathname in self.configwatcher.bbseen:
self.configwatcher.bbseen.remove(event.pathname)
# Could remove all entries starting with the directory but for now...
bb.parse.clear_cache()
if not event.pathname in self.inotify_modified_files:
self.inotify_modified_files.append(event.pathname)
self.baseconfig_valid = False
@@ -266,6 +283,12 @@ class BBCooker:
if event.pathname.endswith("bitbake-cookerdaemon.log") \
or event.pathname.endswith("bitbake.lock"):
return
if "IN_ISDIR" in event.maskname:
if "IN_CREATE" in event.maskname or "IN_DELETE" in event.maskname:
if event.pathname in self.watcher.bbseen:
self.watcher.bbseen.remove(event.pathname)
# Could remove all entries starting with the directory but for now...
bb.parse.clear_cache()
if not event.pathname in self.inotify_modified_files:
self.inotify_modified_files.append(event.pathname)
self.parsecache_valid = False
@@ -330,6 +353,13 @@ class BBCooker:
self.state = state.initial
self.caches_array = []
sys.path = self.orig_syspath.copy()
for mod in [*sys.modules]:
if mod not in self.orig_sysmodules:
del sys.modules[mod]
self.setupConfigWatcher()
# Need to preserve BB_CONSOLELOG over resets
consolelog = None
if hasattr(self, "data"):
@@ -382,16 +412,30 @@ class BBCooker:
try:
self.prhost = prserv.serv.auto_start(self.data)
except prserv.serv.PRServiceConfigError as e:
bb.fatal("Unable to start PR Server, exitting")
bb.fatal("Unable to start PR Server, exiting, check the bitbake-cookerdaemon.log")
if self.data.getVar("BB_HASHSERVE") == "auto":
# Create a new hash server bound to a unix domain socket
if not self.hashserv:
dbfile = (self.data.getVar("PERSISTENT_DIR") or self.data.getVar("CACHE")) + "/hashserv.db"
upstream = self.data.getVar("BB_HASHSERVE_UPSTREAM") or None
if upstream:
import socket
try:
sock = socket.create_connection(upstream.split(":"), 5)
sock.close()
except socket.error as e:
bb.warn("BB_HASHSERVE_UPSTREAM is not valid, unable to connect hash equivalence server at '%s': %s"
% (upstream, repr(e)))
self.hashservaddr = "unix://%s/hashserve.sock" % self.data.getVar("TOPDIR")
self.hashserv = hashserv.create_server(self.hashservaddr, dbfile, sync=False)
self.hashserv.process = multiprocessing.Process(target=self.hashserv.serve_forever)
self.hashserv.process.start()
self.hashserv = hashserv.create_server(
self.hashservaddr,
dbfile,
sync=False,
upstream=upstream,
)
self.hashserv.serve_as_process()
self.data.setVar("BB_HASHSERVE", self.hashservaddr)
self.databuilder.origdata.setVar("BB_HASHSERVE", self.hashservaddr)
self.databuilder.data.setVar("BB_HASHSERVE", self.hashservaddr)
@@ -491,7 +535,7 @@ class BBCooker:
logger.debug("Base environment change, triggering reparse")
self.reset()
def runCommands(self, server, data, abort):
def runCommands(self, server, data, halt):
"""
Run any queued asynchronous command
This is done by the idle handler so it runs in true context rather than
@@ -541,6 +585,8 @@ class BBCooker:
if not orig_tracking:
self.enableDataTracking()
self.reset()
# reset() resets to the UI requested value so we have to redo this
self.enableDataTracking()
def mc_base(p):
if p.startswith('mc:'):
@@ -564,7 +610,7 @@ class BBCooker:
if pkgs_to_build[0] in set(ignore.split()):
bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0])
taskdata, runlist = self.buildTaskData(pkgs_to_build, None, self.configuration.abort, allowincomplete=True)
taskdata, runlist = self.buildTaskData(pkgs_to_build, None, self.configuration.halt, allowincomplete=True)
mc = runlist[0][0]
fn = runlist[0][3]
@@ -593,7 +639,7 @@ class BBCooker:
data.emit_env(env, envdata, True)
logger.plain(env.getvalue())
# emit the metadata which isnt valid shell
# emit the metadata which isn't valid shell
for e in sorted(envdata.keys()):
if envdata.getVarFlag(e, 'func', False) and envdata.getVarFlag(e, 'python', False):
logger.plain("\npython %s () {\n%s}\n", e, envdata.getVar(e, False))
@@ -602,7 +648,7 @@ class BBCooker:
self.disableDataTracking()
self.reset()
def buildTaskData(self, pkgs_to_build, task, abort, allowincomplete=False):
def buildTaskData(self, pkgs_to_build, task, halt, allowincomplete=False):
"""
Prepare a runqueue and taskdata object for iteration over pkgs_to_build
"""
@@ -649,7 +695,7 @@ class BBCooker:
localdata = {}
for mc in self.multiconfigs:
taskdata[mc] = bb.taskdata.TaskData(abort, skiplist=self.skiplist, allowincomplete=allowincomplete)
taskdata[mc] = bb.taskdata.TaskData(halt, skiplist=self.skiplist, allowincomplete=allowincomplete)
localdata[mc] = data.createCopy(self.databuilder.mcdata[mc])
bb.data.expandKeys(localdata[mc])
@@ -698,19 +744,18 @@ class BBCooker:
taskdata[mc].add_unresolved(localdata[mc], self.recipecaches[mc])
mcdeps |= set(taskdata[mc].get_mcdepends())
new = False
for mc in self.multiconfigs:
for k in mcdeps:
if k in seen:
continue
l = k.split(':')
depmc = l[2]
if depmc not in self.multiconfigs:
bb.fatal("Multiconfig dependency %s depends on nonexistent multiconfig configuration named configuration %s" % (k,depmc))
else:
logger.debug("Adding providers for multiconfig dependency %s" % l[3])
taskdata[depmc].add_provider(localdata[depmc], self.recipecaches[depmc], l[3])
seen.add(k)
new = True
for k in mcdeps:
if k in seen:
continue
l = k.split(':')
depmc = l[2]
if depmc not in self.multiconfigs:
bb.fatal("Multiconfig dependency %s depends on nonexistent multiconfig configuration named configuration %s" % (k,depmc))
else:
logger.debug("Adding providers for multiconfig dependency %s" % l[3])
taskdata[depmc].add_provider(localdata[depmc], self.recipecaches[depmc], l[3])
seen.add(k)
new = True
for mc in self.multiconfigs:
taskdata[mc].add_unresolved(localdata[mc], self.recipecaches[mc])
@@ -723,7 +768,7 @@ class BBCooker:
Prepare a runqueue and taskdata object for iteration over pkgs_to_build
"""
# We set abort to False here to prevent unbuildable targets raising
# We set halt to False here to prevent unbuildable targets raising
# an exception when we're just generating data
taskdata, runlist = self.buildTaskData(pkgs_to_build, task, False, allowincomplete=True)
@@ -800,7 +845,9 @@ class BBCooker:
for dep in rq.rqdata.runtaskentries[tid].depends:
(depmc, depfn, _, deptaskfn) = bb.runqueue.split_tid_mcfn(dep)
deppn = self.recipecaches[depmc].pkg_fn[deptaskfn]
depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep)))
if depmc:
depmc = "mc:" + depmc + ":"
depend_tree["tdepends"][dotname].append("%s%s.%s" % (depmc, deppn, bb.runqueue.taskname_from_tid(dep)))
if taskfn not in seen_fns:
seen_fns.append(taskfn)
packages = []
@@ -1064,6 +1111,11 @@ class BBCooker:
if matches:
bb.event.fire(bb.event.FilesMatchingFound(filepattern, matches), self.data)
def testCookerCommandEvent(self, filepattern):
# Dummy command used by OEQA selftest to test tinfoil without IO
matches = ["A", "B"]
bb.event.fire(bb.event.FilesMatchingFound(filepattern, matches), self.data)
def findProviders(self, mc=''):
return bb.providers.findProviders(self.databuilder.mcdata[mc], self.recipecaches[mc], self.recipecaches[mc].pkg_pn)
@@ -1404,7 +1456,7 @@ class BBCooker:
# Setup taskdata structure
taskdata = {}
taskdata[mc] = bb.taskdata.TaskData(self.configuration.abort)
taskdata[mc] = bb.taskdata.TaskData(self.configuration.halt)
taskdata[mc].add_provider(self.databuilder.mcdata[mc], self.recipecaches[mc], item)
if quietlog:
@@ -1420,11 +1472,11 @@ class BBCooker:
rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist)
def buildFileIdle(server, rq, abort):
def buildFileIdle(server, rq, halt):
msg = None
interrupted = 0
if abort or self.state == state.forceshutdown:
if halt or self.state == state.forceshutdown:
rq.finish_runqueue(True)
msg = "Forced shutdown"
interrupted = 2
@@ -1466,10 +1518,10 @@ class BBCooker:
Attempt to build the targets specified
"""
def buildTargetsIdle(server, rq, abort):
def buildTargetsIdle(server, rq, halt):
msg = None
interrupted = 0
if abort or self.state == state.forceshutdown:
if halt or self.state == state.forceshutdown:
rq.finish_runqueue(True)
msg = "Forced shutdown"
interrupted = 2
@@ -1512,7 +1564,7 @@ class BBCooker:
bb.event.fire(bb.event.BuildInit(packages), self.data)
taskdata, runlist = self.buildTaskData(targets, task, self.configuration.abort)
taskdata, runlist = self.buildTaskData(targets, task, self.configuration.halt)
buildname = self.data.getVar("BUILDNAME", False)
@@ -1580,7 +1632,7 @@ class BBCooker:
if self.state in (state.shutdown, state.forceshutdown, state.error):
if hasattr(self.parser, 'shutdown'):
self.parser.shutdown(clean=False, force = True)
self.parser.shutdown(clean=False)
self.parser.final_cleanup()
raise bb.BBHandledException()
@@ -1588,6 +1640,8 @@ class BBCooker:
self.updateCacheSync()
if self.state != state.parsing and not self.parsecache_valid:
self.setupParserWatcher()
bb.parse.siggen.reset(self.data)
self.parseConfiguration ()
if CookerFeatures.SEND_SANITYEVENTS in self.featureset:
@@ -1647,7 +1701,7 @@ class BBCooker:
# Return a copy, don't modify the original
pkgs_to_build = pkgs_to_build[:]
if len(pkgs_to_build) == 0:
if not pkgs_to_build:
raise NothingToBuild
ignore = (self.data.getVar("ASSUME_PROVIDED") or "").split()
@@ -1694,6 +1748,8 @@ class BBCooker:
def post_serve(self):
self.shutdown(force=True)
prserv.serv.auto_shutdown()
if hasattr(bb.parse, "siggen"):
bb.parse.siggen.exit()
if self.hashserv:
self.hashserv.process.terminate()
self.hashserv.process.join()
@@ -1707,13 +1763,15 @@ class BBCooker:
self.state = state.shutdown
if self.parser:
self.parser.shutdown(clean=not force, force=force)
self.parser.shutdown(clean=not force)
self.parser.final_cleanup()
def finishcommand(self):
self.state = state.initial
def reset(self):
if hasattr(bb.parse, "siggen"):
bb.parse.siggen.exit()
self.initConfigurationData()
self.handlePRServ()
@@ -1742,7 +1800,7 @@ class CookerCollectFiles(object):
def __init__(self, priorities, mc=''):
self.mc = mc
self.bbappends = []
# Priorities is a list of tupples, with the second element as the pattern.
# Priorities is a list of tuples, with the second element as the pattern.
# We need to sort the list with the longest pattern first, and so on to
# the shortest. This allows nested layers to be properly evaluated.
self.bbfile_config_priorities = sorted(priorities, key=lambda tup: tup[1], reverse=True)
@@ -1786,10 +1844,10 @@ class CookerCollectFiles(object):
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem)[0] )
config.setVar("BBFILES_PRIORITIZED", " ".join(files))
if not len(files):
if not files:
files = self.get_bbfiles()
if not len(files):
if not files:
collectlog.error("no recipe files to build, check your BBPATH and BBFILES?")
bb.event.fire(CookerExit(), eventdata)
@@ -1975,15 +2033,30 @@ class ParsingFailure(Exception):
Exception.__init__(self, realexception, recipe)
class Parser(multiprocessing.Process):
def __init__(self, jobs, results, quit, init, profile):
def __init__(self, jobs, results, quit, profile):
self.jobs = jobs
self.results = results
self.quit = quit
self.init = init
multiprocessing.Process.__init__(self)
self.context = bb.utils.get_context().copy()
self.handlers = bb.event.get_class_handlers().copy()
self.profile = profile
self.queue_signals = False
self.signal_received = []
self.signal_threadlock = threading.Lock()
def catch_sig(self, signum, frame):
if self.queue_signals:
self.signal_received.append(signum)
else:
self.handle_sig(signum, frame)
def handle_sig(self, signum, frame):
if signum == signal.SIGTERM:
signal.signal(signal.SIGTERM, signal.SIG_DFL)
os.kill(os.getpid(), signal.SIGTERM)
elif signum == signal.SIGINT:
signal.default_int_handler(signum, frame)
def run(self):
@@ -2003,36 +2076,48 @@ class Parser(multiprocessing.Process):
prof.dump_stats(logfile)
def realrun(self):
if self.init:
self.init()
# Signal handling here is hard. We must not terminate any process or thread holding the write
# lock for the event stream as it will not be released, ever, and things will hang.
# Python handles signals in the main thread/process but they can be raised from any thread and
# we want to defer processing of any SIGTERM/SIGINT signal until we're outside the critical section
# and don't hold the lock (see server/process.py). We therefore always catch the signals (so any
# new thread should also do so) and we defer handling but we handle with the local thread lock
# held (a threading lock, not a multiprocessing one) so that no other thread in the process
# can be in the critical section.
signal.signal(signal.SIGTERM, self.catch_sig)
signal.signal(signal.SIGHUP, signal.SIG_DFL)
signal.signal(signal.SIGINT, self.catch_sig)
bb.utils.set_process_name(multiprocessing.current_process().name)
multiprocessing.util.Finalize(None, bb.codeparser.parser_cache_save, exitpriority=1)
multiprocessing.util.Finalize(None, bb.fetch.fetcher_parse_save, exitpriority=1)
pending = []
while True:
try:
self.quit.get_nowait()
except queue.Empty:
pass
else:
self.results.close()
self.results.join_thread()
break
if pending:
result = pending.pop()
else:
try:
while True:
try:
job = self.jobs.pop()
except IndexError:
self.results.close()
self.results.join_thread()
self.quit.get_nowait()
except queue.Empty:
pass
else:
break
result = self.parse(*job)
# Clear the siggen cache after parsing to control memory usage, its huge
bb.parse.siggen.postparsing_clean_cache()
try:
self.results.put(result, timeout=0.25)
except queue.Full:
pending.append(result)
if pending:
result = pending.pop()
else:
try:
job = self.jobs.pop()
except IndexError:
break
result = self.parse(*job)
# Clear the siggen cache after parsing to control memory usage, its huge
bb.parse.siggen.postparsing_clean_cache()
try:
self.results.put(result, timeout=0.25)
except queue.Full:
pending.append(result)
finally:
self.results.close()
self.results.join_thread()
def parse(self, mc, cache, filename, appends):
try:
@@ -2053,12 +2138,12 @@ class Parser(multiprocessing.Process):
tb = sys.exc_info()[2]
exc.recipe = filename
exc.traceback = list(bb.exceptions.extract_traceback(tb, context=3))
return True, exc
return True, None, exc
# Need to turn BaseExceptions into Exceptions here so we gracefully shutdown
# and for example a worker thread doesn't just exit on its own in response to
# a SystemExit event for example.
except BaseException as exc:
return True, ParsingFailure(exc, filename)
return True, None, ParsingFailure(exc, filename)
finally:
bb.event.LogHandler.filter = origfilter
@@ -2109,13 +2194,6 @@ class CookerParser(object):
self.processes = []
if self.toparse:
bb.event.fire(bb.event.ParseStarted(self.toparse), self.cfgdata)
def init():
signal.signal(signal.SIGTERM, signal.SIG_DFL)
signal.signal(signal.SIGHUP, signal.SIG_DFL)
signal.signal(signal.SIGINT, signal.SIG_IGN)
bb.utils.set_process_name(multiprocessing.current_process().name)
multiprocessing.util.Finalize(None, bb.codeparser.parser_cache_save, exitpriority=1)
multiprocessing.util.Finalize(None, bb.fetch.fetcher_parse_save, exitpriority=1)
self.parser_quit = multiprocessing.Queue(maxsize=self.num_processes)
self.result_queue = multiprocessing.Queue()
@@ -2125,14 +2203,14 @@ class CookerParser(object):
self.jobs = chunkify(list(self.willparse), self.num_processes)
for i in range(0, self.num_processes):
parser = Parser(self.jobs[i], self.result_queue, self.parser_quit, init, self.cooker.configuration.profile)
parser = Parser(self.jobs[i], self.result_queue, self.parser_quit, self.cooker.configuration.profile)
parser.start()
self.process_names.append(parser.name)
self.processes.append(parser)
self.results = itertools.chain(self.results, self.parse_generator())
def shutdown(self, clean=True, force=False):
def shutdown(self, clean=True):
if not self.toparse:
return
if self.haveshutdown:
@@ -2146,6 +2224,8 @@ class CookerParser(object):
self.total)
bb.event.fire(event, self.cfgdata)
else:
bb.error("Parsing halted due to errors, see error messages above")
for process in self.processes:
self.parser_quit.put(None)
@@ -2159,11 +2239,24 @@ class CookerParser(object):
break
for process in self.processes:
if force:
process.join(.1)
process.join(0.5)
for process in self.processes:
if process.exitcode is None:
os.kill(process.pid, signal.SIGINT)
for process in self.processes:
process.join(0.5)
for process in self.processes:
if process.exitcode is None:
process.terminate()
else:
process.join()
for process in self.processes:
process.join()
# Added in 3.7, cleans up zombies
if hasattr(process, "close"):
process.close()
self.parser_quit.close()
# Allow data left in the cancel queue to be discarded
@@ -2199,44 +2292,59 @@ class CookerParser(object):
yield not cached, mc, infos
def parse_generator(self):
while True:
empty = False
while self.processes or not empty:
for process in self.processes.copy():
if not process.is_alive():
process.join()
self.processes.remove(process)
if self.parsed >= self.toparse:
break
try:
result = self.result_queue.get(timeout=0.25)
except queue.Empty:
pass
empty = True
yield None, None, None
else:
value = result[1]
if isinstance(value, BaseException):
raise value
else:
yield result
empty = False
yield result
if not (self.parsed >= self.toparse):
raise bb.parse.ParseError("Not all recipes parsed, parser thread killed/died? Exiting.", None)
def parse_next(self):
result = []
parsed = None
try:
parsed, mc, result = next(self.results)
if isinstance(result, BaseException):
# Turn exceptions back into exceptions
raise result
if parsed is None:
# Timeout, loop back through the main loop
return True
except StopIteration:
self.shutdown()
return False
except bb.BBHandledException as exc:
self.error += 1
logger.error('Failed to parse recipe: %s' % exc.recipe)
self.shutdown(clean=False, force=True)
logger.debug('Failed to parse recipe: %s' % exc.recipe)
self.shutdown(clean=False)
return False
except ParsingFailure as exc:
self.error += 1
logger.error('Unable to parse %s: %s' %
(exc.recipe, bb.exceptions.to_string(exc.realexception)))
self.shutdown(clean=False, force=True)
self.shutdown(clean=False)
return False
except bb.parse.ParseError as exc:
self.error += 1
logger.error(str(exc))
self.shutdown(clean=False, force=True)
self.shutdown(clean=False)
return False
except bb.data_smart.ExpansionError as exc:
self.error += 1
@@ -2245,7 +2353,7 @@ class CookerParser(object):
tb = list(itertools.dropwhile(lambda e: e.filename.startswith(bbdir), exc.traceback))
logger.error('ExpansionError during parsing %s', value.recipe,
exc_info=(etype, value, tb))
self.shutdown(clean=False, force=True)
self.shutdown(clean=False)
return False
except Exception as exc:
self.error += 1
@@ -2257,7 +2365,7 @@ class CookerParser(object):
# Most likely, an exception occurred during raising an exception
import traceback
logger.error('Exception during parse: %s' % traceback.format_exc())
self.shutdown(clean=False, force=True)
self.shutdown(clean=False)
return False
self.current += 1

View File

@@ -57,7 +57,7 @@ class ConfigParameters(object):
def updateToServer(self, server, environment):
options = {}
for o in ["abort", "force", "invalidate_stamp",
for o in ["halt", "force", "invalidate_stamp",
"dry_run", "dump_signatures",
"extra_assume_provided", "profile",
"prefile", "postfile", "server_timeout",
@@ -86,7 +86,7 @@ class ConfigParameters(object):
action['msg'] = "Only one target can be used with the --environment option."
elif self.options.buildfile and len(self.options.pkgs_to_build) > 0:
action['msg'] = "No target should be used with the --environment and --buildfile options."
elif len(self.options.pkgs_to_build) > 0:
elif self.options.pkgs_to_build:
action['action'] = ["showEnvironmentTarget", self.options.pkgs_to_build]
else:
action['action'] = ["showEnvironment", self.options.buildfile]
@@ -124,7 +124,7 @@ class CookerConfiguration(object):
self.prefile = []
self.postfile = []
self.cmd = None
self.abort = True
self.halt = True
self.force = False
self.profile = False
self.nosetscene = False
@@ -210,7 +210,7 @@ def findConfigFile(configfile, data):
#
# We search for a conf/bblayers.conf under an entry in BBPATH or in cwd working
# up to /. If that fails, we search for a conf/bitbake.conf in BBPATH.
# up to /. If that fails, bitbake would fall back to cwd.
#
def findTopdir():
@@ -223,11 +223,8 @@ def findTopdir():
layerconf = findConfigFile("bblayers.conf", d)
if layerconf:
return os.path.dirname(os.path.dirname(layerconf))
if bbpath:
bitbakeconf = bb.utils.which(bbpath, "conf/bitbake.conf")
if bitbakeconf:
return os.path.dirname(os.path.dirname(bitbakeconf))
return None
return os.path.abspath(os.getcwd())
class CookerDataBuilder(object):
@@ -250,6 +247,9 @@ class CookerDataBuilder(object):
self.savedenv = bb.data.init()
for k in cookercfg.env:
self.savedenv.setVar(k, cookercfg.env[k])
if k in bb.data_smart.bitbake_renamed_vars:
bb.error('Variable %s from the shell environment has been renamed to %s' % (k, bb.data_smart.bitbake_renamed_vars[k]))
bb.fatal("Exiting to allow enviroment variables to be corrected")
filtered_keys = bb.utils.approved_variables()
bb.data.inheritFromOS(self.basedata, self.savedenv, filtered_keys)
@@ -261,12 +261,12 @@ class CookerDataBuilder(object):
self.data = self.basedata
self.mcdata = {}
def parseBaseConfiguration(self):
def parseBaseConfiguration(self, worker=False):
data_hash = hashlib.sha256()
try:
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
if self.data.getVar("BB_WORKERCONTEXT", False) is None:
if self.data.getVar("BB_WORKERCONTEXT", False) is None and not worker:
bb.fetch.fetcher_init(self.data)
bb.parse.init_parser(self.data)
bb.codeparser.parser_cache_init(self.data)
@@ -291,6 +291,8 @@ class CookerDataBuilder(object):
multiconfig = (self.data.getVar("BBMULTICONFIG") or "").split()
for config in multiconfig:
if config[0].isdigit():
bb.fatal("Multiconfig name '%s' is invalid as multiconfigs cannot start with a digit" % config)
mcdata = self.parseConfigurationFiles(self.prefiles, self.postfiles, config)
bb.event.fire(bb.event.ConfigParsed(), mcdata)
self.mcdata[config] = mcdata
@@ -308,6 +310,26 @@ class CookerDataBuilder(object):
logger.exception("Error parsing configuration files")
raise bb.BBHandledException()
# Handle obsolete variable names
d = self.data
renamedvars = d.getVarFlags('BB_RENAMED_VARIABLES') or {}
renamedvars.update(bb.data_smart.bitbake_renamed_vars)
issues = False
for v in renamedvars:
if d.getVar(v) != None or d.hasOverrides(v):
issues = True
loginfo = {}
history = d.varhistory.get_variable_refs(v)
for h in history:
for line in history[h]:
loginfo = {'file' : h, 'line' : line}
bb.data.data_smart._print_rename_error(v, loginfo, renamedvars)
if not history:
bb.data.data_smart._print_rename_error(v, loginfo, renamedvars)
if issues:
raise bb.BBHandledException()
# Create a copy so we can reset at a later date when UIs disconnect
self.origdata = self.data
self.data = bb.data.createCopy(self.origdata)
@@ -342,6 +364,9 @@ class CookerDataBuilder(object):
layers = (data.getVar('BBLAYERS') or "").split()
broken_layers = []
if not layers:
bb.fatal("The bblayers.conf file doesn't contain any BBLAYERS definition")
data = bb.data.createCopy(data)
approved = bb.utils.approved_variables()
@@ -396,6 +421,8 @@ class CookerDataBuilder(object):
if c in collections_tmp:
bb.fatal("Found duplicated BBFILE_COLLECTIONS '%s', check bblayers.conf or layer.conf to fix it." % c)
compat = set((data.getVar("LAYERSERIES_COMPAT_%s" % c) or "").split())
if compat and not layerseries:
bb.fatal("No core layer found to work with layer '%s'. Missing entry in bblayers.conf?" % c)
if compat and not (compat & layerseries):
bb.fatal("Layer %s is not compatible with the core layer which only supports these series: %s (layer is compatible with %s)"
% (c, " ".join(layerseries), " ".join(compat)))
@@ -410,6 +437,9 @@ class CookerDataBuilder(object):
" invoked bitbake from the wrong directory?")
raise SystemExit(msg)
if not data.getVar("TOPDIR"):
data.setVar("TOPDIR", os.path.abspath(os.getcwd()))
data = parse_config_file(os.path.join("conf", "bitbake.conf"), data)
# Parse files for loading *after* bitbake.conf and any includes
@@ -421,7 +451,7 @@ class CookerDataBuilder(object):
for bbclass in bbclasses:
data = _inherit(bbclass, data)
# Nomally we only register event handlers at the end of parsing .bb files
# Normally we only register event handlers at the end of parsing .bb files
# We register any handlers we've found so far here...
for var in data.getVar('__BBHANDLERS', False) or []:
handlerfn = data.getVarFlag(var, "filename", False)

View File

@@ -74,26 +74,26 @@ def createDaemon(function, logfile):
with open('/dev/null', 'r') as si:
os.dup2(si.fileno(), sys.stdin.fileno())
try:
so = open(logfile, 'a+')
os.dup2(so.fileno(), sys.stdout.fileno())
os.dup2(so.fileno(), sys.stderr.fileno())
except io.UnsupportedOperation:
sys.stdout = open(logfile, 'a+')
with open(logfile, 'a+') as so:
try:
os.dup2(so.fileno(), sys.stdout.fileno())
os.dup2(so.fileno(), sys.stderr.fileno())
except io.UnsupportedOperation:
sys.stdout = so
# Have stdout and stderr be the same so log output matches chronologically
# and there aren't two seperate buffers
sys.stderr = sys.stdout
# Have stdout and stderr be the same so log output matches chronologically
# and there aren't two separate buffers
sys.stderr = sys.stdout
try:
function()
except Exception as e:
traceback.print_exc()
finally:
bb.event.print_ui_queue()
# os._exit() doesn't flush open files like os.exit() does. Manually flush
# stdout and stderr so that any logging output will be seen, particularly
# exception tracebacks.
sys.stdout.flush()
sys.stderr.flush()
os._exit(0)
try:
function()
except Exception as e:
traceback.print_exc()
finally:
bb.event.print_ui_queue()
# os._exit() doesn't flush open files like os.exit() does. Manually flush
# stdout and stderr so that any logging output will be seen, particularly
# exception tracebacks.
sys.stdout.flush()
sys.stderr.flush()
os._exit(0)

View File

@@ -226,7 +226,7 @@ def emit_func(func, o=sys.__stdout__, d = init()):
deps = newdeps
seen |= deps
newdeps = set()
for dep in deps:
for dep in sorted(deps):
if d.getVarFlag(dep, "func", False) and not d.getVarFlag(dep, "python", False):
emit_var(dep, o, d, False) and o.write('\n')
newdeps |= bb.codeparser.ShellParser(dep, logger).parse_shell(d.getVar(dep))
@@ -272,7 +272,7 @@ def update_data(d):
"""Performs final steps upon the datastore, including application of overrides"""
d.finalize(parent = True)
def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
def build_dependencies(key, keys, shelldeps, varflagsexcl, ignored_vars, d):
deps = set()
try:
if key[-1] == ']':
@@ -283,23 +283,24 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
return deps, value
varflags = d.getVarFlags(key, ["vardeps", "vardepvalue", "vardepsexclude", "exports", "postfuncs", "prefuncs", "lineno", "filename"]) or {}
vardeps = varflags.get("vardeps")
exclusions = varflags.get("vardepsexclude", "").split()
def handle_contains(value, contains, d):
newvalue = ""
def handle_contains(value, contains, exclusions, d):
newvalue = []
if value:
newvalue.append(str(value))
for k in sorted(contains):
if k in exclusions or k in ignored_vars:
continue
l = (d.getVar(k) or "").split()
for item in sorted(contains[k]):
for word in item.split():
if not word in l:
newvalue += "\n%s{%s} = Unset" % (k, item)
newvalue.append("\n%s{%s} = Unset" % (k, item))
break
else:
newvalue += "\n%s{%s} = Set" % (k, item)
if not newvalue:
return value
if not value:
return newvalue
return value + newvalue
newvalue.append("\n%s{%s} = Set" % (k, item))
return "".join(newvalue)
def handle_remove(value, deps, removes, d):
for r in sorted(removes):
@@ -318,7 +319,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
parser.parse_python(value, filename=varflags.get("filename"), lineno=varflags.get("lineno"))
deps = deps | parser.references
deps = deps | (keys & parser.execs)
value = handle_contains(value, parser.contains, d)
value = handle_contains(value, parser.contains, exclusions, d)
else:
value, parsedvar = d.getVarFlag(key, "_content", False, retparser=True)
parser = bb.codeparser.ShellParser(key, logger)
@@ -326,7 +327,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
deps = deps | shelldeps
deps = deps | parsedvar.references
deps = deps | (keys & parser.execs) | (keys & parsedvar.execs)
value = handle_contains(value, parsedvar.contains, d)
value = handle_contains(value, parsedvar.contains, exclusions, d)
if hasattr(parsedvar, "removes"):
value = handle_remove(value, deps, parsedvar.removes, d)
if vardeps is None:
@@ -341,7 +342,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
value, parser = d.getVarFlag(key, "_content", False, retparser=True)
deps |= parser.references
deps = deps | (keys & parser.execs)
value = handle_contains(value, parser.contains, d)
value = handle_contains(value, parser.contains, exclusions, d)
if hasattr(parser, "removes"):
value = handle_remove(value, deps, parser.removes, d)
@@ -361,7 +362,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
deps |= set(varfdeps)
deps |= set((vardeps or "").split())
deps -= set(varflags.get("vardepsexclude", "").split())
deps -= set(exclusions)
except bb.parse.SkipRecipe:
raise
except Exception as e:
@@ -371,7 +372,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
#bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs)))
#d.setVarFlag(key, "vardeps", deps)
def generate_dependencies(d, whitelist):
def generate_dependencies(d, ignored_vars):
keys = set(key for key in d if not key.startswith("__"))
shelldeps = set(key for key in d.getVar("__exportlist", False) if d.getVarFlag(key, "export", False) and not d.getVarFlag(key, "unexport", False))
@@ -382,22 +383,22 @@ def generate_dependencies(d, whitelist):
tasklist = d.getVar('__BBTASKS', False) or []
for task in tasklist:
deps[task], values[task] = build_dependencies(task, keys, shelldeps, varflagsexcl, d)
deps[task], values[task] = build_dependencies(task, keys, shelldeps, varflagsexcl, ignored_vars, d)
newdeps = deps[task]
seen = set()
while newdeps:
nextdeps = newdeps - whitelist
nextdeps = newdeps - ignored_vars
seen |= nextdeps
newdeps = set()
for dep in nextdeps:
if dep not in deps:
deps[dep], values[dep] = build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
deps[dep], values[dep] = build_dependencies(dep, keys, shelldeps, varflagsexcl, ignored_vars, d)
newdeps |= deps[dep]
newdeps -= seen
#print "For %s: %s" % (task, str(deps[task]))
return tasklist, deps, values
def generate_dependency_hash(tasklist, gendeps, lookupcache, whitelist, fn):
def generate_dependency_hash(tasklist, gendeps, lookupcache, ignored_vars, fn):
taskdeps = {}
basehash = {}
@@ -406,9 +407,11 @@ def generate_dependency_hash(tasklist, gendeps, lookupcache, whitelist, fn):
if data is None:
bb.error("Task %s from %s seems to be empty?!" % (task, fn))
data = ''
data = []
else:
data = [data]
gendeps[task] -= whitelist
gendeps[task] -= ignored_vars
newdeps = gendeps[task]
seen = set()
while newdeps:
@@ -416,20 +419,20 @@ def generate_dependency_hash(tasklist, gendeps, lookupcache, whitelist, fn):
seen |= nextdeps
newdeps = set()
for dep in nextdeps:
if dep in whitelist:
if dep in ignored_vars:
continue
gendeps[dep] -= whitelist
gendeps[dep] -= ignored_vars
newdeps |= gendeps[dep]
newdeps -= seen
alldeps = sorted(seen)
for dep in alldeps:
data = data + dep
data.append(dep)
var = lookupcache[dep]
if var is not None:
data = data + str(var)
data.append(str(var))
k = fn + ":" + task
basehash[k] = hashlib.sha256(data.encode("utf-8")).hexdigest()
basehash[k] = hashlib.sha256("".join(data).encode("utf-8")).hexdigest()
taskdeps[task] = alldeps
return taskdeps, basehash

View File

@@ -17,7 +17,7 @@ BitBake build tools.
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import copy, re, sys, traceback
from collections import MutableMapping
from collections.abc import MutableMapping
import logging
import hashlib
import bb, bb.codeparser
@@ -26,13 +26,25 @@ from bb.COW import COWDictBase
logger = logging.getLogger("BitBake.Data")
__setvar_keyword__ = ["_append", "_prepend", "_remove"]
__setvar_regexp__ = re.compile(r'(?P<base>.*?)(?P<keyword>_append|_prepend|_remove)(_(?P<add>[^A-Z]*))?$')
__expand_var_regexp__ = re.compile(r"\${[a-zA-Z0-9\-_+./~]+?}")
__setvar_keyword__ = [":append", ":prepend", ":remove"]
__setvar_regexp__ = re.compile(r'(?P<base>.*?)(?P<keyword>:append|:prepend|:remove)(:(?P<add>[^A-Z]*))?$')
__expand_var_regexp__ = re.compile(r"\${[a-zA-Z0-9\-_+./~:]+?}")
__expand_python_regexp__ = re.compile(r"\${@.+?}")
__whitespace_split__ = re.compile(r'(\s)')
__override_regexp__ = re.compile(r'[a-z0-9]+')
bitbake_renamed_vars = {
"BB_ENV_WHITELIST": "BB_ENV_PASSTHROUGH",
"BB_ENV_EXTRAWHITE": "BB_ENV_PASSTHROUGH_ADDITIONS",
"BB_HASHBASE_WHITELIST": "BB_BASEHASH_IGNORE_VARS",
"BB_HASHCONFIG_WHITELIST": "BB_HASHCONFIG_IGNORE_VARS",
"BB_HASHTASK_WHITELIST": "BB_TASKHASH_IGNORE_TASKS",
"BB_SETSCENE_ENFORCE_WHITELIST": "BB_SETSCENE_ENFORCE_IGNORE_TASKS",
"MULTI_PROVIDER_WHITELIST": "BB_MULTI_PROVIDER_ALLOWED",
"BB_STAMP_WHITELIST": "is a deprecated variable and support has been removed",
"BB_STAMP_POLICY": "is a deprecated variable and support has been removed",
}
def infer_caller_details(loginfo, parent = False, varval = True):
"""Save the caller the trouble of specifying everything."""
# Save effort.
@@ -140,6 +152,9 @@ class DataContext(dict):
self['d'] = metadata
def __missing__(self, key):
# Skip commonly accessed invalid variables
if key in ['bb', 'oe', 'int', 'bool', 'time', 'str', 'os']:
raise KeyError(key)
value = self.metadata.getVar(key)
if value is None or self.metadata.getVarFlag(key, 'func', False):
raise KeyError(key)
@@ -151,6 +166,7 @@ class ExpansionError(Exception):
self.expression = expression
self.variablename = varname
self.exception = exception
self.varlist = [varname or expression or ""]
if varname:
if expression:
self.msg = "Failure expanding variable %s, expression was %s which triggered exception %s: %s" % (varname, expression, type(exception).__name__, exception)
@@ -160,8 +176,14 @@ class ExpansionError(Exception):
self.msg = "Failure expanding expression %s which triggered exception %s: %s" % (expression, type(exception).__name__, exception)
Exception.__init__(self, self.msg)
self.args = (varname, expression, exception)
def addVar(self, varname):
if varname:
self.varlist.append(varname)
def __str__(self):
return self.msg
chain = "\nThe variable dependency chain for the failure is: " + " -> ".join(self.varlist)
return self.msg + chain
class IncludeHistory(object):
def __init__(self, parent = None, filename = '[TOP LEVEL]'):
@@ -277,7 +299,7 @@ class VariableHistory(object):
for (r, override) in d.overridedata[var]:
for event in self.variable(r):
loginfo = event.copy()
if 'flag' in loginfo and not loginfo['flag'].startswith("_"):
if 'flag' in loginfo and not loginfo['flag'].startswith(("_", ":")):
continue
loginfo['variable'] = var
loginfo['op'] = 'override[%s]:%s' % (override, loginfo['op'])
@@ -329,6 +351,16 @@ class VariableHistory(object):
lines.append(line)
return lines
def get_variable_refs(self, var):
"""Return a dict of file/line references"""
var_history = self.variable(var)
refs = {}
for event in var_history:
if event['file'] not in refs:
refs[event['file']] = []
refs[event['file']].append(event['line'])
return refs
def get_variable_items_files(self, var):
"""
Use variable history to map items added to a list variable and
@@ -342,7 +374,7 @@ class VariableHistory(object):
for event in history:
if 'flag' in event:
continue
if event['op'] == '_remove':
if event['op'] == ':remove':
continue
if isset and event['op'] == 'set?':
continue
@@ -363,6 +395,23 @@ class VariableHistory(object):
else:
self.variables[var] = []
def _print_rename_error(var, loginfo, renamedvars, fullvar=None):
info = ""
if "file" in loginfo:
info = " file: %s" % loginfo["file"]
if "line" in loginfo:
info += " line: %s" % loginfo["line"]
if fullvar and fullvar != var:
info += " referenced as: %s" % fullvar
if info:
info = " (%s)" % info.strip()
renameinfo = renamedvars[var]
if " " in renameinfo:
# A space signals a string to display instead of a rename
bb.erroronce('Variable %s %s%s' % (var, renameinfo, info))
else:
bb.erroronce('Variable %s has been renamed to %s%s' % (var, renameinfo, info))
class DataSmart(MutableMapping):
def __init__(self):
self.dict = {}
@@ -370,6 +419,8 @@ class DataSmart(MutableMapping):
self.inchistory = IncludeHistory()
self.varhistory = VariableHistory(self)
self._tracking = False
self._var_renames = {}
self._var_renames.update(bitbake_renamed_vars)
self.expand_cache = {}
@@ -403,14 +454,17 @@ class DataSmart(MutableMapping):
s = __expand_python_regexp__.sub(varparse.python_sub, s)
except SyntaxError as e:
# Likely unmatched brackets, just don't expand the expression
if e.msg != "EOL while scanning string literal":
if e.msg != "EOL while scanning string literal" and not e.msg.startswith("unterminated string literal"):
raise
if s == olds:
break
except ExpansionError:
except ExpansionError as e:
e.addVar(varname)
raise
except bb.parse.SkipRecipe:
raise
except bb.BBHandledException:
raise
except Exception as exc:
tb = sys.exc_info()[2]
raise ExpansionError(varname, s, exc).with_traceback(tb) from exc
@@ -478,9 +532,26 @@ class DataSmart(MutableMapping):
else:
self.initVar(var)
def hasOverrides(self, var):
return var in self.overridedata
def setVar(self, var, value, **loginfo):
#print("var=" + str(var) + " val=" + str(value))
if not var.startswith("__anon_") and ("_append" in var or "_prepend" in var or "_remove" in var):
info = "%s" % var
if "file" in loginfo:
info += " file: %s" % loginfo["file"]
if "line" in loginfo:
info += " line: %s" % loginfo["line"]
bb.fatal("Variable %s contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake." % info)
shortvar = var.split(":", 1)[0]
if shortvar in self._var_renames:
_print_rename_error(shortvar, loginfo, self._var_renames, fullvar=var)
# Mark that we have seen a renamed variable
self.setVar("_FAILPARSINGERRORHANDLED", True)
self.expand_cache = {}
parsing=False
if 'parsing' in loginfo:
@@ -509,7 +580,7 @@ class DataSmart(MutableMapping):
# pay the cookie monster
# more cookies for the cookie monster
if '_' in var:
if ':' in var:
self._setvar_update_overrides(base, **loginfo)
if base in self.overridevars:
@@ -520,27 +591,27 @@ class DataSmart(MutableMapping):
self._makeShadowCopy(var)
if not parsing:
if "_append" in self.dict[var]:
del self.dict[var]["_append"]
if "_prepend" in self.dict[var]:
del self.dict[var]["_prepend"]
if "_remove" in self.dict[var]:
del self.dict[var]["_remove"]
if ":append" in self.dict[var]:
del self.dict[var][":append"]
if ":prepend" in self.dict[var]:
del self.dict[var][":prepend"]
if ":remove" in self.dict[var]:
del self.dict[var][":remove"]
if var in self.overridedata:
active = []
self.need_overrides()
for (r, o) in self.overridedata[var]:
if o in self.overridesset:
active.append(r)
elif "_" in o:
if set(o.split("_")).issubset(self.overridesset):
elif ":" in o:
if set(o.split(":")).issubset(self.overridesset):
active.append(r)
for a in active:
self.delVar(a)
del self.overridedata[var]
# more cookies for the cookie monster
if '_' in var:
if ':' in var:
self._setvar_update_overrides(var, **loginfo)
# setting var
@@ -566,8 +637,8 @@ class DataSmart(MutableMapping):
def _setvar_update_overrides(self, var, **loginfo):
# aka pay the cookie monster
override = var[var.rfind('_')+1:]
shortvar = var[:var.rfind('_')]
override = var[var.rfind(':')+1:]
shortvar = var[:var.rfind(':')]
while override and __override_regexp__.match(override):
if shortvar not in self.overridedata:
self.overridedata[shortvar] = []
@@ -576,9 +647,9 @@ class DataSmart(MutableMapping):
self.overridedata[shortvar] = list(self.overridedata[shortvar])
self.overridedata[shortvar].append([var, override])
override = None
if "_" in shortvar:
override = var[shortvar.rfind('_')+1:]
shortvar = var[:shortvar.rfind('_')]
if ":" in shortvar:
override = var[shortvar.rfind(':')+1:]
shortvar = var[:shortvar.rfind(':')]
if len(shortvar) == 0:
override = None
@@ -602,10 +673,11 @@ class DataSmart(MutableMapping):
self.varhistory.record(**loginfo)
self.setVar(newkey, val, ignore=True, parsing=True)
for i in (__setvar_keyword__):
src = self.getVarFlag(key, i, False)
if src is None:
srcflags = self.getVarFlags(key, False, True) or {}
for i in srcflags:
if i not in (__setvar_keyword__):
continue
src = srcflags[i]
dest = self.getVarFlag(newkey, i, False) or []
dest.extend(src)
@@ -617,7 +689,7 @@ class DataSmart(MutableMapping):
self.overridedata[newkey].append([v.replace(key, newkey), o])
self.renameVar(v, v.replace(key, newkey))
if '_' in newkey and val is None:
if ':' in newkey and val is None:
self._setvar_update_overrides(newkey, **loginfo)
loginfo['variable'] = key
@@ -629,12 +701,12 @@ class DataSmart(MutableMapping):
def appendVar(self, var, value, **loginfo):
loginfo['op'] = 'append'
self.varhistory.record(**loginfo)
self.setVar(var + "_append", value, ignore=True, parsing=True)
self.setVar(var + ":append", value, ignore=True, parsing=True)
def prependVar(self, var, value, **loginfo):
loginfo['op'] = 'prepend'
self.varhistory.record(**loginfo)
self.setVar(var + "_prepend", value, ignore=True, parsing=True)
self.setVar(var + ":prepend", value, ignore=True, parsing=True)
def delVar(self, var, **loginfo):
self.expand_cache = {}
@@ -645,9 +717,9 @@ class DataSmart(MutableMapping):
self.dict[var] = {}
if var in self.overridedata:
del self.overridedata[var]
if '_' in var:
override = var[var.rfind('_')+1:]
shortvar = var[:var.rfind('_')]
if ':' in var:
override = var[var.rfind(':')+1:]
shortvar = var[:var.rfind(':')]
while override and override.islower():
try:
if shortvar in self.overridedata:
@@ -657,15 +729,23 @@ class DataSmart(MutableMapping):
except ValueError as e:
pass
override = None
if "_" in shortvar:
override = var[shortvar.rfind('_')+1:]
shortvar = var[:shortvar.rfind('_')]
if ":" in shortvar:
override = var[shortvar.rfind(':')+1:]
shortvar = var[:shortvar.rfind(':')]
if len(shortvar) == 0:
override = None
def setVarFlag(self, var, flag, value, **loginfo):
self.expand_cache = {}
if var == "BB_RENAMED_VARIABLES":
self._var_renames[flag] = value
if var in self._var_renames:
_print_rename_error(var, loginfo, self._var_renames)
# Mark that we have seen a renamed variable
self.setVar("_FAILPARSINGERRORHANDLED", True)
if 'op' not in loginfo:
loginfo['op'] = "set"
loginfo['flag'] = flag
@@ -674,7 +754,7 @@ class DataSmart(MutableMapping):
self._makeShadowCopy(var)
self.dict[var][flag] = value
if flag == "_defaultval" and '_' in var:
if flag == "_defaultval" and ':' in var:
self._setvar_update_overrides(var, **loginfo)
if flag == "_defaultval" and var in self.overridevars:
self._setvar_update_overridevars(var, value)
@@ -706,11 +786,11 @@ class DataSmart(MutableMapping):
active = {}
self.need_overrides()
for (r, o) in overridedata:
# What about double overrides both with "_" in the name?
# FIXME What about double overrides both with "_" in the name?
if o in self.overridesset:
active[o] = r
elif "_" in o:
if set(o.split("_")).issubset(self.overridesset):
elif ":" in o:
if set(o.split(":")).issubset(self.overridesset):
active[o] = r
mod = True
@@ -718,10 +798,10 @@ class DataSmart(MutableMapping):
mod = False
for o in self.overrides:
for a in active.copy():
if a.endswith("_" + o):
if a.endswith(":" + o):
t = active[a]
del active[a]
active[a.replace("_" + o, "")] = t
active[a.replace(":" + o, "")] = t
mod = True
elif a == o:
match = active[a]
@@ -740,31 +820,31 @@ class DataSmart(MutableMapping):
value = copy.copy(local_var["_defaultval"])
if flag == "_content" and local_var is not None and "_append" in local_var and not parsing:
if not value:
value = ""
if flag == "_content" and local_var is not None and ":append" in local_var and not parsing:
self.need_overrides()
for (r, o) in local_var["_append"]:
for (r, o) in local_var[":append"]:
match = True
if o:
for o2 in o.split("_"):
for o2 in o.split(":"):
if not o2 in self.overrides:
match = False
if match:
if value is None:
value = ""
value = value + r
if flag == "_content" and local_var is not None and "_prepend" in local_var and not parsing:
if not value:
value = ""
if flag == "_content" and local_var is not None and ":prepend" in local_var and not parsing:
self.need_overrides()
for (r, o) in local_var["_prepend"]:
for (r, o) in local_var[":prepend"]:
match = True
if o:
for o2 in o.split("_"):
for o2 in o.split(":"):
if not o2 in self.overrides:
match = False
if match:
if value is None:
value = ""
value = r + value
parser = None
@@ -773,12 +853,12 @@ class DataSmart(MutableMapping):
if expand:
value = parser.value
if value and flag == "_content" and local_var is not None and "_remove" in local_var and not parsing:
if value and flag == "_content" and local_var is not None and ":remove" in local_var and not parsing:
self.need_overrides()
for (r, o) in local_var["_remove"]:
for (r, o) in local_var[":remove"]:
match = True
if o:
for o2 in o.split("_"):
for o2 in o.split(":"):
if not o2 in self.overrides:
match = False
if match:
@@ -791,7 +871,7 @@ class DataSmart(MutableMapping):
expanded_removes[r] = self.expand(r).split()
parser.removes = set()
val = ""
val = []
for v in __whitespace_split__.split(parser.value):
skip = False
for r in removes:
@@ -800,8 +880,8 @@ class DataSmart(MutableMapping):
skip = True
if skip:
continue
val = val + v
parser.value = val
val.append(v)
parser.value = "".join(val)
if expand:
value = parser.value
@@ -864,7 +944,7 @@ class DataSmart(MutableMapping):
if local_var:
for i in local_var:
if i.startswith("_") and not internalflags:
if i.startswith(("_", ":")) and not internalflags:
continue
flags[i] = local_var[i]
if expand and i in expand:
@@ -905,6 +985,7 @@ class DataSmart(MutableMapping):
data.inchistory = self.inchistory.copy()
data._tracking = self._tracking
data._var_renames = self._var_renames
data.overrides = None
data.overridevars = copy.copy(self.overridevars)
@@ -927,7 +1008,7 @@ class DataSmart(MutableMapping):
value = self.getVar(variable, False)
for key in keys:
referrervalue = self.getVar(key, False)
if referrervalue and ref in referrervalue:
if referrervalue and isinstance(referrervalue, str) and ref in referrervalue:
self.setVar(key, referrervalue.replace(ref, value))
def localkeys(self):
@@ -962,8 +1043,8 @@ class DataSmart(MutableMapping):
for (r, o) in self.overridedata[var]:
if o in self.overridesset:
overrides.add(var)
elif "_" in o:
if set(o.split("_")).issubset(self.overridesset):
elif ":" in o:
if set(o.split(":")).issubset(self.overridesset):
overrides.add(var)
for k in keylist(self.dict):
@@ -993,10 +1074,10 @@ class DataSmart(MutableMapping):
d = self.createCopy()
bb.data.expandKeys(d)
config_whitelist = set((d.getVar("BB_HASHCONFIG_WHITELIST") or "").split())
config_ignore_vars = set((d.getVar("BB_HASHCONFIG_IGNORE_VARS") or "").split())
keys = set(key for key in iter(d) if not key.startswith("__"))
for key in keys:
if key in config_whitelist:
if key in config_ignore_vars:
continue
value = d.getVar(key, False) or ""

View File

@@ -40,7 +40,7 @@ class HeartbeatEvent(Event):
"""Triggered at regular time intervals of 10 seconds. Other events can fire much more often
(runQueueTaskStarted when there are many short tasks) or not at all for long periods
of time (again runQueueTaskStarted, when there is just one long-running task), so this
event is more suitable for doing some task-independent work occassionally."""
event is more suitable for doing some task-independent work occasionally."""
def __init__(self, time):
Event.__init__(self)
self.time = time
@@ -486,7 +486,7 @@ class BuildCompleted(BuildBase, OperationCompleted):
BuildBase.__init__(self, n, p, failures)
class DiskFull(Event):
"""Disk full case build aborted"""
"""Disk full case build halted"""
def __init__(self, dev, type, freespace, mountpoint):
Event.__init__(self)
self._dev = dev
@@ -764,7 +764,7 @@ class LogHandler(logging.Handler):
class MetadataEvent(Event):
"""
Generic event that target for OE-Core classes
to report information during asynchrous execution
to report information during asynchronous execution
"""
def __init__(self, eventtype, eventdata):
Event.__init__(self)

View File

@@ -0,0 +1,57 @@
There are expectations of users of the fetcher code. This file attempts to document
some of the constraints that are present. Some are obvious, some are less so. It is
documented in the context of how OE uses it but the API calls are generic.
a) network access for sources is only expected to happen in the do_fetch task.
This is not enforced or tested but is required so that we can:
i) audit the sources used (i.e. for license/manifest reasons)
ii) support offline builds with a suitable cache
iii) allow work to continue even with downtime upstream
iv) allow for changes upstream in incompatible ways
v) allow rebuilding of the software in X years time
b) network access is not expected in do_unpack task.
c) you can take DL_DIR and use it as a mirror for offline builds.
d) access to the network is only made when explicitly configured in recipes
(e.g. use of AUTOREV, or use of git tags which change revision).
e) fetcher output is deterministic (i.e. if you fetch configuration XXX now it
will match in future exactly in a clean build with a new DL_DIR).
One specific pain point example are git tags. They can be replaced and change
so the git fetcher has to resolve them with the network. We use git revisions
where possible to avoid this and ensure determinism.
f) network access is expected to work with the standard linux proxy variables
so that access behind firewalls works (the fetcher sets these in the
environment but only in the do_fetch tasks).
g) access during parsing has to be minimal, a "git ls-remote" for an AUTOREV
git recipe might be ok but you can't expect to checkout a git tree.
h) we need to provide revision information during parsing such that a version
for the recipe can be constructed.
i) versions are expected to be able to increase in a way which sorts allowing
package feeds to operate (see PR server required for git revisions to sort).
j) API to query for possible version upgrades of a url is highly desireable to
allow our automated upgrage code to function (it is implied this does always
have network access).
k) Where fixes or changes to behaviour in the fetcher are made, we ask that
test cases are added (run with "bitbake-selftest bb.tests.fetch"). We do
have fairly extensive test coverage of the fetcher as it is the only way
to track all of its corner cases, it still doesn't give entire coverage
though sadly.
l) If using tools during parse time, they will have to be in ASSUME_PROVIDED
in OE's context as we can't build git-native, then parse a recipe and use
git ls-remote.
Not all fetchers support all features, autorev is optional and doesn't make
sense for some. Upgrade detection means different things in different contexts
too.

View File

@@ -113,7 +113,7 @@ class MissingParameterError(BBFetchException):
self.args = (missing, url)
class ParameterError(BBFetchException):
"""Exception raised when a url cannot be proccessed due to invalid parameters."""
"""Exception raised when a url cannot be processed due to invalid parameters."""
def __init__(self, message, url):
msg = "URL: '%s' has invalid parameters. %s" % (url, message)
self.url = url
@@ -182,7 +182,7 @@ class URI(object):
Some notes about relative URIs: while it's specified that
a URI beginning with <scheme>:// should either be directly
followed by a hostname or a /, the old URI handling of the
fetch2 library did not comform to this. Therefore, this URI
fetch2 library did not conform to this. Therefore, this URI
class has some kludges to make sure that URIs are parsed in
a way comforming to bitbake's current usage. This URI class
supports the following:
@@ -199,7 +199,7 @@ class URI(object):
file://hostname/absolute/path.diff (would be IETF compliant)
Note that the last case only applies to a list of
"whitelisted" schemes (currently only file://), that requires
explicitly allowed schemes (currently only file://), that requires
its URIs to not have a network location.
"""
@@ -402,24 +402,24 @@ def encodeurl(decoded):
if not type:
raise MissingParameterError('type', "encoded from the data %s" % str(decoded))
url = '%s://' % type
url = ['%s://' % type]
if user and type != "file":
url += "%s" % user
url.append("%s" % user)
if pswd:
url += ":%s" % pswd
url += "@"
url.append(":%s" % pswd)
url.append("@")
if host and type != "file":
url += "%s" % host
url.append("%s" % host)
if path:
# Standardise path to ensure comparisons work
while '//' in path:
path = path.replace("//", "/")
url += "%s" % urllib.parse.quote(path)
url.append("%s" % urllib.parse.quote(path))
if p:
for parm in p:
url += ";%s=%s" % (parm, p[parm])
url.append(";%s=%s" % (parm, p[parm]))
return url
return "".join(url)
def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
if not ud.url or not uri_find or not uri_replace:
@@ -430,6 +430,7 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
uri_replace_decoded = list(decodeurl(uri_replace))
logger.debug2("For url %s comparing %s to %s" % (uri_decoded, uri_find_decoded, uri_replace_decoded))
result_decoded = ['', '', '', '', '', {}]
# 0 - type, 1 - host, 2 - path, 3 - user, 4- pswd, 5 - params
for loc, i in enumerate(uri_find_decoded):
result_decoded[loc] = uri_decoded[loc]
regexp = i
@@ -449,6 +450,9 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
for l in replacements:
uri_replace_decoded[loc][k] = uri_replace_decoded[loc][k].replace(l, replacements[l])
result_decoded[loc][k] = uri_replace_decoded[loc][k]
elif (loc == 3 or loc == 4) and uri_replace_decoded[loc]:
# User/password in the replacement is just a straight replacement
result_decoded[loc] = uri_replace_decoded[loc]
elif (re.match(regexp, uri_decoded[loc])):
if not uri_replace_decoded[loc]:
result_decoded[loc] = ""
@@ -467,8 +471,15 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
uri_decoded[5] = {}
elif ud.localpath and ud.method.supports_checksum(ud):
basename = os.path.basename(ud.localpath)
if basename and not result_decoded[loc].endswith(basename):
result_decoded[loc] = os.path.join(result_decoded[loc], basename)
if basename:
uri_basename = os.path.basename(uri_decoded[loc])
# Prefix with a slash as a sentinel in case
# result_decoded[loc] does not contain one.
path = "/" + result_decoded[loc]
if uri_basename and basename != uri_basename and path.endswith("/" + uri_basename):
result_decoded[loc] = path[1:-len(uri_basename)] + basename
elif not path.endswith("/" + basename):
result_decoded[loc] = os.path.join(path[1:], basename)
else:
return None
result = encodeurl(result_decoded)
@@ -562,6 +573,9 @@ def verify_checksum(ud, d, precomputed={}):
checksum_expected = getattr(ud, "%s_expected" % checksum_id)
if checksum_expected == '':
checksum_expected = None
return {
"id": checksum_id,
"name": checksum_name,
@@ -612,7 +626,7 @@ def verify_checksum(ud, d, precomputed={}):
for ci in checksum_infos:
if ci["expected"] and ci["expected"] != ci["data"]:
messages.append("File: '%s' has %s checksum %s when %s was " \
messages.append("File: '%s' has %s checksum '%s' when '%s' was " \
"expected" % (ud.localpath, ci["id"], ci["data"], ci["expected"]))
bad_checksum = ci["data"]
@@ -751,6 +765,12 @@ def get_srcrev(d, method_name='sortable_revision'):
that fetcher provides a method with the given name and the same signature as sortable_revision.
"""
d.setVar("__BBSEENSRCREV", "1")
recursion = d.getVar("__BBINSRCREV")
if recursion:
raise FetchError("There are recursive references in fetcher variables, likely through SRC_URI")
d.setVar("__BBINSRCREV", True)
scms = []
fetcher = Fetch(d.getVar('SRC_URI').split(), d)
urldata = fetcher.ud
@@ -758,13 +778,14 @@ def get_srcrev(d, method_name='sortable_revision'):
if urldata[u].method.supports_srcrev():
scms.append(u)
if len(scms) == 0:
if not scms:
raise FetchError("SRCREV was used yet no valid SCM was found in SRC_URI")
if len(scms) == 1 and len(urldata[scms[0]].names) == 1:
autoinc, rev = getattr(urldata[scms[0]].method, method_name)(urldata[scms[0]], d, urldata[scms[0]].names[0])
if len(rev) > 10:
rev = rev[:10]
d.delVar("__BBINSRCREV")
if autoinc:
return "AUTOINC+" + rev
return rev
@@ -799,12 +820,49 @@ def get_srcrev(d, method_name='sortable_revision'):
if seenautoinc:
format = "AUTOINC+" + format
d.delVar("__BBINSRCREV")
return format
def localpath(url, d):
fetcher = bb.fetch2.Fetch([url], d)
return fetcher.localpath(url)
# Need to export PATH as binary could be in metadata paths
# rather than host provided
# Also include some other variables.
FETCH_EXPORT_VARS = ['HOME', 'PATH',
'HTTP_PROXY', 'http_proxy',
'HTTPS_PROXY', 'https_proxy',
'FTP_PROXY', 'ftp_proxy',
'FTPS_PROXY', 'ftps_proxy',
'NO_PROXY', 'no_proxy',
'ALL_PROXY', 'all_proxy',
'GIT_PROXY_COMMAND',
'GIT_SSH',
'GIT_SSH_COMMAND',
'GIT_SSL_CAINFO',
'GIT_SMART_HTTP',
'SSH_AUTH_SOCK', 'SSH_AGENT_PID',
'SOCKS5_USER', 'SOCKS5_PASSWD',
'DBUS_SESSION_BUS_ADDRESS',
'P4CONFIG',
'SSL_CERT_FILE',
'AWS_PROFILE',
'AWS_ACCESS_KEY_ID',
'AWS_SECRET_ACCESS_KEY',
'AWS_DEFAULT_REGION']
def get_fetcher_environment(d):
newenv = {}
origenv = d.getVar("BB_ORIGENV")
for name in bb.fetch2.FETCH_EXPORT_VARS:
value = d.getVar(name)
if not value and origenv:
value = origenv.getVar(name)
if value:
newenv[name] = value
return newenv
def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
"""
Run cmd returning the command output
@@ -813,25 +871,7 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
Optionally remove the files/directories listed in cleanup upon failure
"""
# Need to export PATH as binary could be in metadata paths
# rather than host provided
# Also include some other variables.
# FIXME: Should really include all export varaiables?
exportvars = ['HOME', 'PATH',
'HTTP_PROXY', 'http_proxy',
'HTTPS_PROXY', 'https_proxy',
'FTP_PROXY', 'ftp_proxy',
'FTPS_PROXY', 'ftps_proxy',
'NO_PROXY', 'no_proxy',
'ALL_PROXY', 'all_proxy',
'GIT_PROXY_COMMAND',
'GIT_SSH',
'GIT_SSL_CAINFO',
'GIT_SMART_HTTP',
'SSH_AUTH_SOCK', 'SSH_AGENT_PID',
'SOCKS5_USER', 'SOCKS5_PASSWD',
'DBUS_SESSION_BUS_ADDRESS',
'P4CONFIG']
exportvars = FETCH_EXPORT_VARS
if not cleanup:
cleanup = []
@@ -868,7 +908,7 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
(output, errors) = bb.process.run(cmd, log=log, shell=True, stderr=subprocess.PIPE, cwd=workdir)
success = True
except bb.process.NotFoundError as e:
error_message = "Fetch command %s" % (e.command)
error_message = "Fetch command %s not found" % (e.command)
except bb.process.ExecutionError as e:
if e.stdout:
output = "output:\n%s\n%s" % (e.stdout, e.stderr)
@@ -1140,11 +1180,11 @@ def srcrev_internal_helper(ud, d, name):
pn = d.getVar("PN")
attempts = []
if name != '' and pn:
attempts.append("SRCREV_%s_pn-%s" % (name, pn))
attempts.append("SRCREV_%s:pn-%s" % (name, pn))
if name != '':
attempts.append("SRCREV_%s" % name)
if pn:
attempts.append("SRCREV_pn-%s" % pn)
attempts.append("SRCREV:pn-%s" % pn)
attempts.append("SRCREV")
for a in attempts:
@@ -1434,30 +1474,33 @@ class FetchMethod(object):
cmd = None
if unpack:
tar_cmd = 'tar --extract --no-same-owner'
if 'striplevel' in urldata.parm:
tar_cmd += ' --strip-components=%s' % urldata.parm['striplevel']
if file.endswith('.tar'):
cmd = 'tar x --no-same-owner -f %s' % file
cmd = '%s -f %s' % (tar_cmd, file)
elif file.endswith('.tgz') or file.endswith('.tar.gz') or file.endswith('.tar.Z'):
cmd = 'tar xz --no-same-owner -f %s' % file
cmd = '%s -z -f %s' % (tar_cmd, file)
elif file.endswith('.tbz') or file.endswith('.tbz2') or file.endswith('.tar.bz2'):
cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file
cmd = 'bzip2 -dc %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.gz') or file.endswith('.Z') or file.endswith('.z'):
cmd = 'gzip -dc %s > %s' % (file, efile)
elif file.endswith('.bz2'):
cmd = 'bzip2 -dc %s > %s' % (file, efile)
elif file.endswith('.txz') or file.endswith('.tar.xz'):
cmd = 'xz -dc %s | tar x --no-same-owner -f -' % file
cmd = 'xz -dc %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.xz'):
cmd = 'xz -dc %s > %s' % (file, efile)
elif file.endswith('.tar.lz'):
cmd = 'lzip -dc %s | tar x --no-same-owner -f -' % file
cmd = 'lzip -dc %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.lz'):
cmd = 'lzip -dc %s > %s' % (file, efile)
elif file.endswith('.tar.7z'):
cmd = '7z x -so %s | tar x --no-same-owner -f -' % file
cmd = '7z x -so %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.7z'):
cmd = '7za x -y %s 1>/dev/null' % file
elif file.endswith('.tzst') or file.endswith('.tar.zst'):
cmd = 'zstd --decompress --stdout %s | tar x --no-same-owner -f -' % file
cmd = 'zstd --decompress --stdout %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.zst'):
cmd = 'zstd --decompress --stdout %s > %s' % (file, efile)
elif file.endswith('.zip') or file.endswith('.jar'):
@@ -1490,7 +1533,7 @@ class FetchMethod(object):
raise UnpackError("Unable to unpack deb/ipk package - does not contain data.tar.* file", urldata.url)
else:
raise UnpackError("Unable to unpack deb/ipk package - could not list contents", urldata.url)
cmd = 'ar x %s %s && tar --no-same-owner -xpf %s && rm %s' % (file, datafile, datafile, datafile)
cmd = 'ar x %s %s && %s -p -f %s && rm %s' % (file, datafile, tar_cmd, datafile, datafile)
# If 'subdir' param exists, create a dir and use it as destination for unpack cmd
if 'subdir' in urldata.parm:
@@ -1616,7 +1659,7 @@ class Fetch(object):
if localonly and cache:
raise Exception("bb.fetch2.Fetch.__init__: cannot set cache and localonly at same time")
if len(urls) == 0:
if not urls:
urls = d.getVar("SRC_URI").split()
self.urls = urls
self.d = d
@@ -1705,7 +1748,9 @@ class Fetch(object):
self.d.setVar("BB_NO_NETWORK", "1")
firsterr = None
verified_stamp = m.verify_donestamp(ud, self.d)
verified_stamp = False
if done:
verified_stamp = m.verify_donestamp(ud, self.d)
if not done and (not verified_stamp or m.need_update(ud, self.d)):
try:
if not trusted_network(self.d, ud.url):
@@ -1764,7 +1809,11 @@ class Fetch(object):
def checkstatus(self, urls=None):
"""
Check all urls exist upstream
Check all URLs exist upstream.
Returns None if the URLs exist, raises FetchError if the check wasn't
successful but there wasn't an error (such as file not found), and
raises other exceptions in error cases.
"""
if not urls:
@@ -1909,6 +1958,7 @@ from . import clearcase
from . import npm
from . import npmsw
from . import az
from . import crate
methods.append(local.Local())
methods.append(wget.Wget())
@@ -1929,3 +1979,4 @@ methods.append(clearcase.ClearCase())
methods.append(npm.Npm())
methods.append(npmsw.NpmShrinkWrap())
methods.append(az.Az())
methods.append(crate.Crate())

View File

@@ -0,0 +1,136 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementation for crates.io
"""
# Copyright (C) 2016 Doug Goldstein
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import hashlib
import json
import os
import subprocess
import bb
from bb.fetch2 import logger, subprocess_setup, UnpackError
from bb.fetch2.wget import Wget
class Crate(Wget):
"""Class to fetch crates via wget"""
def _cargo_bitbake_path(self, rootdir):
return os.path.join(rootdir, "cargo_home", "bitbake")
def supports(self, ud, d):
"""
Check to see if a given url is for this fetcher
"""
return ud.type in ['crate']
def recommends_checksum(self, urldata):
return False
def urldata_init(self, ud, d):
"""
Sets up to download the respective crate from crates.io
"""
if ud.type == 'crate':
self._crate_urldata_init(ud, d)
super(Crate, self).urldata_init(ud, d)
def _crate_urldata_init(self, ud, d):
"""
Sets up the download for a crate
"""
# URL syntax is: crate://NAME/VERSION
# break the URL apart by /
parts = ud.url.split('/')
if len(parts) < 5:
raise bb.fetch2.ParameterError("Invalid URL: Must be crate://HOST/NAME/VERSION", ud.url)
# last field is version
version = parts[len(parts) - 1]
# second to last field is name
name = parts[len(parts) - 2]
# host (this is to allow custom crate registries to be specified
host = '/'.join(parts[2:len(parts) - 2])
# if using upstream just fix it up nicely
if host == 'crates.io':
host = 'crates.io/api/v1/crates'
ud.url = "https://%s/%s/%s/download" % (host, name, version)
ud.parm['downloadfilename'] = "%s-%s.crate" % (name, version)
ud.parm['name'] = name
logger.debug("Fetching %s to %s" % (ud.url, ud.parm['downloadfilename']))
def unpack(self, ud, rootdir, d):
"""
Uses the crate to build the necessary paths for cargo to utilize it
"""
if ud.type == 'crate':
return self._crate_unpack(ud, rootdir, d)
else:
super(Crate, self).unpack(ud, rootdir, d)
def _crate_unpack(self, ud, rootdir, d):
"""
Unpacks a crate
"""
thefile = ud.localpath
# possible metadata we need to write out
metadata = {}
# change to the rootdir to unpack but save the old working dir
save_cwd = os.getcwd()
os.chdir(rootdir)
pn = d.getVar('BPN')
if pn == ud.parm.get('name'):
cmd = "tar -xz --no-same-owner -f %s" % thefile
else:
cargo_bitbake = self._cargo_bitbake_path(rootdir)
cmd = "tar -xz --no-same-owner -f %s -C %s" % (thefile, cargo_bitbake)
# ensure we've got these paths made
bb.utils.mkdirhier(cargo_bitbake)
# generate metadata necessary
with open(thefile, 'rb') as f:
# get the SHA256 of the original tarball
tarhash = hashlib.sha256(f.read()).hexdigest()
metadata['files'] = {}
metadata['package'] = tarhash
path = d.getVar('PATH')
if path:
cmd = "PATH=\"%s\" %s" % (path, cmd)
bb.note("Unpacking %s to %s/" % (thefile, os.getcwd()))
ret = subprocess.call(cmd, preexec_fn=subprocess_setup, shell=True)
os.chdir(save_cwd)
if ret != 0:
raise UnpackError("Unpack command %s failed with return value %s" % (cmd, ret), ud.url)
# if we have metadata to write out..
if len(metadata) > 0:
cratepath = os.path.splitext(os.path.basename(thefile))[0]
bbpath = self._cargo_bitbake_path(rootdir)
mdfile = '.cargo-checksum.json'
mdpath = os.path.join(bbpath, cratepath, mdfile)
with open(mdpath, "w") as f:
json.dump(metadata, f)

View File

@@ -68,6 +68,7 @@ import subprocess
import tempfile
import bb
import bb.progress
from contextlib import contextmanager
from bb.fetch2 import FetchMethod
from bb.fetch2 import runfetchcmd
from bb.fetch2 import logger
@@ -141,6 +142,11 @@ class Git(FetchMethod):
ud.proto = 'file'
else:
ud.proto = "git"
if ud.host == "github.com" and ud.proto == "git":
# github stopped supporting git protocol
# https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
ud.proto = "https"
bb.warn("URL: %s uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url." % ud.url)
if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'):
raise bb.fetch2.ParameterError("Invalid protocol type", ud.url)
@@ -164,11 +170,18 @@ class Git(FetchMethod):
ud.nocheckout = 1
ud.unresolvedrev = {}
branches = ud.parm.get("branch", "master").split(',')
branches = ud.parm.get("branch", "").split(',')
if branches == [""] and not ud.nobranch:
bb.warn("URL: %s does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls." % ud.url)
branches = ["master"]
if len(branches) != len(ud.names):
raise bb.fetch2.ParameterError("The number of name and branch parameters is not balanced", ud.url)
ud.cloneflags = "-s -n"
ud.noshared = d.getVar("BB_GIT_NOSHARED") == "1"
ud.cloneflags = "-n"
if not ud.noshared:
ud.cloneflags += " -s"
if ud.bareclone:
ud.cloneflags += " --mirror"
@@ -227,7 +240,7 @@ class Git(FetchMethod):
for name in ud.names:
ud.unresolvedrev[name] = 'HEAD'
ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0"
ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat"
write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0"
ud.write_tarballs = write_tarballs != "0" or ud.rebaseable
@@ -386,7 +399,7 @@ class Git(FetchMethod):
if self._contains_lfs(ud, d, ud.clonedir) and self._need_lfs(ud):
# Unpack temporary working copy, use it to run 'git checkout' to force pre-fetching
# of all LFS blobs needed at the the srcrev.
# of all LFS blobs needed at the srcrev.
#
# It would be nice to just do this inline here by running 'git-lfs fetch'
# on the bare clonedir, but that operation requires a working copy on some
@@ -394,7 +407,7 @@ class Git(FetchMethod):
tmpdir = tempfile.mkdtemp(dir=d.getVar('DL_DIR'))
try:
# Do the checkout. This implicitly involves a Git LFS fetch.
self.unpack(ud, tmpdir, d)
Git.unpack(self, ud, tmpdir, d)
# Scoop up a copy of any stuff that Git LFS downloaded. Merge them into
# the bare clonedir.
@@ -414,6 +427,20 @@ class Git(FetchMethod):
bb.utils.remove(tmpdir, recurse=True)
def build_mirror_data(self, ud, d):
# Create as a temp file and move atomically into position to avoid races
@contextmanager
def create_atomic(filename):
fd, tfile = tempfile.mkstemp(dir=os.path.dirname(filename))
try:
yield tfile
umask = os.umask(0o666)
os.umask(umask)
os.chmod(tfile, (0o666 & ~umask))
os.rename(tfile, filename)
finally:
os.close(fd)
if ud.shallow and ud.write_shallow_tarballs:
if not os.path.exists(ud.fullshallow):
if os.path.islink(ud.fullshallow):
@@ -424,7 +451,8 @@ class Git(FetchMethod):
self.clone_shallow_local(ud, shallowclone, d)
logger.info("Creating tarball of git repository")
runfetchcmd("tar -czf %s ." % ud.fullshallow, d, workdir=shallowclone)
with create_atomic(ud.fullshallow) as tfile:
runfetchcmd("tar -czf %s ." % tfile, d, workdir=shallowclone)
runfetchcmd("touch %s.done" % ud.fullshallow, d)
finally:
bb.utils.remove(tempdir, recurse=True)
@@ -433,7 +461,11 @@ class Git(FetchMethod):
os.unlink(ud.fullmirror)
logger.info("Creating tarball of git repository")
runfetchcmd("tar -czf %s ." % ud.fullmirror, d, workdir=ud.clonedir)
with create_atomic(ud.fullmirror) as tfile:
mtime = runfetchcmd("git log --all -1 --format=%cD", d,
quiet=True, workdir=ud.clonedir)
runfetchcmd("tar -czf %s --owner oe:0 --group oe:0 --mtime \"%s\" ."
% (tfile, mtime), d, workdir=ud.clonedir)
runfetchcmd("touch %s.done" % ud.fullmirror, d)
def clone_shallow_local(self, ud, dest, d):
@@ -495,13 +527,24 @@ class Git(FetchMethod):
def unpack(self, ud, destdir, d):
""" unpack the downloaded src to destdir"""
subdir = ud.parm.get("subpath", "")
if subdir != "":
readpathspec = ":%s" % subdir
def_destsuffix = "%s/" % os.path.basename(subdir.rstrip('/'))
else:
readpathspec = ""
def_destsuffix = "git/"
subdir = ud.parm.get("subdir")
subpath = ud.parm.get("subpath")
readpathspec = ""
def_destsuffix = "git/"
if subpath:
readpathspec = ":%s" % subpath
def_destsuffix = "%s/" % os.path.basename(subpath.rstrip('/'))
if subdir:
# If 'subdir' param exists, create a dir and use it as destination for unpack cmd
if os.path.isabs(subdir):
if not os.path.realpath(subdir).startswith(os.path.realpath(destdir)):
raise bb.fetch2.UnpackError("subdir argument isn't a subdirectory of unpack root %s" % destdir, ud.url)
destdir = subdir
else:
destdir = os.path.join(destdir, subdir)
def_destsuffix = ""
destsuffix = ud.parm.get("destsuffix", def_destsuffix)
destdir = ud.destdir = os.path.join(destdir, destsuffix)
@@ -548,7 +591,7 @@ class Git(FetchMethod):
bb.note("Repository %s has LFS content but it is not being fetched" % (repourl))
if not ud.nocheckout:
if subdir != "":
if subpath:
runfetchcmd("%s read-tree %s%s" % (ud.basecmd, ud.revisions[ud.names[0]], readpathspec), d,
workdir=destdir)
runfetchcmd("%s checkout-index -q -f -a" % ud.basecmd, d, workdir=destdir)
@@ -687,6 +730,12 @@ class Git(FetchMethod):
"""
Compute the HEAD revision for the url
"""
if not d.getVar("__BBSEENSRCREV"):
raise bb.fetch2.FetchError("Recipe uses a floating tag/branch without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).")
# Ensure we mark as not cached
bb.fetch2.get_autorev(d)
output = self._lsremote(ud, d, "")
# Tags of the form ^{} may not work, need to fallback to other form
if ud.unresolvedrev[name][:5] == "refs/" or ud.usehead:

View File

@@ -140,16 +140,6 @@ class GitSM(Git):
if Git.need_update(self, ud, d):
return True
try:
# Check for the nugget dropped by the download operation
known_srcrevs = runfetchcmd("%s config --get-all bitbake.srcrev" % \
(ud.basecmd), d, workdir=ud.clonedir)
if ud.revisions[ud.names[0]] in known_srcrevs.split():
return False
except bb.fetch2.FetchError:
pass
need_update_list = []
def need_update_submodule(ud, url, module, modpath, workdir, d):
url += ";bareclone=1;nobranch=1"
@@ -172,13 +162,8 @@ class GitSM(Git):
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, need_update_submodule, d)
if len(need_update_list) == 0:
# We already have the required commits of all submodules. Drop
# a nugget so we don't need to check again.
runfetchcmd("%s config --add bitbake.srcrev %s" % \
(ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=ud.clonedir)
if len(need_update_list) > 0:
if need_update_list:
logger.debug('gitsm: Submodules requiring update: %s' % (' '.join(need_update_list)))
return True
@@ -209,9 +194,6 @@ class GitSM(Git):
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, download_submodule, d)
# Drop a nugget for the srcrev we've fetched (used by need_update)
runfetchcmd("%s config --add bitbake.srcrev %s" % \
(ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=ud.clonedir)
def unpack(self, ud, destdir, d):
def unpack_submodules(ud, url, module, modpath, workdir, d):

View File

@@ -52,9 +52,13 @@ def npm_filename(package, version):
"""Get the filename of a npm package"""
return npm_package(package) + "-" + version + ".tgz"
def npm_localfile(package, version):
def npm_localfile(package, version=None):
"""Get the local filename of a npm package"""
return os.path.join("npm2", npm_filename(package, version))
if version is not None:
filename = npm_filename(package, version)
else:
filename = package
return os.path.join("npm2", filename)
def npm_integrity(integrity):
"""
@@ -69,17 +73,31 @@ def npm_unpack(tarball, destdir, d):
bb.utils.mkdirhier(destdir)
cmd = "tar --extract --gzip --file=%s" % shlex.quote(tarball)
cmd += " --no-same-owner"
cmd += " --delay-directory-restore"
cmd += " --strip-components=1"
runfetchcmd(cmd, d, workdir=destdir)
runfetchcmd("chmod -R +X '%s'" % (destdir), d, quiet=True, workdir=destdir)
class NpmEnvironment(object):
"""
Using a npm config file seems more reliable than using cli arguments.
This class allows to create a controlled environment for npm commands.
"""
def __init__(self, d, configs=None):
def __init__(self, d, configs=[], npmrc=None):
self.d = d
self.configs = configs
self.user_config = tempfile.NamedTemporaryFile(mode="w", buffering=1)
for key, value in configs:
self.user_config.write("%s=%s\n" % (key, value))
if npmrc:
self.global_config_name = npmrc
else:
self.global_config_name = "/dev/null"
def __del__(self):
if self.user_config:
self.user_config.close()
def run(self, cmd, args=None, configs=None, workdir=None):
"""Run npm command in a controlled environment"""
@@ -87,23 +105,19 @@ class NpmEnvironment(object):
d = bb.data.createCopy(self.d)
d.setVar("HOME", tmpdir)
cfgfile = os.path.join(tmpdir, "npmrc")
if not workdir:
workdir = tmpdir
def _run(cmd):
cmd = "NPM_CONFIG_USERCONFIG=%s " % cfgfile + cmd
cmd = "NPM_CONFIG_GLOBALCONFIG=%s " % cfgfile + cmd
cmd = "NPM_CONFIG_USERCONFIG=%s " % (self.user_config.name) + cmd
cmd = "NPM_CONFIG_GLOBALCONFIG=%s " % (self.global_config_name) + cmd
return runfetchcmd(cmd, d, workdir=workdir)
if self.configs:
for key, value in self.configs:
_run("npm config set %s %s" % (key, shlex.quote(value)))
if configs:
bb.warn("Use of configs argument of NpmEnvironment.run() function"
" is deprecated. Please use args argument instead.")
for key, value in configs:
_run("npm config set %s %s" % (key, shlex.quote(value)))
cmd += " --%s=%s" % (key, shlex.quote(value))
if args:
for key, value in args:
@@ -147,7 +161,7 @@ class Npm(FetchMethod):
# Using the 'downloadfilename' parameter as local filename
# or the npm package name.
if "downloadfilename" in ud.parm:
ud.localfile = d.expand(ud.parm["downloadfilename"])
ud.localfile = npm_localfile(d.expand(ud.parm["downloadfilename"]))
else:
ud.localfile = npm_localfile(ud.package, ud.version)
@@ -165,14 +179,14 @@ class Npm(FetchMethod):
def _resolve_proxy_url(self, ud, d):
def _npm_view():
configs = []
configs.append(("json", "true"))
configs.append(("registry", ud.registry))
args = []
args.append(("json", "true"))
args.append(("registry", ud.registry))
pkgver = shlex.quote(ud.package + "@" + ud.version)
cmd = ud.basecmd + " view %s" % pkgver
env = NpmEnvironment(d)
check_network_access(d, cmd, ud.registry)
view_string = env.run(cmd, configs=configs)
view_string = env.run(cmd, args=args)
if not view_string:
raise FetchError("Unavailable package %s" % pkgver, ud.url)

View File

@@ -24,11 +24,14 @@ import bb
from bb.fetch2 import Fetch
from bb.fetch2 import FetchMethod
from bb.fetch2 import ParameterError
from bb.fetch2 import runfetchcmd
from bb.fetch2 import URI
from bb.fetch2.npm import npm_integrity
from bb.fetch2.npm import npm_localfile
from bb.fetch2.npm import npm_unpack
from bb.utils import is_semver
from bb.utils import lockfile
from bb.utils import unlockfile
def foreach_dependencies(shrinkwrap, callback=None, dev=False):
"""
@@ -78,13 +81,18 @@ class NpmShrinkWrap(FetchMethod):
extrapaths = []
destsubdirs = [os.path.join("node_modules", dep) for dep in deptree]
destsuffix = os.path.join(*destsubdirs)
unpack = True
integrity = params.get("integrity", None)
resolved = params.get("resolved", None)
version = params.get("version", None)
# Handle registry sources
if is_semver(version) and resolved and integrity:
if is_semver(version) and integrity:
# Handle duplicate dependencies without url
if not resolved:
return
localfile = npm_localfile(name, version)
uri = URI(resolved)
@@ -109,7 +117,7 @@ class NpmShrinkWrap(FetchMethod):
# Handle http tarball sources
elif version.startswith("http") and integrity:
localfile = os.path.join("npm2", os.path.basename(version))
localfile = npm_localfile(os.path.basename(version))
uri = URI(version)
uri.params["downloadfilename"] = localfile
@@ -123,6 +131,8 @@ class NpmShrinkWrap(FetchMethod):
# Handle git sources
elif version.startswith("git"):
if version.startswith("github:"):
version = "git+https://github.com/" + version[len("github:"):]
regex = re.compile(r"""
^
git\+
@@ -148,7 +158,12 @@ class NpmShrinkWrap(FetchMethod):
url = str(uri)
# local tarball sources and local link sources are unsupported
# Handle local tarball and link sources
elif version.startswith("file"):
localpath = version[5:]
if not version.endswith(".tgz"):
unpack = False
else:
raise ParameterError("Unsupported dependency: %s" % name, ud.url)
@@ -157,6 +172,7 @@ class NpmShrinkWrap(FetchMethod):
"localpath": localpath,
"extrapaths": extrapaths,
"destsuffix": destsuffix,
"unpack": unpack,
})
try:
@@ -177,7 +193,7 @@ class NpmShrinkWrap(FetchMethod):
# This fetcher resolves multiple URIs from a shrinkwrap file and then
# forwards it to a proxy fetcher. The management of the donestamp file,
# the lockfile and the checksums are forwarded to the proxy fetcher.
ud.proxy = Fetch([dep["url"] for dep in ud.deps], data)
ud.proxy = Fetch([dep["url"] for dep in ud.deps if dep["url"]], data)
ud.needdonestamp = False
@staticmethod
@@ -187,7 +203,9 @@ class NpmShrinkWrap(FetchMethod):
proxy_ud = ud.proxy.ud[proxy_url]
proxy_d = ud.proxy.d
proxy_ud.setup_localpath(proxy_d)
lf = lockfile(proxy_ud.lockfile)
returns.append(handle(proxy_ud.method, proxy_ud, proxy_d))
unlockfile(lf)
return returns
def verify_donestamp(self, ud, d):
@@ -237,7 +255,16 @@ class NpmShrinkWrap(FetchMethod):
for dep in manual:
depdestdir = os.path.join(destdir, dep["destsuffix"])
npm_unpack(dep["localpath"], depdestdir, d)
if dep["url"]:
npm_unpack(dep["localpath"], depdestdir, d)
else:
depsrcdir= os.path.join(destdir, dep["localpath"])
if dep["unpack"]:
npm_unpack(depsrcdir, depdestdir, d)
else:
bb.utils.mkdirhier(depdestdir)
cmd = 'cp -fpPRH "%s/." .' % (depsrcdir)
runfetchcmd(cmd, d, workdir=depdestdir)
def clean(self, ud, d):
"""Clean any existing full or partial download"""

View File

@@ -43,7 +43,7 @@ class Osc(FetchMethod):
ud.revision = ud.parm['rev']
else:
pv = d.getVar("PV", False)
rev = bb.fetch2.srcrev_internal_helper(ud, d)
rev = bb.fetch2.srcrev_internal_helper(ud, d, '')
if rev:
ud.revision = rev
else:

View File

@@ -134,7 +134,7 @@ class Perforce(FetchMethod):
ud.setup_revisions(d)
ud.localfile = d.expand('%s_%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, cleandedmodule, ud.revision))
ud.localfile = d.expand('%s_%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, cleanedmodule, ud.revision))
def _buildp4command(self, ud, d, command, depot_filename=None):
"""

View File

@@ -18,10 +18,47 @@ The aws tool must be correctly installed and configured prior to use.
import os
import bb
import urllib.request, urllib.parse, urllib.error
import re
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import runfetchcmd
def convertToBytes(value, unit):
value = float(value)
if (unit == "KiB"):
value = value*1024.0;
elif (unit == "MiB"):
value = value*1024.0*1024.0;
elif (unit == "GiB"):
value = value*1024.0*1024.0*1024.0;
return value
class S3ProgressHandler(bb.progress.LineFilterProgressHandler):
"""
Extract progress information from s3 cp output, e.g.:
Completed 5.1 KiB/8.8 GiB (12.0 MiB/s) with 1 file(s) remaining
"""
def __init__(self, d):
super(S3ProgressHandler, self).__init__(d)
# Send an initial progress event so the bar gets shown
self._fire_progress(0)
def writeline(self, line):
percs = re.findall(r'^Completed (\d+.{0,1}\d*) (\w+)\/(\d+.{0,1}\d*) (\w+) (\(.+\)) with\s+', line)
if percs:
completed = (percs[-1][0])
completedUnit = (percs[-1][1])
total = (percs[-1][2])
totalUnit = (percs[-1][3])
completed = convertToBytes(completed, completedUnit)
total = convertToBytes(total, totalUnit)
progress = (completed/total)*100.0
rate = percs[-1][4]
self.update(progress, rate)
return False
return True
class S3(FetchMethod):
"""Class to fetch urls via 'aws s3'"""
@@ -52,7 +89,9 @@ class S3(FetchMethod):
cmd = '%s cp s3://%s%s %s' % (ud.basecmd, ud.host, ud.path, ud.localpath)
bb.fetch2.check_network_access(d, cmd, ud.url)
runfetchcmd(cmd, d)
progresshandler = S3ProgressHandler(d)
runfetchcmd(cmd, d, False, log=progresshandler)
# Additional sanity checks copied from the wget class (although there
# are no known issues which mean these are required, treat the aws cli

View File

@@ -32,6 +32,7 @@ IETF secsh internet draft:
import re, os
from bb.fetch2 import check_network_access, FetchMethod, ParameterError, runfetchcmd
import urllib
__pattern__ = re.compile(r'''
@@ -40,9 +41,9 @@ __pattern__ = re.compile(r'''
( # Optional username/password block
(?P<user>\S+) # username
(:(?P<pass>\S+))? # colon followed by the password (optional)
)?
(?P<cparam>(;[^;]+)*)? # connection parameters block (optional)
@
)?
(?P<host>\S+?) # non-greedy match of the host
(:(?P<port>[0-9]+))? # colon followed by the port (optional)
/
@@ -70,6 +71,7 @@ class SSH(FetchMethod):
"git:// prefix with protocol=ssh", urldata.url)
m = __pattern__.match(urldata.url)
path = m.group('path')
path = urllib.parse.unquote(path)
host = m.group('host')
urldata.localpath = os.path.join(d.getVar('DL_DIR'),
os.path.basename(os.path.normpath(path)))
@@ -96,6 +98,11 @@ class SSH(FetchMethod):
fr += '@%s' % host
else:
fr = host
if path[0] != '~':
path = '/%s' % path
path = urllib.parse.unquote(path)
fr += ':%s' % path
cmd = 'scp -B -r %s %s %s/' % (
@@ -108,3 +115,43 @@ class SSH(FetchMethod):
runfetchcmd(cmd, d)
def checkstatus(self, fetch, urldata, d):
"""
Check the status of the url
"""
m = __pattern__.match(urldata.url)
path = m.group('path')
host = m.group('host')
port = m.group('port')
user = m.group('user')
password = m.group('pass')
if port:
portarg = '-P %s' % port
else:
portarg = ''
if user:
fr = user
if password:
fr += ':%s' % password
fr += '@%s' % host
else:
fr = host
if path[0] != '~':
path = '/%s' % path
path = urllib.parse.unquote(path)
cmd = 'ssh -o BatchMode=true %s %s [ -f %s ]' % (
portarg,
fr,
path
)
check_network_access(d, cmd, urldata.url)
if runfetchcmd(cmd, d):
return True
return False

View File

@@ -57,7 +57,12 @@ class Svn(FetchMethod):
if 'rev' in ud.parm:
ud.revision = ud.parm['rev']
ud.localfile = d.expand('%s_%s_%s_%s_.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision))
# Whether to use the @REV peg-revision syntax in the svn command or not
ud.pegrevision = True
if 'nopegrevision' in ud.parm:
ud.pegrevision = False
ud.localfile = d.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ["0", "1"][ud.pegrevision]))
def _buildsvncommand(self, ud, d, command):
"""
@@ -86,7 +91,7 @@ class Svn(FetchMethod):
if command == "info":
svncmd = "%s info %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
elif command == "log1":
svncmd = "%s log --limit 1 %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
svncmd = "%s log --limit 1 --quiet %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
else:
suffix = ""
@@ -98,7 +103,8 @@ class Svn(FetchMethod):
if ud.revision:
options.append("-r %s" % ud.revision)
suffix = "@%s" % (ud.revision)
if ud.pegrevision:
suffix = "@%s" % (ud.revision)
if command == "fetch":
transportuser = ud.parm.get("transportuser", "")

View File

@@ -52,18 +52,24 @@ class WgetProgressHandler(bb.progress.LineFilterProgressHandler):
class Wget(FetchMethod):
"""Class to fetch urls via 'wget'"""
# CDNs like CloudFlare may do a 'browser integrity test' which can fail
# with the standard wget/urllib User-Agent, so pretend to be a modern
# browser.
user_agent = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"
"""Class to fetch urls via 'wget'"""
def check_certs(self, d):
"""
Should certificates be checked?
"""
return (d.getVar("BB_CHECK_SSL_CERTS") or "1") != "0"
def supports(self, ud, d):
"""
Check to see if a given url can be fetched with wget.
"""
return ud.type in ['http', 'https', 'ftp']
return ud.type in ['http', 'https', 'ftp', 'ftps']
def recommends_checksum(self, urldata):
return True
@@ -82,7 +88,10 @@ class Wget(FetchMethod):
if not ud.localfile:
ud.localfile = d.expand(urllib.parse.unquote(ud.host + ud.path).replace("/", "."))
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate"
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 30 --passive-ftp"
if not self.check_certs(d):
self.basecmd += " --no-check-certificate"
def _runwget(self, ud, d, command, quiet, workdir=None):
@@ -103,7 +112,17 @@ class Wget(FetchMethod):
fetchcmd += " -O %s" % shlex.quote(localpath)
if ud.user and ud.pswd:
fetchcmd += " --user=%s --password=%s --auth-no-challenge" % (ud.user, ud.pswd)
fetchcmd += " --auth-no-challenge"
if ud.parm.get("redirectauth", "1") == "1":
# An undocumented feature of wget is that if the
# username/password are specified on the URI, wget will only
# send the Authorization header to the first host and not to
# any hosts that it is redirected to. With the increasing
# usage of temporary AWS URLs, this difference now matters as
# AWS will reject any request that has authentication both in
# the query parameters (from the redirect) and in the
# Authorization header.
fetchcmd += " --user=%s --password=%s" % (ud.user, ud.pswd)
uri = ud.url.split(";")[0]
if os.path.exists(ud.localpath):
@@ -209,7 +228,7 @@ class Wget(FetchMethod):
# We let the request fail and expect it to be
# tried once more ("try_again" in check_status()),
# with the dead connection removed from the cache.
# If it still fails, we give up, which can happend for bad
# If it still fails, we give up, which can happen for bad
# HTTP proxy settings.
fetch.connection_cache.remove_connection(h.host, h.port)
raise urllib.error.URLError(err)
@@ -282,64 +301,82 @@ class Wget(FetchMethod):
newreq = urllib.request.HTTPRedirectHandler.redirect_request(self, req, fp, code, msg, headers, newurl)
newreq.get_method = req.get_method
return newreq
exported_proxies = export_proxies(d)
handlers = [FixedHTTPRedirectHandler, HTTPMethodFallback]
if exported_proxies:
handlers.append(urllib.request.ProxyHandler())
handlers.append(CacheHTTPHandler())
# Since Python 2.7.9 ssl cert validation is enabled by default
# see PEP-0476, this causes verification errors on some https servers
# so disable by default.
import ssl
if hasattr(ssl, '_create_unverified_context'):
handlers.append(urllib.request.HTTPSHandler(context=ssl._create_unverified_context()))
opener = urllib.request.build_opener(*handlers)
# We need to update the environment here as both the proxy and HTTPS
# handlers need variables set. The proxy needs http_proxy and friends to
# be set, and HTTPSHandler ends up calling into openssl to load the
# certificates. In buildtools configurations this will be looking at the
# wrong place for certificates by default: we set SSL_CERT_FILE to the
# right location in the buildtools environment script but as BitBake
# prunes prunes the environment this is lost. When binaries are executed
# runfetchcmd ensures these values are in the environment, but this is
# pure Python so we need to update the environment.
#
# Avoid tramping the environment too much by using bb.utils.environment
# to scope the changes to the build_opener request, which is when the
# environment lookups happen.
newenv = bb.fetch2.get_fetcher_environment(d)
try:
uri = ud.url.split(";")[0]
r = urllib.request.Request(uri)
r.get_method = lambda: "HEAD"
# Some servers (FusionForge, as used on Alioth) require that the
# optional Accept header is set.
r.add_header("Accept", "*/*")
r.add_header("User-Agent", self.user_agent)
def add_basic_auth(login_str, request):
'''Adds Basic auth to http request, pass in login:password as string'''
import base64
encodeuser = base64.b64encode(login_str.encode('utf-8')).decode("utf-8")
authheader = "Basic %s" % encodeuser
r.add_header("Authorization", authheader)
with bb.utils.environment(**newenv):
import ssl
if ud.user and ud.pswd:
add_basic_auth(ud.user + ':' + ud.pswd, r)
if self.check_certs(d):
context = ssl.create_default_context()
else:
context = ssl._create_unverified_context()
handlers = [FixedHTTPRedirectHandler,
HTTPMethodFallback,
urllib.request.ProxyHandler(),
CacheHTTPHandler(),
urllib.request.HTTPSHandler(context=context)]
opener = urllib.request.build_opener(*handlers)
try:
import netrc
n = netrc.netrc()
login, unused, password = n.authenticators(urllib.parse.urlparse(uri).hostname)
add_basic_auth("%s:%s" % (login, password), r)
except (TypeError, ImportError, IOError, netrc.NetrcParseError):
pass
uri = ud.url.split(";")[0]
r = urllib.request.Request(uri)
r.get_method = lambda: "HEAD"
# Some servers (FusionForge, as used on Alioth) require that the
# optional Accept header is set.
r.add_header("Accept", "*/*")
r.add_header("User-Agent", self.user_agent)
def add_basic_auth(login_str, request):
'''Adds Basic auth to http request, pass in login:password as string'''
import base64
encodeuser = base64.b64encode(login_str.encode('utf-8')).decode("utf-8")
authheader = "Basic %s" % encodeuser
r.add_header("Authorization", authheader)
if ud.user and ud.pswd:
add_basic_auth(ud.user + ':' + ud.pswd, r)
try:
import netrc
n = netrc.netrc()
login, unused, password = n.authenticators(urllib.parse.urlparse(uri).hostname)
add_basic_auth("%s:%s" % (login, password), r)
except (TypeError, ImportError, IOError, netrc.NetrcParseError):
pass
with opener.open(r, timeout=30) as response:
pass
except urllib.error.URLError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
except ConnectionResetError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
with opener.open(r) as response:
pass
except urllib.error.URLError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
except ConnectionResetError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
return True
def _parse_path(self, regex, s):
@@ -472,7 +509,7 @@ class Wget(FetchMethod):
version_dir = ['', '', '']
version = ['', '', '']
dirver_regex = re.compile(r"(?P<pfx>\D*)(?P<ver>(\d+[\.\-_])+(\d+))")
dirver_regex = re.compile(r"(?P<pfx>\D*)(?P<ver>(\d+[\.\-_])*(\d+))")
s = dirver_regex.search(dirver)
if s:
version_dir[1] = s.group('ver')
@@ -548,7 +585,7 @@ class Wget(FetchMethod):
# src.rpm extension was added only for rpm package. Can be removed if the rpm
# packaged will always be considered as having to be manually upgraded
psuffix_regex = r"(tar\.gz|tgz|tar\.bz2|zip|xz|tar\.lz|rpm|bz2|orig\.tar\.gz|tar\.xz|src\.tar\.gz|src\.tgz|svnr\d+\.tar\.bz2|stable\.tar\.gz|src\.rpm)"
psuffix_regex = r"(tar\.\w+|tgz|zip|xz|rpm|bz2|orig\.tar\.\w+|src\.tar\.\w+|src\.tgz|svnr\d+\.tar\.\w+|stable\.tar\.\w+|src\.rpm)"
# match name, version and archive type of a package
package_regex_comp = re.compile(r"(?P<name>%s?\.?v?)(?P<pver>%s)(?P<arch>%s)?[\.-](?P<type>%s$)"

View File

@@ -112,13 +112,6 @@ def _showwarning(message, category, filename, lineno, file=None, line=None):
warnlog.warning(s)
warnings.showwarning = _showwarning
warnings.filterwarnings("ignore")
warnings.filterwarnings("default", module="(<string>$|(oe|bb)\.)")
warnings.filterwarnings("ignore", category=PendingDeprecationWarning)
warnings.filterwarnings("ignore", category=ImportWarning)
warnings.filterwarnings("ignore", category=DeprecationWarning, module="<string>$")
warnings.filterwarnings("ignore", message="With-statements now directly support multiple context managers")
def create_bitbake_parser():
parser = optparse.OptionParser(
@@ -134,7 +127,7 @@ def create_bitbake_parser():
help="Execute tasks from a specific .bb recipe directly. WARNING: Does "
"not handle any dependencies from other recipes.")
parser.add_option("-k", "--continue", action="store_false", dest="abort", default=True,
parser.add_option("-k", "--continue", action="store_false", dest="halt", default=True,
help="Continue as much as possible after an error. While the target that "
"failed and anything depending on it cannot be built, as much as "
"possible will be built before stopping.")

View File

@@ -76,7 +76,12 @@ def getDiskData(BBDirs):
return None
action = pathSpaceInodeRe.group(1)
if action not in ("ABORT", "STOPTASKS", "WARN"):
if action == "ABORT":
# Emit a deprecation warning
logger.warnonce("The BB_DISKMON_DIRS \"ABORT\" action has been renamed to \"HALT\", update configuration")
action = "HALT"
if action not in ("HALT", "STOPTASKS", "WARN"):
printErr("Unknown disk space monitor action: %s" % action)
return None
@@ -177,7 +182,7 @@ class diskMonitor:
# use them to avoid printing too many warning messages
self.preFreeS = {}
self.preFreeI = {}
# This is for STOPTASKS and ABORT, to avoid printing the message
# This is for STOPTASKS and HALT, to avoid printing the message
# repeatedly while waiting for the tasks to finish
self.checked = {}
for k in self.devDict:
@@ -219,8 +224,8 @@ class diskMonitor:
self.checked[k] = True
rq.finish_runqueue(False)
bb.event.fire(bb.event.DiskFull(dev, 'disk', freeSpace, path), self.configuration)
elif action == "ABORT" and not self.checked[k]:
logger.error("Immediately abort since the disk space monitor action is \"ABORT\"!")
elif action == "HALT" and not self.checked[k]:
logger.error("Immediately halt since the disk space monitor action is \"HALT\"!")
self.checked[k] = True
rq.finish_runqueue(True)
bb.event.fire(bb.event.DiskFull(dev, 'disk', freeSpace, path), self.configuration)
@@ -245,8 +250,8 @@ class diskMonitor:
self.checked[k] = True
rq.finish_runqueue(False)
bb.event.fire(bb.event.DiskFull(dev, 'inode', freeInode, path), self.configuration)
elif action == "ABORT" and not self.checked[k]:
logger.error("Immediately abort since the disk space monitor action is \"ABORT\"!")
elif action == "HALT" and not self.checked[k]:
logger.error("Immediately halt since the disk space monitor action is \"HALT\"!")
self.checked[k] = True
rq.finish_runqueue(True)
bb.event.fire(bb.event.DiskFull(dev, 'inode', freeInode, path), self.configuration)

View File

@@ -30,7 +30,9 @@ class BBLogFormatter(logging.Formatter):
PLAIN = logging.INFO + 1
VERBNOTE = logging.INFO + 2
ERROR = logging.ERROR
ERRORONCE = logging.ERROR - 1
WARNING = logging.WARNING
WARNONCE = logging.WARNING - 1
CRITICAL = logging.CRITICAL
levelnames = {
@@ -42,7 +44,9 @@ class BBLogFormatter(logging.Formatter):
PLAIN : '',
VERBNOTE: 'NOTE',
WARNING : 'WARNING',
WARNONCE : 'WARNING',
ERROR : 'ERROR',
ERRORONCE : 'ERROR',
CRITICAL: 'ERROR',
}
@@ -58,7 +62,9 @@ class BBLogFormatter(logging.Formatter):
PLAIN : BASECOLOR,
VERBNOTE: BASECOLOR,
WARNING : YELLOW,
WARNONCE : YELLOW,
ERROR : RED,
ERRORONCE : RED,
CRITICAL: RED,
}
@@ -121,6 +127,22 @@ class BBLogFilter(object):
return True
return False
class LogFilterShowOnce(logging.Filter):
def __init__(self):
self.seen_warnings = set()
self.seen_errors = set()
def filter(self, record):
if record.levelno == bb.msg.BBLogFormatter.WARNONCE:
if record.msg in self.seen_warnings:
return False
self.seen_warnings.add(record.msg)
if record.levelno == bb.msg.BBLogFormatter.ERRORONCE:
if record.msg in self.seen_errors:
return False
self.seen_errors.add(record.msg)
return True
class LogFilterGEQLevel(logging.Filter):
def __init__(self, level):
self.strlevel = str(level)
@@ -206,6 +228,7 @@ def logger_create(name, output=sys.stderr, level=logging.INFO, preserve_handlers
"""Standalone logger creation function"""
logger = logging.getLogger(name)
console = logging.StreamHandler(output)
console.addFilter(bb.msg.LogFilterShowOnce())
format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s")
if color == 'always' or (color == 'auto' and output.isatty()):
format.enable_color()
@@ -293,10 +316,17 @@ def setLoggingConfig(defaultconfig, userconfigfile=None):
# Convert all level parameters to integers in case users want to use the
# bitbake defined level names
for h in logconfig["handlers"].values():
for name, h in logconfig["handlers"].items():
if "level" in h:
h["level"] = bb.msg.stringToLevel(h["level"])
# Every handler needs its own instance of the once filter.
once_filter_name = name + ".showonceFilter"
logconfig.setdefault("filters", {})[once_filter_name] = {
"()": "bb.msg.LogFilterShowOnce",
}
h.setdefault("filters", []).append(once_filter_name)
for l in logconfig["loggers"].values():
if "level" in l:
l["level"] = bb.msg.stringToLevel(l["level"])

View File

@@ -113,6 +113,8 @@ def init(fn, data):
return h['init'](data)
def init_parser(d):
if hasattr(bb.parse, "siggen"):
bb.parse.siggen.exit()
bb.parse.siggen = bb.siggen.init(d)
def resolve_file(fn, d):

View File

@@ -130,6 +130,10 @@ class DataNode(AstNode):
else:
val = groupd["value"]
if ":append" in key or ":remove" in key or ":prepend" in key:
if op in ["append", "prepend", "postdot", "predot", "ques"]:
bb.warn(key + " " + groupd[op] + " is not a recommended operator combination, please replace it.")
flag = None
if 'flag' in groupd and groupd['flag'] is not None:
flag = groupd['flag']
@@ -145,7 +149,7 @@ class DataNode(AstNode):
data.setVar(key, val, parsing=True, **loginfo)
class MethodNode(AstNode):
tr_tbl = str.maketrans('/.+-@%&', '_______')
tr_tbl = str.maketrans('/.+-@%&~', '________')
def __init__(self, filename, lineno, func_name, body, python, fakeroot):
AstNode.__init__(self, filename, lineno)
@@ -219,7 +223,7 @@ class ExportFuncsNode(AstNode):
for flag in [ "func", "python" ]:
if data.getVarFlag(calledfunc, flag, False):
data.setVarFlag(func, flag, data.getVarFlag(calledfunc, flag, False))
for flag in [ "dirs" ]:
for flag in ["dirs", "cleandirs", "fakeroot"]:
if data.getVarFlag(func, flag, False):
data.setVarFlag(calledfunc, flag, data.getVarFlag(func, flag, False))
data.setVarFlag(func, "filename", "autogenerated")
@@ -329,6 +333,10 @@ def runAnonFuncs(d):
def finalize(fn, d, variant = None):
saved_handlers = bb.event.get_handlers().copy()
try:
# Found renamed variables. Exit immediately
if d.getVar("_FAILPARSINGERRORHANDLED", False) == True:
raise bb.BBHandledException()
for var in d.getVar('__BBHANDLERS', False) or []:
# try to add the handler
handlerfn = d.getVarFlag(var, "filename", False)

View File

@@ -19,10 +19,7 @@ from . import ConfHandler
from .. import resolve_file, ast, logger, ParseError
from .ConfHandler import include, init
# For compatibility
bb.deprecate_import(__name__, "bb.parse", ["vars_from_file"])
__func_start_regexp__ = re.compile(r"(((?P<py>python(?=(\s|\()))|(?P<fr>fakeroot(?=\s)))\s*)*(?P<func>[\w\.\-\+\{\}\$]+)?\s*\(\s*\)\s*{$" )
__func_start_regexp__ = re.compile(r"(((?P<py>python(?=(\s|\()))|(?P<fr>fakeroot(?=\s)))\s*)*(?P<func>[\w\.\-\+\{\}\$:]+)?\s*\(\s*\)\s*{$" )
__inherit_regexp__ = re.compile(r"inherit\s+(.+)" )
__export_func_regexp__ = re.compile(r"EXPORT_FUNCTIONS\s+(.+)" )
__addtask_regexp__ = re.compile(r"addtask\s+(?P<func>\w+)\s*((before\s*(?P<before>((.*(?=after))|(.*))))|(after\s*(?P<after>((.*(?=before))|(.*)))))*")

View File

@@ -20,7 +20,7 @@ from bb.parse import ParseError, resolve_file, ast, logger, handle
__config_regexp__ = re.compile( r"""
^
(?P<exp>export\s+)?
(?P<var>[a-zA-Z0-9\-_+.${}/~]+?)
(?P<var>[a-zA-Z0-9\-_+.${}/~:]+?)
(\[(?P<flag>[a-zA-Z0-9\-_+.]+)\])?
\s* (
@@ -48,10 +48,7 @@ __unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)$" )
__unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.]+)\]$" )
def init(data):
topdir = data.getVar('TOPDIR', False)
if not topdir:
data.setVar('TOPDIR', os.getcwd())
return
def supports(fn, d):
return fn[-5:] == ".conf"

View File

@@ -12,14 +12,14 @@ currently, providing a key/value store accessed by 'domain'.
#
import collections
import collections.abc
import contextlib
import functools
import logging
import os.path
import sqlite3
import sys
import warnings
from collections import Mapping
from collections.abc import Mapping
sqlversion = sqlite3.sqlite_version_info
if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
@@ -29,7 +29,7 @@ if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
logger = logging.getLogger("BitBake.PersistData")
@functools.total_ordering
class SQLTable(collections.MutableMapping):
class SQLTable(collections.abc.MutableMapping):
class _Decorators(object):
@staticmethod
def retry(*, reconnect=True):
@@ -63,7 +63,7 @@ class SQLTable(collections.MutableMapping):
"""
Decorator that starts a database transaction and creates a database
cursor for performing queries. If no exception is thrown, the
database results are commited. If an exception occurs, the database
database results are committed. If an exception occurs, the database
is rolled back. In all cases, the cursor is closed after the
function ends.
@@ -208,7 +208,7 @@ class SQLTable(collections.MutableMapping):
def __lt__(self, other):
if not isinstance(other, Mapping):
raise NotImplemented
raise NotImplementedError()
return len(self) < len(other)
@@ -238,55 +238,6 @@ class SQLTable(collections.MutableMapping):
def has_key(self, key):
return key in self
class PersistData(object):
"""Deprecated representation of the bitbake persistent data store"""
def __init__(self, d):
warnings.warn("Use of PersistData is deprecated. Please use "
"persist(domain, d) instead.",
category=DeprecationWarning,
stacklevel=2)
self.data = persist(d)
logger.debug("Using '%s' as the persistent data cache",
self.data.filename)
def addDomain(self, domain):
"""
Add a domain (pending deprecation)
"""
return self.data[domain]
def delDomain(self, domain):
"""
Removes a domain and all the data it contains
"""
del self.data[domain]
def getKeyValues(self, domain):
"""
Return a list of key + value pairs for a domain
"""
return list(self.data[domain].items())
def getValue(self, domain, key):
"""
Return the value of a key for a domain
"""
return self.data[domain][key]
def setValue(self, domain, key, value):
"""
Sets the value of a key for a domain
"""
self.data[domain][key] = value
def delValue(self, domain, key):
"""
Deletes a key/value pair
"""
del self.data[domain][key]
def persist(domain, d):
"""Convenience factory for SQLTable objects based upon metadata"""
import bb.utils

View File

@@ -60,7 +60,7 @@ class Popen(subprocess.Popen):
"close_fds": True,
"preexec_fn": subprocess_setup,
"stdout": subprocess.PIPE,
"stderr": subprocess.STDOUT,
"stderr": subprocess.PIPE,
"stdin": subprocess.PIPE,
"shell": False,
}
@@ -142,7 +142,7 @@ def _logged_communicate(pipe, log, input, extrafiles):
while pipe.poll() is None:
read_all_pipes(log, rin, outdata, errdata)
# Pocess closed, drain all pipes...
# Process closed, drain all pipes...
read_all_pipes(log, rin, outdata, errdata)
finally:
log.flush()
@@ -181,5 +181,8 @@ def run(cmd, input=None, log=None, extrafiles=None, **options):
stderr = stderr.decode("utf-8")
if pipe.returncode != 0:
if log:
# Don't duplicate the output in the exception if logging it
raise ExecutionError(cmd, pipe.returncode, None, None)
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
return stdout, stderr

View File

@@ -94,12 +94,15 @@ class LineFilterProgressHandler(ProgressHandler):
while True:
breakpos = self._linebuffer.find('\n') + 1
if breakpos == 0:
break
# for the case when the line with progress ends with only '\r'
breakpos = self._linebuffer.find('\r') + 1
if breakpos == 0:
break
line = self._linebuffer[:breakpos]
self._linebuffer = self._linebuffer[breakpos:]
# Drop any line feeds and anything that precedes them
lbreakpos = line.rfind('\r') + 1
if lbreakpos:
if lbreakpos and lbreakpos != breakpos:
line = line[lbreakpos:]
if self.writeline(filter_color(line)):
super().write(line)
@@ -145,7 +148,7 @@ class MultiStageProgressReporter:
for tasks made up of python code spread across multiple
classes / functions - the progress reporter object can
be passed around or stored at the object level and calls
to next_stage() and update() made whereever needed.
to next_stage() and update() made wherever needed.
"""
def __init__(self, d, stage_weights, debug=False):
"""

View File

@@ -94,7 +94,7 @@ def versionVariableMatch(cfgData, keyword, pn):
# pn can contain '_', e.g. gcc-cross-x86_64 and an override cannot
# hence we do this manually rather than use OVERRIDES
ver = cfgData.getVar("%s_VERSION_pn-%s" % (keyword, pn))
ver = cfgData.getVar("%s_VERSION:pn-%s" % (keyword, pn))
if not ver:
ver = cfgData.getVar("%s_VERSION_%s" % (keyword, pn))
if not ver:
@@ -133,7 +133,7 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
if required_v is not None:
if preferred_v is not None:
logger.warn("REQUIRED_VERSION and PREFERRED_VERSION for package %s%s are both set using REQUIRED_VERSION %s", pn, itemstr, required_v)
logger.warning("REQUIRED_VERSION and PREFERRED_VERSION for package %s%s are both set using REQUIRED_VERSION %s", pn, itemstr, required_v)
else:
logger.debug("REQUIRED_VERSION is set for package %s%s", pn, itemstr)
# REQUIRED_VERSION always takes precedence over PREFERRED_VERSION
@@ -173,7 +173,7 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
pv_str = '%s:%s' % (preferred_e, pv_str)
if preferred_file is None:
if not required:
logger.warn("preferred version %s of %s not available%s", pv_str, pn, itemstr)
logger.warning("preferred version %s of %s not available%s", pv_str, pn, itemstr)
available_vers = []
for file_set in pkg_pn:
for f in file_set:
@@ -185,7 +185,7 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
available_vers.append(ver_str)
if available_vers:
available_vers.sort()
logger.warn("versions of %s available: %s", pn, ' '.join(available_vers))
logger.warning("versions of %s available: %s", pn, ' '.join(available_vers))
if required:
logger.error("required version %s of %s not available%s", pv_str, pn, itemstr)
else:
@@ -396,8 +396,8 @@ def getRuntimeProviders(dataCache, rdepend):
return rproviders
# Only search dynamic packages if we can't find anything in other variables
for pattern in dataCache.packages_dynamic:
pattern = pattern.replace(r'+', r"\+")
for pat_key in dataCache.packages_dynamic:
pattern = pat_key.replace(r'+', r"\+")
if pattern in regexp_cache:
regexp = regexp_cache[pattern]
else:
@@ -408,7 +408,7 @@ def getRuntimeProviders(dataCache, rdepend):
raise
regexp_cache[pattern] = regexp
if regexp.match(rdepend):
rproviders += dataCache.packages_dynamic[pattern]
rproviders += dataCache.packages_dynamic[pat_key]
logger.debug("Assuming %s is a dynamic package, but it may not exist" % rdepend)
return rproviders

View File

@@ -85,15 +85,19 @@ class RunQueueStats:
"""
Holds statistics on the tasks handled by the associated runQueue
"""
def __init__(self, total):
def __init__(self, total, setscene_total):
self.completed = 0
self.skipped = 0
self.failed = 0
self.active = 0
self.setscene_active = 0
self.setscene_covered = 0
self.setscene_notcovered = 0
self.setscene_total = setscene_total
self.total = total
def copy(self):
obj = self.__class__(self.total)
obj = self.__class__(self.total, self.setscene_total)
obj.__dict__.update(self.__dict__)
return obj
@@ -112,6 +116,13 @@ class RunQueueStats:
def taskActive(self):
self.active = self.active + 1
def updateCovered(self, covered, notcovered):
self.setscene_covered = covered
self.setscene_notcovered = notcovered
def updateActiveSetscene(self, active):
self.setscene_active = active
# These values indicate the next step due to be run in the
# runQueue state machine
runQueuePrepare = 2
@@ -374,10 +385,9 @@ class RunQueueData:
self.rq = rq
self.warn_multi_bb = False
self.stampwhitelist = cfgData.getVar("BB_STAMP_WHITELIST") or ""
self.multi_provider_whitelist = (cfgData.getVar("MULTI_PROVIDER_WHITELIST") or "").split()
self.setscenewhitelist = get_setscene_enforce_whitelist(cfgData, targets)
self.setscenewhitelist_checked = False
self.multi_provider_allowed = (cfgData.getVar("BB_MULTI_PROVIDER_ALLOWED") or "").split()
self.setscene_ignore_tasks = get_setscene_enforce_ignore_tasks(cfgData, targets)
self.setscene_ignore_tasks_checked = False
self.setscene_enforce = (cfgData.getVar('BB_SETSCENE_ENFORCE') == "1")
self.init_progress_reporter = bb.progress.DummyMultiStageProcessProgressReporter()
@@ -475,7 +485,7 @@ class RunQueueData:
msgs.append(" Task %s (dependent Tasks %s)\n" % (dep, self.runq_depends_names(self.runtaskentries[dep].depends)))
msgs.append("\n")
if len(valid_chains) > 10:
msgs.append("Aborted dependency loops search after 10 matches.\n")
msgs.append("Halted dependency loops search after 10 matches.\n")
raise TooManyLoops
continue
scan = False
@@ -536,7 +546,7 @@ class RunQueueData:
next_points.append(revdep)
task_done[revdep] = True
endpoints = next_points
if len(next_points) == 0:
if not next_points:
break
# Circular dependency sanity check
@@ -578,7 +588,7 @@ class RunQueueData:
found = False
for mc in self.taskData:
if len(taskData[mc].taskentries) > 0:
if taskData[mc].taskentries:
found = True
break
if not found:
@@ -762,7 +772,7 @@ class RunQueueData:
# Find the dependency chain endpoints
endpoints = set()
for tid in self.runtaskentries:
if len(deps[tid]) == 0:
if not deps[tid]:
endpoints.add(tid)
# Iterate the chains collating dependencies
while endpoints:
@@ -773,11 +783,11 @@ class RunQueueData:
cumulativedeps[dep].update(cumulativedeps[tid])
if tid in deps[dep]:
deps[dep].remove(tid)
if len(deps[dep]) == 0:
if not deps[dep]:
next.add(dep)
endpoints = next
#for tid in deps:
# if len(deps[tid]) != 0:
# if deps[tid]:
# bb.warn("Sanity test failure, dependencies left for %s (%s)" % (tid, deps[tid]))
# Loop here since recrdeptasks can depend upon other recrdeptasks and we have to
@@ -915,39 +925,37 @@ class RunQueueData:
#
# Once all active tasks are marked, prune the ones we don't need.
delcount = {}
for tid in list(self.runtaskentries.keys()):
if tid not in runq_build:
delcount[tid] = self.runtaskentries[tid]
del self.runtaskentries[tid]
# Handle --runall
if self.cooker.configuration.runall:
# re-run the mark_active and then drop unused tasks from new list
reduced_tasklist = set(self.runtaskentries.keys())
for tid in list(self.runtaskentries.keys()):
if tid not in runq_build:
reduced_tasklist.remove(tid)
runq_build = {}
for task in self.cooker.configuration.runall:
if not task.startswith("do_"):
task = "do_{0}".format(task)
runall_tids = set()
for tid in list(self.runtaskentries):
for tid in reduced_tasklist:
wanttid = "{0}:{1}".format(fn_from_tid(tid), task)
if wanttid in delcount:
self.runtaskentries[wanttid] = delcount[wanttid]
if wanttid in self.runtaskentries:
runall_tids.add(wanttid)
for tid in list(runall_tids):
mark_active(tid,1)
mark_active(tid, 1)
if self.cooker.configuration.force:
invalidate_task(tid, False)
for tid in list(self.runtaskentries.keys()):
if tid not in runq_build:
delcount[tid] = self.runtaskentries[tid]
del self.runtaskentries[tid]
delcount = set()
for tid in list(self.runtaskentries.keys()):
if tid not in runq_build:
delcount.add(tid)
del self.runtaskentries[tid]
if len(self.runtaskentries) == 0:
if self.cooker.configuration.runall:
if not self.runtaskentries:
bb.msg.fatal("RunQueue", "Could not find any tasks with the tasknames %s to run within the recipes of the taskgraphs of the targets %s" % (str(self.cooker.configuration.runall), str(self.targets)))
self.init_progress_reporter.next_stage()
@@ -960,19 +968,19 @@ class RunQueueData:
for task in self.cooker.configuration.runonly:
if not task.startswith("do_"):
task = "do_{0}".format(task)
runonly_tids = { k: v for k, v in self.runtaskentries.items() if taskname_from_tid(k) == task }
runonly_tids = [k for k in self.runtaskentries.keys() if taskname_from_tid(k) == task]
for tid in list(runonly_tids):
mark_active(tid,1)
for tid in runonly_tids:
mark_active(tid, 1)
if self.cooker.configuration.force:
invalidate_task(tid, False)
for tid in list(self.runtaskentries.keys()):
if tid not in runq_build:
delcount[tid] = self.runtaskentries[tid]
delcount.add(tid)
del self.runtaskentries[tid]
if len(self.runtaskentries) == 0:
if not self.runtaskentries:
bb.msg.fatal("RunQueue", "Could not find any tasks with the tasknames %s to run within the taskgraphs of the targets %s" % (str(self.cooker.configuration.runonly), str(self.targets)))
#
@@ -980,8 +988,8 @@ class RunQueueData:
#
# Check to make sure we still have tasks to run
if len(self.runtaskentries) == 0:
if not taskData[''].abort:
if not self.runtaskentries:
if not taskData[''].halt:
bb.msg.fatal("RunQueue", "All buildable tasks have been run but the build is incomplete (--continue mode). Errors for the tasks that failed will have been printed above.")
else:
bb.msg.fatal("RunQueue", "No active tasks and not in --continue mode?! Please report this bug.")
@@ -1004,7 +1012,7 @@ class RunQueueData:
endpoints = []
for tid in self.runtaskentries:
revdeps = self.runtaskentries[tid].revdeps
if len(revdeps) == 0:
if not revdeps:
endpoints.append(tid)
for dep in revdeps:
if dep in self.runtaskentries[tid].depends:
@@ -1040,7 +1048,7 @@ class RunQueueData:
for prov in prov_list:
if len(prov_list[prov]) < 2:
continue
if prov in self.multi_provider_whitelist:
if prov in self.multi_provider_allowed:
continue
seen_pn = []
# If two versions of the same PN are being built its fatal, we don't support it.
@@ -1050,12 +1058,12 @@ class RunQueueData:
seen_pn.append(pn)
else:
bb.fatal("Multiple versions of %s are due to be built (%s). Only one version of a given PN should be built in any given build. You likely need to set PREFERRED_VERSION_%s to select the correct version or don't depend on multiple versions." % (pn, " ".join(prov_list[prov]), pn))
msg = "Multiple .bb files are due to be built which each provide %s:\n %s" % (prov, "\n ".join(prov_list[prov]))
msgs = ["Multiple .bb files are due to be built which each provide %s:\n %s" % (prov, "\n ".join(prov_list[prov]))]
#
# Construct a list of things which uniquely depend on each provider
# since this may help the user figure out which dependency is triggering this warning
#
msg += "\nA list of tasks depending on these providers is shown and may help explain where the dependency comes from."
msgs.append("\nA list of tasks depending on these providers is shown and may help explain where the dependency comes from.")
deplist = {}
commondeps = None
for provfn in prov_list[prov]:
@@ -1075,12 +1083,12 @@ class RunQueueData:
commondeps &= deps
deplist[provfn] = deps
for provfn in deplist:
msg += "\n%s has unique dependees:\n %s" % (provfn, "\n ".join(deplist[provfn] - commondeps))
msgs.append("\n%s has unique dependees:\n %s" % (provfn, "\n ".join(deplist[provfn] - commondeps)))
#
# Construct a list of provides and runtime providers for each recipe
# (rprovides has to cover RPROVIDES, PACKAGES, PACKAGES_DYNAMIC)
#
msg += "\nIt could be that one recipe provides something the other doesn't and should. The following provider and runtime provider differences may be helpful."
msgs.append("\nIt could be that one recipe provides something the other doesn't and should. The following provider and runtime provider differences may be helpful.")
provide_results = {}
rprovide_results = {}
commonprovs = None
@@ -1107,29 +1115,18 @@ class RunQueueData:
else:
commonrprovs &= rprovides
rprovide_results[provfn] = rprovides
#msg += "\nCommon provides:\n %s" % ("\n ".join(commonprovs))
#msg += "\nCommon rprovides:\n %s" % ("\n ".join(commonrprovs))
#msgs.append("\nCommon provides:\n %s" % ("\n ".join(commonprovs)))
#msgs.append("\nCommon rprovides:\n %s" % ("\n ".join(commonrprovs)))
for provfn in prov_list[prov]:
msg += "\n%s has unique provides:\n %s" % (provfn, "\n ".join(provide_results[provfn] - commonprovs))
msg += "\n%s has unique rprovides:\n %s" % (provfn, "\n ".join(rprovide_results[provfn] - commonrprovs))
msgs.append("\n%s has unique provides:\n %s" % (provfn, "\n ".join(provide_results[provfn] - commonprovs)))
msgs.append("\n%s has unique rprovides:\n %s" % (provfn, "\n ".join(rprovide_results[provfn] - commonrprovs)))
if self.warn_multi_bb:
logger.verbnote(msg)
logger.verbnote("".join(msgs))
else:
logger.error(msg)
logger.error("".join(msgs))
self.init_progress_reporter.next_stage()
# Create a whitelist usable by the stamp checks
self.stampfnwhitelist = {}
for mc in self.taskData:
self.stampfnwhitelist[mc] = []
for entry in self.stampwhitelist.split():
if entry not in self.taskData[mc].build_targets:
continue
fn = self.taskData.build_targets[entry][0]
self.stampfnwhitelist[mc].append(fn)
self.init_progress_reporter.next_stage()
# Iterate over the task list looking for tasks with a 'setscene' function
@@ -1177,9 +1174,9 @@ class RunQueueData:
# Iterate over the task list and call into the siggen code
dealtwith = set()
todeal = set(self.runtaskentries)
while len(todeal) > 0:
while todeal:
for tid in todeal.copy():
if len(self.runtaskentries[tid].depends - dealtwith) == 0:
if not (self.runtaskentries[tid].depends - dealtwith):
dealtwith.add(tid)
todeal.remove(tid)
self.prepare_task_hash(tid)
@@ -1218,7 +1215,6 @@ class RunQueue:
self.cfgData = cfgData
self.rqdata = RunQueueData(self, cooker, cfgData, dataCaches, taskData, targets)
self.stamppolicy = cfgData.getVar("BB_STAMP_POLICY") or "perfile"
self.hashvalidate = cfgData.getVar("BB_HASHCHECK_FUNCTION") or None
self.depvalidate = cfgData.getVar("BB_SETSCENE_DEPVALID") or None
@@ -1347,14 +1343,6 @@ class RunQueue:
if taskname is None:
taskname = tn
if self.stamppolicy == "perfile":
fulldeptree = False
else:
fulldeptree = True
stampwhitelist = []
if self.stamppolicy == "whitelist":
stampwhitelist = self.rqdata.stampfnwhitelist[mc]
stampfile = bb.build.stampfile(taskname, self.rqdata.dataCaches[mc], taskfn)
# If the stamp is missing, it's not current
@@ -1386,7 +1374,7 @@ class RunQueue:
continue
if t3 and t3 > t2:
continue
if fn == fn2 or (fulldeptree and fn2 not in stampwhitelist):
if fn == fn2:
if not t2:
logger.debug2('Stampfile %s does not exist', stampfile2)
iscurrent = False
@@ -1436,7 +1424,7 @@ class RunQueue:
"""
Run the tasks in a queue prepared by rqdata.prepare()
Upon failure, optionally try to recover the build using any alternate providers
(if the abort on failure configuration option isn't set)
(if the halt on failure configuration option isn't set)
"""
retval = True
@@ -1489,10 +1477,10 @@ class RunQueue:
self.rqexe = RunQueueExecute(self)
# If we don't have any setscene functions, skip execution
if len(self.rqdata.runq_setscene_tids) == 0:
if not self.rqdata.runq_setscene_tids:
logger.info('No setscene tasks')
for tid in self.rqdata.runtaskentries:
if len(self.rqdata.runtaskentries[tid].depends) == 0:
if not self.rqdata.runtaskentries[tid].depends:
self.rqexe.setbuildable(tid)
self.rqexe.tasks_notcovered.add(tid)
self.rqexe.sqdone = True
@@ -1686,7 +1674,7 @@ class RunQueue:
(mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn]
h = self.rqdata.runtaskentries[tid].hash
matches = bb.siggen.find_siginfo(pn, taskname, [], self.cfgData)
matches = bb.siggen.find_siginfo(pn, taskname, [], self.cooker.databuilder.mcdata[mc])
match = None
for m in matches:
if h in m:
@@ -1735,8 +1723,7 @@ class RunQueueExecute:
self.holdoff_need_update = True
self.sqdone = False
self.stats = RunQueueStats(len(self.rqdata.runtaskentries))
self.sq_stats = RunQueueStats(len(self.rqdata.runq_setscene_tids))
self.stats = RunQueueStats(len(self.rqdata.runtaskentries), len(self.rqdata.runq_setscene_tids))
for mc in rq.worker:
rq.worker[mc].pipe.setrunqueueexec(self)
@@ -1770,7 +1757,7 @@ class RunQueueExecute:
bb.fatal("Invalid scheduler '%s'. Available schedulers: %s" %
(self.scheduler, ", ".join(obj.name for obj in schedulers)))
#if len(self.rqdata.runq_setscene_tids) > 0:
#if self.rqdata.runq_setscene_tids:
self.sqdata = SQData()
build_scenequeue_data(self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self)
@@ -1787,6 +1774,7 @@ class RunQueueExecute:
else:
self.sq_task_complete(task)
self.sq_live.remove(task)
self.stats.updateActiveSetscene(len(self.sq_live))
else:
if status != 0:
self.task_fail(task, status, fakerootlog=fakerootlog)
@@ -1810,7 +1798,7 @@ class RunQueueExecute:
# worker must have died?
pass
if len(self.failed_tids) != 0:
if self.failed_tids:
self.rq.state = runQueueFailed
return
@@ -1820,13 +1808,13 @@ class RunQueueExecute:
def finish(self):
self.rq.state = runQueueCleanUp
active = self.stats.active + self.sq_stats.active
active = self.stats.active + len(self.sq_live)
if active > 0:
bb.event.fire(runQueueExitWait(active), self.cfgData)
self.rq.read_workers()
return self.rq.active_fds()
if len(self.failed_tids) != 0:
if self.failed_tids:
self.rq.state = runQueueFailed
return True
@@ -1853,7 +1841,7 @@ class RunQueueExecute:
return valid
def can_start_task(self):
active = self.stats.active + self.sq_stats.active
active = self.stats.active + len(self.sq_live)
can_start = active < self.number_tasks
return can_start
@@ -1904,6 +1892,12 @@ class RunQueueExecute:
self.setbuildable(revdep)
logger.debug("Marking task %s as buildable", revdep)
for t in self.sq_deferred.copy():
if self.sq_deferred[t] == task:
logger.debug2("Deferred task %s now buildable" % t)
del self.sq_deferred[t]
update_scenequeue_data([t], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False)
def task_complete(self, task):
self.stats.taskCompleted()
bb.event.fire(runQueueTaskCompleted(task, self.stats, self.rq), self.cfgData)
@@ -1918,7 +1912,7 @@ class RunQueueExecute:
self.stats.taskFailed()
self.failed_tids.append(task)
fakeroot_log = ""
fakeroot_log = []
if fakerootlog and os.path.exists(fakerootlog):
with open(fakerootlog) as fakeroot_log_file:
fakeroot_failed = False
@@ -1928,14 +1922,14 @@ class RunQueueExecute:
fakeroot_failed = True
if 'doing new pid setup and server start' in line:
break
fakeroot_log = line + fakeroot_log
fakeroot_log.append(line)
if not fakeroot_failed:
fakeroot_log = None
fakeroot_log = []
bb.event.fire(runQueueTaskFailed(task, self.stats, exitcode, self.rq, fakeroot_log=fakeroot_log), self.cfgData)
bb.event.fire(runQueueTaskFailed(task, self.stats, exitcode, self.rq, fakeroot_log=("".join(fakeroot_log) or None)), self.cfgData)
if self.rqdata.taskData[''].abort:
if self.rqdata.taskData[''].halt:
self.rq.state = runQueueCleanUp
def task_skip(self, task, reason):
@@ -1950,7 +1944,7 @@ class RunQueueExecute:
err = False
if not self.sqdone:
logger.debug('We could skip tasks %s', "\n".join(sorted(self.scenequeue_covered)))
completeevent = sceneQueueComplete(self.sq_stats, self.rq)
completeevent = sceneQueueComplete(self.stats, self.rq)
bb.event.fire(completeevent, self.cfgData)
if self.sq_deferred:
logger.error("Scenequeue had deferred entries: %s" % pprint.pformat(self.sq_deferred))
@@ -1984,7 +1978,7 @@ class RunQueueExecute:
if x not in self.tasks_scenequeue_done:
logger.error("Task %s was never processed by the setscene code" % x)
err = True
if len(self.rqdata.runtaskentries[x].depends) == 0 and x not in self.runq_buildable:
if not self.rqdata.runtaskentries[x].depends and x not in self.runq_buildable:
logger.error("Task %s was never marked as buildable by the setscene code" % x)
err = True
return err
@@ -2008,7 +2002,7 @@ class RunQueueExecute:
# Find the next setscene to run
for nexttask in self.sorted_setscene_tids:
if nexttask in self.sq_buildable and nexttask not in self.sq_running and self.sqdata.stamps[nexttask] not in self.build_stamps.values():
if nexttask not in self.sqdata.unskippable and len(self.sqdata.sq_revdeps[nexttask]) > 0 and self.sqdata.sq_revdeps[nexttask].issubset(self.scenequeue_covered) and self.check_dependencies(nexttask, self.sqdata.sq_revdeps[nexttask]):
if nexttask not in self.sqdata.unskippable and self.sqdata.sq_revdeps[nexttask] and self.sqdata.sq_revdeps[nexttask].issubset(self.scenequeue_covered) and self.check_dependencies(nexttask, self.sqdata.sq_revdeps[nexttask]):
if nexttask not in self.rqdata.target_tids:
logger.debug2("Skipping setscene for task %s" % nexttask)
self.sq_task_skip(nexttask)
@@ -2030,8 +2024,6 @@ class RunQueueExecute:
logger.debug("%s didn't become valid, skipping setscene" % nexttask)
self.sq_task_failoutright(nexttask)
return True
else:
self.sqdata.outrightfail.remove(nexttask)
if nexttask in self.sqdata.outrightfail:
logger.debug2('No package found, so skipping setscene task %s', nexttask)
self.sq_task_failoutright(nexttask)
@@ -2063,7 +2055,7 @@ class RunQueueExecute:
self.sq_task_failoutright(task)
return True
startevent = sceneQueueTaskStarted(task, self.sq_stats, self.rq)
startevent = sceneQueueTaskStarted(task, self.stats, self.rq)
bb.event.fire(startevent, self.cfgData)
taskdepdata = self.sq_build_taskdepdata(task)
@@ -2084,7 +2076,7 @@ class RunQueueExecute:
self.build_stamps2.append(self.build_stamps[task])
self.sq_running.add(task)
self.sq_live.add(task)
self.sq_stats.taskActive()
self.stats.updateActiveSetscene(len(self.sq_live))
if self.can_start_task():
return True
@@ -2115,9 +2107,9 @@ class RunQueueExecute:
if task is not None:
(mc, fn, taskname, taskfn) = split_tid_mcfn(task)
if self.rqdata.setscenewhitelist is not None:
if self.check_setscenewhitelist(task):
self.task_fail(task, "setscene whitelist")
if self.rqdata.setscene_ignore_tasks is not None:
if self.check_setscene_ignore_tasks(task):
self.task_fail(task, "setscene ignore_tasks")
return True
if task in self.tasks_covered:
@@ -2174,7 +2166,7 @@ class RunQueueExecute:
if self.can_start_task():
return True
if self.stats.active > 0 or self.sq_stats.active > 0:
if self.stats.active > 0 or self.sq_live:
self.rq.read_workers()
return self.rq.active_fds()
@@ -2182,10 +2174,11 @@ class RunQueueExecute:
if self.sq_deferred:
tid = self.sq_deferred.pop(list(self.sq_deferred.keys())[0])
logger.warning("Runqeueue deadlocked on deferred tasks, forcing task %s" % tid)
self.sq_task_failoutright(tid)
if tid not in self.runq_complete:
self.sq_task_failoutright(tid)
return True
if len(self.failed_tids) != 0:
if self.failed_tids:
self.rq.state = runQueueFailed
return True
@@ -2264,7 +2257,7 @@ class RunQueueExecute:
covered.intersection_update(self.tasks_scenequeue_done)
for tid in notcovered | covered:
if len(self.rqdata.runtaskentries[tid].depends) == 0:
if not self.rqdata.runtaskentries[tid].depends:
self.setbuildable(tid)
elif self.rqdata.runtaskentries[tid].depends.issubset(self.runq_complete):
self.setbuildable(tid)
@@ -2296,10 +2289,16 @@ class RunQueueExecute:
self.updated_taskhash_queue.remove((tid, unihash))
if unihash != self.rqdata.runtaskentries[tid].unihash:
hashequiv_logger.verbose("Task %s unihash changed to %s" % (tid, unihash))
self.rqdata.runtaskentries[tid].unihash = unihash
bb.parse.siggen.set_unihash(tid, unihash)
toprocess.add(tid)
# Make sure we rehash any other tasks with the same task hash that we're deferred against.
torehash = [tid]
for deftid in self.sq_deferred:
if self.sq_deferred[deftid] == tid:
torehash.append(deftid)
for hashtid in torehash:
hashequiv_logger.verbose("Task %s unihash changed to %s" % (hashtid, unihash))
self.rqdata.runtaskentries[hashtid].unihash = unihash
bb.parse.siggen.set_unihash(hashtid, unihash)
toprocess.add(hashtid)
# Work out all tasks which depend upon these
total = set()
@@ -2317,7 +2316,7 @@ class RunQueueExecute:
# Now iterate those tasks in dependency order to regenerate their taskhash/unihash
next = set()
for p in total:
if len(self.rqdata.runtaskentries[p].depends) == 0:
if not self.rqdata.runtaskentries[p].depends:
next.add(p)
elif self.rqdata.runtaskentries[p].depends.isdisjoint(total):
next.add(p)
@@ -2327,7 +2326,7 @@ class RunQueueExecute:
current = next.copy()
next = set()
for tid in current:
if len(self.rqdata.runtaskentries[p].depends) and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total):
if self.rqdata.runtaskentries[p].depends and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total):
continue
orighash = self.rqdata.runtaskentries[tid].hash
dc = bb.parse.siggen.get_data_caches(self.rqdata.dataCaches, mc_from_tid(tid))
@@ -2393,7 +2392,7 @@ class RunQueueExecute:
self.tasks_scenequeue_done.remove(tid)
for dep in self.sqdata.sq_covered_tasks[tid]:
if dep in self.runq_complete and dep not in self.runq_tasksrun:
bb.error("Task %s marked as completed but now needing to rerun? Aborting build." % dep)
bb.error("Task %s marked as completed but now needing to rerun? Halting build." % dep)
self.failed_tids.append(tid)
self.rq.state = runQueueCleanUp
return
@@ -2414,7 +2413,7 @@ class RunQueueExecute:
if not harddepfail and self.sqdata.sq_revdeps[tid].issubset(self.scenequeue_covered | self.scenequeue_notcovered):
if tid not in self.sq_buildable:
self.sq_buildable.add(tid)
if len(self.sqdata.sq_revdeps[tid]) == 0:
if not self.sqdata.sq_revdeps[tid]:
self.sq_buildable.add(tid)
if tid in self.sqdata.outrightfail:
@@ -2439,6 +2438,11 @@ class RunQueueExecute:
if update_tasks:
self.sqdone = False
for tid in [t[0] for t in update_tasks]:
h = pending_hash_index(tid, self.rqdata)
if h in self.sqdata.hashes and tid != self.sqdata.hashes[h]:
self.sq_deferred[tid] = self.sqdata.hashes[h]
bb.note("Deferring %s after %s" % (tid, self.sqdata.hashes[h]))
update_scenequeue_data([t[0] for t in update_tasks], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False)
for (tid, harddepfail, origvalid) in update_tasks:
@@ -2448,6 +2452,7 @@ class RunQueueExecute:
self.sq_task_failoutright(tid)
if changed:
self.stats.updateCovered(len(self.scenequeue_covered), len(self.scenequeue_notcovered))
self.holdoff_need_update = True
def scenequeue_updatecounters(self, task, fail=False):
@@ -2481,6 +2486,7 @@ class RunQueueExecute:
new.add(dep)
next = new
self.stats.updateCovered(len(self.scenequeue_covered), len(self.scenequeue_notcovered))
self.holdoff_need_update = True
def sq_task_completeoutright(self, task):
@@ -2495,22 +2501,20 @@ class RunQueueExecute:
self.scenequeue_updatecounters(task)
def sq_check_taskfail(self, task):
if self.rqdata.setscenewhitelist is not None:
if self.rqdata.setscene_ignore_tasks is not None:
realtask = task.split('_setscene')[0]
(mc, fn, taskname, taskfn) = split_tid_mcfn(realtask)
pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn]
if not check_setscene_enforce_whitelist(pn, taskname, self.rqdata.setscenewhitelist):
if not check_setscene_enforce_ignore_tasks(pn, taskname, self.rqdata.setscene_ignore_tasks):
logger.error('Task %s.%s failed' % (pn, taskname + "_setscene"))
self.rq.state = runQueueCleanUp
def sq_task_complete(self, task):
self.sq_stats.taskCompleted()
bb.event.fire(sceneQueueTaskCompleted(task, self.sq_stats, self.rq), self.cfgData)
bb.event.fire(sceneQueueTaskCompleted(task, self.stats, self.rq), self.cfgData)
self.sq_task_completeoutright(task)
def sq_task_fail(self, task, result):
self.sq_stats.taskFailed()
bb.event.fire(sceneQueueTaskFailed(task, self.sq_stats, result, self), self.cfgData)
bb.event.fire(sceneQueueTaskFailed(task, self.stats, result, self), self.cfgData)
self.scenequeue_notcovered.add(task)
self.scenequeue_updatecounters(task, True)
self.sq_check_taskfail(task)
@@ -2518,8 +2522,6 @@ class RunQueueExecute:
def sq_task_failoutright(self, task):
self.sq_running.add(task)
self.sq_buildable.add(task)
self.sq_stats.taskSkipped()
self.sq_stats.taskCompleted()
self.scenequeue_notcovered.add(task)
self.scenequeue_updatecounters(task, True)
@@ -2527,8 +2529,6 @@ class RunQueueExecute:
self.sq_running.add(task)
self.sq_buildable.add(task)
self.sq_task_completeoutright(task)
self.sq_stats.taskSkipped()
self.sq_stats.taskCompleted()
def sq_build_taskdepdata(self, task):
def getsetscenedeps(tid):
@@ -2568,8 +2568,8 @@ class RunQueueExecute:
#bb.note("Task %s: " % task + str(taskdepdata).replace("], ", "],\n"))
return taskdepdata
def check_setscenewhitelist(self, tid):
# Check task that is going to run against the whitelist
def check_setscene_ignore_tasks(self, tid):
# Check task that is going to run against the ignore tasks list
(mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
# Ignore covered tasks
if tid in self.tasks_covered:
@@ -2583,14 +2583,15 @@ class RunQueueExecute:
return False
pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn]
if not check_setscene_enforce_whitelist(pn, taskname, self.rqdata.setscenewhitelist):
if not check_setscene_enforce_ignore_tasks(pn, taskname, self.rqdata.setscene_ignore_tasks):
if tid in self.rqdata.runq_setscene_tids:
msg = 'Task %s.%s attempted to execute unexpectedly and should have been setscened' % (pn, taskname)
msg = ['Task %s.%s attempted to execute unexpectedly and should have been setscened' % (pn, taskname)]
else:
msg = 'Task %s.%s attempted to execute unexpectedly' % (pn, taskname)
msg = ['Task %s.%s attempted to execute unexpectedly' % (pn, taskname)]
for t in self.scenequeue_notcovered:
msg = msg + "\nTask %s, unihash %s, taskhash %s" % (t, self.rqdata.runtaskentries[t].unihash, self.rqdata.runtaskentries[t].hash)
logger.error(msg + '\nThis is usually due to missing setscene tasks. Those missing in this build were: %s' % pprint.pformat(self.scenequeue_notcovered))
msg.append("\nTask %s, unihash %s, taskhash %s" % (t, self.rqdata.runtaskentries[t].unihash, self.rqdata.runtaskentries[t].hash))
msg.append('\nThis is usually due to missing setscene tasks. Those missing in this build were: %s' % pprint.pformat(self.scenequeue_notcovered))
logger.error("".join(msg))
return True
return False
@@ -2629,7 +2630,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
for tid in rqdata.runtaskentries:
sq_revdeps[tid] = copy.copy(rqdata.runtaskentries[tid].revdeps)
sq_revdeps_squash[tid] = set()
if (len(sq_revdeps[tid]) == 0) and tid not in rqdata.runq_setscene_tids:
if not sq_revdeps[tid] and tid not in rqdata.runq_setscene_tids:
#bb.warn("Added endpoint %s" % (tid))
endpoints[tid] = set()
@@ -2663,16 +2664,15 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
sq_revdeps_squash[point] = set()
if point in rqdata.runq_setscene_tids:
sq_revdeps_squash[point] = tasks
tasks = set()
continue
for dep in rqdata.runtaskentries[point].depends:
if point in sq_revdeps[dep]:
sq_revdeps[dep].remove(point)
if tasks:
sq_revdeps_squash[dep] |= tasks
if len(sq_revdeps[dep]) == 0 and dep not in rqdata.runq_setscene_tids:
if not sq_revdeps[dep] and dep not in rqdata.runq_setscene_tids:
newendpoints[dep] = task
if len(newendpoints) != 0:
if newendpoints:
process_endpoints(newendpoints)
process_endpoints(endpoints)
@@ -2684,7 +2684,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
# Take the build endpoints (no revdeps) and find the sstate tasks they depend upon
new = True
for tid in rqdata.runtaskentries:
if len(rqdata.runtaskentries[tid].revdeps) == 0:
if not rqdata.runtaskentries[tid].revdeps:
sqdata.unskippable.add(tid)
sqdata.unskippable |= sqrq.cantskip
while new:
@@ -2693,7 +2693,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
for tid in sorted(orig, reverse=True):
if tid in rqdata.runq_setscene_tids:
continue
if len(rqdata.runtaskentries[tid].depends) == 0:
if not rqdata.runtaskentries[tid].depends:
# These are tasks which have no setscene tasks in their chain, need to mark as directly buildable
sqrq.setbuildable(tid)
sqdata.unskippable |= rqdata.runtaskentries[tid].depends
@@ -2708,8 +2708,8 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
for taskcounter, tid in enumerate(rqdata.runtaskentries):
if tid in rqdata.runq_setscene_tids:
pass
elif len(sq_revdeps_squash[tid]) != 0:
bb.msg.fatal("RunQueue", "Something went badly wrong during scenequeue generation, aborting. Please report this problem.")
elif sq_revdeps_squash[tid]:
bb.msg.fatal("RunQueue", "Something went badly wrong during scenequeue generation, halting. Please report this problem.")
else:
del sq_revdeps_squash[tid]
rqdata.init_progress_reporter.update(taskcounter)
@@ -2773,7 +2773,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
sqdata.multiconfigs = set()
for tid in sqdata.sq_revdeps:
sqdata.multiconfigs.add(mc_from_tid(tid))
if len(sqdata.sq_revdeps[tid]) == 0:
if not sqdata.sq_revdeps[tid]:
sqrq.sq_buildable.add(tid)
rqdata.init_progress_reporter.finish()
@@ -2782,6 +2782,19 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
sqdata.stamppresent = set()
sqdata.valid = set()
sqdata.hashes = {}
sqrq.sq_deferred = {}
for mc in sorted(sqdata.multiconfigs):
for tid in sorted(sqdata.sq_revdeps):
if mc_from_tid(tid) != mc:
continue
h = pending_hash_index(tid, rqdata)
if h not in sqdata.hashes:
sqdata.hashes[h] = tid
else:
sqrq.sq_deferred[tid] = sqdata.hashes[h]
bb.note("Deferring %s after %s" % (tid, sqdata.hashes[h]))
update_scenequeue_data(sqdata.sq_revdeps, sqdata, rqdata, rq, cooker, stampcache, sqrq, summary=True)
# Compute a list of 'stale' sstate tasks where the current hash does not match the one
@@ -2827,6 +2840,8 @@ def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, s
sqdata.stamppresent.remove(tid)
if tid in sqdata.valid:
sqdata.valid.remove(tid)
if tid in sqdata.outrightfail:
sqdata.outrightfail.remove(tid)
noexec, stamppresent = check_setscene_stamps(tid, rqdata, rq, stampcache, noexecstamp=True)
@@ -2844,28 +2859,20 @@ def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, s
sqdata.valid |= rq.validate_hashes(tocheck, cooker.data, len(sqdata.stamppresent), False, summary=summary)
sqdata.hashes = {}
for mc in sorted(sqdata.multiconfigs):
for tid in sorted(sqdata.sq_revdeps):
if mc_from_tid(tid) != mc:
continue
if tid in sqdata.stamppresent:
continue
if tid in sqdata.valid:
continue
if tid in sqdata.noexec:
continue
if tid in sqrq.scenequeue_notcovered:
continue
sqdata.outrightfail.add(tid)
h = pending_hash_index(tid, rqdata)
if h not in sqdata.hashes:
sqdata.hashes[h] = tid
else:
sqrq.sq_deferred[tid] = sqdata.hashes[h]
bb.note("Deferring %s after %s" % (tid, sqdata.hashes[h]))
for tid in tids:
if tid in sqdata.stamppresent:
continue
if tid in sqdata.valid:
continue
if tid in sqdata.noexec:
continue
if tid in sqrq.scenequeue_covered:
continue
if tid in sqrq.scenequeue_notcovered:
continue
if tid in sqrq.sq_deferred:
continue
sqdata.outrightfail.add(tid)
class TaskFailure(Exception):
"""
@@ -3020,7 +3027,7 @@ class runQueuePipe():
raise
end = len(self.queue)
found = True
while found and len(self.queue):
while found and self.queue:
found = False
index = self.queue.find(b"</event>")
while index != -1 and self.queue.startswith(b"<event>"):
@@ -3058,16 +3065,16 @@ class runQueuePipe():
def close(self):
while self.read():
continue
if len(self.queue) > 0:
if self.queue:
print("Warning, worker left partial message: %s" % self.queue)
self.input.close()
def get_setscene_enforce_whitelist(d, targets):
def get_setscene_enforce_ignore_tasks(d, targets):
if d.getVar('BB_SETSCENE_ENFORCE') != '1':
return None
whitelist = (d.getVar("BB_SETSCENE_ENFORCE_WHITELIST") or "").split()
ignore_tasks = (d.getVar("BB_SETSCENE_ENFORCE_IGNORE_TASKS") or "").split()
outlist = []
for item in whitelist[:]:
for item in ignore_tasks[:]:
if item.startswith('%:'):
for (mc, target, task, fn) in targets:
outlist.append(target + ':' + item.split(':')[1])
@@ -3075,12 +3082,12 @@ def get_setscene_enforce_whitelist(d, targets):
outlist.append(item)
return outlist
def check_setscene_enforce_whitelist(pn, taskname, whitelist):
def check_setscene_enforce_ignore_tasks(pn, taskname, ignore_tasks):
import fnmatch
if whitelist is not None:
if ignore_tasks is not None:
item = '%s:%s' % (pn, taskname)
for whitelist_item in whitelist:
if fnmatch.fnmatch(item, whitelist_item):
for ignore_tasks in ignore_tasks:
if fnmatch.fnmatch(item, ignore_tasks):
return True
return False
return True

View File

@@ -26,6 +26,8 @@ import errno
import re
import datetime
import pickle
import traceback
import gc
import bb.server.xmlrpcserver
from bb import daemonize
from multiprocessing import queues
@@ -147,7 +149,7 @@ class ProcessServer():
conn = newconnections.pop(-1)
fds.append(conn)
self.controllersock = conn
elif self.timeout is None and not ready:
elif not self.timeout and not ready:
serverlog("No timeout, exiting.")
self.quit = True
@@ -217,8 +219,9 @@ class ProcessServer():
self.command_channel_reply.send(self.cooker.command.runCommand(command))
serverlog("Command Completed")
except Exception as e:
serverlog('Exception in server main event loop running command %s (%s)' % (command, str(e)))
logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e)))
stack = traceback.format_exc()
serverlog('Exception in server main event loop running command %s (%s)' % (command, stack))
logger.exception('Exception in server main event loop running command %s (%s)' % (command, stack))
if self.xmlrpc in ready:
self.xmlrpc.handle_requests()
@@ -241,9 +244,6 @@ class ProcessServer():
ready = self.idle_commands(.1, fds)
if len(threading.enumerate()) != 1:
serverlog("More than one thread left?: " + str(threading.enumerate()))
serverlog("Exiting")
# Remove the socket file so we don't get any more connections to avoid races
try:
@@ -261,6 +261,9 @@ class ProcessServer():
self.cooker.post_serve()
if len(threading.enumerate()) != 1:
serverlog("More than one thread left?: " + str(threading.enumerate()))
# Flush logs before we release the lock
sys.stdout.flush()
sys.stderr.flush()
@@ -324,10 +327,10 @@ class ProcessServer():
if e.errno != errno.ENOENT:
raise
msg = "Delaying shutdown due to active processes which appear to be holding bitbake.lock"
msg = ["Delaying shutdown due to active processes which appear to be holding bitbake.lock"]
if procs:
msg += ":\n%s" % str(procs.decode("utf-8"))
serverlog(msg)
msg.append(":\n%s" % str(procs.decode("utf-8")))
serverlog("".join(msg))
def idle_commands(self, delay, fds=None):
nextsleep = delay
@@ -367,7 +370,12 @@ class ProcessServer():
self.next_heartbeat = now + self.heartbeat_seconds
if hasattr(self.cooker, "data"):
heartbeat = bb.event.HeartbeatEvent(now)
bb.event.fire(heartbeat, self.cooker.data)
try:
bb.event.fire(heartbeat, self.cooker.data)
except Exception as exc:
if not isinstance(exc, bb.BBHandledException):
logger.exception('Running heartbeat function')
self.quit = True
if nextsleep and now + nextsleep > self.next_heartbeat:
# Shorten timeout so that we we wake up in time for
# the heartbeat.
@@ -466,7 +474,7 @@ class BitBakeServer(object):
try:
r = ready.get()
except EOFError:
# Trap the child exitting/closing the pipe and error out
# Trap the child exiting/closing the pipe and error out
r = None
if not r or r[0] != "r":
ready.close()
@@ -509,7 +517,7 @@ class BitBakeServer(object):
os.set_inheritable(self.bitbake_lock.fileno(), True)
os.set_inheritable(self.readypipein, True)
serverscript = os.path.realpath(os.path.dirname(__file__) + "/../../../bin/bitbake-server")
os.execl(sys.executable, "bitbake-server", serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
os.execl(sys.executable, "bitbake-server", serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout or 0), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpcinterface):
@@ -549,7 +557,7 @@ def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpc
server.run()
finally:
# Flush any ,essages/errors to the logfile before exit
# Flush any messages/errors to the logfile before exit
sys.stdout.flush()
sys.stderr.flush()
@@ -654,7 +662,7 @@ class BBUIEventQueue:
self.reader = ConnectionReader(readfd)
self.t = threading.Thread()
self.t.setDaemon(True)
self.t.daemon = True
self.t.run = self.startCallbackHandler
self.t.start()
@@ -730,10 +738,29 @@ class ConnectionWriter(object):
# Why bb.event needs this I have no idea
self.event = self
def send(self, obj):
obj = multiprocessing.reduction.ForkingPickler.dumps(obj)
def _send(self, obj):
gc.disable()
with self.wlock:
self.writer.send_bytes(obj)
gc.enable()
def send(self, obj):
obj = multiprocessing.reduction.ForkingPickler.dumps(obj)
# See notes/code in CookerParser
# We must not terminate holding this lock else processes will hang.
# For SIGTERM, raising afterwards avoids this.
# For SIGINT, we don't want to have written partial data to the pipe.
# pthread_sigmask block/unblock would be nice but doesn't work, https://bugs.python.org/issue47139
process = multiprocessing.current_process()
if process and hasattr(process, "queue_signals"):
with process.signal_threadlock:
process.queue_signals = True
self._send(obj)
process.queue_signals = False
for sig in process.signal_received.pop():
process.handle_sig(sig, None)
else:
self._send(obj)
def fileno(self):
return self.writer.fileno()

View File

@@ -11,6 +11,7 @@ import hashlib
import time
import inspect
from xmlrpc.server import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler
import bb.server.xmlrpcclient
import bb

View File

@@ -11,6 +11,8 @@ import pickle
import bb.data
import difflib
import simplediff
import json
import bb.compress.zstd
from bb.checksum import FileChecksumCache
from bb import runqueue
import hashserv
@@ -19,6 +21,17 @@ import hashserv.client
logger = logging.getLogger('BitBake.SigGen')
hashequiv_logger = logging.getLogger('BitBake.SigGen.HashEquiv')
class SetEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, set):
return dict(_set_object=list(sorted(obj)))
return json.JSONEncoder.default(self, obj)
def SetDecoder(dct):
if '_set_object' in dct:
return set(dct['_set_object'])
return dct
def init(d):
siggens = [obj for obj in globals().values()
if type(obj) is type and issubclass(obj, SignatureGenerator)]
@@ -27,7 +40,6 @@ def init(d):
for sg in siggens:
if desired == sg.name:
return sg(d)
break
else:
logger.error("Invalid signature generator '%s', using default 'noop'\n"
"Available generators: %s", desired,
@@ -143,6 +155,9 @@ class SignatureGenerator(object):
return DataCacheProxy()
def exit(self):
return
class SignatureGeneratorBasic(SignatureGenerator):
"""
"""
@@ -159,8 +174,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
self.gendeps = {}
self.lookupcache = {}
self.setscenetasks = set()
self.basewhitelist = set((data.getVar("BB_HASHBASE_WHITELIST") or "").split())
self.taskwhitelist = None
self.basehash_ignore_vars = set((data.getVar("BB_BASEHASH_IGNORE_VARS") or "").split())
self.taskhash_ignore_tasks = None
self.init_rundepcheck(data)
checksum_cache_file = data.getVar("BB_HASH_CHECKSUM_CACHE_FILE")
if checksum_cache_file:
@@ -175,18 +190,18 @@ class SignatureGeneratorBasic(SignatureGenerator):
self.tidtopn = {}
def init_rundepcheck(self, data):
self.taskwhitelist = data.getVar("BB_HASHTASK_WHITELIST") or None
if self.taskwhitelist:
self.twl = re.compile(self.taskwhitelist)
self.taskhash_ignore_tasks = data.getVar("BB_TASKHASH_IGNORE_TASKS") or None
if self.taskhash_ignore_tasks:
self.twl = re.compile(self.taskhash_ignore_tasks)
else:
self.twl = None
def _build_data(self, fn, d):
ignore_mismatch = ((d.getVar("BB_HASH_IGNORE_MISMATCH") or '') == '1')
tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d, self.basewhitelist)
tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d, self.basehash_ignore_vars)
taskdeps, basehash = bb.data.generate_dependency_hash(tasklist, gendeps, lookupcache, self.basewhitelist, fn)
taskdeps, basehash = bb.data.generate_dependency_hash(tasklist, gendeps, lookupcache, self.basehash_ignore_vars, fn)
for task in tasklist:
tid = fn + ":" + task
@@ -228,7 +243,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
# self.dump_sigtask(fn, task, d.getVar("STAMP"), False)
for task in taskdeps:
d.setVar("BB_BASEHASH_task-%s" % task, self.basehash[fn + ":" + task])
d.setVar("BB_BASEHASH:task-%s" % task, self.basehash[fn + ":" + task])
def postparsing_clean_cache(self):
#
@@ -240,7 +255,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
def rundep_check(self, fn, recipename, task, dep, depname, dataCaches):
# Return True if we should keep the dependency, False to drop it
# We only manipulate the dependencies for packages not in the whitelist
# We only manipulate the dependencies for packages not in the ignore
# list
if self.twl and not self.twl.search(recipename):
# then process the actual dependencies
if self.twl.search(depname):
@@ -315,6 +331,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
for (f, cs) in self.file_checksum_values[tid]:
if cs:
if "/./" in f:
data = data + "./" + f.split("/./")[1]
data = data + cs
if tid in self.taints:
@@ -325,7 +343,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
h = hashlib.sha256(data.encode("utf-8")).hexdigest()
self.taskhash[tid] = h
#d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task])
#d.setVar("BB_TASKHASH:task-%s" % task, taskhash[task])
return h
def writeout_file_checksum_cache(self):
@@ -357,22 +375,27 @@ class SignatureGeneratorBasic(SignatureGenerator):
data = {}
data['task'] = task
data['basewhitelist'] = self.basewhitelist
data['taskwhitelist'] = self.taskwhitelist
data['basehash_ignore_vars'] = self.basehash_ignore_vars
data['taskhash_ignore_tasks'] = self.taskhash_ignore_tasks
data['taskdeps'] = self.taskdeps[fn][task]
data['basehash'] = self.basehash[tid]
data['gendeps'] = {}
data['varvals'] = {}
data['varvals'][task] = self.lookupcache[fn][task]
for dep in self.taskdeps[fn][task]:
if dep in self.basewhitelist:
if dep in self.basehash_ignore_vars:
continue
data['gendeps'][dep] = self.gendeps[fn][dep]
data['varvals'][dep] = self.lookupcache[fn][dep]
if runtime and tid in self.taskhash:
data['runtaskdeps'] = self.runtaskdeps[tid]
data['file_checksum_values'] = [(os.path.basename(f), cs) for f,cs in self.file_checksum_values[tid]]
data['file_checksum_values'] = []
for f,cs in self.file_checksum_values[tid]:
if "/./" in f:
data['file_checksum_values'].append(("./" + f.split("/./")[1], cs))
else:
data['file_checksum_values'].append((os.path.basename(f), cs))
data['runtaskhashes'] = {}
for dep in data['runtaskdeps']:
data['runtaskhashes'][dep] = self.get_unihash(dep)
@@ -398,11 +421,11 @@ class SignatureGeneratorBasic(SignatureGenerator):
fd, tmpfile = tempfile.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.")
try:
with os.fdopen(fd, "wb") as stream:
p = pickle.dump(data, stream, -1)
stream.flush()
with bb.compress.zstd.open(fd, "wt", encoding="utf-8", num_threads=1) as f:
json.dump(data, f, sort_keys=True, separators=(",", ":"), cls=SetEncoder)
f.flush()
os.chmod(tmpfile, 0o664)
os.rename(tmpfile, sigfile)
bb.utils.rename(tmpfile, sigfile)
except (OSError, IOError) as err:
try:
os.unlink(tmpfile)
@@ -468,6 +491,18 @@ class SignatureGeneratorUniHashMixIn(object):
self._client = hashserv.create_client(self.server)
return self._client
def reset(self, data):
if getattr(self, '_client', None) is not None:
self._client.close()
self._client = None
return super().reset(data)
def exit(self):
if getattr(self, '_client', None) is not None:
self._client.close()
self._client = None
return super().exit()
def get_stampfile_hash(self, tid):
if tid in self.taskhash:
# If a unique hash is reported, use it as the stampfile hash. This
@@ -542,7 +577,7 @@ class SignatureGeneratorUniHashMixIn(object):
hashequiv_logger.debug((1, 2)[unihash == taskhash], 'Found unihash %s in place of %s for %s from %s' % (unihash, taskhash, tid, self.server))
else:
hashequiv_logger.debug2('No reported unihash for %s:%s from %s' % (tid, taskhash, self.server))
except hashserv.client.HashConnectionError as e:
except ConnectionError as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
self.set_unihash(tid, unihash)
@@ -563,7 +598,7 @@ class SignatureGeneratorUniHashMixIn(object):
if self.setscenetasks and tid not in self.setscenetasks:
return
# This can happen if locked sigs are in action. Detect and just abort
# This can happen if locked sigs are in action. Detect and just exit
if taskhash != self.taskhash[tid]:
return
@@ -621,7 +656,7 @@ class SignatureGeneratorUniHashMixIn(object):
d.setVar('BB_UNIHASH', new_unihash)
else:
hashequiv_logger.debug('Reported task %s as unihash %s to %s' % (taskhash, unihash, self.server))
except hashserv.client.HashConnectionError as e:
except ConnectionError as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
finally:
if sigfile:
@@ -661,7 +696,7 @@ class SignatureGeneratorUniHashMixIn(object):
# TODO: What to do here?
hashequiv_logger.verbose('Task %s unihash reported as unwanted hash %s' % (tid, finalunihash))
except hashserv.client.HashConnectionError as e:
except ConnectionError as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
return False
@@ -774,6 +809,16 @@ def clean_basepaths_list(a):
b.append(clean_basepath(x))
return b
# Handled renamed fields
def handle_renames(data):
if 'basewhitelist' in data:
data['basehash_ignore_vars'] = data['basewhitelist']
del data['basewhitelist']
if 'taskwhitelist' in data:
data['taskhash_ignore_tasks'] = data['taskwhitelist']
del data['taskwhitelist']
def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
output = []
@@ -794,20 +839,21 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
formatparams.update(values)
return formatstr.format(**formatparams)
with open(a, 'rb') as f:
p1 = pickle.Unpickler(f)
a_data = p1.load()
with open(b, 'rb') as f:
p2 = pickle.Unpickler(f)
b_data = p2.load()
with bb.compress.zstd.open(a, "rt", encoding="utf-8", num_threads=1) as f:
a_data = json.load(f, object_hook=SetDecoder)
with bb.compress.zstd.open(b, "rt", encoding="utf-8", num_threads=1) as f:
b_data = json.load(f, object_hook=SetDecoder)
def dict_diff(a, b, whitelist=set()):
for data in [a_data, b_data]:
handle_renames(data)
def dict_diff(a, b, ignored_vars=set()):
sa = set(a.keys())
sb = set(b.keys())
common = sa & sb
changed = set()
for i in common:
if a[i] != b[i] and i not in whitelist:
if a[i] != b[i] and i not in ignored_vars:
changed.add(i)
added = sb - sa
removed = sa - sb
@@ -815,11 +861,11 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
def file_checksums_diff(a, b):
from collections import Counter
# Handle old siginfo format
if isinstance(a, dict):
a = [(os.path.basename(f), cs) for f, cs in a.items()]
if isinstance(b, dict):
b = [(os.path.basename(f), cs) for f, cs in b.items()]
# Convert lists back to tuples
a = [(f[0], f[1]) for f in a]
b = [(f[0], f[1]) for f in b]
# Compare lists, ensuring we can handle duplicate filenames if they exist
removedcount = Counter(a)
removedcount.subtract(b)
@@ -846,15 +892,15 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
removed = [x[0] for x in removed]
return changed, added, removed
if 'basewhitelist' in a_data and a_data['basewhitelist'] != b_data['basewhitelist']:
output.append(color_format("{color_title}basewhitelist changed{color_default} from '%s' to '%s'") % (a_data['basewhitelist'], b_data['basewhitelist']))
if a_data['basewhitelist'] and b_data['basewhitelist']:
output.append("changed items: %s" % a_data['basewhitelist'].symmetric_difference(b_data['basewhitelist']))
if 'basehash_ignore_vars' in a_data and a_data['basehash_ignore_vars'] != b_data['basehash_ignore_vars']:
output.append(color_format("{color_title}basehash_ignore_vars changed{color_default} from '%s' to '%s'") % (a_data['basehash_ignore_vars'], b_data['basehash_ignore_vars']))
if a_data['basehash_ignore_vars'] and b_data['basehash_ignore_vars']:
output.append("changed items: %s" % a_data['basehash_ignore_vars'].symmetric_difference(b_data['basehash_ignore_vars']))
if 'taskwhitelist' in a_data and a_data['taskwhitelist'] != b_data['taskwhitelist']:
output.append(color_format("{color_title}taskwhitelist changed{color_default} from '%s' to '%s'") % (a_data['taskwhitelist'], b_data['taskwhitelist']))
if a_data['taskwhitelist'] and b_data['taskwhitelist']:
output.append("changed items: %s" % a_data['taskwhitelist'].symmetric_difference(b_data['taskwhitelist']))
if 'taskhash_ignore_tasks' in a_data and a_data['taskhash_ignore_tasks'] != b_data['taskhash_ignore_tasks']:
output.append(color_format("{color_title}taskhash_ignore_tasks changed{color_default} from '%s' to '%s'") % (a_data['taskhash_ignore_tasks'], b_data['taskhash_ignore_tasks']))
if a_data['taskhash_ignore_tasks'] and b_data['taskhash_ignore_tasks']:
output.append("changed items: %s" % a_data['taskhash_ignore_tasks'].symmetric_difference(b_data['taskhash_ignore_tasks']))
if a_data['taskdeps'] != b_data['taskdeps']:
output.append(color_format("{color_title}Task dependencies changed{color_default} from:\n%s\nto:\n%s") % (sorted(a_data['taskdeps']), sorted(b_data['taskdeps'])))
@@ -862,23 +908,23 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
if a_data['basehash'] != b_data['basehash'] and not collapsed:
output.append(color_format("{color_title}basehash changed{color_default} from %s to %s") % (a_data['basehash'], b_data['basehash']))
changed, added, removed = dict_diff(a_data['gendeps'], b_data['gendeps'], a_data['basewhitelist'] & b_data['basewhitelist'])
changed, added, removed = dict_diff(a_data['gendeps'], b_data['gendeps'], a_data['basehash_ignore_vars'] & b_data['basehash_ignore_vars'])
if changed:
for dep in changed:
for dep in sorted(changed):
output.append(color_format("{color_title}List of dependencies for variable %s changed from '{color_default}%s{color_title}' to '{color_default}%s{color_title}'") % (dep, a_data['gendeps'][dep], b_data['gendeps'][dep]))
if a_data['gendeps'][dep] and b_data['gendeps'][dep]:
output.append("changed items: %s" % a_data['gendeps'][dep].symmetric_difference(b_data['gendeps'][dep]))
if added:
for dep in added:
for dep in sorted(added):
output.append(color_format("{color_title}Dependency on variable %s was added") % (dep))
if removed:
for dep in removed:
for dep in sorted(removed):
output.append(color_format("{color_title}Dependency on Variable %s was removed") % (dep))
changed, added, removed = dict_diff(a_data['varvals'], b_data['varvals'])
if changed:
for dep in changed:
for dep in sorted(changed):
oldval = a_data['varvals'][dep]
newval = b_data['varvals'][dep]
if newval and oldval and ('\n' in oldval or '\n' in newval):
@@ -902,9 +948,9 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
output.append(color_format("{color_title}Variable {var} value changed from '{color_default}{oldval}{color_title}' to '{color_default}{newval}{color_title}'{color_default}", var=dep, oldval=oldval, newval=newval))
if not 'file_checksum_values' in a_data:
a_data['file_checksum_values'] = {}
a_data['file_checksum_values'] = []
if not 'file_checksum_values' in b_data:
b_data['file_checksum_values'] = {}
b_data['file_checksum_values'] = []
changed, added, removed = file_checksums_diff(a_data['file_checksum_values'], b_data['file_checksum_values'])
if changed:
@@ -944,11 +990,11 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
if 'runtaskhashes' in a_data and 'runtaskhashes' in b_data:
a = a_data['runtaskhashes']
b = b_data['runtaskhashes']
a = clean_basepaths(a_data['runtaskhashes'])
b = clean_basepaths(b_data['runtaskhashes'])
changed, added, removed = dict_diff(a, b)
if added:
for dep in added:
for dep in sorted(added):
bdep_found = False
if removed:
for bdep in removed:
@@ -956,9 +1002,9 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
#output.append("Dependency on task %s was replaced by %s with same hash" % (dep, bdep))
bdep_found = True
if not bdep_found:
output.append(color_format("{color_title}Dependency on task %s was added{color_default} with hash %s") % (clean_basepath(dep), b[dep]))
output.append(color_format("{color_title}Dependency on task %s was added{color_default} with hash %s") % (dep, b[dep]))
if removed:
for dep in removed:
for dep in sorted(removed):
adep_found = False
if added:
for adep in added:
@@ -966,11 +1012,11 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
#output.append("Dependency on task %s was replaced by %s with same hash" % (adep, dep))
adep_found = True
if not adep_found:
output.append(color_format("{color_title}Dependency on task %s was removed{color_default} with hash %s") % (clean_basepath(dep), a[dep]))
output.append(color_format("{color_title}Dependency on task %s was removed{color_default} with hash %s") % (dep, a[dep]))
if changed:
for dep in changed:
for dep in sorted(changed):
if not collapsed:
output.append(color_format("{color_title}Hash for dependent task %s changed{color_default} from %s to %s") % (clean_basepath(dep), a[dep], b[dep]))
output.append(color_format("{color_title}Hash for task dependency %s changed{color_default} from %s to %s") % (dep, a[dep], b[dep]))
if callable(recursecb):
recout = recursecb(dep, a[dep], b[dep])
if recout:
@@ -1017,6 +1063,8 @@ def calc_taskhash(sigdata):
for c in sigdata['file_checksum_values']:
if c[1]:
if "./" in c[0]:
data = data + c[0]
data = data + c[1]
if 'taint' in sigdata:
@@ -1031,32 +1079,33 @@ def calc_taskhash(sigdata):
def dump_sigfile(a):
output = []
with open(a, 'rb') as f:
p1 = pickle.Unpickler(f)
a_data = p1.load()
with bb.compress.zstd.open(a, "rt", encoding="utf-8", num_threads=1) as f:
a_data = json.load(f, object_hook=SetDecoder)
output.append("basewhitelist: %s" % (a_data['basewhitelist']))
handle_renames(a_data)
output.append("taskwhitelist: %s" % (a_data['taskwhitelist']))
output.append("basehash_ignore_vars: %s" % (sorted(a_data['basehash_ignore_vars'])))
output.append("taskhash_ignore_tasks: %s" % (sorted(a_data['taskhash_ignore_tasks'] or [])))
output.append("Task dependencies: %s" % (sorted(a_data['taskdeps'])))
output.append("basehash: %s" % (a_data['basehash']))
for dep in a_data['gendeps']:
output.append("List of dependencies for variable %s is %s" % (dep, a_data['gendeps'][dep]))
for dep in sorted(a_data['gendeps']):
output.append("List of dependencies for variable %s is %s" % (dep, sorted(a_data['gendeps'][dep])))
for dep in a_data['varvals']:
for dep in sorted(a_data['varvals']):
output.append("Variable %s value is %s" % (dep, a_data['varvals'][dep]))
if 'runtaskdeps' in a_data:
output.append("Tasks this task depends on: %s" % (a_data['runtaskdeps']))
output.append("Tasks this task depends on: %s" % (sorted(a_data['runtaskdeps'])))
if 'file_checksum_values' in a_data:
output.append("This task depends on the checksums of files: %s" % (a_data['file_checksum_values']))
output.append("This task depends on the checksums of files: %s" % (sorted(a_data['file_checksum_values'])))
if 'runtaskhashes' in a_data:
for dep in a_data['runtaskhashes']:
for dep in sorted(a_data['runtaskhashes']):
output.append("Hash for dependent task %s is %s" % (dep, a_data['runtaskhashes'][dep]))
if 'taint' in a_data:

View File

@@ -39,7 +39,7 @@ class TaskData:
"""
BitBake Task Data implementation
"""
def __init__(self, abort = True, skiplist = None, allowincomplete = False):
def __init__(self, halt = True, skiplist = None, allowincomplete = False):
self.build_targets = {}
self.run_targets = {}
@@ -57,7 +57,7 @@ class TaskData:
self.failed_rdeps = []
self.failed_fns = []
self.abort = abort
self.halt = halt
self.allowincomplete = allowincomplete
self.skiplist = skiplist
@@ -328,7 +328,7 @@ class TaskData:
try:
self.add_provider_internal(cfgData, dataCache, item)
except bb.providers.NoProvider:
if self.abort:
if self.halt:
raise
self.remove_buildtarget(item)
@@ -451,12 +451,12 @@ class TaskData:
for target in self.build_targets:
if fn in self.build_targets[target]:
self.build_targets[target].remove(fn)
if len(self.build_targets[target]) == 0:
if not self.build_targets[target]:
self.remove_buildtarget(target, missing_list)
for target in self.run_targets:
if fn in self.run_targets[target]:
self.run_targets[target].remove(fn)
if len(self.run_targets[target]) == 0:
if not self.run_targets[target]:
self.remove_runtarget(target, missing_list)
def remove_buildtarget(self, target, missing_list=None):
@@ -479,7 +479,7 @@ class TaskData:
fn = tid.rsplit(":",1)[0]
self.fail_fn(fn, missing_list)
if self.abort and target in self.external_targets:
if self.halt and target in self.external_targets:
logger.error("Required build target '%s' has no buildable providers.\nMissing or unbuildable dependency chain was: %s", target, missing_list)
raise bb.providers.NoProvider(target)
@@ -516,7 +516,7 @@ class TaskData:
self.add_provider_internal(cfgData, dataCache, target)
added = added + 1
except bb.providers.NoProvider:
if self.abort and target in self.external_targets and not self.allowincomplete:
if self.halt and target in self.external_targets and not self.allowincomplete:
raise
if not self.allowincomplete:
self.remove_buildtarget(target)

View File

@@ -111,9 +111,9 @@ ${D}${libdir}/pkgconfig/*.pc
self.assertExecs(set(["sed"]))
def test_parameter_expansion_modifiers(self):
# - and + are also valid modifiers for parameter expansion, but are
# -,+ and : are also valid modifiers for parameter expansion, but are
# valid characters in bitbake variable names, so are not included here
for i in ('=', ':-', ':=', '?', ':?', ':+', '#', '%', '##', '%%'):
for i in ('=', '?', '#', '%', '##', '%%'):
name = "foo%sbar" % i
self.parseExpression("${%s}" % name)
self.assertNotIn(name, self.references)
@@ -318,7 +318,7 @@ d.getVar(a(), False)
"filename": "example.bb",
})
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(deps, set(["somevar", "bar", "something", "inexpand", "test", "test2", "a"]))
@@ -365,7 +365,7 @@ esac
self.d.setVarFlags("FOO", {"func": True})
self.setEmptyVars(execs)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(deps, set(["somevar", "inverted"] + execs))
@@ -375,7 +375,7 @@ esac
self.d.setVar("FOO", "foo=oe_libinstall; eval $foo")
self.d.setVarFlag("FOO", "vardeps", "oe_libinstall")
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(deps, set(["oe_libinstall"]))
@@ -384,7 +384,7 @@ esac
self.d.setVar("FOO", "foo=oe_libinstall; eval $foo")
self.d.setVarFlag("FOO", "vardeps", "${@'oe_libinstall'}")
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(deps, set(["oe_libinstall"]))
@@ -399,7 +399,7 @@ esac
# Check dependencies
self.d.setVar('ANOTHERVAR', expr)
self.d.setVar('TESTVAR', 'anothervalue testval testval2')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(sorted(values.splitlines()),
sorted([expr,
'TESTVAR{anothervalue} = Set',
@@ -412,6 +412,24 @@ esac
# Check final value
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['anothervalue', 'yetanothervalue', 'lastone'])
def test_contains_vardeps_excluded(self):
# Check the ignored_vars option to build_dependencies is handled by contains functionality
varval = '${TESTVAR2} ${@bb.utils.filter("TESTVAR", "somevalue anothervalue", d)}'
self.d.setVar('ANOTHERVAR', varval)
self.d.setVar('TESTVAR', 'anothervalue testval testval2')
self.d.setVar('TESTVAR2', 'testval3')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(["TESTVAR"]), self.d)
self.assertEqual(sorted(values.splitlines()), sorted([varval]))
self.assertEqual(deps, set(["TESTVAR2"]))
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval3', 'anothervalue'])
# Check the vardepsexclude flag is handled by contains functionality
self.d.setVarFlag('ANOTHERVAR', 'vardepsexclude', 'TESTVAR')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(sorted(values.splitlines()), sorted([varval]))
self.assertEqual(deps, set(["TESTVAR2"]))
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval3', 'anothervalue'])
#Currently no wildcard support
#def test_vardeps_wildcards(self):
# self.d.setVar("oe_libinstall", "echo test")

View File

@@ -0,0 +1,98 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
from pathlib import Path
import bb.compress.lz4
import bb.compress.zstd
import contextlib
import os
import shutil
import tempfile
import unittest
import subprocess
class CompressionTests(object):
def setUp(self):
self._t = tempfile.TemporaryDirectory()
self.tmpdir = Path(self._t.name)
self.addCleanup(self._t.cleanup)
def _file_helper(self, mode_suffix, data):
tmp_file = self.tmpdir / "compressed"
with self.do_open(tmp_file, mode="w" + mode_suffix) as f:
f.write(data)
with self.do_open(tmp_file, mode="r" + mode_suffix) as f:
read_data = f.read()
self.assertEqual(read_data, data)
def test_text_file(self):
self._file_helper("t", "Hello")
def test_binary_file(self):
self._file_helper("b", "Hello".encode("utf-8"))
def _pipe_helper(self, mode_suffix, data):
rfd, wfd = os.pipe()
with open(rfd, "rb") as r, open(wfd, "wb") as w:
with self.do_open(r, mode="r" + mode_suffix) as decompress:
with self.do_open(w, mode="w" + mode_suffix) as compress:
compress.write(data)
read_data = decompress.read()
self.assertEqual(read_data, data)
def test_text_pipe(self):
self._pipe_helper("t", "Hello")
def test_binary_pipe(self):
self._pipe_helper("b", "Hello".encode("utf-8"))
def test_bad_decompress(self):
tmp_file = self.tmpdir / "compressed"
with tmp_file.open("wb") as f:
f.write(b"\x00")
with self.assertRaises(OSError):
with self.do_open(tmp_file, mode="rb", stderr=subprocess.DEVNULL) as f:
data = f.read()
class LZ4Tests(CompressionTests, unittest.TestCase):
def setUp(self):
if shutil.which("lz4c") is None:
self.skipTest("'lz4c' not found")
super().setUp()
@contextlib.contextmanager
def do_open(self, *args, **kwargs):
with bb.compress.lz4.open(*args, **kwargs) as f:
yield f
class ZStdTests(CompressionTests, unittest.TestCase):
def setUp(self):
if shutil.which("zstd") is None:
self.skipTest("'zstd' not found")
super().setUp()
@contextlib.contextmanager
def do_open(self, *args, **kwargs):
with bb.compress.zstd.open(*args, **kwargs) as f:
yield f
class PZStdTests(CompressionTests, unittest.TestCase):
def setUp(self):
if shutil.which("pzstd") is None:
self.skipTest("'pzstd' not found")
super().setUp()
@contextlib.contextmanager
def do_open(self, *args, **kwargs):
with bb.compress.zstd.open(*args, num_threads=2, **kwargs) as f:
yield f

View File

@@ -245,35 +245,35 @@ class TestConcatOverride(unittest.TestCase):
def test_prepend(self):
self.d.setVar("TEST", "${VAL}")
self.d.setVar("TEST_prepend", "${FOO}:")
self.d.setVar("TEST:prepend", "${FOO}:")
self.assertEqual(self.d.getVar("TEST"), "foo:val")
def test_append(self):
self.d.setVar("TEST", "${VAL}")
self.d.setVar("TEST_append", ":${BAR}")
self.d.setVar("TEST:append", ":${BAR}")
self.assertEqual(self.d.getVar("TEST"), "val:bar")
def test_multiple_append(self):
self.d.setVar("TEST", "${VAL}")
self.d.setVar("TEST_prepend", "${FOO}:")
self.d.setVar("TEST_append", ":val2")
self.d.setVar("TEST_append", ":${BAR}")
self.d.setVar("TEST:prepend", "${FOO}:")
self.d.setVar("TEST:append", ":val2")
self.d.setVar("TEST:append", ":${BAR}")
self.assertEqual(self.d.getVar("TEST"), "foo:val:val2:bar")
def test_append_unset(self):
self.d.setVar("TEST_prepend", "${FOO}:")
self.d.setVar("TEST_append", ":val2")
self.d.setVar("TEST_append", ":${BAR}")
self.d.setVar("TEST:prepend", "${FOO}:")
self.d.setVar("TEST:append", ":val2")
self.d.setVar("TEST:append", ":${BAR}")
self.assertEqual(self.d.getVar("TEST"), "foo::val2:bar")
def test_remove(self):
self.d.setVar("TEST", "${VAL} ${BAR}")
self.d.setVar("TEST_remove", "val")
self.d.setVar("TEST:remove", "val")
self.assertEqual(self.d.getVar("TEST"), " bar")
def test_remove_cleared(self):
self.d.setVar("TEST", "${VAL} ${BAR}")
self.d.setVar("TEST_remove", "val")
self.d.setVar("TEST:remove", "val")
self.d.setVar("TEST", "${VAL} ${BAR}")
self.assertEqual(self.d.getVar("TEST"), "val bar")
@@ -281,42 +281,42 @@ class TestConcatOverride(unittest.TestCase):
# (including that whitespace is preserved)
def test_remove_inactive_override(self):
self.d.setVar("TEST", "${VAL} ${BAR} 123")
self.d.setVar("TEST_remove_inactiveoverride", "val")
self.d.setVar("TEST:remove:inactiveoverride", "val")
self.assertEqual(self.d.getVar("TEST"), "val bar 123")
def test_doubleref_remove(self):
self.d.setVar("TEST", "${VAL} ${BAR}")
self.d.setVar("TEST_remove", "val")
self.d.setVar("TEST:remove", "val")
self.d.setVar("TEST_TEST", "${TEST} ${TEST}")
self.assertEqual(self.d.getVar("TEST_TEST"), " bar bar")
def test_empty_remove(self):
self.d.setVar("TEST", "")
self.d.setVar("TEST_remove", "val")
self.d.setVar("TEST:remove", "val")
self.assertEqual(self.d.getVar("TEST"), "")
def test_remove_expansion(self):
self.d.setVar("BAR", "Z")
self.d.setVar("TEST", "${BAR}/X Y")
self.d.setVar("TEST_remove", "${BAR}/X")
self.d.setVar("TEST:remove", "${BAR}/X")
self.assertEqual(self.d.getVar("TEST"), " Y")
def test_remove_expansion_items(self):
self.d.setVar("TEST", "A B C D")
self.d.setVar("BAR", "B D")
self.d.setVar("TEST_remove", "${BAR}")
self.d.setVar("TEST:remove", "${BAR}")
self.assertEqual(self.d.getVar("TEST"), "A C ")
def test_remove_preserve_whitespace(self):
# When the removal isn't active, the original value should be preserved
self.d.setVar("TEST", " A B")
self.d.setVar("TEST_remove", "C")
self.d.setVar("TEST:remove", "C")
self.assertEqual(self.d.getVar("TEST"), " A B")
def test_remove_preserve_whitespace2(self):
# When the removal is active preserve the whitespace
self.d.setVar("TEST", " A B")
self.d.setVar("TEST_remove", "B")
self.d.setVar("TEST:remove", "B")
self.assertEqual(self.d.getVar("TEST"), " A ")
class TestOverrides(unittest.TestCase):
@@ -329,70 +329,70 @@ class TestOverrides(unittest.TestCase):
self.assertEqual(self.d.getVar("TEST"), "testvalue")
def test_one_override(self):
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST:bar", "testvalue2")
self.assertEqual(self.d.getVar("TEST"), "testvalue2")
def test_one_override_unset(self):
self.d.setVar("TEST2_bar", "testvalue2")
self.d.setVar("TEST2:bar", "testvalue2")
self.assertEqual(self.d.getVar("TEST2"), "testvalue2")
self.assertCountEqual(list(self.d.keys()), ['TEST', 'TEST2', 'OVERRIDES', 'TEST2_bar'])
self.assertCountEqual(list(self.d.keys()), ['TEST', 'TEST2', 'OVERRIDES', 'TEST2:bar'])
def test_multiple_override(self):
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST_local", "testvalue3")
self.d.setVar("TEST_foo", "testvalue4")
self.d.setVar("TEST:bar", "testvalue2")
self.d.setVar("TEST:local", "testvalue3")
self.d.setVar("TEST:foo", "testvalue4")
self.assertEqual(self.d.getVar("TEST"), "testvalue3")
self.assertCountEqual(list(self.d.keys()), ['TEST', 'TEST_foo', 'OVERRIDES', 'TEST_bar', 'TEST_local'])
self.assertCountEqual(list(self.d.keys()), ['TEST', 'TEST:foo', 'OVERRIDES', 'TEST:bar', 'TEST:local'])
def test_multiple_combined_overrides(self):
self.d.setVar("TEST_local_foo_bar", "testvalue3")
self.d.setVar("TEST:local:foo:bar", "testvalue3")
self.assertEqual(self.d.getVar("TEST"), "testvalue3")
def test_multiple_overrides_unset(self):
self.d.setVar("TEST2_local_foo_bar", "testvalue3")
self.d.setVar("TEST2:local:foo:bar", "testvalue3")
self.assertEqual(self.d.getVar("TEST2"), "testvalue3")
def test_keyexpansion_override(self):
self.d.setVar("LOCAL", "local")
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST_${LOCAL}", "testvalue3")
self.d.setVar("TEST_foo", "testvalue4")
self.d.setVar("TEST:bar", "testvalue2")
self.d.setVar("TEST:${LOCAL}", "testvalue3")
self.d.setVar("TEST:foo", "testvalue4")
bb.data.expandKeys(self.d)
self.assertEqual(self.d.getVar("TEST"), "testvalue3")
def test_rename_override(self):
self.d.setVar("ALTERNATIVE_ncurses-tools_class-target", "a")
self.d.setVar("ALTERNATIVE:ncurses-tools:class-target", "a")
self.d.setVar("OVERRIDES", "class-target")
self.d.renameVar("ALTERNATIVE_ncurses-tools", "ALTERNATIVE_lib32-ncurses-tools")
self.assertEqual(self.d.getVar("ALTERNATIVE_lib32-ncurses-tools"), "a")
self.d.renameVar("ALTERNATIVE:ncurses-tools", "ALTERNATIVE:lib32-ncurses-tools")
self.assertEqual(self.d.getVar("ALTERNATIVE:lib32-ncurses-tools"), "a")
def test_underscore_override(self):
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST_some_val", "testvalue3")
self.d.setVar("TEST_foo", "testvalue4")
self.d.setVar("TEST:bar", "testvalue2")
self.d.setVar("TEST:some_val", "testvalue3")
self.d.setVar("TEST:foo", "testvalue4")
self.d.setVar("OVERRIDES", "foo:bar:some_val")
self.assertEqual(self.d.getVar("TEST"), "testvalue3")
def test_remove_with_override(self):
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST_some_val", "testvalue3 testvalue5")
self.d.setVar("TEST_some_val_remove", "testvalue3")
self.d.setVar("TEST_foo", "testvalue4")
self.d.setVar("TEST:bar", "testvalue2")
self.d.setVar("TEST:some_val", "testvalue3 testvalue5")
self.d.setVar("TEST:some_val:remove", "testvalue3")
self.d.setVar("TEST:foo", "testvalue4")
self.d.setVar("OVERRIDES", "foo:bar:some_val")
self.assertEqual(self.d.getVar("TEST"), " testvalue5")
def test_append_and_override_1(self):
self.d.setVar("TEST_append", "testvalue2")
self.d.setVar("TEST_bar", "testvalue3")
self.d.setVar("TEST:append", "testvalue2")
self.d.setVar("TEST:bar", "testvalue3")
self.assertEqual(self.d.getVar("TEST"), "testvalue3testvalue2")
def test_append_and_override_2(self):
self.d.setVar("TEST_append_bar", "testvalue2")
self.d.setVar("TEST:append:bar", "testvalue2")
self.assertEqual(self.d.getVar("TEST"), "testvaluetestvalue2")
def test_append_and_override_3(self):
self.d.setVar("TEST_bar_append", "testvalue2")
self.d.setVar("TEST:bar:append", "testvalue2")
self.assertEqual(self.d.getVar("TEST"), "testvalue2")
# Test an override with _<numeric> in it based on a real world OE issue
@@ -400,11 +400,16 @@ class TestOverrides(unittest.TestCase):
self.d.setVar("TARGET_ARCH", "x86_64")
self.d.setVar("PN", "test-${TARGET_ARCH}")
self.d.setVar("VERSION", "1")
self.d.setVar("VERSION_pn-test-${TARGET_ARCH}", "2")
self.d.setVar("VERSION:pn-test-${TARGET_ARCH}", "2")
self.d.setVar("OVERRIDES", "pn-${PN}")
bb.data.expandKeys(self.d)
self.assertEqual(self.d.getVar("VERSION"), "2")
def test_append_and_unused_override(self):
# Had a bug where an unused override append could return "" instead of None
self.d.setVar("BAR:append:unusedoverride", "testvalue2")
self.assertEqual(self.d.getVar("BAR"), None)
class TestKeyExpansion(unittest.TestCase):
def setUp(self):
self.d = bb.data.init()
@@ -498,7 +503,7 @@ class TaskHash(unittest.TestCase):
d.setVar("VAR", "val")
# Adding an inactive removal shouldn't change the hash
d.setVar("BAR", "notbar")
d.setVar("MYCOMMAND_remove", "${BAR}")
d.setVar("MYCOMMAND:remove", "${BAR}")
nexthash = gettask_bashhash("mytask", d)
self.assertEqual(orighash, nexthash)

View File

@@ -0,0 +1,59 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /debian/pool/main/m/minicom</title>
</head>
<body>
<h1>Index of /debian/pool/main/m/minicom</h1>
<table>
<tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th></tr>
<tr><th colspan="4"><hr></th></tr>
<tr><td valign="top"><img src="/icons/back.gif" alt="[PARENTDIR]"></td><td><a href="/debian/pool/main/m/">Parent Directory</a></td><td>&nbsp;</td><td align="right"> - </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1.debian.tar.xz">minicom_2.7-1+deb8u1.debian.tar.xz</a></td><td align="right">2017-04-24 08:22 </td><td align="right"> 14K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1.dsc">minicom_2.7-1+deb8u1.dsc</a></td><td align="right">2017-04-24 08:22 </td><td align="right">1.9K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1_amd64.deb">minicom_2.7-1+deb8u1_amd64.deb</a></td><td align="right">2017-04-25 21:10 </td><td align="right">257K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1_armel.deb">minicom_2.7-1+deb8u1_armel.deb</a></td><td align="right">2017-04-26 00:58 </td><td align="right">246K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1_armhf.deb">minicom_2.7-1+deb8u1_armhf.deb</a></td><td align="right">2017-04-26 00:58 </td><td align="right">245K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1_i386.deb">minicom_2.7-1+deb8u1_i386.deb</a></td><td align="right">2017-04-25 21:41 </td><td align="right">258K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1.debian.tar.xz">minicom_2.7-1.1.debian.tar.xz</a></td><td align="right">2017-04-22 09:34 </td><td align="right"> 14K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1.dsc">minicom_2.7-1.1.dsc</a></td><td align="right">2017-04-22 09:34 </td><td align="right">1.9K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_amd64.deb">minicom_2.7-1.1_amd64.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">261K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_arm64.deb">minicom_2.7-1.1_arm64.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">250K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_armel.deb">minicom_2.7-1.1_armel.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">255K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_armhf.deb">minicom_2.7-1.1_armhf.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">254K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_i386.deb">minicom_2.7-1.1_i386.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">266K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_mips.deb">minicom_2.7-1.1_mips.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">258K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_mips64el.deb">minicom_2.7-1.1_mips64el.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">259K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_mipsel.deb">minicom_2.7-1.1_mipsel.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">259K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_ppc64el.deb">minicom_2.7-1.1_ppc64el.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">253K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_s390x.deb">minicom_2.7-1.1_s390x.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">261K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_amd64.deb">minicom_2.7.1-1+b1_amd64.deb</a></td><td align="right">2018-05-06 08:14 </td><td align="right">262K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_arm64.deb">minicom_2.7.1-1+b1_arm64.deb</a></td><td align="right">2018-05-06 07:58 </td><td align="right">250K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_armel.deb">minicom_2.7.1-1+b1_armel.deb</a></td><td align="right">2018-05-06 08:45 </td><td align="right">253K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_armhf.deb">minicom_2.7.1-1+b1_armhf.deb</a></td><td align="right">2018-05-06 10:42 </td><td align="right">253K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_i386.deb">minicom_2.7.1-1+b1_i386.deb</a></td><td align="right">2018-05-06 08:55 </td><td align="right">266K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_mips.deb">minicom_2.7.1-1+b1_mips.deb</a></td><td align="right">2018-05-06 08:14 </td><td align="right">258K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_mipsel.deb">minicom_2.7.1-1+b1_mipsel.deb</a></td><td align="right">2018-05-06 12:13 </td><td align="right">259K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_ppc64el.deb">minicom_2.7.1-1+b1_ppc64el.deb</a></td><td align="right">2018-05-06 09:10 </td><td align="right">260K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_s390x.deb">minicom_2.7.1-1+b1_s390x.deb</a></td><td align="right">2018-05-06 08:14 </td><td align="right">257K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b2_mips64el.deb">minicom_2.7.1-1+b2_mips64el.deb</a></td><td align="right">2018-05-06 09:41 </td><td align="right">260K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1.debian.tar.xz">minicom_2.7.1-1.debian.tar.xz</a></td><td align="right">2017-08-13 15:40 </td><td align="right"> 14K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1.dsc">minicom_2.7.1-1.dsc</a></td><td align="right">2017-08-13 15:40 </td><td align="right">1.8K</td></tr>
<tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="minicom_2.7.1.orig.tar.gz">minicom_2.7.1.orig.tar.gz</a></td><td align="right">2017-08-13 15:40 </td><td align="right">855K</td></tr>
<tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="minicom_2.7.orig.tar.gz">minicom_2.7.orig.tar.gz</a></td><td align="right">2014-01-01 09:36 </td><td align="right">843K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2.debian.tar.xz">minicom_2.8-2.debian.tar.xz</a></td><td align="right">2021-06-15 03:47 </td><td align="right"> 14K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2.dsc">minicom_2.8-2.dsc</a></td><td align="right">2021-06-15 03:47 </td><td align="right">1.8K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_amd64.deb">minicom_2.8-2_amd64.deb</a></td><td align="right">2021-06-15 03:58 </td><td align="right">280K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_arm64.deb">minicom_2.8-2_arm64.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">275K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_armel.deb">minicom_2.8-2_armel.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">271K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_armhf.deb">minicom_2.8-2_armhf.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">272K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_i386.deb">minicom_2.8-2_i386.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">285K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_mips64el.deb">minicom_2.8-2_mips64el.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">277K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_mipsel.deb">minicom_2.8-2_mipsel.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">278K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_ppc64el.deb">minicom_2.8-2_ppc64el.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">286K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_s390x.deb">minicom_2.8-2_s390x.deb</a></td><td align="right">2021-06-15 03:58 </td><td align="right">275K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8.orig.tar.bz2">minicom_2.8.orig.tar.bz2</a></td><td align="right">2021-01-03 12:44 </td><td align="right">598K</td></tr>
<tr><th colspan="4"><hr></th></tr>
</table>
<address>Apache Server at ftp.debian.org Port 80</address>
</body></html>

File diff suppressed because it is too large Load Diff

View File

@@ -98,8 +98,8 @@ exportD = "d"
overridetest = """
RRECOMMENDS_${PN} = "a"
RRECOMMENDS_${PN}_libc = "b"
RRECOMMENDS:${PN} = "a"
RRECOMMENDS:${PN}:libc = "b"
OVERRIDES = "libc:${PN}"
PN = "gtk+"
"""
@@ -110,16 +110,16 @@ PN = "gtk+"
self.assertEqual(d.getVar("RRECOMMENDS"), "b")
bb.data.expandKeys(d)
self.assertEqual(d.getVar("RRECOMMENDS"), "b")
d.setVar("RRECOMMENDS_gtk+", "c")
d.setVar("RRECOMMENDS:gtk+", "c")
self.assertEqual(d.getVar("RRECOMMENDS"), "c")
overridetest2 = """
EXTRA_OECONF = ""
EXTRA_OECONF_class-target = "b"
EXTRA_OECONF_append = " c"
EXTRA_OECONF:class-target = "b"
EXTRA_OECONF:append = " c"
"""
def test_parse_overrides(self):
def test_parse_overrides2(self):
f = self.parsehelper(self.overridetest2)
d = bb.parse.handle(f.name, self.d)['']
d.appendVar("EXTRA_OECONF", " d")
@@ -128,7 +128,7 @@ EXTRA_OECONF_append = " c"
overridetest3 = """
DESCRIPTION = "A"
DESCRIPTION_${PN}-dev = "${DESCRIPTION} B"
DESCRIPTION:${PN}-dev = "${DESCRIPTION} B"
PN = "bc"
"""
@@ -136,15 +136,15 @@ PN = "bc"
f = self.parsehelper(self.overridetest3)
d = bb.parse.handle(f.name, self.d)['']
bb.data.expandKeys(d)
self.assertEqual(d.getVar("DESCRIPTION_bc-dev"), "A B")
self.assertEqual(d.getVar("DESCRIPTION:bc-dev"), "A B")
d.setVar("DESCRIPTION", "E")
d.setVar("DESCRIPTION_bc-dev", "C D")
d.setVar("DESCRIPTION:bc-dev", "C D")
d.setVar("OVERRIDES", "bc-dev")
self.assertEqual(d.getVar("DESCRIPTION"), "C D")
classextend = """
VAR_var_override1 = "B"
VAR_var:override1 = "B"
EXTRA = ":override1"
OVERRIDES = "nothing${EXTRA}"

View File

@@ -12,6 +12,6 @@ STAMP = "${TMPDIR}/stamps/${PN}"
T = "${TMPDIR}/workdir/${PN}/temp"
BB_NUMBER_THREADS = "4"
BB_HASHBASE_WHITELIST = "BB_CURRENT_MC BB_HASHSERVE TMPDIR TOPDIR SLOWTASKS SSTATEVALID FILE"
BB_BASEHASH_IGNORE_VARS = "BB_CURRENT_MC BB_HASHSERVE TMPDIR TOPDIR SLOWTASKS SSTATEVALID FILE BB_CURRENTTASK"
include conf/multiconfig/${BB_CURRENT_MC}.conf

View File

@@ -29,13 +29,14 @@ class RunQueueTests(unittest.TestCase):
def run_bitbakecmd(self, cmd, builddir, sstatevalid="", slowtasks="", extraenv=None, cleanup=False):
env = os.environ.copy()
env["BBPATH"] = os.path.realpath(os.path.join(os.path.dirname(__file__), "runqueue-tests"))
env["BB_ENV_EXTRAWHITE"] = "SSTATEVALID SLOWTASKS"
env["BB_ENV_PASSTHROUGH_ADDITIONS"] = "SSTATEVALID SLOWTASKS TOPDIR"
env["SSTATEVALID"] = sstatevalid
env["SLOWTASKS"] = slowtasks
env["TOPDIR"] = builddir
if extraenv:
for k in extraenv:
env[k] = extraenv[k]
env["BB_ENV_EXTRAWHITE"] = env["BB_ENV_EXTRAWHITE"] + " " + k
env["BB_ENV_PASSTHROUGH_ADDITIONS"] = env["BB_ENV_PASSTHROUGH_ADDITIONS"] + " " + k
try:
output = subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT,universal_newlines=True, cwd=builddir)
print(output)
@@ -58,6 +59,8 @@ class RunQueueTests(unittest.TestCase):
expected = ['a1:' + x for x in self.alltasks]
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_single_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
@@ -68,6 +71,8 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot', 'a1:build']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_intermediate_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
@@ -77,6 +82,8 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot_setscene', 'a1:build']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_intermediate_notcovered(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
@@ -86,6 +93,8 @@ class RunQueueTests(unittest.TestCase):
'a1:package_qa_setscene', 'a1:build', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_all_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
@@ -95,6 +104,8 @@ class RunQueueTests(unittest.TestCase):
'a1:package_qa_setscene', 'a1:build', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_no_settasks(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1", "-c", "patch"]
@@ -103,6 +114,8 @@ class RunQueueTests(unittest.TestCase):
expected = ['a1:fetch', 'a1:unpack', 'a1:patch']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_mix_covered_notcovered(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1:do_patch", "a1:do_populate_sysroot"]
@@ -111,6 +124,7 @@ class RunQueueTests(unittest.TestCase):
expected = ['a1:fetch', 'a1:unpack', 'a1:patch', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
# Test targets with intermediate setscene tasks alongside a target with no intermediate setscene tasks
def test_mixed_direct_tasks_setscene_tasks(self):
@@ -122,6 +136,8 @@ class RunQueueTests(unittest.TestCase):
'a1:package_qa_setscene', 'a1:build', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
# This test slows down the execution of do_package_setscene until after other real tasks have
# started running which tests for a bug where tasks were being lost from the buildable list of real
# tasks if they weren't in tasks_covered or tasks_notcovered
@@ -136,12 +152,14 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot', 'a1:build']
self.assertEqual(set(tasks), set(expected))
def test_setscenewhitelist(self):
self.shutdown(tempdir)
def test_setscene_ignore_tasks(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
extraenv = {
"BB_SETSCENE_ENFORCE" : "1",
"BB_SETSCENE_ENFORCE_WHITELIST" : "a1:do_package_write_rpm a1:do_build"
"BB_SETSCENE_ENFORCE_IGNORE_TASKS" : "a1:do_package_write_rpm a1:do_build"
}
sstatevalid = "a1:do_package a1:do_package_qa a1:do_packagedata a1:do_package_write_ipk a1:do_populate_lic a1:do_populate_sysroot"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid, extraenv=extraenv)
@@ -149,6 +167,8 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot_setscene', 'a1:package_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
# Tests for problems with dependencies between setscene tasks
def test_no_setscenevalid_harddeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
@@ -162,6 +182,8 @@ class RunQueueTests(unittest.TestCase):
'd1:populate_sysroot', 'd1:build']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_no_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -172,6 +194,8 @@ class RunQueueTests(unittest.TestCase):
expected.remove('a1:package_qa')
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_single_a1_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -182,6 +206,8 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot'] + ['b1:' + x for x in self.alltasks]
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_single_b1_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -193,6 +219,8 @@ class RunQueueTests(unittest.TestCase):
expected.remove('b1:package')
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_intermediate_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -203,6 +231,8 @@ class RunQueueTests(unittest.TestCase):
expected.remove('b1:package')
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_all_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -213,6 +243,8 @@ class RunQueueTests(unittest.TestCase):
'b1:packagedata_setscene', 'b1:package_qa_setscene', 'b1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_multiconfig_setscene_optimise(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
@@ -232,6 +264,8 @@ class RunQueueTests(unittest.TestCase):
expected.remove(x)
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_multiconfig_bbmask(self):
# This test validates that multiconfigs can independently mask off
# recipes they do not want with BBMASK. It works by having recipes
@@ -248,6 +282,8 @@ class RunQueueTests(unittest.TestCase):
cmd = ["bitbake", "mc:mc-1:fails-mc2", "mc:mc_2:fails-mc1"]
self.run_bitbakecmd(cmd, tempdir, "", extraenv=extraenv)
self.shutdown(tempdir)
def test_multiconfig_mcdepends(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
@@ -278,7 +314,8 @@ class RunQueueTests(unittest.TestCase):
["mc_2:a1:%s" % t for t in rerun_tasks]
self.assertEqual(set(tasks), set(expected))
@unittest.skipIf(sys.version_info < (3, 5, 0), 'Python 3.5 or later required')
self.shutdown(tempdir)
def test_hashserv_single(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
@@ -304,7 +341,6 @@ class RunQueueTests(unittest.TestCase):
self.shutdown(tempdir)
@unittest.skipIf(sys.version_info < (3, 5, 0), 'Python 3.5 or later required')
def test_hashserv_double(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
@@ -329,7 +365,6 @@ class RunQueueTests(unittest.TestCase):
self.shutdown(tempdir)
@unittest.skipIf(sys.version_info < (3, 5, 0), 'Python 3.5 or later required')
def test_hashserv_multiple_setscene(self):
# Runs e1:do_package_setscene twice
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
@@ -361,7 +396,6 @@ class RunQueueTests(unittest.TestCase):
def shutdown(self, tempdir):
# Wait for the hashserve socket to disappear else we'll see races with the tempdir cleanup
while os.path.exists(tempdir + "/hashserve.sock"):
while (os.path.exists(tempdir + "/hashserve.sock") or os.path.exists(tempdir + "cache/hashserv.db-wal") or os.path.exists(tempdir + "/bitbake.lock")):
time.sleep(0.5)

View File

@@ -418,7 +418,7 @@ MULTILINE = " stuff \\
['MULTILINE'],
handle_var)
testvalue = re.sub('\s+', ' ', value_in_callback.strip())
testvalue = re.sub(r'\s+', ' ', value_in_callback.strip())
self.assertEqual(expected_value, testvalue)
class EditBbLayersConf(unittest.TestCase):
@@ -666,3 +666,21 @@ class GetReferencedVars(unittest.TestCase):
layers = [{"SRC_URI"}, {"QT_GIT", "QT_MODULE", "QT_MODULE_BRANCH_PARAM", "QT_GIT_PROTOCOL"}, {"QT_GIT_PROJECT", "QT_MODULE_BRANCH", "BPN"}, {"PN", "SPECIAL_PKGSUFFIX"}]
self.check_referenced("${SRC_URI}", layers)
class EnvironmentTests(unittest.TestCase):
def test_environment(self):
os.environ["A"] = "this is A"
self.assertIn("A", os.environ)
self.assertEqual(os.environ["A"], "this is A")
self.assertNotIn("B", os.environ)
with bb.utils.environment(B="this is B"):
self.assertIn("A", os.environ)
self.assertEqual(os.environ["A"], "this is A")
self.assertIn("B", os.environ)
self.assertEqual(os.environ["B"], "this is B")
self.assertIn("A", os.environ)
self.assertEqual(os.environ["A"], "this is A")
self.assertNotIn("B", os.environ)

View File

@@ -52,6 +52,10 @@ class TinfoilDataStoreConnectorVarHistory:
def remoteCommand(self, cmd, *args, **kwargs):
return self.tinfoil.run_command('dataStoreConnectorVarHistCmd', self.dsindex, cmd, args, kwargs)
def emit(self, var, oval, val, o, d):
ret = self.tinfoil.run_command('dataStoreConnectorVarHistCmdEmit', self.dsindex, var, oval, val, d.dsindex)
o.write(ret)
def __getattr__(self, name):
if not hasattr(bb.data_smart.VariableHistory, name):
raise AttributeError("VariableHistory has no such method %s" % name)
@@ -444,7 +448,7 @@ class Tinfoil:
self.run_actions(config_params)
self.recipes_parsed = True
def run_command(self, command, *params):
def run_command(self, command, *params, handle_events=True):
"""
Run a command on the server (as implemented in bb.command).
Note that there are two types of command - synchronous and
@@ -464,7 +468,7 @@ class Tinfoil:
try:
result = self.server_connection.connection.runCommand(commandline)
finally:
while True:
while handle_events:
event = self.wait_event()
if not event:
break
@@ -489,7 +493,7 @@ class Tinfoil:
Wait for an event from the server for the specified time.
A timeout of 0 means don't wait if there are no events in the queue.
Returns the next event in the queue or None if the timeout was
reached. Note that in order to recieve any events you will
reached. Note that in order to receive any events you will
first need to set the internal event mask using set_event_mask()
(otherwise whatever event mask the UI set up will be in effect).
"""
@@ -757,7 +761,7 @@ class Tinfoil:
if parseprogress:
parseprogress.update(event.progress)
else:
bb.warn("Got ProcessProgress event for someting that never started?")
bb.warn("Got ProcessProgress event for something that never started?")
continue
if isinstance(event, bb.event.ProcessFinished):
if self.quiet > 1:

View File

@@ -45,7 +45,7 @@ from pprint import pformat
import logging
from datetime import datetime, timedelta
from django.db import transaction, connection
from django.db import transaction
# pylint: disable=invalid-name
@@ -227,6 +227,12 @@ class ORMWrapper(object):
build.completed_on = timezone.now()
build.outcome = outcome
build.save()
# We force a sync point here to force the outcome status commit,
# which resolves a race condition with the build completion takedown
transaction.set_autocommit(True)
transaction.set_autocommit(False)
signal_runbuilds()
def update_target_set_license_manifest(self, target, license_manifest_path):
@@ -483,14 +489,14 @@ class ORMWrapper(object):
# we already created the root directory, so ignore any
# entry for it
if len(path) == 0:
if not path:
continue
parent_path = "/".join(path.split("/")[:len(path.split("/")) - 1])
if len(parent_path) == 0:
if not parent_path:
parent_path = "/"
parent_obj = self._cached_get(Target_File, target = target_obj, path = parent_path, inodetype = Target_File.ITYPE_DIRECTORY)
tf_obj = Target_File.objects.create(
Target_File.objects.create(
target = target_obj,
path = path,
size = size,
@@ -555,7 +561,7 @@ class ORMWrapper(object):
parent_obj = Target_File.objects.get(target = target_obj, path = parent_path, inodetype = Target_File.ITYPE_DIRECTORY)
tf_obj = Target_File.objects.create(
Target_File.objects.create(
target = target_obj,
path = path,
size = size,
@@ -571,7 +577,7 @@ class ORMWrapper(object):
assert isinstance(build_obj, Build)
assert isinstance(target_obj, Target)
errormsg = ""
errormsg = []
for p in packagedict:
# Search name swtiches round the installed name vs package name
# by default installed name == package name
@@ -633,10 +639,10 @@ class ORMWrapper(object):
packagefile_objects.append(Package_File( package = packagedict[p]['object'],
path = targetpath,
size = targetfilesize))
if len(packagefile_objects):
if packagefile_objects:
Package_File.objects.bulk_create(packagefile_objects)
except KeyError as e:
errormsg += " stpi: Key error, package %s key %s \n" % ( p, e )
errormsg.append(" stpi: Key error, package %s key %s \n" % (p, e))
# save disk installed size
packagedict[p]['object'].installed_size = packagedict[p]['size']
@@ -673,13 +679,13 @@ class ORMWrapper(object):
logger.warning("Could not add dependency to the package %s "
"because %s is an unknown package", p, px)
if len(packagedeps_objs) > 0:
if packagedeps_objs:
Package_Dependency.objects.bulk_create(packagedeps_objs)
else:
logger.info("No package dependencies created")
if len(errormsg) > 0:
logger.warning("buildinfohelper: target_package_info could not identify recipes: \n%s", errormsg)
if errormsg:
logger.warning("buildinfohelper: target_package_info could not identify recipes: \n%s", "".join(errormsg))
def save_target_image_file_information(self, target_obj, file_name, file_size):
Target_Image_File.objects.create(target=target_obj,
@@ -767,7 +773,7 @@ class ORMWrapper(object):
packagefile_objects.append(Package_File( package = bp_object,
path = path,
size = package_info['FILES_INFO'][path] ))
if len(packagefile_objects):
if packagefile_objects:
Package_File.objects.bulk_create(packagefile_objects)
def _po_byname(p):
@@ -809,7 +815,7 @@ class ORMWrapper(object):
packagedeps_objs.append(Package_Dependency( package = bp_object,
depends_on = _po_byname(p), dep_type = Package_Dependency.TYPE_RCONFLICTS))
if len(packagedeps_objs) > 0:
if packagedeps_objs:
Package_Dependency.objects.bulk_create(packagedeps_objs)
return bp_object
@@ -826,7 +832,7 @@ class ORMWrapper(object):
desc = vardump[root_var]['doc']
if desc is None:
desc = ''
if len(desc):
if desc:
HelpText.objects.get_or_create(build=build_obj,
area=HelpText.VARIABLE,
key=k, text=desc)
@@ -846,7 +852,7 @@ class ORMWrapper(object):
file_name = vh['file'],
line_number = vh['line'],
operation = vh['op']))
if len(varhist_objects):
if varhist_objects:
VariableHistory.objects.bulk_create(varhist_objects)
@@ -893,9 +899,6 @@ class BuildInfoHelper(object):
self.task_order = 0
self.autocommit_step = 1
self.server = server
# we use manual transactions if the database doesn't autocommit on us
if not connection.features.autocommits_when_autocommit_is_off:
transaction.set_autocommit(False)
self.orm_wrapper = ORMWrapper()
self.has_build_history = has_build_history
self.tmp_dir = self.server.runCommand(["getVariable", "TMPDIR"])[0]
@@ -1059,27 +1062,6 @@ class BuildInfoHelper(object):
return recipe_info
def _get_path_information(self, task_object):
self._ensure_build()
assert isinstance(task_object, Task)
build_stats_format = "{tmpdir}/buildstats/{buildname}/{package}/"
build_stats_path = []
for t in self.internal_state['targets']:
buildname = self.internal_state['build'].build_name
pe, pv = task_object.recipe.version.split(":",1)
if len(pe) > 0:
package = task_object.recipe.name + "-" + pe + "_" + pv
else:
package = task_object.recipe.name + "-" + pv
build_stats_path.append(build_stats_format.format(tmpdir=self.tmp_dir,
buildname=buildname,
package=package))
return build_stats_path
################################
## external available methods to store information
@@ -1313,12 +1295,11 @@ class BuildInfoHelper(object):
task_information['outcome'] = Task.OUTCOME_FAILED
del self.internal_state['taskdata'][identifier]
if not connection.features.autocommits_when_autocommit_is_off:
# we force a sync point here, to get the progress bar to show
if self.autocommit_step % 3 == 0:
transaction.set_autocommit(True)
transaction.set_autocommit(False)
self.autocommit_step += 1
# we force a sync point here, to get the progress bar to show
if self.autocommit_step % 3 == 0:
transaction.set_autocommit(True)
transaction.set_autocommit(False)
self.autocommit_step += 1
self.orm_wrapper.get_update_task_object(task_information, True) # must exist
@@ -1404,7 +1385,7 @@ class BuildInfoHelper(object):
assert 'pn' in event._depgraph
assert 'tdepends' in event._depgraph
errormsg = ""
errormsg = []
# save layer version priorities
if 'layer-priorities' in event._depgraph.keys():
@@ -1496,7 +1477,7 @@ class BuildInfoHelper(object):
elif dep in self.internal_state['recipes']:
dependency = self.internal_state['recipes'][dep]
else:
errormsg += " stpd: KeyError saving recipe dependency for %s, %s \n" % (recipe, dep)
errormsg.append(" stpd: KeyError saving recipe dependency for %s, %s \n" % (recipe, dep))
continue
recipe_dep = Recipe_Dependency(recipe=target,
depends_on=dependency,
@@ -1537,8 +1518,8 @@ class BuildInfoHelper(object):
taskdeps_objects.append(Task_Dependency( task = target, depends_on = dep ))
Task_Dependency.objects.bulk_create(taskdeps_objects)
if len(errormsg) > 0:
logger.warning("buildinfohelper: dependency info not identify recipes: \n%s", errormsg)
if errormsg:
logger.warning("buildinfohelper: dependency info not identify recipes: \n%s", "".join(errormsg))
def store_build_package_information(self, event):
@@ -1618,7 +1599,7 @@ class BuildInfoHelper(object):
if 'backlog' in self.internal_state:
# if we have a backlog of events, do our best to save them here
if len(self.internal_state['backlog']):
if self.internal_state['backlog']:
tempevent = self.internal_state['backlog'].pop()
logger.debug("buildinfohelper: Saving stored event %s "
% tempevent)
@@ -1990,8 +1971,6 @@ class BuildInfoHelper(object):
# Do not skip command line build events
self.store_log_event(tempevent,False)
if not connection.features.autocommits_when_autocommit_is_off:
transaction.set_autocommit(True)
# unset the brbe; this is to prevent subsequent command-line builds
# being incorrectly attached to the previous Toaster-triggered build;

View File

@@ -21,10 +21,11 @@ import fcntl
import struct
import copy
import atexit
from itertools import groupby
from bb.ui import uihelper
featureSet = [bb.cooker.CookerFeatures.SEND_SANITYEVENTS]
featureSet = [bb.cooker.CookerFeatures.SEND_SANITYEVENTS, bb.cooker.CookerFeatures.BASEDATASTORE_TRACKING]
logger = logging.getLogger("BitBake")
interactive = sys.stdout.isatty()
@@ -227,7 +228,9 @@ class TerminalFilter(object):
def keepAlive(self, t):
if not self.cuu:
print("Bitbake still alive (%ds)" % t)
print("Bitbake still alive (no events for %ds). Active tasks:" % t)
for t in self.helper.running_tasks:
print(t)
sys.stdout.flush()
def updateFooter(self):
@@ -249,58 +252,68 @@ class TerminalFilter(object):
return
tasks = []
for t in runningpids:
start_time = activetasks[t].get("starttime", None)
if start_time:
msg = "%s - %s (pid %s)" % (activetasks[t]["title"], self.elapsed(currenttime - start_time), activetasks[t]["pid"])
else:
msg = "%s (pid %s)" % (activetasks[t]["title"], activetasks[t]["pid"])
progress = activetasks[t].get("progress", None)
if progress is not None:
pbar = activetasks[t].get("progressbar", None)
rate = activetasks[t].get("rate", None)
start_time = activetasks[t].get("starttime", None)
if not pbar or pbar.bouncing != (progress < 0):
if progress < 0:
pbar = BBProgress("0: %s (pid %s)" % (activetasks[t]["title"], activetasks[t]["pid"]), 100, widgets=[' ', progressbar.BouncingSlider(), ''], extrapos=3, resize_handler=self.sigwinch_handle)
pbar = BBProgress("0: %s" % msg, 100, widgets=[' ', progressbar.BouncingSlider(), ''], extrapos=3, resize_handler=self.sigwinch_handle)
pbar.bouncing = True
else:
pbar = BBProgress("0: %s (pid %s)" % (activetasks[t]["title"], activetasks[t]["pid"]), 100, widgets=[' ', progressbar.Percentage(), ' ', progressbar.Bar(), ''], extrapos=5, resize_handler=self.sigwinch_handle)
pbar = BBProgress("0: %s" % msg, 100, widgets=[' ', progressbar.Percentage(), ' ', progressbar.Bar(), ''], extrapos=5, resize_handler=self.sigwinch_handle)
pbar.bouncing = False
activetasks[t]["progressbar"] = pbar
tasks.append((pbar, progress, rate, start_time))
tasks.append((pbar, msg, progress, rate, start_time))
else:
start_time = activetasks[t].get("starttime", None)
if start_time:
tasks.append("%s - %s (pid %s)" % (activetasks[t]["title"], self.elapsed(currenttime - start_time), activetasks[t]["pid"]))
else:
tasks.append("%s (pid %s)" % (activetasks[t]["title"], activetasks[t]["pid"]))
tasks.append(msg)
if self.main.shutdown:
content = "Waiting for %s running tasks to finish:" % len(activetasks)
content = pluralise("Waiting for %s running task to finish",
"Waiting for %s running tasks to finish", len(activetasks))
if not self.quiet:
content += ':'
print(content)
else:
scene_tasks = "%s of %s" % (self.helper.setscene_current, self.helper.setscene_total)
cur_tasks = "%s of %s" % (self.helper.tasknumber_current, self.helper.tasknumber_total)
content = ''
if not self.quiet:
msg = "Setscene tasks: %s" % scene_tasks
content += msg + "\n"
print(msg)
if self.quiet:
content = "Running tasks (%s of %s)" % (self.helper.tasknumber_current, self.helper.tasknumber_total)
msg = "Running tasks (%s, %s)" % (scene_tasks, cur_tasks)
elif not len(activetasks):
content = "No currently running tasks (%s of %s)" % (self.helper.tasknumber_current, self.helper.tasknumber_total)
msg = "No currently running tasks (%s)" % cur_tasks
else:
content = "Currently %2s running tasks (%s of %s)" % (len(activetasks), self.helper.tasknumber_current, self.helper.tasknumber_total)
msg = "Currently %2s running tasks (%s)" % (len(activetasks), cur_tasks)
maxtask = self.helper.tasknumber_total
if not self.main_progress or self.main_progress.maxval != maxtask:
widgets = [' ', progressbar.Percentage(), ' ', progressbar.Bar()]
self.main_progress = BBProgress("Running tasks", maxtask, widgets=widgets, resize_handler=self.sigwinch_handle)
self.main_progress.start(False)
self.main_progress.setmessage(content)
progress = self.helper.tasknumber_current - 1
if progress < 0:
progress = 0
content = self.main_progress.update(progress)
self.main_progress.setmessage(msg)
progress = max(0, self.helper.tasknumber_current - 1)
content += self.main_progress.update(progress)
print('')
lines = 1 + int(len(content) / (self.columns + 1))
if self.quiet == 0:
for tasknum, task in enumerate(tasks[:(self.rows - 2)]):
lines = self.getlines(content)
if not self.quiet:
for tasknum, task in enumerate(tasks[:(self.rows - 1 - lines)]):
if isinstance(task, tuple):
pbar, progress, rate, start_time = task
pbar, msg, progress, rate, start_time = task
if not pbar.start_time:
pbar.start(False)
if start_time:
pbar.start_time = start_time
pbar.setmessage('%s:%s' % (tasknum, pbar.msg.split(':', 1)[1]))
pbar.setmessage('%s: %s' % (tasknum, msg))
pbar.setextra(rate)
if progress > -1:
content = pbar.update(progress)
@@ -310,11 +323,17 @@ class TerminalFilter(object):
else:
content = "%s: %s" % (tasknum, task)
print(content)
lines = lines + 1 + int(len(content) / (self.columns + 1))
lines = lines + self.getlines(content)
self.footer_present = lines
self.lastpids = runningpids[:]
self.lastcount = self.helper.tasknumber_current
def getlines(self, content):
lines = 0
for line in content.split("\n"):
lines = lines + 1 + int(len(line) / (self.columns + 1))
return lines
def finish(self):
if self.stdinbackup:
fd = sys.stdin.fileno()
@@ -539,6 +558,13 @@ def main(server, eventHandler, params, tf = TerminalFilter):
except OSError:
pass
# Add the logging domains specified by the user on the command line
for (domainarg, iterator) in groupby(params.debug_domains):
dlevel = len(tuple(iterator))
l = logconfig["loggers"].setdefault("BitBake.%s" % domainarg, {})
l["level"] = logging.DEBUG - dlevel + 1
l.setdefault("handlers", []).extend(["BitBake.verbconsole"])
conf = bb.msg.setLoggingConfig(logconfig, logconfigfile)
if sys.stdin.isatty() and sys.stdout.isatty():
@@ -597,7 +623,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
warnings = 0
taskfailures = []
printinterval = 5000
printintervaldelta = 10 * 60 # 10 minutes
printinterval = printintervaldelta
lastprint = time.time()
termfilter = tf(main, helper, console_handlers, params.options.quiet)
@@ -607,7 +634,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
try:
if (lastprint + printinterval) <= time.time():
termfilter.keepAlive(printinterval)
printinterval += 5000
printinterval += printintervaldelta
event = eventHandler.waitEvent(0)
if event is None:
if main.shutdown > 1:
@@ -638,8 +665,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
if isinstance(event, logging.LogRecord):
lastprint = time.time()
printinterval = 5000
if event.levelno >= bb.msg.BBLogFormatter.ERROR:
printinterval = printintervaldelta
if event.levelno >= bb.msg.BBLogFormatter.ERRORONCE:
errors = errors + 1
return_value = 1
elif event.levelno == bb.msg.BBLogFormatter.WARNING:
@@ -653,10 +680,10 @@ def main(server, eventHandler, params, tf = TerminalFilter):
continue
# Prefix task messages with recipe/task
if event.taskpid in helper.pidmap and event.levelno != bb.msg.BBLogFormatter.PLAIN:
if event.taskpid in helper.pidmap and event.levelno not in [bb.msg.BBLogFormatter.PLAIN, bb.msg.BBLogFormatter.WARNONCE, bb.msg.BBLogFormatter.ERRORONCE]:
taskinfo = helper.running_tasks[helper.pidmap[event.taskpid]]
event.msg = taskinfo['title'] + ': ' + event.msg
if hasattr(event, 'fn'):
if hasattr(event, 'fn') and event.levelno not in [bb.msg.BBLogFormatter.WARNONCE, bb.msg.BBLogFormatter.ERRORONCE]:
event.msg = event.fn + ': ' + event.msg
logging.getLogger(event.name).handle(event)
continue
@@ -745,7 +772,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
continue
if isinstance(event, bb.runqueue.sceneQueueTaskStarted):
logger.info("Running setscene task %d of %d (%s)" % (event.stats.completed + event.stats.active + event.stats.failed + 1, event.stats.total, event.taskstring))
logger.info("Running setscene task %d of %d (%s)" % (event.stats.setscene_covered + event.stats.setscene_active + event.stats.setscene_notcovered + 1, event.stats.setscene_total, event.taskstring))
continue
if isinstance(event, bb.runqueue.runQueueTaskStarted):
@@ -850,7 +877,6 @@ def main(server, eventHandler, params, tf = TerminalFilter):
state_force_shutdown()
main.shutdown = main.shutdown + 1
pass
except Exception as e:
import traceback
sys.stderr.write(traceback.format_exc())
@@ -867,11 +893,11 @@ def main(server, eventHandler, params, tf = TerminalFilter):
for failure in taskfailures:
summary += "\n %s" % failure
if warnings:
summary += pluralise("\nSummary: There was %s WARNING message shown.",
"\nSummary: There were %s WARNING messages shown.", warnings)
summary += pluralise("\nSummary: There was %s WARNING message.",
"\nSummary: There were %s WARNING messages.", warnings)
if return_value and errors:
summary += pluralise("\nSummary: There was %s ERROR message shown, returning a non-zero exit code.",
"\nSummary: There were %s ERROR messages shown, returning a non-zero exit code.", errors)
summary += pluralise("\nSummary: There was %s ERROR message, returning a non-zero exit code.",
"\nSummary: There were %s ERROR messages, returning a non-zero exit code.", errors)
if summary and params.options.quiet == 0:
print(summary)

View File

@@ -8,6 +8,7 @@
#
import sys
import traceback
try:
import gi
@@ -196,6 +197,7 @@ def main(server, eventHandler, params):
gtkgui.start()
try:
params.updateToServer(server, os.environ.copy())
params.updateFromServer(server)
cmdline = params.parseActions()
if not cmdline:
@@ -218,6 +220,9 @@ def main(server, eventHandler, params):
except client.Fault as x:
print("XMLRPC Fault getting commandline:\n %s" % x)
return
except Exception as e:
print("Exception in startup:\n %s" % traceback.format_exc())
return
if gtkthread.quit.isSet():
return

View File

@@ -44,7 +44,7 @@ class BBUIEventQueue:
for count_tries in range(5):
ret = self.BBServer.registerEventHandler(self.host, self.port)
if isinstance(ret, collections.Iterable):
if isinstance(ret, collections.abc.Iterable):
self.EventHandle, error = ret
else:
self.EventHandle = ret
@@ -73,13 +73,13 @@ class BBUIEventQueue:
self.eventQueueLock.acquire()
if len(self.eventQueue) == 0:
if not self.eventQueue:
self.eventQueueLock.release()
return None
item = self.eventQueue.pop(0)
if len(self.eventQueue) == 0:
if not self.eventQueue:
self.eventQueueNotify.clear()
self.eventQueueLock.release()

View File

@@ -49,9 +49,11 @@ class BBUIHelper:
tid = event._fn + ":" + event._task
removetid(event.pid, tid)
self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)})
elif isinstance(event, bb.runqueue.runQueueTaskStarted):
self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed + 1
elif isinstance(event, bb.runqueue.runQueueTaskStarted) or isinstance(event, bb.runqueue.sceneQueueTaskStarted):
self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed
self.tasknumber_total = event.stats.total
self.setscene_current = event.stats.setscene_active + event.stats.setscene_covered + event.stats.setscene_notcovered
self.setscene_total = event.stats.setscene_total
self.needUpdate = True
elif isinstance(event, bb.build.TaskProgress):
if event.pid > 0 and event.pid in self.pidmap:

View File

@@ -16,7 +16,8 @@ import bb.msg
import multiprocessing
import fcntl
import importlib
from importlib import machinery
import importlib.machinery
import importlib.util
import itertools
import subprocess
import glob
@@ -26,6 +27,7 @@ import errno
import signal
import collections
import copy
import ctypes
from subprocess import getstatusoutput
from contextlib import contextmanager
from ctypes import cdll
@@ -251,7 +253,7 @@ def explode_dep_versions(s):
"""
Take an RDEPENDS style string of format:
"DEPEND1 (optional version) DEPEND2 (optional version) ..."
skip null value and items appeared in dependancy string multiple times
skip null value and items appeared in dependency string multiple times
and return a dictionary of dependencies and versions.
"""
r = explode_dep_versions2(s)
@@ -379,7 +381,7 @@ def _print_exception(t, value, tb, realfile, text, context):
error.append("Exception: %s" % ''.join(exception))
# If the exception is from spwaning a task, let's be helpful and display
# If the exception is from spawning a task, let's be helpful and display
# the output (which hopefully includes stderr).
if isinstance(value, subprocess.CalledProcessError) and value.output:
error.append("Subprocess output:")
@@ -400,7 +402,7 @@ def better_exec(code, context, text = None, realfile = "<code>", pythonexception
code = better_compile(code, realfile, realfile)
try:
exec(code, get_context(), context)
except (bb.BBHandledException, bb.parse.SkipRecipe, bb.data_smart.ExpansionError):
except (bb.BBHandledException, bb.parse.SkipRecipe, bb.data_smart.ExpansionError, bb.process.ExecutionError):
# Error already shown so passthrough, no need for traceback
raise
except Exception as e:
@@ -451,9 +453,16 @@ def lockfile(name, shared=False, retry=True, block=False):
consider the possibility of sending a signal to the process to break
out - at which point you want block=True rather than retry=True.
"""
basename = os.path.basename(name)
if len(basename) > 255:
root, ext = os.path.splitext(basename)
basename = root[:255 - len(ext)] + ext
dirname = os.path.dirname(name)
mkdirhier(dirname)
name = os.path.join(dirname, basename)
if not os.access(dirname, os.W_OK):
logger.error("Unable to acquire lock '%s', directory is not writable",
name)
@@ -487,7 +496,7 @@ def lockfile(name, shared=False, retry=True, block=False):
return lf
lf.close()
except OSError as e:
if e.errno == errno.EACCES:
if e.errno == errno.EACCES or e.errno == errno.ENAMETOOLONG:
logger.error("Unable to acquire lock '%s', %s",
e.strerror, name)
sys.exit(1)
@@ -532,7 +541,7 @@ def md5_file(filename):
Return the hex string representation of the MD5 checksum of filename.
"""
import hashlib
return _hasher(hashlib.md5(), filename)
return _hasher(hashlib.new('MD5', usedforsecurity=False), filename)
def sha256_file(filename):
"""
@@ -583,8 +592,8 @@ def preserved_envvars():
v = [
'BBPATH',
'BB_PRESERVE_ENV',
'BB_ENV_WHITELIST',
'BB_ENV_EXTRAWHITE',
'BB_ENV_PASSTHROUGH',
'BB_ENV_PASSTHROUGH_ADDITIONS',
]
return v + preserved_envvars_exported()
@@ -615,21 +624,21 @@ def filter_environment(good_vars):
def approved_variables():
"""
Determine and return the list of whitelisted variables which are approved
Determine and return the list of variables which are approved
to remain in the environment.
"""
if 'BB_PRESERVE_ENV' in os.environ:
return os.environ.keys()
approved = []
if 'BB_ENV_WHITELIST' in os.environ:
approved = os.environ['BB_ENV_WHITELIST'].split()
approved.extend(['BB_ENV_WHITELIST'])
if 'BB_ENV_PASSTHROUGH' in os.environ:
approved = os.environ['BB_ENV_PASSTHROUGH'].split()
approved.extend(['BB_ENV_PASSTHROUGH'])
else:
approved = preserved_envvars()
if 'BB_ENV_EXTRAWHITE' in os.environ:
approved.extend(os.environ['BB_ENV_EXTRAWHITE'].split())
if 'BB_ENV_EXTRAWHITE' not in approved:
approved.extend(['BB_ENV_EXTRAWHITE'])
if 'BB_ENV_PASSTHROUGH_ADDITIONS' in os.environ:
approved.extend(os.environ['BB_ENV_PASSTHROUGH_ADDITIONS'].split())
if 'BB_ENV_PASSTHROUGH_ADDITIONS' not in approved:
approved.extend(['BB_ENV_PASSTHROUGH_ADDITIONS'])
return approved
def clean_environment():
@@ -782,7 +791,7 @@ def movefile(src, dest, newmtime = None, sstat = None):
if sstat[stat.ST_DEV] == dstat[stat.ST_DEV]:
try:
os.rename(src, destpath)
bb.utils.rename(src, destpath)
renamefailed = 0
except Exception as e:
if e.errno != errno.EXDEV:
@@ -796,7 +805,7 @@ def movefile(src, dest, newmtime = None, sstat = None):
if stat.S_ISREG(sstat[stat.ST_MODE]):
try: # For safety copy then move it over.
shutil.copyfile(src, destpath + "#new")
os.rename(destpath + "#new", destpath)
bb.utils.rename(destpath + "#new", destpath)
didcopy = 1
except Exception as e:
print('movefile: copy', src, '->', dest, 'failed.', e)
@@ -874,7 +883,7 @@ def copyfile(src, dest, newmtime = None, sstat = None):
# For safety copy then move it over.
shutil.copyfile(src, dest + "#new")
os.rename(dest + "#new", dest)
bb.utils.rename(dest + "#new", dest)
except Exception as e:
logger.warning("copyfile: copy %s to %s failed (%s)" % (src, dest, e))
return False
@@ -1178,7 +1187,7 @@ def edit_metadata(meta_lines, variables, varfunc, match_overrides=False):
variables: a list of variable names to look for. Functions
may also be specified, but must be specified with '()' at
the end of the name. Note that the function doesn't have
any intrinsic understanding of _append, _prepend, _remove,
any intrinsic understanding of :append, :prepend, :remove,
or overrides, so these are considered as part of the name.
These values go into a regular expression, so regular
expression syntax is allowed.
@@ -1590,6 +1599,36 @@ def set_process_name(name):
except:
pass
def disable_network(uid=None, gid=None):
"""
Disable networking in the current process if the kernel supports it, else
just return after logging to debug. To do this we need to create a new user
namespace, then map back to the original uid/gid.
"""
libc = ctypes.CDLL('libc.so.6')
# From sched.h
# New user namespace
CLONE_NEWUSER = 0x10000000
# New network namespace
CLONE_NEWNET = 0x40000000
if uid is None:
uid = os.getuid()
if gid is None:
gid = os.getgid()
ret = libc.unshare(CLONE_NEWNET | CLONE_NEWUSER)
if ret != 0:
logger.debug("System doesn't suport disabling network without admin privs")
return
with open("/proc/self/uid_map", "w") as f:
f.write("%s %s 1" % (uid, uid))
with open("/proc/self/setgroups", "w") as f:
f.write("deny")
with open("/proc/self/gid_map", "w") as f:
f.write("%s %s 1" % (gid, gid))
def export_proxies(d):
""" export common proxies variables from datastore to environment """
import os
@@ -1616,7 +1655,9 @@ def load_plugins(logger, plugins, pluginpath):
logger.debug('Loading plugin %s' % name)
spec = importlib.machinery.PathFinder.find_spec(name, path=[pluginpath] )
if spec:
return spec.loader.load_module()
mod = importlib.util.module_from_spec(spec)
spec.loader.exec_module(mod)
return mod
logger.debug('Loading plugins from %s...' % pluginpath)
@@ -1669,3 +1710,47 @@ def is_semver(version):
return False
return True
# Wrapper around os.rename which can handle cross device problems
# e.g. from container filesystems
def rename(src, dst):
try:
os.rename(src, dst)
except OSError as err:
if err.errno == 18:
# Invalid cross-device link error
shutil.move(src, dst)
else:
raise err
@contextmanager
def environment(**envvars):
"""
Context manager to selectively update the environment with the specified mapping.
"""
backup = dict(os.environ)
try:
os.environ.update(envvars)
yield
finally:
for var in envvars:
if var in backup:
os.environ[var] = backup[var]
elif var in os.environ:
del os.environ[var]
def is_local_uid(uid=''):
"""
Check whether uid is a local one or not.
Can't use pwd module since it gets all UIDs, not local ones only.
"""
if not uid:
uid = os.getuid()
with open('/etc/passwd', 'r') as f:
for line in f:
line_split = line.split(':')
if len(line_split) < 3:
continue
if str(uid) == line_split[2]:
return True
return False

View File

@@ -53,7 +53,7 @@ class ActionPlugin(LayerPlugin):
except (bb.tinfoil.TinfoilUIException, bb.BBHandledException):
# Restore the back up copy of bblayers.conf
shutil.copy2(backup, bblayers_conf)
bb.fatal("Parse failure with the specified layer added, aborting.")
bb.fatal("Parse failure with the specified layer added, exiting.")
else:
for item in notadded:
sys.stderr.write("Specified layer %s is already in BBLAYERS\n" % item)

Some files were not shown because too many files have changed in this diff Show More