summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto/5.14: update to v5.14.18Bruce Ashfield2021-12-133-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: a0265dd8262d Linux 5.14.18 1379769b0b46 rsi: fix control-message timeout eda57a310234 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init 5013f2aaf959 staging: rtl8192u: fix control-message timeouts f3422d1fceba staging: r8712u: fix control-message timeout 373ac8c59414 comedi: vmk80xx: fix bulk and interrupt message timeouts 7b0e35618932 comedi: vmk80xx: fix bulk-buffer overflow 278484ae9329 comedi: vmk80xx: fix transfer-buffer overflows 4a9d43cb5d5f comedi: ni_usb6501: fix NULL-deref in command paths 3ac273d154d6 comedi: dt9812: fix DMA buffers on stack b2fa1f52d22c isofs: Fix out of bound access for corrupted isofs image befd23bd3b17 staging: rtl8712: fix use-after-free in rtl8712_dl_fw bec32c40e438 binder: don't detect sender/target during buffer cleanup 68abe9aefc40 binder: use cred instead of task for getsecid 46088365bab7 binder: use cred instead of task for selinux checks fbb106e79524 binder: use euid from cred instead of using task f9b4ef2504bb Revert "proc/wchan: use printk format instead of lookup_symbol_name()" 4674de4e2734 usb-storage: Add compatibility quirk flags for iODD 2531/2541 6be11f54f5d4 usb: musb: Balance list entry in musb_gadget_queue d7f4ffba71d0 usb: gadget: Mark USB_FSL_QE broken on 64-bit d3c7daab289d usb: ehci: handshake CMD_RUN instead of STS_HALT a4cdb4c9c453 Revert "x86/kvm: fix vcpu-id indexed array sizes" 2f63111ab86f KVM: x86: avoid warning with -Wbitwise-instead-of-logical f468cbedb2a7 ALSA: pci: cs46xx: Fix set up buffer type properly 186155ac272e ALSA: pcm: Check mmap capability of runtime dma buffer at first (From OE-Core rev: 0b55e3638297c57b216a6c0ff2dd9bcf7526cd48) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7f09947f9fc12f7b548f18573ffbc452837527bd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Fix i586/c3 supportRichard Purdie2021-12-131-1/+1
| | | | | | | | | | | | | | CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly to fix those builds. [YOCTO #14632] (From OE-Core rev: 849626cf284a76a4b496ed9935d6a6365a5a13e3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 26e4fed594daefb6923c50171360f925c4822683) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: fix CVE-2021-43618Ross Burton2021-12-132-0/+28
| | | | | | | | | | (From OE-Core rev: a6ca184b3c8dbd5e92b1f81604cf1603d4a4ce94) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fb3b9a7f668a6ffd56a99e1e8b83cdbad2a4bc66) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: Fix srcrevs outputRichard Purdie2021-12-131-17/+13
| | | | | | | | | | | | | | | | | | | The code was assuming that the a recipe with only one srcrev wouldn't "name" it. This isn't the case as the glibc or bzip2 recipes show, you can have a single srcrev which is named. We can pull the data from the fetcher and in fact we already have it, we just need to handle the "default" case and make that code the default for all srcrev regardless of length. [YOCTO #14017] (From OE-Core rev: 8b6e565afcfb73a33e3759486554365798e74d66) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 45ae567932ba52b758eb41754453e9828d9533a1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/crate-fetch: Ensure crate fetcher is availableJoshua Watt2021-12-131-3/+18
| | | | | | | | | | | | | | | | | Reworks the crate fetcher class to have it install the fetcher at recipe finalization so that it is always available before SRC_URI is expanded. In addition, override the value of SRCPV to also install the fetcher when SRCPV is expanded so that AUTOREV works. [YOCTO #10867] (From OE-Core rev: 19577427d25739588fdf607b6e3905dddfe206ff) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bc66c5dd65fb654af5cd91b47f9b4f7a5f53436e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs-postcommands: update systemd_create_usersVyacheslav Yurkov2021-12-131-1/+1
| | | | | | | | | | | | | | | | | | | Process all systemd-sysusers configuration files in order to create users/groups at build time. systemd-sysusers would try to create them at run-time, but for read-only rootfs that's not possible and results in warnings from different services: systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:42 Unknown group 'sgx', ignoring (From OE-Core rev: c25d9d2dae45805fa985f1c541cacfb0230f9522) Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f86ffdb1b77c6ba32ec250545a40c1c54f983f21) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/meson: Add optional rust definitionsJoshua Watt2021-12-131-1/+10
| | | | | | | | | | | | | Adds the rust tools to the cross and native files if present so that projects that use both rust and meson can build (From OE-Core rev: 11b9c077553f06c1c52a4e03c395b6e6d567b531) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0ec40fa3aff233bd0dde0461299150786da956ef) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-cross: Replace TARGET_ARCH with TUNE_PKGARCHPgowda2021-12-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rust-cross-* imported from meta-rust has incorrect signatures, depending on MACHINEOVERRIDES making it effectively MACHINE_ARCH as shown by sstate-diff-machines.sh: openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc \ --machines="qemuarm64 qemuarm64copy" --targets=rust-cross-aarch64-glibc \ --analyze === Comparing signatures for task do_configure.sigdata between qemuarm64 and qemuarm64copy === ERROR: gcc-runtime different signature for task do_configure.sigdata between qemuarm64 and qemuarm64copy NOTE: Starting bitbake server... Hash for dependent task gcc/gcc-runtime_11.2.bb:do_prepare_recipe_sysroot changed from da4ebf1b272cb73153145a0a95e6438d2955ae2d36f84db10f6880b2781ec331 to 47a0ebb7a88c9f896fb9dbce269f575ab8a6faabb2b9e62d164be6e71c5e4e40 Unable to find matching sigdata for openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.2.bb: do_prepare_recipe_sysroot with hashes da4ebf1b272cb73153145a0a95e6438d2955ae2d36f84db10f6880b2781ec331 or 47a0ebb7a88c9f896fb9dbce269f575ab8a6faabb2b9e62d164be6e71c5e4e40 The following patch takes TUNE_PKGARCH into consideration instead of TARGET_ARCH and results in signatures as expected. [YOCTO #14613] RP: Added maintainer.inc corresponding change (From OE-Core rev: 154a1117be4e566359cd35b702ad57d9dd0e6dc1) Signed-off-by: Pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bcf48766d1123cea41f80b0cb687584692c96158) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* maintainers.inc: fix up rust-cross entryAlexandre Belloni2021-12-131-1/+1
| | | | | | | | | | (From OE-Core rev: 82a845adfe703d527a47b096fa9780f0c4b6a0c6) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5fedca5c3bcfc7643176e30e045434321ffbc21d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-cross: Fix directory not deleted for race glibc vs. muslPgowda2021-12-131-1/+1
| | | | | | | | | | | | | | | Use different recipe names for the two different targets so that when switching libcs overlapping files in the sysroot don't cause issues. (From OE-Core rev: 3c71fe1c487682950a115348cb8308e74c20e250) Signed-off-by: Pgowda <pgowda.cve@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 33be44a02beb7c52f075f660ad8e0641e360011c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to honister head revisionyocto-3.4.1honister-3.4.1Richard Purdie2021-11-251-1/+1
| | | | | | (From OE-Core rev: 70384dd958c57d1da924a66cffa35f80eb60d4b0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* create-spdx: Fix key errors in do_create_runtime_spdxAndres Beltran2021-11-241-0/+3
| | | | | | | | | | | | | | Currently, the do_create_runtime_spdx task fails with a Key Error if a dependency is not contained in the package providers dictionary. Add a check before using "dep" as a key in "providers". (From OE-Core rev: ac9b387c5e19386ce3c5cd88b42dad24d25b0f70) Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 140ce5ef5e8f10251091660e3ef76f315f409076) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* create-spdx: Protect against None from LICENSE_PATHSaul Wold2021-11-241-2/+1
| | | | | | | | | | | | If LICENSE_PATH is not set, then the split() will fail on a NoneType. (From OE-Core rev: 123ee0fc0d1470427cc563f512f621e0172cc232) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d6260decae6d2654f6e058f12ca02d582a8ef5a4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* create_spdx: ensure is_work_shared() is uniqueSaul Wold2021-11-241-7/+5
| | | | | | | | | | | | | | | There is a function with the same name is_work_shared() in the archiver class this causes a conflict when both classes are included. Use work-shared as the check in WORKDIR to allow for other packages beyond the kernel and gcc that use a common shared-work source directory. (From OE-Core rev: 1d350fd2a0db57617fbc62eb1d65f3ffa2667551) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 18eab77ee65c73b17225e69c7ba446ab1c69fa92) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Backport fix for CVE-2021-43396Richard Purdie2021-11-242-0/+185
| | | | | | | | | | | | Backport the fix for CVE-2021-43396. It is disputed that this is a security issue however the fix applies easily so we may as well. (From OE-Core rev: 8d7a88bdee734df527a0ed954a25f27ac975071f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e8de9b01c6b305b2498c5f942397a49ae2af0cde) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Fix missing installation of cups sysv init scriptsClaus Stovgaard2021-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The packageconfig needs to be --disable-systemd as documented in configure file for cups. With the current value "--without-systemd" the SYSTEM_DIR variable ends up being set to "no" It is caused by the --without-* section in configure file resulting in eval with_$ac_useropt=no ;; $ac_useropt is "systemd" causing the variable $with_systemd to be set to "no", because of below test if test ${with_systemd+y} then : withval=$with_systemd; SYSTEMD_DIR="$withval" else $as_nop SYSTEMD_DIR="" fi cups configure test for i if SYSTEMD_DIR is empty to decide if the init scripts need to be installed. A value of "no" results in that no init scripts is installed. With --disable-systemd it works as expected - installing the init files. Though cups should properly improve their configure script. (From OE-Core rev: e2518c2eba8c6e486aee3273dc2cba9ab51ffb69) Signed-off-by: Claus Stovgaard <clst@ambu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 967fdd2ba12f22d8e46600ff085833993a32cfeb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Add a check for directories that are expected to be emptyPeter Kjellerstedt2021-11-212-0/+32
| | | | | | | | | | | | | | | | | | | | | The empty-dirs QA check verifies that all directories specified in QA_EMPTY_DIRS are empty. It is possible to specify why a directory is expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:<path>, which will then be included in the error message if the directory is not empty. If it is not specified for a directory, then "but it is expected to be empty" will be used. Compared to the corresponding patch for master, there are two differences: * "/var/volatile" is not added to QA_EMPTY_DIRS by default, and * "empty-dirs" is not enabled in ERROR_QA (nor in WARN_QA). (From OE-Core rev: 9f3fbfc02ae6fadffbcc1bda1fa75dfe140d05c5) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors: Add kernel.org sources mirror for downloads.yoctoproject.orgRichard Purdie2021-11-211-0/+1
| | | | | | | | | | | | kernel.org now has a mirror of the downloads.yoctoproject.org sources archive so include this in our mirrors list. (From OE-Core rev: d7fe71c0fa0f368037b20d423c4c45d91c108a8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f602b6c2046bbc52a95dcc68a754f1cbb2db6761) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative: Add version to uninative tarball nameRichard Purdie2021-11-212-2/+3
| | | | | | | | | | | | | | | | | uninative works via hashes and doesn't need the version in the tarball name but it does make things easier to inspect in DL_DIR. There were reasons such as ease of publication of the build tarballs but we can handle those differently now and the signature issues from the early code aren't an issue now. From 3.4 onwards we can use a version'd name. [YOCTO #12970] (From OE-Core rev: aca617aada3a06a6b460bf477541639f44681b32) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dadba70d6a24d8ebb5576598efffa973151c7218) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: Match package override to PACKAGES for pkg_postinstRichard Purdie2021-11-211-1/+1
| | | | | | | | | | | | | | In PACKAGES, ${PN} is used so it makes sense for the pkg_postinst variable override to match that else it causes user confusion. [YOCTO #14616] (From OE-Core rev: 2e0bbd8edcdcc892e593848e618a9a00f6dac05f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ae9094d45bbfff377bd542939e12a8451a4959b6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.78Bruce Ashfield2021-11-213-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 5040520482a5 Linux 5.10.78 4c7c0243275b ALSA: usb-audio: Add Audient iD14 to mixer map quirk table f3eb44f496ef ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table 68765fc97762 Revert "wcn36xx: Disable bmps when encryption is disabled" f84b791d4c3b ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" bbc920fb320f Revert "drm/ttm: fix memleak in ttm_transfered_destroy" 6d67b2a73b8e mm: khugepaged: skip huge page collapse for special files 5a7957491e31 Revert "usb: core: hcd: Add support for deferring roothub registration" 50f46bd30949 Revert "xhci: Set HCD flag to defer primary roothub registration" d7fc85f61042 media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() b93a70bf2b57 net: ethernet: microchip: lan743x: Fix skb allocation failure b9c85a71e1b4 vrf: Revert "Reset skb conntrack connection..." 0382fdf9ae78 sfc: Fix reading non-legacy supported link modes 748786564a35 Revert "io_uring: reinforce cancel on flush during exit" 7b57c38d12ae scsi: core: Put LLD module refcnt after SCSI device is released (From OE-Core rev: b57ee9fafb80034cf7cd2f870a741741c2a469cd) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7a7d1eed8e3d550ac9bfa301b26095100eeba111) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.14: update to v5.14.17Bruce Ashfield2021-11-213-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: 3dfa869cb79d Linux 5.14.17 b1dbd891bfe5 ALSA: usb-audio: Add Audient iD14 to mixer map quirk table 570b5004f827 ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table db6d7c4acca3 Revert "drm/i915/gt: Propagate change in error status to children on unhold" aac2f6861683 drm/amd/display: Revert "Directly retrain link from debugfs" 77d029e1e218 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8" 9f9e09a59c58 Revert "wcn36xx: Disable bmps when encryption is disabled" b9722a7369f8 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" e556fca311ce Revert "soc: imx: gpcv2: move reset assert after requesting domain power up" d6a60e6ada49 drm/i915: Remove memory frequency calculation 7883e13c2494 drm/amdkfd: fix boot failure when iommu is disabled in Picasso. a82fa1213d12 Revert "usb: core: hcd: Add support for deferring roothub registration" 0979b923ff3f Revert "xhci: Set HCD flag to defer primary roothub registration" 02a476ca886d media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() ec0c91e2ebb8 vrf: Revert "Reset skb conntrack connection..." 6467b75cf9d1 sfc: Fix reading non-legacy supported link modes f30822c0b4c3 scsi: core: Put LLD module refcnt after SCSI device is released (From OE-Core rev: 4ab85464b7c11099e1aa55a26816f250f564f383) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a9ac5a388d682bcf0aad59d1b8ae8334846dfcd9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.77Bruce Ashfield2021-11-213-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 09df347cfd18 Linux 5.10.77 fbb91dadb512 perf script: Check session->header.env.arch before using it 6f416815c505 riscv: Fix asan-stack clang build 7a4cf25d8329 riscv: fix misalgned trap vector base address acb8832f6a1c scsi: ufs: ufs-exynos: Correct timeout value setting registers 8ecddaca7942 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu e11a7355fb98 KVM: s390: clear kicked_mask before sleeping again 727e5deca802 lan743x: fix endianness when accessing descriptors a7112b8eeb14 sctp: add vtag check in sctp_sf_ootb c2442f721972 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa 14c1e02b11c2 sctp: add vtag check in sctp_sf_violation dad2486414b5 sctp: fix the processing for COOKIE_ECHO chunk 8c50693d25e4 sctp: fix the processing for INIT_ACK chunk ad111d4435d8 sctp: use init_tag from inithdr for ABORT chunk 4509000a2515 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings 5b88bb9377ee phy: phy_start_aneg: Add an unlocked version 81780b624d1c phy: phy_ethtool_ksettings_set: Move after phy_start_aneg 258c5fea44cf phy: phy_ethtool_ksettings_get: Lock the phy for consistency 58722323d4bc net/tls: Fix flipped sign in async_wait.err assignment 44e8c93e1e49 net: nxp: lpc_eth.c: avoid hang when bringing interface down c2af2092c9bb net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent bfa6fbdb4e39 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails e81bed557fe7 mlxsw: pci: Recycle received packet upon allocation failure be98be1a17e9 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST aead02927af3 gpio: xgs-iproc: fix parsing of ngpios property 863a423ee07b RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 2b7c5eed19d3 net: Prevent infinite while loop in skb_tx_hash() 04121b10cdf0 cfg80211: correct bridge/4addr mode check aed897e96b19 net-sysfs: initialize uid and gid before calling net_ns_get_ownership b0a2cd38553c net: batman-adv: fix error handling 36e911a16b37 regmap: Fix possible double-free in regcache_rbtree_exit() e51371bd687e reset: brcmstb-rescal: fix incorrect polarity of status bit 2cf7d935d6ba arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node 10e40fb2f508 RDMA/mlx5: Set user priority for DCT 24fd8e2f027d octeontx2-af: Display all enabled PF VF rsrc_alloc entries. c63d7f2ca99a nvme-tcp: fix possible req->offset corruption 32f3db20f126 nvme-tcp: fix data digest pointer calculation 4286c72c5321 nvmet-tcp: fix data digest pointer calculation d98883f6c33e IB/hfi1: Fix abba locking issue with sc_disable() c3e17e58f571 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields ee4908f909b3 bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch() dd2260ec643d bpf: Fix potential race in tail call compatibility check 15dec6d8f864 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function cac6b043cea3 riscv, bpf: Fix potential NULL dereference 01599bf7cc2b cgroup: Fix memory leak caused by missing cgroup_bpf_offline eb3b6805e3e9 drm/amdgpu: fix out of bounds write c21b4002214c drm/ttm: fix memleak in ttm_transfered_destroy 69a7fa5cb0de mm, thp: bail out early in collapse_file for writeback page 8fb858b74ac5 net: lan78xx: fix division by zero in send path 4c22227e39c7 cfg80211: fix management registrations locking fa29cec42c2d cfg80211: scan: fix RCU in cfg80211_add_nontrans_list() db1191a529e4 nvme-tcp: fix H2CData PDU send accounting (again) 5043fbd294f5 ocfs2: fix race between searching chunks and release journal_head from buffer_head 01169a43353d mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit ee3213b117ce mmc: sdhci: Map more voltage level to SDHCI_POWER_330 a95a76fc01a0 mmc: dw_mmc: exynos: fix the finding clock sample value 12a46f72f499 mmc: mediatek: Move cqhci init behind ungate clock 44c2bc2a6bbe mmc: cqhci: clear HALT state after CQE enable efe934629fff mmc: vub300: fix control-message timeouts f3dec7e7ace3 net/tls: Fix flipped sign in tls_err_abort() calls c828115a14ea Revert "net: mdiobus: Fix memory leak in __mdiobus_register" 11c0406b4c33 nfc: port100: fix using -ERRNO as command type mask 0b1b3e086b0a tipc: fix size validations for the MSG_CRYPTO type 5aa5bab57957 ata: sata_mv: Fix the error handling of mv_chip_id() 9a52798dce73 pinctrl: amd: disable and mask interrupts on probe 01c2881bb0e0 Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" 017718dfbb6f usbnet: fix error return code in usbnet_probe() 693ecbe8f799 usbnet: sanity check for maxpacket b663890d8544 ext4: fix possible UAF when remounting r/o a mmp-protected file system d4d9c065988c arm64: Avoid premature usercopy failure e184a21b5ccc powerpc/bpf: Fix BPF_MOD when imm == 1 3f2c12ec8a3f io_uring: don't take uring_lock during iowq cancel 5a768b4d3e1a ARM: 9141/1: only warn about XIP address when not compile testing 15b278f94bbb ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype c06d7d9bfcf6 ARM: 9138/1: fix link warning with XIP + frame-pointer 8a6af97c31be ARM: 9134/1: remove duplicate memcpy() definition 6ad8bbc9d301 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned 3ceaa85c331d ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images (From OE-Core rev: 9929f2d2a4b60dc989b4b5a3dd8fad48b572d393) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d57bc7281015d09e2ff7a8a028dbf31559ff7331) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.14: update to v5.14.16Bruce Ashfield2021-11-213-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: f63179c1e68c Linux 5.14.16 e874c870dfd8 KVM: x86: Take srcu lock in post_kvm_run_save() 9ab39a3d0cec KVM: SEV-ES: fix another issue with string I/O VMGEXITs eb0461c572e9 KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock 10242cc2ad79 KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in kvm_vcpu_block() 669a7e147ee6 perf script: Check session->header.env.arch before using it e914237feb46 riscv: Fix asan-stack clang build 4606bbb6b19c riscv: Do not re-populate shadow memory with kasan_populate_early_shadow 7567abe63797 riscv: fix misalgned trap vector base address 20bd764387ac scsi: ibmvfc: Fix up duplicate response detection f6782c0ca808 perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support 04ced3822a66 scsi: ufs: ufs-exynos: Correct timeout value setting registers d748da838b21 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu 4faa35ce98c7 KVM: s390: clear kicked_mask before sleeping again ae566351ca18 octeontx2-af: Check whether ipolicers exists 45d9cd363786 virtio-ring: fix DMA metadata flags 52a936b037b5 net: hns3: expand buffer len for some debugfs command efccb66bc917 net: hns3: add more string spaces for dumping packets number of queue info in debugfs e5c6ad377c07 bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE outside of CONFIG_NET b341612b659d watchdog: sbsa: only use 32-bit accessors de709ec74f8b bpf: Use kvmalloc for map values in syscall 0717c71deae6 sctp: add vtag check in sctp_sf_ootb 1c255b5f68f4 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa dd82b3a345ab sctp: add vtag check in sctp_sf_violation 44ef3ecbc24a sctp: fix the processing for COOKIE_ECHO chunk 7975f42f1038 sctp: fix the processing for INIT_ACK chunk 6277d424ead2 sctp: fix the processing for INIT chunk 332933f9ae0a sctp: use init_tag from inithdr for ABORT chunk 44d44bf72591 RDMA/irdma: Do not hold qos mutex twice on QP resume 6392f26fbe92 RDMA/irdma: Set VLAN in UD work completion correctly 7762917173cc RDMA/irdma: Process extended CQ entries correctly 7860484eeb90 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings 37a1b9befb73 phy: phy_start_aneg: Add an unlocked version 1f9c99e0bb5b phy: phy_ethtool_ksettings_set: Move after phy_start_aneg 2191b1e8eb3d phy: phy_ethtool_ksettings_get: Lock the phy for consistency e2b4dd261720 net/tls: Fix flipped sign in async_wait.err assignment 373f94d73651 net: ethernet: microchip: lan743x: Fix skb allocation failure 228862acb549 net: hns3: fix data endian problem of some functions of debugfs 20d88211706b net: hns3: fix pause config problem after autoneg disabled 7cc73feb57f6 net: nxp: lpc_eth.c: avoid hang when bringing interface down d8774769d198 net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent 69d3c7785ec4 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails 18bd5e285a78 mlxsw: pci: Recycle received packet upon allocation failure 960f4a54b909 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST 030f05812d81 gpio: xgs-iproc: fix parsing of ngpios property c653c522e521 RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 5f6995295f65 RDMA/mlx5: Initialize the ODP xarray when creating an ODP MR ed894f5439ab net: Prevent infinite while loop in skb_tx_hash() f435287d719b cfg80211: correct bridge/4addr mode check da279dac227a net-sysfs: initialize uid and gid before calling net_ns_get_ownership a8f7359259dd net: batman-adv: fix error handling 50cc1462a668 regmap: Fix possible double-free in regcache_rbtree_exit() c9e39214fddf reset: brcmstb-rescal: fix incorrect polarity of status bit 86f9394073d8 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node 63a97a9f95f2 ice: check whether PTP is initialized in ice_ptp_release() ebd0edad1cdf RDMA/mlx5: Set user priority for DCT e83b3cce4722 ice: Respond to a NETDEV_UNREGISTER event for LAG f1e3cd1cc802 octeontx2-af: Fix possible null pointer dereference. 98db2a8c14be octeontx2-af: Display all enabled PF VF rsrc_alloc entries. c7752ec9ad39 nvme-tcp: fix possible req->offset corruption 7258a6eef5be nvme-tcp: fix data digest pointer calculation daa12f0c1d1b nvmet-tcp: fix data digest pointer calculation 5d33bd6b4d4d IB/hfi1: Fix abba locking issue with sc_disable() 0d4395477741 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields 6525bfbd546f bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch() adb17f828177 bpf: Fix potential race in tail call compatibility check 6f226ffe4458 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function e1b80a5ebe54 riscv, bpf: Fix potential NULL dereference b529f88d9388 cgroup: Fix memory leak caused by missing cgroup_bpf_offline b7ca59297fa3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout" 0a8b7eba95a0 drm/amd/display: Fix deadlock when falling back to v2 from v3 a363d80566cc drm/amd/display: Fallback to clocks which meet requested voltage on DCN31 aeadb0662478 drm/amd/display: Moved dccg init to after bios golden init 5a5f1f070c3e drm/amd/display: Increase watermark latencies for DCN3.1 85cf47160d0e drm/amd/display: increase Z9 latency to workaround underflow in Z9 01f39421d590 drm/amd/display: Fix prefetch bandwidth calculation for DCN3.1 b60efcaf5e8b drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1 c3ae5cf3e3ee drm/amdgpu: support B0&B1 external revision id for yellow carp d3ed72495a59 drm/amdgpu: fix out of bounds write 9eb4bdd554fc drm/amdgpu: Fix even more out of bound writes from debugfs d87ac6054e3d drm/i915/dp: Skip the HW readout of DPCD on disabled encoders 7650327e7174 drm/i915: Catch yet another unconditioal clflush 0ed2dfb5f598 drm/i915: Convert unconditional clflush to drm_clflush_virt_range() 132a3d998d67 drm/ttm: fix memleak in ttm_transfered_destroy 15a4f2bdbdfd mac80211: mesh: fix HE operation element length check ce277959d77c arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct 8c684aaceaf3 arm64: dts: imx8mm-kontron: Set lower limit of VDD_SNVS to 800 mV f5eaf91dd8af arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY da32086a0203 arm64: dts: imx8mm-kontron: Fix CAN SPI clock frequency d2bdcd23cba9 arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2 5fcb6fce74ff mm: khugepaged: skip huge page collapse for special files 5e669d8ab30a mm, thp: bail out early in collapse_file for writeback page 6ac017254b59 mm: filemap: check if THP has hwpoisoned subpage for PMD page fault 8821fedc7f83 mm: hwpoison: remove the unnecessary THP check 67979d186c51 drm/amd/display: Require immediate flip support for DCN3.1 planes 75b1b172ae5a net: lan78xx: fix division by zero in send path 3c897f39b71f cfg80211: fix management registrations locking 2a000d137589 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list() e6d02b0da2df ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub ea081b13b00e nvme-tcp: fix H2CData PDU send accounting (again) 2e382600e885 ocfs2: fix race between searching chunks and release journal_head from buffer_head 7335acd51f6b block: Fix partition check for host-aware zoned block devices 10bcaafc5753 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit 78873d5a2717 mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield b572d6c18511 mmc: sdhci: Map more voltage level to SDHCI_POWER_330 ac6f66f208a1 mmc: dw_mmc: exynos: fix the finding clock sample value b1ad3ecffaac mmc: tmio: reenable card irqs after the reset callback e1b94f0e744f mmc: mediatek: Move cqhci init behind ungate clock 9106d68c8082 mmc: cqhci: clear HALT state after CQE enable aa2f3e425e22 mmc: vub300: fix control-message timeouts e41473543f75 net/tls: Fix flipped sign in tls_err_abort() calls 8ba94a7f7b9f Revert "net: mdiobus: Fix memory leak in __mdiobus_register" 836f40777d58 nfc: port100: fix using -ERRNO as command type mask e029c9828c5b tipc: fix size validations for the MSG_CRYPTO type 43849df432c9 ata: sata_mv: Fix the error handling of mv_chip_id() 66a1c8748068 pinctrl: amd: disable and mask interrupts on probe 18f31a907c9f Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" b5c410a4af7d usbnet: fix error return code in usbnet_probe() 7e8b6a4f18ed usbnet: sanity check for maxpacket a350df591870 ARM: 9148/1: handle CONFIG_CPU_ENDIAN_BE32 in arch/arm/kernel/head.S 351d0f587b4c ARM: 9141/1: only warn about XIP address when not compile testing a51d78193d21 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype 4108f38c05bd ARM: 9138/1: fix link warning with XIP + frame-pointer 6aa2d9cf81f9 ARM: 9134/1: remove duplicate memcpy() definition 78a7a2694e69 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned e108afbd38a5 ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images (From OE-Core rev: 01fe48bf2499c387cd5ed71489b33da7bc6a6ae0) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ae32a59571abec59cc9f19bf9289ec9472b3923b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: add patch number to CVE-2021-3778 patchRoss Burton2021-11-211-11/+26
| | | | | | | | | | (From OE-Core rev: 851a5d697918247c05f7d59782f84c430771fd48) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 222be29051a3543ac63a0eb07019e90d44429b16) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875Ross Burton2021-11-215-2/+344
| | | | | | | | | | | | Backport patches from upstream to fix these CVEs. (From OE-Core rev: 2ed29a813fa07a2e6d2637f7fc63d5e0066b6304) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b493eb4f9a6bb75a2f01a53b6c70762845bf79f9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* squashfs-tools: follow-up fix for CVE-2021-41072Kai Kang2021-11-211-1/+5
| | | | | | | | | | | | | Squash a follow-up fix for CVE-2021-41072 from upstream: https://github.com/plougher/squashfs-tools/commit/19fcc93 (From OE-Core rev: 722c8fbe68a6236f9391eb0ded4c11efd6962de5) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 70709ff0741ed9fb9c111ef4b7aa2ee7432453f4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors: Add uninative mirror on kernel.orgRichard Purdie2021-11-211-0/+1
| | | | | | | | | | | | | | At the last nas outage, we realised that we don't have good mirrors of the uninative tarball if our main system can't be accessed. kernel.org mirrors some Yocto Project data so we've ensured uninative is there. Add the appropriate mirror url to make use of that. (From OE-Core rev: 20d7be2f3b481bc9a2f034f84eff1c48a4a13d92) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1833cb0c5841afafb468b963b74b63366b09a134) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: update CVE id fixed by local-ping.patchChen Qi2021-11-211-0/+1
| | | | | | | | | | | | | CVE-2021-36217 is treated as a duplicate of CVE-2021-3502. Update the local-ping.patch to mark it resolve both. (From OE-Core rev: efb82a8e56c9af7846b391a031511ab60d12ced4) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4d75d6c39f1faeb38191b55f1fa9311b63fcfb29) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-version.inc: remove branch= from GLIBC_GIT_URIAnuj Mittal2021-11-151-1/+1
| | | | | | | | | | | | | GLIBC_GIT_URI is used along with branch=${SRCBRANCH} so no need to add it here. (From OE-Core rev: d2cba06c27c87c64423636153c0f186c5f45b147) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4c9cfe326913d28f82e6a91d1eeae55a6651f0f7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Fix corruption of GNOME mirror urlRichard Purdie2021-11-151-1/+1
| | | | | | | | | | | | The url changes from the script accidentally corrupted this mirror url, fix it. (From OE-Core rev: 299023686865e0f1f9cc1f585ba64767ba63f638) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a16dd60fb058ec2257eb1c6c0baa86e11e78cb42) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go-helloworld/glide: Fix urlsRichard Purdie2021-11-152-2/+2
| | | | | | | | | | | Handle github protocol changes not covered by the script due to variable indirection. (From OE-Core rev: 88c7d6f8c0d603b4404ab73cd147aa0ba6d8afd1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3bb1cb476dbad1037522970af9afd69691a7033c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update github.com urls to use httpsRichard Purdie2021-11-1551-51/+51
| | | | | | | | | | | | | | | | | Github has announced there will be no more git:// fetching from their servers: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git and they're about to start having brownout periods to encourage people to update. This runs the conversion script over OE-Core to update our urls to use https instead of git. (From OE-Core rev: 8b83eddda83327d25247bb9b61a049b0a8698a45) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b37b61e9a1e448a34957db9ae39285d21352552e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/scripts: Manual git url branch additionsRichard Purdie2021-11-154-7/+7
| | | | | | | | | | | | | Following the scripted conversion adding branches to git:// SRC_URI entries, add the remaining references, mainly in the selftests and recipetool. (From OE-Core rev: 467aa56b8773e8dd2e8e29936684606d5e291888) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5340c0d688036c1be6c938f05d8a8c1e3b49ec38) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-11-1593-93/+93
| | | | | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: 37b4f66fa23979cbfe82679a74ce21b11fc61557) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Add fcntl64 wrapperRichard Purdie2021-11-151-1/+1
| | | | | | | | | | | | Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find command in the libtool removal code when built with LFS compile flags on Gentoo. (From OE-Core rev: f90e4b84d75d8dc4d5905784abe3298488127ff3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f26867fe4daec7299f59a82ae4a0d70cceb3e082) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linunistring: Add missing gperf-native dependencyRichard Purdie2021-11-151-0/+1
| | | | | | | | | (From OE-Core rev: 04d181a8cc90f73a36e2665087c030ec4c12b3b3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 73d3efbaeb2f412ab8d3491d2da3f3124fc009f3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Use wayland distro feature for native buildsTom Hochstein2021-11-151-2/+2
| | | | | | | | | | | | | | The wayland-scanner is missing from SDKs with weston, but the weston build requires wayland-scanner. Allow the distro feature in order to include the wayland-scanner packages via nativesdk-packagegroup-sdk-host.bb. (From OE-Core rev: 99ff8a3dbe5d3a68faf9241f4c334953cf9cc5b0) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 858cc6f257e22e39df83f4808ea27c6d12cd1b80) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-packagegroup-sdk-host.bb: Update host tools for waylandTom Hochstein2021-11-151-1/+1
| | | | | | | | | | | | | | | | The wayland-scanner host tool required to build weston is moved to the wayland-tools package, so update the SDK host tools list accordingly. Also, the weston build requires wayland-scanner.pc to find wayland-scanner, so add wayland-dev. (From OE-Core rev: adee9d40023b6197f121ec0cf1115ce229c2a26f) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 31ed91bdbb0ec05730fb98d7cc523bb46aca50e3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: Fix wayland-tools packagingTom Hochstein2021-11-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some packaging problems due to the wayland-tools packaging implementation. The wayland-tools package currently looks like this: wayland-tools └── usr ├── bin │   └── wayland-scanner └── share └── wayland ├── wayland.dtd ├── wayland-scanner.mk └── wayland.xml The files wayland.dtd and wayland.xml belong in the main package, while wayland-scanner.mk belongs in wayland-dev. Fix the wayland.dtd and wayland.xml packaging by prepending the wayland-tools package and dropping the main package FILES variable override. The file wayland-scanner.mk is included in the main package by default, and so must be explicitly added to wayland-dev. (From OE-Core rev: 35d54049a94897626eafcd4922ca7ef25a76859c) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a31fbec45d24df5b74091940d0e0b2daf34d8492) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11-compose-data: Update LICENSE to better reflect realityPeter Kjellerstedt2021-11-151-1/+1
| | | | | | | | | | | | | | | There are no traces of neither the BSD-2-Clause license nor the BSD-4-Clause license being used in the code. There is one occurrence of the BSD-1-Clause license. On the other hand, HPND and HPND-sell-variant are all over the place. (From OE-Core rev: b7fc3411dba82e87b626d110b3951a7dbf910f83) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b0f30792fd0ea41f1d1590dbe0452c956e018c82) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11: Update LICENSE to better reflect realityPeter Kjellerstedt2021-11-151-1/+1
| | | | | | | | | | | | | | | There are no traces of neither the BSD-2-Clause license nor the BSD-4-Clause license being used in the code. There is one occurrence of the BSD-1-Clause license. On the other hand, HPND and HPND-sell-variant are all over the place. (From OE-Core rev: 3781b045366a280d33062e0dc9071dc194dd7bf5) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5cd90092e21ad245df40a60feed3598dd9c6b98b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre/libpcre2: correct SRC_URIAlexander Kanavin2021-11-152-2/+4
| | | | | | | | | | | | | http://ftp.pcre.org is down, take sources according to links on http://www.pcre.org (From OE-Core rev: 1be81f77e3c479a1c11d1d5ea06653b596cbd00b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 81ba0ba3e8d9c08b8dc69c24fb1d91446739229b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-devsrc: Add vdso.lds and other build files for riscv64 as wellKhem Raj2021-11-151-2/+8
| | | | | | | | | | | | | | | | These additional bits are needed on riscv64 as well Fixes make[1]: *** No rule to make target 'arch/riscv/kernel/vdso/vdso.lds', needed by 'arch/riscv/kernel/vdso/vdso.so.dbg'. Stop. make: *** [arch/riscv/Makefile:114: vdso_prepare] Error 2 (From OE-Core rev: b1e4b39d09a090bfb2bf656ce0eb053e579bf6a1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 446972600ed51ca75a2a4e579cdc3e6dd2e05195) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: set objcopy in the cross and native toolchain filesRoss Burton2021-11-151-0/+2
| | | | | | | | | | (From OE-Core rev: 028d40076b704669cf7bf423385a4f11e0dd6f03) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0a589998e717ae3865f0db5abe6005ab4eee86d9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* create-spdx: Set the Organization field via a variableAndres Beltran2021-11-151-4/+6
| | | | | | | | | | | | | | Currently, the "Organization" field for SBOMs is hard-coded in create-spdx. Create a new variable SPDX_ORG to make this field more generic. (From OE-Core rev: e370039febe601127347da977ff9b7e5c7470315) Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f239814f3f5d9bd54de54b0f2a5081067336e32b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: another fix for touching files inside pseudoJose Quaresma2021-11-151-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is a fixup for 676757f "sstate: fix touching files inside pseudo" running the 'id' command inside the sstate_unpack_package function shows that this funcion run inside the pseudo: uid=0(root) gid=0(root) groups=0(root) The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ] will always return true and the touch can fail when the real user don't have permission or in readonly filesystem. As the documentation refers: - the file test operator "-w" check if the file has write permission (for the user running the test). - the file test operator "-O" check if you are owner of file We can avoid this test running the touch and mask any return errors that we have. (From OE-Core rev: 29fc85997ade490ae46ffca37ef8e1a56957c876) (From OE-Core rev: 10e300e6b4c3935d3fd177478f07c429c9b8c735) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5b9210d66c78bb3f79056e5586cea7b0edd714a9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: fix build against 5.15 kernel/kernel-headersBruce Ashfield2021-11-152-0/+152
| | | | | | | | | | | | | | | | | | | | | kernel 5.15 removed ipx.h from the uapi, but strace hasn't adjusted its tests to the removal. There is a WIP patch on the esyr/5.15 branch that solves the problem, so we grab it here, adjust for context and fix our build problem. When strace updates to 5.15, and we can bump our version and drop this patch. Upstream-Status: Backport [commit cca828197c0e16c2599129114] (From OE-Core rev: 1b47465688474cdba603578c1cbb768cfe699579) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a8c4ba727251e53494a4aec483fcc51982e6fb75) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/5.10: update to -rt54Bruce Ashfield2021-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto-rt/5.10: f01089784fd6 Linux 5.10.73-rt54 f34df8f3c666 Linux 5.10.65-rt53 271c5e6e4064 Linux 5.10.59-rt52 1a4bba4bc32c locking/rwsem-rt: Remove might_sleep() in __up_read() ff591a2bdcfb Linux 5.10.59-rt51 8d185ac23c11 Linux 5.10.58-rt50 2c0fd44153f5 Linux 5.10.56-rt49 8b083d3c993c printk: Enhance the condition check of msleep in pr_flush() 448cd29e3bc9 Linux 5.10.56-rt48 (From OE-Core rev: fd5980829646a1b0e3865d3ebf64feacc4bc1ee6) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7c7dc8f38cf1e874a7722389c95d895e10855d9a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.76Bruce Ashfield2021-11-153-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 378e85d1aeb5 Linux 5.10.76 cfa79faf7e1f pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume() c56c801391c3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG d088db8637bb selftests: bpf: fix backported ASSERT_FALSE 3a845fa00fd7 e1000e: Separate TGP board type from SPT 021b6d11e590 tracing: Have all levels of checks prevent recursion 3a0dc2e35a5d net: mdiobus: Fix memory leak in __mdiobus_register cfe9266213c4 bpf, test, cgroup: Use sk_{alloc,free} for test cases 188907c25218 s390/pci: fix zpci_zdev_put() on reserve f18b90e9366f can: isotp: isotp_sendmsg(): fix TX buffer concurrent access in isotp_sendmsg() 2304dfb548a4 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma() c58654f344dd net: hns3: fix for miscalculation of rx unused desc 96fe5061291d sched/scs: Reset the shadow stack when idle_task_exit 96f0aebf29be scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els() 90c8e8c0829b scsi: iscsi: Fix set_param() handling 0eb254479685 Input: snvs_pwrkey - add clk handling ea9c1f5d8a3a perf/x86/msr: Add Sapphire Rapids CPU support 7a5a1f09c8b4 libperf tests: Fix test_stat_cpu e56a3e7ae353 ALSA: hda: avoid write to STATESTS if controller is in reset 85c8d8c1609d platform/x86: intel_scu_ipc: Update timeout value in comment 9f591cbdbed3 isdn: mISDN: Fix sleeping function called from invalid context ab4f542b515b ARM: dts: spear3xx: Fix gmac node 15d3ad79885b net: stmmac: add support for dwmac 3.40a f9d16a428489 btrfs: deal with errors when checking if a dir entry exists during log replay 369db2a91d5c ALSA: hda: intel: Allow repeatedly probing on codec configuration errors 81d8e70cdce4 gcc-plugins/structleak: add makefile var for disabling structleak 69078a94365a net: hns3: fix the max tx size according to user manual f40c2281d2c0 drm: mxsfb: Fix NULL pointer dereference crash on unload 96835b68d7b3 net: bridge: mcast: use multicast_membership_interval for IGMPv3 0e033cb40761 selftests: netfilter: remove stray bash debug line f8a6541345c2 netfilter: Kconfig: use 'default y' instead of 'm' for bool config option 7f221ccbee4e isdn: cpai: check ctr->cnr to avoid array index out of bound 77c0ef979e32 nfc: nci: fix the UAF of rf_conn_info object 8f042315fcc4 KVM: nVMX: promptly process interrupts delivered while in guest mode b41fd8f5d2ad mm, slub: fix incorrect memcg slab count for bulk free 568f906340b4 mm, slub: fix potential memoryleak in kmem_cache_open() 48843dd23c7b mm, slub: fix mismatch between reconstructed freelist depth and cnt c5c2a80368e9 powerpc/idle: Don't corrupt back chain when going idle 197ec50b2df1 KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest fbd724c49bea KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest() 9258f58432c5 powerpc64/idle: Fix SP offsets when saving GPRs 3e16d9d525a7 net: dsa: mt7530: correct ds->num_ports 16802fa4c33e audit: fix possible null-pointer dereference in audit_filter_rules 0d867a359979 ASoC: DAPM: Fix missing kctl change notifications a2606acf418e ALSA: hda/realtek: Add quirk for Clevo PC50HS 6411397b6d7a ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset b721500c979b vfs: check fd has read access in kernel_read_file_from_fd() 895ceeff31b1 elfcore: correct reference to CONFIG_UML 3cda4bfffd4f userfaultfd: fix a race between writeprotect and exit_mmap() 93be0eeea14c ocfs2: mount fails with buffer overflow in strlen f1b98569e81c ocfs2: fix data corruption after conversion from inline format 1727e8688d2e ceph: fix handling of "meta" errors 603d4bcc0fcd ceph: skip existing superblocks that are blocklisted or shut down when mounting d48db508f911 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes 5abc9b9d3ca5 can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length 864e77771a24 can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv ecfccb1c58c9 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer 053bc12df0d6 can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible() 0917fb04069a can: isotp: isotp_sendmsg(): fix return error on FC timeout on TX path 28f28e4bc3a5 can: peak_pci: peak_pci_remove(): fix UAF 9697ad6395f9 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification 4758e92e75ca can: rcar_can: fix suspend/resume 4a0928c3ebca net: enetc: fix ethtool counter name for PM0_TERR 00ad7a015409 drm/panel: ilitek-ili9881c: Fix sync for Feixin K101-IM2BYL02 panel eccd00728b1a ice: Add missing E810 device ids 6418508a3ac2 e1000e: Fix packet loss on Tiger Lake and later 29f1bdcaa3dd net: stmmac: Fix E2E delay mechanism d36b15e3e7b5 net: hns3: disable sriov before unload hclge layer 6a72e1d78a2f net: hns3: fix vf reset workqueue cannot exit 32b860d364d2 net: hns3: schedule the polling again when allocation fails 96c013f40c9b net: hns3: add limit ets dwrr bandwidth cannot be 0 21f61d10435c net: hns3: reset DWRR of unused tc to zero 53770a411559 powerpc/smp: do not decrement idle task preempt count in CPU offline 81dbd898fb7b NIOS2: irqflags: rename a redefined register name 6edf99b000d6 net: dsa: lantiq_gswip: fix register definition ef97219d5fec ipv6: When forwarding count rx stats on the orig netdev 38d984e5e845 tcp: md5: Fix overlap between vrf and non-vrf keys c28bea6b876f lan78xx: select CRC32 9c8943812dac netfilter: ipvs: make global sysctl readonly in non-init netns 911e01990c70 netfilter: ip6t_rt: fix rt0_hdr parsing in rt_mt6 69ea08c1b539 ice: fix getting UDP tunnel entry 842fce43190c ASoC: wm8960: Fix clock configuration on slave mode 39afed394cc6 dma-debug: fix sg checks in debug_dma_map_sg() 2a670c323055 netfilter: xt_IDLETIMER: fix panic that occurs when timer_type has garbage value 0f4308a164a9 NFSD: Keep existing listeners on portlist error 546c04c85791 xtensa: xtfpga: Try software restart before simulating CPU reset bfef5d826276 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF d8284c981c1c drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI 101e1bcb1147 xen/x86: prevent PVH type from getting clobbered a6285b1b2212 block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output 85c1827eeee7 ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default 5489c1bed5b8 arm: dts: vexpress-v2p-ca9: Fix the SMB unit-address f59da9f7efa7 io_uring: fix splice_fd_in checks backport typo b6f32897af19 xhci: add quirk for host controllers that don't update endpoint DCS b3b7f831a49b parisc: math-emu: Fix fall-through warnings (From OE-Core rev: 512e0c418ff1a185289fd23ee21afa8eac75f992) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 61f8f7d18417334e3b13e4447f318107372dcfe0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>