]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agolinux-yocto/5.4: update to v5.4.107
Bruce Ashfield [Thu, 25 Mar 2021 20:32:52 +0000 (16:32 -0400)]
linux-yocto/5.4: update to v5.4.107

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a65e78863443 Linux 5.4.107
    5161cc4350de net: dsa: b53: Support setting learning on port
    ebeefdc3d8ee net: dsa: tag_mtk: fix 802.1ad VLAN egress
    6c3d86e6ffde crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
    ae69c97bb76e crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
    eeb0899e0073 crypto: x86 - Regularize glue function prototypes
    187ae0463653 fuse: fix live lock in fuse_iget()
    28e53acd3065 drm/i915/gvt: Fix vfio_edid issue for BXT/APL
    5a7c72ffb412 drm/i915/gvt: Fix port number for BDW on EDID region setup
    4ab29329668d drm/i915/gvt: Fix virtual display setup for BXT/APL
    e46f72e1f27c drm/i915/gvt: Fix mmio handler break on BXT/APL.
    8cd68991b836 drm/i915/gvt: Set SNOOP for PAT3 on BXT/APL to workaround GPU BB hang
    50f83ffc58ab btrfs: scrub: Don't check free space before marking a block group RO
    591ea83fd2ce bpf, selftests: Fix up some test_verifier cases for unprivileged
    4e4c85404a23 bpf: Add sanity check for upper ptr_limit
    524471df8fa9 bpf: Simplify alu_limit masking for pointer arithmetic
    2da0540739e4 bpf: Fix off-by-one for area size in creating mask to left
    ea8fb45eaac1 bpf: Prohibit alu ops for pointer types not defining ptr_limit
    010c5bee66bd KVM: arm64: nvhe: Save the SPE context early
    0437de26e28d Linux 5.4.106
    b802b6ef28d6 xen/events: avoid handling the same event on two cpus at the same time
    92aefc62f483 xen/events: don't unmask an event channel when an eoi is pending
    43d0b82bb45c xen/events: reset affinity of 2-level event when tearing it down
    38563c1ff081 KVM: arm64: Reject VM creation when the default IPA size is unsupported
    da2e37b55d4c KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
    4e2156c0d37b nvme: release namespace head reference on error
    eb565f052b3e nvme: unlink head after removing last namespace
    4535fb9ec5fd KVM: arm64: Fix exclusive limit for IPA size
    e28b19ca2aeb x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2
    c0e0ab60d0b1 binfmt_misc: fix possible deadlock in bm_register_write
    106fea9ad246 powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
    907f7f2cf0ff sched/membarrier: fix missing local execution of ipi_sync_rq_state()
    2306580a95b7 zram: fix return value on writeback_store
    29e28a134a49 include/linux/sched/mm.h: use rcu_dereference in in_vfork()
    99f1960cae4f stop_machine: mark helpers __always_inline
    aaf92d0538d2 hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()
    88c79851b82d arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
    73aa6f93e1e9 configfs: fix a use-after-free in __configfs_open_file
    babd55002dd4 block: rsxx: fix error return code of rsxx_pci_probe()
    41deefab452a NFSv4.2: fix return value of _nfs4_get_security_label()
    86954a52d829 NFS: Don't gratuitously clear the inode cache when lookup failed
    d29f9aa6a8b2 NFS: Don't revalidate the directory permissions on a lookup failure
    d5a69ed75931 SUNRPC: Set memalloc_nofs_save() for sync tasks
    9c9ea7ac18b2 arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
    19bb2a20710d sh_eth: fix TRSCER mask for R7S72100
    c3c1defad2dd staging: comedi: pcl818: Fix endian problem for AI command data
    c5916897a6e1 staging: comedi: pcl711: Fix endian problem for AI command data
    7d8ec7bef320 staging: comedi: me4000: Fix endian problem for AI command data
    e70294943c89 staging: comedi: dmm32at: Fix endian problem for AI command data
    47a2af64eea3 staging: comedi: das800: Fix endian problem for AI command data
    0f2522ec71b6 staging: comedi: das6402: Fix endian problem for AI command data
    e91490b9edb9 staging: comedi: adv_pci1710: Fix endian problem for AI command data
    4d6505edee5a staging: comedi: addi_apci_1500: Fix endian problem for command sample
    f258c1c26f64 staging: comedi: addi_apci_1032: Fix endian problem for COS sample
    e644fc4ab7bb staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
    8f586a59829b staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
    9fe42273b2c6 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
    ab42f28d5f34 staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
    1a866057e970 staging: rtl8712: unterminated string leads to read overflow
    da5abe369b03 staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
    a311b6a7f099 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
    e4b52c7cbaaf misc: fastrpc: restrict user apps from sending kernel RPC messages
    9009b59dfd5f misc/pvpanic: Export module FDT device table
    0a58a400a93b usbip: fix vudc usbip_sockfd_store races leading to gpf
    8a50dda5243e usbip: fix vhci_hcd attach_store() races leading to gpf
    8698133003cf usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
    7b76c7a91bf6 usbip: fix vudc to check for stream socket
    2e24c093e264 usbip: fix vhci_hcd to check for stream socket
    da1be8e07852 usbip: fix stub_dev to check for stream socket
    ec7fb77a37af USB: serial: cp210x: add some more GE USB IDs
    b05ac5bcf623 USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
    0b7034401f0c USB: serial: ch341: add new Product ID
    5287c3d62e91 USB: serial: io_edgeport: fix memory leak in edge_startup
    c1b20c6fac05 xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
    3573dea8c17a usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
    57ab089c09d5 xhci: Improve detection of device initiated wake signal.
    f4f02f9feb4e usb: xhci: do not perform Soft Retry for some xHCI hosts
    45bc1c34b54e usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
    c9e346234698 USB: usblp: fix a hang in poll() if disconnected
    cc495be17466 usb: dwc3: qcom: Honor wakeup enabled/disabled state
    f030e3c67791 usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement
    014e4b616313 usb: gadget: f_uac1: stop playback on function disable
    117aadfc0616 usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
    ec7b0ac66539 USB: gadget: u_ether: Fix a configfs return code
    0ae3101f5cf0 Goodix Fingerprint device is not a modem
    b0ea155fa4f7 mmc: cqhci: Fix random crash when remove mmc module/card
    61fadd5f1e4e mmc: core: Fix partition switch time for eMMC
    1cb73c82622c software node: Fix node registration
    3bc266631a9e s390/dasd: fix hanging IO request during DASD driver unbind
    87adc240df30 s390/dasd: fix hanging DASD driver unbind
    12002aa2e7af arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
    47a5d1b63f21 Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities")
    ac85e7d4abb1 ALSA: usb-audio: Apply the control quirk to Plantronics headsets
    b1fe755e51df ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
    2b7615c97b0e ALSA: hda: Avoid spurious unsol event handling during S3/S4
    bb060148e29f ALSA: hda: Flush pending unsolicited events before suspend
    09cb42025a46 ALSA: hda: Drop the BATCH workaround for AMD controllers
    e1a92ad57b2c ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support
    ff2152beb22c ALSA: hda/hdmi: Cancel pending works before suspend
    dd6d483104bf ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
    300fba2b4e11 scsi: target: core: Prevent underflow for service actions
    de2cdbcb4f38 scsi: target: core: Add cmd length set before cmd complete
    050e1900d617 scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
    acf0e7b15f87 sysctl.c: fix underflow value setting risk in vm_table
    508d56e2c5c3 s390/smp: __smp_rescan_cpus() - move cpumask away from stack
    54fc6a56f72a i40e: Fix memory leak in i40e_probe
    f95403013744 PCI: Fix pci_register_io_range() memory leak
    e9be5518af2c kbuild: clamp SUBLEVEL to 255
    e622e01d44e4 PCI: mediatek: Add missing of_node_put() to fix reference leak
    d54c77959ece PCI: xgene-msi: Fix race in installing chained irq handler
    395f24b37fe8 Input: applespi - don't wait for responses to commands indefinitely.
    ad93777a59c7 sparc64: Use arch_validate_flags() to validate ADI flag
    dec0ab3bc3a2 sparc32: Limit memblock allocation to low memory
    f8788ee8544c iommu/amd: Fix performance counter initialization
    d92afe30a665 powerpc/64: Fix stack trace not displaying final frame
    61654b5d079d HID: logitech-dj: add support for the new lightspeed connection iteration
    49e38713faaf powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
    a54c278fcf8b powerpc: improve handling of unrecoverable system reset
    7765b5c2c192 spi: stm32: make spurious and overrun interrupts visible
    507b9bce2113 powerpc/pci: Add ppc_md.discover_phbs()
    26d60799d99b Platform: OLPC: Fix probe error handling
    ccad3c70fcd0 mmc: mediatek: fix race condition between msdc_request_timeout and irq
    edf05afc9be3 mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
    c44d966e9020 udf: fix silent AED tagLocation corruption
    5f04f970d579 i2c: rcar: optimize cacheline to minimize HW race condition
    1e1aace4a395 i2c: rcar: faster irq code to minimize HW race condition
    2e24fd30c6f0 net: phy: fix save wrong speed and duplex problem if autoneg is on
    aea71e92b9a0 net: enetc: initialize RFS/RSS memories for unused ports too
    d1f308174a60 net: hns3: fix error mask definition of flow director
    cb36bf447a0c media: rc: compile rc-cec.c into rc-core
    4c0c31572b67 media: v4l: vsp1: Fix bru null pointer access
    f56a82844c1f media: v4l: vsp1: Fix uif null pointer access
    8cdc0900fc80 media: usbtv: Fix deadlock on suspend
    56b9b2c25905 sh_eth: fix TRSCER mask for R7S9210
    bdec0dd95cc8 qxl: Fix uninitialised struct field head.surface_id
    d5fc9c5d64ca s390/crypto: return -EFAULT if copy_to_user() fails
    72ba965bf10d s390/cio: return -EFAULT if copy_to_user() fails
    d2100ef32a8c drm: meson_drv add shutdown function
    72c541cc4552 drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff
    0d574fc463c7 drm/shmem-helper: Check for purged buffers in fault handler
    3b08ea3a548f drm/compat: Clear bounce structures
    cabbd263c8e8 bnxt_en: reliably allocate IRQ table on reset to avoid crash
    dfa176f374ba s390/cio: return -EFAULT if copy_to_user() fails again
    05d11eb7bd9d net: hns3: fix bug when calculating the TCAM table info
    8bbc59bb0556 net: hns3: fix query vlan mask value error for flow director
    4d0273ab0a79 perf traceevent: Ensure read cmdlines are null terminated.
    ef663d149f8e selftests: forwarding: Fix race condition in mirror installation
    fcce3cb62c09 net: stmmac: fix watchdog timeout during suspend/resume stress test
    d31ae9ec5a03 net: stmmac: stop each tx channel independently
    86ea605518d7 ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
    e8b6c1d7ced2 net: qrtr: fix error return code of qrtr_sendmsg()
    d28e783c2003 net: davicom: Fix regulator not turned off on driver removal
    05517de4188b net: davicom: Fix regulator not turned off on failed probe
    11a589205119 net: lapbether: Remove netif_start_queue / netif_stop_queue
    b4800e7a1c9f cipso,calipso: resolve a number of problems with the DOI refcounts
    6d599697e9a8 netdevsim: init u64 stats for 32bit hardware
    8e365b61bda7 net: usb: qmi_wwan: allow qmimux add/del with master up
    392f34cce2b0 net: sched: avoid duplicates in classes dump
    3e66c16388f5 nexthop: Do not flush blackhole nexthops when loopback goes down
    7f101d035deb net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
    0fbbcf797e9c net/mlx4_en: update moderation when config reset
    78cbd0a4749d net: enetc: don't overwrite the RSS indirection table when initializing
    6547ec428619 Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
    55e6ede3b935 cifs: return proper error code in statfs(2)
    a1ff418d3eda mount: fix mounting of detached mounts onto targets that reside on shared mounts
    59a057a89155 powerpc/603: Fix protection of user pages mapped with PROT_NONE
    da9f2219f66c mt76: dma: do not report truncated frames to mac80211
    95b0a3b09094 ibmvnic: always store valid MAC address
    3e8ab75f3301 samples, bpf: Add missing munmap in xdpsock
    c2c3a85ab01f selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier
    57b9f13e8aaa selftests/bpf: No need to drop the packet when there is no geneve opt
    82e85c0e7f34 netfilter: x_tables: gpf inside xt_find_revision()
    f66b8e738140 netfilter: nf_nat: undo erroneous tcp edemux lookup
    3bf899438c12 tcp: add sanity tests to TCP_QUEUE_SEQ
    b7049b6156ce can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
    a7e187a87e8e can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
    e0eccdfc5c0e can: flexcan: enable RX FIFO after FRZ/HALT valid
    ca483b872d20 can: flexcan: assert FRZ bit in flexcan_chip_freeze()
    6676e510d1a9 can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
    718769eb1bbe sh_eth: fix TRSCER mask for SH771x
    8baa52f26b3e net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
    ca278267d6cd net: check if protocol extracted by virtio_net_hdr_set_proto is correct
    f2d78bbbca42 net: Fix gro aggregation for udp encaps with zero csum
    9be769161192 ath9k: fix transmitting to stations in dynamic SMPS mode
    5555ee33b6cc ethernet: alx: fix order of calls on resume
    dcb95790821b powerpc/pseries: Don't enforce MSI affinity with kdump
    fd1824bf963a uapi: nfnetlink_cthelper.h: fix userspace compilation error

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: update to v5.10.25
Bruce Ashfield [Thu, 25 Mar 2021 20:32:51 +0000 (16:32 -0400)]
linux-yocto/5.10: update to v5.10.25

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3ba56f490c7a Linux 5.10.25
    dd0b7edb7794 net: dsa: b53: Support setting learning on port
    0f6cab2350d5 ALSA: usb-audio: Don't avoid stopping the stream at disconnection
    df8596f57743 Revert "nfsd4: a client's own opens needn't prevent delegations"
    894ecf0cb505 Revert "nfsd4: remove check_conflicting_opens warning"
    d955f13ea212 fuse: fix live lock in fuse_iget()
    2d7888b2c4cd RDMA/srp: Fix support for unpopulated and unbalanced NUMA nodes
    3672c3ce622e bpf, selftests: Fix up some test_verifier cases for unprivileged
    1010f17aaa78 bpf: Add sanity check for upper ptr_limit
    6a3504bf4006 bpf: Simplify alu_limit masking for pointer arithmetic
    ac1b87a18c1f bpf: Fix off-by-one for area size in creating mask to left
    c4d37eea1c64 bpf: Prohibit alu ops for pointer types not defining ptr_limit
    bf93113d46f8 crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
    fcfab1a9aa40 crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
    05d125f7524e Linux 5.10.24
    1c0899636d44 RDMA/umem: Use ib_dma_max_seg_size instead of dma_get_max_seg_size
    1dbce9ba2aa9 KVM: arm64: Fix nVHE hyp panic host context restore
    f67e5243d0f3 xen/events: avoid handling the same event on two cpus at the same time
    30cdb862e831 xen/events: don't unmask an event channel when an eoi is pending
    4c84191cbc3e mm/page_alloc.c: refactor initialization of struct page for holes in memory layout
    e7afadd0dbe2 KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
    518f98e39077 mm/madvise: replace ptrace attach requirement for process_madvise
    2aaa79f69417 mm/userfaultfd: fix memory corruption due to writeprotect
    c3d70b1bf1ce KVM: arm64: Fix exclusive limit for IPA size
    ada8817ab674 KVM: arm64: Reject VM creation when the default IPA size is unsupported
    eeba4e4cc524 KVM: arm64: nvhe: Save the SPE context early
    a9779820bb97 KVM: arm64: Avoid corrupting vCPU context register in guest exit
    17becbfca9fc KVM: arm64: Fix range alignment when walking page tables
    a688bf8cf550 KVM: kvmclock: Fix vCPUs > 64 can't be online/hotpluged
    4ab5d1b70929 KVM: x86: Ensure deadline timer has truly expired before posting its IRQ
    e40384fcd600 x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls
    a2bab396cb97 x86/sev-es: Use __copy_from_user_inatomic()
    977b9f4190ad x86/sev-es: Correctly track IRQ states in runtime #VC handler
    269424432731 x86/entry: Move nmi entry/exit into common code
    752fbe0c8ddd x86/sev-es: Check regs->sp is trusted before adjusting #VC IST stack
    871fd1e3ee8e x86/sev-es: Introduce ip_within_syscall_gap() helper
    d327d8632cdb x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2
    5ab9464a2a3c binfmt_misc: fix possible deadlock in bm_register_write
    0e4750f69c17 powerpc: Fix missing declaration of [en/dis]able_kernel_vsx()
    1f372e89567b powerpc: Fix inverted SET_FULL_REGS bitop
    9776812ee861 powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
    8571c66401ea efi: stub: omit SetVirtualAddressMap() if marked unsupported in RT_PROP table
    68b4378d910e sched/membarrier: fix missing local execution of ipi_sync_rq_state()
    5f2f616343b1 linux/compiler-clang.h: define HAVE_BUILTIN_BSWAP*
    bc7c1b09f7a4 zram: fix return value on writeback_store
    3cbe8f9193e6 include/linux/sched/mm.h: use rcu_dereference in in_vfork()
    7da7542c04a4 stop_machine: mark helpers __always_inline
    2a39eb7b8670 seqlock,lockdep: Fix seqcount_latch_init()
    372734dc1897 powerpc/64s/exception: Clean up a missed SRR specifier
    df7dbfc24c33 hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()
    896846b8151d perf/x86/intel: Set PERF_ATTACH_SCHED_CB for large PEBS and LBR
    82ad50c112f8 perf/core: Flush PMU internal buffers for per-CPU events
    3ebd4bd2eb6f arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
    109720342efd configfs: fix a use-after-free in __configfs_open_file
    6cf11f3a09a2 nvme-fc: fix racing controller reset and create association
    d1d918492e6e block: rsxx: fix error return code of rsxx_pci_probe()
    caa86901c863 NFSv4.2: fix return value of _nfs4_get_security_label()
    e181960ec51d NFS: Don't gratuitously clear the inode cache when lookup failed
    dd756d05bee5 NFS: Don't revalidate the directory permissions on a lookup failure
    faa48b23d0e3 SUNRPC: Set memalloc_nofs_save() for sync tasks
    475a4307c14c arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
    e50ada589497 cpufreq: qcom-hw: Fix return value check in qcom_cpufreq_hw_cpu_init()
    7dfe37e9ea69 cpufreq: qcom-hw: fix dereferencing freed memory 'data'
    75d9be57cf2e sh_eth: fix TRSCER mask for R7S72100
    a854bd051465 staging: comedi: pcl818: Fix endian problem for AI command data
    ddfeb236ed8e staging: comedi: pcl711: Fix endian problem for AI command data
    c30fe0f767c3 staging: comedi: me4000: Fix endian problem for AI command data
    2c1ea26a289e staging: comedi: dmm32at: Fix endian problem for AI command data
    c36d2f40c1bc staging: comedi: das800: Fix endian problem for AI command data
    d8f26a4122db staging: comedi: das6402: Fix endian problem for AI command data
    b46f6908ea3e staging: comedi: adv_pci1710: Fix endian problem for AI command data
    66a44ed42367 staging: comedi: addi_apci_1500: Fix endian problem for command sample
    4d14685f9f74 staging: comedi: addi_apci_1032: Fix endian problem for COS sample
    c5d3e25e1808 staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
    74a14d8ae20d staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
    66cf4f582987 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
    be9745304e3e staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
    550c9e49eb42 staging: rtl8712: unterminated string leads to read overflow
    d972a516958d staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
    1642b5153ba5 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
    52feb58f9b5b misc: fastrpc: restrict user apps from sending kernel RPC messages
    7ae2482c7042 misc/pvpanic: Export module FDT device table
    70c26fc71b7e Revert "serial: max310x: rework RX interrupt handling"
    9951e64550d0 usbip: fix vudc usbip_sockfd_store races leading to gpf
    116a71087875 usbip: fix vhci_hcd attach_store() races leading to gpf
    ab5c3186686a usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
    e033d7f79995 usbip: fix vudc to check for stream socket
    2aa21585adbd usbip: fix vhci_hcd to check for stream socket
    6d7452392151 usbip: fix stub_dev to check for stream socket
    b249b8f9b740 USB: serial: cp210x: add some more GE USB IDs
    0aa33c041e84 USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
    3aa50426c72c USB: serial: ch341: add new Product ID
    a347908c5192 USB: serial: io_edgeport: fix memory leak in edge_startup
    fc411ca43bed xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
    209b3ff98deb usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
    e7800913ac97 xhci: Improve detection of device initiated wake signal.
    203060896dbe usb: xhci: do not perform Soft Retry for some xHCI hosts
    7c87f4ea3f16 usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
    48c7fc4f14b6 USB: usblp: fix a hang in poll() if disconnected
    adb9639d1e50 usb: dwc3: qcom: Honor wakeup enabled/disabled state
    13c9e76cdda6 usb: dwc3: qcom: add ACPI device id for sc8180x
    39bcc4b7f398 usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot
    10551fbc5517 usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement
    32ad0eb74eac usb: gadget: f_uac1: stop playback on function disable
    30a187afdbd2 usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
    50233f8220f0 USB: gadget: u_ether: Fix a configfs return code
    80091541a46b USB: gadget: udc: s3c2410_udc: fix return value check in s3c2410_udc_probe()
    b0db0c76a2ba Goodix Fingerprint device is not a modem
    d308202c1b96 cifs: do not send close in compound create+close requests
    310a1ffe7b36 mmc: cqhci: Fix random crash when remove mmc module/card
    a61596a9b2a7 mmc: core: Fix partition switch time for eMMC
    6c971bd99cb8 mmc: mmci: Add MMC_CAP_NEED_RSP_BUSY for the stm32 variants
    bb815894ba37 xen/events: reset affinity of 2-level event when tearing it down
    e86abde80d12 software node: Fix node registration
    08bccd721243 s390/dasd: fix hanging IO request during DASD driver unbind
    5d766455510c s390/dasd: fix hanging DASD driver unbind
    fb242be88da9 arm64: perf: Fix 64-bit event counter read truncation
    ffb9a77d0a7f arm64: mte: Map hotplugged memory as Normal Tagged
    d73665b4a9f6 arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
    d44c9780ed40 block: Try to handle busy underlying device on discard
    a53477849286 block: Discard page cache of zone reset target range
    5d5422a294e6 Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities")
    29bc89c8b48d ALSA: usb-audio: fix use after free in usb_audio_disconnect
    d2fdcc82d866 ALSA: usb-audio: fix NULL ptr dereference in usb_audio_probe
    e4493974dbce ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend()
    144ebd02a118 ALSA: usb-audio: Apply the control quirk to Plantronics headsets
    723bf21ceab0 ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
    4b536c1ec8b3 ALSA: hda: Avoid spurious unsol event handling during S3/S4
    f1d28b1310bb ALSA: hda: Flush pending unsolicited events before suspend
    ebbb9bbe35ae ALSA: hda: Drop the BATCH workaround for AMD controllers
    f5278fcfb760 ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support
    064ac8ed90a3 ALSA: hda/conexant: Add quirk for mute LED control on HP ZBook G5
    4dc34571e973 ALSA: hda/hdmi: Cancel pending works before suspend
    d77540ada71b ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
    d291b2594f85 ARM: efistub: replace adrl pseudo-op with adr_l macro invocation
    fd863653ad63 ARM: assembler: introduce adr_l, ldr_l and str_l macros
    917220f362a0 ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler
    69f845526833 mmc: sdhci: Update firmware interface API
    73d1a11a198a clk: qcom: gpucc-msm8998: Add resets, cxc, fix flags on gpu_gx_gdsc
    1b0b0c0b9ae9 scsi: target: core: Prevent underflow for service actions
    17c2c52051c4 scsi: target: core: Add cmd length set before cmd complete
    79b4fdd8b4cf scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
    f49bdac3e7f4 sysctl.c: fix underflow value setting risk in vm_table
    8876cc237e04 drivers/base/memory: don't store phys_device in memory blocks
    e4b98e2260fd s390/smp: __smp_rescan_cpus() - move cpumask away from stack
    219fc4b30058 kasan: fix memory corruption in kasan_bitops_tags test
    6c73bc9f28e2 i40e: Fix memory leak in i40e_probe
    6d4fabc6c7ec PCI: Fix pci_register_io_range() memory leak
    950bff22a98a kbuild: clamp SUBLEVEL to 255
    64578f9417e1 ext4: don't try to processed freed blocks until mballoc is initialized
    d49f86e88859 PCI/LINK: Remove bandwidth notification
    732bb21397ee drivers/base: build kunit tests without structleak plugin
    fa6dae9d7ffd PCI: mediatek: Add missing of_node_put() to fix reference leak
    d26949c732e4 PCI: xgene-msi: Fix race in installing chained irq handler
    8282ec632443 Input: applespi - don't wait for responses to commands indefinitely.
    f27af42b1f10 sparc64: Use arch_validate_flags() to validate ADI flag
    99ed6ae4d000 sparc32: Limit memblock allocation to low memory
    661cba45dc67 clk: qcom: gdsc: Implement NO_RET_PERIPH flag
    a19d18a1171b iommu/amd: Fix performance counter initialization
    adc631d87ea9 powerpc/64: Fix stack trace not displaying final frame
    9fbbc5d3f7e0 HID: logitech-dj: add support for the new lightspeed connection iteration
    eb5a9ee32c76 powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
    87e443255dce powerpc: improve handling of unrecoverable system reset
    2314d5061709 spi: stm32: make spurious and overrun interrupts visible
    912237ec3485 powerpc/pci: Add ppc_md.discover_phbs()
    711112e99a65 Platform: OLPC: Fix probe error handling
    09ef146f640d mmc: sdhci-iproc: Add ACPI bindings for the RPi
    35f662ba915e mmc: mediatek: fix race condition between msdc_request_timeout and irq
    7cb2c431583e mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
    1e5ac057b05c iommu/vt-d: Clear PRQ overflow only when PRQ is empty
    82d6c12899e2 udf: fix silent AED tagLocation corruption
    cd69732c2579 scsi: ufs: WB is only available on LUN #0 to #7
    2b6105746b83 i2c: rcar: optimize cacheline to minimize HW race condition
    222a825f6bdb i2c: rcar: faster irq code to minimize HW race condition
    4d65eb3df0ad ath11k: fix AP mode for QCA6390
    700e2b63cbc8 ath11k: start vdev if a bss peer is already created
    dbec869d234e ath11k: peer delete synchronization with firmware
    781e956a8277 net: enetc: initialize RFS/RSS memories for unused ports too
    a3df6b7a8a41 enetc: Fix unused var build warning for CONFIG_OF
    606cfdeebd3d net: dsa: tag_mtk: fix 802.1ad VLAN egress
    409af8946619 net: dsa: tag_ar9331: let DSA core deal with TX reallocation
    a2fd181b4b7a net: dsa: tag_gswip: let DSA core deal with TX reallocation
    9bb1bec952ad net: dsa: tag_dsa: let DSA core deal with TX reallocation
    9ad635b75e42 net: dsa: tag_brcm: let DSA core deal with TX reallocation
    67fd35c21a60 net: dsa: tag_edsa: let DSA core deal with TX reallocation
    6702dd45534a net: dsa: tag_lan9303: let DSA core deal with TX reallocation
    27f014eb6627 net: dsa: tag_mtk: let DSA core deal with TX reallocation
    54787024c8fb net: dsa: tag_ocelot: let DSA core deal with TX reallocation
    cf5c6682e274 net: dsa: tag_qca: let DSA core deal with TX reallocation
    8f17133cc3ae net: dsa: trailer: don't allocate additional memory for padding/tagging
    a4d2836de5c6 net: dsa: tag_ksz: don't allocate additional memory for padding/tagging
    162c423e6071 net: dsa: implement a central TX reallocation procedure
    f91a299fb160 s390/qeth: fix notification for pending buffers during teardown
    f7a7d3ede5f5 s390/qeth: improve completion of pending TX buffers
    144dbdf86c7a s390/qeth: remove QETH_QDIO_BUF_HANDLED_DELAYED state
    926200fd224c s390/qeth: don't replace a fully completed async TX buffer
    13e312dca2f2 net: hns3: fix error mask definition of flow director
    3370a84d781c cifs: fix credit accounting for extra channel
    83ff4f644de4 media: rc: compile rc-cec.c into rc-core
    db2ae26d7855 media: v4l: vsp1: Fix bru null pointer access
    465fd4191aaa media: v4l: vsp1: Fix uif null pointer access
    17c6d693a33a media: rkisp1: params: fix wrong bits settings
    c29dcb253a6a media: usbtv: Fix deadlock on suspend
    a5190a7865b6 sh_eth: fix TRSCER mask for R7S9210
    c6ecc613ef16 qxl: Fix uninitialised struct field head.surface_id
    1afe77386a6d s390/crypto: return -EFAULT if copy_to_user() fails
    dac4e0e10b9b s390/cio: return -EFAULT if copy_to_user() fails
    d7b8aef5b6d1 drm/i915: Wedge the GPU if command parser setup fails
    335d21ad8a9a drm/shmem-helpers: vunmap: Don't put pages for dma-buf
    d4ec1ffbdaa8 drm: meson_drv add shutdown function
    915f2f8cadbd drm: Use USB controller's DMA mask when importing dmabufs
    5e9b01152527 drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff
    368b53e797c9 drm/shmem-helper: Check for purged buffers in fault handler
    ad106ddd3366 drm/amdgpu/display: handle aux backlight in backlight_get_brightness
    fd87d778642b drm/amdgpu/display: don't assert in set backlight function
    4b55b9fd9bfc drm/amdgpu/display: simplify backlight setting
    96b097e84101 drm/amd/pm: bug fix for pcie dpm
    6b9900263a31 drm/amd/display: Fix nested FPU context in dcn21_validate_bandwidth()
    b40528bcc10b drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp()
    55086176c75a drm/amd/display: Add a backlight module option
    e30ce84181cf drm/compat: Clear bounce structures
    ccc942eaf570 gpio: fix gpio-device list corruption
    2e3c8a28f465 gpio: pca953x: Set IRQ type when handle Intel Galileo Gen 2
    f60ffab25855 gpiolib: acpi: Allow to find GpioInt() resource by name and index
    8df70a5b4d0c gpiolib: acpi: Add ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER quirk
    845ec460537d bnxt_en: reliably allocate IRQ table on reset to avoid crash
    686874ca92c2 s390/cio: return -EFAULT if copy_to_user() fails again
    fd61e772f036 net: hns3: fix bug when calculating the TCAM table info
    3c7f1304ee71 net: hns3: fix query vlan mask value error for flow director
    f9a87999bdd9 perf report: Fix -F for branch & mem modes
    57a798e4a197 perf traceevent: Ensure read cmdlines are null terminated.
    e4f7ffaa7cdf mlxsw: spectrum_ethtool: Add an external speed to PTYS register
    824c94cbf4d6 selftests: forwarding: Fix race condition in mirror installation
    c1e1a64a2313 net: phy: make mdio_bus_phy_suspend/resume as __maybe_unused
    ad59796872ae ethtool: fix the check logic of at least one channel for RX/TX
    482f99d0ad39 net: stmmac: fix wrongly set buffer2 valid when sph unsupport
    333dbdee0651 net: stmmac: fix watchdog timeout during suspend/resume stress test
    3c1b58261ff8 net: stmmac: stop each tx channel independently
    640492cf1732 perf build: Fix ccache usage in $(CC) when generating arch errno table
    8493877b58b6 tools/resolve_btfids: Fix build error with older host toolchains
    ee7eac24b5b4 ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
    cab735320fe9 r8169: fix r8168fp_adjust_ocp_cmd function
    84ef8a8cb789 s390/qeth: fix memory leak after failed TX Buffer allocation
    345d90cd741a net: qrtr: fix error return code of qrtr_sendmsg()
    4f8e71a770dd net: enetc: allow hardware timestamping on TX queues with tc-etf enabled
    4fd0654b8f21 net: davicom: Fix regulator not turned off on driver removal
    e334c401f3fc net: davicom: Fix regulator not turned off on failed probe
    6342ccdfdf2b net: lapbether: Remove netif_start_queue / netif_stop_queue
    9c4136081cc2 stmmac: intel: Fixes clock registration error seen for multiple interfaces
    d78f23ef3040 net: stmmac: Fix VLAN filter delete timeout issue in Intel mGBE SGMII
    85178d76febd cipso,calipso: resolve a number of problems with the DOI refcounts
    e03ed1190d56 netdevsim: init u64 stats for 32bit hardware
    6ed0a2cafd1f net: usb: qmi_wwan: allow qmimux add/del with master up
    565b2d3ae202 net: dsa: sja1105: fix SGMII PCS being forced to SPEED_UNKNOWN instead of SPEED_10
    719611e806de net: mscc: ocelot: properly reject destination IP keys in VCAP IS1
    2809a5ca962e net: sched: avoid duplicates in classes dump
    9c61f1e1c40e nexthop: Do not flush blackhole nexthops when loopback goes down
    87b7b19d6e1d net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
    6b0d3ae1051b net/mlx4_en: update moderation when config reset
    fa0bc09db49b net: ethernet: mtk-star-emac: fix wrong unmap in RX handling
    1cdd008902d4 net: enetc: keep RX ring consumer index in sync with hardware
    531736540111 net: enetc: remove bogus write to SIRXIDR from enetc_setup_rxbdr
    63876df5615e net: enetc: force the RGMII speed and duplex instead of operating in inband mode
    5732688c8411 net: enetc: don't disable VLAN filtering in IFF_PROMISC mode
    d56e3f8d289b net: enetc: fix incorrect TPID when receiving 802.1ad tagged packets
    bf9c564716a1 net: enetc: take the MDIO lock only once per NAPI poll cycle
    dfaf418dfff8 net: enetc: don't overwrite the RSS indirection table when initializing
    4ea379733555 sh_eth: fix TRSCER mask for SH771x
    68277f69a873 net: dsa: tag_rtl4_a: fix egress tags
    389055e7b970 docs: networking: drop special stable handling
    e1759160877a Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
    3d0bbd97eb6f cifs: return proper error code in statfs(2)
    36e1efcdc542 mount: fix mounting of detached mounts onto targets that reside on shared mounts
    aa1258d91455 powerpc/603: Fix protection of user pages mapped with PROT_NONE
    e36d276dd4be mt76: dma: do not report truncated frames to mac80211
    1e343b2e7b96 ibmvnic: always store valid MAC address
    57ac75f8d241 ibmvnic: Fix possibly uninitialized old_num_tx_queues variable warning.
    2f6f72ee9a98 libbpf: Clear map_info before each bpf_obj_get_info_by_fd
    f126147970a1 samples, bpf: Add missing munmap in xdpsock
    4d2cdb2ded60 selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier
    4fa0ece2e0eb selftests/bpf: No need to drop the packet when there is no geneve opt
    7653656be252 selftests/bpf: Use the last page in test_snprintf_btf on s390
    6aa23829949c net: phy: fix save wrong speed and duplex problem if autoneg is on
    91796b65563b net: always use icmp{,v6}_ndo_send from ndo_start_xmit
    8abbf7e53e17 netfilter: x_tables: gpf inside xt_find_revision()
    42402bd84530 netfilter: nf_nat: undo erroneous tcp edemux lookup
    046f3c1c2ff4 tcp: add sanity tests to TCP_QUEUE_SEQ
    e95ebe1ed6ab tcp: Fix sign comparison bug in getsockopt(TCP_ZEROCOPY_RECEIVE)
    473bce9b9393 can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
    c537011c99ab can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
    e24c53182850 can: flexcan: enable RX FIFO after FRZ/HALT valid
    98b7f969116d can: flexcan: assert FRZ bit in flexcan_chip_freeze()
    4224890edff1 can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
    fa5d019c56e7 net: l2tp: reduce log level of messages in receive path, add counter instead
    453fff24f52e net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
    faa3baa2828c net: check if protocol extracted by virtio_net_hdr_set_proto is correct
    09af4362ba47 net: Fix gro aggregation for udp encaps with zero csum
    d2fb1911a7a8 ath9k: fix transmitting to stations in dynamic SMPS mode
    b0454a28f608 crypto: mips/poly1305 - enable for all MIPS processors
    a0df424a863a ethernet: alx: fix order of calls on resume
    a9c55f22a0b9 powerpc/pseries: Don't enforce MSI affinity with kdump
    ac022fbee685 powerpc/perf: Fix handling of privilege level checks in perf interrupt context
    7732f57f0f52 uapi: nfnetlink_cthelper.h: fix userspace compilation error

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorootfs.py: uninstall the run-postinsts package if not needed
Awais Belal [Thu, 25 Mar 2021 11:59:32 +0000 (16:59 +0500)]
rootfs.py: uninstall the run-postinsts package if not needed

