]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agosstatesig: Only apply group/other permissions to pseudo files
Richard Purdie [Wed, 6 Oct 2021 14:02:14 +0000 (15:02 +0100)]
sstatesig: Only apply group/other permissions to pseudo files

We hardlink some files into the build, such as licence files in
do_populate_lic tasks. Depending on the umask that the source tree
was checked out with, the group permissions would vary. This
results in inconsistent task outhashes.

Avoid this by ignoring the group/other bits unless we're under
pseudo context.

Bump the ABI numbers to ensure we don't see cache corruption from
earlier builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomachine/qemuarm*: Fix UBOOT_MACHINE value
Daiane Angolini [Tue, 5 Oct 2021 16:35:08 +0000 (13:35 -0300)]
machine/qemuarm*: Fix UBOOT_MACHINE value

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Define libnfs PACKAGECONFIG
Andrei Gherzan [Wed, 6 Oct 2021 12:08:33 +0000 (13:08 +0100)]
qemu: Define libnfs PACKAGECONFIG

The upstream qemu recipe uses host's pkg-config files as a solution to
detecting host's SDL. This has a side effect of using other host
libraries that are later queried by the configure script. This can get
into a situation when the host provides libnfs (for example) and because
later this dependency is not in place anymore, qemu will fail at
runtime.

This change adds a PACKAGECONFIG definition for libnfs that is disabled
by default, in turn disabling the pkgconfig autodetection in configure.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.14: revert: scripts/gcc-plugins: consistently use HOSTCC
Bruce Ashfield [Wed, 6 Oct 2021 11:33:05 +0000 (07:33 -0400)]
linux-yocto/5.14: revert: scripts/gcc-plugins: consistently use HOSTCC

The previously picked up gcc-plugins script wasn't correct and has
been retracted upstream. We do the same in our 5.14 kernel:

    c4def465fc44 Revert "scripts/gcc-plugins: consistently use HOSTCC"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-yocto: don't apply config metadata patches twice
Bruce Ashfield [Wed, 6 Oct 2021 00:12:46 +0000 (20:12 -0400)]
kernel-yocto: don't apply config metadata patches twice

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.14: update to v5.14.9
Bruce Ashfield [Wed, 6 Oct 2021 00:12:45 +0000 (20:12 -0400)]
linux-yocto/5.14: update to v5.14.9

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

    70248e7b378b Linux 5.14.9
    f6fceb4e9ce6 usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval
    007574d6ac26 usb: gadget: f_uac2: Add missing companion descriptor for feedback EP
    d401d7d2f5c8 nvmet: fix a width vs precision bug in nvmet_subsys_attr_serial_show()
    958c616efce3 qnx4: work around gcc false positive warning bug
    f67f85ec19fa xen/balloon: fix balloon kthread freezing
    8ea750370cd6 software node: balance refcount for managed software nodes
    62a27861b4ea USB: serial: cp210x: fix dropped characters with CP2102
    7b389ef53115 arm64: add MTE supported check to thread switching and syscall entry/exit
    338db6ec41ca irqchip/armada-370-xp: Fix ack/eoi breakage
    8467f200fd38 thermal/drivers/int340x: Do not set a wrong tcc offset on resume
    fe5eaf1cdf9c x86/setup: Call early_reserve_memory() earlier
    5111b05125bd EDAC/dmc520: Assign the proper type to dimm->edac_mode
    845350d4e34b EDAC/synopsys: Fix wrong value type assignment for edac_mode
    ef8eac0c61d7 Revert drm/vc4 hdmi runtime PM changes
    8aef50b390c4 libperf evsel: Make use of FD robust.
    5f35f78ead51 spi: Fix tegra20 build with CONFIG_PM=n
    9367a8fbd9d9 net: 6pack: Fix tx timeout and slot time
    501b0fa2f7f2 alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
    95d6bf1d19fd arm64: Mark __stack_chk_guard as __ro_after_init
    28f2eee9fc03 amd/display: enable panel orientation quirks
    fca67e1c4b8c drm/amd/display: Link training retry fix for abort case
    76438685048a drm/amd/display: Fix unstable HPCP compliance on Chrome Barcelo
    b58ffd21ec45 drm/amdkfd: make needs_pcie_atomics FW-version dependent
    47c6e796abe4 parisc: Use absolute_pointer() to define PAGE0
    01452e3c727e qnx4: avoid stringop-overread errors
    dd24b4ba2d8d sparc: avoid stringop-overread errors
    32f93161620a net: i825xx: Use absolute_pointer for memcpy from fixed memory location
    eb136917b022 compiler.h: Introduce absolute_pointer macro
    7c2c69e01043 blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd
    a5067abc52ef block: flush the integrity workqueue in blk_integrity_unregister
    282aed19c590 block: check if a profile is actually registered in blk_integrity_unregister
    e7f8b507fe58 drm/ttm: fix type mismatch error on sparc64
    2b60676ac850 amd/display: downgrade validation failure log level
    5780971d7dbd sparc32: page align size in arch_dma_alloc
    d268a182c56e nvme-rdma: destroy cm id before destroy qp to avoid use after free
    e0b9644a4903 nvme-multipath: fix ANA state updates when a namespace is not present
    922fd5b6bb13 xen/balloon: use a kernel thread instead a workqueue
    b5fe7cdfee59 bpf: Add oversize check before call kvcalloc()
    ded7d5c44d8a cpufreq: intel_pstate: Override parameters if HWP forced by BIOS
    de4afec2d294 dma-debug: prevent an error message from causing runtime problems
    4a23ae2c6a60 ipv6: delay fib6_sernum increase in fib6_add
    88ad6f3803ca m68k: Double cast io functions to unsigned long
    5cee359945e0 blk-mq: avoid to iterate over stale request
    cde9ad77f20b net: stmmac: allow CSR clock of 300MHz
    4ad6f2d23b0f net: macb: fix use after free on rmmod
    b7646fadde06 net: phylink: Update SFP selected interface on advertising changes
    a5f8e8619261 blktrace: Fix uaf in blk_trace access after removing by sysfs
    2f6caa538735 io_uring: don't punt files update to io-wq unconditionally
    05ac8e4c8aec io_uring: put provided buffer meta data under memcg accounting
    24d38dcce407 io_uring: fix missing set of EPOLLONESHOT for CQ ring overflow
    4e81f12cc00c io_uring: fix race between poll completion and cancel_hash insertion
    6724710fd8d4 x86/asm: Fix SETZ size enqcmds() build failure
    a46d5e3603bd md: fix a lock order reversal in md_alloc
    e0c1c2e5da19 irqchip/gic-v3-its: Fix potential VPE leak on error
    546886700105 irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build
    329cb72b3241 scsi: lpfc: Use correct scnprintf() limit
    f56250ae28af scsi: qla2xxx: Restore initiator in dual mode
    e607120e15b0 scsi: ufs: core: Unbreak the reset handler
    1d65bff00936 scsi: ufs: Retry aborted SCSI commands instead of completing these successfully
    4368d7a1aa0f scsi: ufs: Revert "Utilize Transfer Request List Completion Notification Register"
    1fc9119eda5b scsi: sd_zbc: Support disks with more than 2**32 logical blocks
    309c4b00c687 cifs: fix a sign extension bug
    a5024c719888 thermal/core: Potential buffer overflow in thermal_build_list_of_policies()
    ed1e0252111b nvme: keep ctrl->namespaces ordered
    08a14a654f4f nvme-tcp: fix incorrect h2cdata pdu offset accounting
    8cd1ae341b22 x86/fault: Fix wrong signal when vsyscall fails with pkey
    bfacc1de136d fpga: machxo2-spi: Fix missing error code in machxo2_write_complete()
    674fd6adbfbf fpga: machxo2-spi: Return an error on failure
    0ee0fbc2a3c0 tty: synclink_gt: rename a conflicting function name
    8cbf9ac9941f scsi: target: Fix the pgr/alua_support_store functions
    0c1b2c0d1c1e scsi: iscsi: Adjust iface sysfs attr detection
    c7da1781a6ad drm/amdkfd: fix dma mapping leaking warning
    bb8078d3a778 drm/amdkfd: map SVM range with correct access permission
    80ec71bd37d4 atlantic: Fix issue in the pm resume flow.
    d0a3a062c91f net/mlx4_en: Don't allow aRFS for encapsulated packets
    6909a55ce459 net: mscc: ocelot: fix forwarding from BLOCKING ports remaining enabled
    6081c82c2ff8 net: ethernet: mtk_eth_soc: avoid creating duplicate offload entries
    339440b11728 nfc: st-nci: Add SPI ID matching DT compatible
    741760fa6252 nexthop: Fix memory leaks in nexthop notification chain listeners
    f8ff625a8082 mptcp: ensure tx skbs always have the MPTCP ext
    3d6374d5c386 qed: rdma - don't wait for resources under hw error recovery flow
    18eab899f43f gpio: uniphier: Fix void functions to remove return value
    26c204fbdbc5 gpiolib: acpi: Make set-debounce-timeout failures non fatal
    9b00fb12cdc9 s390/qeth: fix NULL deref in qeth_clear_working_pool_list()
    b9fc4ed7520a spi: Revert modalias changes
    9839bb2b0e83 kselftest/arm64: signal: Skip tests if required features are missing
    6407eb6692fe kselftest/arm64: signal: Add SVE to the set of features we can check for
    d12feda3daf7 platform/x86: dell: fix DELL_WMI_PRIVACY dependencies & build error
    5e95328ad0cd net: dsa: realtek: register the MDIO bus under devres
    880ee7cf0f02 net: dsa: don't allocate the slave_mii_bus using devres
    e15b7001ce5e net: dsa: fix dsa_tree_setup error path
    79816b227dab net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work
    edb96e602d84 net/smc: add missing error check in smc_clc_prfx_set()
    1791e8eef88a net: hns3: fix a return value error in hclge_get_reset_status()
    18d1e07be773 net: hns3: check vlan id before using it
    3d4b460aeb83 net: hns3: check queue id range before using
    fa6126e4eda4 net: hns3: fix misuse vf id and vport id in some logs
    faf83d55e293 net: hns3: fix inconsistent vf id print
    6a627ccb2ce9 net: hns3: fix change RSS 'hfunc' ineffective issue
    fab9a160ef76 bnxt_en: Fix TX timeout when TX ring size is set to the smallest
    ce6c8a9246ad napi: fix race inside napi_enable
    d9448073ee71 net: bgmac-bcma: handle deferred probe error due to mac-address
    1e3d85f911f8 net: dsa: tear down devlink port regions when tearing down the devlink port on error
    135c541dee18 enetc: Fix uninitialized struct dim_sample field usage
    6f329d9da2a5 enetc: Fix illegal access when reading affinity_hint
    f020bb63b5d2 virtio-net: fix pages leaking when building skb in big mode
    9a5ba85e8dce NLM: Fix svcxdr_encode_owner()
    2f95dd831be0 regulator: max14577: Revert "regulator: max14577: Add proper module aliases strings"
    50cb50a99fae platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
    fa3aac2b4386 afs: Fix updating of i_blocks on file/dir extension
    e66fc460d6dc afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server
    95671c6c6374 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation
    d130b5fdd422 afs: Fix page leak
    7f797c79fccd regulator: qcom-rpmh-regulator: fix pm8009-1 ldo7 resource name
    f217b6c1e28e comedi: Fix memory leak in compat_insnlist()
    b032354df6ed arm64: Mitigate MTE issues with str{n}cmp()
    0375ec7559ba arm64: Restore forced disabling of KPTI on ThunderX
    eda7a025a580 platform/x86: amd-pmc: Increase the response register timeout
    449d6043c81d net: hso: fix muxed tty registration
    06a18e64256f drm/amd/pm: Update intermediate power state for SI
    d7ee7ccdc786 scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE
    21907692fbf3 serial: mvebu-uart: fix driver's tx_empty callback
    590e6c408e30 serial: 8250: 8250_omap: Fix RX_LVL register offset
    807ac762afee xhci: Set HCD flag to defer primary roothub registration
    f8f91342dc0e btrfs: prevent __btrfs_dump_space_info() to underflow its free space
    e9d32ec26e7f nexthop: Fix division by zero while replacing a resilient group
    e1854b6cad5f erofs: fix up erofs_lookup tracepoint
    336dabf99386 KVM: rseq: Update rseq when processing NOTIFY_RESUME on xfer to KVM guest
    9fc198f415de mcb: fix error handling in mcb_alloc_bus()
    9dfda47040e1 misc: genwqe: Fixes DMA mask setting
    3e9a41195afe misc: bcm-vk: fix tty registration race
    e50c102f362e USB: serial: option: add device id for Foxconn T99W265
    924956f203db USB: serial: option: remove duplicate USB device ID
    4bb92efc9bd5 USB: serial: option: add Telit LN920 compositions
    8db009cb6655 USB: serial: mos7840: remove duplicated 0xac24 device ID
    e9ce1992a338 usb: core: hcd: Add support for deferring roothub registration
    0fff3d5cd436 usb: cdns3: fix race condition before setting doorbell
    41d5aff380c0 usb: dwc3: core: balance phy init and exit
    c9f0252e4508 Re-enable UAS for LaCie Rugged USB3-FW with fk quirk
    b55704091500 usb: isp1760: do not sleep in field register poll
    9872ff6fdce8 staging: greybus: uart: fix tty use after free
    b0e001ae6060 binder: fix freeze race
    b95483d8d94b binder: make sure fd closes complete
    63239b0336b1 Revert "USB: bcma: Add a check for devm_gpiod_get"
    af5947c5157d USB: cdc-acm: fix minor-number release
    166f843bb68c USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter
    5a377e1d7ac9 usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c
    842f8bde1ed9 xen/x86: fix PV trap handling on secondary processors
    9b73af491ffe cifs: fix incorrect check for null pointer in header_assemble
    9f6c7aff21f8 cifs: Fix soft lockup during fsstress
    6344bc6cd2b4 cifs: Not to defer close on file when lock is set
    14582e4d65dc usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
    11453ccd21b1 usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA
    eba598563d06 usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
    40fe83550d86 usb: gadget: u_audio: EP-OUT bInterval in fback frequency
    29517795c4fe usb: gadget: r8a66597: fix a loop in set_feature()
    9c93c402c467 mm: fix uninitialized use in overcommit_policy_handler
    a7032c95c6e8 mm/debug: sync up MR_CONTIG_RANGE and MR_LONGTERM_PIN
    9ad0f5ca9ccd ocfs2: drop acl cache for directories too
    0414a521d1ea mm, hwpoison: add is_free_buddy_page() in HWPoisonHandlable()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.70
