summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* rust-common: Fix native signature dependency issuesRichard Purdie2022-06-071-0/+3
| | | | | | | | | | | | | | The previous changes cause sstatetests.SStateTests.test_sstate_32_64_same_hash to fail since RUST_XXX_SYS changes depending on the native architecture. This is correct but these are accounted for in the layout of paths in TMPDIR so they should be excluded from the task signatures for the correct behaviour. (From OE-Core rev: 1887a69a1738cdf34d27f396943bce6a7e4f8e39) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2b9bb4c07d0ab53f58cbdd8a96896780a90be9a8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-common: Drop LLVM_TARGET and simplifyRichard Purdie2022-06-073-21/+5
| | | | | | | | | | | | | This all seems over complicated for something which is basically always one of two values. This might even help cross-canadian work on something which isn't x86-64. (From OE-Core rev: cf7c1cde3a3949498d0566e1ac524f8468b91380) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bd36593ba3db758b3eacc974e48468a665967961) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-common: Fix for target definitions returning 'NoneType' for armSundeep KOKKONDA2022-06-071-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [YOCTO #14742] The build shows below error while building for arm machines. Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' Detailed error info : Steps to reproduce: 1. Set MACHINE ?= "qemuarm" in local.conf & add 'TOOLCHAIN_HOST_TASK:append = " packagegroup-rust-cross-canadian-${MACHINE}"' 2. bitbake core-image-minimal -cpopulate_sdk Complete Error: ERROR: rust-cross-canadian-arm-1.59.0-r0 do_rust_gen_targets: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:do_rust_gen_targets(d) 0003: File: '/ala-lpggp31/skokkonda/yocto/poky/meta/recipes-devtools/rust/rust-cross-canadian-common.inc', lineno: 31, function: do_rust_gen_targets 0027: 0028:LLVM_TARGET[x86_64] = "${RUST_HOST_SYS}" 0029:python do_rust_gen_targets () { 0030: wd = d.getVar('WORKDIR') + '/targets/' *** 0031: rust_gen_target(d, 'TARGET', wd, d.getVar('TARGET_LLVM_FEATURES') or "", d.getVar('TARGET_LLVM_CPU'), d.getVar('TARGET_ARCH')) 0032: rust_gen_target(d, 'HOST', wd, "", "generic", d.getVar('HOST_ARCH')) 0033: rust_gen_target(d, 'BUILD', wd, "", "generic", d.getVar('BUILD_ARCH')) 0034:} 0035: File: '/ala-lpggp31/skokkonda/yocto/poky/meta/recipes-devtools/rust/rust-common.inc', lineno: 330, function: rust_gen_target 0326: # build tspec 0327: tspec = {} 0328: tspec['llvm-target'] = d.getVarFlag('LLVM_TARGET', arch_abi) 0329: tspec['data-layout'] = d.getVarFlag('DATA_LAYOUT', arch_abi) *** 0330: tspec['max-atomic-width'] = int(d.getVarFlag('MAX_ATOMIC_WIDTH', arch_abi)) 0331: tspec['target-pointer-width'] = d.getVarFlag('TARGET_POINTER_WIDTH', arch_abi) 0332: tspec['target-c-int-width'] = d.getVarFlag('TARGET_C_INT_WIDTH', arch_abi) 0333: tspec['target-endian'] = d.getVarFlag('TARGET_ENDIAN', arch_abi) 0334: tspec['arch'] = arch_to_rust_target_arch(rust_arch) Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' Below are the local variables from rust_gen_target function for arm and aarch64 targets. Refer below, the tspec varibles for 'arm' generated with NoneType. (a) Locals at rust_gen_target for arm:: tspec['data-layout'] = None, Type of tspec['data-layout'] = <class 'NoneType'> tspec['data-layout'] = None, Type of tspec['data-layout'] = <class 'NoneType'> DEBUG: Python function do_rust_gen_targets finished (b) Locals at rust_gen_target for aarch64:: tspec['data-layout'] = aarch64-unknown-linux-gnu, Type of tspec['data-layout'] = <class 'str'> tspec['max-atomic-width'] = 128, Type of tspec['max-atomic-width'] = <class 'int'> Reason for changing arm-eabi to arm: The earlier changes introduced this bug, so reverting the change 'arm-eabi' to 'arm' fixed the issue. (From OE-Core rev: a4886f02dfb78e861fd7afe07b4a25c262bf0421) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8ed000debb026477abd86ea3bf72adaf21d69f39) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-common: Ensure sstate signatures have correct dependencues for ↵Sundeep KOKKONDA2022-06-071-0/+2
| | | | | | | | | | | | | | | | do_rust_gen_targets The do_rust_gen_targets task was not rerunning when the configuration variables it uses were changed. Add the missing variable dependencies to fix this. [RP: Split to separate patch and add commit message] (From OE-Core rev: 84e891d812874311b4afa20fd7d3dc4c457009f6) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 65ce2d129154d4540cb8ec960971bcf6aa5a9480) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-common: Fix sstate signatures between arm hf and non-hfRichard Purdie2022-06-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Building with MACHINE=qemuarm and MACHINE=qemux86-64 causes rust-native to rebuild. The reason is all the ingredients into the RUST_*_SYS variables are being tracked but that doesn't really make sense in this case: $ bitbake-diffsigs tmp/stamps/x86_64-linux/rust-native/1.60.0-r0.do_rust_gen_targets.sigdata.63* tmp/stamps/x86_64-linux/rust-native/1.60.0-r0.do_rust_gen_targets.sigdata.34* NOTE: Starting bitbake server... basehash changed from 860b8f11b10182dc5b2737f62cdb697477f714adb63eeb4d4b932d67cac8eec2 to 9379e8b9df9696e8056fec7d1534661f34dda073f6d816e241b09a2dff76ae2d Variable rust_base_triple value changed: @@ -36,4 +36,4 @@ # In some cases uname and the toolchain differ on their idea of the arch name -TUNE_FEATURES{callconvention-hard} = Set +TUNE_FEATURES{callconvention-hard} = Unset Switch to using the final variable value for sstate signature purposes which avoids this issue. (From OE-Core rev: 424b81ae680057a8c285157ea081f167381b6c62) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 38b61aeaf877f6a34c3c0060c175119975ebd782) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: Fix native build with gcc-12Khem Raj2022-06-073-0/+106
| | | | | | | | | | | | | | | | | | | Host distros have started deploying gcc12 as well e.g. archlinux this build failure shows up which has been fixed upstream In function ‘GetAlignmentFromFile’, inlined from ‘main’ at GenFfs.c:816:20: GenFfs.c:545:5: error: pointer ‘InFileHandle’ used after ‘fclose’ [-Werror=use-after-free] 545 | Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (From OE-Core rev: d28d84c5b43ffcc312808af085d949e403805aca) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7b67f19d353d88107f52cceda3c858730ac1db54) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pciutils: avoid lspci conflict with busyboxNaveen Saini2022-06-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | if virtualization is enabled as DISTRO_FEATURES, then meta-virtualization layer enables CONFIG_LSPCI=y for busybox, which in result have conflicts with pciutils update-alternatives: Error: not linking ..core-image-base/1.0-r0/rootfs/usr/bin/lspci to /bin/busybox.nosuid since ..core-image-base/1.0-r0/rootfs/usr/bin/lspci exists and is not a link So marking it as ALTERNATIVE with ALTERNATIVE_PRIORITY set to 100 Ref: https://git.yoctoproject.org/poky/commit/meta/recipes-bsp/pciutils?id=a81af375dfc51446b21548dce2afa6a77bc02df3 https://github.com/pciutils/pciutils/commit/0b307156c92f61c1a02d232f4c6ed17e888de9a9 https://git.yoctoproject.org/meta-virtualization/tree/recipes-core/busybox/busybox/lspci.cfg https://git.yoctoproject.org/meta-virtualization/tree/recipes-core/busybox/busybox_virtualization.inc#n4 https://git.yoctoproject.org/meta-virtualization/tree/recipes-core/busybox/busybox_%25.bbappend#n1 (From OE-Core rev: bbb7dcb461c09409b556571cf645bcadf12f397c) Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 257e7620a79ea50c0c59746ff9a3817d43411e39) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: make sure to close .patch filesMartin Jansa2022-06-071-8/+10
| | | | | | | | | | | | | | | | | * fixes: DEBUG: Executing python function do_qa_patch /OE/build/oe-core/openembedded-core/meta/classes/insane.bbclass:1189: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/openembedded-core/meta/recipes-bsp/keymaps/files/GPLv2.patch' mode='r' encoding='utf-8'> content = open(fullpath, encoding='utf-8', errors='ignore').read() ResourceWarning: Enable tracemalloc to get the object allocation traceback DEBUG: Python function do_qa_patch finished (From OE-Core rev: d96022a38908fbcf0583ed3388d5667bff38087b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 61be3668d866834adfff688620aee7e29f6d8c44) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libseccomp: Add missing files for ptestsJoerg Vehlow2022-06-071-0/+4
| | | | | | | | | | | | | | | pfc files are used e.g. in 38-basic-pfc_coverage.sh valgrind_test.supp is required, when valgrind is installed, otherwise all valgrind tests fail (From OE-Core rev: b34aaa9acbe865f61be0a598b8df2735b1bc76cd) Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 32ba67bc37b5ca73f7d29cb6c7de281ab8f824bd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging.bbclass: process direct dependencies in deterministic orderMartin Jansa2022-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * this doesn't fix any issue (at least AFAIK), just keeps the log files more deterministic to avoid unnecessary churn like in: --- /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213051 2022-05-26 11:35:44.110063749 +0200 +++ /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213372 2022-05-26 11:35:54.553062630 +0200 @@ -1,7 +1,7 @@ DEBUG: Executing python function extend_recipe_sysroot -NOTE: Direct dependencies are ['virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot'] +NOTE: Direct dependencies are ['/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot'] NOTE: Installed into sysroot: [] -NOTE: Skipping as already exists in sysroot: ['patch-native', 'quilt-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native'] +NOTE: Skipping as already exists in sysroot: ['quilt-native', 'patch-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native'] DEBUG: Python function extend_recipe_sysroot finished DEBUG: Executing python function do_patch DEBUG: Executing python function patch_do_patch (From OE-Core rev: bd72b15e9a4c9bb4f155d19c84bcf20d788bd568) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d3ebb37b97da15166d452bf51f5f7e0c312ae42e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa.inc: package 00-radv-defaults.confMarkus Volk2022-06-071-1/+1
| | | | | | | | | | | | | | | | | | this fixes: ERROR: mesa-2_22.0.2-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package: /usr/share/drirc.d/00-radv-defaults.conf Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. mesa: 1 installed and not shipped files. [installed-vs-shipped] (From OE-Core rev: 8d5f5823b357e5bba107511f62cfd0777da2e401) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e306dd7d300727852a2794cd78f3097d5999eb58) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: update to patchlevel 20220423Davide Gardenal2022-06-072-3/+3
| | | | | | | | | | CVE: CVE-2022-29458 (From OE-Core rev: 862c1b109cf8f31522a250cc9ff4146fe526450c) Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: upgrade 10.39 -> 10.40Davide Gardenal2022-06-072-61/+2
| | | | | | | | | | | | | | | Security fixes and update to Unicode property handling. Upstream release notes: https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.40 CVE: CVE-2022-1587 (From OE-Core rev: 9cf49b4f07afcf48a5e6d1ed12d0959d5d040e00) Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.114Bruce Ashfield2022-06-073-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: f40e35e79c11 Linux 5.10.114 2d74f61787e6 perf symbol: Remove arch__symbols__fixup_end() bf98302e689d tty: n_gsm: fix software flow control handling 95b267271a7d tty: n_gsm: fix incorrect UA handling 70b045d9ae4f tty: n_gsm: fix reset fifo race condition 320a24c4ef44 tty: n_gsm: fix wrong command frame length field encoding 935f314b6fdb tty: n_gsm: fix wrong command retry handling 17b86db43c00 tty: n_gsm: fix missing explicit ldisc flush a2baa907c281 tty: n_gsm: fix wrong DLCI release order 705925e69360 tty: n_gsm: fix insufficient txframe size 842a9bbbeff1 netfilter: nft_socket: only do sk lookups when indev is available 7346e54dbf5b tty: n_gsm: fix malformed counter for out of frame data d19613895e15 tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2 26f127f6d938 tty: n_gsm: fix mux cleanup after unregister tty device f26c271492b6 tty: n_gsm: fix decoupled mux resource 47132f9f7f76 tty: n_gsm: fix restart handling via CLD command b3c88d46db76 perf symbol: Update symbols__fixup_end() 3d0a3168a364 perf symbol: Pass is_kallsyms to symbols__fixup_end() 2ab14625b879 x86/cpu: Load microcode during restore_processor_state() 795afbe8b40c thermal: int340x: Fix attr.show callback prototype 11d16498d737 net: ethernet: stmmac: fix write to sgmii_adapter_base 236dd6223051 drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses 78d4dccf1601 kasan: prevent cpu_quarantine corruption when CPU offline and cache shrink occur at same time 5fef6df2731f zonefs: Clear inode information flags on inode creation 92ed64a9205b zonefs: Fix management of open zones 42e8ec3b4be8 powerpc/perf: Fix 32bit compile ac3d0770437e drivers: net: hippi: Fix deadlock in rr_close() 5399e7b80c37 cifs: destage any unwritten data to the server before calling copychunk_write 80fc45377f41 x86: __memcpy_flushcache: fix wrong alignment if size > 2^32 585ef03c9e79 ext4: fix bug_on in start_this_handle during umount filesystem 07da0be58853 ASoC: wm8731: Disable the regulator when probing fails 1b1747ad7e88 ASoC: Intel: soc-acpi: correct device endpoints for max98373 aa138efd2bbf tcp: fix F-RTO may not work correctly when receiving DSACK 9d56e369bd4f Revert "ibmvnic: Add ethtool private flag for driver-defined queue limits" 96904c828991 ibmvnic: fix miscellaneous checks 17f71272ef41 ixgbe: ensure IPsec VF<->PF compatibility c33d717e064a net: fec: add missing of_node_put() in fec_enet_init_stop_mode() 9591967ac4d5 bnx2x: fix napi API usage sequence 1781beb87935 tls: Skip tls_append_frag on zero copy size 77b922683e9e drm/amd/display: Fix memory leak in dcn21_clock_source_create 18068e0527d4 drm/amdkfd: Fix GWS queue count c0396f5e5bba net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK 1204386e2657 net: phy: marvell10g: fix return value on error e974c730f0af net: bcmgenet: hide status block before TX timestamping ee71b47da599 clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource() 8dacbef4fe58 bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create() 9f29f6f8da9e tcp: make sure treq->af_specific is initialized 8a9d6ca3608f tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT 720b6ced8549 ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode 41661b4c1ab1 ip6_gre: Make o_seqno start from 0 in native mode 7b187fbd7e38 ip_gre: Make o_seqno start from 0 in native mode 83d128daff2e net/smc: sync err code when tcp connection was refused 9eb25e00f59b net: hns3: add return value for mailbox handling in PF 929c30c02de4 net: hns3: add validity check for message data length e3ec78d82d48 net: hns3: modify the return code of hclge_get_ring_chain_from_mbx 06a40e71053a cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe fb172e93f861 pinctrl: pistachio: fix use of irq_of_parse_and_map() 8f042884aff8 arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock 73c35379dbdf ARM: dts: imx6ull-colibri: fix vqmmc regulator 61a89d0a5bce sctp: check asoc strreset_chunk in sctp_generate_reconf_event 41d6ac687da8 wireguard: device: check for metadata_dst with skb_valid_dst() 3c464db03c12 tcp: ensure to use the most recently sent skb when filling the rate sample ce4c3f708787 pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested 0c60271df026 tcp: md5: incorrect tcp_header_len for incoming connections f4dad5a48db5 pinctrl: rockchip: fix RK3308 pinmux bits 9ef33d23f86f bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook 6ac03e6ddde9 netfilter: nft_set_rbtree: overlap detection with element re-addition after deletion 72ae15d5ce5f net: dsa: Add missing of_node_put() in dsa_port_link_register_of 14cc2044c17e memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode 690c1bc4bfcf pinctrl: stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI 6f2bf9c5ddfe mtd: fix 'part' field data corruption in mtd_info 4da421035baa mtd: rawnand: Fix return value check of wait_for_completion_timeout 94ca69b70225 pinctrl: mediatek: moore: Fix build error 123b7e0388e7 ipvs: correctly print the memory size of ip_vs_conn_tab f4446f213623 ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35 4a526cc29cba ARM: dts: am3517-evm: Fix misc pinmuxing b622bca852f6 ARM: dts: Fix mmc order for omap3-gta04 9419d27fe142 phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe 9e00a6e1fd71 phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe eb659608e61e ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name bb524f5a95f2 ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek 4691ce8f28da phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks 76d1591a38c6 bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific 1b9855bf31e2 ARM: OMAP2+: Fix refcount leak in omap_gic_of_init 93cc8f184e3c phy: samsung: exynos5250-sata: fix missing device put in probe error paths 3ca74915702e phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe 8f7644ac24ba ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue 23b0711fcd3c USB: Fix xhci event ring dequeue pointer ERDP update issue 712302aed104 mtd: rawnand: fix ecc parameters for mt7622 207c7af3418f iio:imu:bmi160: disable regulator in error path 70d2df257eed arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards 2d320609be49 arm64: dts: meson: remove CPU opps below 1GHz for G12B boards c4fb41bdf4d6 video: fbdev: udlfb: properly check endpoint type 0967830e720d iocost: don't reset the inuse weight of under-weighted debtors ad604cbd1d54 x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests 8fcce58c59dd riscv: patch_text: Fixup last cpu should be master 51477d3b387b hex2bin: fix access beyond string end 616d354fb9e8 hex2bin: make the function hex_to_bin constant-time 1633cb2d4a1d pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config bdc3ad925131 arch_topology: Do not set llc_sibling if llc_id is invalid aaee3f661799 serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device 662f945a2091 serial: 8250: Also set sticky MCR bits in console restoration 8be962c89de6 serial: imx: fix overrun interrupts in DMA mode d22d92230ffb usb: phy: generic: Get the vbus supply b820764c6450 usb: cdns3: Fix issue for clear halt endpoint bd7f84708ea0 usb: dwc3: gadget: Return proper request status a633b8c34149 usb: dwc3: core: Only handle soft-reset in DCTL 5fa59bb867a0 usb: dwc3: core: Fix tx/rx threshold settings 140801d3fbd3 usb: dwc3: Try usb-role-switch first in dwc3_drd_init 4dd5feb27939 usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind() 6c3da0e19c98 usb: gadget: uvc: Fix crash when encoding data for usb request fb1fe1a4557a usb: typec: ucsi: Fix role swapping 06826eb0631c usb: typec: ucsi: Fix reuse of completion structure 7b510d4bb468 usb: misc: fix improper handling of refcount in uss720_probe() bb8ecca2ddf9 iio: imu: inv_icm42600: Fix I2C init possible nack ca2b54b6ad69 iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on() 1060604fc7f2 iio: dac: ad5446: Fix read_raw not returning set value 6ff33c01befb iio: dac: ad5592r: Fix the missing return value. 06ada9487f24 xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms e1be0001664d xhci: stop polling roothubs after shutdown 2eb6c8689146 xhci: Enable runtime PM on second Alderlake controller 63eda431b2f7 USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions e9971dac69a3 USB: serial: option: add support for Cinterion MV32-WA/MV32-WB 34ff5455eed2 USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader 729a81ae101b USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS 008ba29f339d USB: quirks: add STRING quirk for VCOM device ac6ad0ef83cf USB: quirks: add a Realtek card reader 8ba02cebb734 usb: mtu3: fix USB 3.0 dual-role-switch from device to host 549209caabc8 lightnvm: disable the subsystem 54c028cfc496 floppy: disable FDRAWCMD by default (From OE-Core rev: 02982668ac4199b9c3a2680b6d0989a7a9b0eee4) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e222f60784034809b4d81a77fcca54669237915b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.15: update to v5.15.38Bruce Ashfield2022-06-073-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 3fbf24b73f4a Linux 5.15.38 151322c24e87 powerpc/64: Add UADDR64 relocation support ec1bb681eee2 objtool: Fix type of reloc::addend 19ffee7d6231 objtool: Fix code relocs vs weak symbols 80c71d76e88a eeprom: at25: Use DMA safe buffers 7d0010f62840 perf symbol: Remove arch__symbols__fixup_end() ea47db3bac7a tty: n_gsm: fix software flow control handling ab49c23668ea tty: n_gsm: fix incorrect UA handling e0a84ae1c662 tty: n_gsm: fix reset fifo race condition f92783b7568e tty: n_gsm: fix missing tty wakeup in convergence layer type 2 aeacc7e81c71 tty: n_gsm: fix wrong signal octets encoding in MSC ef2f08ee00b0 tty: n_gsm: fix wrong command frame length field encoding e51f35470383 tty: n_gsm: fix wrong command retry handling 73defa00a7bc tty: n_gsm: fix missing explicit ldisc flush 2484787cde3d tty: n_gsm: fix wrong DLCI release order 0a7fe1a47ca5 tty: n_gsm: fix insufficient txframe size 87e1b4f90703 netfilter: nft_socket: only do sk lookups when indev is available a93d2d3189e8 tty: n_gsm: fix malformed counter for out of frame data 0d6289c4a0e1 tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2 4e1beef38c35 tty: n_gsm: fix mux cleanup after unregister tty device 8b19dfb3e817 tty: n_gsm: fix decoupled mux resource 7f71387d9f3b tty: n_gsm: fix restart handling via CLD command a87a36badd94 perf symbol: Update symbols__fixup_end() cf7bf78f10bd perf symbol: Pass is_kallsyms to symbols__fixup_end() f858bd6536e1 x86/cpu: Load microcode during restore_processor_state() 2333d2a72ba1 ARM: dts: imx8mm-venice-gw{71xx,72xx,73xx}: fix OTG controller OC mode 0dc5cad09e32 ARM: dts: at91: sama7g5ek: enable pull-up on flexcom3 console lines cf12ce1bd71d btrfs: fix leaked plug after failure syncing log on zoned filesystems 65b785cdb397 thermal: int340x: Fix attr.show callback prototype f3106b0b0113 ACPI: processor: idle: Avoid falling back to C3 type C-states d2bc6fc51e58 net: ethernet: stmmac: fix write to sgmii_adapter_base 4e308b21bc16 drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses 67434e132b8c drm/i915: Check EDID for HDR static metadata when choosing blc 891883c426b8 netfilter: Update ip6_route_me_harder to consider L3 domain c63fbe063ffb mtd: rawnand: qcom: fix memory corruption that causes panic 30083f049204 kasan: prevent cpu_quarantine corruption when CPU offline and cache shrink occur at same time 051e78dc1f97 zonefs: Clear inode information flags on inode creation 534c3f29acdd zonefs: Fix management of open zones 746140625a0f Revert "ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40" 2688d967ec65 selftest/vm: verify remap destination address in mremap_test a17404fcbfd0 selftest/vm: verify mmap addr in mremap_test c18b69393b4f powerpc/perf: Fix 32bit compile 9a90c13f72e7 drivers: net: hippi: Fix deadlock in rr_close() 3bb73c4cc265 cifs: destage any unwritten data to the server before calling copychunk_write 4640802e1cd4 x86: __memcpy_flushcache: fix wrong alignment if size > 2^32 5bf8eda3815a bonding: do not discard lowest hash bit for non layer3+4 hashing d276bcc5f72e ksmbd: set fixed sector size to FS_SECTOR_SIZE_INFORMATION df30cbfd3d8a ksmbd: increment reference count of parent fp 50f79a2abb65 arch: xtensa: platforms: Fix deadlock in rs_close() 52c3a04f9ec2 ext4: fix bug_on in start_this_handle during umount filesystem dd2f7fcb2a43 ASoC: wm8731: Disable the regulator when probing fails 2c5ca9bde710 ASoC: Intel: soc-acpi: correct device endpoints for max98373 27e724bf7c51 tcp: fix F-RTO may not work correctly when receiving DSACK 8de15dad3c77 Revert "ibmvnic: Add ethtool private flag for driver-defined queue limits" 881c48b61fbb ixgbe: ensure IPsec VF<->PF compatibility 3bc7a1f85d5b perf arm-spe: Fix addresses of synthesized SPE events 3591293c19df gfs2: No short reads or writes upon glock contention b5afb477d2f8 gfs2: Make sure not to return short direct writes fe24959a79c9 gfs2: Minor retry logic cleanup e4ea3286b1aa gfs2: Prevent endless loops in gfs2_file_buffered_write a83ee2d81b34 net: fec: add missing of_node_put() in fec_enet_init_stop_mode() 925ebcac26e4 bnx2x: fix napi API usage sequence 87fe5a392d27 tls: Skip tls_append_frag on zero copy size 815b847af99d drm/amd/display: Fix memory leak in dcn21_clock_source_create ce9be3baec9b drm/amdkfd: Fix GWS queue count 54e0b949bf59 netfilter: conntrack: fix udp offload timeout sysctl 37811e46a232 io_uring: check reserved fields for recv/recvmsg 79c10cb18815 io_uring: check reserved fields for send/sendmsg ee6d708520b7 net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK 8a991ba5ddde drm/sun4i: Remove obsolete references to PHYS_OFFSET ede22fc0bf7e net: dsa: mv88e6xxx: Fix port_hidden_wait to account for port_base_addr 9b649f4c5672 net: phy: marvell10g: fix return value on error 21bf1dc99db4 net: bcmgenet: hide status block before TX timestamping abff341ac2f9 cpufreq: qcom-cpufreq-hw: Clear dcvs interrupts 7356c1f0ae47 clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource() 409789e2cec5 bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create() 45b7fca32bbc tcp: make sure treq->af_specific is initialized 6c4d4334e573 tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT 6b59df7d4d0a ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode e5e985dd99d8 ip6_gre: Make o_seqno start from 0 in native mode 2dec240fb161 ip_gre: Make o_seqno start from 0 in native mode 479dc5d15316 net/smc: sync err code when tcp connection was refused 8c59a61ffb11 net: hns3: add return value for mailbox handling in PF fc480b465ab6 net: hns3: add validity check for message data length cfedc70d3c63 net: hns3: modify the return code of hclge_get_ring_chain_from_mbx 88c39408187c net: hns3: clear inited state and stop client after failed to register netdev ac01adfa7d6d cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe cdc350a76925 pinctrl: pistachio: fix use of irq_of_parse_and_map() 111827dfea31 arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock a621f6ce1fb3 ARM: dts: imx6ull-colibri: fix vqmmc regulator 5a4da2e23351 sctp: check asoc strreset_chunk in sctp_generate_reconf_event 37a04788c573 wireguard: device: check for metadata_dst with skb_valid_dst() d632cba7dee7 tcp: ensure to use the most recently sent skb when filling the rate sample e9b1a51c3297 pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested eb90a4269c20 tcp: md5: incorrect tcp_header_len for incoming connections eea166561f7c pinctrl: rockchip: fix RK3308 pinmux bits 86d8076e5971 bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook c2a69ac00b42 netfilter: nft_set_rbtree: overlap detection with element re-addition after deletion 9cc897ca03df net: dsa: Add missing of_node_put() in dsa_port_link_register_of 72e7940b00b5 memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode 2075f6f8e627 pinctrl: stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI 291ee6787b35 mtd: fix 'part' field data corruption in mtd_info 6465a2120b23 mtd: rawnand: Fix return value check of wait_for_completion_timeout 102775603cd9 pinctrl: mediatek: moore: Fix build error d3dfa4954e35 phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe() b347b850a49f ipvs: correctly print the memory size of ip_vs_conn_tab 12d3fd4d8c49 ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35 6b4928990b14 ARM: dts: am3517-evm: Fix misc pinmuxing 6476c49e8e31 ARM: dts: Fix mmc order for omap3-gta04 4e81598e2122 interconnect: qcom: sdx55: Drop IP0 interconnects 344558d201bb phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe cf6f119f8244 phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe 49c7d87f19d4 ARM: dts: at91: fix pinctrl phandles 7ecb2639eb8a ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name 1e68040245ad ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek 555bcbb7d0ff phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks d60abf246aa5 ARM: dts: dra7: Fix suspend warning for vpe powerdomain 127295f86f70 bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific 033cac39d0b7 ARM: OMAP2+: Fix refcount leak in omap_gic_of_init a933ee691dbd phy: samsung: exynos5250-sata: fix missing device put in probe error paths 3c8a02347f84 phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe bb0f3522cf42 arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO pin labeling for CON1 0f8e303faf88 arm64: dts: imx8mn: Fix SAI nodes f1266c4eba8a ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue 7596c4576a0e USB: Fix xhci event ring dequeue pointer ERDP update issue 11baa5edf37d arm64: dts: imx8qm: Correct SCU clock controller's compatible property d84f8327af13 xsk: Fix l2fwd for copy mode + busy poll combo 3ec920d755ae mtd: rawnand: fix ecc parameters for mt7622 9e4dedb8ec72 iio:imu:bmi160: disable regulator in error path d583cd6afc3b arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards 9f878775fceb arm64: dts: meson: remove CPU opps below 1GHz for G12B boards 4df1584738f1 video: fbdev: udlfb: properly check endpoint type 1ad0832e8712 cpufreq: qcom-cpufreq-hw: Fix throttle frequency value on EPSS platforms 38ac9ca93252 cpufreq: qcom-hw: fix the race between LMH worker and cpuhp 08b036bac865 virtio_net: fix wrong buf address calculation when using xdp 10f24144ca48 iocost: don't reset the inuse weight of under-weighted debtors 559d4f45958b x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests 95ad6bef5bf1 riscv: patch_text: Fixup last cpu should be master 3437091fcc2f hex2bin: fix access beyond string end 4541645b5881 hex2bin: make the function hex_to_bin constant-time 41dee1832617 pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config 8f2dac58b39e arm64: dts: imx8mm-venice: fix spi2 pin configuration 34b5d2aa355a bus: mhi: host: pci_generic: Flush recovery worker during freeze b3d21deabcbe bus: mhi: host: pci_generic: Add missing poweroff() PM callback 732f861dd480 ceph: fix possible NULL pointer dereference for req->r_session 2b008197a06b arch_topology: Do not set llc_sibling if llc_id is invalid 03cab849da1a serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device 9445505273a5 serial: 8250: Also set sticky MCR bits in console restoration ac55cac5dcd4 serial: amba-pl011: do not time out prematurely when draining tx fifo 858d93280e83 serial: imx: fix overrun interrupts in DMA mode c0ea202fbc85 usb: phy: generic: Get the vbus supply dd2af3ad968f usb: cdns3: Fix issue for clear halt endpoint 455285db8717 usb: dwc3: pci: add support for the Intel Meteor Lake-P 0d1c407b1a74 usb: dwc3: gadget: Return proper request status 7d14c96bff09 usb: dwc3: core: Only handle soft-reset in DCTL 5d8299ead7c5 usb: dwc3: core: Fix tx/rx threshold settings b81be940eaca usb: dwc3: Try usb-role-switch first in dwc3_drd_init 9f051e510cd2 usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind() f9b2660d9c10 usb: gadget: uvc: Fix crash when encoding data for usb request e5e7d6c4b305 usb: typec: ucsi: Fix role swapping 3e5dd4cf30fe usb: typec: ucsi: Fix reuse of completion structure 6bf55f6b0ebf usb: core: Don't hold the device lock while sleeping in do_proc_control() 949d422949ee usb: misc: fix improper handling of refcount in uss720_probe() a590353a9506 iio: imu: inv_icm42600: Fix I2C init possible nack 7619f3c498a2 iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on() 28e1f974e3e7 iio: dac: ad5446: Fix read_raw not returning set value cd266c38aaa4 iio: dac: ad5592r: Fix the missing return value. 48bc03979f30 xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms 9faa311f65b0 xhci: stop polling roothubs after shutdown 10e0d30f99f4 xhci: Enable runtime PM on second Alderlake controller 576b40690e91 usb: xhci: tegra:Fix PM usage reference leak of tegra_xusb_unpowergate_partitions 4ebf2982db15 USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions be94d697baab USB: serial: option: add support for Cinterion MV32-WA/MV32-WB bb73ae98f086 USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader f183708e8ecc USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS 7f8fc606893c USB: quirks: add STRING quirk for VCOM device 96a5999e1f62 USB: quirks: add a Realtek card reader 0da0ac894129 usb: mtu3: fix USB 3.0 dual-role-switch from device to host (From OE-Core rev: 7d734c95baef7cb6dfbedfbad21edd86754d3ba1) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8017b8b05ad8c071f7fb56bfd8e983d9361b8c46) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.113Bruce Ashfield2022-06-073-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 54af9dd2b958 Linux 5.10.113 7992fdb045fb Revert "net: micrel: fix KS8851_MLL Kconfig" 8bedbc8f7f35 block/compat_ioctl: fix range check in BLKGETSIZE fea24b07edfc staging: ion: Prevent incorrect reference counting behavour dccee748af17 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller 572761645b88 jbd2: fix a potential race while discarding reserved buffers after an abort 50aac4427360 can: isotp: stop timeout monitoring when no first frame was sent e1e96e372721 ext4: force overhead calculation if the s_overhead_cluster makes no sense 4789149b9ea2 ext4: fix overhead calculation to account for the reserved gdt blocks 0c54b093766b ext4, doc: fix incorrect h_reserved size 22c450d39f89 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole 75ac724684b7 ext4: fix use-after-free in ext4_search_dir a46b3d849864 ext4: fix symlink file size not match to file content f6038d43b25b ext4: fix fallocate to use file_modified to update permissions consistently 19590bbc691d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event e012f9d1af54 powerpc/perf: Fix power9 event alternatives 0a2cef65b329 drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage f8f8b3124b89 KVM: PPC: Fix TCE handling for VFIO 405d98427416 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare 231381f52116 drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised 51d9cbbb0f5a perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled 88fcfd6ee6c5 sched/pelt: Fix attach_entity_load_avg() corner case c55327bc3712 arm_pmu: Validate single/group leader events 5580b974a84b ARC: entry: fix syscall_trace_exit argument 7082650eb826 e1000e: Fix possible overflow in LTR decoding 43a2a3734aa3 ASoC: soc-dapm: fix two incorrect uses of list iterator 54e6180c8c2d gpio: Request interrupts after IRQ is initialized 0837ff17d052 openvswitch: fix OOB access in reserve_sfa_size() 19f6dcb1f0f0 xtensa: fix a7 clobbering in coprocessor context load/store f399ab11dd6c xtensa: patch_text: Fixup last cpu should be master ba2716da2336 net: atlantic: invert deep par in pm functions, preventing null derefs 358a3846f6a9 dma: at_xdmac: fix a missing check on list iterator cf23a960c5c6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading 9ca66d791439 mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove() ed5d4efb4df1 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup 6b932920b96f mm, hugetlb: allow for "high" userspace addresses 50cbc583fa83 EDAC/synopsys: Read the error count from the correct register 7ec6e06ee405 nvme-pci: disable namespace identifiers for Qemu controllers 316bd86c2261 nvme: add a quirk to disable namespace identifiers 76101c8e0c31 stat: fix inconsistency between struct stat and struct compat_stat bf28bba30410 scsi: qedi: Fix failed disconnect handling a284cca3d81a net: macb: Restart tx only if queue pointer is lagging 9581e07b549b drm/msm/mdp5: check the return of kzalloc() 8d71edabb0ab dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info() b3afe5a7fd75 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant 202748f44148 mt76: Fix undefined behavior due to shift overflowing the constant 0de9c104d04a net: atlantic: Avoid out-of-bounds indexing 5bef9fc38ffa cifs: Check the IOCB_DIRECT flag, not O_DIRECT e129c55153c8 vxlan: fix error return code in vxlan_fdb_append 8e7ea1136475 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes cd227ac03f2a ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant 490815f0b50e platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative cb17b56a9b4d reset: tegra-bpmp: Restore Handle errors in BPMP response d513ea9b7ef8 ARM: vexpress/spc: Avoid negative array index when !SMP 052e4a661f90 arm64: mm: fix p?d_leaf() 18ff7a2efa4e arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad() 3bf8ca350170 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets 520aab8b723c dmaengine: idxd: add RO check for wq max_transfer_size write 9a3c026dc3a5 dmaengine: idxd: add RO check for wq max_batch_size write f593f49fcd17 net: stmmac: Use readl_poll_timeout_atomic() in atomic state 3d55b195747c netlink: reset network and mac headers in netlink_dump() 49516e6ed914 ipv6: make ip6_rt_gc_expire an atomic_t 078d839f11ac l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu 0ac8f83d8f64 net/sched: cls_u32: fix possible leak in u32_init_knode() 93366275be72 ip6_gre: Fix skb_under_panic in __gre6_xmit() 200f96ebb389 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit() 8fb76adb89f0 net/packet: fix packet_sock xmit return value checking a499cb5f3ef9 net/smc: Fix sock leak when release after smc_shutdown() 60592f16a456 rxrpc: Restore removed timer deletion fc7116a79a86 igc: Fix BUG: scheduling while atomic 46b0e4f998ce igc: Fix infinite loop in release_swfw_sync c075c3ea0317 esp: limit skb_page_frag_refill use to a single page 3f7914dbeacd spi: spi-mtk-nor: initialize spi controller after resume f714abf28f81 dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources 9bc949a181ba dmaengine: imx-sdma: Fix error checking in sdma_event_remap 12aa8021c7a7 ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use b6f474cd3097 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component 608fc58858bf ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek d29c78d3f9c5 dm: fix mempool NULL pointer race when completing IO cf9b19546494 ALSA: hda/realtek: Add quirk for Clevo NP70PNP 8ce3820fc9d4 ALSA: usb-audio: Clear MIDI port active flag after draining 43ce33a68e2b net/sched: cls_u32: fix netns refcount changes in u32_change() 04dd45d9776e gfs2: assign rgrp glock before compute_bitstructs 378061c9b886 perf tools: Fix segfault accessing sample_id xyarray 5e8446e3820c tracing: Dump stacktrace trigger to the corresponding instance 69848f9488bc mm: page_alloc: fix building error on -Werror=array-compare 08ad7a770efa etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead (From OE-Core rev: 96ed22ed1e6b9fa1cbb7e232c17d1e558cdc4260) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8be43ceaf742c4c1b59522ac75df4846cc271461) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.15: update to v5.15.37Bruce Ashfield2022-06-073-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 4bf7f350c163 Linux 5.15.37 f59e6886cafb selftests/bpf: Add test for reg2btf_ids out of bounds access dcecd95a1357 mm: gup: make fault_in_safe_writeable() use fixup_user_fault() 4a0123bdb064 btrfs: fallback to blocking mode when doing async dio over multiple extents c81c4f566660 btrfs: fix deadlock due to page faults during direct IO reads and writes 640a6be8e861 gfs2: Fix mmap + page fault deadlocks for direct I/O f86f8d27840a iov_iter: Introduce nofault flag to disable page faults 6e213bc61446 gup: Introduce FOLL_NOFAULT flag to disable page faults d3b744791bf0 iomap: Add done_before argument to iomap_dio_rw ea7a57858875 iomap: Support partial direct I/O on user copy failures a00cc46f97b9 iomap: Fix iomap_dio_rw return value for user copies 81a7fc397a62 gfs2: Fix mmap + page fault deadlocks for buffered I/O 38b58498819a gfs2: Eliminate ip->i_gh 8d363d817353 gfs2: Move the inode glock locking to gfs2_file_buffered_write 416a705304e5 gfs2: Introduce flag for glock holder auto-demotion b25cfbc0e7de gfs2: Clean up function may_grant b88b998579ee gfs2: Add wrapper for iomap_file_buffered_write 1d91c912e7d1 iov_iter: Introduce fault_in_iov_iter_writeable 30e66b1dfcbb iov_iter: Turn iov_iter_fault_in_readable into fault_in_iov_iter_readable 923f05a660e6 gup: Turn fault_in_pages_{readable,writeable} into fault_in_{readable,writeable} 19cbd78fb26a mm: kfence: fix objcgs vector allocation 10033fa72d41 ARM: dts: socfpga: change qspi to "intel,socfpga-qspi" e8749d608847 spi: cadence-quadspi: fix write completion support 8c39925e98d4 bpf: Fix crash due to out of bounds access into reg2btf_ids. 379382b347db bpf/selftests: Test PTR_TO_RDONLY_MEM 2a77c58726ab bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem. 15166bb3000f bpf: Make per_cpu_ptr return rdonly PTR_TO_MEM. b710f73704d6 bpf: Convert PTR_TO_MEM_OR_NULL to composable types. b453361384c2 bpf: Introduce MEM_RDONLY flag 8d38cde47a7e bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULL 3c141c82b958 bpf: Replace RET_XXX_OR_NULL with RET_XXX | PTR_MAYBE_NULL d58a396fa6c9 bpf: Replace ARG_XXX_OR_NULL with ARG_XXX | PTR_MAYBE_NULL a76020980b9f bpf: Introduce composable reg, ret and arg types. e52da8e4632f floppy: disable FDRAWCMD by default (From OE-Core rev: 90628b9bbcf4ed6f23e880248c92403b29ce20f3) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 786e668bdda1181438cbe570fa1155ad3b7f06d9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: Allow warnings to be disabledRichard Purdie2022-06-071-1/+2
| | | | | | | | | | | | | When running CVE checks in CI we're usually not interested in warnings on the console for any CVEs present. Add a configuration option CVE_CHECK_SHOW_WARNINGS to allow this to be disabled (it is left enabled by default). (From OE-Core rev: 8fd6a9f521ea6b1e10c80fe33968943db30991ba) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1054d3366ba528f2ad52585cf951e508958c5c68) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-extra-exclusions: Add kernel CVEsRichard Purdie2022-06-071-0/+37
| | | | | | | | | | | | | | | | | | | | | For OE-Core our policy is to stay as close to the kernel stable releases as we can. This should ensure the bulk of the major kernel CVEs are fixed and we don't dive into each individual issue as the stable maintainers are much more able to do that. Rather than just ignore all kernel CVEs which is what we have been doing, list the ones we ignore on this basis here, allowing new issues to be visible. If anyone wishes to clean up CPE entries with NIST for these, we'd welcome than and then entries can likely be removed from here. (From OE-Core rev: 726ce5bf1ea64d31f523ec5aff905407480c1095) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 319d465d44328b5f062d2da0526c0e8b189b4239) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: Only include installed packages for rootfs manifestErnst Sjöstrand2022-06-071-15/+54
| | | | | | | | | | | | | | | | | Before this the rootfs manifest and the summary were identical. We should separate the summary and rootfs manifest more clearly, now the summary is for all CVEs and the rootfs manifest is only for things in that image. This is even more useful if you build multiple images. (From OE-Core rev: 65498411d73e8008d5550c2d0a1148f990717587) Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3b8cc6fc45f0ea5677729ee2b1819bdc7a441ab1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: Add helper for symlink handlingErnst Sjöstrand2022-06-071-21/+13
| | | | | | | | | | | (From OE-Core rev: af227e0c624c74ba90509829000cca607583e929) Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5046d54df2c3057be2afa4143a2833183fca0d67) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check.bbclass: Added do_populate_sdk[recrdeptask].leimaohui2022-06-071-0/+1
| | | | | | | | | | | | As product, sdk should do cve check as well as rootfs. (From OE-Core rev: 637d6ff44bc17565edae5466addbbe251f0cdadc) Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit cc17753935c5f9e08aaa6c5886f059303147c07b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxslt: Mark CVE-2022-29824 as not applyingRichard Purdie2022-06-071-0/+4
| | | | | | | | | | | | We have libxml2 2.9.14 and we don't link statically against libxml2 anyway so the CVE doesn't apply to libxslt. (From OE-Core rev: 82f4186ec0b16d4c1d9a8612fc3b6c6701fee8ea) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c6315d8a2a1429a0fb7563b1d6352ceee7bc222c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Add jbig PACKAGECONFIG and clarify CVE-2022-1210Richard Purdie2022-06-071-0/+4
| | | | | | | | | | | | | | | We never depended upon libjbig so this was never present. Add the PACKAGECONFIG to make this explict. CVE-2022-1210 is an issue in libjbig so we don't have a problem there, mark as such. (From OE-Core rev: 95f1c5d0bb7bc7cae2715d0c9b569fa369a64575) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 34e6a19f2430ee2fd0fec4bec1891e898a0d9766) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Upgrade 8.2.4912 -> 8.2.5034 to fix 9 CVEsRichard Purdie2022-06-071-2/+2
| | | | | | | | | | | | Address CVE-2022-1621, CVE-2022-1629, CVE-2022-1674, CVE-2022-1733, CVE-2022-1735 CVE-2022-1769, CVE-2022-1771, CVE-2022-1785, CVE-2022-1796 (From OE-Core rev: c703b970f614ede46f9d3e24bb33cb4eb77d38a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fafce97bd440150ac5c586b53b887ee70a5b66bd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: mark CVE-2022-1622 and CVE-2022-1623 as invalidRoss Burton2022-05-281-0/+3
| | | | | | | | | | These issues only affect libtiff post-4.3.0 but before 4.4.0, caused by 3079627e and fixed by b4e79bfa. (From OE-Core rev: 4eb0b7468383a1d0314b3bfd43ea37c95de464d9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license_image.bbclass: Make QA errors fail the buildPeter Kjellerstedt2022-05-281-0/+2
| | | | | | | | | | | | | If, e.g., license-file-missing is added to ERROR_QA, then the build should fail if any licenses are missing. (From OE-Core rev: 72aa42425e456ab0210129df01d829465acadb6d) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dd91c4bec8335cab2bbd0b33caf50d314ca72bdc) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: upgrade 3.38.3 -> 3.38.5Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | Additional changes in version 3.38.4 (2022-05-04): Fix a byte-code problem in the Bloom filter pull-down optimization added by release 3.38.0 in which an error in the byte code causes the byte code engine to enter an infinite loop when the pull-down optimization encounters a NULL key. Forum thread 2482b32700384a0f. Other minor patches. See the timeline for details. Additional changes in version 3.38.5 (2022-05-06): Fix a blunder in the CLI of the 3.38.4 release. (From OE-Core rev: c762a5c97b61b4d560cda33ba4a7c329df0fc9f8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e1bd414792ae2576685b2a352a5cc93343f06985) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mobile-broadband-provider-info: upgrade 20220315 -> 20220511Alexander Kanavin2022-05-281-2/+2
| | | | | | | | | | | (From OE-Core rev: bbfce5f1c2ec4cb22efdffb1be41d147f4fe1467) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f14c8094e7a049ac1b04c45b76855d0503559932) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.0.2 -> 22.0.3Alexander Kanavin2022-05-283-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mesa 22.0.3 is a bug fix release New features: None Bug fixes: freedreno: fragile location packing can break cull/clip distance turnip: dEQP-VK.spirv_assembly.instruction.compute.float_controls.fp16.generated_args.* failures piglit ext_image_dma_buf_import.ext_image_dma_buf_import* regression piglit ext_image_dma_buf_import.ext_image_dma_buf_import* regression Grid Autosport via proton/vulkan: glitches on the grass on amdgpu, fine on amdgpu-pro [Bisected] r600: Big performance regression on some games Huge amount of anon_inode:sync_file file descriptor created anv regressions from commit 57445adc891 “anv: Re-enable CCS_E on TGL+” NIR validation failed after nir_opt_if intel: integer_mad_hi / integer_mad_sat / integer_mul_hi produce invalid results Aperture Desk Job rendering artifacts Intel TGL intel: integer_sub_sat produces stack corruption / OpISubBorrow compilation issue r300/rv530: “Black rendering” of Baldur’s Gate Dark Alliance in Xbox emulator CXBX-R under wine with Gallium Nine and RADEON_DEBUG=use_tgsi radv/aco: xfb bug Occasional flicker corruption in Rage 2, e.g. after loading, with ACO on RX 5700 XT RADV: Quake 2 RTX v1.6.0 Corrupted Graphics ‘../src/amd/common/ac_surface.c:1575: void ac_copy_dcc_equation(const struct radeon_info *, ADDR2_COMPUTE_DCCINFO_OUTPUT *, struct gfx9_meta_equation *): assertion “dcc->equation.gfx9.num_bits <= ARRAY_SIZE(equation->u.gfx9.bit)” failed’ (From OE-Core rev: 4bd58b513132cbc855df644faf8be3728c242ae9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2f5831ec66c6a7e7b0f21a63cc46307aa68c5b96) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcgroup: upgrade 2.0.1 -> 2.0.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | | Bug fix release: Fix extra spaces in configure.ac's --enable-bindings Fix potential segfault if there are more than 100 cgroup mount points (From OE-Core rev: 6588c45d6c39f3cd1a6a58a53086bee8908ff7cd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2139fd56da0d8e3769bcc0b337c446e7e4b98f90) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-vaapi: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | No changes in vaapi between 1.20.1 -> 1.20.2 (From OE-Core rev: 5b2f2ff633fcb5742ebaf309d86bba70c3eab398) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 423d901d58e7f14d65b657d2cc61245ed9210daa) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | Bug fix release: devicemonitor: clean up signal handlers and hidden providers list Leaks tracer: fix pthread_atfork return value check leading to bogus warning in log Rust plugins: Not picked up by the plugin loader on macOS Failed to use plugins of latest GStreamer version 1.20.x installed by brew on macOS ptpclock: Allow at least 100ms delay between Sync/Follow_Up and Delay_Req/Delay_Resp messages. Fixes problems acquiring initial sync with certain devices meson: Add -Wl,-rpath,${libdir} on macOS registry: skip Rust dep builddirs when searching for plugins recursively (From OE-Core rev: e779fb1773b2b6e63739e668cd892e196be224e8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bb113caee72db30124f6cf8aa12fbaa14277fab5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-rtsp-server: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | | Bug fix release: rtspclientsink: fix possible shutdown deadlock in collect_streams() Minor spelling fixes (From OE-Core rev: cdafe69411554e5cdc835fe7b83afb39dab28d11) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f6c2cb116bf41312673afbbd71076a2ca8f59cf0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-python: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | Bug fix release: Fix build on systems without C++ compiler (From OE-Core rev: 5ce15470ae6957bb65a63762bb9170efb85a04b3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 762c930a49022ee7f56e746d3e768087eafd2ac1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-ugly: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | Bug fix release: x264enc: Don't try to fixate ANY allowed caps (From OE-Core rev: 038cbfa1ae1ae79d09991235c23188f9477e185f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 49c5fdf15c70862c867bf7f17ed1f4ca57de2307) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-good: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Bug fix release: deinterlace: silence unused-but-set werror from imported code qtdemux: fix leak of channel_mapping rtpopusdepay: missing sprop-stereo should not assume mono rtpjitterbuffer: Fix invalid memory access in rtp_jitter_buffer_pop() rtpptdemux: fix leak of caps when ignoring a pt rtpredenc: quieten warning about ignoring header extensions soup: Fix pre-processor macros in souploader for libsoup-3.0 twcc: Note that twcc-stats packet loss counts reordering as loss + add some logging video4linux2: Manual backports for RPi users wavparse: handle URI query in any parse state, fixing audio track selection issue in GES wavparse: Unset DISCONT buffer flag for divided into multiple buffers in push mode (From OE-Core rev: 9472f0fe643c34a70139fd3967564a7e6cc0ded0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3594cbc054d0f0eb3342282f8100a0285fc9d1fd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-base: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix release: appsrc: Clarify buffer ref semantics in signals documentation appsrc: fix annotations for bindings typefind: Skip extension parsing for data:// URIs, fixing regression with mp4 files serialised to data uris playbin3: various fixes playbin3: fix missing lock when unknown stream type in pad-removed cb decodebin3: fix collection leaks decodebin3: Don't duplicate stream selections discoverer: chain up to parent finalize methods in all our types to fix memory leaks glmixerbin: slightly better pad/element creation gltransformation: let graphene alloc its structures memory aligned ogg: fix possible buffer overrun rtpbasepayload: Don't write header extensions if there's no corresponding... rtpbasepayload: always store input buffer meta before negotiation rtpbasepayload: fix transfer annotation for push and push_list subparse: don't try to index string with -1 riff-media: fix memory leak after usage for g_strjoin() playbin/playbin3: Allow setting a NULL URI playsink: Complete reconfiguration on pad release. parsebin: Expose streams of unknown type pbutils: Fix wmv screen description detection subparse: don't deref a potentially NULL variable rawvideoparse: set format from caps in gst_raw_video_parse_set_config_from_caps videodecoder: release stream lock after handling gap events videorate: fix assertion when pushing last and only buffer without duration videorate: Revert "don't reset on segment update" to fix segment handling regressions gst-play-1.0, gst-launch-1.0: Enable win32 high-resolution timer also for MinGW build (From OE-Core rev: 19e9c0b2ac92f9ffc3bcea8ce4761c81326ea4a7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 905766e63a6159535b9da86c4f0af62956285199) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix release: av1parse: Fix several issues about the colorimetry. av1parse: fix up various possible logic errors dashsink: fix missing mutex unlock in error code path when failing to get content d3d11videosink: Fix for unhandled mouse double click events interlace: Also handle a missing "interlace-mode" field as progressive msdk: fix build with MSVC mxfdemux: Fix issues at EOS mxfdemux: Handle empty VANC packets nvh264dec, nvh265dec: Fix broken key-unit trick and reverse playback nvvp9sldec: Increase DPB size to cover render delay rvsg: fix cairo include tsdemux: Fix AC-4 detection in MPEG-TS tsdemux: Handle "empty" PMT gracefully va: pool: don't advertise the GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT option any more v4l2codecs: Fix memory leak v4l2videodec: set frame duration according to framerate webrtcbin: Update documentation of 'get-stats' action signal webrtcbin: Check data channel transport for notifying 'ice-gathering-state' webrtcbin: Avoid access of freed memory wpe: Reintroduce persistent WebContext Build: use CMake to find some openssl and exr deps Fix multiple "unused-but-set variable" compiler warnings (From OE-Core rev: 8dca7bae0b16c7db820f0d7d60592a7d1d868a8d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 70ff1c8f54bfb47307cce4d2cb731cc775cd7e21) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-omx: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | No changes in omx from 1.20.1 -> 1.20.2 (From OE-Core rev: 2f8bf9e800e5fa893c89cd4d8b9a63f02db842b1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2f9b5b0d8274b5a4990c93edb30c3170de3f87a4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-libav: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | | | | Bug fix only release: video decoders: fix frame leak on negotiation error Fix build on systems without C++ compiler avviddec: Remove vc1/wmv3 override (fixing crash with FFmpeg 5 Segfaults on ASF/WMV files with FFMPEG 5.0+ (From OE-Core rev: b796e337ac4ce189525b5af942226c0b4ab42ca3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 208ddca121bb213a9e79d21b448547df58b9a511) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-devtools: upgrade 1.20.1 -> 1.20.2Alexander Kanavin2022-05-281-1/+1
| | | | | | | | | | | | | | | The second 1.20 bug-fix release (1.20.2) was released on 2 May 2022. This release only contains bugfixes and it should be safe to update from 1.20.x. (From OE-Core rev: a16fd1683d5518096c5b0aa651fcb4b2afe0f2ff) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b4c976ea07ff276ae705110769c8e9741827615b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: upgrade 1.17.8 -> 1.17.10Steve Sakoman2022-05-288-3/+3
| | | | | | | | | | | | | | go1.17.9 (released 2022-04-12) includes security fixes to the crypto/elliptic and encoding/pem packages, as well as bug fixes to the linker and runtime. go1.17.10 (released 2022-05-10) includes security fixes to the syscall package, as well as bug fixes to the compiler, runtime, and the crypto/x509 and net/http/httptest packages. (From OE-Core rev: bcbfff47e212627b355c54ab782f38708ed12d4c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/cve_check: add tests for recipe and image reportsRoss Burton2022-05-281-1/+76
| | | | | | | | | | | | | | | | Add a test to verify that the JSON reports are generated correctly for both single recipe builds and image builds. More tests are needed, but this is better than nothing. (From OE-Core rev: 61e8e3c7f0b7161ff678a0ef4992261c7a1b96b0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit df0f35555b09c4bc75470eb45ec9c74e6587d460) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pcre2: CVE-2022-1586 Out-of-bounds readHitendra Prajapati2022-05-282-2/+61
| | | | | | | | | | | | | | Backport from https://github.com/PCRE2Project/pcre2/commit/50a51cb7e67268e6ad417eb07c9de9bfea5cc55a CVE-2022-1586: pcre2: Out-of-bounds read in compile_xclass_matchingpath in pcre2_jit_compile.c. (From OE-Core rev: fb6c980105ffd0262517299ab366218c61cc0665) Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> (cherry picked from commit 7519eb1cb624bb576cfe60f7470d40c566818ac3) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURESRichard Purdie2022-05-252-9/+9
| | | | | | | | | | | | | Using += unintentionally removes all other entries from DISTRO_FEATURES if DISTRO_FEATURES was set by ?= such as by poky.conf. This reduces sstate reusage on the autobuilder. Fix this to speed up builds. (From OE-Core rev: d3beac233558242ab6895e9ba8536a6df9df8eb3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 124b82c32c4545bb216a8249954817f692f9795a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* staging: Fix rare sysroot corruption issueRichard Purdie2022-05-251-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've seen failures on the autobuilder in oe-selftest where things which should be in the sysroot aren't. The exact steps to reproduce the exact failure are elusive and probably hash equivalance dependency but this set of steps does reproduce corruption which is probably of the same origin: Add DISTRO_FEATURES += "systemd" bitbake dbus Remove DISTRO_FEATURES += "systemd" bitbake dbus bitbake dbus -c clean bitbake dbus -c configure Add DISTRO_FEATURES += "systemd" bitbake quilt-native bitbake dbus -c populate_sysroot Remove DISTRO_FEATURES += "systemd" bitbake dbus -c compile Where dbus will now fail as the compiler was no longer in the sysroot. This works by clearing x11 and other values out of DISTRO_FEATURES so the x11 dependencies are removed from the sysroot. The configure stamp remains valid so when the original configuration is restored, it becomes valid again but a load of the sysroot disappeared and build failures result. Fix this by removing stamps when we remove things from the sysroot. Depends on a change to bitbake build.py to add the clean_stamp API. [YOCTO #14790] (From OE-Core rev: 927837e29a1e79e8eeecaacc6de6b8f9e6aa6f70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f4b1cecc82435b71135d7b65f6ea67be0e4f8c66) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: rootfs-postcommands: add skip option to overlayfs_qa_checkClaudius Heine2022-05-252-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The overlayfs_qa_check checks if the current root file system has a mount configured for each overlayfs, when the overlayfs class is used. However there are certain instances where this mount point is created at runtime and not static in a fstab entry or systemd mount unit. One such case would be if overlayfs-etc is used, where the device is mounted in the preinit script and not via a mount unit or fstab entry. However there are other possibilities for this as well, like startup scripts that support a dynamic partition layout. For instance when systemd-repart is used. This adds the `OVERLAYFS_QA_SKIP` variable, which allows to define QA skips via its flags. In principle it supports multiple QA skip flags separated by whitespace, but only one (`mount-configured`) is implemented here. To skip this QA check simply add `mount-configured` to the flag of `OVERLAYFS_QA_SKIP` with the same name. For instance if a overlayfs is configured as: OVERLAYFS_MOUNT_POINT[data] = "/data" Skipping this QA check can be done by setting: OVERLAYFS_QA_SKIP[data] = "mount-configured" Also add a testcase and fix a typo (fstat -> fstab). (From OE-Core rev: 34b6d6b5f078c6948e53815af3c7b61de43d851c) Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2ce9173169a2a86392c4a85fe9be7fbbd7353b7f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Bump to latest 2.38 release branchSamuli Piippo2022-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Qt build with GCC 12.1. Brings following fixes * 3d549e5ccc0 PR29142, segv in ar with empty archive and libdeps specified * c473aa1b9d8 M68K: avoid quadratic slowdlow in label alignment check * 8d1187516e3 Adjust ld ctf test for 32-bit targets * 9c67f6382ac x86: Properly handle function pointer reference * 9a01457e02e s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie * 82a5bb730a1 s390: Avoid dynamic TLS relocs in PIE * d54081c642a LoongArch: Update ABI eflag in elf header. * fb4d148004f IBM zSystems: Add support for z16 as CPU name. * 975b5540232 libctf, ld: diagnose corrupted CTF header cth_strlen * 99852365513 dlltool: Use the output name as basis for deterministic temp prefixes * 210bf1d6225 Updated Serbian (for binutils/) and Russian (for gprof/) translations * fcf60fe8482 PR28959, obdump doesn't disassemble mftb instruction * e4a35c73196 PowerPC64 DT_RELR relative reloc addresses * 7183434818e Work around gcc-4 warnings in elf64-ppc.c (From OE-Core rev: cefc45625535972d20b252ed0a2f497dff7d5fe5) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c007a7251e697836a29bd1aebe49d4f2433a5e6e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librepo: upgrade 1.14.2 -> 1.14.3wangmy2022-05-251-1/+1
| | | | | | | | | | | | | | | | | | Minor bug fix release with a single commit: Make error messages about repodata and rpm mismatch more user friendly This should help users to recognize the error is not on dnf side but instead on the server (in the repository). (From OE-Core rev: cd16ecd4412708731968b25585d85217fa83858b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2b41ae2900dc308e005d3f0e8a4d3912be35bc01) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>