The run-postinsts package runs post installation scripts
on target if packages request delayed post installations. When
no delayed post installations are found the sysV style scripts
are disabled for the package and hence it did not run on sysV
based systems. However, the package provides systemd service
as well which still ran on systems based on systemd even when
no post installations were found.
Rather than disabling/masking scripts for different initialization
managers we now simply remove/uninstall the run-postinsts package
when no post installations are found to be delayed till runtime.
This is also more aligned with the function (_uninstall_unneeded)
this functionality is triggered through.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssl: update to 1.1.1k to fix CVE-2021-3450 and CVE-2021-3449
Mikko Rapeli [Thu, 25 Mar 2021 19:20:37 +0000 (21:20 +0200)]
openssl: update to 1.1.1k to fix CVE-2021-3450 and CVE-2021-3449

Only security issues fixed in this release according to
https://www.openssl.org/news/cl111.txt

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: ensure BUILD_* tools match target tools
Ross Burton [Thu, 25 Mar 2021 17:39:00 +0000 (17:39 +0000)]
bitbake.conf: ensure BUILD_* tools match target tools

Add a few more tools to the BUILD_* list, to match the target tool list.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux-libuuid: Simplify recipe and rename from util-linux-uuid
Richard Purdie [Wed, 24 Mar 2021 21:41:53 +0000 (21:41 +0000)]
util-linux-libuuid: Simplify recipe and rename from util-linux-uuid