Bruce Ashfield [Wed, 6 Oct 2021 00:12:44 +0000 (20:12 -0400)]
linux-yocto/5.10: update to v5.10.70

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

    f93026b28e2a Linux 5.10.70
    59094296058d qnx4: work around gcc false positive warning bug
    35c0dfbbd344 xen/balloon: fix balloon kthread freezing
    8373d58c89be USB: serial: cp210x: fix dropped characters with CP2102
    67cdb51ab5e2 thermal/drivers/int340x: Do not set a wrong tcc offset on resume
    cc71740ee4d4 EDAC/dmc520: Assign the proper type to dimm->edac_mode
    9afad85a43f5 EDAC/synopsys: Fix wrong value type assignment for edac_mode
    db76cb05c046 spi: Fix tegra20 build with CONFIG_PM=n
    890e25c424ea net: 6pack: Fix tx timeout and slot time
    044513c1fada alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
    0a511ba6d2a7 arm64: Mark __stack_chk_guard as __ro_after_init
    fec3bd622db0 parisc: Use absolute_pointer() to define PAGE0
    61454e7fd624 qnx4: avoid stringop-overread errors
    5520d27f02a1 sparc: avoid stringop-overread errors
    8d768beaf0ef net: i825xx: Use absolute_pointer for memcpy from fixed memory location
    e99f9032715e compiler.h: Introduce absolute_pointer macro
    f58d305887ad blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd
    1ef68b84bc11 block: flush the integrity workqueue in blk_integrity_unregister
    1963bdb7489c block: check if a profile is actually registered in blk_integrity_unregister
    526261c1b706 amd/display: downgrade validation failure log level
    54a4860c6257 sparc32: page align size in arch_dma_alloc
    ecf0dc5a9048 nvme-rdma: destroy cm id before destroy qp to avoid use after free
    2a08960577af nvme-multipath: fix ANA state updates when a namespace is not present
    372d3e6ea1e1 xen/balloon: use a kernel thread instead a workqueue
    6345a0bee801 bpf: Add oversize check before call kvcalloc()
    e567d33508a9 cpufreq: intel_pstate: Override parameters if HWP forced by BIOS
    9561bb98879e ipv6: delay fib6_sernum increase in fib6_add
    31df1d037cfd m68k: Double cast io functions to unsigned long
    cc3dd119d3cf blk-mq: avoid to iterate over stale request
    de7e03003367 net: stmmac: allow CSR clock of 300MHz
    7721221e87d2 net: macb: fix use after free on rmmod
    a632288053b7 net: phylink: Update SFP selected interface on advertising changes
    3815fe7371d2 blktrace: Fix uaf in blk_trace access after removing by sysfs
    ce092350b452 io_uring: put provided buffer meta data under memcg accounting
    7040b37a9630 x86/asm: Fix SETZ size enqcmds() build failure
    54e85b6c287c x86/asm: Add a missing __iomem annotation in enqcmds()
    b18ba3f477a2 md: fix a lock order reversal in md_alloc
    568662e37f92 irqchip/gic-v3-its: Fix potential VPE leak on error
    af7c9ffe2bee irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build
    0595fc4794c3 scsi: lpfc: Use correct scnprintf() limit
    cb948b158a86 scsi: qla2xxx: Restore initiator in dual mode
    3d42ed6b7905 cifs: fix a sign extension bug
    8cba4c2698e2 thermal/core: Potential buffer overflow in thermal_build_list_of_policies()
    215df4349916 nvme: keep ctrl->namespaces ordered
    55e6f8b3c0f5 treewide: Change list_sort to use const pointers
    419fab1cb086 nvme-tcp: fix incorrect h2cdata pdu offset accounting
    c6ecdcba9da3 fpga: machxo2-spi: Fix missing error code in machxo2_write_complete()
    5c6bfde245d8 fpga: machxo2-spi: Return an error on failure
    4ea4925c70fd tty: synclink_gt: rename a conflicting function name
    56a8f0b18f46 tty: synclink_gt, drop unneeded forward declarations
    c64e6c307a76 scsi: target: Fix the pgr/alua_support_store functions
    2d0305425179 scsi: iscsi: Adjust iface sysfs attr detection
    0032f8b3cf2a atlantic: Fix issue in the pm resume flow.
    c2598bce4152 net/mlx4_en: Don't allow aRFS for encapsulated packets
    b4e54f5f4288 qed: rdma - don't wait for resources under hw error recovery flow
    1bba406c07b3 gpio: uniphier: Fix void functions to remove return value
    db94f89e1dad s390/qeth: fix NULL deref in qeth_clear_working_pool_list()
    3aa50241e1ed kselftest/arm64: signal: Skip tests if required features are missing
    91d4da33c367 kselftest/arm64: signal: Add SVE to the set of features we can check for
    2eaa39d83e30 net: dsa: realtek: register the MDIO bus under devres
    43c880b860c7 net: dsa: don't allocate the slave_mii_bus using devres
    b4561bd29e62 net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work
    8a00c832ef88 net/smc: add missing error check in smc_clc_prfx_set()
    4e0fd1d79534 net: hns3: check queue id range before using
    ca435999bcaf net: hns3: fix change RSS 'hfunc' ineffective issue
    1365a0dc5596 bnxt_en: Fix TX timeout when TX ring size is set to the smallest
    d5afe3cf52e5 enetc: Fix uninitialized struct dim_sample field usage
    6c3f1b741c6c enetc: Fix illegal access when reading affinity_hint
    117661cb9d3a platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
    22538c1bde27 afs: Fix updating of i_blocks on file/dir extension
    55352944b497 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation
    8d6a21e4cd6a comedi: Fix memory leak in compat_insnlist()
    43241a6c6e6c net: hso: fix muxed tty registration
    68d4fbe6220c drm/amd/pm: Update intermediate power state for SI
    7dc9225fcde0 scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE
    3dfffcd26029 serial: mvebu-uart: fix driver's tx_empty callback
    640946fc56b8 serial: 8250: 8250_omap: Fix RX_LVL register offset
    0ea9ac731a31 xhci: Set HCD flag to defer primary roothub registration
    80af86c12290 btrfs: prevent __btrfs_dump_space_info() to underflow its free space
    8326be9e5121 erofs: fix up erofs_lookup tracepoint
    91e4ad05bf18 mcb: fix error handling in mcb_alloc_bus()
    2c28bb016bed USB: serial: option: add device id for Foxconn T99W265
    600b19610ad4 USB: serial: option: remove duplicate USB device ID
    0daf57973ff0 USB: serial: option: add Telit LN920 compositions
    dc131d3f1335 USB: serial: mos7840: remove duplicated 0xac24 device ID
    d58fc9e9c158 usb: core: hcd: Add support for deferring roothub registration
    996f7c4a1fcf usb: dwc3: core: balance phy init and exit
    a05ff800013e Re-enable UAS for LaCie Rugged USB3-FW with fk quirk
    b9e697e60ce9 staging: greybus: uart: fix tty use after free
    d5b0473707fa binder: make sure fd closes complete
    302e60e26ad5 Revert "USB: bcma: Add a check for devm_gpiod_get"
    b33b3db476e6 USB: cdc-acm: fix minor-number release
    0809b8576fa8 USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter
    a34d6ef0c71a usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c
    f79282849187 xen/x86: fix PV trap handling on secondary processors
    93028da5e92d cifs: fix incorrect check for null pointer in header_assemble
    5940e22528df usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
    d071c7fd45dc usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA
    5f4bfac26173 usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
    1fbd7eb385c3 usb: gadget: r8a66597: fix a loop in set_feature()
    838297222b2b mm: fix uninitialized use in overcommit_policy_handler
    437be4d6faed ocfs2: drop acl cache for directories too
    31bd6cd06a18 PCI: aardvark: Increase polling delay to 1.5s while waiting for PIO response

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.69
Bruce Ashfield [Wed, 6 Oct 2021 00:12:43 +0000 (20:12 -0400)]
linux-yocto/5.10: update to v5.10.69

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

    5f4196eaa90c Linux 5.10.69
    7c09505e9e6b drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV
    83a3cb200eff sched/idle: Make the idle timer expire in hard interrupt context
    647c19bc6102 rtc: rx8010: select REGMAP_I2C
    9a14014df72d blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for multiple_queues
    23dfb959c6cb blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
    a2551d0a29e9 pwm: stm32-lp: Don't modify HW state in .remove() callback
    a6a2b36a8cc4 pwm: rockchip: Don't modify HW state in .remove() callback
    0a2ea5c0e5d1 pwm: img: Don't modify HW state in .remove() callback
    db8838e48a0a habanalabs: add validity check for event ID received from F/W
    d7736e2faa13 nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
    0f36028d0133 nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
    5770b54b112e nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
    5acb21e30d85 nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
    0480f7a480bc nilfs2: fix NULL pointer in nilfs_##name##_attr_release
    d95b50ff07b8 nilfs2: fix memory leak in nilfs_sysfs_create_device_group
    aa1af89a6697 btrfs: fix lockdep warning while mounting sprout fs
    c43803c1aa76 btrfs: update the bdev time directly when closing
    921ef7cfef15 ceph: lockdep annotations for try_nonblocking_invalidate
    487ead34a208 ceph: remove the capsnaps when removing caps
    386fd6fd01bd ceph: request Fw caps before updating the mtime in ceph_write_iter
    b26ced26251c dmaengine: xilinx_dma: Set DMA mask for coherent APIs
    9c1ea8537730 dmaengine: ioat: depends on !UML
    35492619e010 dmaengine: sprd: Add missing MODULE_DEVICE_TABLE
    c12cf7f9afe2 dmaengine: idxd: depends on !UML
    b4bb0b171b6e iommu/amd: Relocate GAMSup check to early_enable_iommus
    2a07348e9821 parisc: Move pci_dev_is_behind_card_dino to where it is used
    ca907291e116 dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
    b9a1526d5174 drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()
    45bd9dd1bee8 drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform
    c9538018cb2d thermal/core: Fix thermal_cooling_device_register() prototype
    d1f9ecc00da1 tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh
    912afe602eac Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH
    e418ce8b8dfd ceph: cancel delayed work instead of flushing on mdsc teardown
    8193ad306ea0 ceph: allow ceph_put_mds_session to take NULL or ERR_PTR
    41aa21573486 platform/chrome: cros_ec_trace: Fix format warnings
    113a69460de5 platform/chrome: sensorhub: Add trace events for sample
    48271d10bf4c dmaengine: idxd: fix wq slot allocation index check
    777344da345a pwm: mxs: Don't modify HW state in .probe() after the PWM chip was registered
    322b70b522ab pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered
    c63df77c40ca PM: sleep: core: Avoid setting power.must_resume to false
    74190973ab01 profiling: fix shift-out-of-bounds bugs
    0796d99c1b16 nilfs2: use refcount_dec_and_lock() to fix potential UAF
    30417cbeccff prctl: allow to setup brk for et_dyn executables
    e464b3876b02 9p/trans_virtio: Remove sysfs file on probe failure
    375e779ec32a thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
    38ab04186fb3 perf tools: Allow build-id with trailing zeros
    87c4144450e6 tools lib: Adopt memchr_inv() from kernel
    ebcd3fd9207c perf test: Fix bpf test sample mismatch reporting
    fa64b08931ee dmaengine: acpi: Avoid comparison GSI with Linux vIRQ
    9d49973b0848 um: virtio_uml: fix memory leak on init failures
    5d0e6a5e4441 coredump: fix memleak in dump_vma_snapshot()
    6b24588708fe staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb()
    ccb79116c372 sctp: add param size validation for SCTP_PARAM_SET_PRIMARY
    ffca46766850 sctp: validate chunk size in __rcv_asconf_lookup
    473cea4983b5 Revert "net/mlx5: Register to devlink ingress VLAN filter trap"
    5ce134e65f3b ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE
    f91d25a7c89e ARM: 9079/1: ftrace: Add MODULE_PLTS support
    ad00533858f7 ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link()
    ce90c6706d5a ARM: 9077/1: PLT: Move struct plt_entries definition to header
    eb46d7c8ae83 ARM: Qualify enabling of swiotlb_init()
    79286ea830b3 s390/pci_mmio: fully validate the VMA before calling follow_pte()
    74d54e5ceba3 console: consume APC, DM, DCS
    9493e92a3953 PCI: aardvark: Fix reporting CRS value
    9e766b86a9ef PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
    4d8524048a35 Linux 5.10.68
    a23d3576215f net: dsa: bcm_sf2: Fix array overrun in bcm_sf2_num_active_ports()
    9f2972e151dd bnxt_en: Fix error recovery regression
    619d747c1850 x86/mce: Avoid infinite loop for copy from user recovery
    47bc9c3929eb net: renesas: sh_eth: Fix freeing wrong tx descriptor
    b2f9b7455baf mfd: lpc_sch: Rename GPIOBASE to prevent build error
    027c44b8c8e4 mfd: lpc_sch: Partially revert "Add support for Intel Quark X1000"
    52a7e6667133 bnxt_en: Fix possible unintended driver initiated error recovery
    9a3f52f73c04 bnxt_en: Improve logging of error recovery settings information.
    639a2eddb731 bnxt_en: Convert to use netif_level() helpers.
    01cad477a968 bnxt_en: Consolidate firmware reset event logging.
    fad75e046363 bnxt_en: log firmware debug notifications
    f90a34fabaa5 bnxt_en: Fix asic.rev in devlink dev info command
    724502318455 bnxt_en: fix stored FW_PSID version masks
    eb635e008cb1 net: dsa: b53: Fix IMP port setup on BCM5301x
    87b34cd64851 ip_gre: validate csum_start only on pull
    9c98d2bd1434 qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
    8c01c620ae61 fq_codel: reject silly quantum parameters
    6e2d36f2b1d1 netfilter: socket: icmp6: fix use-after-scope
    c361c955609a net: dsa: b53: Set correct number of ports in the DSA struct
    0db7e0d9f67d net: dsa: b53: Fix calculating number of switch ports
    f89b0d032f86 net: hso: add failure handler for add_net_device
    f450958f7ff8 selftests: mptcp: clean tmp files in simult_flows
    5711ced58eb4 net: dsa: tag_rtl4_a: Fix egress tags
    b167a0cec187 gpio: mpc8xxx: Use 'devm_gpiochip_add_data()' to simplify the code and avoid a leak
    f86956143da9 gpio: mpc8xxx: Fix a resources leak in the error handling path of 'mpc8xxx_probe()'
    c2b52963fd0c perf bench inject-buildid: Handle writen() errors
    5a20adc38811 perf unwind: Do not overwrite FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64}
    f5176a0798bd ARC: export clear_user_page() for modules
    9da1fb128c54 mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()'
    5402b31c0c46 PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n
    a957d82b2316 KVM: arm64: Handle PSCI resets before userspace touches vCPU state
    53921242cf99 KVM: arm64: Fix read-side race on updates to vcpu reset state
    b9b89da56af7 mtd: mtdconcat: Check _read, _write callbacks existence before assignment
    812cbb143c12 mtd: mtdconcat: Judge callback existence based on the master
    e8dfc446a16a tracing/boot: Fix a hist trigger dependency for boot time tracing
    87479b10eb72 mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
    f10f727cf9f4 PCI: Fix pci_dev_str_match_path() alloc while atomic bug
    ed44be1cbe5e KVM: arm64: Restrict IPA size to maximum 48 bits on 4K and 16K page size
    62f813769f50 netfilter: nft_ct: protect nft_ct_pcpu_template_refcnt with mutex
    1cf43a1e5782 netfilter: Fix fall-through warnings for Clang
    9e89c22d1c94 PCI: iproc: Fix BCMA probe resource handling
    b1f3be0c302a PCI: of: Don't fail devm_pci_alloc_host_bridge() on missing 'ranges'
    063c3d980d78 backlight: ktd253: Stabilize backlight
    00303e459251 mfd: axp20x: Update AXP288 volatile ranges
    ab7cf2250161 s390/bpf: Fix branch shortening during codegen pass
    4320c222c2ff s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant
    d92d3a9c2b65 s390/bpf: Fix optimizing out zero-extensions
    4a9339320338 NTB: perf: Fix an error code in perf_setup_inbuf()
    ce660d6dfcdd NTB: Fix an error code in ntb_msit_probe()
    e76ccbdedbdd ethtool: Fix an error code in cxgb2.c
    70ac967a7b88 PCI: ibmphp: Fix double unmap of io_mem
    9ae759a36b61 block, bfq: honor already-setup queue merges
    7f2b3242f0d4 net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920
    ca8ecd7444a9 Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6
    c422c555053e octeontx2-af: Add additional register check to rvu_poll_reg()
    1cac475eeb9f watchdog: Start watchdog in watchdog_set_last_hw_keepalive only if appropriate
    e5609d3fd57d PCI: Add ACS quirks for Cavium multi-function devices
    365cdfcc6eba PCI: j721e: Add PCIe support for AM64
    81381b72f40c PCI: j721e: Add PCIe support for J7200
    4892b1515b40 PCI: cadence: Add quirk flag to set minimum delay in LTSSM Detect.Quiet state
    a83e032cc489 PCI: cadence: Use bitfield for *quirk_retrain_flag* instead of bool
    3aedfe4b0800 tracing/probes: Reject events which have the same name of existing one
    75420f9400a6 PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe()
    b6352e2e2764 mfd: Don't use irq_create_mapping() to resolve a mapping
    aa638669c8a4 PCI: tegra: Fix OF node reference leak
    d5c5d1b141fa PCI: tegra194: Fix MSI-X programming
    13f366bab077 PCI: tegra194: Fix handling BME_CHGED event
    b7d4f310bb8f fuse: fix use after free in fuse_read_interrupt()
    03cc3a2923d6 PCI: Add ACS quirks for NXP LX2xx0 and LX2xx2 platforms
    7a44361a1f6a mfd: db8500-prcmu: Adjust map to reality
    619f137ffd69 dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation
    49cf30ebb35c mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range()
    aa39eb744a82 net: hns3: fix the timing issue of VF clearing interrupt sources
    ad47e0922108 net: hns3: disable mac in flr process
    b76522c7c349 net: hns3: change affinity_mask to numa node range
    34fc06d0477e net: hns3: pad the short tunnel frame before sending to hardware
    0511d099db6f bnxt_en: make bnxt_free_skbs() safe to call after bnxt_free_mem()
    49eff4ab7d43 KVM: PPC: Book3S HV: Tolerate treclaim. in fake-suspend mode changing registers
    e68795c1101e ibmvnic: check failover_pending in login response
    aeb67214ce94 dt-bindings: arm: Fix Toradex compatible typo
    0ab9981fa0c5 udp_tunnel: Fix udp_tunnel_nic work-queue type
    5221e6632991 qed: Handle management FW error
    e00eae1d6b1f selftest: net: fix typo in altname test
    53947b68c56b tcp: fix tp->undo_retrans accounting in tcp_sacktag_one()
    35d3ab2ea2ed x86/uaccess: Fix 32-bit __get_user_asm_u64() when CC_HAS_ASM_GOTO_OUTPUT=y
    cf6f29bb2c18 net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setup
    df38f941a7e4 net/af_unix: fix a data-race in unix_dgram_poll
    cad96d0e50e4 vhost_net: fix OoB on sendmsg() failure.
    7843861e2140 gen_compile_commands: fix missing 'sys' package
    983ef866291c net: ipa: initialize all filter table slots
    c5102ced8ac0 events: Reuse value read using READ_ONCE instead of re-reading it
    8f8ad122ffe0 nvme-tcp: fix io_work priority inversion
    c586bc31d5b9 net/mlx5: Fix potential sleeping in atomic context
    29a5af9112a2 net/mlx5: FWTrace, cancel work on alloc pd error flow
    229e9293b2ba perf machine: Initialize srcline string member in add_location struct
    33c983f7a182 drm/rockchip: cdn-dp-core: Make cdn_dp_core_resume __maybe_unused
    fd9ed47fe6be tipc: increase timeout in tipc_sk_enqueue()
    abe460eb6fbb r6040: Restore MDIO clock frequency after MAC reset
    edfab735d518 net/l2tp: Fix reference count leak in l2tp_udp_recv_core
    6c3cb65d561e dccp: don't duplicate ccid when cloning dccp sock
    f6f80766558b ptp: dp83640: don't define PAGE0
    bd6d9a0dd411 net-caif: avoid user-triggerable WARN_ON(1)
    855c17ffa65f net/{mlx5|nfp|bnxt}: Remove unnecessary RTNL lock assert
    c5c9ee2d367b ethtool: Fix rxnfc copy to user buffer overflow
    ee3ffd56b40e tipc: fix an use-after-free issue in tipc_recvmsg
    12551b75b00b x86/mm: Fix kern_addr_valid() to cope with existing but not present entries
    6672dc68e28e x86/pat: Pass valid address to sanitize_phys()
    0346f8a2c5ec s390/sclp: fix Secure-IPL facility detection
    cc9d96c9f9e0 drm/etnaviv: add missing MMU context put when reaping MMU mapping
    ea995e8a6294 drm/etnaviv: reference MMU context when setting up hardware state
    660dfbf208a4 drm/etnaviv: fix MMU context leak on GPU reset
    22163efedcf3 drm/etnaviv: exec and MMU state is lost when resetting the GPU
    6b1c223d8a53 drm/etnaviv: keep MMU context across runtime suspend/resume
    c63e6e0951ff drm/etnaviv: stop abusing mmu_context as FE running marker
    cf24bd826e4b drm/etnaviv: put submit prev MMU context when it exists
    0759f648470b drm/etnaviv: return context from etnaviv_iommu_context_get
    8f95553f0016 drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
    87f7032dc227 PCI: Add AMD GPU multi-function power dependencies
    cd64b416aed2 PM: base: power: don't try to use non-existing RTC for storing data
    a67e7cdbc633 arm64/sve: Use correct size when reinitialising SVE state
    84da60070c36 bnx2x: Fix enabling network interfaces without VFs
    1a5a3ba21aee xen: reset legacy rtc flag for PV domU
    ce8f81b76d3b io_uring: ensure symmetry in handling iter types in loop_rw_iter()
    88f3d951e2db btrfs: fix upper limit for max_inline for page size 64K
    575279059e26 drm/bridge: lt9611: Fix handling of 4k panels
    faf816b0f8d0 Linux 5.10.67
    ad3ea16746cc fanotify: limit number of event merge attempts
    412974e75fdd drm/panfrost: Clamp lock region to Bifrost minimum
    8976e09443cb drm/panfrost: Use u64 for size in lock_region
    95251e6833fa drm/panfrost: Simplify lock_region calculation
    b80a99e04827 drm/amd/display: Update bounding box states (v2)
    583c4f3d09c3 drm/amd/display: Update number of DCN3 clock states
    7b1abace16a9 drm/amdgpu: Fix BUG_ON assert
    c29485e34e63 drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv
    bb693c114e8b drm/dp_mst: Fix return code on sideband message failure
    84cac4f80605 drm/msi/mdp4: populate priv->kms in mdp4_kms_init
    be1fcecfc145 drm/mgag200: Select clock in PLL update functions
    d0aaea1f117d net: dsa: lantiq_gswip: fix maximum frame length
    5944d0e2b0ab lib/test_stackinit: Fix static initializer test
    00cdb2fb4df1 platform/chrome: cros_ec_proto: Send command again when timeout occurs
    b2e72e53cd26 libnvdimm/pmem: Fix crash triggered when I/O in-flight during unbind
    6d86634d7bd1 memcg: enable accounting for pids in nested pid namespaces
    388f12dabbe0 mm,vmscan: fix divide by zero in get_scan_count
    2d2d8b0eca64 mm/hugetlb: initialize hugetlb_usage in mm_init
    ce75a6b399e0 mm/hmm: bypass devmap pte when all pfn requested flags are fulfilled
    e1fa3b2b60ab hugetlb: fix hugetlb cgroup refcounting during vma split
    27dd91221b3f s390/pv: fix the forcing of the swiotlb
    086faa4a2e86 cpufreq: powernv: Fix init_chip_info initialization in numa=off
    55be9eb1936a scsi: qla2xxx: Sync queue idx with queue_pair_map idx
    9c8414325eee scsi: qla2xxx: Changes to support kdump kernel
    137dafa72230 scsi: BusLogic: Fix missing pr_cont() use
    69775e4e17f2 ovl: fix BUG_ON() in may_delete() when called from ovl_cleanup()
    7a5756e90563 parisc: fix crash with signals and alloca
    9a4e7f903866 io_uring: remove duplicated io_size from rw
    6930a2a5be5c fs/io_uring Don't use the return value from import_iovec().
    2c304c65defd net: hns3: clean up a type mismatch warning
    fb1ee027878b net: w5100: check return value after calling platform_get_resource()
    c49a52046da7 fix array-index-out-of-bounds in taprio_change
    a4301d06a0b8 net: fix NULL pointer reference in cipso_v4_doi_free
    5ed5d594d9a7 ath9k: fix sleeping in atomic context
    aa3708236ea0 ath9k: fix OOB read ar9300_eeprom_restore_internal
    be457b27dd0a wcn36xx: Fix missing frame timestamp for beacon/probe-resp
    b1d547f2f51a selftests/bpf: Fix potential unreleased lock
    3ad66d67822d parport: remove non-zero check on count
    1e9302537804 net/mlx5: DR, Enable QP retransmission
    9c5c65ecbd87 net/mlx5: DR, fix a potential use-after-free bug
    4bbf0a9d90e8 iwlwifi: mvm: Fix scan channel flags settings
    a693aff5e8d7 iwlwifi: fw: correctly limit to monitor dump
    4ed6510e0559 iwlwifi: mvm: fix access to BSS elements
    9e80a3d88f4d iwlwifi: mvm: avoid static queue number aliasing
    3ed8982df50e iwlwifi: mvm: fix a memory leak in iwl_mvm_mac_ctxt_beacon_changed
    608c8359c567 iwlwifi: pcie: free RBs during configure
    eb04c51a439e nfsd: fix crash on LOCKT on reexported NFSv3
    0e9f4492219f drm/amdkfd: Account for SH/SE count when setting up cu masks.
    27d4a96addef ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B
    969eddc3b4dc ASoC: rockchip: i2s: Fix regmap_ops hang
    7344a8a80190 usbip:vhci_hcd USB port can get stuck in the disabled state
    29c8f13a345d usbip: give back URBs for unsent unlink requests during cleanup
    8de01a896c1b usb: musb: musb_dsps: request_irq() after initializing musb
    c0751eeb938c Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set"
    ba2faddf1f14 cifs: fix wrong release in sess_alloc_buffer() failed path
    7c7d6c9cd879 mmc: core: Return correct emmc response in case of ioctl error
    d1e382a04ada selftests/bpf: Enlarge select() timeout for test_maps
    3aab5bffdde0 mmc: rtsx_pci: Fix long reads when clock is prescaled
    7f43da79ebc5 mmc: sdhci-of-arasan: Check return value of non-void funtions
    834ecf61cebd mmc: sdhci-of-arasan: Modified SD default speed to 19MHz for ZynqMP
    1a40e60e2af4 of: Don't allow __of_attached_node_sysfs() without CONFIG_SYSFS
    be69ed7bb9d3 ASoC: Intel: Skylake: Fix passing loadable flag for module
    4a48ed479467 ASoC: Intel: Skylake: Fix module configuration for KPB and MIXER
    d72afec087f7 soundwire: intel: fix potential race condition during power down
    b225eeaf3a02 btrfs: tree-log: check btrfs_lookup_data_extent return value
    87ae522e467e m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch
    c10b1afc2f43 octeontx2-pf: Fix NIX1_RX interface backpressure
    6d657f1fa121 rtw88: wow: fix size access error of probe request
    aa82a11176bd rtw88: wow: build wow function only if CONFIG_PM is on
    2fd1964f7501 rtw88: use read_poll_timeout instead of fixed sleep
    9baf6f8ca285 rtl8xxxu: Fix the handling of TX A-MPDU aggregation
    756924bc1804 drm/exynos: Always initialize mapping in exynos_drm_register_dma()
    9ce6e29375ba lockd: lockd server-side shouldn't set fl_ops
    2d3fab9ceafa usb: chipidea: host: fix port index underflow and UBSAN complains
    2225a5cd2fbc gfs2: Don't call dlm after protocol is unmounted
    0df5eba67bf0 kselftest/arm64: pac: Fix skipping of tests on systems without PAC
    9486d7ac9f30 kselftest/arm64: mte: Fix misleading output when skipping tests
    1f5db5b8a3d6 net: Fix offloading indirect devices dependency on qdisc order creation
    2a69325ee510 staging: rts5208: Fix get_ms_information() heap buffer size
    868831492dd6 hwmon: (pmbus/ibm-cffps) Fix write bits for LED control
    39738ebfad39 selftests/bpf: Fix flaky send_signal test
    c53c68c9bf2a rpc: fix gss_svc_init cleanup on failure
    4b1b4d3f45df tcp: enable data-less, empty-cookie SYN with TFO_SERVER_COOKIE_NOT_REQD
    fca514f25c4d iomap: pass writeback errors to the mapping
    49e2bcb7cf58 serial: sh-sci: fix break handling for sysrq
    a99eec36ed39 opp: Don't print an error if required-opps is missing
    6698029de35b Bluetooth: Fix handling of LE Enhanced Connection Complete
    240a7025a6f8 nvme: code command_id with a genctr for use-after-free validation
    24618e92d50f nvme-tcp: don't check blk_mq_tag_to_rq when receiving pdu data
    27e8bc1f5b32 arm64: dts: ls1046a: fix eeprom entries
    aa06cfc5291c arm64: tegra: Fix compatible string for Tegra132 CPUs
    9c2b89f64f2e ARM: tegra: tamonten: Fix UART pad setting
    035e8d5a6dd8 ARM: tegra: acer-a500: Remove bogus USB VBUS regulators
    9713dfa5185a mac80211: Fix monitor MTU limit so that A-MSDUs get through
    83449db3aac0 drm/display: fix possible null-pointer dereference in dcn10_set_clock()
    2254383788ff gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port()
    155e7047909d net/mlx5: Fix variable type to match 64bit
    f86bc4a1a401 drm/msm/dp: return correct edid checksum after corrupted edid checksum read
    98d44b7be6f1 Bluetooth: avoid circular locks in sco_sock_connect
    a1073aad497d Bluetooth: schedule SCO timeouts with delayed_work
    d6c91423993e drm/vmwgfx: fix potential UAF in vmwgfx_surface.c
    3841dfa7eb5c selftests/bpf: Fix xdp_tx.c prog section name
    63ebc1f1df81 drm/amd/display: fix incorrect CM/TF programming sequence in dwb
    d763afc4ea2b drm/amd/display: fix missing writeback disablement if plane is removed
    491c8be21993 thunderbolt: Fix port linking by checking all adapters
    0f0f1de02b9b drm: xlnx: zynqmp: release reset to DP controller before accessing DP registers
    f76f78f9f479 drm: xlnx: zynqmp_dpsub: Call pm_runtime_get_sync before setting pixel clock
    127f3610a0e3 drm/msm/dsi: Fix DSI and DSI PHY regulator config from SDM660
    0bbbe3ec67f0 drm/msm: mdp4: drop vblank get/put from prepare/complete_commit
    ac21cd44c954 net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe()
    2b0fa8d53041 nvmem: qfprom: Fix up qfprom_disable_fuse_blowing() ordering
    35e5c99b152d arm64: dts: qcom: sm8250: Fix epss_l3 unit address
    43ccafc91f63 arm64: dts: qcom: msm8996: don't use underscore in node name
    f868c2d62a27 arm64: dts: qcom: msm8994: don't use underscore in node name
    bda9c84edbb3 arm64: dts: qcom: sdm630: don't use underscore in node name
    aa16e76c80af arm64: dts: qcom: ipq6018: drop '0x' from unit address
    da714a198342 arm64: dts: qcom: sdm660: use reg value for memory node
    34e9c56675a8 arm64: dts: qcom: ipq8074: fix pci node reg property
    74287874c91d ARM: dts: imx53-ppd: Fix ACHC entry
    6a00decce3a6 serial: 8250_omap: Handle optional overrun-throttle-ms property
    699c91475847 arm64: dts: qcom: sdm630: Fix TLMM node and pinctrl configuration
    310a127178b0 arm64: dts: qcom: sdm630: Rewrite memory map
    783be2a94299 gfs2: Fix glock recursion in freeze_go_xmote_bh
    4e014ff22e4b media: tegra-cec: Handle errors of clk_prepare_enable()
    c159db240cf2 media: TDA1997x: fix tda1997x_query_dv_timings() return value
    e3a2e20ed503 media: v4l2-dv-timings.c: fix wrong condition in two for-loops
    ac1bcf53e32f media: imx258: Limit the max analogue gain to 480
    4cb4967472c8 media: imx258: Rectify mismatch of VTS value
    a64e3f1d8a27 ASoC: Intel: update sof_pcm512x quirks
    9cf827242033 ASoC: Intel: bytcr_rt5640: Move "Platform Clock" routes to the maps for the matching in-/output
    f1fb1f6fa172 arm64: tegra: Fix Tegra194 PCIe EP compatible string
    8fb3d8c151a7 ARM: dts: at91: use the right property for shutdown controller
    f710323dcd24 bonding: 3ad: fix the concurrency between __bond_release_one() and bond_3ad_state_machine_handler()
    5d008cb7636d ARM: dts: stm32: Update AV96 adv7513 node per dtbs_check
    3142476fa002 ARM: dts: stm32: Set {bitclock,frame}-master phandles on ST DKx
    37437a60a93b ARM: dts: stm32: Set {bitclock,frame}-master phandles on DHCOM SoM
    f4c7c95e3ee5 workqueue: Fix possible memory leaks in wq_numa_init()
    6528cc687c88 Bluetooth: skip invalid hci_sync_conn_complete_evt
    3b82e4799f53 ata: sata_dwc_460ex: No need to call phy_exit() befre phy_init()
    4af60a543ba6 libbpf: Fix race when pinning maps in parallel
    874d5aa06ce2 samples: bpf: Fix tracex7 error raised on the missing argument
    035f83b5abd3 staging: ks7010: Fix the initialization of the 'sleep_status' structure
    d0a8ef04c220 serial: 8250_pci: make setup_port() parameters explicitly unsigned
    2603740df8b2 hvsi: don't panic on tty_register_driver failure
    dd3307a8b383 xtensa: ISS: don't panic in rs_init
    b763d2e7d45c serial: 8250: Define RX trigger levels for OxSemi 950 devices
    973c57c5e649 s390: make PCI mio support a machine flag
    77d62f2bcc7f s390/jump_label: print real address in a case of a jump label bug
    863d2eb2f726 flow_dissector: Fix out-of-bounds warnings
    64583448c231 ipv4: ip_output.c: Fix out-of-bounds warning in ip_copy_addrs()
    bcc61adefd78 video: fbdev: riva: Error out if 'pixclock' equals zero
    63abc0eb8af5 video: fbdev: kyro: Error out if 'pixclock' equals zero
    6a8dcd2ffb41 video: fbdev: asiliantfb: Error out if 'pixclock' equals zero
    3740418ccde8 arm64: dts: allwinner: h6: tanix-tx6: Fix regulator node names
    be2e11b9f8fa drm/bridge: nwl-dsi: Avoid potential multiplication overflow on 32-bit
    6a3564739b9f bpf/tests: Do not PASS tests without actually testing the result
    99121dec14b0 bpf/tests: Fix copy-and-paste error in double word test
    6f51f4241253 drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex
    a5999d18a8d8 drm/amdgpu: Fix a printing message
    5b3a45eedd27 ethtool: improve compat ioctl handling
    52bb703f71d3 nfp: fix return statement in nfp_net_parse_meta()
    23e5fb647589 media: atomisp: pci: fix error return code in atomisp_pci_probe()
    e5cecb9105d4 media: atomisp: Fix runtime PM imbalance in atomisp_pci_probe
    9a85b9e37601 media: platform: stm32: unprepare clocks at handling errors in probe
    c6e5eebd9540 media: hantro: vp8: Move noisy WARN_ON to vpu_debug
    f462a39eb833 drm/amd/display: Fix timer_per_pixel unit error
    b4f5c9454dfc selftests: firmware: Fix ignored return val of asprintf() warn
    e944a221262e bus: fsl-mc: fix mmio base address for child DPRCs
    165c55af5f5f tty: serial: jsm: hold port lock when reporting modem line changes
    642639bb8d42 staging: board: Fix uninitialized spinlock when attaching genpd
    03f4492dbff3 usb: gadget: composite: Allow bMaxPower=0 if self-powered
    5534de13b6dc USB: EHCI: ehci-mv: improve error handling in mv_ehci_enable()
    b2b8137ec920 usb: gadget: u_ether: fix a potential null pointer dereference
    566ddd2d94b0 usb: host: fotg210: fix the actual_length of an iso packet
    224cf5e8c853 usb: host: fotg210: fix the endpoint's transactional opportunities calculation
    463b3edfba90 igc: Check if num of q_vectors is smaller than max before array access
    d3ca78775db4 rcu: Fix macro name CONFIG_TASKS_RCU_TRACE
    34609faad0c9 drm: protect drm_master pointers in drm_lease.c
    06a553a99bac drm: serialize drm_file.master with a new spinlock
    54e51d288b38 drm: avoid blocking in drm_clients_info's rcu section
    df19d95141d1 Smack: Fix wrong semantics in smk_access_entry()
    3533aa65e6a9 netlink: Deal with ESRCH error in nlmsg_notify()
    9de06dcd4710 video: fbdev: kyro: fix a DoS bug by restricting user input
    29ab7f6d505f ARM: dts: qcom: apq8064: correct clock names
    e0c17c11b15d iavf: fix locking of critical sections
    67c9262e3f31 iavf: do not override the adapter state in the watchdog task
    9f11de56012c iio: dac: ad5624r: Fix incorrect handling of an optional regulator.
    e78a0b4a339e net: phy: Fix data type in DP83822 dp8382x_disable_wol()
    cca61275874a tipc: keep the skb in rcv queue until the whole data is read
    cc12ab5951aa PCI: Use pci_update_current_state() in pci_enable_device_flags()
    aad29a00a598 crypto: mxs-dcp - Use sg_mapping_iter to copy data
    871abd1e6185 x86/hyperv: fix for unwanted manipulation of sched_clock when TSC marked unstable
    c327b69e96b0 libbpf: Fix reuse of pinned map on older kernel
    6a985c579499 media: dib8000: rewrite the init prbs logic
    2048907d8cb7 ASoC: atmel: ATMEL drivers don't need HAS_DMA
    10a135969fd7 drm/amdgpu: Fix amdgpu_ras_eeprom_init()
    b32d3ded9dc2 drm/vc4: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SET
    6afd1e053d9b userfaultfd: prevent concurrent API initialization
    1e4cfe954bd9 kbuild: Fix 'no symbols' warning when CONFIG_TRIM_UNUSD_KSYMS=y
    981bf9b0aa1b MIPS: Malta: fix alignment of the devicetree buffer
    bb8108546da9 f2fs: should put a page beyond EOF when preparing a write
    d04925fb8d70 f2fs: deallocate compressed pages when error happens
    4b71928e5c54 f2fs: fix to unmap pages from userspace process in punch_hole()
    1c934aba9fd5 f2fs: fix unexpected ENOENT comes from f2fs_map_blocks()
    45cb5f86c1c6 f2fs: fix to account missing .skipped_gc_rwsem
    fd69f613af53 soc: mediatek: cmdq: add address shift in jump
    d320c1b2e728 KVM: PPC: Fix clearing never mapped TCEs in realmode
    6bf98b94ffeb clk: at91: clk-generated: Limit the requested rate to our range
    9bab2bc4c238 fscache: Fix cookie key hashing
    b4849e2ac706 RDMA/hns: Fix QP's resp incomplete assignment
    e91077cf1780 powerpc/smp: Update cpu_core_map on all PowerPc systems
    903ca538f588 platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call
    add8e8c3402f KVM: PPC: Book3S HV Nested: Reflect guest PMU in-use to L0 when guest SPRs are live
    4c0c4f702196 scsi: ufs: ufs-exynos: Fix static checker warning
    bda5602c1c35 KVM: PPC: Book3S HV: Fix copy_tofrom_guest routines
    926bf91248dd clk: imx8m: fix clock tree update of TF-A managed clocks
    e84a72f69621 HID: i2c-hid: Fix Elan touchpad regression
    253bac6c60ad iommu/vt-d: Update the virtual command related registers
    947579a6967a powerpc/config: Renable MTD_PHYSMAP_OF
    1bc19e4062e9 scsi: qedf: Fix error codes in qedf_alloc_global_queues()
    dc4577749987 scsi: qedi: Fix error codes in qedi_alloc_global_queues()
    782c4017845d scsi: smartpqi: Fix an error code in pqi_get_raid_map()
    41066433be42 powerpc/numa: Consider the max NUMA node for migratable LPAR
    d3612083ecc1 pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry()
    6291fd0eeafc scsi: fdomain: Fix error return code in fdomain_probe()
    f02ab9d1d3a6 sunrpc: Fix return value of get_srcport()
    21a2be1a5145 SUNRPC query transport's source port
    f19abe046354 SUNRPC/xprtrdma: Fix reconnection locking
    f3d301612787 SUNRPC: Fix potential memory corruption
    9aa7a3ffb11c NFSv4/pnfs: The layout barrier indicate a minimal value for the seqid
    2a542421eb7f NFSv4/pNFS: Always allow update of a zero valued layout barrier
    4b96edea5cd1 NFSv4/pNFS: Fix a layoutget livelock loop
    fa55e76641d8 dma-debug: fix debugfs initialization order
    ca7f7e37bae4 openrisc: don't printk() unconditionally
    31fd3211ef8b f2fs: reduce the scope of setting fsck tag when de->name_len is zero
    49e4c83db885 cpuidle: pseries: Mark pseries_idle_proble() as __init
    876e45c95eb6 RDMA/mlx5: Delete not-available udata check
    a77da9de0d7d RDMA/efa: Remove double QP type assignment
    1988836e30c5 powerpc/stacktrace: Include linux/delay.h
    c5a5528da722 cpuidle: pseries: Fixup CEDE0 latency only for POWER10 onwards
    3b2bbcccd6e9 scsi: ufs: Fix memory corruption by ufshcd_read_desc_param()
    d353e093c0d5 vfio: Use config not menuconfig for VFIO_NOIOMMU
    0f711378f0b1 pinctrl: samsung: Fix pinctrl bank pin count
    59137b7dfff1 scsi: BusLogic: Use %X for u32 sized integer rather than %lX
    8ea3e622af56 docs: Fix infiniband uverbs minor number
    fe2a1cd62267 RDMA/iwcm: Release resources if iw_cm module initialization fails
    b824bae96f73 IB/hfi1: Adjust pkey entry in index 0
    273ed4f47e6f clk: rockchip: drop GRF dependency for rk3328/rk3036 pll types
    f1eccc408168 scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND
    ef5395fbadac pinctrl: armada-37xx: Correct PWM pins definitions
    782ceaba977c pinctrl: remove empty lines in pinctrl subsystem
    2d586a3f5b7e f2fs: quota: fix potential deadlock
    70fd9363673b HID: input: do not report stylus battery state as "full"
    4e89aea738b5 PCI: aardvark: Fix masking and unmasking legacy INTx interrupts
    b50db4c02f45 PCI: aardvark: Fix checking for PIO status
    9d6090575406 PCI: Export pci_pio_to_address() for module use
    fa3c15ccf2ea PCI: aardvark: Configure PCIe resources from 'ranges' DT property
    df23bd40ed88 PCI: xilinx-nwl: Enable the clock through CCF
    72f2be343272 PCI: Return ~0 data on pciconfig_read() CAP_SYS_ADMIN failure
    088a1052f7b0 PCI: Restrict ASMedia ASM1062 SATA Max Payload Size Supported
    9302a3c00cc6 PCI/portdrv: Enable Bandwidth Notification only if port supports it
    74d6dfcb0f9d f2fs: fix to do sanity check for sb/cp fields correctly
    ce7e64e63acf ARM: 9105/1: atags_to_fdt: don't warn about stack size
    ba73bc166615 libata: add ATA_HORKAGE_NO_NCQ_TRIM for Samsung 860 and 870 SSDs
    bcbc44e42dc6 dmaengine: imx-sdma: remove duplicated sdma_load_context
    300ccb129252 Revert "dmaengine: imx-sdma: refine to load context only once"
    76668bdee0b0 s390/qdio: cancel the ESTABLISH ccw after timeout
    bcc0c767f9b3 s390/qdio: fix roll-back after timeout on ESTABLISH ccw
    2d2aaa200ced media: rc-loopback: return number of emitters rather than error
    c0eaaa686864 media: uvc: don't do DMA on stack
    516dbe27f447 VMCI: fix NULL pointer dereference when unmapping queue pair
    6cae39f45754 crypto: ccp - shutdown SEV firmware on kexec
    7509c4cb7c80 dm crypt: Avoid percpu_counter spinlock contention in crypt_page_alloc()
    4f920fefd857 power: supply: max17042: handle fails of reading status register
    0d54bbad80f7 block: bfq: fix bfq_set_next_ioprio_data()
    5df14bba0056 crypto: public_key: fix overflow during implicit conversion
    646870ad8e56 wcn36xx: Ensure finish scan is not requested before start scan
    4753723f8b48 iio: ltc2983: fix device probe
    de32e151800d arm64: head: avoid over-mapping in map_memory
    2d3a9dff763f arm64: mm: Fix TLBI vs ASID rollover
    01e6c64bbc5d soc: aspeed: p2a-ctrl: Fix boundary check for mmap
    3fdf2feb6cbe soc: aspeed: lpc-ctrl: Fix boundary check for mmap
    e80c45dbe263 soc: qcom: aoss: Fix the out of bound usage of cooling_devs
    610e8b2621d6 pinctrl: ingenic: Fix incorrect pull up/down info
    1e1136fbe89f pinctrl: stmfx: Fix hazardous u8[] to unsigned long cast
    7524fcd09c3e clk: socfpga: agilex: add the bypass register for s2f_usr0 clock
    96bf326fb93c clk: socfpga: agilex: fix up s2f_user0_clk representation
    7eb16be25f0f clk: socfpga: agilex: fix the parents of the psi_ref_clk
    ac99b3aa8375 tools/thermal/tmon: Add cross compiling support
    2daa118a3f7b selftests/ftrace: Fix requirement check of README file
    8248b61b86fb ceph: fix dereference of null pointer cf
    c37085d60634 9p/xen: Fix end of loop tests for list_for_each_entry
    907944851aa0 xen: fix setting of max_pfn in shared_info
    37566a343fe9 powerpc/perf/hv-gpci: Fix counter value parsing
    5f13c8bae824 PCI/MSI: Skip masking MSI-X on Xen PV
    d15554f98597 blk-zoned: allow BLKREPORTZONE without CAP_SYS_ADMIN
    a58f08255490 blk-zoned: allow zone management send operations without CAP_SYS_ADMIN
    c1b249e02a80 btrfs: reset replace target device to allocation state on close
    0901af53da8f btrfs: wake up async_delalloc_pages waiters after submit
    9ac218642dfc io-wq: fix wakeup race when adding new work
    548ee201fb4a io_uring: fail links of cancelled timeouts
    54eb6211b979 io_uring: add ->splice_fd_in checks
    a3ed34bcada5 io_uring: place fixed tables under memcg limits
    5103b733348e io_uring: limit fixed table size by RLIMIT_NOFILE
    ebedb252a47f rtc: tps65910: Correct driver module alias
    44a32dcb2fb5 Linux 5.10.66
    1de280adb209 Revert "time: Handle negative seconds correctly in timespec64_to_ns()"
    f49fd9882f54 Revert "posix-cpu-timers: Force next expiration recalc after itimer reset"
    0daa75bf750c Revert "block: nbd: add sanity check for first_minor"
    d3c3f4e07826 Revert "Bluetooth: Move shutdown callback before flushing tx and rx queue"
    c31c2cca229a Linux 5.10.65
    b216a075a9ab clk: kirkwood: Fix a clocking boot regression
    5866b1175df0 backlight: pwm_bl: Improve bootloader/kernel device handover
    4c00435cb813 fbmem: don't allow too huge resolutions
    34d099a330e7 IMA: remove the dependency on CRYPTO_MD5
    5cc1ee31353b IMA: remove -Wmissing-prototypes warning
    131968998109 fuse: flush extending writes
    8018100c5444 fuse: truncate pagecache on atomic_o_trunc
    a8ca1fba54be ARM: dts: at91: add pinctrl-{names, 0} for all gpios
    c2c7eefc9371 KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter
    bf3622446335 KVM: VMX: avoid running vmx_handle_exit_irqoff in case of emulation
    c06e6ff2fcc3 KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted
    1db337b10d12 KVM: s390: index kvm->arch.idle_mask by vcpu_idx
    dc9db2a2aae4 Revert "KVM: x86: mmu: Add guest physical address check in translate_gpa()"
    c6b42ec1c936 x86/resctrl: Fix a maybe-uninitialized build warning treated as error
    bafece6cd1f9 perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op
    ae95c3a147d5 tty: Fix data race between tiocsti() and flush_to_ldisc()
    4d0e6d6fe4e2 bio: fix page leak bio_add_hw_page failure
    24fbd77d5a0f io_uring: IORING_OP_WRITE needs hash_reg_file set
    656f343d724b time: Handle negative seconds correctly in timespec64_to_ns()
    611b7f9dc9f6 f2fs: guarantee to write dirty data when enabling checkpoint back
    75ffcd85dff5 iwlwifi Add support for ax201 in Samsung Galaxy Book Flex2 Alpha
    3853c0c0703d ASoC: rt5682: Remove unused variable in rt5682_i2c_remove()
    c4f1ad393026 ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
    dc4ff31506f4 octeontx2-af: Set proper errorcode for IPv4 checksum errors
    bf2991f8e783 octeontx2-af: Fix static code analyzer reported issues
    ee485124b7fa octeontx2-af: Fix loop in free and unmap counter
    a67c66c1bb12 net: qualcomm: fix QCA7000 checksum handling
    f96bc82e0348 net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
    5867e20e1808 ipv4: make exception cache less predictible
    8692f0bb2992 ipv6: make exception cache less predictible
    4663aaef24df brcmfmac: pcie: fix oops on failure to resume and reprobe
    e68128e078da bcma: Fix memory leak for internally-handled cores
    26fae720c112 atlantic: Fix driver resume flow.
    cb996dc9f937 ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point()
    baecab8c469f ice: Only lock to update netdev dev_addr
    bd6d9c83f44d iwlwifi: skip first element in the WTAS ACPI table
    4c4f868082ed iwlwifi: follow the new inclusive terminology
    5c305b90d8a1 ASoC: wcd9335: Disable irq on slave ports in the remove function
    729a459efd30 ASoC: wcd9335: Fix a memory leak in the error handling path of the probe function
    9c640a2bb551 ASoC: wcd9335: Fix a double irq free in the remove function
    8446bb0ff1d0 tty: serial: fsl_lpuart: fix the wrong mapbase value
    9ee4ff8cbe39 usb: bdc: Fix a resource leak in the error handling path of 'bdc_probe()'
    4d2823abd1fe usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available
    86b79054d76b usb: ehci-orion: Handle errors of clk_prepare_enable() in probe
    f0bb63127354 i2c: xlp9xx: fix main IRQ check
    7ac3090e0123 i2c: mt65xx: fix IRQ check
    6c4857203ffa CIFS: Fix a potencially linear read overflow
    b0491ab7d4c7 bpf: Fix possible out of bound write in narrow load handling
    cfaefbcc6bc4 mmc: moxart: Fix issue with uninitialized dma_slave_config
    ced0bc748185 mmc: dw_mmc: Fix issue with uninitialized dma_slave_config
    8a9f9b97558e mmc: sdhci: Fix issue with uninitialized dma_slave_config
    dd903083cbe4 ASoC: Intel: Skylake: Fix module resource and format selection
    b0159dbd1dd6 ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
    7934c79fb0ed ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373
    56d976f45000 rsi: fix an error code in rsi_probe()
    110ce7d256a3 rsi: fix error code in rsi_load_9116_firmware()
    b4bbb77d886b gfs2: init system threads before freeze lock
    ee029e3aa129 i2c: hix5hd2: fix IRQ check
    d36ab9b3ee49 i2c: fix platform_get_irq.cocci warnings
    187705a4b1fa i2c: s3c2410: fix IRQ check
    3913fa307a33 i2c: iop3xx: fix deferred probing
    50e6f34499a5 Bluetooth: add timeout sanity check to hci_inquiry
    cc59ad70cfb6 lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQ
    9295566a136c mm/swap: consider max pages in iomap_swapfile_add_extent
    a9c29bc2a578 usb: gadget: mv_u3d: request_irq() after initializing UDC
    b2f4dd13b211 firmware: raspberrypi: Fix a leak in 'rpi_firmware_get()'
    60831f5ae6c7 firmware: raspberrypi: Keep count of all consumers
    5c68b7795b4c i2c: synquacer: fix deferred probing
    f577e9f58ff0 clk: staging: correct reference to config IOMEM to config HAS_IOMEM
    5ae5f087c9d6 arm64: dts: marvell: armada-37xx: Extend PCIe MEM space
    cb788d698a10 nfsd4: Fix forced-expiry locking
    c9773f42c1de lockd: Fix invalid lockowner cast after vfs_test_lock
    2600861b9069 locking/local_lock: Add missing owner initialization
    d5462a630f7d locking/lockdep: Mark local_lock_t
    22b106df73c6 mac80211: Fix insufficient headroom issue for AMSDU
    0ad4ddb27e2b libbpf: Re-build libbpf.so when libbpf.map changes
    494629ba62a9 usb: phy: tahvo: add IRQ check
    46638d6941ee usb: host: ohci-tmio: add IRQ check
    4b7874a32ec2 PM: cpu: Make notifier chain use a raw_spinlock_t
    471128476819 Bluetooth: Move shutdown callback before flushing tx and rx queue
    d993a6f137ec samples: pktgen: add missing IPv6 option to pktgen scripts
    2c0b826f4a79 devlink: Clear whole devlink_flash_notify struct
    2aa3d5c9e19e selftests/bpf: Fix test_core_autosize on big-endian machines
    c03bf1bc84ea usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse
    eabbb2e8cc41 usb: phy: twl6030: add IRQ checks
    fa5dbfd53982 usb: phy: fsl-usb: add IRQ check
    99ad1be3e9cb usb: gadget: udc: s3c2410: add IRQ check
    0a7731458968 usb: gadget: udc: at91: add IRQ check
    27f102bcee52 usb: dwc3: qcom: add IRQ check
    c4e0f54a56d0 usb: dwc3: meson-g12a: add IRQ check
    96ba1e20e252 ASoC: rt5682: Properly turn off regulators if wrong device ID
    1a2feb23043b ASoC: rt5682: Implement remove callback
    628acf6ee2f1 net/mlx5: Fix unpublish devlink parameters
    fe6322774ca2 net/mlx5: Register to devlink ingress VLAN filter trap
    dbeb4574ddf0 drm/msm/dsi: Fix some reference counted resource leaks
    059c2c09f4b7 Bluetooth: fix repeated calls to sco_sock_kill
    6df58421da13 ASoC: Intel: Fix platform ID matching
    10dfcfda5c6f cgroup/cpuset: Fix violation of cpuset locking rule
    cbc97661439d cgroup/cpuset: Miscellaneous code cleanup
    974ab0a04fe6 counter: 104-quad-8: Return error when invalid mode during ceiling_write
    c158f9b23279 arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7
    7125705623f9 drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs
    a6e980b110d2 drm/msm/mdp4: move HW revision detection to earlier phase
    90363618b552 drm/msm/mdp4: refactor HW revision detection into read_mdp_hw_revision
    416929eaf44e selftests/bpf: Fix bpf-iter-tcp4 test to print correctly the dest IP
    d6337dfd1e77 PM: EM: Increase energy calculation precision
    5014a8453f02 Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow
    afffa7b4c6e4 debugfs: Return error during {full/open}_proxy_open() on rmmod
    17830b041534 soc: qcom: smsm: Fix missed interrupts if state changes while masked
    b8361513ac76 bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstring
    cd6008e31af0 PCI: PM: Enable PME if it can be signaled from D3cold
    3890c6e1da31 PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently
    eda4ccca906f media: venus: venc: Fix potential null pointer dereference on pointer fmt
    519ad41a0989 media: em28xx-input: fix refcount bug in em28xx_usb_disconnect
    a7dd8b778a4d leds: trigger: audio: Add an activate callback to ensure the initial brightness is set
    917191d582f9 leds: lt3593: Put fwnode in any case during ->probe()
    eef8496579de i2c: highlander: add IRQ check
    11dd40c18918 net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set()
    b376ae5597fc devlink: Break parameter notification sequence to be before/after unload/load driver
    9fa9ff10408f arm64: dts: renesas: hihope-rzg2-ex: Add EtherAVB internal rx delay
    e4da0e0006f9 arm64: dts: renesas: rzg2: Convert EtherAVB to explicit delay handling
    61b1db235868 Bluetooth: mgmt: Fix wrong opcode in the response for add_adv cmd
    bca46d228393 net: cipso: fix warnings in netlbl_cipsov4_add_std
    b6b5dc12bd7c drm: mxsfb: Clear FIFO_CLEAR bit
    1a0014c1c62c drm: mxsfb: Increase number of outstanding requests on V4 and newer HW
    46f546394063 drm: mxsfb: Enable recovery on underflow
    e0f3de1573fd cgroup/cpuset: Fix a partition bug with hotplug
    7a0b297480dd net/mlx5e: Block LRO if firmware asks for tunneled LRO
    c40ed983b874 net/mlx5e: Prohibit inner indir TIRs in IPoIB
    a11fc1cd8a31 ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
    2e68547e99a7 ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
    0d40e59c03b8 ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
    eda87dd4738a ARM: dts: meson8: Use a higher default GPU clock frequency
    a7d0a59e21ef tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos
    1f60072320b5 drm/amdgpu/acp: Make PM domain really work
    c7ebd3622bf8 6lowpan: iphc: Fix an off-by-one check of array index
    def6efdf91e7 Bluetooth: sco: prevent information leak in sco_conn_defer_accept()
    e9a62740876b media: atomisp: fix the uninitialized use and rename "retvalue"
    b0e87701b813 media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
    c062253748d8 media: rockchip/rga: fix error handling in probe
    dc49537334a7 media: rockchip/rga: use pm_runtime_resume_and_get()
    94d6aa2b871f media: go7007: remove redundant initialization
    ffd9c8cecbad media: go7007: fix memory leak in go7007_usb_probe
    fb22665c37b3 media: dvb-usb: Fix error handling in dvb_usb_i2c_init
    6b0fe6953430 media: dvb-usb: fix uninit-value in vp702x_read_mac_addr
    372890e0b41e media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
    83f7297a4af4 ionic: cleanly release devlink instance
    203537ff35ea driver core: Fix error return code in really_probe()
    4225d357bc75 firmware: fix theoretical UAF race with firmware cache and resume
    c4aaad8a3389 gfs2: Fix memory leak of object lsi on error return path
    8c3b5028ec02 libbpf: Fix removal of inner map in bpf_object__create_map
    ffb887c15f7f soc: qcom: rpmhpd: Use corner in power_off
    f32b433d8e25 i40e: improve locking of mac_filter_hash
    5ac21a4e6e85 arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
    a8c1eaed2374 ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi
    6ca0b4089166 libbpf: Fix the possible memory leak on error
    f1673e85254d gve: fix the wrong AdminQ buffer overflow check
    1568dbe8892d drm/of: free the iterator object on failure
    389dfd114780 bpf: Fix potential memleak and UAF in the verifier.
    d4213b709316 bpf: Fix a typo of reuseport map in bpf.h.
    56e5c527cc2e drm/of: free the right object
    38235f195de9 media: cxd2880-spi: Fix an error handling path
    25fbfc31ceec soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
    c391728c9b25 leds: is31fl32xx: Fix missing error code in is31fl32xx_parse_dt()
    d4abb6e14105 media: TDA1997x: enable EDID support
    8ce22f85381f ASoC: mediatek: mt8183: Fix Unbalanced pm_runtime_enable in mt8183_afe_pcm_dev_probe
    3d58f5e83f97 drm/gma500: Fix end of loop tests for list_for_each_entry
    54912723f16b drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()
    1e1423449d1c EDAC/i10nm: Fix NVDIMM detection
    a20e6868cbfc spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible
    e2cb04c61bcf spi: sprd: Fix the wrong WDG_LOAD_VAL
    cd8cca7268a2 regulator: vctrl: Avoid lockdep warning in enable/disable ops
    8665e30317c8 regulator: vctrl: Use locked regulator_get_voltage in probe path
    80b1a70b0450 blk-crypto: fix check for too-large dun_bytes
    ba6e5af621ab spi: davinci: invoke chipselect callback
    c0aec70a256c x86/mce: Defer processing of early errors
    6627be8b36dc tpm: ibmvtpm: Avoid error message when process gets signal while waiting
    bd2028e9e27c certs: Trigger creation of RSA module signing key if it's not an RSA key
    fddf3a72abe1 crypto: qat - use proper type for vf_mask
    e7273d57d2b7 irqchip/gic-v3: Fix priority comparison when non-secure priorities are used
    f1f6d3d2ada8 spi: coldfire-qspi: Use clk_disable_unprepare in the remove function
    4b21d4e820bb block: nbd: add sanity check for first_minor
    31fc50cd93cd clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel
    dde7ff1c1977 lib/mpi: use kcalloc in mpi_resize
    20d84fc59e85 irqchip/loongson-pch-pic: Improve edge triggered interrupt support
    e9a902f88207 genirq/timings: Fix error return code in irq_timings_test_irqs()
    10d3bdd2d578 spi: spi-pic32: Fix issue with uninitialized dma_slave_config
    d4ec971bfa88 spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config
    87aa69aa10b4 block: return ELEVATOR_DISCARD_MERGE if possible
    386850718153 m68k: Fix invalid RMW_INSNS on CPUs that lack CAS
    497f3d9c3f58 rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock
    ea5e5bc881a4 rcu: Add lockdep_assert_irqs_disabled() to rcu_sched_clock_irq() and callees
    527b56d7856f rcu: Fix to include first blocked task in stall warning
    e6778e1b22d0 sched: Fix UCLAMP_FLAG_IDLE setting
    718180c24675 sched/numa: Fix is_core_idle()
    bf4b0fa3a2e2 m68k: emu: Fix invalid free in nfeth_cleanup()
    246c771b8562 power: supply: cw2015: use dev_err_probe to allow deferred probe
    a758b1d4ca20 s390/ap: fix state machine hang after failure to enable irq
    86f9980909f3 s390/debug: fix debug area life cycle
    0980d2b21f4d s390/debug: keep debug data on resize
    0404bf4a660c s390/pci: fix misleading rc in clp_set_pci_fn()
    8b471e72b51e s390/kasan: fix large PMD pages address alignment check
    9d999957cb39 udf_get_extendedattr() had no boundary checks.
    db2f238d8d12 fcntl: fix potential deadlock for &fasync_struct.fa_lock
    349633ed311c crypto: qat - do not export adf_iov_putmsg()
    205cfad5c0ca crypto: qat - fix naming for init/shutdown VF to PF notifications
    c29cc43e30ba crypto: qat - fix reuse of completion variable
    e53575ea28d9 crypto: qat - handle both source of interrupt in VF ISR
    9819975c636c crypto: qat - do not ignore errors from enable_vf2pf_comms()
    6f3c58bd62f2 crypto: omap - Fix inconsistent locking of device lists
    fc4073df2968 libata: fix ata_host_start()
    cf619a528e01 s390/zcrypt: fix wrong offset index for APKA master key valid state
    b4aa00bf8a4d s390/cio: add dev_busid sysfs entry for each subchannel
    d0831db736bb power: supply: max17042_battery: fix typo in MAx17042_TOFF
    5d59f38c6ba5 power: supply: smb347-charger: Add missing pin control activation
    10e759e350d7 nvmet: pass back cntlid on successful completion
    ea4a353c0ef4 nvme-rdma: don't update queue count when failing to set io queues
    5d0f0c3bbe99 nvme-tcp: don't update queue count when failing to set io queues
    591f69d7c415 blk-throtl: optimize IOPS throttle for large IO scenarios
    cf13537be54c bcache: add proper error unwinding in bcache_device_init
    48aa6e4e28c4 isofs: joliet: Fix iocharset=utf8 mount option
    940ac461323e udf: Fix iocharset=utf8 mount option
    4cf1551af31d udf: Check LVID earlier
    3d12ccecfa31 hrtimer: Ensure timerfd notification for HIGHRES=n
    aadfa1d6ca5f hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()
    13ccaef77ee8 posix-cpu-timers: Force next expiration recalc after itimer reset
    8a6c5eec811c EDAC/mce_amd: Do not load edac_mce_amd module on guests
    4b680b3fc6f3 rcu/tree: Handle VM stoppage in stall detection
    1cc05d71f04d sched/deadline: Fix missing clock update in migrate_task_rq_dl()
    104adbffbe4c crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
    ce7f2b516c77 power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors
    3ebd7b38415e sched/deadline: Fix reset_on_fork reporting of DL tasks
    8c4d94db5acd crypto: mxs-dcp - Check for DMA mapping errors
    7bb6302e9d09 regulator: tps65910: Silence deferred probe error
    a85985099644 regmap: fix the offset of register error log
    97bc540bfb61 locking/mutex: Fix HANDOFF condition
    cb83afdc0b86 Linux 5.10.64
    f72fce550709 PCI: Call Max Payload Size-related fixup quirks early
    8c04a16d2037 x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions
    1234849353b0 xhci: fix unsafe memory usage in xhci tracing
    3f7f1baf7045 xhci: fix even more unsafe memory usage in xhci tracing
    30e6e9f8bf2c usb: mtu3: fix the wrong HS mult value
    8a4439aaf4f7 usb: mtu3: use @mult for HS isoc or intr
    147819723c74 usb: mtu3: restore HS function when set SS/SSP
    c75e2fd0d3c5 usb: gadget: tegra-xudc: fix the wrong mult value for HS isoc or intr
    d544c9a2190a usb: host: xhci-rcar: Don't reload firmware after the completion
    c3fd7b0b9aa1 ALSA: usb-audio: Add registration quirk for JBL Quantum 800
    798679af7978 blk-mq: clearing flush request reference in tags->rqs[]
    e51ff3ffc316 netfilter: nftables: clone set element expression template
    36983fc2f87e netfilter: nf_tables: initialize set before expression setup
    3fda454f909c netfilter: nftables: avoid potential overflows on 32bit arches
    cad6239f5080 blk-mq: fix is_flush_rq
    ceffaa61b5bb blk-mq: fix kernel panic during iterating over flush request
    bc1b5c5f3e3b x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gating
    554efc9a6138 Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM"
    d24347e2ff11 tty: drop termiox user definitions
    0757a883b970 net: linux/skbuff.h: combine SKB_EXTENSIONS + KCOV handling
    0b62660c6a33 serial: 8250: 8250_omap: Fix unused variable warning
    7ff0b71b6826 net: kcov: don't select SKB_EXTENSIONS when there is no NET
    c4225992060b mm/page_alloc: speed up the iteration of max_order
    50e56c68e1ef net: ll_temac: Remove left-over debug message
    6e2c4e665623 USB: serial: mos7720: improve OOM-handling in read_mos_reg()
    ddd7e8b7b848 igmp: Add ip_mc_list lock in ip_check_mc_rcu

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.14: bsp/qemuarm*-gfx: use virtio graphics
Bruce Ashfield [Wed, 6 Oct 2021 00:12:42 +0000 (20:12 -0400)]
linux-yocto/5.14: bsp/qemuarm*-gfx: use virtio graphics

