xserver-xorg: exclude development snapshots from upstream version checks
Standalone X is still winding down; there's no commitment or plan for a proper release.
https://lists.freedesktop.org/archives/xorg/2021-July/060726.html
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 7 Jul 2021 09:04:14 +0000 (10:04 +0100)]
glib-2.0: fix g-file-into modification time test
The GFileInfo modification time test assumed that the difference between
a modification timestamp in seconds and in microseconds must be greater
than 0.
Mathmatically, there's a one-in-a-million chance that it will be 0. It
turns out that one-in-a-million chances happen approximately once every
fortnight on the autobuilder.
[ YOCTO 14373 ]
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 7 Jul 2021 10:08:41 +0000 (11:08 +0100)]
glibc-testsuite: Fix build failures when directly running recipe
If you try and run the glibc-testsuite's build task, you see failures
as do_populate_sysroot can't work. We don't have a do_install, get
rid of do_populate_sysroot as well.
The recipe is not included in world builds by default which is why
we don't see the issue more widely.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 7 Jul 2021 10:08:41 +0000 (11:08 +0100)]
runqemu: Remove potential lock races around tap device handling
The qemu tap device handling is potentially race ridden. We pass the
fd to the main qemu subprocess which is good as it means the lock is held
as long as the qemu process exists. This means we shouldn't unlock it
ourselves though, only close the file. We also can't delete the file
as we have no idea if qemu is still using it. We could try and obtain
an exclusive new lock, then the file would be safe to unlink but it
doesn't seem worth it.
Also fix the same issue in the port lock code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andreas Müller [Mon, 5 Jul 2021 18:42:59 +0000 (20:42 +0200)]
pango: upgrade 1.48.5 -> 1.48.7
Overview of changes in 1.48.7
=============================
- Fix a thread-safety issue in fontmap initialization
- Small documentation improvements
Overview of changes in 1.48.6
=============================
- Avoid attribute index overflow
- Add a new pango-segmentation utility
- Documentation cleanups and fixes
- Update script property data for gravity
- Bring back careful glyph position rounding
- Add a few missing bidi types
- Add more tests
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andreas Müller [Mon, 5 Jul 2021 18:42:58 +0000 (20:42 +0200)]
mesa: upgrade 21.1.3 -> 21.1.4
Bug fixes
* [anv] GravityMark (benchmark) crashes on ANV
* [opengl] We happy few not being rendered correctly
* Factorio: GPU hang when opening machine inventory
* RuneScape on Mesa 21.1.1 (VEGA10) has bad performance and leaks memory
* Supraland: flickering black bars on ground
* radv: GPU hang in Cyberpunk 2077 on Big Navi
* [amdgpu][renoir][rx5500m]: [drm:0xffffffff8198ad5e] *ERROR* ring gfx timeout, signaled seq=10952, emitted seq=10954
* [spirv-fuzz] SPIR-V parsing FAILED: Invalid back or cross-edge in the CFG
* panfrost Mount and Blade: Warband (glitches)
* anv: dEQP-VK.robustness.robustness2*no_fmt_qual.null_descriptor.samples* fail
Changes
* util/fossilize_db: Pull seek into lock.
* util/fossilize_db: Split out reading the index.
* util/fossilize_db: Do not lock the fossilize db permanently.
* spirv: Fix handling of OpBranchConditional with same THEN and ELSE
* nir/opt_if: Don’t split ALU for single block infinite loops
* llvmpipe: Add handle export for resource_get_param
* i965: fix regression in pipe control on g45
* pick_status.json: Update to 977355c6e5efd781dde85d834172dd23cd4852f1
* pick_status.json: Update to 40b67a292297606f0a7576e3ef4087028d5edd17
* zink: do not unmap dt-buffers twice
* zink: drop repeated usage-bit
* zink: do not check buffer-format for usage-bits
* zink: remove unused moltenvk functions
* libgl-gdi: add missing include
* aux/trace: fix bool argument
* ci/windows: work around meson encoding issues
* intel/fs: Teach IR about EOT instruction writing the accumulator implicitly on TGL+.
* intel/fs: Fix synchronization of accumulator-clearing W/A move on TGL+.
* pan/mdg: Add a bundle ID to instructions
* pan/mdg: Reorder some code in mir_spill_register
* pan/mdg: Fill from TLS before spilling non-SSA nodes
* pan/mdg: Fix reading a spilt register in the bundle it’s written
* pan/mdg: Add 16 bytes of padding to the end of shaders
* intel/nir: Fix txs for null surfaces
* spirv: Create acceleration structure and shader record variables
* nv50/ir: fix surface lowering when values get shared accross operations
* anv: Fix dynamic primitive topology for tess on Gfx7.x too
* anv: allocate bigger batches as we grow command buffers
* mesa: unreference zombie buffers when creating buffers to lower memory usage
* compiler/glsl: Use mutex lock while freeing up mem_ctx
* anv: fix dynamic primitive topology for tess
* zink: handle custom border color without matching wrap mode case
* radeonsi: skip instance_count==0 draws on <= GFX9
* radeonsi: disable ngg culling on llvm < 12
* radv: reject binding buffer/image when the device memory is too small
* radv: always decompress both aspects of a depth/stencil image
* amd/addrlib: remove Meson debug message()
* radeon/vcn/enc: Add missing line to HEVC SPS header code
* util: add work around for the game We Happy Few
* ac/nir: Update TCS output barriers with nir_var_mem_shared.
* radv/llvm: Emit s_barrier at the beginning of NGG non-GS shaders.
* aco/gfx10: NGG zero output workaround for conservative rasterization.
* aco/gfx10: Emit barrier at the start of NGG VS and TES.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 5 Jul 2021 17:04:21 +0000 (18:04 +0100)]
util-linux: rewrite the ptest integration
Instead of duplicating logic, we can use the run.sh that the test suite
installs.
Unless told otherwise, the util-linux test suite assumes that it is
running in a build tree and looks for binaries to run, but we're on
target so pass --use-system-commands (drops ~180 skips to tens).
Add --show-diff so that debugging can be done from the logs alone.
Remove redundant path manipulation that is now done upstream.
If PAM is disabled, delete the chfn test: it will run the chfn from
shadow which has different output, and the test will fail.
[ YOCTO #14244 ]
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previouly there is a logic as below used to set libpth in config.sh.
libpth='@LIBDIR@ @BASELIBDIR@'
But after the below commits introduced, the above logic is dropped. 52f2828314 perl: add a version that builds the recipe using perl-cross, and update to 5.28.1 68552c3532 perl: remove the previous version of the recipe
So correct the value of libpth and glibpth to add the dropped logic
back to avoid confusing.
Before the patch(on 64bits system):
# perl -V:libpth
libpth='/usr/lib /lib';
After the patch(on 64bits system):
# perl -V:libpth
libpth='/usr/lib64 /lib64';
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop texinfo-4.12-zlib.patch as it completely lacks a description,
was added together with the original recipe without an explanation in
the commit message, and is difficult to rebase.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 6 Jul 2021 11:06:24 +0000 (12:06 +0100)]
oeqa/selftest/multiprocesslauch: Fix test race
Having two possible failures in multiprocesslauch creates a race where one failure
may occur and stop processes being lanuched meaning the second failure may not
be seen. Rather than having periodic races appearing on the autobuilder, only
have one failure, making the test much more deterministic.
[YOCTO #13054]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 6 Jul 2021 10:36:16 +0000 (11:36 +0100)]
dwarfsrcfiles: Avoid races over debug-link files
We use dwarfsrcfiles in package.bbclass to list the source files used by a binary.
This is done before they're stripped and linked to debug symbols in separate files.
It is possible a binary may already have a link to separate debug symbols, e.g.
some of the test binaries in lttng-tools ptest. In those cases, the linked binary
may be changed by package.bbclass code whilst dwarfsrcfiles is reading it. That
would result in a rare SIGBUS race causing the binary to fail.
To avoid this, break the debug file search path so no other binaries are found.
Also fix a segfault if no binary is specified while here.
[YOCTO #14400]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gstreamer: add libgst packages to PACKAGES_DYNAMIC
This allows the dynamic libgst* plugin packages and libgstrtspserver-1.0
to be used correctly in RDEPENDS.
All gstreamer1.0-plugins-* recipes and gstreamer1.0-rtsp-server include
gstreamer1.0-plugins-packaging.inc, which creates multiple libgst*
packages through split_gstreamer10_packages(), but only one of the
do_split_packages() regexes was included in PACKAGES_DYNAMIC, and only
for the plugins packages (through gstreamer1.0-plugins-common.inc).
Now the PACKAGES_DYNAMIC definition exists with the do_split_packages()
regexes.
Signed-off-by: Kyle Russell <bkylerussell@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 2 Jul 2021 15:13:48 +0000 (11:13 -0400)]
linux-yocto: introduce 5.13 recipes
5.13 will be the next release/reference kernel (matched with a
libc-headers version bump), this commit creates the recipes, but
does not make it the default kernel (yet).
This has been built and booted on all supported qemu platforms,
as well as with musl and glibc based userspace stacks. Full
core-image-kernel-dev, sato and minimal images have been
tested and show no obvous issues (either locally or on the
autobuilder).
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 2 Jul 2021 15:13:46 +0000 (11:13 -0400)]
kernel-devsrc: fix scripts prepare for powerpc
5.13 introduces some new tweaks required to get on target scripts
and prepare working for powerpc:
- 'nm' is detected as 'nm --synthetic', so we adjust our replacement
- more vdso is required on target, so we copy those files (like arm64
does)
- grep is required during processing, so we add it to the redpends
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 2 Jul 2021 15:13:43 +0000 (11:13 -0400)]
linux-yocto/5.10: scsi-debug needs scsi-disk
It was pointed out that the default scsi-debug feature didn't behave
the same as other distros, since it doesn't have disk supporrt enabled.
We already have a disk.cfg for scsi so we include it into the debug
fragment to get the support we want.
Integrating the following commit(s) to linux-yocto/.:
Bruce Ashfield [Fri, 2 Jul 2021 15:13:42 +0000 (11:13 -0400)]
linux-yocto/5.4: update to v5.4.129
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
82ffbc138a1f Linux 5.4.129 9011aaab90b8 certs: Move load_system_certificate_list to a common function e20b90e4f81b certs: Add EFI_CERT_X509_GUID support for dbx entries 06ab9df09eb3 x86/efi: move common keyring handler functions to new file ac7d3f554472 certs: Add wrapper function to check blacklisted binary hash 61168eafe024 mm, futex: fix shared futex pgoff on shmem huge page a33b70d62552 mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk() e045e9e79d2a mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes 037a1d67d236 mm: page_vma_mapped_walk(): get vma_address_end() earlier fa89d536948a mm: page_vma_mapped_walk(): use goto instead of while (1) a499febd9935 mm: page_vma_mapped_walk(): add a level of indentation b1783bf8c8e4 mm: page_vma_mapped_walk(): crossing page table boundary 80b2270a14b8 mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block ef161ccaca70 mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd 4961160272b7 mm: page_vma_mapped_walk(): settle PageHuge on entry 52e2b20fb5e4 mm: page_vma_mapped_walk(): use page for pvmw->page 82ee7326af7a mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split bd4389215227 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page() b767134ec30a mm/thp: fix page_address_in_vma() on file THP tails 41432a8a6776 mm/thp: fix vma_address() if virtual address below file offset 4b0a34e222e5 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting bd092a0f1942 mm/thp: make is_huge_zero_pmd() safe and quicker 4c37d7f269f8 mm/thp: fix __split_huge_pmd_locked() on shmem migration entry 7ce4b73d349b mm, thp: use head page in __migration_entry_wait() 68ce37ebe0f2 mm/rmap: use page_not_mapped in try_to_unmap() 432b61863ac7 mm/rmap: remove unneeded semicolon in page_not_mapped() cfe575954ddd mm: add VM_WARN_ON_ONCE_PAGE() macro 42f11f0fe977 kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync() 06ab015d1849 kthread_worker: split code for canceling the delayed work timer d77c9c8537db i2c: robotfuzz-osif: fix control-request directions bb85717e3797 KVM: do not allow mapping valid but non-reference-counted pages d6f751ecccfb nilfs2: fix memory leak in nilfs_sysfs_delete_device_group 702acfcbfa68 pinctrl: stm32: fix the reported number of GPIO lines per bank 76c10e10ba7b net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY aa00b9780482 net: ll_temac: Add memory-barriers for TX BD access d807b93f9bca PCI: Add AMD RS690 quirk to enable 64-bit DMA 5830f2081d98 recordmcount: Correct st_shndx handling 70866199220e net: qed: Fix memcpy() overflow of qed_dcbx_params() b7168ec176fd KVM: selftests: Fix kvm_check_cap() assertion 58687d143515 r8169: Avoid memcpy() over-reading of ETH_SS_STATS cb4a2e4e224a sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS 97e0102e1824 r8152: Avoid memcpy() over-reading of ETH_SS_STATS f12a5b48bcc8 net/packet: annotate accesses to po->ifindex cdcedd3c8683 net/packet: annotate accesses to po->bind 343406f9c198 net: caif: fix memory leak in ldisc_open 8707ce86e927 net: phy: dp83867: perform soft reset and retain established link 9f2d04dfb3c4 inet: annotate date races around sk->sk_txhash d40ff07a7b7d ping: Check return value of function 'ping_queue_rcv_skb' 9df4f031536b net: ethtool: clear heap allocations for ethtool function 62aed2df294a mac80211: drop multicast fragments eb2b1216bc8f net: ipv4: Remove unneed BUG() function e0c950d2fddb dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma f7b1926c7c5d dmaengine: mediatek: do not issue a new desc if one is still current 3d995587c3ea dmaengine: mediatek: free the proper desc in desc_free handler c09af3877b53 dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe() f2c027a7750f cfg80211: call cfg80211_leave_ocb when switching away from OCB 78bf3c613148 mac80211_hwsim: drop pending frames on stop ae9de9444b54 mac80211: remove warning in ieee80211_get_sband() 0e486713779a dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc() 456367b24190 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()" 1442186236ad spi: spi-nxp-fspi: move the register operation after the clock enable 7bc73260c4b1 MIPS: generic: Update node names to avoid unit addresses 0855fe6d8835 arm64: link with -z norelro for LLD or aarch64-elf 3173390b8dbc kbuild: add CONFIG_LD_IS_LLD 3450f5eb8c9e mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk 48a5449c0be1 ARM: 9081/1: fix gcc-10 thumb2-kernel regression 4a8e89e0fd0b drm/radeon: wait for moving fence after pinning 4577708b2a22 drm/nouveau: wait for moving fence after pinning v2 c77c617e26e2 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell." 6bd0da6c9b12 Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue." e2dc07ca4e01 module: limit enabling module.sig_enforce
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 2 Jul 2021 15:13:41 +0000 (11:13 -0400)]
linux-yocto/5.10: update to v5.10.47
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
4357ae26d4cd Linux 5.10.47 1573d595e239 integrity: Load mokx variables into the blacklist keyring c6ae6f89fc4f certs: Add ability to preload revocation certs 72d6f5d982f0 certs: Move load_system_certificate_list to a common function 45109066f686 certs: Add EFI_CERT_X509_GUID support for dbx entries 0ba128fa68a4 Revert "drm: add a locked version of drm_is_current_master" 0463b49e0239 netfs: fix test for whether we can skip read when writing beyond EOF e6108147dd91 swiotlb: manipulate orig_addr when tlb_addr has offset 7570a8b5dd49 KVM: SVM: Call SEV Guest Decommission if ASID binding fails 377a796e7a71 mm, futex: fix shared futex pgoff on shmem huge page ab9d178167ea mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk() 915c3a262c49 mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes 90073aecc3cc mm: page_vma_mapped_walk(): get vma_address_end() earlier bf60fc2314b9 mm: page_vma_mapped_walk(): use goto instead of while (1) 9f85dcaf1533 mm: page_vma_mapped_walk(): add a level of indentation e56bdb397663 mm: page_vma_mapped_walk(): crossing page table boundary 8dc191ed9c5f mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block 7b55a4bcfccf mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd 1cb0b9059f9e mm: page_vma_mapped_walk(): settle PageHuge on entry 65febb41b4d6 mm: page_vma_mapped_walk(): use page for pvmw->page 825c28052b4d mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split 0010275ca243 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page() 38cda6b5ab83 mm/thp: fix page_address_in_vma() on file THP tails 37ffe9f4d7ff mm/thp: fix vma_address() if virtual address below file offset 66be14a92609 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting 6527d8ef68c3 mm/thp: make is_huge_zero_pmd() safe and quicker a8f4ea1d38ac mm/thp: fix __split_huge_pmd_locked() on shmem migration entry 32f954e961ca mm, thp: use head page in __migration_entry_wait() bfd90b56d7f6 mm/rmap: use page_not_mapped in try_to_unmap() ff81af8259bb mm/rmap: remove unneeded semicolon in page_not_mapped() a0ad7ea018e7 mm: add VM_WARN_ON_ONCE_PAGE() macro 130a1d76ee0b x86/fpu: Make init_fpstate correct with optimized XSAVE 51d8011782ed x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate() 2b35a4eaaaae kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync() bfe28af78a20 kthread_worker: split code for canceling the delayed work timer 02c303f3b9fb ceph: must hold snap_rwsem when filling inode for async create de0af2651daa i2c: robotfuzz-osif: fix control-request directions dd8ed6c9bc22 KVM: do not allow mapping valid but non-reference-counted pages 5fd0c2cf7b11 s390/stack: fix possible register corruption with stack switch helper ab5bef978038 nilfs2: fix memory leak in nilfs_sysfs_delete_device_group ace31c91fd59 scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART) b9e6c20d4c9d gpiolib: cdev: zero padding during conversion to gpioline_info_changed 0221a5a4db46 i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access 018d03fcf77a pinctrl: stm32: fix the reported number of GPIO lines per bank df654cd3d300 perf/x86: Track pmu in per-CPU cpu_hw_events f9e73b2967f6 net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY 1c9cf96f5652 net: ll_temac: Add memory-barriers for TX BD access bafb6cdd4f70 PCI: Add AMD RS690 quirk to enable 64-bit DMA d91c50e6a678 recordmcount: Correct st_shndx handling fb71d81ccd69 mac80211: handle various extensible elements correctly 676a7cb1a96b mac80211: reset profile_periodicity/ema_ap ca0e1fefbb53 net: qed: Fix memcpy() overflow of qed_dcbx_params() 4658a8d30791 KVM: selftests: Fix kvm_check_cap() assertion e83e3c5d85a7 r8169: Avoid memcpy() over-reading of ETH_SS_STATS 992b105abf57 sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS a10856ea6066 r8152: Avoid memcpy() over-reading of ETH_SS_STATS 196b22ef6cd1 net/packet: annotate accesses to po->ifindex da8b3aeff4ad net/packet: annotate accesses to po->bind 18ed1789bbce net: caif: fix memory leak in ldisc_open edcd7594ada9 riscv32: Use medany C model for modules 47c07f919fab net: phy: dp83867: perform soft reset and retain established link f57132a887ea net/packet: annotate data race in packet_sendmsg() 9707960ecfdc inet: annotate date races around sk->sk_txhash 7293f63b7b62 net: annotate data race in sock_error() 61b132f67c0d ping: Check return value of function 'ping_queue_rcv_skb' 08c389de6d53 inet: annotate data race in inet_send_prepare() and inet_dgram_connect() c2311fd6de78 net: ethtool: clear heap allocations for ethtool function c2813d1966ba mac80211: drop multicast fragments fedc4d4f548c net: ipv4: Remove unneed BUG() function 93c2aac13b08 dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma 0f48f9277182 dmaengine: mediatek: do not issue a new desc if one is still current 63fa5b2d4b55 dmaengine: mediatek: free the proper desc in desc_free handler 78fa0f707d73 dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe() 6a07cf36064a cfg80211: call cfg80211_leave_ocb when switching away from OCB a9028333001f mac80211_hwsim: drop pending frames on stop 8cfe765afd5a mac80211: remove warning in ieee80211_get_sband() b671b9816982 dmaengine: xilinx: dpdma: Limit descriptor IDs to 16 bits 524f70b30ef8 dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig 13b245a7bd59 dmaengine: stm32-mdma: fix PM reference leak in stm32_mdma_alloc_chan_resourc() 86f3e72dcb72 dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc() 4df9ed0edb9f perf/x86/intel/lbr: Zero the xstate buffer on allocation 56bc20e5fc64 perf/x86/lbr: Remove cpuc->lbr_xsave allocation from atomic context ca2acbd5483f locking/lockdep: Improve noinstr vs errors 59aa5c91f863 x86/xen: Fix noinstr fail in exc_xen_unknown_trap() cb83c99cf675 x86/entry: Fix noinstr fail in __do_fast_syscall_32() cf5935487594 drm/vc4: hdmi: Make sure the controller is powered in detect f73aca83fd83 drm/vc4: hdmi: Move the HSM clock enable to runtime_pm f11f9ff8a7c9 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()" 4b06ebab4a82 spi: spi-nxp-fspi: move the register operation after the clock enable 50a1312a29d1 arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required bd5d4df4dcc1 arm64: Ignore any DMA offsets in the max_zone_phys() calculation 3bbdf5a6fcd2 MIPS: generic: Update node names to avoid unit addresses 03096a46019e mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk b8fd230ae085 ARM: 9081/1: fix gcc-10 thumb2-kernel regression 3d6c4f78ec61 drm/amdgpu: wait for moving fence after pinning 694bb36aa75d drm/radeon: wait for moving fence after pinning bcfea2412f4b drm/nouveau: wait for moving fence after pinning v2 3ef0ca0ec995 drm: add a locked version of drm_is_current_master fea853aca321 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell." 1bd81429d53d Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue." 3051f230f19f module: limit enabling module.sig_enforce
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the commit(60dcb230f6 perl: split perl-cross into its own recipe)
introduced, the source files mainly come from two parts, one is from
SRI_URI during do_fetch and the other with below means during do_configure.
do_configure_prepend() {
cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S}
}
And the source files will be changed during do_compile with below
logic in Makefile.
$(CROSSPATCHED): %.applied: %.patch
patch -p1 -i $< && touch $@
And there comes build failure with below steps:
$ bitbake perl-native
It's because the source files patched twice, so check the file if patched
or not to avoid the source files patched more than one time to fix the
build failure as above.
As there is no build dependency between libubootenv and the configuration
of u-boot there is no reason to check for UBOOT_CONFIG or UBOOT_MACHINE
by adding the class uboot-config. Revert this in order to remove useless
workaround in bsp layer (meta-freescale).
Signed-off-by: Peter Bergin <peter@berginkonsult.se> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Asfak Rahman [Fri, 25 Jun 2021 06:52:57 +0000 (09:52 +0300)]
openssh: Remove temporary keys before generating new ones
Key generation may wait for user input, due to the existence of
temporary keys resulting from power interruption in the first boot.
This prevents users from login via ssh.
pulseaudio: check if NEON code can be compiled on arm
Backport a patch to check if NEON code can be compiled on arm to
fix below issue:
| /prj/tmp-glibc/work/armv5e-wrs-linux-gnueabi/pulseaudio/14.0-r0/recipe-sysroot-native/usr/lib/arm-wrs-linux-gnueabi/gcc/arm-wrs-linux-gnueabi/10.2.0/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
| 31 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
| ^~~~~
| ../pulseaudio-14.0/src/pulsecore/mix_neon.c: In function 'pa_mix_ch2_s16ne_neon':
| ../pulseaudio-14.0/src/pulsecore/mix_neon.c:38:9: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
| 38 | int32x4_t sum0, sum1;
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Tested-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Tue, 29 Jun 2021 14:57:03 +0000 (07:57 -0700)]
testimage.bbclass: Add dump-guest-memory cmd
This command takes a set of command arguments, one of which requires
a filename so use %s which the MonitorDumper will translate to a
unique filename in the dated qmp directory.
Saul Wold [Wed, 30 Jun 2021 21:17:06 +0000 (14:17 -0700)]
oeqa/dump.py: Add support for QMP command arguments
Need to ensure that the dump_dir is created correctly and available
When command arguemnts are passed construct a filename if needed and
convert the arguements to a json object to pass to QMP.
* #326: Performance tests now rely on
`pytest-perf <https://pypi.org/project/pytest-perf>`_.
To disable these tests, which require network access
and a git checkout, pass ``-p no:perf`` to pytest.
Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
zhengruoqin [Wed, 30 Jun 2021 02:52:48 +0000 (10:52 +0800)]
libffi: upgrade 3.3 -> 3.4.2
0001-Address-platforms-with-no-__int128-part2.patch
0001-Address-platforms-with-no-__int128.patch
0001-Fixed-missed-ifndef-for-__mips_soft_float.patch
0001-ffi_powerpc.h-fix-build-failure-with-powerpc7.patch
0001-powerpc-fix-build-failure-on-power7-and-older-532.patch
removed since they're included in 3.4.2
Florian Amstutz [Wed, 30 Jun 2021 12:00:12 +0000 (05:00 -0700)]
devtool: deploy-target: Fix preserving attributes when using --strip
Commit a2db4fa127a3347fc6df31f895fb0b552669119e added ${WORKDIR}/deploy-* to
PSEUDO_IGNORE_PATHS. This breaks the --strip mode since ${D} is copied to
deploy-target-stripped. Use the directory devtool-deploy-target-stripped
instead.
[YOCTO #14451]
Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sstate code tries to be careful about racing around directory creation.
In particular, the copyhardlinktree code creates the directory tree first
allowing for "already exists" errors and ignoring them, then hardlinks the
files in.
Unfortunately the sstate removal code can race against this since it
will try and remove empty directories. If there is some bad timing,
a newly created directory can be removed before it was populated, leading
to build failures.
We could try and add locking but this would damage performance, we've been
there before. It is also unclear where to actually place locks just based on
the contents of a manifest file which may cover multiple sstate install
locations for a given task.
Instead, lets disable directory removal in the problematic "shared" core
path. This could result in a few more empty directories being left on disk
but those should be harmless and better than locking hurting performance
or rare build races.
[YOCTO #13999]
[YOCTO #14379]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 30 Jun 2021 11:54:17 +0000 (12:54 +0100)]
bash: Fix a rare make race build failure
There is a rare make race that occurs in bash due to the way it constructs
certain headers and a build tool. Restructure the creation to remove
the race.
[YOCTO #14227]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fabio Berton [Mon, 28 Jun 2021 14:14:27 +0000 (15:14 +0100)]
lib/oe/package_manager: Don't ignore installation failures in install_complementary
When attempt_only flag is set to True all installation failures are
ignored. Disable attempt_only, that is the default in install function,
to raise error in install_complementary and to prevent do_populate_sdk
task to treat errors as warnings.
[RP: Historically some of our addtional packages were in bad shape and
wouldn't all install. This is no longer the case so we shouldn't need
a hack like this any longer.]
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 28 Jun 2021 14:24:07 +0000 (15:24 +0100)]
oeqa/selftest/runcmd: Tweal test timeouts
Load on the autobuilder meant we see occasionaly timeout issues with these tests.
Slightly increase the test timeouts to better reflect the real world timings we
see.
[YOCTO #14262]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Michael Ho [Mon, 28 Jun 2021 09:11:21 +0000 (11:11 +0200)]
sstate.bbclass: fix errors about read-only sstate mirrors
If a read-only sstate mirror is used in conjunction with hash equiv,
then OSError will be raised when an sstate-cache hit is achieved.
This is because sstate_task_postfunc will try to "touch" the symlinks
that point to the read-only sstate mirror when sstate_report_unihash
has changed SSTATE_PKG.
This commit adds an additional exception handler to silently mask read
only rootfs errors thrown during the touch.
The fix is also duplicated to sstate_eventhandler as the code is very
similar but it may not be needed there.
Signed-off-by: Michael Ho <Michael.Ho@bmw.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current version of ldconfig does not support RISC-V.
Let's add a patch, that adds the required constant definitions
(from upstream glibc) and the necessary case statements.
Signed-off-by: Christoph Muellner <cmuellner@linux.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
jbouchard [Mon, 28 Jun 2021 00:28:37 +0000 (20:28 -0400)]
Use the label provided when formating a dos partition
Previously the bootimg-pcbios wic plugin was not respecting
the --label option provided from the wks file. The plugin
was setting the label to 'boot'. With this fix, the --label
option is use. If no option are specified, then the default
is 'boot'.
Bruce Ashfield [Sun, 27 Jun 2021 16:50:38 +0000 (12:50 -0400)]
linux-yocto/5.4: update to v5.4.128
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4037804c5574 Linux 5.4.128 fd7c4bd58249 usb: dwc3: core: fix kernel panic when do reboot d7e403eea007 usb: dwc3: debugfs: Add and remove endpoint dirs dynamically 5babc3977565 clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940 aad8f1d88ed6 clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue 5394080643bc clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support c53cc5f9587c ARM: OMAP: replace setup_irq() by request_irq() 7d266c8a2ae8 KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read 0c2a4178d796 tools headers UAPI: Sync linux/in.h copy with the kernel sources 7381c4d0bc10 net: fec_ptp: add clock rate zero check 190ecdf53d67 net: stmmac: disable clocks in stmmac_remove_config_dt() 4f69c8930674 mm/slub.c: include swab.h 9ddeea35c47d mm/slub: fix redzoning for small allocations c0837e021d90 mm/slub: clarify verification reporting 79855be6445b net: bridge: fix vlan tunnel dst refcnt when egressing a2241e62f6b4 net: bridge: fix vlan tunnel dst null pointer dereference b6c0ab11c88f net: ll_temac: Fix TX BD buffer overwrite 6d120ab4dc39 net: ll_temac: Make sure to free skb when it is completely used a32f70e06980 drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue. dbde458378ef drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell. 92e08a5ffae9 cfg80211: avoid double free of PMSR request 01ade7c84fda cfg80211: make certificate generation more robust 05b4fdec273b dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc f3c629b164ca x86/fpu: Reset state for all signal restore failures 4f1e9bafa195 x86/pkru: Write hardware init value to PKRU when xstate is init 13c5f1f0798c x86/process: Check PF_KTHREAD and not current->mm for kernel threads 80c56699cf1a ARCv2: save ABI registers across signal handling cbb425f62df9 KVM: x86: Immediately reset the MMU context when the SMM flag is cleared 58877ce3fecd PCI: Work around Huawei Intelligent NIC VF FLR erratum a36d9bdc1917 PCI: Add ACS quirk for Broadcom BCM57414 NIC 4c90f90a91d7 PCI: aardvark: Fix kernel panic during PIO transfer 0e888c237754 PCI: aardvark: Don't rely on jiffies while holding spinlock f3b600a2b6bc PCI: Mark some NVIDIA GPUs to avoid bus reset 775c25b7a334 PCI: Mark TI C667X to avoid bus reset c7660ab8126e tracing: Do no increment trace_clock_global() by one 79894a5d75ab tracing: Do not stop recording comms if the trace file is being read 4ab1152bb778 tracing: Do not stop recording cmdlines when tracing is off 0061eff74824 usb: core: hub: Disable autosuspend for Cypress CY7C65632 6f87c0e21ad2 can: mcba_usb: fix memory leak in mcba_usb 22cba878abf6 can: j1939: fix Use-after-Free, hold skb ref while in use 776e0d16ac84 can: bcm/raw/isotp: use per module netdevice notifier c297559a2a2a can: bcm: fix infoleak in struct bcm_msg_head 35b651d6bdf3 hwmon: (scpi-hwmon) shows the negative temperature properly 8ea34be15fb5 radeon: use memcpy_to/fromio for UVD fw upload 0b445249635d pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled d7d307fb3e70 spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd() 04e5fbe604d3 ASoC: rt5659: Fix the lost powers for the HDA header 81376d3d5ede regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting 19f88ca68ccf net: ethernet: fix potential use-after-free in ec_bhf_remove 63137ea2423c icmp: don't send out ICMP messages with a source address of 0.0.0.0 c3e6fbc7ba7c bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path 87971d582c66 bnxt_en: Rediscover PHY capabilities after firmware reset 755da76ec5de cxgb4: fix wrong shift. 81de2ed06df8 net: cdc_eem: fix tx fixup skb leak a49cbb762ef2 net: hamradio: fix memory leak in mkiss_close 0f868a684376 be2net: Fix an error handling path in 'be_probe()' c14c276d7f35 net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock 3dd2aeac2e96 net: ipv4: fix memory leak in ip_mc_add1_src 7b18f289fd0b net: fec_ptp: fix issue caused by refactor the fec_devtype 4252bf6c2b24 net: usb: fix possible use-after-free in smsc75xx_bind 217395c5ab15 lantiq: net: fix duplicated skb in rx descriptor ring 5f7acbf602d8 net: cdc_ncm: switch to eth%d interface naming 3daa97817aa8 ptp: improve max_adj check against unreasonable values 26b8d10703a9 net: qrtr: fix OOB Read in qrtr_endpoint_post 8d3de2b47e53 netxen_nic: Fix an error handling path in 'netxen_nic_probe()' a670a78fb180 qlcnic: Fix an error handling path in 'qlcnic_probe()' b0bb49b0fbc3 net: make get_net_ns return error if NET_NS is disabled 5d47a84f459c net: stmmac: dwmac1000: Fix extended MAC address registers definition c82e4e78094d alx: Fix an error handling path in 'alx_probe()' 4cefa061fc63 sch_cake: Fix out of bounds when parsing TCP options and header 6defc77d48ef netfilter: synproxy: Fix out of bounds when parsing TCP options ad689fec4498 net/mlx5e: Block offload of outer header csum for UDP tunnels 946a36f82a0b net/mlx5e: allow TSO on VXLAN over VLAN topologies 0bb0270832c8 net/mlx5: Consider RoCE cap before init RDMA resources 4b16118665e9 net/mlx5e: Fix page reclaim for dead peer hairpin 3c3461ed267b net/mlx5e: Remove dependency in IPsec initialization flows 2ae0f0a409c8 net/sched: act_ct: handle DNAT tuple collision 23f3d2779dd6 rtnetlink: Fix regression in bridge VLAN configuration 5a88477c1c85 udp: fix race between close() and udp_abort() cc4c6b19093c net: lantiq: disable interrupt before sheduling NAPI 2038cd15eacd net: rds: fix memory leak in rds_recvmsg cc16e7d36e5c vrf: fix maximum MTU 398a24447eb6 net: ipv4: fix memory leak in netlbl_cipsov4_add_std e7fbd8184fa9 batman-adv: Avoid WARN_ON timing related checks bf99ea52970c kvm: LAPIC: Restore guard to prevent illegal APIC register access 566345aaabac mm/memory-failure: make sure wait for page writeback in memory_failure 0498165c6fec afs: Fix an IS_ERR() vs NULL check 2a3f74ca167e dmaengine: stedma40: add missing iounmap() on error in d40_probe() 10fd28745d8b dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM 1e3c5c450567 dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM a82d4d5e9fe6 Linux 5.4.127 f7afaf778591 fib: Return the correct errno code 51cc5ad292da net: Return the correct errno code 376a703f9dce net/x25: Return the correct errno code 107140952ecd rtnetlink: Fix missing error code in rtnl_bridge_notify() 12fa0fdbcd0f drm/amd/display: Allow bandwidth validation for 0 streams. 8c48345fdc98 net: ipconfig: Don't override command-line hostnames or domains c8e4a72b255e nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue() 655d4dc10a23 nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails ed4bee6e1bb7 nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues() 31ac5531110a scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V 4791b8948741 scsi: qedf: Do not put host in qedf_vport_create() unconditionally 8034fc4ee9ef ethernet: myri10ge: Fix missing error code in myri10ge_probe() ea4a9a34c9b2 scsi: target: core: Fix warning on realtime kernels 86fd5b27db74 gfs2: Fix use-after-free in gfs2_glock_shrink_scan 527f70f76742 riscv: Use -mno-relax when using lld linker e58f4b5046e0 HID: gt683r: add missing MODULE_DEVICE_TABLE 50b8e1be15f6 gfs2: Prevent direct-I/O write fallback errors from getting lost c8eff6762943 ARM: OMAP2+: Fix build warning when mmc_omap is not built e4c3f7a6a3b2 drm/tegra: sor: Do not leak runtime PM reference 7f5a4b24cdbd HID: usbhid: fix info leak in hid_submit_ctrl 20fbcfaaa571 HID: Add BUS_VIRTUAL to hid_connect logging 41b9b39e1b37 HID: multitouch: set Stylus suffix for Stylus-application devices, too 2173746ed125 HID: quirks: Add quirk for Lenovo optical mouse cdf5e4747da9 HID: hid-sensor-hub: Return error for hid_set_field() failure 1f760c4e655c HID: hid-input: add mapping for emoji picker key 818bf51031cf HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65 d0f47648b87b net: ieee802154: fix null deref in parse dev addr ffe4d2a0684d Linux 5.4.126 0f8837070136 proc: only require mm_struct for writing d63f00ec908b tracing: Correct the length check which causes memory corruption 7e4e824b109f ftrace: Do not blindly read the ip address in ftrace_bug() 74430f3f6149 scsi: core: Only put parent device if host state differs from SHOST_CREATED e694ddc8f3de scsi: core: Put .shost_dev in failure path if host state changes to RUNNING fe7bcd794a53 scsi: core: Fix failure handling of scsi_add_host_with_dma() 79296e292d67 scsi: core: Fix error handling of scsi_host_alloc() 8c9400c4855e NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error. 86377b239e04 NFSv4: Fix second deadlock in nfs4_evict_inode() 3e3c7ebbfac1 NFS: Fix use-after-free in nfs4_init_client() 83668ab1dbbf kvm: fix previous commit for 32-bit builds 0147af30925a perf session: Correct buffer copying when peeking events 34769f17e47c NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode() 0057ecef9f32 NFS: Fix a potential NULL dereference in nfs_get_client() e3ecd9c09fcc IB/mlx5: Fix initializing CQ fragments buffer 796d3bd4ac93 KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message 71c751cbb9e8 sched/fair: Make sure to update tg contrib for blocked load 26ab08df8656 perf: Fix data race between pin_count increment/decrement 8aeb339571c6 vmlinux.lds.h: Avoid orphan section with !SMP fc57713afaca RDMA/mlx4: Do not map the core_clock page to user space unless enabled 64f1fb6acc2a RDMA/ipoib: Fix warning caused by destroying non-initial netns a0828219185d usb: typec: mux: Fix copy-paste mistake in typec_mux_match 139af3b2192c regulator: max77620: Use device_set_of_node_from_dev() c4e10f92c319 regulator: core: resolve supply for boot-on/always-on regulators 5ef23506695b usb: fix various gadget panics on 10gbps cabling b4903f7fdc48 usb: fix various gadgets null ptr deref on 10gbps cabling. 191144bcfe3a usb: gadget: eem: fix wrong eem header operation cc40404bd0dd USB: serial: cp210x: fix alternate function for CP2102N QFN20 02fafcf74cde USB: serial: quatech2: fix control-request directions eedd4b494538 USB: serial: omninet: add device id for Zyxel Omni 56K Plus a2119ad276f1 USB: serial: ftdi_sio: add NovaTech OrionMX product ID 28b9764eb568 usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind 4fe7635a245b usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path 9523c42be986 usb: typec: wcove: Use LE to CPU conversion when accessing msg->header 5e8ca8c79f74 usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling 366369b89bed usb: dwc3: ep0: fix NULL pointer exception c469c8dddc7d usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms 32c2e6c2e4eb usb: f_ncm: only first packet of aggregate needs to start timer 0c05a8bc0e76 USB: f_ncm: ncm_bitrate (speed) is unsigned 4d14a82ef112 cgroup1: don't allow '\n' in renaming 298499d73d2d btrfs: promote debugging asserts to full-fledged checks in validate_super d4b047651fb1 btrfs: return value from btrfs_mark_extent_written() in case of error dccd575337ac staging: rtl8723bs: Fix uninitialized variables bff1fbf0cf07 kvm: avoid speculation-based attacks from out-of-range memslot accesses 977d11df7932 drm: Lock pointer access in drm_master_release() b246b4c70c12 drm: Fix use-after-free read in drm_getunique() b5502580cf95 spi: bcm2835: Fix out-of-bounds access with more than 4 slaves a225ee1fe41c x86/boot: Add .text.* to setup.ld 8c2c1db4f2e4 i2c: mpc: implement erratum A-004447 workaround c7f0393a370e i2c: mpc: Make use of i2c_recover_bus() 3cdbefdd3146 spi: Cleanup on failure of initial setup 85a7998e7211 spi: Don't have controller clean up spi device before driver unbind 92350839d329 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers 96cea4843b8f powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers 3e9aa125f69c nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME c385af145eb4 bnx2x: Fix missing error code in bnx2x_iov_init_one() ece8ad75e318 dm verity: fix require_signatures module_param permissions a450b5b6c01d MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER eb5c4794b79e nvme-fabrics: decode host pathing error for connect 70036fb61ea8 net: dsa: microchip: enable phy errata workaround on 9567 128bb4b0e5d2 net: appletalk: cops: Fix data race in cops_probe1 19e14481cc7d net: macb: ensure the device is available before accessing GEMGXL control registers cd05e1a61a05 scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal e773147692c6 scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq 1e209effe36c scsi: vmw_pvscsi: Set correct residual data length 90476c1bfff0 scsi: bnx2fc: Return failure if io_req is already in ABTS processing a3842219a69d RDS tcp loopback connection can hang 3e324774411d net/qla3xxx: fix schedule while atomic in ql_sem_spinlock f9e7a38d148e wq: handle VM suspension in stall detection 92215c1f24c0 cgroup: disable controllers at parse time e29d22371de8 net: mdiobus: get rid of a BUG_ON() 21df0c2e7d19 netlink: disable IRQs for netlink_lock_table() e0172831c61a bonding: init notify_work earlier to avoid uninitialized use 9d7d4649dc1c isdn: mISDN: netjet: Fix crash in nj_probe: 77b9f527731e spi: sprd: Add missing MODULE_DEVICE_TABLE cbeee4ccc1c7 ASoC: sti-sas: add missing MODULE_DEVICE_TABLE 575ad4ab2057 vfio-ccw: Serialize FSM IDLE state with I/O completion 02d3f4f0aadb ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet 8a9478cfb21b ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet 02851cb0cae3 usb: cdns3: Fix runtime PM imbalance on error f3ed12af6bbb net/nfc/rawsock.c: fix a permission check bug 3e7c190475d9 spi: Fix spi device unregister flow 9f9ad67183aa ASoC: max98088: fix ni clock divider calculation c9002013ffe0 proc: Track /proc/$pid/attr/ opener mm_struct
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Sun, 27 Jun 2021 16:50:37 +0000 (12:50 -0400)]
linux-yocto/5.10: update to v5.10.46
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
3de043c6851d Linux 5.10.46 174c27583b38 usb: dwc3: core: fix kernel panic when do reboot e52d43c82f2f usb: dwc3: debugfs: Add and remove endpoint dirs dynamically 1b5fbb66182f perf beauty: Update copy of linux/socket.h with the kernel sources 69371e0482ea tools headers UAPI: Sync linux/in.h copy with the kernel sources 4f6e7098f19b net: fec_ptp: add clock rate zero check 1af3a8e91f1a net: stmmac: disable clocks in stmmac_remove_config_dt() f71ca814c286 mm/slub.c: include swab.h f6ed23575416 mm/slub: actually fix freelist pointer vs redzoning 4314c8c63bfd mm/slub: fix redzoning for small allocations 4a36fda16b1b mm/slub: clarify verification reporting 12eb3c2c1a4f mm/swap: fix pte_same_as_swp() not removing uffd-wp bit when compare fc7fdd8c5c2a net: bridge: fix vlan tunnel dst refcnt when egressing fe0448a3fad3 net: bridge: fix vlan tunnel dst null pointer dereference cfe403f209b1 net: ll_temac: Fix TX BD buffer overwrite 019ab7d044d0 net: ll_temac: Make sure to free skb when it is completely used 41984d4fbe21 drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue. bc58ec307ce9 drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell. 96b4126f8c37 cfg80211: avoid double free of PMSR request 5493b0c2a784 cfg80211: make certificate generation more robust f74df6e08608 mac80211: Fix NULL ptr deref for injected rate info df203c1fdaaf dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc b842b568a584 crash_core, vmcoreinfo: append 'SECTION_SIZE_BITS' to vmcoreinfo 63ba83563e71 x86/fpu: Reset state for all signal restore failures a7748e021b9f x86/fpu: Invalidate FPU state after a failed XRSTOR from a user buffer 076f732b16a5 x86/fpu: Prevent state corruption in __fpu__restore_sig() abc790bdbbc5 x86/pkru: Write hardware init value to PKRU when xstate is init 208bb686e7fa x86/ioremap: Map EFI-reserved memory as encrypted for SEV 75a55bc2e5e6 x86/process: Check PF_KTHREAD and not current->mm for kernel threads ddaaf38e1923 x86/mm: Avoid truncating memblocks for SGX memory f6bcb1a6281d ARCv2: save ABI registers across signal handling b516daed9913 s390/ap: Fix hanging ioctl caused by wrong msg counter 7c003dab436d s390/mcck: fix calculation of SIE critical section size 3a9934d6b8dd KVM: X86: Fix x86_emulator slab cache leak 18eca69f88f2 KVM: x86/mmu: Calculate and check "full" mmu_role for nested MMU 669a8866e468 KVM: x86: Immediately reset the MMU context when the SMM flag is cleared 077cb8946f55 PCI: Work around Huawei Intelligent NIC VF FLR erratum ee1a9cfed28a PCI: Add ACS quirk for Broadcom BCM57414 NIC 1a1dbc447397 PCI: aardvark: Fix kernel panic during PIO transfer dac77a14fa27 PCI: Mark some NVIDIA GPUs to avoid bus reset 1e460ddf5be1 PCI: Mark TI C667X to avoid bus reset c9fd0ab39f0a tracing: Do no increment trace_clock_global() by one b313bd944ddd tracing: Do not stop recording comms if the trace file is being read adb3849ed8d5 tracing: Do not stop recording cmdlines when tracing is off 1a91fafa3edc usb: chipidea: imx: Fix Battery Charger 1.2 CDP detection 576996b64e4d usb: core: hub: Disable autosuspend for Cypress CY7C65632 6bd3d80d1f01 can: mcba_usb: fix memory leak in mcba_usb 509ab6bfdd0c can: j1939: fix Use-after-Free, hold skb ref while in use 0cf4b377907f can: bcm/raw/isotp: use per module netdevice notifier acb755be1f7a can: bcm: fix infoleak in struct bcm_msg_head 8c82c52d1de9 bpf: Do not mark insn as seen under speculative path verification e9d271731d21 bpf: Inherit expanded/patched seen count from old aux data ed423d80bb9a irqchip/gic-v3: Workaround inconsistent PMR setting on NMI entry 103c4a08baec mm: relocate 'write_protect_seq' in struct mm_struct a87abba03a7a hwmon: (scpi-hwmon) shows the negative temperature properly 57b21ef118ac radeon: use memcpy_to/fromio for UVD fw upload 3e4b0fbb7293 ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin 360609fc8b06 drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device 5bd6bcb3532d pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled 6d0dc1b34c02 ASoC: rt5682: Fix the fast discharge for headset unplugging in soundwire mode ba8a26a7ce86 regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL 2f8f0e97cebb spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd() e03c8b35161b ASoC: tas2562: Fix TDM_CFG0_SAMPRATE values 813ff24f1d08 sched/pelt: Ensure that *_sum is always synced with *_avg f6d28f0e36e9 spi: spi-zynq-qspi: Fix some wrong goto jumps & missing error code 0ea21221dd5a regulator: rtmv20: Fix to make regcache value first reading back from HW 3c5064cd2979 ASoC: fsl-asoc-card: Set .owner attribute when registering card. 9a1790794623 phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() 02e245574887 ASoC: rt5659: Fix the lost powers for the HDA header 3fb6c6acc1a7 platform/x86: thinkpad_acpi: Add X1 Carbon Gen 9 second fan support 0609c36696e7 regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting 0ea923519a3f regulator: cros-ec: Fix error code in dev_err message 95deeb29d831 net: ethernet: fix potential use-after-free in ec_bhf_remove 8c0c2d97ad28 icmp: don't send out ICMP messages with a source address of 0.0.0.0 c5d70dbc4d0b bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path f8774be4dc11 bnxt_en: Fix TQM fastpath ring backing store computation acc9175541bf bnxt_en: Rediscover PHY capabilities after firmware reset acc358995975 cxgb4: fix wrong shift. 05b2b9f7d24b net: cdc_eem: fix tx fixup skb leak 290b0b6432e2 net: hamradio: fix memory leak in mkiss_close 45bf43d8685f be2net: Fix an error handling path in 'be_probe()' 327e626c39f3 net/mlx5: Reset mkey index on creation 38aafe678caa net/mlx5: E-Switch, Allow setting GUID for host PF vport 601be24dba48 net/mlx5: E-Switch, Read PF mac address 5f2ccc58a352 net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock ac31cc837caf net: ipv4: fix memory leak in ip_mc_add1_src d08f726cd5b8 net: fec_ptp: fix issue caused by refactor the fec_devtype 570a52cf3e01 net: usb: fix possible use-after-free in smsc75xx_bind 70c8418469fb lantiq: net: fix duplicated skb in rx descriptor ring 11fac7e91270 net: cdc_ncm: switch to eth%d interface naming 9a4794956292 ptp: improve max_adj check against unreasonable values 5fc6ed1831ca bpf: Fix leakage under speculation on mispredicted branches 960b08dd36de net: qrtr: fix OOB Read in qrtr_endpoint_post 0239c439cedc ipv4: Fix device used for dst_alloc with local routes 4b5ad4b5aefd cxgb4: fix wrong ethtool n-tuple rule lookup d708e5efdd31 netxen_nic: Fix an error handling path in 'netxen_nic_probe()' 70513cdb936e qlcnic: Fix an error handling path in 'qlcnic_probe()' fb3a94814368 ethtool: strset: fix message length calculation 0e185a7b285d net: qualcomm: rmnet: don't over-count statistics e3577776d606 net: qualcomm: rmnet: Update rmnet device MTU based on real device 4abfd597fe60 net: make get_net_ns return error if NET_NS is disabled 6a4b39944e2f net: stmmac: dwmac1000: Fix extended MAC address registers definition 6392ed82ad08 cxgb4: halt chip before flashing PHY firmware image b38ec782d004 cxgb4: fix sleep in atomic when flashing PHY firmware 3d60457d74d9 cxgb4: fix endianness when flashing boot image 5bf940fe91f8 alx: Fix an error handling path in 'alx_probe()' 0adf32c033a5 selftests: mptcp: enable syncookie only in absence of reorders eab06f7504da mptcp: do not warn on bad input from the network 222ebeda1702 mptcp: try harder to borrow memory from subflow under pressure 3b491dd593d5 sch_cake: Fix out of bounds when parsing TCP options and header 73eeba71dc99 mptcp: Fix out of bounds when parsing TCP options 9cdf299ba4e1 netfilter: synproxy: Fix out of bounds when parsing TCP options a336dc6fdd56 net/mlx5e: Block offload of outer header csum for UDP tunnels 34ff3770bff8 net/mlx5: DR, Don't use SW steering when RoCE is not supported 3623bfcab3bf net/mlx5: DR, Allow SW steering for sw_owner_v2 devices 792f16e083b5 net/mlx5: Consider RoCE cap before init RDMA resources be7f3f401d22 net/mlx5e: Fix page reclaim for dead peer hairpin 02c55a257046 net/mlx5e: Remove dependency in IPsec initialization flows 4733b73709a2 net/sched: act_ct: handle DNAT tuple collision c8f1437c0145 rtnetlink: Fix regression in bridge VLAN configuration 8729ec8a2238 udp: fix race between close() and udp_abort() 7dd7b1e4d929 ice: parameterize functions responsible for Tx ring management 805ae44fc0a8 ice: add ndo_bpf callback for safe mode netdev ops 27e3d7da654d netfilter: nft_fib_ipv6: skip ipv6 packets from any to link-local 5cea03aef609 net: lantiq: disable interrupt before sheduling NAPI db5f4adc93bd net: dsa: felix: re-enable TX flow control in ocelot_port_flush() 5946fbf48355 net: rds: fix memory leak in rds_recvmsg aba26b38388e vrf: fix maximum MTU deeeb65c6ee4 net: ipv4: fix memory leak in netlbl_cipsov4_add_std 2088824ac90b libbpf: Fixes incorrect rx_ring_setup_done 195585ddb767 mlxsw: core: Set thermal zone polling delay argument to real value at init e95848e9b52c mlxsw: reg: Spectrum-3: Enforce lowest max-shaper burst size of 11 5a1cd67a801c mac80211: fix skb length check in ieee80211_scan_rx() 282baa8104af batman-adv: Avoid WARN_ON timing related checks ae1d3b989d19 fanotify: fix copy_event_to_user() fid error clean up 018685461a5b kvm: LAPIC: Restore guard to prevent illegal APIC register access 9e379da727a7 mm/memory-failure: make sure wait for page writeback in memory_failure 090b1bb928a9 afs: Fix an IS_ERR() vs NULL check 5efb0b3886c3 dmaengine: stedma40: add missing iounmap() on error in d40_probe() ff864fa71aa0 dmaengine: SF_PDMA depends on HAS_IOMEM c0090b0169d6 dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM f984fa006b8b dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM be4789636f72 dmaengine: xilinx: dpdma: initialize registers before request_irq edd60afc3fc3 dmaengine: fsl-dpaa2-qdma: Fix error return code in two functions 4d74c9802328 dmaengine: idxd: add missing dsa driver unregister 037a447b7a0b Linux 5.10.45 808fcc1e707c fib: Return the correct errno code d8b2e3e17c33 net: Return the correct errno code 04c1556bfc79 net/x25: Return the correct errno code 0aa356950800 rtnetlink: Fix missing error code in rtnl_bridge_notify() 9250f97fd594 drm/amd/amdgpu:save psp ring wptr to avoid attack 9e8c2af01046 drm/amd/display: Fix potential memory leak in DMUB hw_init 75fa7fbef132 drm/amdgpu: refine amdgpu_fru_get_product_info 34fe4ccb1fe5 drm/amd/display: Allow bandwidth validation for 0 streams. ecd26536ec5b net: ipconfig: Don't override command-line hostnames or domains 511a01029115 nvme-loop: do not warn for deleted controllers during reset 155c2fea4b31 nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue() 620424df29a0 nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails 1c80ca596cab nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues() b8fdea0695fd scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V f8ac1bd5270b Bluetooth: Add a new USB ID for RTL8822CE 5491d97078fe scsi: qedf: Do not put host in qedf_vport_create() unconditionally 609b56e9791c ethernet: myri10ge: Fix missing error code in myri10ge_probe() 5d5f0d945d47 scsi: target: core: Fix warning on realtime kernels a61156314b66 gfs2: Fix use-after-free in gfs2_glock_shrink_scan bb73f2f78969 riscv: Use -mno-relax when using lld linker 35277c1a6669 HID: gt683r: add missing MODULE_DEVICE_TABLE 7a557de07917 gfs2: fix a deadlock on withdraw-during-mount c3e9ea16adc1 gfs2: Prevent direct-I/O write fallback errors from getting lost 864b5a8d5390 ARM: OMAP2+: Fix build warning when mmc_omap is not built 247ec8ee0bf2 ARM: OMAP1: Fix use of possibly uninitialized irq variable 3c0ad70cba1f drm/tegra: sor: Fully initialize SOR before registration 9c1d492baa91 gpu: host1x: Split up client initalization and registration 570b3e4020f2 drm/tegra: sor: Do not leak runtime PM reference b1e3596416d7 HID: usbhid: fix info leak in hid_submit_ctrl 1dfd9f18ca64 HID: Add BUS_VIRTUAL to hid_connect logging 258d3fdbb15e HID: multitouch: set Stylus suffix for Stylus-application devices, too 6a142ea61074 HID: quirks: Add quirk for Lenovo optical mouse 716a087adc22 HID: hid-sensor-hub: Return error for hid_set_field() failure 0bd8a4b46cdb HID: hid-input: add mapping for emoji picker key b3c5bfc43c5e HID: a4tech: use A4_2WHEEL_MOUSE_HACK_B8 for A4TECH NB-95 be6c98879205 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65 c7836de2cadd net: ieee802154: fix null deref in parse dev addr f2b1fc360fa1 Linux 5.10.44 ef9a0d224baf proc: only require mm_struct for writing 43c32c22254b tracing: Correct the length check which causes memory corruption 5b537408f273 scsi: core: Only put parent device if host state differs from SHOST_CREATED 0a31d1237aaf scsi: core: Put .shost_dev in failure path if host state changes to RUNNING 146446a43b3d scsi: core: Fix failure handling of scsi_add_host_with_dma() 7a696ce1d5d1 scsi: core: Fix error handling of scsi_host_alloc() 6e13b9bc66f0 NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error. d973bd0d6e7f NFSv4: Fix second deadlock in nfs4_evict_inode() c3b6cf64dfe4 NFS: Fix use-after-free in nfs4_init_client() 9064c9d544b9 kvm: fix previous commit for 32-bit builds 351075bcfea9 perf session: Correct buffer copying when peeking events b4651cea43af NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode() 279ad78a00f8 NFS: Fix a potential NULL dereference in nfs_get_client() 91f7fdc4cc10 IB/mlx5: Fix initializing CQ fragments buffer d046f724bbd7 KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message 4921feb0e5be x86/nmi_watchdog: Fix old-style NMI watchdog regression on old Intel CPUs 190a7f908993 sched/fair: Fix util_est UTIL_AVG_UNCHANGED handling 32e22db8b25e sched/fair: Make sure to update tg contrib for blocked load 4c37b062edae sched/fair: Keep load_avg and load_sum synced c64a3be39fa9 perf: Fix data race between pin_count increment/decrement e0b518a2eb44 gpio: wcd934x: Fix shift-out-of-bounds error 56a388a9cc1e phy: ti: Fix an error code in wiz_probe() 62d891861f83 ASoC: meson: gx-card: fix sound-dai dt schema 0e2c9aeb0028 ASoC: core: Fix Null-point-dereference in fmt_single_name() d83075c25a28 phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe() c9cb5837e92e tools/bootconfig: Fix error return code in apply_xbc() 16ccdcdfe668 vmlinux.lds.h: Avoid orphan section with !SMP c25ec6386a81 ARM: cpuidle: Avoid orphan section warning cb1aa1da0488 RDMA/mlx4: Do not map the core_clock page to user space unless enabled 67cf4e447b5e RDMA/ipoib: Fix warning caused by destroying non-initial netns fd681a8c7ac8 drm/msm/a6xx: avoid shadow NULL reference in failure path 0bc79f4b7ac6 drm/msm/a6xx: update/fix CP_PROTECT initialization 5b7dc8329d7a drm/msm/a6xx: fix incorrectly set uavflagprd_inv field for A650 5a61f69da3b8 drm/mcde: Fix off by 10^3 in calculation d68889298029 usb: typec: mux: Fix copy-paste mistake in typec_mux_match 9e0677c2e390 usb: dwc3: gadget: Disable gadget IRQ during pullup disable cc440da4aad9 phy: usb: Fix misuse of IS_ENABLED aafc51fddfa8 regulator: rtmv20: Fix .set_current_limit/.get_current_limit callbacks 4579f6517679 regulator: bd71828: Fix .n_voltages settings 5a5f5cfb5f09 regulator: fan53880: Fix missing n_voltages setting c365ff97617c regulator: bd718x7: Fix the BUCK7 voltage setting on BD71837 e3a502abf506 regulator: max77620: Use device_set_of_node_from_dev() 06653ebc0ad2 regulator: core: resolve supply for boot-on/always-on regulators 7dcdfa28e1fe usb: typec: tcpm: cancel frs hrtimer when unregister tcpm port 18eaf0de50ea usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port b972eff87463 usb: fix various gadget panics on 10gbps cabling 4b289a0f3033 usb: fix various gadgets null ptr deref on 10gbps cabling. 6bf8ff7d0520 usb: gadget: eem: fix wrong eem header operation 21bee94fb9e4 USB: serial: cp210x: fix alternate function for CP2102N QFN20 4fa815beeaf0 USB: serial: quatech2: fix control-request directions ef91a6bd9469 USB: serial: omninet: add device id for Zyxel Omni 56K Plus 1e2d41c17f43 USB: serial: ftdi_sio: add NovaTech OrionMX product ID 5cead896962d usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind 0b3bb7950e73 usb: typec: intel_pmc_mux: Add missed error check for devm_ioremap_resource() 6900ef1b1095 usb: typec: intel_pmc_mux: Put fwnode in error case during ->probe() 572de10087a9 usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path 7cee4344cbb3 usb: typec: wcove: Use LE to CPU conversion when accessing msg->header 199af8a06de2 usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling 470403639114 usb: dwc3: ep0: fix NULL pointer exception 851dee5a5da5 usb: dwc3: gadget: Bail from dwc3_gadget_exit() if dwc->gadget is NULL 2af93b437a61 usb: dwc3: meson-g12a: Disable the regulator in the error handling path of the probe 750a0d755642 usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled b452e8bb7c52 usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms 0ff5f83ae147 usb: f_ncm: only first packet of aggregate needs to start timer 0f5a20b1fd9d USB: f_ncm: ncm_bitrate (speed) is unsigned 1bf2c28ab268 mmc: renesas_sdhi: Fix HS400 on R-Car M3-W+ 67aca230caf3 mmc: renesas_sdhi: abort tuning when timeout detected 97524384762c ftrace: Do not blindly read the ip address in ftrace_bug() 74d3b20b1b20 cgroup1: don't allow '\n' in renaming 31fe243a6376 btrfs: promote debugging asserts to full-fledged checks in validate_super ca69dc891b28 btrfs: return value from btrfs_mark_extent_written() in case of error bf240fee5b34 async_xor: check src_offs is not NULL before updating it 8d5c0f6b7a78 staging: rtl8723bs: Fix uninitialized variables 7af299b97734 kvm: avoid speculation-based attacks from out-of-range memslot accesses 6b6ff4d1f349 KVM: X86: MMU: Use the correct inherited permissions to get shadow page 14831b79560b perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server aa8591a58cbd drm: Lock pointer access in drm_master_release() 491d52e00788 drm: Fix use-after-free read in drm_getunique() afd87792db35 Revert "ACPI: sleep: Put the FACS table after using it" 82a8ffba54d3 spi: bcm2835: Fix out-of-bounds access with more than 4 slaves 05e6b7159475 ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8 d62d55f3941b ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 840 Aero G8 557306806777 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP EliteBook x360 1040 G8 bd0fe358d182 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Elite Dragonfly G2 6a81e47788ff ALSA: hda/realtek: headphone and mic don't work on an Acer laptop 98f842951f8a ALSA: firewire-lib: fix the context to call snd_pcm_stop_xrun() bd7d88b0874f ALSA: seq: Fix race of snd_seq_timer_open() fff6af6deae8 i2c: mpc: implement erratum A-004447 workaround d78b76af9f61 i2c: mpc: Make use of i2c_recover_bus() fa05ba61967a spi: Cleanup on failure of initial setup 0c4d4de2da4d spi: Don't have controller clean up spi device before driver unbind 3a5b982463f4 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers a7c3c17867b3 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers 590f718a6473 nvmet: fix false keep-alive timeout when a controller is torn down 2538f06f9468 nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME b0308804b2e0 bnx2x: Fix missing error code in bnx2x_iov_init_one() 90547d5db50b dm verity: fix require_signatures module_param permissions 7519ece673e3 MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER 37a079a6ae14 nvme-fabrics: decode host pathing error for connect f42afc0f2902 net: dsa: microchip: enable phy errata workaround on 9567 ee144b798028 net: appletalk: cops: Fix data race in cops_probe1 a385cbf31ed0 net: macb: ensure the device is available before accessing GEMGXL control registers bbb48789b62a scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal 16763635285c scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq eac1d159b7a3 scsi: vmw_pvscsi: Set correct residual data length 30030c6ff3d4 scsi: bnx2fc: Return failure if io_req is already in ABTS processing 8d717c9135a3 net:sfc: fix non-freed irq in legacy irq mode e806df71eed2 RDS tcp loopback connection can hang 4353eb42180d net/qla3xxx: fix schedule while atomic in ql_sem_spinlock ad241cb1cffb wq: handle VM suspension in stall detection 5ca472d40e2d cgroup: disable controllers at parse time be23c4af3d8a net: mdiobus: get rid of a BUG_ON() 1d6d43d4805d netlink: disable IRQs for netlink_lock_table() 42e490013809 bonding: init notify_work earlier to avoid uninitialized use 143fc7220961 isdn: mISDN: netjet: Fix crash in nj_probe: 2e2145ccfbcb usb: chipidea: udc: assign interrupt number to USB gadget structure 06e84ea1f457 spi: sprd: Add missing MODULE_DEVICE_TABLE 369f3caa4d74 ASoC: sti-sas: add missing MODULE_DEVICE_TABLE 01905f3232fd vfio-ccw: Serialize FSM IDLE state with I/O completion cad3dc73c064 vfio-ccw: Reset FSM state to IDLE inside FSM 4352209ed0f0 ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet a5ee8f54d0ab ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet 2f523cd4a931 usb: cdns3: Fix runtime PM imbalance on error 1e5cab50208c net/nfc/rawsock.c: fix a permission check bug 584b2c7ce244 bpf: Forbid trampoline attach for functions with variable arguments fb91ab403e6e spi: spi-zynq-qspi: Fix stack violation bug 4b8b7bc3a726 spi: Fix spi device unregister flow cb24d57ad572 ASoC: amd: fix for pcm_read() error 3b89db7468f7 ASoC: max98088: fix ni clock divider calculation f70102cb369c proc: Track /proc/$pid/attr/ opener mm_struct
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 26 Jun 2021 19:22:15 +0000 (20:22 +0100)]
kernel-devicetree: Fix interaction when packaging disabled
When packaging is disabled using the nopackages class, ensure we don't
add to PACKAGES. This fixes builds where we have an unpackaged kernel
alongside a packaged kernel.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 26 Jun 2021 19:21:41 +0000 (20:21 +0100)]
kernel: Fix interaction when packaging disabled
When packaging is disabled using the nopackages class, ensure we don't
add to PACKAGES. This fixes builds where we have an unpackaged kernel
alongside a packaged kernel.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lee Chee Yang [Fri, 25 Jun 2021 05:51:39 +0000 (13:51 +0800)]
qemu: fix CVE-2021-3527
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Thu, 24 Jun 2021 20:42:42 +0000 (13:42 -0700)]
qemurunner: Add info log for qemu startup
Add a couple of logging info to track time between activities, first
is from after the Popen(launch_cmd) to after qmp.connect(), second is
from qmp.connect() to the release of the qemu via the qmp("cont") command
this includes the mmap() activity.
Example output:
QMP connected to QEMU at 06/24/21 11:11:56 and took 0.9556229114532471 seconds from launch
QMP released QEMU at 06/24/21 11:11:56 and took 0.26789021492004395 seconds from connect
Andrej Valek [Fri, 25 Jun 2021 06:10:11 +0000 (08:10 +0200)]
busybox: add tmpdir option into mktemp applet
- Make mktemp applet compatible with --tmpdir option in ca-certificate
update script.
Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 3 Jun 2021 22:21:56 +0000 (23:21 +0100)]
selftest/fetch: Avoid occasional selftest failure from poor temp file name choice
The temp file name may contain "_" characters. Switch to a temporary directory
and a fixed filename to avoid this to avoid errors like:
bb.data_smart.ExpansionError: Failure expanding variable PN, expression was
${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}
which triggered exception ParseError:
ParseError in /tmp/tmpd_f2__to.bb: Unable to generate default variables from
filename (too many underscores)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 25 Jun 2021 10:07:52 +0000 (11:07 +0100)]
package_pkgdata: Avoid task hash mismatches for generic task changes
Add SSTATETASKS to package_prepare_pkgdata[vardepsexclude] since otherwise
the task hashes vary depending upon which packaging backends are enabled
and likely other changes which add/remove unrelated sstate tasks.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This did not cause problems in builds, but broke some devtool
workflows such as version upgrades or checking the latest version
from upstream. Tarballs should come first, not the patches.
python3: apply test skipping patch unconditionally
Testing IMAGE_FEATURES from component recipes cannot possibly work;
adjusting the test to soft-fail if needed items are not available
is not trivial, so let's just skip unconditionally for now.