Rename the recipe from util-linux-uuid to util-linux-libuuid which means
we can drop the custom PACKAGES and FILES defintions which simplifies
things. Also move the LICENSE setting to the libuuid recipe so that
it is correctly applied to the right packages.

This means the standard definitions from bitbake.conf are used, avoiding
errors from situations where users have customised settings causing
failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibtool: make sure autoheader run before autoconf
Mingli Yu [Wed, 24 Mar 2021 06:48:53 +0000 (14:48 +0800)]
libtool: make sure autoheader run before autoconf

autoheader will update ../libtool-2.4.6/libltdl/config-h.in which
autoconf needs, so there comes a race sometimes as below:
 | configure.ac:45: error: required file 'config-h.in' not found
 | touch '../libtool-2.4.6/libltdl/config-h.in'

So make sure autoheader run before autoconf to avoid this race.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobitbake.conf: correct description of HOSTTOOLS_DIR
Robert P. J. Day [Wed, 24 Mar 2021 16:23:06 +0000 (12:23 -0400)]
bitbake.conf: correct description of HOSTTOOLS_DIR

HOSTTOOLS_DIR contains symlinks to host tools, not copies

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotune-cortexa32: Add hard FPU
Jon Mason [Wed, 24 Mar 2021 15:40:16 +0000 (11:40 -0400)]
tune-cortexa32: Add hard FPU