Integrating the following configuration change:

  Author: Jon Mason <jdmason@kudzu.us>
  Date:   Thu Sep 16 18:22:33 2021 -0400

      bsp/qemuarm*-gfx: use virtio graphics

      Remove Bochs and start using virtio graphics

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.14: update to v5.14.8
Bruce Ashfield [Wed, 6 Oct 2021 00:12:41 +0000 (20:12 -0400)]
linux-yocto/5.14: update to v5.14.8

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

    c34892e1995d Linux 5.14.8
    1236431c8531 drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV
    bef2b32a1490 selinux,smack: fix subjective/objective credential use mixups
    dcd45a08b9a6 io_uring: fix off-by-one in BUILD_BUG_ON check of __REQ_F_LAST_BIT
    d1217e40d082 cifs: properly invalidate cached root handle when closing it
    cacfce79af9b sched/idle: Make the idle timer expire in hard interrupt context
    affd236df3e8 rtc: rx8010: select REGMAP_I2C
    46384252a8f4 blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for multiple_queues
    a3330c1c8319 blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
    2ab96bfe3201 block: genhd: don't call blkdev_show() with major_names_lock held
    e2860e2175c0 nvmet: fixup buffer overrun in nvmet_subsys_attr_serial()
    da6643141740 pwm: stm32-lp: Don't modify HW state in .remove() callback
    2c92f9e8e039 pwm: rockchip: Don't modify HW state in .remove() callback
    f53bd7fe1bf6 pwm: img: Don't modify HW state in .remove() callback
    ddd8601dd853 habanalabs: cannot sleep while holding spinlock
    f621eeead8d6 habanalabs: add "in device creation" status
    836c0806500d habanalabs: fix mmu node address resolution in debugfs
    46d712b46080 habanalabs: add validity check for event ID received from F/W
    350b2f2b1f2a drm/amdgpu: fix fdinfo race with process exit
    25b4e51e2333 drm/amd/display: Fix memory leak reported by coverity
    682645659796 drm/amdgpu: Fixes to returning VBIOS RAS EEPROM address
    d5b10c0b4288 habanalabs: fix nullifying of destroyed mmu pgt pool
    d51100f73561 thermal/drivers/rcar_gen3_thermal: Store TSC id as unsigned int
    0ea5f803c39d nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
    7797daf14c3f nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
    6e17978ca9b8 nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
    90b8f51480a4 nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
    e005476348f9 nilfs2: fix NULL pointer in nilfs_##name##_attr_release
    255c3bfa2826 nilfs2: fix memory leak in nilfs_sysfs_create_device_group
    0e78f3da8e58 btrfs: fix lockdep warning while mounting sprout fs
    ebed7d89e54c btrfs: delay blkdev_put until after the device remove
    13d4c38e5c51 btrfs: update the bdev time directly when closing
    e0f8639c87e1 s390/unwind: use current_frame_address() to unwind current task
    31db9b13e54e ceph: lockdep annotations for try_nonblocking_invalidate
    6ca3781b4664 ceph: remove the capsnaps when removing caps
    8e46eccfc10f ceph: request Fw caps before updating the mtime in ceph_write_iter
    8e4e080b2be0 ceph: fix memory leak on decode error in ceph_handle_caps
    abae6b3bab39 ACPI: PM: s2idle: Run both AMD and Microsoft methods if both are supported
    417cd319e998 ASoC: audio-graph: respawn Platform Support
    0a96c9734bd8 s390: add kmemleak annotation in stack_alloc()
    5c9fc5418714 dmaengine: xilinx_dma: Set DMA mask for coherent APIs
    996a4337be96 dmaengine: ioat: depends on !UML
    964a98344922 cxl/pci: Introduce cdevm_file_operations
    e921d59a75c7 cxl: Move cxl_core to new directory
    786c11aebd4f dmaengine: sprd: Add missing MODULE_DEVICE_TABLE
    70100a0fb72d dmaengine: idxd: depends on !UML
    4d74704a3975 riscv: dts: microchip: mpfs-icicle: Fix serial console
    f8d2c2cfbff3 of: property: Disable fw_devlink DT support for X86
    f7525b4c5d40 drm/ttm: Fix a deadlock if the target BO is not idle during swap
    3a4a126d3515 arm64: mm: limit linear region to 51 bits for KVM in nVHE mode
    4ca60140f83e iommu/vt-d: Fix a deadlock in intel_svm_drain_prq()
    cab628d695ab iommu/vt-d: Fix PASID leak in intel_svm_unbind_mm()
    f74210e642c8 iommu/amd: Relocate GAMSup check to early_enable_iommus
    2d0bfe7e6f5d parisc: Move pci_dev_is_behind_card_dino to where it is used
    9a9d2fb4995a dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER
    7eb2c8604702 dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
    0a1b8623d10c drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()
    52cf80714d50 drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform
    654b40ff096e thermal/core: Fix thermal_cooling_device_register() prototype
    57df1f724b35 tracing/boot: Fix to loop on only subkeys
    59faa7816df1 tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh
    bdf3f584913c Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH
    71f9ab9c157c init: move usermodehelper_enable() to populate_rootfs()
    4abef9e11035 math: RATIONAL_KUNIT_TEST should depend on RATIONAL instead of selecting it
    7e68a2bd2169 SUNRPC: don't pause on incomplete allocation
    bf55b052cfeb s390/entry: make oklabel within CHKSTG macro local
    674534e6327e platform/chrome: cros_ec_trace: Fix format warnings
    c3315f6436e7 platform/chrome: sensorhub: Add trace events for sample
    0e53af9116e4 dmaengine: idxd: clear block on fault flag when clear wq
    ecf3158aad68 dmaengine: idxd: fix abort status check
    858343654607 dmaengine: idxd: fix wq slot allocation index check
    6c578df6fdd9 dmaengine: idxd: have command status always set
    acf769fe268d dmanegine: idxd: cleanup all device related bits after disabling device
    81680e81b71a pwm: mxs: Don't modify HW state in .probe() after the PWM chip was registered
    1c90a357cef4 pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered
    ec33d4bcec80 ceph: cancel delayed work instead of flushing on mdsc teardown
    02006feaf26f thermal/drivers/qcom/spmi-adc-tm5: Don't abort probing if a sensor is not used
    04864f20674f PM: sleep: core: Avoid setting power.must_resume to false
    07906d13ba6b profiling: fix shift-out-of-bounds bugs
    ada62fe1bdbc nilfs2: use refcount_dec_and_lock() to fix potential UAF
    154d764b1f82 prctl: allow to setup brk for et_dyn executables
    861006fa37d8 pwm: ab8500: Fix register offset calculation to not depend on probe order
    bc013a3943af 9p/trans_virtio: Remove sysfs file on probe failure
    e0e873820b55 thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
    61c87f0674e5 n64cart: fix return value check in n64cart_probe()
    8843c3dc1ad2 staging: rtl8723bs: fix wpa_set_auth_algs() function
    24a026e4ae1d perf tools: Allow build-id with trailing zeros
    60a830dc0a2b perf symbol: Look for ImageBase in PE file to compute .text offset
    d4e7c85ae25f perf test: Fix bpf test sample mismatch reporting
    b005ce62b39c dmaengine: acpi: Avoid comparison GSI with Linux vIRQ
    e0291e6fb03d RDMA/mlx5: Fix xlt_chunk_align calculation
    e00e0ed534a2 RDMA/hns: Enable stash feature of HIP09
    6909fa41fbd4 um: virtio_uml: fix memory leak on init failures
    dc25d3bebac1 coredump: fix memleak in dump_vma_snapshot()
    069c28830690 um: fix stub location calculation
    5cd412eda5d6 staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb()
    f59fcad27535 console: consume APC, DM, DCS
    fb28e3d5d0d8 PCI: aardvark: Fix reporting CRS value
    952d4ed0bd65 PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
    56c0ace445bd Linux 5.14.7
    a7593244dc31 s390/bpf: Fix branch shortening during codegen pass
    6a8787093b04 s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant
    7a31ec4d215a s390/bpf: Fix optimizing out zero-extensions
    10203c14d608 net: dsa: bcm_sf2: Fix array overrun in bcm_sf2_num_active_ports()
    45c0e1ee3e9f bnxt_en: Fix error recovery regression
    47b119613dcf net: renesas: sh_eth: Fix freeing wrong tx descriptor
    45f8ba56d4dd cxgb3: fix oops on module removal
    dc2ebd4105b0 mfd: lpc_sch: Rename GPIOBASE to prevent build error
    4666248379e9 ip6_gre: Revert "ip6_gre: add validation for csum_start"
    9ae3fccac631 bnxt_en: Fix possible unintended driver initiated error recovery
    05935d1da3c7 bnxt_en: Fix asic.rev in devlink dev info command
    a4dc86f679b2 bnxt_en: fix stored FW_PSID version masks
    c70b2b2ca0c0 net: dsa: b53: Fix IMP port setup on BCM5301x
    4bf5d5224ffc ip_gre: validate csum_start only on pull
    faa3bd11de91 iwlwifi: pnvm: Fix a memory leak in 'iwl_pnvm_get_from_fs()'
    b5fe5a750923 iwlwifi: move get pnvm file name to a separate function
    2b6c8100c693 qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
    ec5150055362 fq_codel: reject silly quantum parameters
    7d0458a67e6d netfilter: socket: icmp6: fix use-after-scope
    864251f26753 mptcp: Only send extra TCP acks in eligible socket states
    bd65986f3e2d net: dsa: b53: Set correct number of ports in the DSA struct
    7c5800c3cab8 net: dsa: b53: Fix calculating number of switch ports
    98641c732e95 net: hso: add failure handler for add_net_device
    5d37e739f531 selftests: mptcp: clean tmp files in simult_flows
    e35820fb5641 mptcp: fix possible divide by zero
    122a20d062e8 tools build: Fix feature detect clean for out of source builds
    e67dcd6556fa net: dsa: tag_rtl4_a: Fix egress tags
    fcf7264e8714 io_uring: retry in case of short read on block device
    e7009e8ecdf6 gpio: mpc8xxx: Use 'devm_gpiochip_add_data()' to simplify the code and avoid a leak
    450adfabe059 gpio: mpc8xxx: Fix a potential double iounmap call in 'mpc8xxx_probe()'
    8c7ba0ec7c45 gpio: mpc8xxx: Fix a resources leak in the error handling path of 'mpc8xxx_probe()'
    17bf84a9e8a2 perf bench inject-buildid: Handle writen() errors
    20e60bf86492 perf unwind: Do not overwrite FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64}
    82d7271c9ead perf config: Fix caching and memory leak in perf_home_perfconfig()
    eb15078cd848 ARC: export clear_user_page() for modules
    6989067d55cd mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()'
    08a901da171d watchdog: Fix NULL pointer dereference when releasing cdev
    59aba0148404 PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n
    638fb35ca3e4 PCI/PTM: Remove error message at boot
    b3c9eff1a853 KVM: arm64: Handle PSCI resets before userspace touches vCPU state
    bd5ad57a4dc7 KVM: arm64: Fix read-side race on updates to vcpu reset state
    7655140eda86 mtd: mtdconcat: Check _read, _write callbacks existence before assignment
    5cd5c566aaf3 mtd: mtdconcat: Judge callback existence based on the master
    a452dc09a5a6 tracing/boot: Fix a hist trigger dependency for boot time tracing
    3be43a9ac4a9 mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
    1104ea6b8e2a PCI: Fix pci_dev_str_match_path() alloc while atomic bug
    619b6ad1b135 KVM: arm64: Restrict IPA size to maximum 48 bits on 4K and 16K page size
    39880692657c netfilter: nft_ct: protect nft_ct_pcpu_template_refcnt with mutex
    408c5b7081b1 PCI: iproc: Fix BCMA probe resource handling
    43f59fff1fdf PCI: of: Don't fail devm_pci_alloc_host_bridge() on missing 'ranges'
    b4ae6f96d7db PCI: controller: PCI_IXP4XX should depend on ARCH_IXP4XX
    86bfda3f6cb5 backlight: ktd253: Stabilize backlight
    31c16809d0bc mfd: axp20x: Update AXP288 volatile ranges
    eb3eeb317385 net: phylink: add suspend/resume support
    54f62219145c stmmac: dwmac-loongson:Fix missing return value
    a308deafe4e3 NTB: perf: Fix an error code in perf_setup_inbuf()
    9c787064f0a8 NTB: Fix an error code in ntb_msit_probe()
    23edad31b827 ethtool: Fix an error code in cxgb2.c
    0fc65686c1de loop: reduce the loop_ctl_mutex scope
    b1438181dcee PCI: ibmphp: Fix double unmap of io_mem
    88013a0c5d99 block, bfq: honor already-setup queue merges
    488e251c6987 net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920
    2bbf4c40bfb2 flow: fix object-size-mismatch warning in flowi{4,6}_to_flowi_common()
    2a2ada738da6 Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6
    1680812a0f7d octeontx2-af: Add additional register check to rvu_poll_reg()
    ed0f3b99c5a1 watchdog: Start watchdog in watchdog_set_last_hw_keepalive only if appropriate
    a1d4322f6782 PCI: Add ACS quirks for Cavium multi-function devices
    a87aa051d7bd PCI: j721e: Add PCIe support for AM64
    1def82a63892 PCI: j721e: Add PCIe support for J7200
    06ef79094f16 PCI: cadence: Add quirk flag to set minimum delay in LTSSM Detect.Quiet state
    cdade20269a4 PCI: cadence: Use bitfield for *quirk_retrain_flag* instead of bool
    53347ed7cc2e tracing/probes: Reject events which have the same name of existing one
    86ddc7397906 KVM: arm64: Make hyp_panic() more robust when protected mode is enabled
    35f2ecc7a6e5 riscv: fix the global name pfn_base confliction error
    f9910fae78de PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe()
    24bc88f6d28e mfd: Don't use irq_create_mapping() to resolve a mapping
    2edfc28e4a80 PCI: tegra: Fix OF node reference leak
    119f11c0a5fd PCI: tegra194: Fix MSI-X programming
    2338e1b02584 PCI: tegra194: Fix handling BME_CHGED event
    cba893f7193a fuse: fix use after free in fuse_read_interrupt()
    bd95a58ccd96 PCI: Add ACS quirks for NXP LX2xx0 and LX2xx2 platforms
    6bd777c9cece mfd: db8500-prcmu: Adjust map to reality
    28fd51c13227 remoteproc: qcom: wcnss: Fix race with iris probe
    65fa28b7695f dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation
    d49e2c649480 mlxbf_gige: clear valid_polarity upon open
    0cacc8c5f8b8 net: dsa: flush switchdev workqueue before tearing down CPU/DSA ports
    3e8418e36177 blkcg: fix memory leak in blk_iolatency_init
    2990e56bb82c nvme: avoid race in shutdown namespace removal
    0eb2133475b4 net: hns3: fix the exception when query imp info
    cd0015a07cf7 net: dsa: lantiq_gswip: Add 200ms assert delay
    a4604b3cde1c net: dsa: qca8k: fix kernel panic with legacy mdio mapping
    d2a6d9c240e5 ice: Correctly deal with PFs that do not support RDMA
    084ba1ace0b9 net/mlx5e: Fix mutual exclusion between CQE compression and HW TS
    080ce6343eff Drivers: hv: vmbus: Fix kernel crash upon unbinding a device from uio_hv_generic driver
    4664ad853f4b net: stmmac: platform: fix build warning when with !CONFIG_PM_SLEEP
    dbf905bcd28a net: hns3: fix the timing issue of VF clearing interrupt sources
    39da2bc7e5ac net: hns3: disable mac in flr process
    6f3d5ea0f817 net: hns3: change affinity_mask to numa node range
    ab73511cb258 net: hns3: pad the short tunnel frame before sending to hardware
    acd97a2a900b bnxt_en: make bnxt_free_skbs() safe to call after bnxt_free_mem()
    da15ae0968fa s390/pci_mmio: fully validate the VMA before calling follow_pte()
    722ee4b29a59 powerpc/mce: Fix access error in mce handler
    31f2beef3ef1 powerpc/64s: system call rfscv workaround for TM bugs
    9151f0bdc3a1 KVM: PPC: Book3S HV: Tolerate treclaim. in fake-suspend mode changing registers
    d5bf0fd8f4d1 ibmvnic: check failover_pending in login response
    e7b260fd7309 dt-bindings: arm: Fix Toradex compatible typo
    322b40b5094e udp_tunnel: Fix udp_tunnel_nic work-queue type
    2a791fa9de15 qed: Handle management FW error
    01d935828325 selftest: net: fix typo in altname test
    88ed682408f1 tcp: fix tp->undo_retrans accounting in tcp_sacktag_one()
    e50f1df204d5 x86/uaccess: Fix 32-bit __get_user_asm_u64() when CC_HAS_ASM_GOTO_OUTPUT=y
    893124376b0a net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setup
    43867a55875e net/af_unix: fix a data-race in unix_dgram_poll
    178c282e543f vhost_net: fix OoB on sendmsg() failure.
    e8f84d205910 gen_compile_commands: fix missing 'sys' package
    b5663238281f net: ipa: initialize all filter table slots
    bb84e79f4f79 events: Reuse value read using READ_ONCE instead of re-reading it
    398026b3e1fe powerpc/64s: system call scv tabort fix for corrupt irq soft-mask state
    ae66447e9959 nvme-tcp: fix io_work priority inversion
    48e04f88a216 igc: fix tunnel offloading
    2283da2a64fb net: stmmac: fix system hang caused by eee_ctrl_timer during suspend/resume
    c29323ea0eb6 net/mlx5: Fix potential sleeping in atomic context
    31aec563de90 net/mlx5: FWTrace, cancel work on alloc pd error flow
    bef2db97a77c perf machine: Initialize srcline string member in add_location struct
    a628e6c8eaa7 drm/i915/dp: return proper DPRX link training result
    80e336d29217 rtc: cmos: Disable irq around direct invocation of cmos_interrupt()
    bc9299c5270f drm/rockchip: cdn-dp-core: Make cdn_dp_core_resume __maybe_unused
    2926d3827105 tipc: increase timeout in tipc_sk_enqueue()
    3433e7d135de r6040: Restore MDIO clock frequency after MAC reset
    6e4a2519c912 net/l2tp: Fix reference count leak in l2tp_udp_recv_core
    51f7b364a2d1 dccp: don't duplicate ccid when cloning dccp sock
    3e811a5c96fa ptp: dp83640: don't define PAGE0
    9ac80ef7cc41 net-caif: avoid user-triggerable WARN_ON(1)
    1f2f637b31e5 net/{mlx5|nfp|bnxt}: Remove unnecessary RTNL lock assert
    a2db1c64f2ce net: remove the unnecessary check in cipso_v4_doi_free
    35ee11c8f438 ethtool: Fix rxnfc copy to user buffer overflow
    ba099fe50c0a tipc: fix an use-after-free issue in tipc_recvmsg
    54089df947b0 x86/mce: Avoid infinite loop for copy from user recovery
    d6d35beff5d4 x86/mm: Fix kern_addr_valid() to cope with existing but not present entries
    388e1fd62e8c x86/pat: Pass valid address to sanitize_phys()
    6ed2d5e30cf4 net: qrtr: revert check in qrtr_endpoint_post()
    2aeb3cfb82ae s390/sclp: fix Secure-IPL facility detection
    3405e0d5e4a3 drm/etnaviv: add missing MMU context put when reaping MMU mapping
    ac533196011b drm/etnaviv: reference MMU context when setting up hardware state
    3e8cfbab6c8b drm/etnaviv: fix MMU context leak on GPU reset
    4ad4e5f3f20a drm/etnaviv: exec and MMU state is lost when resetting the GPU
    c80772895cc0 drm/etnaviv: keep MMU context across runtime suspend/resume
    18e0930dd776 drm/etnaviv: stop abusing mmu_context as FE running marker
    d73f98558f4a drm/etnaviv: put submit prev MMU context when it exists
    3ea21946ba7b drm/etnaviv: return context from etnaviv_iommu_context_get
    dc1fd142dcf2 drm/i915/dp: Use max params for panels < eDP 1.4
    d717dcf122ea io_uring: allow retry for O_NONBLOCK if async is supported
    3704a556158e drm/radeon: pass drm dev radeon_agp_head_init directly
    fe232886fb71 drm/amdkfd: separate kfd_iommu_resume from kfd_resume
    815cf7b38a1c drm/amd/pm: fix the issue of uploading powerplay table
    413a8644966a drm/amdgpu: move iommu_resume before ip init/resume
    64ca7170c9b1 drm/amdgpu: add amdgpu_amdkfd_resume_iommu
    2a0dfd8e2878 drm/amdgpu: fix use after free during BO move
    05e7e2d760aa drm/amdgpu: use IS_ERR for debugfs APIs
    ab55e44ea8dc drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
    deeb5db10001 drm/amd/pm: fix runpm hang when amdgpu loaded prior to sound driver
    05a19da7efcd drm/amd/display: Fix white screen page fault for gpuvm
    c6d921d1e88c drm/amd/display: dsc mst 2 4K displays go dark with 2 lane HBR3
    c5548625a758 drm/amd/display: Get backlight from PWM if DMCU is not initialized
    73892cbd7c88 PCI: Add AMD GPU multi-function power dependencies
    0b4547d3ee46 PM: base: power: don't try to use non-existing RTC for storing data
    06cd58aa18f2 arm64/sve: Use correct size when reinitialising SVE state
    5c687b528a92 bnx2x: Fix enabling network interfaces without VFs
    6860535176f2 xen: fix usage of pmd_populate in mremap for pv guests
    93ce214dc0c4 xen: reset legacy rtc flag for PV domU
    90b2c99e4769 swiotlb-xen: fix late init retry
    4eb05451173e swiotlb-xen: avoid double free
    71e32edd2210 io_uring: ensure symmetry in handling iter types in loop_rw_iter()
    1e93a76c6995 net: stmmac: fix MAC not working when system resume back with WoL active

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.14: scripts/gcc-plugins: consistently use HOSTCC
Bruce Ashfield [Wed, 6 Oct 2021 00:12:40 +0000 (20:12 -0400)]
linux-yocto/5.14: scripts/gcc-plugins: consistently use HOSTCC

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

    724df5812165 scripts/gcc-plugins: consistently use HOSTCC

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibical: fix append in DEPENDS
Konrad Weihmann [Mon, 4 Oct 2021 13:28:51 +0000 (15:28 +0200)]
libical: fix append in DEPENDS

