Ross Burton [Wed, 9 Mar 2022 16:51:13 +0000 (16:51 +0000)]
pip_install_wheel: install wheel with a glob
Now that the build systems that use pip_install_wheel are all building
their wheel into a directory that we knew was empty before, we can just
install *.whl and not need to know the precise names.
By design a pyproject.toml will always build a single wheel, so there
shouldn't be any way for this to end up installing more than expected.
This obsoletes PIP_INSTALL_PACKAGE and PYPA_WHEEL, neither of which are
needed anymore.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 8 Mar 2022 14:30:34 +0000 (14:30 +0000)]
setuptools_build_meta: add variable to control where pyproject.toml is located
The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.
In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.
[1] https://www.python.org/dev/peps/pep-0517/
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 8 Mar 2022 14:30:33 +0000 (14:30 +0000)]
flit_core: add variable to control where pyproject.toml is located
The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.
In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.
[1] https://www.python.org/dev/peps/pep-0517/
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix up ptests; listing the helper binaries one by one
is not necessary. Unittests are skipped explicitly in run-ptest,
no need to avoid building them. They still take long, but they
can be executed on target if wanted.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Samuli Piippo [Tue, 8 Mar 2022 08:58:12 +0000 (08:58 +0000)]
mesa: make sure GLES3 headers are installed
Since there is no libgles3-mesa package that would pull in the headers,
add dependency to libgles2-mesa-dev. Now there no need to manually add
GLES3 headers to image or toolchain.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Mon, 7 Mar 2022 22:12:48 +0000 (22:12 +0000)]
gstreamer1.0-plugins-bad/ugly: use the GPL-2.0-or-later only when it is in use
Since all gstreamer modules uses LGPLv2.1 with exceptions
for some plugins in bad and ugly modules that has GPLv2+.
For the GPLv2+ this patch set this license only for each plugin
that is affected by by that, using the new GSTREAMER_GPL.
CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove purging of ${D} references from *.py, these won't be written by
standard setuptools, and recipes can do it themselves to work around
specific issues if needed.
Remove obsolete vardepsexclude of MACHINE on do_install, as that variable
isn't referenced.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
* The :command:'while' command again ignores errors in condition evaluation
as CMake 3.21 and below did. This bug was fixed in 3.22.0, but exposed
errors in existing projects. The fix has been reverted to restore
compatibility. The fix may be restored in a future version of CMake
via a policy.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 7 Mar 2022 12:20:33 +0000 (20:20 +0800)]
python3-hypothesis: upgrade 6.39.0 -> 6.39.2
Changelog from 6.39.0 to 6.39.2
==============================
- fixes a regression where the bound inner function
("your_test.hypothesis.inner_test") would be invoked with positional
arguments rather than passing them by name, which broke pytest-asyncio
(issue #3245).
- clarifies rare error messages in "builds()" (issue #3225)
and "floats()" (issue #3207).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Volk [Sun, 6 Mar 2022 13:40:59 +0000 (14:40 +0100)]
libxslt: update to v1.1.35
Security
[CVE-2021-30560] Fix use-after-free in xsltApplyTemplates
Fix memory leak in xsltDocumentElem (David King)
Fix memory leak in xsltCompileIdKeyPattern (David King)
Fix double-free with stylesheets containing entity nodes
Fixed regressions
Fix performance regression with predicates in patterns
Fix regression in xsltComputeSortResult
Bug fixes
Fix conflict resolution for templates with same priority
Fix xsl:number generating invalid UTF-8
Support attribute value templates in xsl:sort lang attributes
Don't pass first xsl:sort in xsl:apply-templates twice
Fix quadratic runtime with text and xsl:message
Don't allow empty EXSLT durations
Improvements
Add xsltproc --huge Argument via libxml XML_PARSE_HUGE (William N. Braswell, Jr.)
Tests, code quality, fuzzing
Remove .travis.yml
Fix some misleading indentation (David King)
Use actual types for templates in struct _xsltStylesheet
Add CI for CMake on MSVC (Markus Rickert)
Check for null pointer before calling freelocale
Add CI test for Python 3
Don't set maxDepth in XPath contexts
Transfer XPath limits to XPtr context
Stop using maxParserDepth XPath limit
Make long-to-double cast explicit in date.c
Disable LeakSanitizer
Run clang CI tests with -Wimplicit-int-conversion
Fix implicit-int-conversion warning in exslt/crypto.c
Fix clang -Wimplicit-int-conversion warning (David Kilzer)
Fix clang -Wconditional-uninitialized warning in libxslt/numbers.c (David Kilzer)
Fix -Wshadow warnings in libexslt/dynamic.c (David Kilzer)
Also search parent dir for source XML when fuzzing
Build system, portability
Add CMake build files (Markus Rickert)
Initial support for Python 3 (Suleyman Poyraz)
Call ANSI versions of WinAPI functions explicitly
Remove redundant flags from pkg-config files
Suppress automake warning in tests/XSLTMark
Fix linking libexslt dynamic library when using MinGW (Vadim Zeitlin)
Added platform specific path separators (Dmitriy Korovkin)
win32: allow passing *FLAGS on command line
Fix export of xsltExtMarker on Windows (David Kilzer)
Fix redundant includes already in libexslt.h (David Kilzer)
Minor fixes to configure.js
Fix variable syntax in Python configuration
Add new EXSLT string tests to EXTRA_DIST
Fix xml2-config check in configure script
win32: Add configuration for profiler (Chun-wei Fan)
Check whether 'xml2-config --dynamic' is supported
Documentation
Add Makefile rule to regenerate xsltproc.html
Update links
Remove MAINTAINERS
Upload documentation to GitLab Pages
Add documentation in devhelp format
Add --enable-rebuild-docs configure option
Fix libexslt header summaries
Fix validity of tutorial XML (David King)
Use DocBook URL for tutorial DTD (David King)
Update libxslt.doap
Add missing options to xsltproc man page
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Joslyn [Sun, 6 Mar 2022 13:31:18 +0000 (05:31 -0800)]
curl: Update to 7.82.0
Includes bug fixes and feature updates, such as addition of a --json flag
and the removal of mesalink support. Changelog available at:
https://curl.se/changes.html#7_82_0
LIC_FILES_CHKSUM changed due to copyright year update. Now that the full
SPDX license list is supported, refine the license from MIT to
MIT-open-group. The curl license contains the additional advertising
clause present in the Open Group variant.
Use a weak assignment with the RANDOM variable to make changes via
bbappend easier.
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Sun, 6 Mar 2022 21:08:23 +0000 (21:08 +0000)]
sstate: inside the threadedpool don't write to the shared localdata
When inside the threadedpool we make a copy of the localdata
to avoid some race condition, so we need to use this new
localdata2 and stop write the shared localdata.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Konrad Weihmann [Sat, 5 Mar 2022 11:16:58 +0000 (12:16 +0100)]
setuptools_build_meta: remove python dependency
when building additional native python tools that should be used
for additional tasks in python3 package (class-target), the dependency
on target class python creates a dependency loop:
Bruce Ashfield [Sat, 5 Mar 2022 01:25:16 +0000 (20:25 -0500)]
linux-yocto/5.10: update to v5.10.103
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
915a747ac7f3 Linux 5.10.103 78706b051a8a memblock: use kfree() to release kmalloced memblock regions 4185b788d3ad gpio: tegra186: Fix chip_data type confusion bb2e0a77235a tty: n_gsm: fix deadlock in gsmtty_open() e4c8cb95d035 tty: n_gsm: fix wrong tty control line for flow control 1f0641dd0b6c tty: n_gsm: fix NULL pointer access due to DLCI release 1e35cb9e1271 tty: n_gsm: fix proper link termination after failed open 90b47e617fb2 tty: n_gsm: fix encoding of control signal octet bit DV 9e2dbc31e367 riscv: fix oops caused by irqsoff latency tracer e098933866f9 thermal: int340x: fix memory leak in int3400_notify() 5b1cef5798b4 RDMA/cma: Do not change route.addr.src_addr outside state checks 8fe4da55246a driver core: Free DMA range map when device is released 214824764308 xhci: Prevent futile URB re-submissions due to incorrect return value. 0b0a229da1f2 xhci: re-initialize the HC during resume if HCE was set 328faee6d409 usb: dwc3: gadget: Let the interrupt handler disable bottom halves. e57bdee8661e usb: dwc3: pci: Fix Bay Trail phy GPIO mappings 99b2425d9178 usb: dwc2: drd: fix soft connect when gadget is unconfigured c7866880377b USB: serial: option: add Telit LE910R1 compositions 220ba174f192 USB: serial: option: add support for DW5829e 3a1dd56e566f tracefs: Set the group ownership in apply_options() not parse_options() bfa8ffbaaaaf USB: gadget: validate endpoint index for xilinx udc 4ce247af3f30 usb: gadget: rndis: add spinlock for rndis response list ddc254fc8873 Revert "USB: serial: ch341: add new Product ID for CH341A" d3fce1b6bd95 ata: pata_hpt37x: disable primary channel on HPT371 18701d8afaa1 sc16is7xx: Fix for incorrect data being transmitted d5ddd7343adf iio: Fix error handling for PM eabcc609cb8a iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot b8d411a96227 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits 1aa12ecfdcba iio: adc: men_z188_adc: Fix a resource leak in an error handling path afbeee13beb5 tracing: Have traceon and traceoff trigger honor the instance 99eb8d694174 RDMA/ib_srp: Fix a deadlock a7ab53d3c27d configfs: fix a race in configfs_{,un}register_subsystem() 0ecd3e35d78e RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close b0ecf9e59414 RDMA/rtrs-clt: Kill wait_for_inflight_permits 8260f1800f83 RDMA/rtrs-clt: Fix possible double free in error case dc64aa4c7dc0 regmap-irq: Update interrupt clear register for proper reset 2efece1368ae spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op() 67819b983eb3 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets be55d3e76c0e net/mlx5: Fix wrong limitation of metadata match on ecpf 8d617110d78e net/mlx5: Fix possible deadlock on rule deletion 1c5912895545 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister() a184f4dd9b33 surface: surface3_power: Fix battery readings on batteries without a serial number 91f56a85278e net/smc: Use a mutex for locking "struct smc_pnettable" 7e9880e81d3f netfilter: nf_tables: fix memory leak during stateful obj update af4bc921d39d nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac() 58a6d5f24f49 net: Force inlining of checksum functions in net/checksum.h 550d98ab3007 net: ll_temac: check the return value of devm_kmalloc() 0fc184735996 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones bc8f768af342 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure fd020eaaa24a drm/edid: Always set RGB444 1df9d552fe84 openvswitch: Fix setting ipv6 fields causing hw csum failure dac2490d9ee0 gso: do not skip outer ip header in case of ipip and net_failover b692d5dc6f54 tipc: Fix end of loop tests for list_for_each_entry() c5722243d0e5 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends 4a93c6594613 io_uring: add a schedule point in io_add_buffers() 7ef94bfb08fb bpf: Add schedule points in batch ops 4f5d47e6b43f selftests: bpf: Check bpf_msg_push_data return value d0caa7218d76 bpf: Do not try bpf_msg_push_data with len 0 962b2a3188bf hwmon: Handle failure to register sensor with thermal zone correctly d8b78314c5ba bnxt_en: Fix active FEC reporting to ethtool 7e1eae5d1a7c bnx2x: fix driver load from initrd 51e96061c66c perf data: Fix double free in perf_session__delete() 5419b5be883b ping: remove pr_err from ping_lookup 5da17865c7f3 optee: use driver internal tee_context for some rpc eb354613847d tee: export teedev_open() and teedev_close_context() bae7fc6f0dc6 x86/fpu: Correct pkru/xstate inconsistency 68f19845f580 netfilter: nf_tables_offload: incorrect flow offload action array size 69560efa0013 CDC-NCM: avoid overflow in sanity checking 2aeba1ea7ce8 USB: zaurus: support another broken Zaurus 4f5f5411f0c1 sr9700: sanity check for packet length 55eec5c630ea drm/i915: Correctly populate use_sagv_wm for all pipes ff9134882dfa drm/amdgpu: disable MMHUB PG for Picasso 72fdfc75d421 KVM: x86/mmu: make apf token non-zero to fix bug 646b532f32ea parisc/unaligned: Fix ldw() and stw() unalignment handlers 397b5433f742 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel 698dc7d13c4e vhost/vsock: don't check owner in vhost_vsock_stop() while releasing 84e303b4d53f clk: jz4725b: fix mmc0 clock gating 72a5b01875b2 btrfs: tree-checker: check item_size for dev_item 5c967dd07311 btrfs: tree-checker: check item_size for inode_item fcec42dd28d6 cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug 47667effb7d2 Linux 5.10.102 6062d1267ff3 lockdep: Correct lock_classes index mapping f333c1916fd6 i2c: brcmstb: fix support for DSL and CM variants 9fee985f9afa copy_process(): Move fd_install() out of sighand->siglock critical section e3fdbc40b750 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter() b5b2a9211713 i2c: qcom-cci: don't delete an unregistered adapter 3b6d25d1b6a2 dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size 2c35c95d3640 dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe 4f907b6eb701 dmaengine: sh: rcar-dmac: Check for error num after setting mask 797b380f0756 net: sched: limit TC_ACT_REPEAT loops 595c259f75ae EDAC: Fix calculation of returned address and next offset in edac_align_ptr() f6ce4e328939 scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop 3680b2b8104b kconfig: fix failing to generate auto.conf b6787e284d3d net: macb: Align the dma and coherent dma masks 439171a2917c net: usb: qmi_wwan: Add support for Dell DW5829e 15616ba17d02 tracing: Fix tp_printk option related with tp_printk_stop_on_boot 5a253a23d9f1 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case 1e7433fb95cc xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create a21f472fb5cc soc: aspeed: lpc-ctrl: Block error printing on probe defer cases fecb05b1ce6b ata: libata-core: Disable TRIM on M88V29 b19ec7afa929 lib/iov_iter: initialize "flags" in new pipe_buffer 30455322787a kconfig: let 'shell' return enough output for deep path names e05dde47f52a selftests: fixup build warnings in pidfd / clone3 tests 531a56c2e0bf pidfd: fix test failure due to stack overflow on some arches 429ef36c4fc4 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610 1415f22ee541 arm64: dts: meson-g12: add ATF BL32 reserved-memory region 605080f19eb7 arm64: dts: meson-gx: add ATF BL32 reserved-memory region eefb68794f94 netfilter: conntrack: don't refresh sctp entries in closed state 1ab48248573b irqchip/sifive-plic: Add missing thead,c900-plic match string 98bc06c46d1f phy: usb: Leave some clocks running during suspend 717f2fa85822 ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of 6932353af74c ARM: OMAP2+: hwmod: Add of_node_put() before break 521dcc107e39 NFS: Don't set NFS_INO_INVALID_XATTR if there is no xattr cache fb00319afb72 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW 0ee4bb8ce8b8 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event 99cd2a043760 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id() 91d8866ca552 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj a176d559e826 mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status 1a49b1b0b0cb mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe() 8c848744c11b tty: n_tty: do not look ahead for EOL character past the end of the buffer 8daa0436ce79 NFS: Do not report writeback errors in nfs_getattr() f9b7385c0f62 NFS: LOOKUP_DIRECTORY is also ok with symlinks 598dbaf74b64 block/wbt: fix negative inflight counter when remove scsi device dc6faa0ede4d ASoC: tas2770: Insert post reset delay 9dcedbe943be KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests a4eeeaca5019 mtd: rawnand: gpmi: don't leak PM reference in error path fb26219b4046 powerpc/lib/sstep: fix 'ptesync' build error 54f76366cd01 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range() 0df1badfdfcd ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw() 1ef76832fef3 ALSA: hda: Fix missing codec probe on Shenker Dock 15 c72c3b597a79 ALSA: hda: Fix regression on forced probe mask option 63b1602c2fd5 ALSA: hda/realtek: Fix deadlock by COEF mutex b6a5e8f45f89 ALSA: hda/realtek: Add quirk for Legion Y9000X 2019 67de71b94331 selftests/exec: Add non-regular to TEST_GEN_PROGS d3018a196221 perf bpf: Defer freeing string after possible strlen() on it 016e3ca9c588 dpaa2-eth: Initialize mutex used in one step timestamping path 50f3b00d4c7b libsubcmd: Fix use-after-free for realloc(..., 0) ffa8df4f0e8f bonding: fix data-races around agg_select_timer d9bd9d4c60c3 net_sched: add __rcu annotation to netdev->qdisc 877a05672f95 drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit a0e004e6206e bonding: force carrier update when releasing slave 8dec3c4e7350 ping: fix the dif and sdif check in ping_lookup 6793a9b028ce net: ieee802154: ca8210: Fix lifs/sifs periods f48bd3413771 net: dsa: lantiq_gswip: fix use after free in gswip_remove() d9b2203e5a30 net: dsa: lan9303: fix reset on probe 4f523f15e5d7 ipv6: per-netns exclusive flowlabel checks 100344200a0c netfilter: nft_synproxy: unregister hooks on init error path 26931971db5f selftests: netfilter: fix exit value for nft_concat_range b26ea3f6b7b0 iwlwifi: pcie: gen2: fix locking when "HW not ready" 8867f993790d iwlwifi: pcie: fix locking when "HW not ready" f3c1910257c8 drm/i915/gvt: Make DRM_I915_GVT depend on X86 87cd1bbd6677 vsock: remove vsock from connected table when connect is interrupted by a signal eb7bf11e8ef1 drm/i915/opregion: check port number bounds for SWSCI display power state 5564d83ebc1b drm/radeon: Fix backlight control on iMac 12,1 008508c16af0 iwlwifi: fix use-after-free 44b81136e868 kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled 8b53e5f737bc kbuild: lto: merge module sections 45102b538a9e random: wake up /dev/random writers after zap 143aaf79bafa gcc-plugins/stackleak: Use noinstr in favor of notrace de55891e162c Revert "module, async: async_synchronize_full() on module init iff async is used" 3c958dbcba18 x86/Xen: streamline (and fix) PV CPU enumeration e76d0a9692c5 drm/amdgpu: fix logic inversion in check 324f5bdc52ec nvme-rdma: fix possible use-after-free in transport error_recovery work e192184cf8bc nvme-tcp: fix possible use-after-free in transport error_recovery work 0ead57ceb21b nvme: fix a possible use-after-free in controller reset during load fe9ac3eaa2e3 scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task d872e7b5fe38 scsi: pm8001: Fix use-after-free for aborted TMF sas_task 1e73f5cfc160 quota: make dquot_quota_sync return errors from ->sync_fs c405640aad56 vfs: make freeze_super abort when sync_filesystem returns error b9a229fd48bf ax25: improve the incomplete fix to avoid UAF and NPD bugs 139fce2992ee selftests: skip mincore.check_file_mmap when fs lacks needed support 204a2390da42 selftests: openat2: Skip testcases that fail with EOPNOTSUPP 2be48bfac713 selftests: openat2: Add missing dependency in Makefile 74a30666b4b5 selftests: openat2: Print also errno in failure messages bfc84cfd909b selftests/zram: Adapt the situation that /dev/zram0 is being used f0eba714c11d selftests/zram01.sh: Fix compression ratio calculation 7bb704b69fb1 selftests/zram: Skip max_comp_streams interface on newer kernel 0fd484644c68 net: ieee802154: at86rf230: Stop leaking skb's 0c18a751930c kselftest: signal all child processes 1136141f19ab selftests: rtc: Increase test timeout so that all tests run 79175b6ee658 platform/x86: ISST: Fix possible circular locking dependency detected 066c905ed06c platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1 0b17d4b51c63 btrfs: send: in case of IO error log it 78a68bbebdcc parisc: Add ioread64_lo_hi() and iowrite64_lo_hi() ade1077c7fc0 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology 254090925e16 mm: don't try to NUMA-migrate COW pages that have other uses ab2b4e65a130 mmc: block: fix read single on recovery logic 775671687299 parisc: Fix sglist access in ccio-dma.c f8f519d7df66 parisc: Fix data TLB miss in sba_unmap_sg 4d569b959e54 parisc: Drop __init from map_pages declaration 8e3f9a098eca serial: parisc: GSC: fix build when IOSAPIC is not set fe383750d40d Revert "svm: Add warning message for AVIC IPI invalid target" 126382b5565f HID:Add support for UGTABLET WP5540 f100e758cef5 scsi: lpfc: Fix mailbox command failure during driver initialization 4578b979ef61 can: isotp: add SF_BROADCAST support for functional addressing 5d42865fc311 can: isotp: prevent race between isotp_bind() and isotp_setsockopt() db3f3636e4ae fs/proc: task_mmu.c: don't read mapcount for migration entry 0849f83e4782 fget: clarify and improve __fget_files() implementation 657991fb06a4 rcu: Do not report strict GPs for outgoing CPUs 8c8385972ea9 mm: memcg: synchronize objcg lists with a dedicated spinlock d0f4aa2d978f drm/nouveau/pmu/gm200-: use alternate falcon reset sequence
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Sat, 5 Mar 2022 01:25:15 +0000 (20:25 -0500)]
linux-yocto/5.15: update to v5.15.26
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:
8993e6067f26 Linux 5.15.26 3c805fce07c9 ice: fix concurrent reset and removal of VFs 26bc7197f9d3 ice: Fix race conditions between virtchnl handling and VF ndo ops fd21a0b6da94 memblock: use kfree() to release kmalloced memblock regions 83f331d1debb gpio: tegra186: Fix chip_data type confusion a15769155440 pinctrl: k210: Fix bias-pull-up e3a751ee48f9 pinctrl: fix loop in k210_pinconf_get_drive() 92cab57ea6d7 tty: n_gsm: fix deadlock in gsmtty_open() 06bce5327b76 tty: n_gsm: fix wrong modem processing in convergence layer type 2 1bc6f3b19bc6 tty: n_gsm: fix wrong tty control line for flow control 50cacb783bb3 tty: n_gsm: fix NULL pointer access due to DLCI release 519d0b389c10 tty: n_gsm: fix proper link termination after failed open 4f0ab1c8a5a6 tty: n_gsm: fix encoding of control signal octet bit DV 1851b9a46706 riscv: fix oops caused by irqsoff latency tracer e0ff4dffded5 riscv: fix nommu_k210_sdcard_defconfig 72aa720acacf IB/qib: Fix duplicate sysfs directory name 7a7e1b3aeef7 tps6598x: clear int mask on probe failure bde6a6b111b9 staging: fbtft: fb_st7789v: reset display before initialization ba9efbbf6745 thermal: int340x: fix memory leak in int3400_notify() 00265efbd3e5 RDMA/cma: Do not change route.addr.src_addr outside state checks 8df508b7a44c btrfs: prevent copying too big compressed lzo segment d2bef2cbd3b1 driver core: Free DMA range map when device is released 453a82127f17 mtd: core: Fix a conflict between MTD and NVMEM on wp-gpios property fcd3f5906d64 nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property ce94606060d7 xhci: Prevent futile URB re-submissions due to incorrect return value. c8b38e557414 xhci: re-initialize the HC during resume if HCE was set 88f69c64443f usb: dwc3: gadget: Let the interrupt handler disable bottom halves. 83e0190fb77c usb: dwc3: pci: Fix Bay Trail phy GPIO mappings e62f41a6528f usb: dwc3: pci: Add "snps,dis_u2_susphy_quirk" for Intel Bay Trail 943a914d3dab usb: dwc2: drd: fix soft connect when gadget is unconfigured 85171fbf714c USB: serial: option: add Telit LE910R1 compositions c331aa7e7064 USB: serial: option: add support for DW5829e 6db927ce66ac tracefs: Set the group ownership in apply_options() not parse_options() 2c775ad1fd5e USB: gadget: validate endpoint index for xilinx udc da514063440b usb: gadget: rndis: add spinlock for rndis response list f7c9fd0dff99 Revert "USB: serial: ch341: add new Product ID for CH341A" 27089f04fac6 ata: pata_hpt37x: disable primary channel on HPT371 4e508c593573 sc16is7xx: Fix for incorrect data being transmitted 72b0fba2dd4d iio: Fix error handling for PM 1f05c7568445 iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot c77f4ae7bd43 iio: accel: fxls8962af: add padding to regmap for SPI ca9d1799be68 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits 0cb9b2f73c18 iio: adc: tsc2046: fix memory corruption by preventing array overflow fe7347780298 iio: adc: men_z188_adc: Fix a resource leak in an error handling path 7bdf7d5f0cbd iio:imu:adis16480: fix buffering for devices with no burst mode 9000406481a5 tracing: Have traceon and traceoff trigger honor the instance 7e35b31e2cee tracing: Dump stacktrace trigger to the corresponding instance c8b56e51aa91 RDMA/ib_srp: Fix a deadlock e7a66dd26877 configfs: fix a race in configfs_{,un}register_subsystem() a94879d41917 bnxt_en: Increase firmware message response DMA wait time 27440589551f RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close bf2cfad0c6e4 RDMA/rtrs-clt: Fix possible double free in error case ff999198ec21 net-timestamp: convert sk->sk_tskey to atomic_t d99dcdabc52a regmap-irq: Update interrupt clear register for proper reset 43221f446c02 gpio: rockchip: Reset int_bothedge when changing trigger 3c32405d6474 spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op() 2378f94c8d9b net/mlx5: Update log_max_qp value to be 17 at most 6e94d2863384 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets 95c1867704d0 net/mlx5e: MPLSoUDP decap, fix check for unsupported matches d4d188487ddc net/mlx5: DR, Fix the threshold that defines when pool sync is initiated 9703a9e2f968 net/mlx5: Fix wrong limitation of metadata match on ecpf f63548dd05ab net/mlx5: Fix possible deadlock on rule deletion 837b0d2e69e8 net/mlx5: DR, Don't allow match on IP w/o matching on full ethertype/ip_version 954997aeb8f2 ibmvnic: schedule failover only if vioctl fails 117a5a7f019e net/mlx5: DR, Cache STE shadow memory 6b6094db77e6 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister() 4039254acbd4 surface: surface3_power: Fix battery readings on batteries without a serial number 062772d5cc8c net/smc: Use a mutex for locking "struct smc_pnettable" e96e204ee6fa netfilter: nf_tables: fix memory leak during stateful obj update 7d258451d345 net: mdio-ipq4019: add delay after clock enable 9d8097caa732 nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac() 8ffb8ac34488 netfilter: nf_tables: unregister flowtable hooks on netns exit 2e15fa8091de net: Force inlining of checksum functions in net/checksum.h be2d38247657 net: ll_temac: check the return value of devm_kmalloc() a95ea90deb30 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones d064d0c39405 drm/i915/dg2: Print PHY name properly on calibration error eae86ab32069 drm/vc4: crtc: Fix runtime_pm reference counting 163e50b00530 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure 143dafa60aa7 drm/edid: Always set RGB444 f941104aa116 openvswitch: Fix setting ipv6 fields causing hw csum failure 62ca33976ddc net: mv643xx_eth: process retval from of_get_mac_address 899e56a1ad43 gso: do not skip outer ip header in case of ipip and net_failover 0a9bc4179c30 tipc: Fix end of loop tests for list_for_each_entry() 8270e92a0e42 nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info 6f2e0ae12aa8 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends c718ea4e7382 io_uring: add a schedule point in io_add_buffers() 8628f489b749 bpf: Add schedule points in batch ops 976406c5cc00 bpf: Fix a bpf_timer initialization issue 755d4b744056 selftests: bpf: Check bpf_msg_push_data return value 5d75e374eb77 bpf: Do not try bpf_msg_push_data with len 0 719d1c2524c8 bpf: Fix crash due to incorrect copy_map_value de49b0e1cf62 net/mlx5: Update the list of the PCI supported devices 9594d817b5eb ice: initialize local variable 'tlv' b3615ea66b91 ice: check the return of ice_ptp_gettimex64 7e8da9964437 net/mlx5: Fix tc max supported prio for nic mode 7efe8499cb90 hwmon: Handle failure to register sensor with thermal zone correctly 86da2e4a1284 bnxt_en: Fix incorrect multicast rx mask setting when not requested 24931b4d199e bnxt_en: Fix offline ethtool selftest with RDMA enabled f84bbb9893bd bnxt_en: Fix active FEC reporting to ethtool 1243861bc002 bnx2x: fix driver load from initrd 7c844c7af784 selftests: mptcp: be more conservative with cookie MPJ limits f76977643339 selftests: mptcp: fix diag instability f25ae162f4b3 mptcp: add mibs counter for ignored incoming options 150d1e06c4f1 mptcp: fix race in incoming ADD_ADDR option processing 40bbab9d4ed7 perf data: Fix double free in perf_session__delete() 05ef4f56173e perf evlist: Fix failed to use cpu list for uncore events 0b92b5f4c50b gpu: host1x: Always return syncpoint value when waiting 734d80b4365a Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC" 1cfb33b338fb ping: remove pr_err from ping_lookup 2922aff43397 optee: use driver internal tee_context for some rpc 0efdc0360395 tee: export teedev_open() and teedev_close_context() 6c5d780469d6 netfilter: nf_tables_offload: incorrect flow offload action array size 144f3008524c netfilter: xt_socket: missing ifdef CONFIG_IP6_NF_IPTABLES dependency cb2313b216be netfilter: xt_socket: fix a typo in socket_mt_destroy() 49909c9f8458 CDC-NCM: avoid overflow in sanity checking 4b77aab7ada7 USB: zaurus: support another broken Zaurus 9f2d61477990 sr9700: sanity check for packet length 0726fca0b6cc drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV 1b4445e09df8 drm/i915: Correctly populate use_sagv_wm for all pipes 7782e3c4e539 drm/i915: Widen the QGV point mask 8840d963e566 drm/amdgpu: do not enable asic reset for raven2 70b2413ac30c drm/amdgpu: disable MMHUB PG for Picasso ea44fcee7e3d drm/amd: Check if ASPM is enabled from PCIe subsystem c00e4c01f470 drm/amd/pm: fix some OEM SKU specific stability issues 211b67fb5a49 drm/amd/display: Protect update_bw_bounding_box FPU code. 4c3644b6c96c KVM: x86/mmu: make apf token non-zero to fix bug 759e5dc6554d parisc/unaligned: Fix ldw() and stw() unalignment handlers bf0b3d61e002 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel 960d474e451b vhost/vsock: don't check owner in vhost_vsock_stop() while releasing af091cc27e37 selinux: fix misuse of mutex_is_locked() 0d773aaf5a90 io_uring: disallow modification of rsrc_data during quiesce 7c83437fb3ae io_uring: don't convert to jiffies for waiting on timeouts 6d20ff677349 clk: jz4725b: fix mmc0 clock gating b80fbc20f334 btrfs: tree-checker: check item_size for dev_item 7e80846a9927 btrfs: tree-checker: check item_size for inode_item a6d9692cadb9 x86/ptrace: Fix xfpregs_set()'s incorrect xmm clearing ebeb7b73571e cgroup-v1: Correct privileges check in release_agent writes ffed0bf6a63d cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug f89903ae99bd mm/filemap: Fix handling of THPs in generic_file_buffered_read() 1e7beca28299 Linux 5.15.25 5dcc36569734 lockdep: Correct lock_classes index mapping c2df4c62a189 i2c: brcmstb: fix support for DSL and CM variants ec7d87b64e78 ice: enable parsing IPSEC SPI headers for RSS 0b4ea5b72b17 scsi: qedi: Fix ABBA deadlock in qedi_process_tmf_resp() and qedi_process_cmd_cleanup_resp() 795feafb7234 copy_process(): Move fd_install() out of sighand->siglock critical section 3e41445287af dmaengine: ptdma: Fix the error handling path in pt_core_init() 8641ceb41f30 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter() 7512f91bc313 i2c: qcom-cci: don't delete an unregistered adapter 052707279e70 tests: fix idmapped mount_setattr test 6b186a23af0d dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size 4f3a0737992c dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe 62e228e3e169 dmaengine: sh: rcar-dmac: Check for error num after setting mask f4a821b098c5 net: sched: limit TC_ACT_REPEAT loops 2b2be95b6013 ucounts: Move RLIMIT_NPROC handling after set_user b5f949d9a9c3 rlimit: Fix RLIMIT_NPROC enforcement failure caused by capability calls in set_user 114e9f141822 lib/iov_iter: initialize "flags" in new pipe_buffer 2d2d92cfcd3b ucounts: Enforce RLIMIT_NPROC not RLIMIT_NPROC+1 efc853d8ffd5 ucounts: Base set_cred_ucounts changes on the real user f418bfabea43 ucounts: In set_cred_ucounts assume new->ucounts is non-NULL d464492eb391 ucounts: Handle wrapping in is_ucounts_overlimit e1e26697d032 EDAC: Fix calculation of returned address and next offset in edac_align_ptr() e6da726eb67d scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop 3f2bc7f028f6 kconfig: fix failing to generate auto.conf 88289d56cb28 net: macb: Align the dma and coherent dma masks b501b0f4e113 net: usb: qmi_wwan: Add support for Dell DW5829e 1ddab2ee8829 drm/amd/display: fix yellow carp wm clamping 929b2eddebc2 drm/amd/display: Cap pflip irqs per max otg number 3fd92f5be6c4 display/amd: decrease message verbosity about watermarks table failure eb61dbb192b1 tracing: Fix tp_printk option related with tp_printk_stop_on_boot 893297940084 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case 9921c866dc36 xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create b5caba5efbab soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 71720cae1cad ata: libata-core: Disable TRIM on M88V29 62542c5f18a1 kconfig: let 'shell' return enough output for deep path names 004458327695 ACPI: PM: Revert "Only mark EC GPE for wakeup on Intel systems" 246dfbc12539 mm: io_uring: allow oom-killer from io_uring_setup 54d69f072d5e selftests: fixup build warnings in pidfd / clone3 tests fc6d187f2986 pidfd: fix test failure due to stack overflow on some arches 9659711c3248 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610 42b3092ccfb1 arm64: dts: meson-g12: add ATF BL32 reserved-memory region de3b10b7ccc6 arm64: dts: meson-gx: add ATF BL32 reserved-memory region 5644bf688e4a ksmbd: don't align last entry offset in smb2 query directory 03dd71e0b9d8 ksmbd: fix same UniqueId for dot and dotdot entries 7afed8b3608e netfilter: conntrack: don't refresh sctp entries in closed state f7b95b396700 x86/bug: Merge annotate_reachable() into _BUG_FLAGS() asm c4315bffe5d0 irqchip/sifive-plic: Add missing thead,c900-plic match string 459b97c958c1 phy: phy-mtk-tphy: Fix duplicated argument in phy-mtk-tphy 993db6da4aec staging: vc04_services: Fix RCU dereference check 6a469cf7f372 phy: usb: Leave some clocks running during suspend 9492e1e53e7d ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of 1587d6b1e0b9 ARM: OMAP2+: hwmod: Add of_node_put() before break 5f45f96f4189 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW 0d3b91d4d9f5 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event d8110cb2cf19 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id() c377e2ba78d3 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj 6936f02d14ed mtd: rawnand: ingenic: Fix missing put_device in ingenic_ecc_get de0d102d0c8c HID: elo: fix memory leak in elo_probe ffe36e3a991e mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status 9fd00a568663 mtd: phram: Prevent divide by zero bug in phram_setup() 3eb5185896a6 mtd: parsers: qcom: Fix missing free for pparts in cleanup eb03cb6e03ff mtd: parsers: qcom: Fix kernel panic on skipped partition 502f86f5168a mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe() e65450a12cf4 block: fix surprise removal for drivers calling blk_set_queue_dying e1dce8e127fd tty: n_tty: do not look ahead for EOL character past the end of the buffer 21165833efa6 NFS: Do not report writeback errors in nfs_getattr() f1322f10f60c NFS: LOOKUP_DIRECTORY is also ok with symlinks f2238b4e83b6 NFS: Remove an incorrect revalidation in nfs4_update_changeattr_locked() 4b9c861a589e block/wbt: fix negative inflight counter when remove scsi device a22b213139e0 ASoC: qcom: Actually clear DMA interrupt register for HDMI ce3e1f82da73 ASoC: tas2770: Insert post reset delay 493c9e850677 scsi: ufs: Fix a deadlock in the error handler 2af0fdfbfb37 scsi: ufs: Remove dead code 84c109620fef tipc: fix wrong notification node addresses 727dd33561d5 smb3: fix snapshot mount option 4a7ec50298b1 mtd: rawnand: gpmi: don't leak PM reference in error path 45948a4b1fd0 powerpc/lib/sstep: fix 'ptesync' build error 0e0b5705640c powerpc/603: Fix boot failure with DEBUG_PAGEALLOC and KFENCE 68b8924f6038 cifs: fix set of group SID via NTSD xattrs b4b8e7ae1346 ASoC: ops: Fix stereo change notifications in snd_soc_put_xr_sx() 312d8074bc99 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_sx() ed1e33f121ea ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range() edb43ae4ca8d ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw() 900d37d7d8ef ALSA: hda: Fix missing codec probe on Shenker Dock 15 f9d9574a8ba8 ALSA: hda: Fix regression on forced probe mask option 3b6134e35a60 ALSA: hda/realtek: Fix deadlock by COEF mutex a562de3b700a ALSA: hda/realtek: Add quirk for Legion Y9000X 2019 2c9a7e11127e ALSA: usb-audio: revert to IMPLICIT_FB_FIXED_DEV for M-Audio FastTrack Ultra 7285daaca3cd arm64: Correct wrong label in macro __init_el2_gicv3 b04dcc00ae33 selftests/exec: Add non-regular to TEST_GEN_PROGS bf4161eb7e3b perf bpf: Defer freeing string after possible strlen() on it e8ba5b039eea net: bridge: multicast: notify switchdev driver whenever MC processing gets disabled 6b1c9f99c2e6 dpaa2-eth: Initialize mutex used in one step timestamping path d3c9dd36ec24 dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key 1a16f047946b tipc: fix wrong publisher node address in link publications 868366d627e4 atl1c: fix tx timeout after link flap on Mikrotik 10/25G NIC 0e6727589aea net: phy: mediatek: remove PHY mode check on MT7531 7de7ba7a8bd4 net/smc: Avoid overwriting the copies of clcsock callback functions f8ba235c4927 libsubcmd: Fix use-after-free for realloc(..., 0) 4c9f207810b7 bonding: fix data-races around agg_select_timer 9bb363ba014f net_sched: add __rcu annotation to netdev->qdisc 3077976a752a drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit bdb6df9bedb3 bonding: force carrier update when releasing slave b9ff5667e116 ping: fix the dif and sdif check in ping_lookup 392c42424ae0 net: ieee802154: ca8210: Fix lifs/sifs periods 4b27446b538d net: dsa: lan9303: add VLAN IDs to master device 860c5c275ed2 net: dsa: lan9303: handle hwaccel VLAN tags df2495f329b0 net: dsa: lantiq_gswip: fix use after free in gswip_remove() 2566a89b9e16 net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN d8905a499af4 net: dsa: lan9303: fix reset on probe 241e633cb379 cfg80211: fix race in netlink owner interface destruction c4caf72a42d3 brcmfmac: firmware: Fix crash in brcm_alt_fw_path 00fb850c8a1a mac80211: mlme: check for null after calling kmemdup 61e8fc49a9f8 Revert "net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname" d51cd648dbca ipv6: per-netns exclusive flowlabel checks 3e11ef1903cf ipv6: mcast: use rcu-safe version of ipv6_get_lladdr() 9ed25183e6d4 ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt db333693b052 ipv4: fix data races in fib_alias_hw_flags_set 5dc653ef0785 selftests: netfilter: disable rp_filter on router 2035d13eb12e netfilter: nft_synproxy: unregister hooks on init error path a1d9e1f14207 selftests: netfilter: fix exit value for nft_concat_range b10f4b00e10a iwlwifi: mvm: don't send SAR GEO command for 3160 devices c448b0541abf iwlwifi: pcie: gen2: fix locking when "HW not ready" 78cd5c0acfed iwlwifi: pcie: fix locking when "HW not ready" 79bdf56cc55d drm/i915/ttm: tweak priority hint selection e4778408c04d drm/i915/gvt: Make DRM_I915_GVT depend on X86 02f7d38533ba drm/cma-helper: Set VM_DONTEXPAND for mmap 787468ee7a43 vsock: remove vsock from connected table when connect is interrupted by a signal fe802b3fe763 drm/i915: Fix mbus join config lookup 34f5556ddf2b drm/i915: Fix dbuf slice config lookup d006f2fe7d62 drm/i915/opregion: check port number bounds for SWSCI display power state 960c8a55016b drm/amdgpu: skipping SDMA hw_init and hw_fini for S0ix. 3851046599c1 drm/amd/pm: correct the sequence of sending gpu reset msg a1596e0277ed drm/atomic: Don't pollute crtc_state->mode_blob with error pointers 68f3a4252e97 drm/radeon: Fix backlight control on iMac 12,1 ddd46059f7d9 iwlwifi: fix use-after-free 8209fede7d58 KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved state 74b426bea4f7 KVM: x86: nSVM: fix potential NULL derefernce on nested migration 417b87cb2311 KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT && !gCR0.PG case cd14c7342df5 KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a result of RSM b5c86e750388 KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU b16817a6de31 random: wake up /dev/random writers after zap effdcc250584 gcc-plugins/stackleak: Use noinstr in favor of notrace 0a01326fddf6 Revert "module, async: async_synchronize_full() on module init iff async is used" 769a6b33ec9f x86/Xen: streamline (and fix) PV CPU enumeration 0fec53c5dca8 drm/amdgpu: fix logic inversion in check 38108fd273ac drm/amd: Only run s3 or s0ix if system is configured properly 72808bb42c87 drm/amd: add support to check whether the system is set to s3 0ceba4d64fee net: sparx5: do not refer to skb after passing it on 646952b2210f nvme-rdma: fix possible use-after-free in transport error_recovery work 5e42fca37ccc nvme-tcp: fix possible use-after-free in transport error_recovery work e043fb5a0336 nvme: fix a possible use-after-free in controller reset during load 64519c9e32ac drm/amd: Warn users about potential s0ix problems d9d93f32534a scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task 3c334cdfd949 scsi: pm8001: Fix use-after-free for aborted TMF sas_task f2c58667ffcd scsi: core: Reallocate device's budget map on queue depth change 46756cc81099 kselftest: Fix vdso_test_abi return status 3801775a07b5 scsi: pm80xx: Fix double completion for SATA devices 64d6f76958c5 quota: make dquot_quota_sync return errors from ->sync_fs 38f22c730c38 vfs: make freeze_super abort when sync_filesystem returns error 5d3e1af11e07 pinctrl: bcm63xx: fix unmet dependency on REGMAP for GPIO_REGMAP 4c958f0c5714 ax25: improve the incomplete fix to avoid UAF and NPD bugs bced176da6e0 selftests: skip mincore.check_file_mmap when fs lacks needed support 7d10b671a052 selftests: openat2: Skip testcases that fail with EOPNOTSUPP 04542fd44dd7 selftests: openat2: Add missing dependency in Makefile a613105e07b9 selftests: openat2: Print also errno in failure messages 16d28de2f361 selftests/zram: Adapt the situation that /dev/zram0 is being used 9172557bdf13 selftests/zram01.sh: Fix compression ratio calculation 586ec7c0992a selftests/zram: Skip max_comp_streams interface on newer kernel 23b2a2538240 net: ieee802154: at86rf230: Stop leaking skb's c99068d6839c kselftest: signal all child processes eb3b35385558 selftests: rtc: Increase test timeout so that all tests run ec1d9bb08850 kunit: tool: Import missing importlib.abc fdad28ff1d1d platform/x86: ISST: Fix possible circular locking dependency detected 54688a550924 platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1 7e234c47fd2f btrfs: send: in case of IO error log it 94e76b372817 parisc: Add ioread64_lo_hi() and iowrite64_lo_hi() c7a4b1d155d3 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology 7da6ba116cdc HID: amd_sfh: Correct the structure field name 6b75f5c18f38 HID: amd_sfh: Increase sensor command timeout bdbc65eb77ee HID: i2c-hid: goodix: Fix a lockdep splat 6451058f2720 HID: amd_sfh: Add illuminance mask to limit ALS max value b3dc4b9d3ca6 mm: don't try to NUMA-migrate COW pages that have other uses f3ff5f75d8f6 mmc: block: fix read single on recovery logic 5b6e29b9306c parisc: Fix sglist access in ccio-dma.c 8c8e949ae81e parisc: Fix data TLB miss in sba_unmap_sg 9413b2e2bdb7 parisc: Drop __init from map_pages declaration 35c955b5a45e serial: parisc: GSC: fix build when IOSAPIC is not set 7a25d8249971 parisc: Show error if wrong 32/64-bit compiler is being used 9750d45760c8 Revert "svm: Add warning message for AVIC IPI invalid target" 65ad2f6191a6 HID:Add support for UGTABLET WP5540 06bd0f157e70 scsi: lpfc: Fix mailbox command failure during driver initialization ae6ca6343929 btrfs: zoned: cache reported zone during mount a8dd0cfa3779 fs/proc: task_mmu.c: don't read mapcount for migration entry f0a60c7c4ede drm/nouveau/pmu/gm200-: use alternate falcon reset sequence
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Sat, 5 Mar 2022 01:25:13 +0000 (20:25 -0500)]
linux-yocto/5.10: Fix ramoops/ftrace
Integrating the following commit(s) to linux-yocto/5.10:
253c752ed120 pstore/ftrace: Add and use ftrace_test_recursion_trylock_safe 356e8a12bd66 pstore/ftrace: Add recursion protection to the ftrace callback 334706a1e873 ftrace: Add ftrace_test_recursion_trylock() helper function 78c260d7f60b ftrace: Move the recursion testing into global headers
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Sat, 5 Mar 2022 01:25:12 +0000 (20:25 -0500)]
linux-yocto/5.10: update to v5.10.101
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
3969aba589d6 Linux 5.10.101 cb86e511e78e iommu: Fix potential use-after-free during probe f6b5d51976fc perf: Fix list corruption in perf_cgroup_switch() ce3ca12c632a arm64: dts: imx8mq: fix lcdif port node 759aeacdfe70 scsi: lpfc: Reduce log messages seen after firmware download 57c5d7d42076 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled 199dab00f043 can: isotp: fix error path in isotp_sendmsg() to unlock wait queue 3b10ebeb95d7 Makefile.extrawarn: Move -Wunaligned-access to W=1 ad53060bdfc3 hwmon: (dell-smm) Speed up setting of fan speed 3c75d1017cb3 phy: ti: Fix missing sentinel for clk_div_table 6eabe53492c2 speakup-dectlk: Restore pitch setting 3836a5ff4bb7 USB: serial: cp210x: add CPI Bulk Coin Recycler id 51b03a9bcd99 USB: serial: cp210x: add NCR Retail IO box id a21e6b2e0864 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices 7113440a36c7 USB: serial: option: add ZTE MF286D modem b7ed2f9619cc USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320 e07dde31acc9 usb: raw-gadget: fix handling of dual-direction-capable endpoints e9f9b877eb0e usb: gadget: f_uac2: Define specific wTerminalType fb4ff0f96de3 usb: gadget: rndis: check size of RNDIS_MSG_SET command 22ec10047285 USB: gadget: validate interface OS descriptor requests 351159167cd8 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition 3bfca3891480 usb: dwc3: gadget: Prevent core from processing stale TRBs 2a17bd9f5210 usb: ulpi: Call of_node_put correctly 8b89a6916681 usb: ulpi: Move of_node_put to ulpi_dev_release 758290defe93 net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup a66a2b17b8c8 Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured" 73961057e9dc usb: dwc2: drd: fix soft connect when gadget is unconfigured a37960df7eac eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX 1b99fe34e26d n_tty: wake up poll(POLLRDNORM) on receiving data f1b25737156c vt_ioctl: add array_index_nospec to VT_ACTIVATE 778302ca0949 vt_ioctl: fix array_index_nospec in vt_setactivate 22249886dc5b net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister 3a3c65c487a4 net: mscc: ocelot: fix mutex lock error during ethtool stats read 809f030745b2 ice: fix IPIP and SIT TSO offload cf11949b9163 ice: fix an error code in ice_cfg_phy_fec() f8edc6feab4d dpaa2-eth: unregister the netdev before disconnecting from the PHY ff6c9e0fcee5 net: amd-xgbe: disable interrupts during pci removal 657aea782887 tipc: rate limit warning for received illegal binding update ef5cdae8bc00 net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE bf99c144360d veth: fix races around rq->rx_notify_masked 00e6d6c3bc14 net: fix a memleak when uncloning an skb dst and its metadata 2e9fd2d0f69e net: do not keep the dst cache when uncloning an skb dst and its metadata 0bae953d7ab5 nfp: flower: fix ida_idx not being released 09ac0fcb0a82 ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path e177d2e85ebc net: dsa: lantiq_gswip: don't use devres for mdiobus 95e5402f9430 net: dsa: felix: don't use devres for mdiobus 2770b795294e net: dsa: bcm_sf2: don't use devres for mdiobus 475ce5dcf2d8 net: dsa: ar9331: register the mdiobus under devres 8ccebe77df6e net: dsa: mv88e6xxx: don't use devres for mdiobus 4a384c1e4058 bonding: pair enable_port with slave_arr_updates 1ba45dd32667 gpio: sifive: use the correct register to read output values 48e413087de1 ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE 3b72d3f0205e drm/panel: simple: Assign data from panel_dpi_probe() correctly bf35639192ed ixgbevf: Require large buffers for build_skb on 82599VF e5a64f548a45 arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133' 04fe6569a7cf netfilter: ctnetlink: disable helper autoassign a5ce7ee5fcc0 misc: fastrpc: avoid double fput() on failed usercopy 21c890ca8eae drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd. 70ea005626a9 gpio: aggregator: Fix calling into sleeping GPIO controllers 0042178a69eb usb: f_fs: Fix use-after-free for epfile 5a37fd9fdcce ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo 39bf132a6ed5 phy: xilinx: zynqmp: Fix bus width setting for SGMII 108868dae2ee ARM: dts: imx6qdl-udoo: Properly describe the SD card detect 0a7b5e8d8c1e staging: fbtft: Fix error path in fbtft_driver_module_init() 74cd5cb2190f ARM: dts: meson8b: Fix the UART device-tree schema validation 566b558e9429 ARM: dts: meson8: Fix the UART device-tree schema validation 210d70f08100 ARM: dts: meson: Fix the UART compatible strings 88f0e61354f4 ARM: dts: Fix timer regression for beagleboard revision c c943a297ec3c drm/rockchip: vop: Correct RK3399 VOP register fields a941384fba3f PM: s2idle: ACPI: Fix wakeup interrupts handling fcbac51a64d3 ACPI/IORT: Check node revision for PMCG resources 57ede0ce6500 nvme-tcp: fix bogus request completion when failing to send AER 3a669d77e5b3 ARM: socfpga: fix missing RESET_CONTROLLER 435e62d5666a ARM: dts: Fix boot regression on Skomer b217b89e607c ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group 3f9843f2f65e riscv: fix build with binutils 2.38 3aa5c8657292 KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow bd39fe29bbbb KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode 9efad4cb0365 KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS db58a3d978b4 KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER dc129275a7f7 KVM: eventfd: Fix false positive RCU usage warning 87bbd78a2cd1 net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout() c9b8cc1046f0 nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs d0774cf73056 perf: Always wake the parent event a117e986e9cc usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend 4607218fde84 PM: hibernate: Remove register_nosave_region_late() 0e42c4a3d732 scsi: myrs: Fix crash in error case 3bc5b128b9a2 scsi: ufs: Treat link loss as fatal error 12cf1208035d scsi: pm8001: Fix bogus FW crash for maxcpus=1 87f187e5265b scsi: qedf: Fix refcount issue when LOGO is received during TMF aa7352aa155e scsi: qedf: Add stag_work to all the vports 150d448c663d scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup() 7dbda616fc64 scsi: target: iscsi: Make sure the np under each tpg is unique 67baac10dd5a powerpc/fixmap: Fix VM debug warning on unmap 3d0eafd459b2 net: sched: Clarify error message when qdisc kind is unknown 9b569faabd22 drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer 0d6b9d15ecb4 x86/perf: Avoid warning for Arch LBR without XSAVE b37dd03f2fc6 NFSv4 handle port presence in fs_location server string 6f2974b52b15 NFSv4 expose nfs_parse_server_name function 5a9c613a29e7 NFSv4 remove zero number of fs_locations entries error check 1c79aad1186b NFSv4.1: Fix uninitialised variable in devicenotify c5619c510f04 nfs: nfs4clinet: check the return value of kstrdup() db053bdece3a NFSv4 only print the label when its queried e2b4435fd340 NFS: change nfs_access_get_cached to only report the mask b4e0c9bcf142 tracing: Propagate is_signed to expression 5234de6c7975 drm/amdgpu: Set a suitable dev_info.gart_page_size 6215fb455893 NFSD: Fix offset type in I/O trace points 3a6a2d43e32a NFSD: Clamp WRITE offsets c72f7c2ec3d4 NFS: Fix initialisation of nfs_client cl_flags field f47ee3a35ffb net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs 6a33aa711327 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs 7b53d2204ce7 can: isotp: fix potential CAN frame reception race in isotp_rcv() c9cc027c55bb mmc: sdhci-of-esdhc: Check for error num after setting mask 8027ba480c00 ima: Do not print policy rule with inactive LSM labels 8171c8a99fea ima: Allow template selection with ima_template[_fmt]= after ima_hash= 0795b7100d25 ima: Remove ima_policy file before directory 7fea2e520003 integrity: check the return value of audit_log_start() d4f7d322a4ad Linux 5.10.100 3c7e59435535 tipc: improve size validations for received domain records 2951d2168976 crypto: api - Move cryptomgr soft dependency into algapi b62267b8b06e KVM: s390: Return error on SIDA memop on normal guest be93028d306d moxart: fix potential use-after-free on remove path
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CONFIG_MAXPHYSMEM_* are actually never used, even the nommu defconfigs
selecting the MAXPHYSMEM_2GB had no effects on PAGE_OFFSET since it was
preempted by !MMU case right before.
In addition, the move of the kernel mapping at the end of the address
space broke the use of MAXPHYSMEM_2G with MMU since it defines PAGE_OFFSET
at the same address as the kernel mapping.
Richard Purdie [Fri, 4 Mar 2022 16:32:00 +0000 (16:32 +0000)]
layer.conf: Add libarchive-native e2fsprogs-native exclusion from sysroot
Currently, libarchive-native pulls e2fsprogs and all it's dependencies into
the sysroot. Since only headers are needed at buildtime and there is no
runtime dependency, we can avoid this and shrink the native sysroots.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 4 Mar 2022 14:15:42 +0000 (14:15 +0000)]
layer.conf: Filter docs dependencies for efficiency
Where a recipe has depends on native docs tools, in most cases
we don't need recipes that depend on that recipe to also install
these things into the sysroot. We can rely on recipes wanting these
tools to have direct dependencies instead.
This massively reduced dependency creep in simple recipes (e.g. an
allarch one) and reduced the size of builds with the api-documentation
feature substancially.
gperf-native is also included since that would normally have a direct
dependency in a recipe which needs it too.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 4 Mar 2022 11:55:25 +0000 (11:55 +0000)]
classes: add setuptools3_legacy
Following a good discussion with PyPA upstream[1] the migration of the
setuptools3.bbclass to use bdist_wheel+pip turns out to be more complex
than thought.
Essentially, we're midway through a lot of changes: the future of Python
packaging is wheels and pip, but those by design are not as flexible as
traditional distutils and setup.py.
Specifically, with traditional distutils the package can implement its
own install task and write arbitrary files (such as init scripts). With
wheels this is explicity impossible, so packages that do this cannot use
the new setuptools class and must continue to use the build/install tasks
as before.
This class is the old setuptools behaviour, bought back. However, as
distutils and the setuptools install task are both deprecated and will
soon be removed entirely, any users of this class should be moving to an
alternative build tool, be it a modern Python tool which works with
wheels, or a non-Pythonic tool such as Meson.
libsdl2: Add libunwind-native to the libsdl2-native DEPENDS
This fixes this CMake configuration error:
| -- Checking for one of the modules 'libunwind'
| CMake Error at [...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
| None of the required 'libunwind' found
| Call Stack (most recent call first):
| CMakeLists.txt:1367 (pkg_search_module)
This error happens even if libunwind is installed complete with its C
headers and development .so files (in Ubuntu, this means libunwind-dev
is installed).
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Fri, 4 Mar 2022 05:18:43 +0000 (13:18 +0800)]
btrfs-tools: upgrade 5.16 -> 5.16.2
0001-btrfs-progs-kerncompat-add-local-definition-for-alig.patch
removed since it's included in 5.16.2
Changelog:
=========
mkfs: fix detection of profile type for zoned mode when creating DUP
build:
- add missing stub for zoned mode helper when zoned mode not enabled
- fix 64bit types on MIPS and PowerPC
- improved zoned mode support autodetection, for systems with existing blkzone.h
header but missing support for zone capacity
other: doc updates, test updates
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 3 Mar 2022 16:33:40 +0000 (16:33 +0000)]
python3: Drop opt1 and opt2 pyc files from target
These are only used with python when the -O or -OO options are passed
and I'm not aware of runtime use of that. They otherwise just waste a
ton of space.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 3 Mar 2022 16:32:31 +0000 (16:32 +0000)]
python3-native: Remove all pyc files
This removes a further 1600 files from sstate handling and lets python
create the ones it wants at runtime which is likely much better overall
for performance.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch was introduced 5 years ago as a temporary workaround
to fix an upstream bug.
Currently with that patch the following flags are duplicated:
OECMAKE_C_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS}"
OECMAKE_C_LINK_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CPPFLAGS} ${LDFLAGS}"
OECMAKE_CXX_LINK_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CXXFLAGS} ${LDFLAGS}"
The duplicated flags is used in the toolchain.cmake:
set( CMAKE_C_FLAGS "${OECMAKE_C_FLAGS}" CACHE STRING "CFLAGS" )
set( CMAKE_CXX_FLAGS "${OECMAKE_CXX_FLAGS}" CACHE STRING "CXXFLAGS" )
set( CMAKE_CXX_LINK_FLAGS "${OECMAKE_CXX_LINK_FLAGS}" CACHE STRING "LDFLAGS" )
CC: Khem Raj <raj.khem@gmail.com> Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 3 Mar 2022 15:22:00 +0000 (15:22 +0000)]
cmake-native: Remove help docs from the native sysroot
This drops the file count for cmake-native from ~3000 to ~1700
which is a decent chunk of files not to be copying to each native
sysroot for no reason.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 3 Mar 2022 13:52:29 +0000 (13:52 +0000)]
python3-native: Drop opt-1 and opt-2 pyc files
There are over 3,000 of these in python3-native (of 8,000+ files total) and
copying them to sysroots all the time seems pointless, particularly since
they're only used if python is run with the -O or -OO parameters.
Get rid of them and save the overhead. This is particularly pronounced in
builds using the api-documentation distro feature.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 3 Mar 2022 11:16:59 +0000 (11:16 +0000)]
libsndfile: Fix missing external library support
The recent upgrade regressed codec support since opus is missing and
this caused several codecs to be disabled. Add a patch to work around
the issue whilst it is discussed with upstream.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glslang/spirv: synchronize with the rest of vulkan items
These components are now versioned in sync with vulkan releases:
https://github.com/KhronosGroup/SPIRV-Headers/issues/252
https://github.com/KhronosGroup/SPIRV-Headers/issues/266
"We'll continue tagging the repos contributing with SDK releases, as
that is when all the testing of the various projects is performed
together."
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pgowda [Thu, 3 Mar 2022 05:57:00 +0000 (21:57 -0800)]
binutils: Avoid Race condition in as.info
The race condition in binutils/gas folder was introduced with the
following patch. The patch avoids recursive make into the doc folder.
It would speed up the build process slightly. However, the as.info
is installed twice which resulted in the race condition sometimes.
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=bde299e063de090bf36c1fe51874d1e9f4d94c3c
On debugging the code, it was found that the issue was related to
install-data-local. On further analysis, there is already a patch in
binutils that removes install-data-local.
On applying the patch as.info is installed once as expected and there’s
no possibility of any race condition.
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=9a84a44d5df4618dd616137fa755bd71b7eacc5f