A32 always has NEON and VFP.  Set the FPU as hard to always have this
enabled and used.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoclasses/image: use oe.utils.directory_size() instead of du
Ross Burton [Tue, 23 Mar 2021 16:37:22 +0000 (16:37 +0000)]
classes/image: use oe.utils.directory_size() instead of du

Instead of using du (which has issues as disussed in the previous commit), use
the new oe.utils.directory_size() function.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolib/oe/utils: add directory size function
Ross Burton [Tue, 23 Mar 2021 16:37:21 +0000 (16:37 +0000)]
lib/oe/utils: add directory size function

For the purpose of image construction using du on a rootfs directory isn't
entirely satisfactory.  Bare "du" will report the actual disk usage so file
systems which can compress the data will report less than the actual space
required.  Using "du --apparent-size" will report the actual space used, but as
this simply sums the bytes used for content across an entire file system can
result in significant under-reporting due to block size overhead.

Attempt to solve these problems by implementing our own function to calculate
how large a rootfs will be.  This function handles hardlinks correctly but
rounds up all sizes to multiples of the block size (currently, 4KB is the
hard-coded block size).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoffmpeg: disable GPL features by default
Yann Dirson [Tue, 23 Mar 2021 16:36:49 +0000 (17:36 +0100)]
ffmpeg: disable GPL features by default

--disable-gpl is the upstream default, and using GPL features violates
the license when linking into non-GPL programs.

Enabling it by default breaks user expectations, may cause people to
violate the GPL by mistake.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinitramfs-framework:rootfs: fix some conditional check
Ming Liu [Wed, 24 Mar 2021 12:37:58 +0000 (13:37 +0100)]
initramfs-framework:rootfs: fix some conditional check