fix the append with a leading blank, otherwise this messes up
DEPENDS when globally inherited classes add dependecies of their own

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoreproducible_build: Work around caching issues
Richard Purdie [Sun, 3 Oct 2021 19:12:26 +0000 (20:12 +0100)]
reproducible_build: Work around caching issues

SOURCE_DATE_EPOCH can be expanded early in the parsing process before
the class extensions are applied. This can mean the directory pointed
to for the SDE can be incorrect until later in parsing. Cache the file
name in the cached value and allow it to dynamically update.

This isn't ideal but avoding expansion of the variable likely isn't
possible and I'm not sure how else to handle this. This works around
the issue until a better solution can be found.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoabi_version/sstate: Bump HASH_VERSION and SSTATE_VERSION
Richard Purdie [Sat, 2 Oct 2021 08:33:18 +0000 (09:33 +0100)]
abi_version/sstate: Bump HASH_VERSION and SSTATE_VERSION

At this point the hash equivalence and sstate is 'junk' on the autobuilder
unforuntately due to the volume of fixes and also the volume of slighly
not quite right patches tested during the development of the fixes.

In order to try and help any remaining sanity I might have, bump the
version numbers to start with a clean slate so we're working from a known
good baseline rather than risk chasing phantom issues. For those
upgrading, there wouldn't be much reuse anyway after the changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage-artifact-names: Use SOURCE_DATE_EPOCH when making reproducible builds for deploy
Richard Purdie [Wed, 29 Sep 2021 19:21:14 +0000 (20:21 +0100)]
image-artifact-names: Use SOURCE_DATE_EPOCH when making reproducible builds for deploy

