image-live.bbclass: order do_bootimg after do_rootfs
do_bootimg expects IMGDEPLOYDIR to exist, since it stores its artifacts
there. Therefore, do_bootimg should run after do_rootfs because
IMGDEPLOYDIR is created before do_rootfs runs since IMGDEPLOYDIR is
contained in do_rootfs' [cleandirs] varflag.
When do_bootimg depends on ${PN}:do_image_${LIVE_ROOTFS_TYPE},
do_bootimg is correctly ordered after do_rootfs because
do_image_${FSTYPE} tasks are added after do_image and do_image itself is
added after do_rootfs.
However, when do_bootimg doesn't depend on
${PN}:do_image_${LIVE_ROOTFS_TYPE}
(introduced by: 96f47c39f1d17f073243913d524bde84add41d8f), do_bootimg
can run before do_rootfs, thus before IMGDEPLOYDIR is created. To
avoid this situation, do_bootimg is now explicitly ordered after
do_rootfs.
Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73c21db8e54002b300ba4972cb49c0577acc5406) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Mon, 31 May 2021 13:16:46 +0000 (09:16 -0400)]
linux-yocto/5.4: update to v5.4.123
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
103f1dbea1ae Linux 5.4.123 af2a4426baf7 NFC: nci: fix memory leak in nci_allocate_device 45aef101ca44 perf unwind: Set userdata for all __report_module() paths 2960df32bb72 perf unwind: Fix separate debug info files when using elfutils' libdw's unwinder f3d9f09b10e3 usb: dwc3: gadget: Enable suspend events 3173c7c80785 bpf: No need to simulate speculative domain for immediates 2b3cc41d500a bpf: Fix mask direction swap upon off reg sign change 2768f9962231 bpf: Wrap aux data inside bpf_sanitize_info container 67154cff6258 Linux 5.4.122 f97257cde764 Bluetooth: SMP: Fail if remote and local public keys are identical 46b4a9c68572 video: hgafb: correctly handle card detect failure during probe 3c18dc7de2bc nvmet: use new ana_log_size instead the old one a6f5ef8c1717 Bluetooth: L2CAP: Fix handling LE modes by L2CAP_OPTIONS d3d648163a03 ext4: fix error handling in ext4_end_enable_verity() 829203752441 nvme-multipath: fix double initialization of ANA state 2dea1e9ae5cf tty: vt: always invoke vc->vc_sw->con_resize callback cf52b24b172e vt: Fix character height handling with VT_RESIZEX 971b3fb5b9a6 vgacon: Record video mode changes with VT_RESIZEX f0c9d29f232a video: hgafb: fix potential NULL pointer dereference 44fe392e1adc qlcnic: Add null check after calling netdev_alloc_skb 4914c67f1a62 leds: lp5523: check return value of lp5xx_read and jump to cleanup code 171b3c1afaeb ics932s401: fix broken handling of errors when word reading fails d14cd329d83b net: rtlwifi: properly check for alloc_workqueue() failure 533ac32a80c0 scsi: ufs: handle cleanup correctly on devm_reset_control_get error 9e38cf9c3070 net: stmicro: handle clk_prepare() failure during init 9d59d4364dfb ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read() 8f2efd687d19 Revert "niu: fix missing checks of niu_pci_eeprom_read" 04a064b36576 Revert "qlcnic: Avoid potential NULL pointer dereference" 6d53d54ff5be Revert "rtlwifi: fix a potential NULL pointer dereference" 7fb963895513 Revert "media: rcar_drif: fix a memory disclosure" 6f2e5eb82557 cdrom: gdrom: initialize global variable at init time 283cd246bcc1 cdrom: gdrom: deallocate struct gdrom_unit fields in remove_gdrom 7e230e5ed8fd Revert "gdrom: fix a memory leak bug" 6ef6f8cd1d34 Revert "scsi: ufs: fix a missing check of devm_reset_control_get" 9c24899f1fae Revert "ecryptfs: replace BUG_ON with error handling code" a1f0e2bb4975 Revert "video: imsttfb: fix potential NULL pointer dereferences" bd2a12549fc2 Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe" 5c463887edb3 Revert "leds: lp5523: fix a missing check of return value of lp55xx_read" 1cb9f88cde8c Revert "net: stmicro: fix a missing check of clk_prepare" 6f2a72774f38 Revert "video: hgafb: fix potential NULL pointer dereference" 3471a221f308 dm snapshot: fix crash with transient storage and zero chunk size 198ee66478b3 xen-pciback: reconfigure also from backend watch handler f1d3c63c3f12 mmc: sdhci-pci-gli: increase 1.8V regulator wait d9e9ec363560 drm/amdgpu: update sdma golden setting for Navi12 e3be683d5e4e drm/amdgpu: update gc golden setting for Navi12 1f0495355b60 drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang c11d59e5edba Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference" d55df42ef369 rapidio: handle create_workqueue() failure 9f2a613e4b0b Revert "rapidio: fix a NULL pointer dereference when create_workqueue() fails" cdd91637d4ef uio_hv_generic: Fix a memory leak in error handling paths b0fc59e62bf9 ALSA: hda/realtek: Add fixup for HP Spectre x360 15-df0xxx c4e7ed4fa1b1 ALSA: hda/realtek: Add fixup for HP OMEN laptop 2331f2592879 ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA 1c783bfa7f8d ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293 be1f7f30b66b ALSA: hda/realtek: reset eapd coeff to default value for alc287 b2297d1b9511 ALSA: firewire-lib: fix check for the size of isochronous packet payload f95aabb6aed4 Revert "ALSA: sb8: add a check for request_region" 2ed8227ebd84 ALSA: hda: fixup headset for ASUS GU502 laptop 7ef36d303592 ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro 844faf4a9675 ALSA: usb-audio: Validate MS endpoint descriptors c7456fc35dc8 ALSA: firewire-lib: fix calculation for size of IR context payload 7981c124e34d ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26 f72b96ff7935 ALSA: line6: Fix racy initialization of LINE6 MIDI 048840df6de8 ALSA: intel8x0: Don't update period unless prepared a67a88f9e667 ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency 34413f21acea cifs: fix memory leak in smb2_copychunk_range 20197d327560 btrfs: avoid RCU stalls while running delayed iputs 845c2b9d99b6 locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal 439ce949ee90 nvmet: seset ns->file when open fails 670d34d54320 ptrace: make ptrace() fail if the tracee changed its pid unexpectedly 88128a5054f1 RDMA/uverbs: Fix a NULL vs IS_ERR() bug 6fa78a6b9a3b platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios 6e90ff540a7b platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue 66abc4ef6a8b RDMA/core: Don't access cm_id after its destruction 73e25a2d51bb RDMA/mlx5: Recover from fatal event in dual port mode 8d8b8016e0af scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword() 07865459eb62 scsi: ufs: core: Increase the usable queue depth a62225d951d7 RDMA/rxe: Clear all QP fields if creation failed 257f132342ea RDMA/siw: Release xarray entry a19bb4c0566c RDMA/siw: Properly check send and receive CQ pointers a03676848886 openrisc: Fix a memory leak 50fd584fbbb3 firmware: arm_scpi: Prevent the ternary sign expansion bug b239a0365b93 Linux 5.4.121 b63a8e5b4a25 scripts: switch explicitly to Python 3 2cbb484788fe tweewide: Fix most Shebang lines 252495806968 KVM: arm64: Initialize VCPU mdcr_el2 before loading it 50e5c93ca647 ipv6: remove extra dev_hold() for fallback tunnels b811a8a72366 ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods f5ddecb6a195 sit: proper dev_{hold|put} in ndo_[un]init methods cca2a2b340a9 ip6_gre: proper dev_{hold|put} in ndo_[un]init methods 084a1858e256 net: stmmac: Do not enable RX FIFO overflow interrupts 94600a8300c7 lib: stackdepot: turn depot_lock spinlock to raw_spinlock 5233f4465e22 block: reexpand iov_iter after read/write 48744773d63e ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP 0ce1a72ac9b0 gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055 b3252a87a811 drm/amd/display: Fix two cursor duplication when using overlay 6cc777c6acbb bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit c5946eb52b73 scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found e39a105abbe5 ceph: fix fscache invalidation 13bc6bda6a1e scsi: lpfc: Fix illegal memory access on Abort IOCBs e69c7c149199 riscv: Workaround mcount name prior to clang-13 cd3ab0ac0a54 scripts/recordmcount.pl: Fix RISC-V regex for clang cfa65174402f ARM: 9075/1: kernel: Fix interrupted SMC calls a5923afb6149 um: Disable CONFIG_GCOV with MODULES 2fe3fbcc53b8 um: Mark all kernel symbols as local cec4c3810ba3 Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state 29da2bab24e9 Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices bbd7ba95bb06 ACPI / hotplug / PCI: Fix reference count leak in enable_slot() 64f8e9526e31 ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend() 41dd2ede9536 dmaengine: dw-edma: Fix crash on loading/unloading driver b003a4923628 PCI: thunder: Fix compile testing a05fb4ac72fb virtio_net: Do not pull payload in skb->head 0d08bbce231b xsk: Simplify detection of empty and full rings 323deebaa2d0 pinctrl: ingenic: Improve unreachable code generation e57e2dd9bbdd isdn: capi: fix mismatched prototypes 7958cdd64cdf cxgb4: Fix the -Wmisleading-indentation warning acb4faa5f577 usb: sl811-hcd: improve misleading indentation eabb93e34425 kgdb: fix gcc-11 warning on indentation b806b41bf55d x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 881ed7938f84ba89b9bb20ce8e45ef9d85e80cb8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Mon, 31 May 2021 13:16:45 +0000 (09:16 -0400)]
linux-yocto/5.10: update to v5.10.41
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
33069919e2dc Linux 5.10.41 b34cb7ac32cc NFC: nci: fix memory leak in nci_allocate_device 8d11e6ae4304 perf unwind: Set userdata for all __report_module() paths 53eaf28c056d perf unwind: Fix separate debug info files when using elfutils' libdw's unwinder 514883ebac77 KVM: x86: Defer vtime accounting 'til after IRQ handling 77068304b30f context_tracking: Move guest exit vtime accounting to separate helpers 5ae5e3f05831 context_tracking: Move guest exit context tracking to separate helpers 27acfd11ba17 bpf: No need to simulate speculative domain for immediates c87ef240a8bb bpf: Fix mask direction swap upon off reg sign change 4e2c7b297431 bpf: Wrap aux data inside bpf_sanitize_info container 4068786a8690 Linux 5.10.40 d8d261c7cfb3 Bluetooth: SMP: Fail if remote and local public keys are identical e8c34789f1b8 video: hgafb: correctly handle card detect failure during probe ed9fdd4c6f03 nvmet: use new ana_log_size instead the old one d28aa3c15736 x86/boot/compressed/64: Check SEV encryption in the 32-bit boot-path 0296c9057ade rtc: pcf85063: fallback to parent of_node 7b994b03f1de nvme-multipath: fix double initialization of ANA state e2c26ddd4e85 x86/Xen: swap NX determination and GDT setup on BSP d5c4605e9e1c openrisc: mm/init.c: remove unused memblock_region variable in map_ram() 585d8425e504 drm/i915/gt: Disable HiZ Raw Stall Optimization on broken gen7 eb46907f99d6 tty: vt: always invoke vc->vc_sw->con_resize callback a14ca25d4f23 vt: Fix character height handling with VT_RESIZEX 8026eb8242bc vt_ioctl: Revert VT_RESIZEX parameter handling removal a3de46844f34 vgacon: Record video mode changes with VT_RESIZEX 8e0d302e7e51 video: hgafb: fix potential NULL pointer dereference 98404acf0a20 qlcnic: Add null check after calling netdev_alloc_skb 865ec95a77f7 leds: lp5523: check return value of lp5xx_read and jump to cleanup code 33a9ff900b9b ics932s401: fix broken handling of errors when word reading fails e81f94a71b00 net: rtlwifi: properly check for alloc_workqueue() failure f9f59f4ca2d8 scsi: ufs: handle cleanup correctly on devm_reset_control_get error 0eb496c3c103 net: stmicro: handle clk_prepare() failure during init c89c9a291149 ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read() 17e22164d6c5 Revert "niu: fix missing checks of niu_pci_eeprom_read" c794f7851c5d Revert "qlcnic: Avoid potential NULL pointer dereference" 5e4fd74089b1 Revert "rtlwifi: fix a potential NULL pointer dereference" 951ed241e228 Revert "media: rcar_drif: fix a memory disclosure" 566086409511 cdrom: gdrom: initialize global variable at init time 9285808072d4 cdrom: gdrom: deallocate struct gdrom_unit fields in remove_gdrom 3d2a4fb91122 Revert "gdrom: fix a memory leak bug" 64ae556541a3 Revert "scsi: ufs: fix a missing check of devm_reset_control_get" 61b9bc3091a5 Revert "ecryptfs: replace BUG_ON with error handling code" 6003d373bf2f Revert "video: imsttfb: fix potential NULL pointer dereferences" 4baaa4946d72 Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe" 03c5d02c38d4 Revert "leds: lp5523: fix a missing check of return value of lp55xx_read" 059031afcdc1 Revert "net: stmicro: fix a missing check of clk_prepare" d88f05cecefd Revert "video: hgafb: fix potential NULL pointer dereference" fae4f4debf2b kcsan: Fix debugfs initcall return type 2a61f0ccb756 dm snapshot: fix crash with transient storage and zero chunk size 4528c0c32308 ipc/mqueue, msg, sem: avoid relying on a stack reference past its expiry 63a5b3844770 xen-pciback: reconfigure also from backend watch handler c196031f4fd9 xen-pciback: redo VF placement in the virtual topology d047ec8730b2 mmc: sdhci-pci-gli: increase 1.8V regulator wait 343208ffe92f powerpc/64s/syscall: Fix ptrace syscall info with scv syscalls 105345b909d8 powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls 3708b7a9c28c drm/amdgpu: update sdma golden setting for Navi12 e32cb1057faa drm/amdgpu: update gc golden setting for Navi12 0c47929fd836 drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang 93ba55c14d70 drm/amdgpu: Fix GPU TLB update error when PAGE_SIZE > AMDGPU_PAGE_SIZE 367c90f2bc1b x86/sev-es: Forward page-faults which happen during emulation 5af89eeb7414 x86/sev-es: Use __put_user()/__get_user() for data accesses be4cba71b2d0 x86/sev-es: Don't return NULL from sev_es_get_ghcb() e7174da8c45b x86/sev-es: Invalidate the GHCB after completing VMGEXIT 193e02196fad x86/sev-es: Move sev_es_put_ghcb() in prep for follow on patch 9b942cb2d92e nvme-tcp: fix possible use-after-completion e4be68465322 Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference" 1ba7a534a9e4 rapidio: handle create_workqueue() failure 961ae8cbe893 Revert "rapidio: fix a NULL pointer dereference when create_workqueue() fails" d84b5e912212 uio_hv_generic: Fix a memory leak in error handling paths b044f5108e4b ALSA: hda/realtek: Add fixup for HP Spectre x360 15-df0xxx 8add3dce391b ALSA: hda/realtek: Add fixup for HP OMEN laptop 01dbb91d8589 ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA cfa55927478a ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293 f693d0e72c4d ALSA: hda/realtek: reset eapd coeff to default value for alc287 78a37c03c65c ALSA: firewire-lib: fix check for the size of isochronous packet payload 00e5aa3f2116 Revert "ALSA: sb8: add a check for request_region" 42796eb7c485 ALSA: hda: fixup headset for ASUS GU502 laptop 2cc051b6a482 ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro e5ffa75afb5b ALSA: usb-audio: Validate MS endpoint descriptors ad7f8cced378 ALSA: firewire-lib: fix calculation for size of IR context payload 3d063d6ce1d2 ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26 f42cf1e7b86b ALSA: line6: Fix racy initialization of LINE6 MIDI 214a9836697c ALSA: firewire-lib: fix amdtp_packet tracepoints event for packet_index field 1e94ffd074dd ALSA: intel8x0: Don't update period unless prepared e227c60aa9ec ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency 1b2b4d68172b misc: eeprom: at24: check suspend status before disable regulator 42d35af92246 cifs: fix memory leak in smb2_copychunk_range 56001dda032f btrfs: avoid RCU stalls while running delayed iputs e022914f206c powerpc: Fix early setup to make early_ioremap() work e354e3744b0b locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal 5dfed1be0e9c locking/lockdep: Correct calling tracepoints 075becedce37 perf/x86: Avoid touching LBR_TOS MSR for Arch LBR e207bbf555bd nvmet: seset ns->file when open fails 6f08af55ea54 ptrace: make ptrace() fail if the tracee changed its pid unexpectedly eeafd6489d2c powerpc/pseries: Fix hcall tracing recursion in pv queued spinlocks d53738cd4855 tools/testing/selftests/exec: fix link error 7cf4decefa05 RDMA/uverbs: Fix a NULL vs IS_ERR() bug c62c907ccc63 RDMA/mlx5: Fix query DCT via DEVX 0cf036a0d325 platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios b8ff3221771a platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle 2d6168fa6bc6 platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue 753927b802f6 nvme-fc: clear q_live at beginning of association teardown 33ebdee80e40 nvme-tcp: rerun io_work if req_list is not empty 9c980795ccd7 nvme-loop: fix memory leak in nvme_loop_create_ctrl() 4720f29acb3f nvmet: fix memory leak in nvmet_alloc_ctrl() 737ccd21342c nvmet: remove unused ctrl->cqs bd538f2f136f RDMA/core: Don't access cm_id after its destruction 75bdfe783732 RDMA/mlx5: Recover from fatal event in dual port mode 8170c2039cc1 scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword() a6362a737572 scsi: qedf: Add pointer checks in qedf_update_link_speed() 3f04b4f87f32 scsi: ufs: core: Increase the usable queue depth 2ee4d79c3649 RDMA/rxe: Clear all QP fields if creation failed 66ab7fcdac34 RDMA/core: Prevent divide-by-zero error triggered by the user 15357010e0e1 RDMA/siw: Release xarray entry b83b49192767 RDMA/siw: Properly check send and receive CQ pointers c39a190d834d tee: amdtee: unload TA only when its refcount becomes 0 12de3ff98935 openrisc: Fix a memory leak 4dcb3aa4a5ad firmware: arm_scpi: Prevent the ternary sign expansion bug b561d56bcd16 Linux 5.10.39 090466aeb6a0 scripts: switch explicitly to Python 3 6ae514b8a8eb tweewide: Fix most Shebang lines ccecbcc9c574 ipv6: remove extra dev_hold() for fallback tunnels 019c426b5360 ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods 3c24dbd358bf sit: proper dev_{hold|put} in ndo_[un]init methods b18b1548cb4e ip6_gre: proper dev_{hold|put} in ndo_[un]init methods 0473032821e6 net: stmmac: Do not enable RX FIFO overflow interrupts 1fb05a3f1f20 lib: stackdepot: turn depot_lock spinlock to raw_spinlock 7da9368f9151 block: reexpand iov_iter after read/write 87f627a0280b ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP 027926f4ff86 net:CXGB4: fix leak if sk_buff is not used 9284b702c8e0 gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055 1ce34fb34b99 drm/amd/display: Fix two cursor duplication when using overlay 3851a86c3da8 nvmet: remove unsupported command noise 86587f35cba9 net: hsr: check skb can contain struct hsr_ethhdr in fill_frame_info 82646b1844a2 bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit dcbc4e33804c amdgpu/pm: Prevent force of DCEFCLK on NAVI10 and SIENNA_CICHLID d47d0d1a1fb2 scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found 3611ce2f23a4 ceph: don't allow access to MDS-private inodes db275714dd50 ceph: don't clobber i_snap_caps on non-I_NEW inode 2783c34d5430 ceph: fix fscache invalidation f8adfb1d370f scsi: lpfc: Fix illegal memory access on Abort IOCBs 0195e2813aac riscv: Workaround mcount name prior to clang-13 52b7b9ad63da scripts/recordmcount.pl: Fix RISC-V regex for clang b6b7f7ed7f96 riscv: Use $(LD) instead of $(CC) to link vDSO 6a40e3f9a803 platform/chrome: cros_ec_typec: Add DP mode check b01b7999f49e ARM: 9075/1: kernel: Fix interrupted SMC calls 2f06cd6d9c6a um: Disable CONFIG_GCOV with MODULES 91628cfd70d0 um: Mark all kernel symbols as local d35891cbb1d4 NFS: NFS_INO_REVAL_PAGECACHE should mark the change attribute invalid 87264fb5abac Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state c2742ef47574 Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices 4800a98bcfe4 PCI: tegra: Fix runtime PM imbalance in pex_ep_event_pex_rst_deassert() dd6ba896ffa7 ACPI / hotplug / PCI: Fix reference count leak in enable_slot() ec324393a63c ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend() 3029ef71ab22 dmaengine: dw-edma: Fix crash on loading/unloading driver 13a2ca80d792 PCI: thunder: Fix compile testing a36703d08c83 virtio_net: Do not pull payload in skb->head cbb397b673bd isdn: capi: fix mismatched prototypes a60855366be5 cxgb4: Fix the -Wmisleading-indentation warning c6034b618c1a usb: sl811-hcd: improve misleading indentation c2e7c260371d kgdb: fix gcc-11 warning on indentation b6795cdc268b airo: work around stack usage warning 80e414e7cf7d drm/i915/display: fix compiler warning about array overrun ee387de3cab1 x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd8b2c9fd746991e0343cf4f42c31ebdca2e130a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Mon, 31 May 2021 13:16:44 +0000 (09:16 -0400)]
linux-yocto/5.4: update to v5.4.120
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e05d387ba736 Linux 5.4.120 7f4ac21468b0 ASoC: rsnd: check all BUSIF status when error 7f6a9044ff24 nvme: do not try to reconfigure APST when the controller is not live aa9d659856b1 clk: exynos7: Mark aclk_fsys1_200 as critical baea536cf51f netfilter: conntrack: Make global sysctls readonly in non-init netns fb80624f39d3 kobject_uevent: remove warning in init_uevent_argv() 658e8982f0eb usb: typec: tcpm: Fix error while calculating PPS out values 718f1c1fdf78 ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section 3c63b72ffba0 ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address b05a28f47582 ARM: 9012/1: move device tree mapping out of linear region 69e44f71319b ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address bb4f8ead473a f2fs: fix error handling in f2fs_end_enable_verity() 7a474350d8de thermal/core/fair share: Lock the thermal zone while looping over instances 2c44110300b8 MIPS: Avoid handcoded DIVU in `__div64_32' altogether 2759b770b53e MIPS: Avoid DIVU in `__div64_32' is result would be zero 02b120493a9c MIPS: Reinstate platform `__div64_32' handler 64508ebf9391 FDDI: defxx: Make MMIO the configuration default except for EISA ecdf893c5aef mm: fix struct page layout on 32-bit systems 187598fd82cb KVM: x86: Cancel pvclock_gtod_work on module removal cdaae487e85b cdc-wdm: untangle a circular dependency between callback and softint b1de23dbeca7 iio: tsl2583: Fix division by a zero lux_val 8229f1d40501 iio: gyro: mpu3050: Fix reported temperature value 2496ead8b1b1 xhci: Add reset resume quirk for AMD xhci controller. de72d8769bcf xhci: Do not use GFP_KERNEL in (potentially) atomic context 941328f7bda6 usb: dwc3: gadget: Return success always for kick transfer in ep queue 7f15d999dd61 usb: core: hub: fix race condition about TRSMRCY of resume 8f536512db87 usb: dwc2: Fix gadget DMA unmap direction 36399169e6a0 usb: xhci: Increase timeout for HC halt 68b5f65eaa6a usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield 04904d90a71a usb: dwc3: omap: improve extcon initialization f78e2c36609b iomap: fix sub-page uptodate handling 3c1db90ae0d0 blk-mq: Swap two calls in blk_mq_exit_queue() 1c4962df9388 nbd: Fix NULL pointer in flush_workqueue 0b6b4b90b74c kyber: fix out of bounds access when preempted dafd4c0b5e83 ACPI: scan: Fix a memory leak in an error handling path 1648505d1353 hwmon: (occ) Fix poll rate limiting fa1547f6e4fb usb: fotg210-hcd: Fix an error message 57f99e92e2f7 iio: proximity: pulsedlight: Fix rumtime PM imbalance on error 2b94c23eaf5e drm/i915: Avoid div-by-zero on gen2 a9b2ac3f6ad1 drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected f77aa56ad989 mm/hugetlb: fix F_SEAL_FUTURE_WRITE b3f1731c6d7f userfaultfd: release page in error path to avoid BUG_ON 1b8d4206a48c squashfs: fix divide error in calculate_skip() c451a6bafb5f hfsplus: prevent corruption in shrinking truncate 0b4eb172cc12 powerpc/64s: Fix crashes when toggling entry flush barrier 379ea3a4e34b powerpc/64s: Fix crashes when toggling stf barrier 9cca6cc73bb9 ARC: mm: PAE: use 40-bit physical page mask e242c138ae01 ARC: entry: fix off-by-one error in syscall number validation 9c1d454726fc i40e: Fix PHY type identifiers for 2.5G and 5G adapters 7e7b538a9af5 i40e: fix the restart auto-negotiation after FEC modified d718c15a2bf9 i40e: Fix use-after-free in i40e_client_subtask() c77e2ef18167 netfilter: nftables: avoid overflows in nft_hash_buckets() a8cfa7aff11d kernel: kexec_file: fix error return code of kexec_calculate_store_digests() 043ebbccdde6 sched/fair: Fix unfairness caused by missing load decay 687f523c134b sched: Fix out-of-bound access in uclamp 51d3e462ea91 can: m_can: m_can_tx_work_queue(): fix tx_skb race condition c8e3c76cc8c5 netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check ca74d0dbaffa smc: disallow TCP_ULP in smc_setsockopt() 2f9f92e2ecec net: fix nla_strcmp to handle more then one trailing null character 6aeba28d1213 ksm: fix potential missing rmap_item for stable_node dde73137ce9c mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page() 262943265d97 mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts() 3ddbd4beadfa khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate() 1816d1b3272a drm/radeon: Avoid power table parsing memory leaks 8e0b76725c38 drm/radeon: Fix off-by-one power_state index heap overwrite 9e3cbdc52318 netfilter: xt_SECMARK: add new revision to fix structure layout 7a0a9f5cf8b5 sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b f7f6f0777409 ethernet:enic: Fix a use after free bug in enic_hard_start_xmit a04c2a398dc9 sunrpc: Fix misplaced barrier in call_decode b8168792c3fb RISC-V: Fix error code returned by riscv_hartid_to_cpuid() b1b31948c0af sctp: do asoc update earlier in sctp_sf_do_dupcook_a 2e99f6871493 net: hns3: disable phy loopback setting in hclge_mac_start_phy 954ea8a0cfe1 net: hns3: use netif_tx_disable to stop the transmit queue c073c2b27285 net: hns3: fix for vxlan gpe tx checksum bug 56e680c09002 net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet() 282d8a6a5546 net: hns3: initialize the message content in hclge_get_link_mode() ccffcc9f3574 net: hns3: fix incorrect configuration for igu_egu_hw_err 3dd2cd64466e rtc: ds1307: Fix wday settings for rx8130 2ad8af2b70e9 ceph: fix inode leak on getattr error in __fh_to_dentry b37609ad2277 rtc: fsl-ftm-alarm: add MODULE_TABLE() 7d1ada9e1096 NFSv4.2 fix handling of sr_eof in SEEK's reply 89862bd77e9c pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() ff4d21fb2261 PCI: endpoint: Fix missing destroy_workqueue() bdbee0d84520 NFS: Deal correctly with attribute generation counter overflow 7e16709fc540 NFSv4.2: Always flush out writes in nfs42_proc_fallocate() 20f9516b8372 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data() 3ed8832aeaa9 ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook 0454a3dc8747 PCI: Release OF node in pci_scan_device()'s error path 364e8bb8b425 PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc() e150f825ca29 f2fs: fix a redundant call to f2fs_balance_fs if an error occurs f49f00dbe3d0 thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params() f599960166a0 ASoC: rt286: Make RT286_SET_GPIO_* readable and writable 44d96d2dc054 ia64: module: fix symbolizer crash on fdescr 8b88f16d9d30 bnxt_en: Add PCI IDs for Hyper-V VF devices. 98e1d0fe20ed net: ethernet: mtk_eth_soc: fix RX VLAN offload 5da6affd9c7e iavf: remove duplicate free resources calls 40d1cb16a578 powerpc/iommu: Annotate nested lock for lockdep d26436a3b913 qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth 9184f2608e89 wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 78a004cdfd2d wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt cd06b0786056 drm/amd/display: fixed divide by zero kernel crash during dsc enablement eed7287db3a9 powerpc/pseries: Stop calling printk in rtas_stop_self() 63a42044b9a1 samples/bpf: Fix broken tracex1 due to kprobe argument change 9f6e107aab14 net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule 3aa4e4d7ccf4 ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user() 061868e90062 ASoC: rt286: Generalize support for ALC3263 codec 56a6218e97db powerpc/smp: Set numa node before updating mask dfa2a8d2d8a7 flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target() 5f24807c3cba sctp: Fix out-of-bounds warning in sctp_process_asconf_param() 9fc2c9579415 ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume f59db26081c0 kconfig: nconf: stop endless search loops c262de1777e4 selftests: Set CC to clang in lib.mk if LLVM is set 2b9ad1fd9dd2 drm/amd/display: Force vsync flip when reconfiguring MPCC 10ed519fa825 iommu/amd: Remove performance counter pre-initialization test 82f6753ac96b Revert "iommu/amd: Fix performance counter initialization" ae33b2f845fd ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init() d61f2d938135 cuse: prevent clone 7dac356a65db mt76: mt76x0: disable GTK offloading 48be573a04f1 pinctrl: samsung: use 'int' for register masks in Exynos f88e0fbeff0f mac80211: clear the beacon's CRC after channel switch fadf3660a24f i2c: Add I2C_AQ_NO_REP_START adapter quirk 7ffafbf2537d ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet 98ebeb87b2cf ip6_vti: proper dev_{hold|put} in ndo_[un]init methods fae341909d6c Bluetooth: check for zapped sk before connecting 29e498ff183a net: bridge: when suppression is enabled exclude RARP packets a3893726745f Bluetooth: initialize skb_queue_head at l2cap_chan_create() ca0dec6564e6 Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default 1ac09b2bdc99 ALSA: bebob: enable to deliver MIDI messages for multiple ports e2f577188581 ALSA: rme9652: don't disable if not enabled a6f2224be419 ALSA: hdspm: don't disable if not enabled 4ea252600a7d ALSA: hdsp: don't disable if not enabled 7900cdfbc1dd i2c: bail out early when RDWR parameters are wrong 3c0432417fa3 ASoC: rsnd: core: Check convert rate in rsnd_hw_params e3564792359d net: stmmac: Set FIFO sizes for ipq806x ac740f06bf53 ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF aee46e847d19 tipc: convert dest node's address to network order ccef53a27a24 fs: dlm: fix debugfs dump 6c799f6c7427 PM: runtime: Fix unpaired parent child_count for force_resume 18cb19eab713 KVM: x86/mmu: Remove the defunct update_pte() paging hook e888d623a420 tpm, tpm_tis: Reserve locality in tpm_tis_resume() a0fd39a09e31 tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt() 0a60d4be38f0 tpm: fix error return code in tpm2_get_cc_attrs_tbl()
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d5da1fa69df93d85b7eebbe8d60108eed4e4e6a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Mon, 24 May 2021 15:33:49 +0000 (11:33 -0400)]
linux-yocto/5.10: update to v5.10.38
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
689e89aee55c Linux 5.10.38 ed350825e89a ASoC: rsnd: check all BUSIF status when error cd709c8e06b6 nvme: do not try to reconfigure APST when the controller is not live 054add24a869 ext4: fix debug format string warning c5dffd422145 debugfs: Make debugfs_allow RO after init 81cb4f36d62c dt-bindings: serial: 8250: Remove duplicated compatible strings c1514ad24c3e dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1 c4e3d8cf615b i2c: mediatek: Fix send master code at more than 1MHz 667627fa85a8 media: rkvdec: Remove of_match_ptr() b0402e785351 clk: exynos7: Mark aclk_fsys1_200 as critical 805c990a9c54 drm/i915: Fix crash in auto_retire cd47b861d225 drm/i915/overlay: Fix active retire callback alignment a67c80dcb403 drm/i915: Read C0DRB3/C1DRB3 as 16 bits again 17928443db88 drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp 20530f7fde75 kobject_uevent: remove warning in init_uevent_argv() 6ece86e9e88f usb: typec: tcpm: Fix error while calculating PPS out values 5d2f09c44ff2 ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section ac421c7f90c8 ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address 1eb77569029d ARM: 9012/1: move device tree mapping out of linear region 6cdbafc2addd ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address 6d5fda434b1f clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940 06470de53e4f clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue 462049cfb342 MIPS: Avoid handcoded DIVU in `__div64_32' altogether d17af8b19d99 MIPS: Avoid DIVU in `__div64_32' is result would be zero d2abb95bb1a4 MIPS: Reinstate platform `__div64_32' handler cfddf6a685e3 mm: fix struct page layout on 32-bit systems 89bd62079870 iommu/vt-d: Remove WO permissions on second-level paging entries 0160f627929c iommu/vt-d: Preset Access/Dirty bits for IOVA over FL a282b76166b1 Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL" c1f2d0beab5c Revert "iommu/vt-d: Remove WO permissions on second-level paging entries" 31f29749ee97 KVM: VMX: Disable preemption when probing user return MSRs 79abde761e05 KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported c8bf64e3fb77 KVM: nVMX: Always make an attempt to map eVMCS after migration 2f86dd3d2bcf KVM: x86: Move RDPID emulation intercept to its own enum abbf8c99a9e1 KVM: x86: Emulate RDPID only if RDTSCP is supported 8a7027f011c5 xen/gntdev: fix gntdev_mmap() error exit path 652c9689f589 cdc-wdm: untangle a circular dependency between callback and softint 12d16c24f35f iio: tsl2583: Fix division by a zero lux_val e8c6852bdba2 iio: gyro: mpu3050: Fix reported temperature value 70698dda4bca xhci: Add reset resume quirk for AMD xhci controller. 9d9526cc3c01 xhci: Do not use GFP_KERNEL in (potentially) atomic context ca043cc02a88 xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI fa4b1363256d usb: typec: ucsi: Put fwnode in any case during ->probe() e5366bea0277 usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4 9bd96a2e77fd usb: dwc3: gadget: Return success always for kick transfer in ep queue 45f37f54e7c1 usb: dwc3: gadget: Enable suspend events 9238492b9a84 usb: core: hub: fix race condition about TRSMRCY of resume 45ad6b592e64 usb: dwc2: Fix gadget DMA unmap direction 7ad9256b49a6 usb: xhci: Increase timeout for HC halt 42bb80ae0165 usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield 95e3da5b53ba usb: dwc3: omap: improve extcon initialization 3a96437f6bf8 blk-mq: Swap two calls in blk_mq_exit_queue() c9c1ed08c174 blk-mq: plug request for shared sbitmap cde4b55cfb24 nbd: Fix NULL pointer in flush_workqueue a9fc163514d2 f2fs: compress: fix to assign cc.cluster_idx correctly 5639b73fd3bc f2fs: compress: fix race condition of overwrite vs truncate 72b0f3077ebd f2fs: compress: fix to free compress page correctly 64f3410c7bfc nvmet-rdma: Fix NULL deref when SEND is completed with error c98ecfb18296 nvmet: fix inline bio check for bdev-ns f8ae879b776c nvmet: add lba to sect conversion helpers 54dbe2d2c1fc kyber: fix out of bounds access when preempted e2381174daea ACPI: scan: Fix a memory leak in an error handling path a8dc16bbfe29 usb: musb: Fix an error message 550473900f80 hwmon: (occ) Fix poll rate limiting 0becd19b211a usb: fotg210-hcd: Fix an error message 2c3b4375e118 iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER 020fe6f80f4f iio: proximity: pulsedlight: Fix rumtime PM imbalance on error 9db8ba3cac05 iio: light: gp2ap002: Fix rumtime PM imbalance on error 1ea775021282 usb: dwc3: gadget: Free gadget structure only after freeing endpoints 26c777470d57 perf tools: Fix dynamic libbpf link 1d8d7e02f6d0 xen/unpopulated-alloc: fix error return code in fill_list() 058122572676 xen/unpopulated-alloc: consolidate pgmap manipulation 9eaa10be0c08 dax: Wake up all waiters after invalidating dax entry e9e70b78e163 dax: Add a wakeup mode parameter to put_unlocked_entry() b93d3410e789 dax: Add an enum for specifying dax wakup mode b9c663dc9a83 KVM: x86: Prevent deadlock against tk_core.seq 8aa7227a5d9b KVM: x86: Cancel pvclock_gtod_work on module removal 1fe269372244 drm/msm/dp: initialize audio_comp when audio starts 2e0ce36d0bf6 KVM: LAPIC: Accurately guarantee busy wait for timer to expire when using hv_timer ce7639252357 kvm: exit halt polling on need_resched() as well 970c978d0591 drm/i915: Avoid div-by-zero on gen2 86cd6072157c drm/amd/display: Initialize attribute for hdcp_srm sysfs file 5a6fe45a3a7f drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected bccb7dd137ad btrfs: fix race leading to unpersisted data and metadata on fsync d6d66dbd5adc arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache() d3bab7cbadfb arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup 70748bba5565 blk-iocost: fix weight updates of inner active iocgs 014868616d48 mm/hugetlb: fix F_SEAL_FUTURE_WRITE fe5c0a63ad22 kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled 140cfd998012 userfaultfd: release page in error path to avoid BUG_ON 2ed1d90162a0 squashfs: fix divide error in calculate_skip() adbd8a2a8cc0 hfsplus: prevent corruption in shrinking truncate d2e3590ca39c powerpc/64s: Fix crashes when toggling entry flush barrier 51570beeb448 powerpc/64s: Fix crashes when toggling stf barrier cb3e286f22ff ARC: mm: Use max_high_pfn as a HIGHMEM zone border 969de0f6599e ARC: mm: PAE: use 40-bit physical page mask af9e5364c617 ARC: entry: fix off-by-one error in syscall number validation 23ecfe7f2c1f f2fs: avoid unneeded data copy in f2fs_ioc_move_range() 758fd227ed84 mptcp: fix splat when closing unaccepted socket b8cf51a36da2 i40e: Fix PHY type identifiers for 2.5G and 5G adapters 06ef93b776f7 i40e: fix the restart auto-negotiation after FEC modified 829a713450b8 i40e: Fix use-after-free in i40e_client_subtask() 2692bf13e646 i40e: fix broken XDP support 72b49dd116ca netfilter: nftables: avoid overflows in nft_hash_buckets() f665dedeedc9 kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resources 1ec193255271 kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_RAM resources 0886bb143cbb kernel: kexec_file: fix error return code of kexec_calculate_store_digests() d43be02fc40b fs/proc/generic.c: fix incorrect pde_is_permanent check f89b408d506e sched/fair: Fix unfairness caused by missing load decay f7347c85490b sched: Fix out-of-bound access in uclamp 26359d362c93 can: m_can: m_can_tx_work_queue(): fix tx_skb race condition eecb4df8ec9f can: mcp251x: fix resume from sleep before interface was brought up 02140d9d2712 can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path 2c784a500f5e netfilter: nftables: Fix a memleak from userdata error path in new objects 403ccad066ec netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check cee6592d444a smc: disallow TCP_ULP in smc_setsockopt() d6c635a8cc6a net: fix nla_strcmp to handle more then one trailing null character 26b7924707a4 ethtool: fix missing NLM_F_MULTI flag when dumping 673422b97ef3 mm/gup: check for isolation errors 096c9482cea2 mm/gup: return an error on migration failure 7df511ef376d mm/gup: check every subpage of a compound page during isolation 87c4e386b612 ksm: fix potential missing rmap_item for stable_node aa0d6d1d3e77 mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page() 9639a754cce5 mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts() 14d45fb5a3fc khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate() 51524fa8b5f7 arm64: entry: always set GIC_PRIO_PSR_I_SET during entry c9f43423c41e arm64: entry: factor irq triage logic into macros 93dcaa8cba65 drm/radeon: Avoid power table parsing memory leaks 79208af94738 drm/radeon: Fix off-by-one power_state index heap overwrite f551068f5f32 net: stmmac: Clear receive all(RA) bit when promiscuous mode is off 340de910d65e xsk: Fix for xp_aligned_validate_desc() when len == chunk_size 75ea98246903 netfilter: xt_SECMARK: add new revision to fix structure layout db5f1c6f776d sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b 7afdd6aba95c ethernet:enic: Fix a use after free bug in enic_hard_start_xmit 3d808916d256 block/rnbd-clt: Check the return value of the function rtrs_clt_query c1a90296a9b5 block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t 4aae6eb6af7d libbpf: Fix signed overflow in ringbuf_process_ring 60bb2cecf47f sunrpc: Fix misplaced barrier in call_decode 208af7ffc351 RISC-V: Fix error code returned by riscv_hartid_to_cpuid() f01988ecf365 sctp: do asoc update earlier in sctp_sf_do_dupcook_a 65084886c6ee net: hns3: disable phy loopback setting in hclge_mac_start_phy 5aa957e2b5fc net: hns3: use netif_tx_disable to stop the transmit queue 90120c475dd7 net: hns3: fix for vxlan gpe tx checksum bug 7a476a8a9cb6 net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet() bd4d527ea5f7 net: hns3: initialize the message content in hclge_get_link_mode() 5d326e253501 net: hns3: fix incorrect configuration for igu_egu_hw_err 494ade7aba11 rtc: ds1307: Fix wday settings for rx8130 5515b85e1a01 scsi: ufs: core: Narrow down fast path in system suspend path e8295def80b7 scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend 591602738e00 scsi: ufs: core: Do not put UFS power into LPM if link is broken 429ac0fb8375 scsi: qla2xxx: Prevent PRLI in target mode bf45c9fe99aa ceph: fix inode leak on getattr error in __fh_to_dentry a01572e21f09 swiotlb: Fix the type of index 04dad2ca1f5e xprtrdma: rpcrdma_mr_pop() already does list_del_init() eddae8be7944 xprtrdma: Fix cwnd update ordering 89a31bf85c7b xprtrdma: Avoid Receive Queue wrapping b22e8f427c3d pwm: atmel: Fix duty cycle calculation in .get_state() 0a9decf2dd4d SUNRPC: fix ternary sign expansion bug in tracing dd41a0e51532 dmaengine: idxd: fix cdev setup and free device lifetime issues 975c4b2b9976 dmaengine: idxd: fix dma device lifetime 5756f757c725 dmaengine: idxd: Fix potential null dereference on pointer status 0f9d467ff139 rtc: fsl-ftm-alarm: add MODULE_TABLE() 90e8fa8bdfb3 nfsd: ensure new clients break delegations b4bf335acacc NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting 5d254e17ca86 thermal/drivers/tsens: Fix missing put_device error 4f86a0a5eb61 SUNRPC: Handle major timeout in xprt_adjust_timeout() 8efd19bf754b SUNRPC: Remove trace_xprt_transmit_queued 7b906077fd99 SUNRPC: Move fault injection call sites bfeb4e607d00 NFSv4.2 fix handling of sr_eof in SEEK's reply 1fbea60ea658 pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() fd65cac30d45 PCI: endpoint: Fix missing destroy_workqueue() d21a5950cca6 NFS: Deal correctly with attribute generation counter overflow cbc868ea28a8 NFSv4.2: Always flush out writes in nfs42_proc_fallocate() a09afbb63620 NFS: Fix attribute bitmask in _nfs42_proc_fallocate() ce2b470added NFS: nfs4_bitmask_adjust() must not change the server global bitmasks 0627cbc9b875 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data() b59194c7ca29 f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block() 1fd6a0641040 f2fs: Fix a hungtask problem in atomic write 98ccee81fe96 f2fs: fix to cover __allocate_new_section() with curseg_lock 105155a8146d f2fs: fix to avoid touching checkpointed data in get_victim() bbed83d7060e PCI: endpoint: Fix NULL pointer dereference for ->get_features() d5e85b92b457 PCI: endpoint: Make *_free_bar() to return error codes on failure d98bfd4cc258 PCI: endpoint: Add helper API to get the 'next' unreserved BAR 5974766170d8 PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR 8c8f7c49930d f2fs: fix to update last i_size if fallocate partially succeeds 74d2b0e74c3f f2fs: fix to align to section for fallocate() on pinned file 630146203108 ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook ee93cdcbe0b5 PCI: Release OF node in pci_scan_device()'s error path c5c0ede221d7 PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc() 1ce0d1d3656b remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader 2ec65063e45a remoteproc: qcom_q6v5_mss: Replace ioremap with memremap 2d6d5b4fc498 f2fs: fix a redundant call to f2fs_balance_fs if an error occurs 1c20a4896409 f2fs: fix panic during f2fs_resize_fs() 81ba1634d1b6 f2fs: fix to allow migrating fully valid segment de2041d92d2a f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE b7ff0885de7e f2fs: move ioctl interface definitions to separated file 997d24a932a9 thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params() a1b5fecedfa9 ASoC: rt286: Make RT286_SET_GPIO_* readable and writable 5b66867966bc watchdog: fix barriers when printing backtraces from all CPUs a68c246065b6 watchdog/softlockup: remove logic that tried to prevent repeated reports 9413b1ee3858 watchdog: explicitly update timestamp when reporting softlockup 018655f8758a watchdog: rename __touch_watchdog() to a better descriptive name 1dc55c3a4862 ia64: module: fix symbolizer crash on fdescr 602795e247d1 bnxt_en: Add PCI IDs for Hyper-V VF devices. d0736af81151 kbuild: generate Module.symvers only when vmlinux exists 9401b7ff91f9 selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test dfa0e8461e99 selftests: mlxsw: Increase the tolerance of backlog buildup 99d9989ee53b net: ethernet: mtk_eth_soc: fix RX VLAN offload 320c50ff84a0 iavf: remove duplicate free resources calls 6289b028b5e2 powerpc/iommu: Annotate nested lock for lockdep bece6aea3653 qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth ededc7325dc2 wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join 83a7ed5b891c wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt f3a5dee0f30c crypto: ccp: Free SEV device if SEV init fails 22ab352fcab7 mt76: mt7615: fix entering driver-own state on mt7663 5b02d6efdb1b drm/amdgpu: Add mem sync flag for IB allocated by SA 8be5e713f725 drm/amd/display: add handling for hdcp2 rx id list validation fa9952e854c4 drm/amd/display: fixed divide by zero kernel crash during dsc enablement d98b03bfd0c7 powerpc/pseries: Stop calling printk in rtas_stop_self() 799c3950680a samples/bpf: Fix broken tracex1 due to kprobe argument change d4b0dc31df99 net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule 05916c62f54a ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user() b506357ab8bb ASoC: rt286: Generalize support for ALC3263 codec 33eee468f83a powerpc/smp: Set numa node before updating mask 245f5ab5ce52 flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target() d5716625f185 sctp: Fix out-of-bounds warning in sctp_process_asconf_param() 136b0261f119 ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume 4ac5823083fa ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp e3a2982bf63f ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740 cc1956f8b278 kconfig: nconf: stop endless search loops 06b0037e6f02 selftests: Set CC to clang in lib.mk if LLVM is set f9bc5e3f3f75 drm/amd/display: Force vsync flip when reconfiguring MPCC 63e9abe35df9 iommu/amd: Remove performance counter pre-initialization test 1097ecf826bc Revert "iommu/amd: Fix performance counter initialization" a027e6155bb4 ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init() cc748965313b powerpc/mm: Add cond_resched() while removing hpte mappings 26f98b2d97a8 iwlwifi: pcie: make cfg vs. trans_cfg more robust 2bfc47dec5b8 cuse: prevent clone 2c20c7d96e45 virtiofs: fix userns 87fe0ca09b26 fuse: invalidate attrs when page writeback completes f1c230d75b47 mt76: mt7915: fix txpower init for TSSI off chips 7eb1e84cfe28 mt76: mt76x0: disable GTK offloading bbd3d0014cc4 mt76: mt7615: support loading EEPROM for MT7613BE 32b3e7e303bd rtw88: 8822c: add LC calibration for RTL8822C 28c2a1d65088 pinctrl: samsung: use 'int' for register masks in Exynos 2eac474900d3 mac80211: clear the beacon's CRC after channel switch 437a4746e47e IB/hfi1: Correct oversized ring allocation d7592a5c376b coresight: Do not scan for graph if none is present 8f7806174fdb MIPS: Loongson64: Use _CACHE_UNCACHED instead of _CACHE_UNCACHED_ACCELERATED 2c098ad786d3 i2c: Add I2C_AQ_NO_REP_START adapter quirk c6d2f8ffb145 ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055 6c9b2de44812 Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip. c87b052deaa8 ice: handle increasing Tx or Rx ring sizes eb28709c07a6 ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet 7bd851a6d369 ip6_vti: proper dev_{hold|put} in ndo_[un]init methods b502a6a44066 net: hns3: add handling for xmit skb with recursive fraglist c56804f431db net: hns3: remediate a potential overflow risk of bd_num_list 286b3ff9fd98 powerpc/32: Statically initialise first emergency context b9f9313c7501 selftests/powerpc: Fix L1D flushing tests for Power10 2033dde6aa01 Bluetooth: check for zapped sk before connecting 6421cdfbb6fb net: bridge: when suppression is enabled exclude RARP packets fccb35bbf75f net/sched: cls_flower: use ntohs for struct flow_dissector_key_ports a019b8d7dfd5 Bluetooth: initialize skb_queue_head at l2cap_chan_create() e0dc9e93f7fd Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default b972f345a17a ALSA: bebob: enable to deliver MIDI messages for multiple ports d398f25007d5 ALSA: rme9652: don't disable if not enabled 9df07b0661e7 ALSA: hdspm: don't disable if not enabled a950cd8cb05d ALSA: hdsp: don't disable if not enabled faed3150a436 i2c: bail out early when RDWR parameters are wrong 18df2bc13b1f Bluetooth: Fix incorrect status handling in LE PHY UPDATE event 879a96d817ed ASoC: rsnd: core: Check convert rate in rsnd_hw_params a2aeb5de26c1 net: stmmac: Set FIFO sizes for ipq806x c0a62a441bbd net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath 2d17c58a3a4f ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF 3d1bede85632 tipc: convert dest node's address to network order a407b5881686 fs: dlm: flush swork on shutdown ff58d1c72edf fs: dlm: check on minimum msglen size ca973d2aeaf7 fs: dlm: add errno handling to check callback 06d59d21cb05 fs: dlm: fix debugfs dump bd6017a942b9 ath11k: fix thermal temperature read 21756f878e82 kvm: Cap halt polling at kvm->max_halt_poll_ns 53d7eed0315a cpufreq: intel_pstate: Use HWP if enabled by platform firmware 182f1f72af2e PM: runtime: Fix unpaired parent child_count for force_resume e97da47e9be0 ACPI: PM: Add ACPI ID of Alder Lake Fan bfccc4eade2b KVM/VMX: Invoke NMI non-IST entry instead of IST entry 21f317826e17 KVM: x86/mmu: Remove the defunct update_pte() paging hook 53171e68a509 tpm, tpm_tis: Reserve locality in tpm_tis_resume() 923866165610 tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt() 8fe5a459186a tpm: fix error return code in tpm2_get_cc_attrs_tbl() 31c9a4b24d86 KEYS: trusted: Fix memory leak on object td
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9a05d2c6252f53819cc7b4c9d2062ebb64f4299) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Mon, 17 May 2021 22:16:56 +0000 (18:16 -0400)]
linux-yocto/5.10: update to v5.10.36
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
72bb632d15f2 Linux 5.10.36 14b2801ccd9b thermal/core/fair share: Lock the thermal zone while looping over instances c24a20912eef thermal/drivers/cpufreq_cooling: Fix slab OOB issue 051dd0681ce1 lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf() 1cb02dc76f4c dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails 06141465e372 dm integrity: fix missing goto in bitmap_flush_interval error handling df893916b330 dm space map common: fix division bug in sm_ll_find_free_block() fcf763a80e0e dm persistent data: packed struct should have an aligned() attribute too a33614d52e97 tracing: Restructure trace_clock_global() to never block 9e40ef5391df tracing: Map all PIDs to command lines ea6803ff2cd1 tools/power turbostat: Fix offset overflow issue in index converting b84c57762cef rsi: Use resume_noirq for SDIO b1c953dc853a tty: fix memory leak in vc_deallocate 25e9c2c11735 usb: dwc2: Fix session request interrupt handler fce7bbcd07d5 usb: dwc3: core: Do core softreset when switch mode b624b32584ac usb: dwc3: gadget: Fix START_TRANSFER link state check f9ddfaa9703c usb: dwc3: gadget: Remove FS bInterval_m1 limitation 8df75d1296d0 usb: gadget/function/f_fs string table fix for multiple languages ba8ce683076e usb: gadget: Fix double free of device descriptor pointers f12c5cca65f7 usb: gadget: dummy_hcd: fix gpf in gadget_setup 678e76bccee4 media: venus: hfi_parser: Don't initialize parser on v1 5d0f6f5251a3 media: v4l2-ctrls: fix reference to freed memory 4121def7df29 media: staging/intel-ipu3: Fix race condition during set_fmt c6b81b897f6f media: staging/intel-ipu3: Fix set_fmt error handling 517f6f570566 media: staging/intel-ipu3: Fix memory leak in imu_fmt 8acb13189dae media: dvb-usb: Fix memory leak at error in dvb_usb_device_init() a5e9ae5a22b0 media: dvb-usb: Fix use-after-free access 43263fd43083 media: dvbdev: Fix memory leak in dvb_media_device_free() 378a016271ba ext4: Fix occasional generic/418 failure 133e83b5b3b3 ext4: allow the dax flag to be set and cleared on inline directories 72447c925ea9 ext4: fix error return code in ext4_fc_perform_commit() bf4ba04f0161 ext4: fix ext4_error_err save negative errno into superblock 12905cf9e5c4 ext4: fix error code in ext4_commit_super 7e9298f4d139 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup() 098b257563b9 ext4: fix check to prevent false positive report of incorrect used inodes 346190959f97 ext4: annotate data race in jbd2_journal_dirty_metadata() 9aca313726cb ext4: annotate data race in start_this_handle() a27aad321751 kbuild: update config_data.gz only when the content of .config is changed 3aec683ee79b x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported d19a456acaec futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI 2543329485e2 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op") d35c4c959eb4 smb3: do not attempt multichannel to server which does not support it 796b82637528 smb3: when mounting with multichannel include it in requested capabilities 5781c9df77a3 jffs2: check the validity of dstlen in jffs2_zlib_compress() 54708651bc1e Fix misc new gcc warnings f37b9c142e1c security: commoncap: fix -Wstringop-overread warning bf2b941d0a6f sfc: farch: fix TX queue lookup in TX event handling fb791572d674 sfc: farch: fix TX queue lookup in TX flush done handling 11e3ff7e164a exfat: fix erroneous discard when clear cluster bit 1c525c265668 fuse: fix write deadlock 0cd2d2577a98 dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences 661061a45e32 md/raid1: properly indicate failure when ending a failed write request 015cc7ad58d0 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS 0ba942cbf52b crypto: arm/curve25519 - Move '.fpu' after '.arch' c9adb76c712c tpm: vtpm_proxy: Avoid reading host log when using a virtual device 60a01ecc9f68 tpm: efi: Use local variable for calculating final log size 4a63b2438a93 intel_th: pci: Add Alder Lake-M support 34ceafa62f49 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h 0bdcaebb1225 powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR f2aa64979e11 powerpc/kexec_file: Use current CPU info while setting up FDT 481fee8295ab powerpc/eeh: Fix EEH handling for hugepages in ioremap space. 293c30ce25e0 powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors 643243e31868 jffs2: Hook up splice_write callback 72c282b10951 jffs2: Fix kasan slab-out-of-bounds problem 072f787e8798 Input: ili210x - add missing negation for touch indication on ili210x 2fafe7d5047f NFSv4: Don't discard segments marked for return in _pnfs_return_layout() 334165d9fb69 NFS: Don't discard pNFS layout segments that are marked for return 96fa26b74cdc NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds e0f2d86481ea ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure a1478374b0bd openvswitch: fix stack OOB read while fragmenting IPv4 packets 4248f4649bf3 mlxsw: spectrum_mr: Update egress RIF list before route's action 9aa4602237d5 f2fs: fix to avoid out-of-bounds memory access 39624749c52d f2fs: fix error handling in f2fs_end_enable_verity() 50b0c0c3385d ubifs: Only check replay with inode type to judge if inode linked 5a876a46d7b7 kcsan, debugfs: Move debugfs file creation out of early init d19555ff225d virtiofs: fix memory leak in virtio_fs_probe() 1b41d4e5aa75 fs: fix reporting supported extra file attributes for statx() dc4b67baba3b Makefile: Move -Wno-unused-but-set-variable out of GCC only block 0f9055936668 arm64/vdso: Discard .note.gnu.property sections in vDSO 1d852d6bb4d4 btrfs: fix race when picking most recent mod log operation for an old root b24f0e381036 tools/power/turbostat: Fix turbostat for AMD Zen CPUs d1ca3d2c4fd5 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx a9d0f7c14789 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops 3c8a599bc951 ALSA: hda/realtek - Headset Mic issue on HP platform 871234a6ad4c ALSA: hda/realtek: fix mic boost on Intel NUC 8 13ff604c79a0 ALSA: hda/realtek: GA503 use same quirks as GA401 970fbbee55bc ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7 12fea3cb2277 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8 ad7736cebf4d ALSA: usb-audio: Explicitly set up the clock selector cc427a507f29 ALSA: sb: Fix two use after free in snd_sb_qsound_build 1ce8212e80f9 ALSA: hda/conexant: Re-order CX5066 quirk table entries 9b7388931fbb ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer 443467bd6240 power: supply: cpcap-battery: fix invalid usage of list cursor a15f68a5d55c sched,psi: Handle potential task count underflow bugs more gracefully a32a2d831de0 s390/archrandom: add parameter check for s390_arch_random_generate 338a87230228 block/rnbd-clt: Fix missing a memory free when unloading the module ae7fe4794da2 sched,fair: Alternative sched_slice() 94902ee2996a perf: Rework perf_event_exit_event() 2c4de79e9a09 scsi: libfc: Fix a format specifier 97a81d4051c3 mfd: arizona: Fix rumtime PM imbalance on error 14c7e3f5bed5 mfd: da9063: Support SMBus and I2C mode d7ec1dab6be7 mfd: intel-m10-bmc: Fix the register access range c8fe9ef530e9 scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic cc42ea42e250 scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode 1ac2b3720f61 scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response 56488df9f4bc drm/amdgpu: fix NULL pointer dereference d721702f8a82 drm/amd/display: Try YCbCr420 color when YCbCr444 fails f26f33a40952 amdgpu: avoid incorrect %hu format string a98a90048853 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug 081cec78467f drm/amd/display: Fix UBSAN: shift-out-of-bounds warning cc6215d94de9 drm/amd/display: Fix debugfs link_settings entry bcefa89b3e48 drm/radeon/ttm: Fix memory leak userptr pages 14637a8dfe4f drm/amdgpu/ttm: Fix memory leak userptr pages 6e4ae9b0eb23 drm/msm/mdp5: Do not multiply vclk line count by 100 79f701ec9efa drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal 2f5f4cce496e sched/fair: Ignore percpu threads for imbalance pulls fded2096b153 media: gscpa/stv06xx: fix memory leak f8f2b7ebe03a media: dvb-usb: fix memory leak in dvb_usb_adapter_init 1b61ad26af55 media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming 810cf54025b7 media: platform: sti: Fix runtime PM imbalance in regs_show 67a97525dd6e media: i2c: adv7842: fix possible use-after-free in adv7842_remove() c8e7e6e1780c media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove() 3f9e0eb06258 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove() 651ad9e04f75 media: adv7604: fix possible use-after-free in adv76xx_remove() 8d3ae83d6344 media: tc358743: fix possible use-after-free in tc358743_remove() a931c5791b5e power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove() ccb098c053dc power: supply: generic-adc-battery: fix possible use-after-free in gab_remove() 932329941ca8 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return 573bbb6f80f1 drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver 4066456bb2de media: vivid: update EDID 6fef73a039da media: em28xx: fix memory leak ed7ab208cc2e scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg() 486e974358e7 scsi: smartpqi: Add new PCI IDs c3187412d9c7 scsi: smartpqi: Correct request leakage during reset operations bc05560dd756 scsi: smartpqi: Use host-wide tag space dc655d743c2b power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce a669817a3384 selftests/resctrl: Fix checking for < 0 for unsigned values 726d3185b89a selftests/resctrl: Fix incorrect parsing of iMC counters 19eaad1400ea selftests/resctrl: Use resctrl/info for feature detection 0ccead50c386 selftests/resctrl: Fix missing options "-n" and "-p" cd29eef12771 selftests/resctrl: Clean up resctrl features check 6ef95f0b80ec selftests/resctrl: Fix compilation issues for other global variables cf99daf7c3a2 selftests/resctrl: Fix compilation issues for global variables 078d3d75dd4c selftests/resctrl: Enable gcc checks to detect buffer overflows 9ec74da2ac4c nvmet: return proper error code from discovery ctrl 7f9757005cf5 drm/komeda: Fix bit check to import to value of proper type 5e8b58e27ea8 ata: ahci: Disable SXS for Hisilicon Kunpeng920 c753c1a77e7a mmc: sdhci-brcmstb: Remove CQE quirk fdd04d1c8336 mmc: sdhci-pci: Add PCI IDs for Intel LKF 79315ebff432 mmc: sdhci-esdhc-imx: validate pinctrl before use it 47ac226199f0 scsi: qla2xxx: Fix use after free in bsg 1d7935fd022d drm/vkms: fix misuse of WARN_ON 57fa6a6a998c scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats() 298778681c10 drm/amd/display: fix dml prefetch validation dd5d6042e5d2 drm/amd/display: DCHUB underflow counter increasing in some scenarios 9cc76f29b9e5 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool' 729b92e68b8e drm/amd/pm: fix workload mismatch on vega10 7cb855dfe5f0 drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f 1874b0ef1426 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning 7b3eb98a3ef4 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd 61c1ddd29f87 backlight: qcom-wled: Fix FSC update issue for WLED5 918a45b65365 backlight: qcom-wled: Use sink_addr for sync toggle 983d10e59fb4 power: supply: Use IRQF_ONESHOT 80ba39ec7cc9 media: gspca/sq905.c: fix uninitialized variable 6a3edc1a5e17 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs 087c2bffb4e9 extcon: arizona: Fix various races on driver unbind b7d2e5097f18 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged 8ff0d8a0904b power: supply: bq27xxx: fix power_avg for newer ICs 7bb783ec9e0e atomisp: don't let it go past pipes array 12b4b2855024 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt() f3dd6c47c493 media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB b5261590f309 media: ite-cir: check for receive overflow 3a2270dd3f09 scsi: target: pscsi: Fix warning in pscsi_complete_cmd() 09a27d662006 kvfree_rcu: Use same set of GFP flags as does single-argument 661af9371c32 sched/pelt: Fix task util_est update filtering b168fffa3821 drm/amdgpu: Fix some unload driver issues 5b62053e762c scsi: lpfc: Fix pt2pt connection does not recover after LOGO 7382825b068e scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe b814402fdf37 drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue 500ec98998c2 drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work bd9477319714 drm/amd/display: Don't optimize bandwidth before disabling planes 6b2132f50d9f drm/amd/display: Check for DSC support instead of ASIC revision 01e03a661872 drm/ast: fix memory leak when unload the driver 100e35484682 drm/amd/display: changing sr exit latency 2c518667f953 drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check 6f64be8f5211 drm/qxl: release shadow on shutdown 423fb866b3fc drm/qxl: do not run release if qxl failed to init 6228456ceb1a drm: Added orientation quirk for OneGX1 Pro 9c60c881d662 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s f32b84d7c977 btrfs: do proper error handling in btrfs_update_reloc_root 224c654a2eca btrfs: do proper error handling in create_reloc_root c5aa9ea54a00 spi: sync up initial chipselect state b82e8f0bb028 platform/x86: intel_pmc_core: Don't use global pmcdev in quirks 5d60792d1292 crypto: omap-aes - Fix PM reference leak on omap-aes.c 92894b185321 crypto: sa2ul - Fix PM reference leak in sa_ul_probe() 4e7ae0cfaca9 crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c 8a090d492f70 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c 836671775a6e crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe() 2264965f576f crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails a16162a17417 phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove() df9105950755 intel_th: Consistency and off-by-one fix b549cc7c9ca2 tty: n_gsm: check error while registering tty devices 8f7cdbbf61f9 usb: dwc3: gadget: Check for disabled LPM quirk 2946f95356cc usb: core: hub: Fix PM reference leak in usb_port_resume() e82da9b21fed usb: musb: fix PM reference leak in musb_irq_work() 015f3f25213e usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove() 0e73535a496c spi: qup: fix PM reference leak in spi_qup_remove() 75e2b4621137 spi: omap-100k: Fix reference leak to master 517e99f22842 spi: dln2: Fix reference leak to master 4ddfac16b5c7 platform/x86: ISST: Account for increased timeout in some cases bc900a7ccdd4 tools/power/x86/intel-speed-select: Increase string size 125b3590d1fb ARM: dts: at91: change the key code of the gpio key 2ed4d587539e bus: mhi: core: Clear context for stopped channels from remove() 3737cf191a80 xhci: fix potential array out of bounds with several interrupters 98599e1045c2 xhci: check control context is valid before dereferencing it. 2b195c32bccd xhci: check port array allocation was successful before dereferencing it b52b1b8c480c fpga: dfl: pci: add DID for D5005 PAC cards e22fd531518d usb: xhci-mtk: support quirk to disable usb2 lpm 5c22421fb35f random: initialize ChaCha20 constants with correct endianness 2d78ede60615 perf/arm_pmu_platform: Fix error handling 167fecaa4311 perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors 64d579453bd6 soundwire: cadence: only prepare attached devices on clock stop 9584ce366cc9 tee: optee: do not check memref size on return from Secure World e5da8b37ce34 arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on 187c001c492c soc/tegra: pmc: Fix completion of power-gate toggling bc24381f5768 efi/libstub: Add $(CLANG_FLAGS) to x86 flags 8829b6ccf49f x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS fdc9c3cff9e2 x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS) af79dc5ad974 ARM: dts: ux500: Fix up TVK R3 sensors 3f571ae706da ARM: dts: BCM5301X: fix "reg" formatting in /memory node f38f972e14f1 kselftest/arm64: mte: Fix MTE feature detection d16749988d09 PCI: PM: Do not read power state in pci_enable_device_flags() d863389e9f2e ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node d9a1f62b03da kselftest/arm64: mte: Fix compilation with native compiler 173ab4bb8cbf usb: xhci: Fix port minor revision 45f879b29da7 usb: dwc3: gadget: Ignore EP queue requests during bus reset 85eb84bd818f usb: gadget: f_uac1: validate input parameters f63390de9b43 usb: gadget: f_uac2: validate input parameters df7452f03b7f genirq/matrix: Prevent allocation counter corruption bde50f19ba24 crypto: hisilicon/sec - fixes a printing error 6a6273a65fcd x86/sev: Do not require Hypervisor CPUID bit for SEV guests ba637773a9f9 usb: webcam: Invalid size of Processing Unit Descriptor 930d586646cf usb: gadget: uvc: add bInterval checking for HS mode 6202e708f303 crypto: qat - fix unmap invalid dma address 92f333793a78 crypto: api - check for ERR pointers in crypto_destroy_tfm() 298a44f38171 bus: mhi: core: Destroy SBL devices when moving to mission mode 2e40d8cd3db5 spi: ath79: remove spi-master setup and cleanup assignment 91629921cef9 spi: ath79: always call chipselect function 40e02e167816 staging: wimax/i2400m: fix byte-order issue e160833c9fdf bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first 6af796b4ac45 cpuidle: tegra: Fix C7 idling state on Tegra114 6f85f0497274 fbdev: zero-fill colormap in fbcmap.c af830b27c34d posix-timers: Preserve return value in clock_adjtime32() a4794be7b00b btrfs: fix race between transaction aborts and fsyncs leading to use-after-free af835665ddc9 intel_th: pci: Add Rocket Lake CPU support 97f30747b22c btrfs: fix metadata extent leak after failure to create subvolume 0c48349a6d41 x86/build: Disable HIGHMEM64G selection for M486SX dba16ca6f347 btrfs: handle remount to no compress during compression 5f2adf84624e smb2: fix use-after-free in smb2_ioctl_query_info() 8a90058752e0 cifs: detect dead connections only when echoes are enabled. 23d7b4a8f77a cifs: fix out-of-bound memory access when calling smb3_notify() at mount point aaa0faa5c28a cifs: Return correct error code from smb2_get_enc_key 7be4db5c2b59 irqchip/gic-v3: Do not enable irqs when handling spurious interrups 44faf03f56b8 mmc: core: Fix hanging on I/O during system suspend for removable cards 886da99e8fc4 mmc: core: Set read only for SD cards with permanent write protect bit 140f225218cd mmc: core: Do a power cycle when the CMD11 fails 20d6f231f8f1 mmc: block: Issue a cache flush only when it's enabled b1fba87e60bc mmc: block: Update ext_csd.cache_ctrl if it was written cdc615acade4 mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit 6c43290972ed mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers 01db7cb746f0 mmc: sdhci: Check for reset prior to DMA address unmap 25ac6ce65f1a mmc: uniphier-sd: Fix a resource leak in the remove function 83e9e22ba93a mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe() b7a1577a1a79 scsi: mpt3sas: Block PCI config access from userspace during reset 702cdaa2c628 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand() f1cbba5ea75b spi: spi-ti-qspi: Free DMA resources 421f24114c64 spi: stm32-qspi: fix pm_runtime usage_count counter dbaf435ddf97 erofs: add unsupported inode i_format check 34ec706bf0b7 mtd: physmap: physmap-bt1-rom: Fix unintentional stack access 706e60c19237 mtd: rawnand: atmel: Update ecc_stats.corrected counter 907452b3b6a6 mtd: spinand: core: add missing MODULE_DEVICE_TABLE() cb5305ac5bac Revert "mtd: spi-nor: macronix: Add support for mx25l51245g" 2e41cc10660e mtd: spi-nor: core: Fix an issue of releasing resources during read/write 4c44c136f2fa fs/epoll: restore waking from ep_done_scan() 6b5aeb69bb9f ecryptfs: fix kernel panic with null dev_name 3ad1fb97619b arm64: dts: mt8173: fix property typo of 'phys' in dsi node 6c2f97f3887f arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node 011b9e1c2a18 ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld 634684d79733 ftrace: Handle commands when closing set_ftrace_filter file d11fdbee28af ACPI: custom_method: fix a possible memory leak 62dc2440ebb5 ACPI: custom_method: fix potential use-after-free issue 58a762a7f3be tpm: acpi: Check eventlog signature before using it 3b8b6399666a vhost-vdpa: fix vm_flags for virtqueue doorbell mapping 026499a9c2e0 s390/zcrypt: fix zcard and zqueue hot-unplug memleak e534a4b139a8 s390/disassembler: increase ebpf disasm buffer size 90402b6b45f3 dyndbg: fix parsing file query without a line-range suffix ed9cfd60c787 nitro_enclaves: Fix stale file descriptors on failed usercopy a1d2bd164c1c bus: mhi: core: Sanity check values from remote device before use bcb80329e815 bus: mhi: core: Clear configuration from channel context during reset 542fd3e4fde6 bus: mhi: core: Fix check for syserr at power_up
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 86bac399136de151c2b33e715fd8d810707c431c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Mon, 17 May 2021 22:16:53 +0000 (18:16 -0400)]
linux-yocto/5.10: update to v5.10.35
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
f53a3a480862 Linux 5.10.35 94c76056fc3f vfio: Depend on MMU 4348d3b5027b perf/core: Fix unconditional security_locked_down() call 399f9c18473c platform/x86: thinkpad_acpi: Correct thermal sensor allocation ac2cd82c7609 USB: Add reset-resume quirk for WD19's Realtek Hub d844aaa49ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet 59b3f88386b5 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX 27c1936af506 ovl: allow upperdir inside lowerdir 71d58457a8af ovl: fix leaked dentry 2fa0387fa2d0 nvme-pci: set min_align_mask f8e71c667ee1 swiotlb: respect min_align_mask 85a5a6875ca9 swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single 25ed8827cfbf swiotlb: refactor swiotlb_tbl_map_single 9efd5df078a7 swiotlb: clean up swiotlb_tbl_unmap_single 1f2ef5a0f771 swiotlb: factor out a nr_slots helper 1bbcc985d195 swiotlb: factor out an io_tlb_offset helper 22163a8ec863 swiotlb: add a IO_TLB_SIZE define 2e8b3b0b8e2d driver core: add a min_align_mask field to struct device_dma_parameters 6995512a472f tools/cgroup/slabinfo.py: updated to work on current kernel a7c37332afa8 perf ftrace: Fix access to pid in array when setting a pid filter fb4c1c2e9fd1 capabilities: require CAP_SETFCAP to map uid 0 b571a6302a64 perf data: Fix error return code in perf_data__create_dir() 48ec949ac979 net: qrtr: Avoid potential use after free in MHI send 2fa15d61e4cb bpf: Fix leakage of uninitialized bpf stack under speculation 2cfa537674cd bpf: Fix masking negation logic upon negative dst register a41c193d004e igb: Enable RSS for Intel I211 Ethernet Controller 2e68890993d0 net: usb: ax88179_178a: initialize local variables before use d3598eb3915c netfilter: conntrack: Make global sysctls readonly in non-init netns c239bfc2e4ac mips: Do not include hi and lo in clobber list for R6
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 767e6755740204981e5789b7a3066eac855605e8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Joshua Watt [Wed, 2 Jun 2021 02:36:48 +0000 (21:36 -0500)]
classes/reproducible_build: Use atomic rename for SDE file
If an existing source date epoch file was found during do_unpack, it was
deleted and a new one would be written in its place. This causes a race
with check-before-use code in get_source_date_epoch_value. Resolve the
problem by making do_unpack write the new source date epoch to a
temporary file, then do an atomic rename to ensure it's always present,
and change the check-before-use code to use a EAFP exception instead of
checking for file existence.
[YOCTO #14384]
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0b5e3b33187bf78a2d62cc886463e4b27d6bd228) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Several of the valgrind tests (particulaly helgrind) are unreliable and
can fail with a different output.
Particularly, there is a higher chance of failure on QEMU instances with
SMP enabled and on systems with more interrupts such as laptops on powersave.
The tests have been reported upstream as being unreliable dating back
over 5 years, due in part to the ordering of threads during
an "unwinding" process in helgrind.
https://bugs.kde.org/show_bug.cgi?id=345121
https://bugs.kde.org/show_bug.cgi?id=430321
A workaround to improve the reliability of such tests is to force them
to run on a single CPU core using taskset. This greatly reduces the
chance of a failure.
>From my testing, I have found it can help reduce the rate of failures
on both a laptop and QEMU by over 5x. Stress-testing in QEMU for several
hours did not result in a failure while running the test normally did.
The flaky or undeterministic thread-based tests are defined in the
taskset_nondeterministic_tests file. These test cases will be run with
taskset 0x00000001 to run on a single CPU core rather then the regular
test.
The edited run-ptest executes the flaky tests first, then ignores them
to not duplicate the results from the main tests. Everything modified is
restored when testing is complete.
The drawback is that this isn't a foolproof solution. It helps the tests
fail much less frequently, and considering how this issue has been documented
for a long time, a workaround such as this is needed.
Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b318944dd72ca7b0408e955f3599381ab3ac3ba8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Kai Kang [Tue, 8 Jun 2021 08:36:39 +0000 (16:36 +0800)]
valgrind: fix a typo
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0478d9b04d6a6d10e439116b23b641a1e2553e26) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Thu, 27 May 2021 13:59:22 +0000 (14:59 +0100)]
oeqa/runtime/rpm: Drop log message counting test component
This test is flawed since multiple parts of the system can write to the log
and we obtain different numbers of log messages depending on factors we
can't control.
Drop the log testing component of the test.
[YOCTO #12465]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nikolay Papenkov [Tue, 25 May 2021 11:23:26 +0000 (11:23 +0000)]
flex: correct license information
License-Update: Corrected license information
flex package is under two licenses:
- "BSD-3-Clause" is provided in top-level COPYING file; the license
actually include third obligation (without the actual "3" numbering)
- "LGPL-2.0+" is explained by src/gettext.h
Signed-off-by: Dmitry Kisil <d.kisil@inango-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sakib Sajal [Sun, 30 May 2021 23:23:19 +0000 (19:23 -0400)]
qemu: Exclude CVE-2020-3550[4/5/6] from cve-check
CVE's affect ESP (NCR53C90) part of chip STP2000 (Master I/O).
On Sparc32 it is the NCR89C100 part of the chip.
On Macintosh Quadra it is NCR53C96.
Both are not supported by yocto.
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 6 May 2021 17:12:32 +0000 (07:12 -1000)]
cve-extra-exclusions.inc: add exclusion list for intractable CVE's
The preferred methods for CVE resolution are:
1. Version upgrades where possible
2. Patches where not possible
3. Database updates where version info is incorrect
4. Exclusion from checking where it is determined that the CVE
does not apply to our environment
In some cases none of these methods are possible. For example the
CVE may be decades old with no apparent resolution, and with broken
links that make further research impractical. Some CVEs are vauge
with no specific action the project can take too.
This patch creates a mechanism for users to remove this type of
CVE from the cve-check results via an optional include file.
Based on an initial patch from Steve Sakoman <steve@sakoman.com>
but extended heavily by RP.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 9 May 2021 17:44:27 +0000 (18:44 +0100)]
grub2: Add CVE whitelist entries for issues fixed in 2.06
We're using a pre-release version of 2.06 so these issues are fixed but
continue to show up in the checks since it is pre-2.06 and the CPE
entries are "before but excluding 2.06".
Adding these will clean up CVE reports until the 2.06 release comes out.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Daniel McGregor [Tue, 18 May 2021 22:09:29 +0000 (16:09 -0600)]
lib/oe/gpg_sign.py: Fix gpg verification
A stray space made it into the command for verifying gpg signatures.
This caused verification to fail, at least on my host. Removing the
space makes it work as expected.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stefan Ghinea [Mon, 17 May 2021 17:38:47 +0000 (20:38 +0300)]
boost: fix do_fetch failure
Bintray service has been discontinued causing boost do_fetch to fail:
WARNING: boost-1.76.0-r0 do_fetch: Failed to fetch URL
https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.bz2,
attempting MIRRORS if available
RP: Backport to 1.75.0 Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rootfs_update_timestamp is run, which assumes that rootfs/${sysconfdir}
is already created (usually done through the do_rootfs task on linux).
This causes the build to fail if ${sysconfdir} does not exist.
This may be overlooked if debug-tweaks is enabled since some other
commands are added, one of which creates the required path
(see postinst_enable_logging).
We've seen three hangs in cgroup_xattr and two in proc01 so far. The new
plan is just to disable any tests seen to hang. I've had enough of these
causing problems on our testing infrastructure.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tony Tascioglu [Thu, 20 May 2021 21:45:42 +0000 (17:45 -0400)]
libxml2: Fix CVE-2021-3541
Upstream commit:
This is related to parameter entities expansion and following
the line of the billion laugh attack. Somehow in that path the
counting of parameters was missed and the normal algorithm based
on entities "density" was useless.
This relies on an updated version of xinclude.c from upstream which
also adds several new tests. Those changes are brought in first so
that the CVE patch can be applied cleanly.
The first patch updates xinclude.c and adds the new tests from
upstream, and the second applies the fix for the CVE.
Tony Tascioglu [Fri, 14 May 2021 13:14:50 +0000 (09:14 -0400)]
libxml2: fix CVE-2021-3537
Parsing specially crafted Mixed Content while parsing XML data may
lead to invalid data structure being created, as errors were not
propagated. This could lead to several NULL Pointer Dereference when
post-validating documents parsed in recovery mode.
Bastian Krause [Wed, 12 May 2021 10:22:39 +0000 (12:22 +0200)]
ccache: add packageconfig docs option
Before, ccache's configure stage built HTML documentation and man pages
depending on if asciidoc is installed. This patch makes it configurable.
Pass the new cmake option ENABLE_DOCUMENTATION along and add the
asciidoc dependency if necessary.
This fixes an issue when ccache's configure stage found asciidoc/a2x on
the system outside of the sysroot (e.g. installed via 'apt install
asciidoc'). ccache would then decide to build docs and manual pages, but
would fail during compilation: the system's a2x could not find the
system's asciidoc because it did not reside in the set PATH.
By enabling/disabling docs/man page generation explicitly and adding
asciidoc to DEPENDS as necessary, this is no longer an issue.
[ This corresponds to commit b0aedd74 and parts of commit 1eedc5f8,
with the patch replaced by the upstream version. ]
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 14 May 2021 17:06:56 +0000 (18:06 +0100)]
sstate: Handle manifest 'corruption' issue
Under certain build patterns, warnings about missing manifests can appear. These
are real issues where the manifest was removed and shouldn't have been.
Martin Jansa was able to find a reproducer of:
MACHINE=qemux86 bitbake zlib-native
echo 'PR = "r1"' >> meta/recipes-core/zlib/zlib_1.2.11.bb
MACHINE=qemux86-64 bitbake zlib-native
MACHINE=qemux86 bitbake zlib-native
<the zlib-native manifest is now removed along with the sysroot-components contents>
The code maintains a per machine list of stamps but a per PACAGE_ARCH list of
stamp/manifest/workdir mappings. The latter is only appended to for speed with
the assumption that once stamps are gone, the code wouldn't trigger.
The code only ever appends to the mapping list (for speed/efficency under lock)
meaning that multiple entries can result where the stamp/workdir differs due to
version changes but the manifest remains the same.
By switching MACHINE part way through the build, the older stamp is referenced
and the manifest is incorrectly removed as it matches an now obsolete entry in
the mapping file.
There are two possible fixes, one is to rewrite the mapping file every time
which means adding regexs, iterating and generally complicating that code. The
second option is to only use the last mapping entry in the file for a given
manifest and ignore any earlier ones. This patch implments the latter.
Also drop the stale entries if we are rewriting it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ends up with one process growing to about the size of system memory
and triggering the OOM killer. This has been taking out other builds
running on the system on the autobuilders and is one cause of our
intermittent failures.
although other glibc tests appear to use 16GB of memory before failing
anyway. By capping the VM size to 8GB, we see the same number of failures
but no OOM situations. There may be some issue in qemu or the test which
could be improved to avoid this entirely but this provides a necessary
and useful safeguard to other builds and doensn't appear to make the
situation worse.
On a loaded system OOM may not occur as the test timeout may be triggered
first. An experiment with a 5GB limit showed an additional 7 failures.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 11 May 2021 13:13:08 +0000 (14:13 +0100)]
tiff: Exclude CVE-2015-7313 from cve-check
Some fix upstream addresses the issue, it isn't clear which change this was. Our
current version doesn't have issues with the test image though so we can exclude.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 10 May 2021 15:30:56 +0000 (16:30 +0100)]
jquery: Exclude CVE-2007-2379 from cve-check
The CVE is non-specific and depends on the users of jquery, doesn't
make sense to have this flagged against jquery as there is nothing we can
do about it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 10 May 2021 11:17:15 +0000 (12:17 +0100)]
qemu: Exclude CVE-2017-5957 from cve-check
The CVE applies to virglrender before 0.6.0 which we don't have.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b5355375d028577de0b98e05992de6a088cb972) Signed-off-by: Steve Sakoman <steve@sakoman.com>
These CVEs are disputed by upstream and there is no plan to fix/address them. No
other distros are carrying patches for them. There is a patch for 1010025
however it isn't merged upstream and probably carries more risk of other bugs
than not having it.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
it is introduced by a commit to fix CVE. So remove option '-O2' from
CFLAGS rather than revert the commit to avoid the failure.
[YOCTO #14367]
CC: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69805629b8f47fd46a37b7c5cc435982e2ac3d1d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
libcap: Configure Make variables correctly without a horrible hack
Occasionally, the build would fail with:
make[2]: execvp: mkdir: Argument list too long
This turned out to be due to a hacky solution used in the recipe to
modify the Makefile, which resulted in one more $(BUILD_CFLAGS) being
added to the immediately expanded BUILD_CFLAGS Make variable each time
do_configure was executed. After a couple of times, this lead to an
environment with a 140 kB BUILD_CFLAGS when mkdir should execute, which
resulted in the E2BIG.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 116e6b61c585c6f0f7ae6f010bd490bb39914348) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
lttng-modules: backport patches to fix build against 5.12+ kernel
Add the following patches from stable-2.12 branch of lttng repository
to fix errors when building lttng-modules against 5.12+ kernel
since they are not present on the release 2.12.5:
- 17cd2dc9 fix: block: add a disk_uevent helper (v5.12)
- 127135b6 fix backport: block: add a disk_uevent helper (v5.12)
- 853d5903 fix: mm, tracing: kfree event name mismatching with
provider kmem (v5.12)
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2538ba2b3490e3599d9ccd637aa8486ea428f1b0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Fri, 7 May 2021 16:22:57 +0000 (12:22 -0400)]
linux-yocto/5.4: qemuppc32: reduce serial shutdown issues
Integrating the following commit(s) to linux-yocto/5.4:
qemuppc32: reduce serial issues seen on shutdown
Richard reported:
We've been seeing a lot of the qemuppc shutdown issue and I decided to
look into it. The really worrying thing looking at the logs locally is the
serial ports are showing irq issues and becoming disabled as nobody would
handle them.
This is problematic as the shutdown test uses the serial interface to
shut down the system. If the serial interface fails to login or run the command,
game over for the test.
CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
any output or capabilities that we need. So we disable it here, and
reduce the chances of issues during shutdown.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 42355cb73049ee7a4af0f539a2a5b7d4ee1abc65) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Sun, 9 May 2021 09:59:44 +0000 (10:59 +0100)]
oeqa/qemurunner: Improve handling of run_serial for shutdown commands
When running a shutdown command, the serial port can close without the
command returning. This is seen as the socket being readable but having
no data. Change the way this case is handled in the code to avoid
tracebacks.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 396a3ba884820d040c91f7592daf20ac28c49b5d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Fri, 7 May 2021 17:12:15 +0000 (18:12 +0100)]
oeqa/qemurunner: Fix binary vs str issue
The recent logging changes for qemurunner showed up as errors on the
autobuilder where decode couldn't be called on the returned string.
Since the code returns binary data, return b'' instead of '' to match
to avoid tracebacks.
One of these cases was newly added, copied from the other which has
been there for a long time, always broken.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b8995b27db265b0a0b2d2ca595915f70f9f96e07) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Wed, 5 May 2021 18:15:29 +0000 (19:15 +0100)]
oeqa/qemurunner: Improve logging thread exit handling for qemu shutdown test
Rather than totally disabling the logging, inform it we're about to exit
so we can log messages over the exit cleanly too. This aids debugging. It
also avoids a race where the logging handler could still error whilst
shutting down.
Also remove a race window by notificing the handler of the shutdown
first, before triggering it. This removes a race window I watched in
local testing.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e19f31a1005f94105e1cef252abfffcef2aafad) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
sanity.bbclass: mention CONNECTIVITY_CHECK_URIS in network failure message
This expands the error message when a network failure is detected.
It happens that some ISPs or networks block the default example.com
domain. Therefore, instead of disabling network access, it
lets the user know how to modify the test URL.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 62c94bb925543c1e1c5af3c751913d9f06d9597d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Yi Fan Yu [Fri, 23 Apr 2021 14:59:53 +0000 (10:59 -0400)]
libevent: Increase ptest timing tolerance 50 ms -> 100 ms
Adjusting the tolerance to a more reasonable time
given the load on the AB and given the high amount(100) of
events some of the tests like `common_timeout` generates.
[YOCTO #14163]
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38b36d2b90d570149e63816e68f457aea28a5092) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Joshua Watt [Wed, 5 May 2021 21:40:06 +0000 (16:40 -0500)]
classes/image: Use xargs to set file timestamps
Instead of having find directly invoke touch for each file in the root
file system, pass a list to xargs for batching. This significantly
reduces the number of times the touch program is invoked and speeds up
the do_image task time:
Bruce Ashfield [Thu, 6 May 2021 12:57:21 +0000 (08:57 -0400)]
linux-yocto/5.10: qemuppc32: reduce serial shutdown issues
Integrating the following commit(s) to linux-yocto/5.10:
qemuppc32: reduce serial issues seen on shutdown
Richard reported:
We've been seeing a lot of the qemuppc shutdown issue and I decided to
look into it. The really worrying thing looking at the logs locally is the
serial ports are showing irq issues and becoming disabled as nobody would
handle them.
This is problematic as the shutdown test uses the serial interface to
shut down the system. If the serial interface fails to login or run the command,
game over for the test.
CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
any output or capabilities that we need. So we disable it here, and
reduce the chances of issues during shutdown.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf2c6ea03d45742597275691b4c883044765c57e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Wed, 5 May 2021 21:13:10 +0000 (22:13 +0100)]
lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts
If the scripts/postinst-intercepts is owned by root/root then the copyfile() calls
will fail due to chown issues. We don't care about ownership of these files so
use shutil.copy() instead which won't perform any chown.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a03c70c282b3445b93a4c70ea6d40a1778750c5) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Revert "oeqa: Set LD_LIBRARY_PATH when executing native commands"
LD_LIBRARY_PATH leaks into host executables too, and breaks them
as they are not uninative-enabled. E.g. on ubuntu 18.04 trying
to run host bash with a sysroot that was built on Fedora 33:
akanavin@ubuntu1804-ty-3:/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-24341/tmp/work/x86_64-linux/gnupg-native/2.3.1-r0/recipe-sysroot-native$ LD_LIBRARY_PATH=./usr/lib /bin/bash
/bin/bash: ./usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./usr/lib/libtinfo.so.5)
This was seen e.g. here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2090/steps/14/logs/stdio
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e9850486b74a3de934527ca1077df001d3a8d22) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ross Burton [Tue, 4 May 2021 12:57:40 +0000 (13:57 +0100)]
oe-buildenv-internal: add BitBake's library to PYTHONPATH
There are many Python scripts in oe-core that want to use Tinfoil, and
right now they have to know where they are to work out where BitBake is
likely to be.
This is suboptimal as BitBake could be somewhere else, so this
approach doesn't scale to other layers at all.
Solve this by adding BITBAKEDIR/lib to PYTHONPATH in oe-buildenv-internal,
so that Python has BitBake on its search path once the build system is
configured.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a48178f6d00e7f97a09f42d5a164204e9dcffa9f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Mon, 3 May 2021 12:54:33 +0000 (08:54 -0400)]
linux-yocto/5.4: update to v5.4.116
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
370636ffbb86 Linux 5.4.116 e23967af130b bpf: Update selftests to reflect new error states ef4e68f0af04 bpf: Tighten speculative pointer arithmetic mask 4dc6e55e282f bpf: Move sanitize_val_alu out of op switch 876d1cec9369 bpf: Refactor and streamline bounds check into helper 4158e5fea3b1 bpf: Improve verifier error messages for users 15de0c537bf7 bpf: Rework ptr_limit into alu_limit and add common error path f7fbedc90909 bpf: Ensure off_reg has no mixed signed bounds for all types 4a163b1c7053 bpf: Move off_reg into sanitize_ptr_alu 19bfeb47e96b Linux 5.4.115 af7099bad495 USB: CDC-ACM: fix poison/unpoison imbalance d7fad2ce15bd net: hso: fix NULL-deref on disconnect regression 699017fe0de4 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access b3962b4e8334 ia64: tools: remove duplicate definition of ia64_mf() on ia64 763cbe5e1ebb ia64: fix discontig.c section mismatches 3dce9c4bb546 csky: change a Kconfig symbol name to fix e1000 build error 892f6bc55746 cavium/liquidio: Fix duplicate argument 2ccca124620e xen-netback: Check for hotplug-status existence before watching 78687d6a3213 s390/entry: save the caller of psw_idle 026490fac496 net: geneve: check skb is large enough for IPv4/IPv6 header caaf9371ecad ARM: dts: Fix swapped mmc order for omap3 be60afbb9136 HID: wacom: Assign boolean values to a bool variable 116ee59ef886 HID: alps: fix error return code in alps_input_configured() a4e2b91cea52 HID: google: add don USB id aefb6ac6ac11 perf auxtrace: Fix potential NULL pointer dereference 39638289595b perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[] 319a06e58ed7 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3 82808cc02681 locking/qrwlock: Fix ordering in queued_write_lock_slowpath() c6eb92b37af1 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS 37ee803d7ed7 pinctrl: lewisburg: Update number of pins in community dbb355960ef9 gpio: omap: Save and restore sysconfig 835c8d688e1e s390/ptrace: return -ENOSYS when invalid syscall is supplied
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 667352cc46429f3d8eca12cf93c26be2d26e5d74) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Mon, 3 May 2021 12:54:32 +0000 (08:54 -0400)]
linux-yocto/5.10: update to v5.10.34
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
0aa66717f684 Linux 5.10.34 47d54b990103 mei: me: add Alder Lake P device id. 2a442f11407e iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd() 8bd8301ccc11 Linux 5.10.33 8a661bad6cee USB: CDC-ACM: fix poison/unpoison imbalance 90642ee9eb58 net: hso: fix NULL-deref on disconnect regression 31720f9e87c0 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access bed21bed2e79 ia64: tools: remove duplicate definition of ia64_mf() on ia64 ba0910ad1c57 ia64: fix discontig.c section mismatches f4a777bcc8d1 csky: change a Kconfig symbol name to fix e1000 build error 393200a1b095 kasan: fix hwasan build for gcc f2b46286e326 cavium/liquidio: Fix duplicate argument 1bfefd866195 xen-netback: Check for hotplug-status existence before watching 509ae27a1874 arm64: kprobes: Restore local irqflag if kprobes is cancelled da99331fc6ce s390/entry: save the caller of psw_idle d33031a894d2 dmaengine: tegra20: Fix runtime PM imbalance on error 66d0cf7dcaa1 net: geneve: check skb is large enough for IPv4/IPv6 header 6ce64437224d ARM: dts: Fix swapped mmc order for omap3 db010ba54a96 dmaengine: xilinx: dpdma: Fix race condition in done IRQ e8d9a93ec46e dmaengine: xilinx: dpdma: Fix descriptor issuing on video group eb2c81ee764d soc: qcom: geni: shield geni_icc_get() for ACPI boot 8c4bfe30eb55 HID: wacom: Assign boolean values to a bool variable e913cbc952c3 HID cp2112: fix support for multiple gpiochips f691dc86411d HID: alps: fix error return code in alps_input_configured() 079e32723f78 HID: google: add don USB id ffe249b4fc2c perf map: Fix error return code in maps__clone() 4d0cfb3713bc perf auxtrace: Fix potential NULL pointer dereference ab112cc573cc perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[] 6f8315e5d951 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3 82fa9ced35d8 locking/qrwlock: Fix ordering in queued_write_lock_slowpath() b642e493a9a0 bpf: Tighten speculative pointer arithmetic mask 2982ea926b5c bpf: Refactor and streamline bounds check into helper f3c4b01689d3 bpf: Allow variable-offset stack access f79efcb0075a bpf: Permits pointers on stack for helper calls edc5d1601389 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS 83d93d05376a pinctrl: core: Show pin numbers for the controllers with base = 0 fc2454cc0c4b block: return -EBUSY when there are open partitions in blkdev_reread_part 2bbd8aafde36 pinctrl: lewisburg: Update number of pins in community a8cd07e4400d vdpa/mlx5: Set err = -ENOMEM in case dma_map_sg_attrs fails bf84ef2dd2cc KEYS: trusted: Fix TPM reservation for seal/unseal 9857fccd653c gpio: omap: Save and restore sysconfig 71777492b745 vhost-vdpa: protect concurrent access to vhost device iotlb
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2cfc4489c14f8d1ec2c6fc2aa411d158058f5aea) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>