Drop a duplicated check for "PARTLABEL=", also change to use elif to
avoid go through all the checks for root parameter.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodocumentation-audit.sh: Fix typo in specifying LICENSE_FLAGS_WHITELIST
Khem Raj [Fri, 26 Mar 2021 01:11:07 +0000 (18:11 -0700)]
documentation-audit.sh: Fix typo in specifying LICENSE_FLAGS_WHITELIST

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Tue, 23 Mar 2021 22:56:39 +0000 (22:56 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssh: Improve LICENSE to show BSD license variants.
Wang Mingyu [Tue, 23 Mar 2021 01:42:39 +0000 (09:42 +0800)]
openssh: Improve LICENSE to show BSD license variants.

Update LICENSE to show that BSD-2-Clause, BSD-3-Clause and BSD-4-Clause
are all present.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssh: upgrade 8.4p1 -> 8.5p1
Wang Mingyu [Tue, 23 Mar 2021 01:42:38 +0000 (09:42 +0800)]
openssh: upgrade 8.4p1 -> 8.5p1

0f90440ca70abab947acbd77795e9f130967956c.patch
removed since it is included in 8.5p1

License Updated :
2-clause BSD license and 4-clause BSD license added

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: update qemuriscv32 v5.10.23
Bruce Ashfield [Mon, 22 Mar 2021 18:44:55 +0000 (14:44 -0400)]
linux-yocto/5.10: update qemuriscv32 v5.10.23

The kernel SRCREV updates were missing riscv32, so stayed back on
5.10.21, which causes build issues as PV is out of sync with the
actual kernel version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto-dev: bump to v5.12-rc
Bruce Ashfield [Mon, 22 Mar 2021 18:44:40 +0000 (14:44 -0400)]
linux-yocto-dev: bump to v5.12-rc

The -dev kernel has moved to v5.12, as it will be the latest avialable
in the upcoming release. core-image-kernel-dev sanity has passed for
the supported arches.

So we bump the version to match the active branches.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosite/elfutils/libunistring: Drop patching for iconv and set in site file
Richard Purdie [Mon, 22 Mar 2021 21:47:29 +0000 (21:47 +0000)]
site/elfutils/libunistring: Drop patching for iconv and set in site file

The standard macros from gettext for iconv include problematic tests which
we've been patching out adhoc. Stop doing this and set results in the site
files instead which is simpler, more maintainable and peforms better too
as an added bonus.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovalgrind: Fix ptests on ppc64 LE
Khem Raj [Mon, 22 Mar 2021 15:51:33 +0000 (08:51 -0700)]
valgrind: Fix ptests on ppc64 LE

Backport a patch to avoid lsw/lmw instructions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts: add oe-time-dd-test.sh
Sakib Sajal [Mon, 22 Mar 2021 08:32:24 +0000 (04:32 -0400)]
scripts: add oe-time-dd-test.sh

oe-time-dd-test records how much time it takes to
write <count> number of kilobytes to the filesystem.
It also records the number of processes that are in
running (R), uninterruptible sleep (D) and interruptible
sleep (S) state from the output of "top" command.
The purporse of this script is to find which part of
the build system puts stress on the filesystem io and
log all the processes.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo-helloworld: disable module-aware mode
Changqing Li [Mon, 22 Mar 2021 03:23:30 +0000 (11:23 +0800)]
go-helloworld: disable module-aware mode

>From go 1.16, module-aware mode is enabled by default, regardless of
whether a go.mod file is present in the current working directory or a
parent directory.

Above change makes go-helloworld build fail when doing offline build or
proxy.golang.org is not accessible.

This fix is kind of workaround, as from go1.17, GOPATH mode will be
dropped, and GO111MODULE is ignored.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: Fix CVE-2021-27097, CVE-2021-27138
Scott Murray [Mon, 22 Mar 2021 02:53:55 +0000 (22:53 -0400)]
u-boot: Fix CVE-2021-27097, CVE-2021-27138

Backport fixes for CVE-2021-27097 and CVE-2021-27138 as well as
a precursor fdt validation fix that allows using the upstream
patches for the CVEs without significant rebasing.  Note that
the additional upstream changes to add new U-Boot fit image tests
have been left out to keep the patch count down.  Those tests are
currently not used for ptest or oe-selftest, so it is believed
their absence should not be problematic.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0-plugins-good: fix rtpjitterbuffer regression
Jose Quaresma [Sun, 21 Mar 2021 15:46:04 +0000 (15:46 +0000)]
gstreamer1.0-plugins-good: fix rtpjitterbuffer regression

Due to an off-by-one when parsing the string, the most significant digit
or the clock offset was skipped when parsing the offset.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/910

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0: upgrade 1.18.3 -> 1.18.4
Jose Quaresma [Sun, 21 Mar 2021 15:46:03 +0000 (15:46 +0000)]
gstreamer1.0: upgrade 1.18.3 -> 1.18.4

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorun-postinsts: do not remove postinsts directory.
Anton D. Kachalov [Sun, 21 Mar 2021 10:26:16 +0000 (11:26 +0100)]
run-postinsts: do not remove postinsts directory.

When running on the systems having read-only rootfs backed by overlayfs,
removing the whole directory lead to create a special char device file
on the upperdir to reflect directory's removal. Once it is required to
upgrade the whole read-only image that might contain new postinsts scripts,
it will be impossible to run such scripts with a "deletion mark" file
on the overlayfs -- the whole directory will be marked as deleted regardless
new files in it.

Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: fix PACKAGECONFIG handling
Martin Jansa [Sat, 20 Mar 2021 10:11:13 +0000 (11:11 +0100)]
python3: fix PACKAGECONFIG handling

* it was changed from sysconf_dis to mods_disabled in:
  https://git.openembedded.org/openembedded-core/diff/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch?id=7347556b18b45c5f9afc2cade565a75c95876914

  but unfortunately this doesn't work as mods_disabled set by remove_configured_extensions
  can contain only extensions which were disabled, as this list:
  self.extensions: ['_struct', 'array', '_contextvars', 'math', 'cmath', 'time', '_datetime', '_zoneinfo', '_random', '_bisect', '_heapq', '_pickle', 'atexit', '_json', '_lsprof', 'unicodedata', '_opcode', '_asyncio', '_abc', '_queue', '_statistics', 'fcntl', 'pwd', 'grp', 'spwd', 'select', 'parser', 'mmap', 'syslog', '_xxsubinterpreters', 'audioop', '_csv', '_posixsubprocess', '_testcapi', '_testinternalcapi', '_testbuffer', '_testimportmultiple', '_testmultiphase', '_xxtestfuzz', '_curses', '_curses_panel', '_crypt', '_socket', '_ssl', '_hashlib', '_sha256', '_sha512', '_md5', '_sha1', '_blake2', '_sha3', '_sqlite3', 'termios', 'resource', 'ossaudiodev', 'nis', 'zlib', 'binascii', '_bz2', '_lzma', 'pyexpat', '_elementtree', '_multibytecodec', '_codecs_kr', '_codecs_jp', '_codecs_cn', '_codecs_tw', '_codecs_hk', '_codecs_iso2022', '_decimal', '_ctypes_test', '_posixshmem', '_multiprocessing', '_uuid', 'xxlimited', '_ctypes']

  while PACKAGECONFIG in python3 usually uses this to disable _dbm, _gdbm or runtime modules.

* without this change the do_install will fail (based on check_build_completeness.py log.do_compile) with:
  | ERROR: Execution of '/OE/build/oe-core/tmp-glibc/work/x86_64-linux/python3-native/3.9.0-r0/temp/run.do_install.69743' failed with exit code 1:
  | The necessary bits to build these optional modules were not found:
  | _dbm                  _gdbm                 readline

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoapt: Do not disable NLS
Khem Raj [Sat, 20 Mar 2021 21:49:56 +0000 (14:49 -0700)]
apt: Do not disable NLS

Add a patch to disable cmake po targets

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>
4 years agoapt: Support old resolver as fallback
Khem Raj [Sat, 20 Mar 2021 21:49:55 +0000 (14:49 -0700)]
apt: Support old resolver as fallback

Not all C libraries implement the new resolver APIs e.g. musl, therefore
keep the old interfaces around and choose using __RES version macro
which is meant for this kind of work.

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>
4 years agoapt: update 1.8.2.2 -> 2.2.2
Alexander Kanavin [Sat, 20 Mar 2021 21:49:54 +0000 (14:49 -0700)]
apt: update 1.8.2.2 -> 2.2.2

Drop 0001-test-libapt-do-not-use-gtest-from-the-host.patch
(replaced by WITH_TESTS option).

Drop 0001-Do-not-configure-packages-on-installation.patch
(no longer necessary).

Adjust build dependencies.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: cfg: fix ppc64 configuration warnings
Bruce Ashfield [Mon, 22 Mar 2021 01:42:18 +0000 (21:42 -0400)]
linux-yocto/5.10: cfg: fix ppc64 configuration warnings

Recent tweaks to the kern tools triggered some warnings that were
previously hidden.

With these two commits, ppc64 has a clean audit:

    c0cfc016a51 qemuppc64: fix 5.10 configuration warnings
    489c76aa9fb qemu-ppc64.cfg: Do not set CONFIG_POWER4

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosstate: Add documentation for eventhandlers and tweak naming
Richard Purdie [Tue, 23 Mar 2021 11:38:58 +0000 (11:38 +0000)]
sstate: Add documentation for eventhandlers and tweak naming

It isn't immediately obvious what these do, add some better examples
to document them. Also improve the naming for one of the handlers.
This will help make it clear in any tracebacks which code is being
used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosstate: Remove stale objects before the main build
Richard Purdie [Thu, 18 Mar 2021 17:57:45 +0000 (17:57 +0000)]
sstate: Remove stale objects before the main build

The split of util-linux-uuid out from util-linux caused some interesting
sstate file overlap errors on existing build directories. This is a
challenge to handle since util-linux depends on util-linux-uuid and has
overlapping files in package data and deploy/packages directories.
The util-linux build happens later and is what would clean up those files
but it happens too late for uuid.

Fixing this is hard as we don't know the taskhashes until the task
graph is calculated. Once that is ready, we can compare the hashes
with the existing hashes and know which sstate tasks are "stale".

This patch adds a handler which iterates the sstate manifests looking
for matching stamp paths and then removes the manifests along with the
associated stamp files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostress-ng: upgrade 0.12.04 -> 0.12.05
zhengruoqin [Wed, 17 Mar 2021 17:50:24 +0000 (01:50 +0800)]
stress-ng: upgrade 0.12.04 -> 0.12.05

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoliburi-perl: upgrade 1.74 -> 5.08
zhengruoqin [Wed, 17 Mar 2021 17:48:34 +0000 (01:48 +0800)]
liburi-perl: upgrade 1.74 -> 5.08

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackagegroup-core-weston.bb: add pam to REQUIRED_DISTRO_FEATURES
Martin Jansa [Fri, 19 Mar 2021 13:34:50 +0000 (14:34 +0100)]
packagegroup-core-weston.bb: add pam to REQUIRED_DISTRO_FEATURES

* weston, weston-init, weston-examples require pam
* fixes:
  ERROR: Nothing RPROVIDES 'weston-init' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston-init was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston-init' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-init']
  ERROR: Nothing RPROVIDES 'packagegroup-core-weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'packagegroup-core-weston'
  NOTE: Runtime target 'packagegroup-core-weston' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['packagegroup-core-weston']
  ERROR: Nothing RPROVIDES 'weston-examples' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston RPROVIDES weston-examples but was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston-examples' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-examples']
  ERROR: Nothing RPROVIDES 'weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-devsrc: fix on-target scripts/prepare for v5.12+