Using DATETIME means the do_deploy output is not deterministic. Use SDE
when using reproducible builds since it is consistent for given input data.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: Drop broken pyc files
Richard Purdie [Sat, 2 Oct 2021 08:47:00 +0000 (09:47 +0100)]
python3: Drop broken pyc files

The underlying py files are editted so delete the now incorrect pyc files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstatesig: Add processing for full build paths in sysroot files
Richard Purdie [Wed, 29 Sep 2021 14:02:08 +0000 (15:02 +0100)]
sstatesig: Add processing for full build paths in sysroot files

Some files in the populate_sysroot tasks have hardcoded paths in them,
particularly if they are postinst-useradd- files or crossscripts.

Add some filtering logic to remove these paths.

This means that the hashequiv "outhash" matches correcting in more
cases allowing for better build artefact reuse.

To make this work a new variable is added SSTATE_HASHEQUIV_FILEMAP
which maps file globbing to replacement patterns (paths or regex)
on a per sstate task basis. It is hoped this shouldn't be needed
in many cases. We are in the process to developing QA tests which
will better detect issues in this area to allow optimal sstate
reuse.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexternalsrc: Fix a source date epoch race in reproducible builds
Richard Purdie [Tue, 21 Sep 2021 10:55:44 +0000 (11:55 +0100)]
externalsrc: Fix a source date epoch race in reproducible builds

When reproducible builds are enabled and externalsrc is in use, the
source date epoch function is added. The conditions on the conditional
code removing the unpack task need to match the deltask function, else
the source date epoch function can end up running twice and the functions
can race with each other causing build failures or corruption.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Set vardepvalue for PARALLEL_MAKEINST
Richard Purdie [Mon, 4 Oct 2021 08:49:44 +0000 (09:49 +0100)]
bitbake.conf: Set vardepvalue for PARALLEL_MAKEINST

If you leave PARALLEL_MAKEINST at its default from PARALLEL_MAKE,
sstate checksums are fine and don't change as the number of cores do.
If you override it to a specific value, this does the cause the sstate
checksums to change. We don't want the checksums to change if the
value of this variable differs.

Therefore set a vardepvalue so a specific value is used for checksum
purposes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic/bootimg-efi: Add Unified Kernel Image option
Kristian Klausen [Tue, 28 Sep 2021 12:44:16 +0000 (14:44 +0200)]
wic/bootimg-efi: Add Unified Kernel Image option

"A unified kernel image is a single EFI PE executable combining an EFI
stub loader, a kernel image, an initramfs image, and the kernel command
line.

[...]

Images of this type have the advantage that all metadata and payload
that makes up the boot entry is monopolized in a single PE file that can
be signed cryptographically as one for the purpose of EFI
SecureBoot."[1]

This commit adds a create-unified-kernel-image=true option to the
bootimg-efi plugin for creating a Unified Kernel Image[1] and installing
it into $BOOT/EFI/Linux/ with a .efi extension per the the Boot Loader
Specification[1][2]. This is useful for implementing Secure Boot.

systemd-boot is the only mainstream bootloader implementing the
specification, but GRUB should be able to boot the EFI binary, this
commit however doesn't implement the necessary changes to the GRUB
config generation logic to boot the Unified Kernel Image.

[1] https://systemd.io/BOOT_LOADER_SPECIFICATION/#type-2-efi-unified-kernel-images
[2] https://systemd.io/BOOT_LOADER_SPECIFICATION/

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstatesig: Revert "Test cross/native hashserv method extension"
Richard Purdie [Tue, 28 Sep 2021 16:59:09 +0000 (17:59 +0100)]
sstatesig: Revert "Test cross/native hashserv method extension"

This reverts commit 2a76082363d189880613765ad339718e3614049d.

We have an issue where x86 host builds are not matching hashes with
aarch64 host builds. We'd expect that for a given target, the target
artefacts should work regardless of the host architecture, compiler
version etc. but this isn't happening and the hashes are differing.
This is due to issues from hash equivalence.

I believe the commit being reverted was added as a test and there were
other fixes at the time which resolved these issues.

As illustration of that, different gcc versions are not cauing issues
with hash equivalence. That should be similar to the aarch64 case vs.
x86-64 and hence if we're not seeing gcc verison issues, we also don't
need this special case. As such, revert it as we don't need it and it
is in fact breaking sstate reuse cross platform.