Bruce Ashfield [Fri, 19 Mar 2021 18:58:37 +0000 (14:58 -0400)]
kernel-devsrc: fix on-target scripts/prepare for v5.12+

AR is now captured are part of the build environment. If we don't
subtitute our on-target variant for the cross version, we'll end
up getting a prompted configure when preparing to build modules.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: backport patches to fix build against 5.12+ kernel
Bruce Ashfield [Fri, 19 Mar 2021 18:58:36 +0000 (14:58 -0400)]
lttng-modules: backport patches to fix build against 5.12+ kernel

There are four changes in addition to the 2.12.5 release that we
need to build against the 5.12 kernel. Rather than only rely on
people knowing to use devupstream support to build against newer
kernels, we backport the 4 patches while waiting for release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: update devupstream to 2.12.5+
Bruce Ashfield [Fri, 19 Mar 2021 18:58:35 +0000 (14:58 -0400)]
lttng-modules: update devupstream to 2.12.5+

When building against kernel v5.12-rc+, we need extra changes
on top of the 2.12.5 release. We can bump devupstream separately
from the main release to grab those changes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: cfg: features/numa: Remove NODES_SPAN_OTHER_NODES option
Bruce Ashfield [Fri, 19 Mar 2021 18:58:33 +0000 (14:58 -0400)]
linux-yocto/5.10: cfg: features/numa: Remove NODES_SPAN_OTHER_NODES option

Integrating the following commit(s) to:

    f5babefa399 features/numa: Remove NODES_SPAN_OTHER_NODES option

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: update to v5.10.23
Bruce Ashfield [Fri, 19 Mar 2021 18:58:32 +0000 (14:58 -0400)]
linux-yocto/5.10: update to v5.10.23

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    dfbf345b63c3 Linux 5.10.23
    c8714d1faae8 nvme-pci: add quirks for Lexar 256GB SSD
    e88e01440a48 nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
    3b659091587a KVM: SVM: Clear the CR4 register on reset
    1611c323df9f scsi: ufs: Fix a duplicate dev quirk number
    2dba0f805416 ASoC: Intel: sof_sdw: add quirk for HP Spectre x360 convertible
    c08344abc971 ASoC: Intel: sof_sdw: reorganize quirks by generation
    1d3efd15e8a4 PCI: cadence: Retrain Link to work around Gen2 training defect
    015d38539db9 ALSA: usb-audio: add mixer quirks for Pioneer DJM-900NXS2
    d78acca2afe5 ALSA: usb-audio: Add DJM750 to Pioneer mixer quirk
    96c4c0a9405e HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15
    5b6526283499 mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
    e62bdb34858c drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register
    e74b237ef989 scsi: ufs: ufs-exynos: Use UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE
    0905bfe69ac2 scsi: ufs: ufs-exynos: Apply vendor-specific values for three timeouts
    c32b34115357 scsi: ufs: Introduce a quirk to allow only page-aligned sg entries
    eece8fe5ebb0 misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
    2fc01226c288 scsi: ufs: Add a quirk to permit overriding UniPro defaults
    dbaa2667515e scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
    ff72a41132b3 ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A32
    c7ebe45e403d KVM: x86: Supplement __cr4_reserved_bits() with X86_FEATURE_PCID check
    422da3196be9 PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller
    0ff1f97510fd usb: cdns3: fix NULL pointer dereference on no platform data
    8694c4e2b19c usb: cdns3: add quirk for enable runtime pm by default
    febf7d870371 usb: cdns3: host: add xhci_plat_priv quirk XHCI_SKIP_PHY_INIT
    3db17e283a92 usb: cdns3: host: add .suspend_quirk for xhci-plat.c
    1b2ac1d95fb1 ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140
    d3116e06fb16 ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807
    c5188a98d2fb media: cx23885: add more quirks for reset DMA on some AMD IOMMU
    748446897d36 HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter
    8fb656fefddd platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
    ba1a647e0f11 platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices
    2c9132e543b7 platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
    039cd40179e9 platform/x86: acer-wmi: Add new force_caps module parameter
    74848026bcb1 platform/x86: acer-wmi: Cleanup accelerometer device handling
    be52e3ea4520 platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines
    b159a9a4d357 bus: ti-sysc: Implement GPMC debug quirk to drop platform data
    f7f227eb32d1 ASoC: Intel: sof_sdw: add quirk for new TigerLake-SDCA device
    36b3ba412d7c mwifiex: pcie: skip cancel_work_sync() on reset failure path
    f5526b77335d Bluetooth: btqca: Add valid le states quirk
    93d20ce4c47f iommu/amd: Fix sleeping in atomic in increase_address_space()
    bf6dd437c3ba btrfs: don't flush from btrfs_delayed_inode_reserve_metadata
    cf9317ceb5a1 btrfs: export and rename qgroup_reserve_meta
    7215d7742daf arm64: Make CPU_BIG_ENDIAN depend on ld.bfd or ld.lld 13.0.0+
    a6425142f522 parisc: Enable -mlong-calls gcc option with CONFIG_COMPILE_TEST
    ea222427ae9c nvme-pci: mark Kingston SKC2000 as not supporting the deepest power state
    6d7fdad08fbd ASoC: SOF: Intel: broadwell: fix mutual exclusion with catpt driver
    62ba6d817c91 ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling
    b672142f76cb Linux 5.10.22
    b31a9f0c366d r8169: fix resuming from suspend on RTL8105e if machine runs on battery
    aa40f5e33ce3 tomoyo: recognize kernel threads correctly
    4645271c32b4 of: unittest: Fix build on architectures without CONFIG_OF_ADDRESS
    b70e6aacbe32 Revert "arm64: dts: amlogic: add missing ethernet reset ID"
    a7cefacccafa iommu/vt-d: Fix status code for Allocate/Free PASID command
    5cc0813e7bb9 rsxx: Return -EFAULT if copy_to_user() fails
    e88c1b25f2bc ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
    a14c6ea66211 ALSA: hda: intel-nhlt: verify config type
    7ef9d23bc312 IB/mlx5: Add missing error code
    f767104af496 RDMA/rxe: Fix missing kconfig dependency on CRYPTO
    8850a814d42d RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep
    253b7a11ce26 ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
    4d7ed9a49b0c mm: Remove examples from enum zone_type comment
    8eaef922e938 arm64: mm: Set ZONE_DMA size based on early IORT scan
    35ec3d09ff6a arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges
    a9861e7fa4f8 of: unittest: Add test for of_dma_get_max_cpu_address()
    18bf6e998d08 of/address: Introduce of_dma_get_max_cpu_address()
    3fbe62ffbb54 arm64: mm: Move zone_dma_bits initialization into zone_sizes_init()
    407b173adfac arm64: mm: Move reserve_crashkernel() into mem_init()
    85433307d8a1 crypto - shash: reduce minimum alignment of shash_desc structure
    3868a277e6fc drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
    c2fee74ea801 drm/amdgpu:disable VCN for Navi12 SKU
    ce1cca17381f dm verity: fix FEC for RS roots unaligned to block size
    7bda53f46387 dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
    a2501d87663b io_uring: ignore double poll add on the same waitqueue head
    3301afbfef69 ring-buffer: Force before_stamp and write_stamp to be different on discard
    c6e5800bdf70 PM: runtime: Update device status before letting suppliers suspend
    ae971992e9fe btrfs: fix warning when creating a directory with smack enabled
    e6ba61aaff88 btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
    37ffce966821 btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
    a64ad80223f2 btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
    e82407d24968 btrfs: fix race between extent freeing/allocation when using bitmaps
    1559d94fece2 btrfs: fix stale data exposure after cloning a hole with NO_HOLES enabled
    6fc9e5866cb9 btrfs: fix race between swap file activation and snapshot creation
    501fdd1cefae btrfs: fix race between writes to swap files and scrub
    b2a487613218 btrfs: fix raid6 qstripe kmap
    a01415e5e862 btrfs: avoid double put of block group when emptying cluster
    fbefc2d28900 tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
    bfa2e4ed1d39 tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()
    86c524934277 ALSA: usb-audio: Drop bogus dB range in too low level
    4330e7a8bf01 ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE
    5c947a8a6f05 ALSA: hda/realtek: Enable headset mic of Acer SWIFT with ALC256

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.4: update to v5.4.105
Bruce Ashfield [Fri, 19 Mar 2021 18:58:31 +0000 (14:58 -0400)]
linux-yocto/5.4: update to v5.4.105

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    ce615a08404c Linux 5.4.105
    d17cf4cb1928 nvme-pci: add quirks for Lexar 256GB SSD
    1d08ff846484 nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
    9106a7844efb HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15
    b5e10e9b3047 mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
    21f3fb36b5a2 drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register
    1d113893ff9d misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
    9f1f09887551 PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller
    f40fdcb7ca29 ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140
    242be7cddd25 ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807
    86c8848d680a media: cx23885: add more quirks for reset DMA on some AMD IOMMU
    fd476c6d4e1a HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter
    ef9fa6bb8582 platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
    3a8eb20cb87b platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices
    e3a3a69da177 platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
    b734af305c78 platform/x86: acer-wmi: Add new force_caps module parameter
    025180244251 platform/x86: acer-wmi: Cleanup accelerometer device handling
    37b4324cb78e platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines
    200e14759da5 mwifiex: pcie: skip cancel_work_sync() on reset failure path
    c699a89d385c iommu/amd: Fix sleeping in atomic in increase_address_space()
    fa56bf637eac ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling
    f27765adb3f6 dm table: fix zoned iterate_devices based device capability checks
    06ef17b88676 dm table: fix DAX iterate_devices based device capability checks
    b8aedc65db40 dm table: fix iterate_devices based device capability checks
    c1f5fc082beb net: dsa: add GRO support via gro_cells
    84d5d3c9d3fb Linux 5.4.104
    d859388ea25a r8169: fix resuming from suspend on RTL8105e if machine runs on battery
    1fba84f3c491 rsxx: Return -EFAULT if copy_to_user() fails
    77a81b10f894 ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
    9a20e5782d2d ALSA: hda: intel-nhlt: verify config type
    86b3b62b81c5 IB/mlx5: Add missing error code
    809ef2660c1b RDMA/rxe: Fix missing kconfig dependency on CRYPTO
    26a1af33c9cd ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
    6827415290ab usbip: tools: fix build error for multiple definition
    078170924d84 crypto - shash: reduce minimum alignment of shash_desc structure
    1f8884d04480 arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL)
    9e15b43fdaf3 drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
    b367201430dd dm verity: fix FEC for RS roots unaligned to block size
    1a4182923144 dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
    52a643680165 PM: runtime: Update device status before letting suppliers suspend
    e49baccfe299 btrfs: fix warning when creating a directory with smack enabled
    a87911c26a1c btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
    91bc3296bffb btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
    8674c1a72a69 btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
    0c740d2b8c61 btrfs: fix raid6 qstripe kmap
    909a8d2b1e7b btrfs: raid56: simplify tracking of Q stripe presence
    15726df8c09a tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
    6d71cbc91104 tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.10: fix SERIAL_OF_PLATFORM warning
Bruce Ashfield [Fri, 19 Mar 2021 18:58:30 +0000 (14:58 -0400)]
linux-yocto/5.10: fix SERIAL_OF_PLATFORM warning

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

    a0249ac3bae cfg: classify CONFIG_SERIAL_OF_PLATFORM as non-hardware

By declaring the option non-hardware, we make it optional and hence
fix the warning on non OF platforms.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Drop gatesgarth from the layer series names
Richard Purdie [Fri, 19 Mar 2021 17:52:44 +0000 (17:52 +0000)]
layer.conf: Drop gatesgarth from the layer series names

The time has come to encourage people to update actively maintained
layers to use the new series name.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc-sanitizers: Package up hwasan files
Khem Raj [Fri, 19 Mar 2021 17:14:26 +0000 (10:14 -0700)]
gcc-sanitizers: Package up hwasan files

This is introduced in GCC-11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxxhash: import from meta-oe
Alexander Kanavin [Fri, 19 Mar 2021 08:43:58 +0000 (09:43 +0100)]
xxhash: import from meta-oe

This is needed for newer versions of apt.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoautomake: update 1.16.2 - > 1.16.3
Alexander Kanavin [Fri, 19 Mar 2021 08:43:57 +0000 (09:43 +0100)]
automake: update 1.16.2 - > 1.16.3

Drop automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch;
upstream has fixed the issue.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostrace: update 5.10 -> 5.11
Alexander Kanavin [Fri, 19 Mar 2021 08:43:56 +0000 (09:43 +0100)]
strace: update 5.10 -> 5.11

Drop disable-git-version-gen.patch as problem fixed upstream.

Add parallel builds to ptest compile.

strace-graph has been removed upstream.

Adjust ptest patch to match upstream changes.

License-Update: copyright years.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibhandy: update 1.0.3 -> 1.2.0
Alexander Kanavin [Fri, 19 Mar 2021 08:43:55 +0000 (09:43 +0100)]
libhandy: update 1.0.3 -> 1.2.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoasciidoc: update 9.0.4 -> 9.1.0
Alexander Kanavin [Fri, 19 Mar 2021 08:43:54 +0000 (09:43 +0100)]
asciidoc: update 9.0.4 -> 9.1.0

Dropped patch supserseded by https://github.com/asciidoc-py/asciidoc-py/pull/172

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoattr: update 2.4.48 -> 2.5.1
Alexander Kanavin [Fri, 19 Mar 2021 08:43:53 +0000 (09:43 +0100)]
attr: update 2.4.48 -> 2.5.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: update 20.3.4 -> 21.0.0
Alexander Kanavin [Fri, 19 Mar 2021 08:43:52 +0000 (09:43 +0100)]
mesa: update 20.3.4 -> 21.0.0

0001-anv-fix-a-build-race-between-generating-a-header-and.patch
merged upstream.

osmesa is now a simple boolean option.

Swrast has been removed from dri drivers, so as we need at least one
driver to enable dri in native/nativesdk, replace it with nouveau
(which does not take long to build).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: upgrade 2020.6 -> 2020.7
Alexander Kanavin [Fri, 19 Mar 2021 08:43:51 +0000 (09:43 +0100)]
spirv-tools: upgrade 2020.6 -> 2020.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-headers: update to latest revision
Alexander Kanavin [Fri, 19 Mar 2021 08:43:50 +0000 (09:43 +0100)]
spirv-headers: update to latest revision

This is required by latest release of spirv-tools.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobind: upgrade 9.16.11 -> 9.16.12
Alexander Kanavin [Fri, 19 Mar 2021 08:43:49 +0000 (09:43 +0100)]
bind: upgrade 9.16.11 -> 9.16.12

Adjust library packaging (see link to commit in the recipe).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub: upgrade 2.04 -> 2.06~rc1
Naveen Saini [Fri, 19 Mar 2021 07:14:33 +0000 (15:14 +0800)]
grub: upgrade 2.04 -> 2.06~rc1

2.06 RC1 release have a number of CVEs fixed:
CVE-2020-15705
CVE-2021-3418
CVE-2020-27749
CVE-2021-20233
CVE-2021-20225
CVE-2020-25647
CVE-2020-25632
CVE-2020-27779
CVE-2020-14372
CVE-2020-15707
CVE-2020-15706
CVE-2020-14309
CVE-2020-14310
CVE-2020-14311
CVE-2020-14308
CVE-2020-10713
CVE-2014-4607

Dropped backported patches.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/wic: Fix dependency issue in rawcopy test
Richard Purdie [Fri, 19 Mar 2021 13:30:36 +0000 (13:30 +0000)]
selftest/wic: Fix dependency issue in rawcopy test

The current test code contains a subtle race. It is building an ext4,
then trying to reuse that image in a wic build for the same recipe.
Whilst this happened to work, the code is within its rights to clean
up the output before the wic code runs.

Avoid this by using separate image targets instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Update patch to only patch files once
Wang Mingyu [Mon, 15 Mar 2021 01:02:04 +0000 (09:02 +0800)]
gcc: Update patch to only patch files once

This fixes an error in do_patch when using "PATCHTOOL = "patch""

error message:
checking file gcc/configure.ac Hunk #1 FAILED at 6602.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-dummy: add empty dependent packages
Li Wang [Fri, 12 Mar 2021 09:52:50 +0000 (17:52 +0800)]
linux-dummy: add empty dependent packages

some kernel includes kernel-image-image and kernel-devicetree packages.
these patckages are defined in kernel.bbclass
but, when use linux-dummy, these packages are not defined.
so, define them as empty packages for avoiding compile error:

ERROR: Nothing RPROVIDES 'kernel-devicetree'

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: cleanup an old patch that is not used anymore
Jose Quaresma [Sun, 14 Mar 2021 12:53:44 +0000 (12:53 +0000)]
spirv-tools: cleanup an old patch that is not used anymore

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agospirv-tools: python3 is need not only for the tests
Jose Quaresma [Sun, 14 Mar 2021 12:53:43 +0000 (12:53 +0000)]
spirv-tools: python3 is need not only for the tests

commit acf109c1a1a30907f7401f6225fcbfb5f2e39a58 remove the python3native
when disabling the tests but python is needed not only for the tests,
so re add it.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodevshell.bbclass: Exceptions displayed within devpyshell
Dorinda Bassey [Thu, 18 Mar 2021 15:49:40 +0000 (16:49 +0100)]
devshell.bbclass: Exceptions displayed within devpyshell

If you type something into devpyshell, an exception should be triggered,
but that exception isn't printed out because it is not being flushed out
of the buffer. This patch fixes that issue.