[YOCTO #14578]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage: Exclude IMAGE_VERSION_SUFFIX from expansion in image tasks
Richard Purdie [Fri, 1 Oct 2021 13:00:39 +0000 (14:00 +0100)]
image: Exclude IMAGE_VERSION_SUFFIX from expansion in image tasks

Similarly to DATETIME, exclude IMAGE_VERSION_SUFFIX from expansion in
image tasks to ensure the sstate signatures are calculated correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/bbtests: Add uuid to force build test
Richard Purdie [Fri, 1 Oct 2021 12:25:39 +0000 (13:25 +0100)]
oeqa/selftest/bbtests: Add uuid to force build test

With hash equivalence working properly, this test breaks as it detects
an unchanged tasks and doesn't rerun subsequent tasks.

Add a uuid to the payload to ensure it doesn't ever match
equivalence and the test works as intended.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogobject-introspection: Don't write $HOME into scripts
Richard Purdie [Thu, 30 Sep 2021 10:14:41 +0000 (11:14 +0100)]
gobject-introspection: Don't write $HOME into scripts

Writing an expanded version of $HOME into the wrapper script breaks
reproducibility. We don't need this here so don't.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtool: Allow libtool-cross to reproduce
Richard Purdie [Thu, 30 Sep 2021 10:17:05 +0000 (11:17 +0100)]
libtool: Allow libtool-cross to reproduce

The hostname removal from the script is useful to make libtool-cross
reproduce. Apply the patch everywhere as it doesn't cause any issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoutil-linux: Fix reproducibility
Richard Purdie [Thu, 30 Sep 2021 00:46:45 +0000 (01:46 +0100)]
util-linux: Fix reproducibility

Sort the list of files to ensure the pkgdata output is deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: Ensure megadrivers runtime mappings are deterministic
Richard Purdie [Wed, 29 Sep 2021 23:30:19 +0000 (00:30 +0100)]
mesa: Ensure megadrivers runtime mappings are deterministic

Add a sort to ensure the package dependency output is determnistic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognupg: Be deterministic about sendmail
Richard Purdie [Wed, 29 Sep 2021 19:01:12 +0000 (20:01 +0100)]
gnupg: Be deterministic about sendmail

Set a path to where sendmail would exist making the output deterministic
as it no longer depends on the build host and the presense of sendmail
there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Ensure pclist files are deterministic and don't use full paths
Richard Purdie [Wed, 29 Sep 2021 12:30:59 +0000 (13:30 +0100)]
package: Ensure pclist files are deterministic and don't use full paths

Currently the pkgconfig pclist files contain full paths which are build
host specific and the order of entries is not deterministic.

Fix both these issues so the files are deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: Ensure compression parallelism isn't coded into rpms
Richard Purdie [Wed, 29 Sep 2021 12:31:26 +0000 (13:31 +0100)]
rpm: Ensure compression parallelism isn't coded into rpms

We don't want the compression thread numbers to be encoded into the rpm
since this results in the rpm not being deterministic. Add a patch
from Alex Kanavin which addresses this issue (was queued for rpm 4.17
but we need to fix this with 4.16 too).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: fix the reproducibility issue
Thomas Perrot [Thu, 30 Sep 2021 14:04:24 +0000 (16:04 +0200)]
ruby: fix the reproducibility issue

Apply some changes on the Ruby makefiles in order to fix the reproducibility:
- use a fixed timestamp,
- sort linked objects,
- doesn't use the current date,
- and use UTC date.

[YOCTO #14268]

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: Fix sysroot reproducibility
Joshua Watt [Thu, 30 Sep 2021 20:41:59 +0000 (15:41 -0500)]
python3: Fix sysroot reproducibility

Fixes the reformatting of the sysconfigdata to be reproducible in the
sysroot as well as in the package. During this a bug was uncovered in
the way that the data was reformatted where it appears that python
cannot parse a single line of code over 40000 characters. To work around
this, pass a maximum with of "1" to pprint instead of sys.maxsize which
will cause it to wrap as often as possible and should keep it
reproducible.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostrace: upgrade 5.13 -> 5.14
wangmy [Tue, 14 Sep 2021 23:37:43 +0000 (07:37 +0800)]
strace: upgrade 5.13 -> 5.14

Improvements

Implemented decoding of memfd_secret and quotactl_fd syscalls, introduced in Linux 5.14.
Enhanced prctl syscall decoding.
Enhanced decoding of IFLA_* netlink attributes.
Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes.
Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*, and UFFD_* constants.
Updated lists of ioctl commands from Linux 5.14.
Bug fixes

Fixed build using bionic libc.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibevent: mark util/monotonic_prc_fallback as retriable
Thomas Perrot [Wed, 29 Sep 2021 15:02:04 +0000 (17:02 +0200)]
libevent: mark util/monotonic_prc_fallback as retriable

Backport a patch to fix the below ptest failure:
 # ./run-ptest
 Running tests:
 EVPORT
 Skipping test
 KQUEUE
 Skipping test
 EPOLL
 test-eof: OKAY
 test-dumpevents: OKAY (output not checked)
 regress:
  FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback:
  [monotonic_prc_fallback FAILED]
 1/312 TESTS FAILED. (33 skipped)
 FAILED
 regress_debug:
  FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback:
  [monotonic_prc_fallback FAILED]
 1/312 TESTS FAILED. (33 skipped)
 FAILED
 [snip]

(From OE-Core rev: edecbbdacab5227c75e4a199e124389f8036b421)

[YOCTO #14507]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoovmf: add TPM PACKAGECONFIG and enable if tpm is in MACHINE_FEATURES
Kristian Klausen [Tue, 28 Sep 2021 15:06:11 +0000 (17:06 +0200)]
ovmf: add TPM PACKAGECONFIG and enable if tpm is in MACHINE_FEATURES

By enabling TPM support the boot will be measured into the TPM's
Platform Configuration Registers (PCRs).

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscriptutils.py: Add check before deleting path
Chandana kalluri [Tue, 28 Sep 2021 02:40:18 +0000 (19:40 -0700)]
scriptutils.py: Add check before deleting path

Add a check before deleting path when using recipetool commands to avoid the following type of errors:

Traceback (most recent call last):
   File "<workdir>/sources/core/scripts/lib/scriptutils.py", line 218, in fetch_url
    shutil.rmtree(path)
  File "/usr/local/lib/python3.7/shutil.py", line 476, in rmtree
    onerror(os.lstat, path, sys.exc_info())
  File "/usr/local/lib/python3.7/shutil.py", line 474, in rmtree
    orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '<workdir>/build/tmp/work/recipetool-usg7o81n/work/recipe-sysroot'
ERROR: Command 'script -e -q -c "recipetool --color=always create --devtool -o /tmp/devtool5sq_op37 'file:///<SRCTREE>'  -x <workdir>/build/workspace/sources/devtoolsrcxc1b9zjq -N test" /dev/null' failed

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: fix CVE-2021-3778
Minjae Kim [Mon, 27 Sep 2021 10:44:30 +0000 (19:44 +0900)]
vim: fix CVE-2021-3778

vim is vulnerable to Heap-based Buffer Overflow

reference:
https://github.com/vim/vim/commit/65b605665997fad54ef39a93199e305af2fe4d7f
(From OE-Core rev: 494929c4cec21712884e13172c37efad7c908411)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipes-support/ptest-runner: Bump to v2.4.2
Anibal Limon [Mon, 27 Sep 2021 18:58:46 +0000 (13:58 -0500)]
recipes-support/ptest-runner: Bump to v2.4.2

Changes,

bcb8280 utils.c: add system data collection when a test gets stuck.
c29240c utils.c: handle test timeouts directly with poll()
d6f509f tests/utils.c: fix a memory corruption in find_word
c10e747 main: Do not return number of failed tests when calling ptest-runner
4958988 utils.c: fix memory leak in run_ptests()
fcfa6a1 clang: clean-ups to avoid -Weverything warnings.
215e52d Makefile: allow using CC env var to pick compiler
fdd233d mem: Simplify memory management
e5e218a mem: Fix memleak for ptest_opts
0dc42eb git: Extend the gitignore

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorm_work.bbclass: Fix for files starting with -
William A. Kennington III [Mon, 27 Sep 2021 22:00:39 +0000 (15:00 -0700)]
rm_work.bbclass: Fix for files starting with -

This makes it possible to name files starting with a hyphen in the work
directory. Without this change rm will fail due to an unexpected option
being passed.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolib/oe/spdx.py: Add comments
Joshua Watt [Mon, 27 Sep 2021 20:04:44 +0000 (15:04 -0500)]
lib/oe/spdx.py: Add comments

Adds several comments to this file to explain the intention and how it
should be used

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: Use SPDXAnnotation to track native recipes
Saul Wold [Mon, 27 Sep 2021 17:22:17 +0000 (10:22 -0700)]
create-spdx: Use SPDXAnnotation to track native recipes

Create a small function that checks for 'isNative' as part of an Annotation

When the collect_dep_sources() runs, it collects sources from both native
and non-native recipes. Later when the GENERATED_FROM matching occurs it
may find the file (via checksum) from the native recipe since it's the
same checksum as the target file. The that are generated DocumentRefs
point to the native recipe rather than the target recipe DocumentRef.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospdx.py: Add SPDXAnnotation Object
Saul Wold [Mon, 27 Sep 2021 17:22:16 +0000 (10:22 -0700)]
spdx.py: Add SPDXAnnotation Object

This is added to allow the create-spdx code to create annotations
that store values properly according to the SPDX Specification.

Initialy they will be used to track if a recipe is a native type.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_ipk: Use localdata store when signing packages
Kenfe-Mickael Laventure [Mon, 27 Sep 2021 16:45:45 +0000 (09:45 -0700)]
package_ipk: Use localdata store when signing packages

When signing a package, we were resolving the `PKGV` version using the
original data store (`d`). However, since that store does not have the
package name in its `OVERRIDES` list the wrong version can be returned in
recipes that produce multiple packages. One such example would be
`external-arm-toolchain.bb`.

The above issue is fixed by using `localdata` instead of `d` when
resolving the needed variables.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@verkada.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospdx-licenses.json: Use 3.14 tagged version
Saul Wold [Mon, 27 Sep 2021 16:09:20 +0000 (09:09 -0700)]
spdx-licenses.json: Use 3.14 tagged version

The validation tools expect the licenseListVersion to be a proper X.Y version,
not an intermedite git hash version.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglew: Stop polluting /tmp during builds
Richard Purdie [Mon, 27 Sep 2021 09:58:08 +0000 (10:58 +0100)]
glew: Stop polluting /tmp during builds

Currently the glew code creates a new directory in /tmp for each make
invocation. This is a bit ugly, don't do that. The patch does break the
dist targets but we don't use them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agohello-mod/hello.c: convert printk to pr_xxx
Trevor Woerner [Wed, 15 Sep 2021 00:38:04 +0000 (20:38 -0400)]
hello-mod/hello.c: convert printk to pr_xxx

Convert to the newer pr_xxx aliases for logging, which embed the log level in
the macro names.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel.bbclass: remove unnecessary dead code
Rasmus Villemoes [Thu, 23 Sep 2021 09:20:40 +0000 (11:20 +0200)]
kernel.bbclass: remove unnecessary dead code

The grep pattern seems to have been wrong ever since we stopped adding
the -ffile-prefix-map via a patch in commit 20aea61385e, because the
actual upstream gcc produces

  -ffile-prefix-map=<old>=<new>

and not

  -ffile-prefix-map=<old=new>

Besides, these *-prefix-map options are already used when building the
kernel due to the setting of KERNEL_CC, and the kernel build system
itself also probes for and uses at least -fmacro-prefix-map (hence
taking care of __FILE__ etc., but not necessarily things that go in
.debug_info sections).

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/tinfoil: Update to use test command
Richard Purdie [Sat, 25 Sep 2021 10:42:57 +0000 (11:42 +0100)]
oeqa/selftest/tinfoil: Update to use test command

We've had IO load issues on the autobuilder with this test. Avoid
those by using a specilised test command instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic:direct.py: ignore invalid mountpoints during fstab update
Markus Volk [Sat, 25 Sep 2021 18:01:37 +0000 (20:01 +0200)]
wic:direct.py: ignore invalid mountpoints during fstab update

wic fstab-update creates invalid entries for partitons that are not supposed to
be mounted from userspace eg u-boot partitions.

The following lines were added to fstab on a rock-pi-4:
/dev/mmcblk1p1 loader1 vfat defaults 0 0
/dev/mmcblk1p2 reserved1 vfat defaults 0 0
/dev/mmcblk1p3 reserved2 vfat defaults 0 0
/dev/mmcblk1p4 loader2 vfat defaults 0 0
/dev/mmcblk1p5 atf vfat defaults 0 0
/dev/mmcblk1p6 /boot vfat defaults 0 0

With this patch only valid entries should be added
/dev/mmcblk1p6 /boot vfat defaults 0 0

Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibc_package/buildstats: Fix python regex quoting warnings
Richard Purdie [Sat, 25 Sep 2021 12:26:23 +0000 (13:26 +0100)]
libc_package/buildstats: Fix python regex quoting warnings

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/buildproject: Ensure temp directories are cleaned up
Richard Purdie [Sat, 25 Sep 2021 15:14:47 +0000 (16:14 +0100)]
oeqa/buildproject: Ensure temp directories are cleaned up

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/gotoolchain: Fix temp file cleanup
Richard Purdie [Sat, 25 Sep 2021 18:02:15 +0000 (19:02 +0100)]
oeqa/selftest/gotoolchain: Fix temp file cleanup

The go tests leave readonly files and directories behind.
Fix this to allow cleanup.

[YOCTO #14575]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackagegroup-core-tools-profile: Exclude systemtap from riscv32 as well
Richard Purdie [Sat, 25 Sep 2021 14:46:05 +0000 (15:46 +0100)]
packagegroup-core-tools-profile: Exclude systemtap from riscv32 as well

The recipe can't be built for riscv32 so exclude it alongside riscv64.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoautotools.bbclass: use ordinary append for file-checksums update
Matt Madison [Sat, 25 Sep 2021 11:00:38 +0000 (04:00 -0700)]
autotools.bbclass: use ordinary append for file-checksums update

Commit 29daffc2410f06f36b779d5bf1fd1ef6e900ca8f added an
anonymous python function to append the site file dependencies
for do_configure. This causes any recipe that inherits allarch
after autotools to end up with a different set of file checksums
for each machine, since the anonymous python would get processed
before the TARGET_ARCH changes in allarch.

Use an ordinary += assignment to fix this.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopseudo: Add in ability to flush database with shutdown request
Richard Purdie [Sat, 25 Sep 2021 09:37:14 +0000 (10:37 +0100)]
pseudo: Add in ability to flush database with shutdown request

Pulls in:
  pseudo_db: Flush DB if there is a shutdown request
  fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ (test fix)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/qemurunner: Use oe._exit(), not sys.exit()
Richard Purdie [Sat, 25 Sep 2021 09:21:58 +0000 (10:21 +0100)]
oeqa/qemurunner: Use oe._exit(), not sys.exit()

sys.exit will cause finally statements and other code to run at exit. Since
we're using os.fork() here, os._exit() is apprioriate in this codepath.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsamplerate0: Set correct soname for 0.1.9
Tom Pollard [Fri, 24 Sep 2021 12:47:57 +0000 (13:47 +0100)]
libsamplerate0: Set correct soname for 0.1.9

Manually patch SHARED_VERSION_INFO, which was missed in
the 0.1.9 release and later incorrectly fixed until 0.2.1

Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobzip2: Update soname for libbz2 1.0.8
Tom Pollard [Fri, 24 Sep 2021 11:33:52 +0000 (12:33 +0100)]
bzip2: Update soname for libbz2 1.0.8

Set shared library name as libbz2.so.1.0.8, version in configure.ac
already synced via do_configure PV substitution.

Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.13: drop recipes
Bruce Ashfield [Fri, 24 Sep 2021 15:10:15 +0000 (11:10 -0400)]
linux-yocto/5.13: drop recipes

5.13 is EOL upstream, and we've moved to 5.14 for the release, so
we drop the versioned recipes. The kernel tree and branches will
stay available for use, but other layers must create recipes if
they wish to continue with 5.13.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules: fix build against 5.15+
Bruce Ashfield [Fri, 24 Sep 2021 15:10:13 +0000 (11:10 -0400)]
lttng-modules: fix build against 5.15+

When testing linux-yocto-dev 5.15-rc, lttng-modules fails to build.
Upstream already has fixes for 5.15 in the release branch, so we
backport the two patches here and we can drop them on the next version
bump.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules/dev-upstream: update to 2.13-latest
Bruce Ashfield [Fri, 24 Sep 2021 15:10:14 +0000 (11:10 -0400)]
lttng-modules/dev-upstream: update to 2.13-latest

To ensure we can build against 5.15, and to keep in sync with the
versioned recipe, we bump to the latest commit on the 2.13 release
branch.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto-dev: update to v5.15-rcX
Bruce Ashfield [Fri, 24 Sep 2021 15:10:12 +0000 (11:10 -0400)]
linux-yocto-dev: update to v5.15-rcX

The main reference kernel has moved to 5.14, so we bump -dev to
5.15 for the release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoffmpeg: fix CVE-2021-38171
Kiran Surendran [Thu, 23 Sep 2021 22:25:26 +0000 (15:25 -0700)]
ffmpeg: fix CVE-2021-38171

backport from upstream

Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinetutils: fix CVE-2021-40491
Yi Zhao [Sun, 26 Sep 2021 03:16:42 +0000 (11:16 +0800)]
inetutils: fix CVE-2021-40491

CVE-2021-40491:
The ftp client in GNU Inetutils before 2.2 does not validate addresses
returned by PASV/LSPV responses to make sure they match the server
address. This is similar to CVE-2020-8284 for curl.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-40491

Patch from:
https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=58cb043b190fd04effdaea7c9403416b436e50dd

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconf/machine: bump qemu preferred versions to 5.14
Bruce Ashfield [Wed, 22 Sep 2021 17:53:52 +0000 (13:53 -0400)]
conf/machine: bump qemu preferred versions to 5.14

5.14 is the latest reference kernel, so let's make it the
default.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemtap: update to 4.5-latest
Bruce Ashfield [Wed, 22 Sep 2021 17:53:51 +0000 (13:53 -0400)]
systemtap: update to 4.5-latest

To fix issues with 5.14+ kernels, we bump to the latest 4.5 systemtap.
This means that we can drop a backported patch, and we pickup the
following changes:

    7f6992539 Correct RISC-V handling of SDT markers and document their format.
    2dfd140fd Fix races in perf probe task finder callback
    f463f6053 The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")'
    0bd97a806 Use task_state tapset function to avoid task_struct changes
    4996a29c6 tapset: start adopting kernel netif_* tracepoints in netdev.* tapset
    fb0851e62 dwflpp.h: add conditional EM_RISCV define
    c5599df8e Add dwarfless register access for RISC-V
    33d861435 Add bactrace support for RISC-V
    2ae3fc866 RISC-V dwarf register number to pt_reg mappings
    3df603720 Eliminate the sa_restorer field in sigaction struct for RISC-V.
    a6aff9d33 Avoid generating problematic asynchronous unwind tables on RISC-V
    a463860c3 Add RISC-V 64-bit processor support
    8486fd78d Add the actual RISC-V syscall-number mappings to the tapsets.
    1e383aa38 Add creation of mappings between syscall names and numbers for RISC-V
    aedb2dbe7 RISC-V doesn't have crash available, disable it for rpmbuilds.
    33a9bf1a1 Update to newer config.guess to support RISC-V
    3bca17469 Use lex_cast instead of to_string when shortening function names.
    0b5bc934a Revert "runtime: unregister the control channel before cleaning up"
    166a95089 runtime: fix panics when polling on the control channel while unloading
    e6a1b008b Shorten function names that will exceed the kernel's objtool limit of 128
    4f54ba033 runtime/transport: add a comment blurb for ordering invariant at shutdown
    dbe08f1ac runtime: unregister the control channel before cleaning up
    798a67290 bpf pr23478 :: test non-unique key/val iteration
    079f5d708 bpf pr23478 :: test multi-key associative array iteration
    70b24879d rhbz1938312: un-disable bpf.exp after kernel bugfix
    2896d6f5a pr23478 WIP: fixes for existing foreach testcases
    0d1a38dbc pr23478 WIP: rework bpf foreach to handle multi-key array
    14a2c8f54 Run task_fd_lookup.exp with --compatible 4.0
    f2c147767 PR28184: Adapt to kernel rename __fcheck_files to files_lookup_fd_raw
    0581a6560 PR28184: Adapt to kernel rename __fcheck_files to files_lookup_fd_raw
    559fd51fe testsuite: time-limit auxiliary child processes
    5d89bb03e stapbpf bugfix: missing in_block() in try-catch code
    04b43f48f releng: ditch custom pie/ssp CFLAGS engine in configure.ac
    b47d03c20 PR28079: Adapt to kernel 5.14 task_struct.__state change
    e66f3a83b runtime: adapt to -Werror=implicit-fallthrough=5, dyninst runtime
    ea00c1070 PR28140: kernel 5.14-rc adaptation, jump_label_patch
    ffb0a38ea runtime: adapt to -Werror=implicit-fallthrough=5
    efba2178f Revert to using test_tsk_thread_flag for uprobes2
    23db8b29f PR27984: Adjust the address so dwfl_module_addrinfo finds correct function name
    a29f65d57 PR28079: Adapt to kernel 5.14 task_struct.__state change
    2f7e966c0 testsuite item typo fix
    5abb4d130 PR27934: give fuller diagnosis for pass-5 probe-registration errors
    371805aa0 PR27820 tapset/bpf/logging.stp: implement abort() tapset function
    ee361f183 PR27820 tapset/bpf/logging.stp: move bpf versions of functions
    968173f7f runtime: linux 5.14 compat: <linux/panic_notifier.h>
    ef5a8b9ed runtime: fix unintended compile error with autoconf-x86-uniregs.c
    84ef6bd9f Revert "systemtap.spec: don't buildrequire emacs"
    65fc44163 spin-rawhide: ok tweak the git-archive top level path too
    c7f1c12e1 spin-rawhide: switch to ~ versioning for Source: file names too
    bff2b2ff5 spin-rawhide: switch to ~ versioning for n-v-r
    7c2751e37 task_finder_vma: add autoconf check for hlist_add_tail_rcu()
    ea7c27bbe Don't fail vma tracking mmap callback if module is already known.
    2eb7fdfdb Use the path instead of the module for vma tracking mmap callback.
    a5104a612 update READMEs + man pages for freenode -> oftc move
    23c351645 Update list of reasons for latencytap.stp example
    5409ddea1 rhbz1972805: add basic syscall-in-ptregs support for s390x
    0fc73fc4e systemtap.spec: don't Require: libvirt
    515a6a2d6 rhbz1972828: tapsets: iommu tracepoints
    eaf63df6a ppc64 runtime: FULL_REGS() gone
    757d4f654 c++ buildability: util.cxx - unique_ptr
    1a6e7aea7 systemtap.spec: don't buildrequire emacs
    5ff28c970 Allow for adjacent segments belonging to different modules.
    b1e8cd5de Note that Python is a requirement.
    27115ab4c Get the enumerator's enumeration type
    1288bee31 testsuite/systemtap.base/perf.sh drop bashism
    4755bc453 Add hlist macros for use by hlist_add_tail_rcu
    bccf5123f parse.cxx: Initialize functioncall synthetic field
    9bbee6518 Add hlist_add_tail_rcu for rhel 6.
    630e406b8 Don't assume ISO C99
    4a3ad3532 Extend vma mapped entries when the address is adjacent.
    294b7a53e stap-prep: switch to using main vmlinuz file as debuginfod test download
    643351d22 PR27903: grok more glibc dwarf
    3a843482a c++11 hygiene: use cxx_override macro for pre-4.7 g++
    3e9bcd7b1 Fix more -Wformat-nonliteral and -Wmismatched-tags when compiling with clang
    8e5145ae4 dtrace: Use -o option to specify output file for CPP
    b3a392975 Fix -Wformat-nonliteral and -Wformat warnings with clang
    545535f82 Fix -Woverloaded-virtual warnings when building with clang
    0f4bd3219 set2: Return this from assignment operator
    6de815bca Add missing copy constructors to set1_ref and set1_const_ref
    930b54119 Add some override specifiers where missing
    14f04522b util.cxx: Use abs() instead of labs()
    13016e9dd systemtap.spec: python3 tweaks
    494ece199 PR27864: tolerate loc_unavailable during loc2c transform
    e8f5c058f autoconf: version bumps for the next release-4.6
    77abac91d version bumps for the next release-4.6
    0eba8a46b NEWS: release-4.5

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto: introduce 5.14 reference kernel
Bruce Ashfield [Wed, 22 Sep 2021 17:53:50 +0000 (13:53 -0400)]
linux-yocto: introduce 5.14 reference kernel

Each release of the kernel is not typically used as a versioned
reference kernel, but since 5.13 has gone EOL upstream and was
never part of a release, we take the opportunity to udpate our
reference to 5.14.

5.13 will be removed in subsequent commits, once all dependent
BSPs and layers have been updated.

No issues were found across all architectures, images in qemu
boot testing.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibc-headers: bump to v5.14
Bruce Ashfield [Wed, 22 Sep 2021 17:53:49 +0000 (13:53 -0400)]
libc-headers: bump to v5.14

The reference kernel is moving to 5.14, and 5.13 is EOL upstream, so
we update the libc-headers to match.

No patch issues were found for musl or glibc.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-ust: fix do_compile error when PACKAGECONFIG examples is enabled
Changqing Li [Thu, 23 Sep 2021 07:45:16 +0000 (15:45 +0800)]
lttng-ust: fix do_compile error when PACKAGECONFIG examples is enabled

when PACKAGECONFIG enabled examples, compile failed with error:
fix below compile error during PACKGAGECONFIG examples is enabled:
tmp/work/corei7-64-wrs-linux/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/11.2.0/ld: warning: liblttng-ust-common.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
tmp/work/corei7-64-wrs-linux/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/11.2.0/ld: warning: liblttng-ust-tracepoint.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest: Add tests for bitbake shell/python task output
Richard Purdie [Fri, 10 Sep 2021 11:39:44 +0000 (12:39 +0100)]
oeqa/selftest: Add tests for bitbake shell/python task output

We've seen issues where shell/python tasks lose their log file entries
or output and also where output is duplicated. Add some tests to attempt
to spot regressions in this area in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agossate: Cleanup directtasks handling
Richard Purdie [Tue, 21 Sep 2021 10:12:05 +0000 (11:12 +0100)]
ssate: Cleanup directtasks handling

There are several tasks which should only be triggered by direct
dependencies. Some are listed in the dep loop, some are not. They
should all be in both cases.

Fix this by making a list and using the list in both cases to fix
various inconsistencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Avoid deploy_source_date_epoch sstate when unneeded
Richard Purdie [Sun, 19 Sep 2021 15:20:28 +0000 (16:20 +0100)]
sstate: Avoid deploy_source_date_epoch sstate when unneeded

This sstate task is only needed when depended upon, it can be skipped
if there are no tasks running that directly depend upon it.

This reduced the number of sstate tasks in something like an image
build.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Ensure deploy tasks don't pull in toolchains
Richard Purdie [Sun, 19 Sep 2021 15:21:34 +0000 (16:21 +0100)]
sstate: Ensure deploy tasks don't pull in toolchains

If an image is built from sstate, the cross toolchain was being pulled in.
This was due to the sstate dependencies for deploy tasks not being considered
in the "depvalid" logic.

do_deploy tasks do not need their populate_sysroot dependencies when installed
from sstate so skip these. This reduces the sstate pulled in by an image
build from sstate significantly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostaging: Mark deploy an sstate task
Richard Purdie [Mon, 20 Sep 2021 07:28:42 +0000 (08:28 +0100)]
staging: Mark deploy an sstate task

Deploy is a tricky task as it isn't in SSTATETASKS as it isn't always
present. We do need to ensure dependency chains around do_deploy tasks
are correctly handled as sstate tasks though. For now add to the list of
sstate tasks manually (like the other locale task reference).

Without this, missing manifest files could be reported now that do_deploy
tasks no longer have their dependencies added by the depvalid function.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: Drop useless class
Richard Purdie [Sun, 19 Sep 2021 12:56:12 +0000 (13:56 +0100)]
meta: Drop useless class

This class was added by me back in 2007 and has changed one for a whitespace issue
since. It only has two lines and neither are particularly useful, one was replaced
by the nopackages class, the other adding recursive dependencies also is now
mainly problematic adding tons of unneeded dependencies. The name is hard to
understand and the class doesn't have a clear purpose. Drop it.

Remove the references in devtool (which may be the one reason to keep it around
but in my view still not worth it).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuildtools-tarball/uninative-tarball/meta-ide-support: Drop useless meta class
Richard Purdie [Sun, 19 Sep 2021 12:55:44 +0000 (13:55 +0100)]
buildtools-tarball/uninative-tarball/meta-ide-support: Drop useless meta class

The class adds an emtpy PACKAGES setting but most code now uses the
nopackages class which is much clearer. It also adds recursive do_build
dependencies which don't really serve any useful purpose any more.

Simplify the code and drop the class use.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopopulate_sdk_base/images: Drop use of 'meta' class and hence do_build dependencies
Richard Purdie [Sun, 19 Sep 2021 12:51:50 +0000 (13:51 +0100)]
populate_sdk_base/images: Drop use of 'meta' class and hence do_build dependencies

The 'meta' is old and not very useful. It empties PACKAGES and creates
recursive do_build dependencies.

We shouldn't need such recursive build dependencies any more so simplify the code.

This does cause behaviour changes as some dependencies are no longer built.
It did show up issues with qemu-helper-native handling for example but those
issues look like real races and the underlying dependency chains were not correct.

'bitbake XXX --runall build' would give the previous behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoreproducible_build/package_XXX: Ensure SDE task is in dependency chain
Richard Purdie [Tue, 21 Sep 2021 09:07:32 +0000 (10:07 +0100)]
reproducible_build/package_XXX: Ensure SDE task is in dependency chain

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_ipk/deb/rpm: Drop recursive do_build task dependencies
Richard Purdie [Sun, 19 Sep 2021 10:52:23 +0000 (11:52 +0100)]
package_ipk/deb/rpm: Drop recursive do_build task dependencies

This is a controversial change which removes the recursive dependencies
from the do_build target of packaging tasks of recipes.

Currently this means when you "bitbake <image>" or "bitbake <recipe>",
the packaging tasks run for all packaging backends enabled for all recipes
in the dependency chain. The same therefore then applies to images.

We don't actually need that, it is a convinience thing. Removing it
massively simplifies the task graph and causes much fewer tasks to execute
in many common scenarios. It also means less sstate is fetched for
example when building an image.

This means when building a recipe all package formats would be built
but when building an image, only the format used by the image would be
generated. This should be an improvement in most cases but some CI systems
may need to be explict about what they're building.

'bitbake XXX --runall build' would give the previous behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agositeinfo/autotools: Ensure task checksums reflect site files
Richard Purdie [Tue, 21 Sep 2021 11:47:02 +0000 (12:47 +0100)]
siteinfo/autotools: Ensure task checksums reflect site files

Currently, if you change the site files, nothing rebuilds since they are
not accounted for in task checksums. They could/should be through the
file-checksums task flag. We need to cache all the files looked for,
whether the exist or not so that if they do exist and didn't,
the checksum also changes.

This gets complicated by the need to clean out hardcoded build
paths from the variable and that other layers can have site files.

This patch adds this functionality. A new variable, SITEINFO_PATHVARS
is added which controls which substitutions to make on the file-checksum
values to remove the hardcoded paths. Layers adding site files will need
to set this to a variable that has the layer path in it and is excluded
from task hashes (COREBASE is the one the core layer uses).

This patch will cause yocto-check-layer to fail for some layers
where site files are added yet the layer isn't a machine specific layer.
This is arguable correct since these additional site files apply to
all recipes and things from a layer like core could be changed by such
changes so it is right they should rebuild. There is a determinism issue
potentially there if not. meta-openembedded does have some such references
but looking at them they should move to core or likely just be removed as
most look obsolete anyway.

[YOCTO #13729]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage/qemu: Add explict depends for qemu-helper addto_recipe_sysroot task
Richard Purdie [Sun, 19 Sep 2021 17:03:48 +0000 (18:03 +0100)]
image/qemu: Add explict depends for qemu-helper addto_recipe_sysroot task

The populate_sysroot task isn't enough for qemu-helper-native, we need
it's addto_recipe_sysroot task. This corrects what amounts to bad
dependency information to be explicit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosite: Drop ORBit2 relared cached variables
Khem Raj [Tue, 21 Sep 2021 20:31:36 +0000 (13:31 -0700)]
site: Drop ORBit2 relared cached variables

ORBit2 is long gone

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosite: Drop caching libIDL_cv_long_long_format
Khem Raj [Tue, 21 Sep 2021 20:31:35 +0000 (13:31 -0700)]
site: Drop caching libIDL_cv_long_long_format

recipe for libidl has long been deleted

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconnman: add CVE_PRODUCT
Steve Sakoman [Tue, 21 Sep 2021 15:19:37 +0000 (05:19 -1000)]
connman: add CVE_PRODUCT

Upstream database uses both "connman" and "connection_manager" to report CVEs

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/oe-publish-sdk: Disable git gc to avoid build errors
Richard Purdie [Wed, 22 Sep 2021 17:24:54 +0000 (18:24 +0100)]
scripts/oe-publish-sdk: Disable git gc to avoid build errors

I've puzzled over why I see local eSDK test failures. It is due to having a
messy git tree locally, git then runs git gc in the background which races
against the deletion code for the publish test. Disable git gc to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/target/ssh: don't assume target_dumper is set
Ross Burton [Tue, 21 Sep 2021 10:56:21 +0000 (11:56 +0100)]
oeqa/target/ssh: don't assume target_dumper is set

The target_dumper property is only set by the QemuTarget subclass, so
assign a default value and check it isn't None before calling it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopybootchart: Avoid divide by zero
Richard Purdie [Mon, 20 Sep 2021 15:40:32 +0000 (16:40 +0100)]
pybootchart: Avoid divide by zero

Avoid a rare divide by zero error if there isn't data point spread.

[YOCTO #14547]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsoup-2.4: remove obsolete intltool dependency
Ross Burton [Tue, 21 Sep 2021 09:34:44 +0000 (10:34 +0100)]
libsoup-2.4: remove obsolete intltool dependency

This hasn't been needed since libsoup 2.65.2.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshared-mime-info: use a more concise description
Ross Burton [Tue, 21 Sep 2021 09:34:43 +0000 (10:34 +0100)]
shared-mime-info: use a more concise description

For example we don't need to talk about historic build dependencies.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocross: Drop unused do_install
Richard Purdie [Mon, 20 Sep 2021 20:26:02 +0000 (21:26 +0100)]
cross: Drop unused do_install

All the users of the cross class I could find redefine the do_install
function. It is unusual and likely undesirable for the class to be
changing this from the default and likely a leftover from different
times. Remove it as it isn't doing anything.

[YOCTO #9272]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoavahi: remove obsolete intltool-native dependency
Ross Burton [Mon, 20 Sep 2021 16:52:23 +0000 (17:52 +0100)]
avahi: remove obsolete intltool-native dependency

intltool was replaced with gettext in the 0.8 release.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotestimage: remove aarch64 xorg exclusion
Jon Mason [Mon, 20 Sep 2021 14:42:20 +0000 (10:42 -0400)]
testimage: remove aarch64 xorg exclusion

aarch64/qemuarm64 has had graphics support for some time.  Remove this
exclusion and allow graphics tests to be against qemuarm64.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu-native: add direct dependency on ninja-native and meson-native
Martin Jansa [Mon, 20 Sep 2021 15:11:57 +0000 (17:11 +0200)]
qemu-native: add direct dependency on ninja-native and meson-native

* with many native dependencies excluded in:
  layer.conf: Extend recipes not to install without explict dependencies
  this was now failing with:
  ERROR: Cannot find Ninja
  and after adding ninja-native to DEPENDS it was failing due to missing meson as well:
  /OE/build/oe-core/tmp-glibc/work/x86_64-linux/qemu-native/6.0.0-r0/qemu-6.0.0/configure: 6415: --version: not found
  /OE/build/oe-core/tmp-glibc/work/x86_64-linux/qemu-native/6.0.0-r0/qemu-6.0.0/configure: 6418: setup: not found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-tools: Add missing DEPENDS on bison-native
Richard Purdie [Sun, 19 Sep 2021 10:55:49 +0000 (11:55 +0100)]
lttng-tools: Add missing DEPENDS on bison-native

This was being provided by other pieces of the dependency chain but is
specifically required by configure and could fail if those pieces come
from sstate. Fix such builds by adding the missing dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipes: Add missing pkgconfig inherit
Richard Purdie [Sun, 19 Sep 2021 17:04:11 +0000 (18:04 +0100)]
recipes: Add missing pkgconfig inherit

Various recipes were missing a pkgconfig inherit or pkgconfig-native
dependency despite using pkgconfig.

Add the inherit to igt-gpu-tools/gdb/libmodulemd/libwpe/xwayland/waffle
shaderc/iputils/wpebackend-fdo/lttng-ust/cargo.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosqlite3: Exclude CVE-2021-36690 from cve checks
Richard Purdie [Mon, 20 Sep 2021 12:28:48 +0000 (13:28 +0100)]
sqlite3: Exclude CVE-2021-36690 from cve checks

Issue is in an experimental extension we don't have/use. Could also
be windows only.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgcrypt: Upgrade 1.9.3 -> 1.9.4
Richard Purdie [Mon, 20 Sep 2021 09:57:58 +0000 (10:57 +0100)]
libgcrypt: Upgrade 1.9.3 -> 1.9.4

Includes a fix for CVE-2021-40528.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: Backport fix for CVE-2021-3770
Richard Purdie [Mon, 20 Sep 2021 09:55:09 +0000 (10:55 +0100)]
vim: Backport fix for CVE-2021-3770

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotestimage: symlink the task log and qemu console log to tmp/log/oeqa
Alexander Kanavin [Sun, 19 Sep 2021 16:54:16 +0000 (18:54 +0200)]
testimage: symlink the task log and qemu console log to tmp/log/oeqa

This makes it easier for the AB scripts (particularly, collect-results)
to access and archive these items, as they can contain useful information
when ptests or other qemu tests fail (and also if they don't fail).

[YOCTO #14518]

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-common.bbclass: make sure ccache exist
Kai Kang [Fri, 17 Sep 2021 13:14:38 +0000 (21:14 +0800)]
rust-common.bbclass: make sure ccache exist

It fails to run task rust_create_wrappers of recipe which inherit
rust-common.bbclass such as rust-hello-world if no host ccache exists:

| DEBUG: Executing shell function do_rust_create_wrappers
| /path/to/project/tmp-glibc/work/core2-64-wrs-linux/rust-hello-world/git-r0/temp/run.do_rust_create_wrappers.3422:
    line 179: ccache: command not found

Run task rust_create_wrappers before do_prepare_recipe_sysroot to make
sure required tools such as ccache exist.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>