[YOCTO #12156]

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0
Wang Mingyu [Thu, 18 Mar 2021 03:34:40 +0000 (11:34 +0800)]
vulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0
Wang Mingyu [Thu, 18 Mar 2021 03:34:39 +0000 (11:34 +0800)]
vulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0

0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch
removed since it is included in 1.2.170.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0
Wang Mingyu [Thu, 18 Mar 2021 03:34:38 +0000 (11:34 +0800)]
vulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-fitimage.bbclass: support both KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE
Ming Liu [Thu, 18 Mar 2021 12:47:58 +0000 (13:47 +0100)]
kernel-fitimage.bbclass: support both KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE

There are user cases that a developer wants to add both in-tree and
out-of-tree devicetrees to fitimage, and this is quite normal, for
instance, a developer might need the devicetrees from kernel source
meanwhile maintaining his/her own devicetree overlays to be applied
on top of them.

To support that, we now allow KERNEL_DEVICETREE and
EXTERNAL_KERNEL_DEVICETREE to be both set in configuration files, and
the devicetrees in EXTERNAL_KERNEL_DEVICETREE have higher priority to
override the same names in KERNEL_DEVICETREE.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat
Alexander Kanavin [Thu, 18 Mar 2021 11:55:57 +0000 (12:55 +0100)]
libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: upgrade 247.3 -> 247.4
wangmy@fujitsu.com [Thu, 18 Mar 2021 09:05:26 +0000 (17:05 +0800)]
systemd: upgrade 247.3 -> 247.4

refresh the following patches:
systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch
systemd/0006-Include-netinet-if_ether.h.patch

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoscripts/verify-bashisms: Update checkbashisms.pl URL
Petr Vorel [Thu, 18 Mar 2021 18:51:44 +0000 (19:51 +0100)]
scripts/verify-bashisms: Update checkbashisms.pl URL

anonscm.debian.org is not used any more, update the URL.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoweston-init: Set $HOME variable for SysVinit manager
Adrian [Mon, 15 Mar 2021 15:01:10 +0000 (16:01 +0100)]
weston-init: Set $HOME variable for SysVinit manager

SysVinit sets by default the $HOME directory to "/" for the init scripts.
It's picked then by the weston-launcher and make weston-terminal to have
wrongly set $HOME environment variable for the root user.

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogptfdisk: upgrade 1.0.6 -> 1.0.7
Wang Mingyu [Wed, 17 Mar 2021 23:52:35 +0000 (07:52 +0800)]
gptfdisk: upgrade 1.0.6 -> 1.0.7

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoexternalsrc: Detect code changes in submodules
Douglas Royds [Wed, 17 Mar 2021 23:37:55 +0000 (12:37 +1300)]
externalsrc: Detect code changes in submodules

Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

git submodule status returns a path relative to the cwd for each submodule.
We don't add submodules that are not within our source subtree.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocmake: Fully-qualified path to ar
Douglas Royds [Wed, 17 Mar 2021 23:25:14 +0000 (12:25 +1300)]
cmake: Fully-qualified path to ar

We (correctly enough) pass in our AR to cmake via the toolchain file,
but unlike the other cross-compilation tools (CC, CXX, ranlib, etc),
cmake does not then do its own search in the PATH for our AR.

By using cmake's own find_program() to search the PATH,
make works as expected from the commandline, outside of bitbake.

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-check: CVE_VERSION_SUFFIX to work with patched release
Lee Chee Yang [Thu, 4 Mar 2021 14:44:07 +0000 (22:44 +0800)]
cve-check: CVE_VERSION_SUFFIX to work with patched release

CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX"
or "patchX" as patched release.

also update testcases to cover this changes and set CVE_VERSION_SUFFIX
for sudo.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-update-db-native: consider version suffix when update CVE db
Lee Chee Yang [Thu, 4 Mar 2021 14:44:06 +0000 (22:44 +0800)]
cve-update-db-native: consider version suffix when update CVE db

some record from NVD can merge or split suffix from version, for
example:
  CVE-2017-15906
  "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:5.0:p1:*:*:*:*:*:*"
  "cpe23Uri" : "cpe:2.3:a:openbsd:openssh:4.7p1:*:*:*:*:*:*:*"

in such case include the suffix into version when update local CVE db.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomsmtp: upgrade 1.8.14 -> 1.8.15
Wang Mingyu [Tue, 16 Mar 2021 10:10:38 +0000 (18:10 +0800)]
msmtp: upgrade 1.8.14 -> 1.8.15

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: enable strlen and stpcpy on musl/linux too
Khem Raj [Wed, 17 Mar 2021 20:24:59 +0000 (13:24 -0700)]
webkitgtk: enable strlen and stpcpy on musl/linux too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: Add packageconfig to chose between size and speed
Khem Raj [Wed, 17 Mar 2021 20:24:58 +0000 (13:24 -0700)]
webkitgtk: Add packageconfig to chose between size and speed

This packageconfig when selected will use -Os -DNDEBUG instead of -O2
-DNDEBUG, which should generate smaller binaries and libs but perhaps at
the expense of some runtime performance, defaults are kept as it is

size reduction when enabled

--rwxr-xr-x root       root         23503680 ./usr/lib/libjavascriptcoregtk-4.0.so.18.17.13
+-rwxr-xr-x root       root         17536152 ./usr/lib/libjavascriptcoregtk-4.0.so.18.17.13
--rwxr-xr-x root       root         53314616 ./usr/lib/libwebkit2gtk-4.0.so.37.49.9
+-rwxr-xr-x root       root         40195672 ./usr/lib/libwebkit2gtk-4.0.so.37.49.9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: Reduce stack and heap sizes for jsc on musl
Khem Raj [Wed, 17 Mar 2021 20:24:57 +0000 (13:24 -0700)]
webkitgtk: Reduce stack and heap sizes for jsc on musl

Fixes

[YOCTO #14281]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo: upgrade 1.9.6 -> 1.9.6p1
zhengruoqin [Wed, 17 Mar 2021 17:49:02 +0000 (01:49 +0800)]
sudo: upgrade 1.9.6 -> 1.9.6p1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsdl2: disable shared memory for native builds
Awais Belal [Wed, 17 Mar 2021 14:06:44 +0000 (19:06 +0500)]
libsdl2: disable shared memory for native builds

libsdl2 currently does not handle the failures that
occur due to shared memory in case of remote hosts
where it should ideally switch to socket based writing
when a failure is seen with shared memory.
Consider a scenario where a qemu build is done with
graphics support on a build machine and then accessed
remotely using ssh. If the remote host's X presents
MIT-SHM as an extension, launching qemu fails with

runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()

This is most often seen when the remote machine doing
ssh is a Ubuntu 20.04. The libsdl2 native are mainly
used for qemu at this time so it is a major usecase.
A report of such a failure was also presented at
https://lists.yoctoproject.org/g/poky/topic/78854857

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobase: respect downloadfilename when sniffing the SRC_URI for dependencies
Ross Burton [Tue, 16 Mar 2021 19:38:50 +0000 (19:38 +0000)]
base: respect downloadfilename when sniffing the SRC_URI for dependencies

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoselftest/reproducible: Drop ovmf exclusion
Richard Purdie [Fri, 19 Mar 2021 17:51:55 +0000 (17:51 +0000)]
selftest/reproducible: Drop ovmf exclusion

The hardcoded path issue was fixed, drop the exclusion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoovmf: make output binaries reproducible
Ross Burton [Tue, 16 Mar 2021 19:38:02 +0000 (19:38 +0000)]
ovmf: make output binaries reproducible

OVMF is mostly reproducible, but the final .efi binaries have a 'NM10'
segment in that references the original input file, and this input file
has the build path in.

This can be solved by passing --zero to GenFw so that this segment is
zero'd out in release builds.

[ YOCTO #14264 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: Fix packaging
Michael Trensch [Tue, 16 Mar 2021 20:26:38 +0000 (20:26 +0000)]
linux-firmware: Fix packaging

Upstream directory layout has changed after update in commit 3c2f8b750ab9c53773fb5a9a1a874e475740b4ee, resulting in some package to pull in linux-firmware base package.
This may cause an image size increase of approximately 700MB.

See log.do_packaging:
DEBUG: linux-firmware-bcm43340 contains dangling link /lib/firmware/cypress/cyfmac43340-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43362 contains dangling link /lib/firmware/cypress/cyfmac43362-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4339 contains dangling link /lib/firmware/cypress/cyfmac4339-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4354 contains dangling link /lib/firmware/cypress/cyfmac4354-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356 contains dangling link /lib/firmware/cypress/cyfmac4356-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43570 contains dangling link /lib/firmware/cypress/cyfmac43570-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4373 contains dangling link /lib/firmware/cypress/cyfmac4373-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_4x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_8x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_1x10_1x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_2x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0096-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_4x10_1x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_1x40.nffw
DEBUG: target found in linux-firmware

Signed-off-by: Michael Trensch <mtrensch@hilscher.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: make pydoc rdepend on python3-io
Bartosz Golaszewski [Sun, 7 Mar 2021 15:19:06 +0000 (16:19 +0100)]
python3: make pydoc rdepend on python3-io

pydoc needs tempfile (provided by python3-io) to work. Add python3-io
to its RDEPENDS.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoutil-linux: backport patch to skip build of unused objects
Luca Boccassi [Tue, 16 Mar 2021 11:38:36 +0000 (11:38 +0000)]
util-linux: backport patch to skip build of unused objects

util-linux-uuid does not need libtcolors.a and libcommon.a but
they get build regardless. Backport a patch from upstream to
skip them and save some compilation time.

https://github.com/karelzak/util-linux/commit/c65953d72bbc7412f32e566d9fa6e780d84f0696

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo: upgrade 1.9.5p2 -> 1.9.6
Richard Purdie [Mon, 15 Mar 2021 07:18:04 +0000 (07:18 +0000)]
sudo: upgrade 1.9.5p2 -> 1.9.6

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosqlite3: upgrade 3.34.1 -> 3.35.0
Richard Purdie [Mon, 15 Mar 2021 16:29:23 +0000 (16:29 +0000)]
sqlite3: upgrade 3.34.1 -> 3.35.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: upgrade 2.12.4 -> 2.12.5
Richard Purdie [Mon, 15 Mar 2021 14:04:23 +0000 (14:04 +0000)]
lttng-modules: upgrade 2.12.4 -> 2.12.5

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-tools: upgrade 2.12.2 -> 2.12.3
Richard Purdie [Mon, 15 Mar 2021 14:27:32 +0000 (14:27 +0000)]
lttng-tools: upgrade 2.12.2 -> 2.12.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibedit: upgrade 20191231-3.1 -> 20210216-3.1
Khem Raj [Mon, 15 Mar 2021 18:13:40 +0000 (11:13 -0700)]
libedit: upgrade 20191231-3.1 -> 20210216-3.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson: Work around determinism issue
Richard Purdie [Mon, 15 Mar 2021 23:48:34 +0000 (23:48 +0000)]
meson: Work around determinism issue

The meson determinism issue is the same frozenset issue we encountered with
python itself. Remove the problematic pyc file until upstream work out the
best way to address the issue (as with core python).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agometa-selftest: Add HOMEPAGE / DESCRIPTION
Dorinda Bassey [Mon, 15 Mar 2021 12:40:54 +0000 (13:40 +0100)]
meta-selftest: Add HOMEPAGE / DESCRIPTION

Added HOMEPAGE and DESCRIPTION for recipes with missing
descriptions or homepage.

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 15 Mar 2021 15:17:41 +0000 (15:17 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Add gatesgarth back for now to allow for transition
Richard Purdie [Mon, 15 Mar 2021 15:17:31 +0000 (15:17 +0000)]
layer.conf: Add gatesgarth back for now to allow for transition

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 15 Mar 2021 14:59:51 +0000 (14:59 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: Update for hardknott release series
Richard Purdie [Mon, 15 Mar 2021 14:54:09 +0000 (14:54 +0000)]
layer.conf: Update for hardknott release series

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoprocps: update 3.3.16 -> 3.3.17
Alexander Kanavin [Sun, 28 Feb 2021 15:36:56 +0000 (16:36 +0100)]
procps: update 3.3.16 -> 3.3.17

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>