summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cve-check: improve comment about CVE patch file namesMichael Opdenacker2021-08-181-3/+6
| | | | | | | | | | (From OE-Core rev: 3f5270d1c96f623c27043159f47a952dc24a565b) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8aa613480663e11ecc62278d8c57ca719eb23899) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: update link to NVD website for CVE detailsMichael Opdenacker2021-08-181-1/+1
| | | | | | | | | | | | | | | The old URL schema https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-ID now redirects to https://nvd.nist.gov/vuln/detail/CVE-ID (From OE-Core rev: b2c21e0d7230583e4751a124c015534e5cd16490) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 57adb57a9d9b08c08ab606ec7b561792e4f4ff2d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: fix commentsMichael Opdenacker2021-08-181-4/+4
| | | | | | | | | | | | | | This implements various fixes in comments in cve-check.bbclass In particular, the "whitlisted" typo is important as the "whitelisted" word is going to be replaced in a near future. (From OE-Core rev: 596859862409f83861665a7e282da8f9f7297878) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5eecd2bf942254d08c252388594e5ec7ae330f45) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: add include/exclude layersakuster2021-08-181-0/+17
| | | | | | | | | | | | | | | | | There are times when exluding or including a layer may be desired. This provide the framwork for that via two variables. The default is all layers in bblayers. CVE_CHECK_LAYER_INCLUDELIST CVE_CHECK_LAYER_EXCLUDELIST (From OE-Core rev: 76d5c60734c614b8224bef97022738f3a59244d0) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5fdde65ef58b4c1048839e4f9462b34bab36fc22) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: Fix typo in error messageMatthias Klein2021-08-181-1/+1
| | | | | | | | | | (From OE-Core rev: 0d14ade2ba75e6e918a5d7e84ac27830a8548a42) Signed-off-by: Matthias Klein <matthias@extraklein.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5cc0051d50974e198313f9513b24fd7ae9a96dd4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: Simplify no git repo case in do_kernel_checkoutPaul Barker2021-08-181-15/+15
| | | | | | | | | | | | | | | | | | | | | If the kernel sources are not fetched via git, a local git repository is created in do_kernel_checkout. In this case we know that there will be no remote branches and we will already be on the correct branch (since only one branch will exist). So we can simplify things by skipping these steps. This also removes the assumption that the default git branch name will be "master". Prior to this change, the final git checkout command in do_kernel_checkout could fail if a local git repo was created and the user had changed init.defaultBranch in their gitconfig. (From OE-Core rev: 3a16f312e5942e8a3d6f77a550c5374da81eed37) Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit af2a9c92d4498492ca23388c7b4bbed48abdc4d7) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license: Exclude COPYING.MIT from pseudoRichard Purdie2021-08-181-2/+2
| | | | | | | | | | | | | | | | | | | Along with the other license exclusions, we need to exclude the top level COPYING.MIT file else when: COPY_LIC_DIRS = "1" COPY_LIC_MANIFEST = "1" is set, we see eSDK failures from a pseudo abort. [YOCTO #14366] (From OE-Core rev: 46dd415720eb507a3d181a289b155ac4cfc2219c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3eb580843de3f055e42fcce60b0f15c4190c0542) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: 2.7.3 -> 2.7.4Minjae Kim2021-08-181-2/+2
| | | | | | | | | | | | | | This release includes security fixes. CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP CVE-2021-31799: A command injection vulnerability in RDoc https://www.ruby-lang.org/en/news/2021/07/07/ruby-2-7-4-released/ (From OE-Core rev: 9b1a0d63186a64d78de379494fe256087f62770a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsolv: fix CVE-2021-3200Lee Chee Yang2021-08-182-0/+68
| | | | | | | | (From OE-Core rev: e8e06e4175c010a7dc0a4e3598b70b89d43f8475) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Document and whitelist CVE-2021-35942Ralph Siemsen2021-08-181-0/+10
| | | | | | | | | | | | This CVE is fixed in the upstream glibc-2.31 branch, and dunfell already includes an update to this version in commit e1e89ff7d75c3d22 ("glibc: update to lastest 2.31 release HEAD") (From OE-Core rev: c1d49cee0a3a7391708b19647889f48036d7e4e8) Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add fix for CVE-2020-13529 and CVE-2021-33910Ranjitsinh Rathod2021-08-183-0/+111
| | | | | | | | | | | | | | | | | | Added fix for below CVEs from below Link http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd_237-3ubuntu10.50.debian.tar.xz 1. CVE-2020-13529 Upstream-Status: Backport [https://github.com/systemd/systemd/commit/38e980a6a5a3442c2f48b1f827284388096d8ca5] Hunk #1 refreshed to resolve patch-fuzz 2. CVE-2021-33910 Upstream-Status: Backport [https://github.com/systemd/systemd/pull/20256/commits/441e0115646d54f080e5c3bb0ba477c892861ab9] (From OE-Core rev: dcdd3c14beee89dc49261aeb4d7783cbb3fbeb89) Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* aspell: fix CVE-2019-25051Lee Chee Yang2021-08-182-1/+104
| | | | | | | | | | (From OE-Core rev: 6c93507e92e55f1171ff2efd5a61bcf85265f790) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 297f8c4eb4ff209b5ea69910902d216d86dbe2bf) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Fix rebuilds when changing layer configRichard Purdie2021-08-101-0/+1
| | | | | | | | | | | | | | | | When adding a layer which changed SSTATE_EXCLUDEDEPS_SYSROOT, the state hashes were changing when they should not. This was caused by wider use of setscene_depvalid which means the dependency on the variable was seen when it was previously not. Exclude the variable since this should be be included in the hashes. (From OE-Core rev: bae9c6482271d53dc28d3c801fba467e268003bd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 09725a29365c69ccbd603fe3a1de72189f26d5ac) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.135Bruce Ashfield2021-08-103-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 0a0beb1f9120 Linux 5.4.135 d2f7b384a74f udp: annotate data races around unix_sk(sk)->gso_size c72374978b3f perf test bpf: Free obj_buf 17bc942c0b96 bpftool: Properly close va_list 'ap' by va_end() on error 84ed8340941a ipv6: tcp: drop silly ICMPv6 packet too big messages 315033cab379 tcp: annotate data races around tp->mtu_info 41f45e91c92c dma-buf/sync_file: Don't leak fences on merge failure 04b06716838b net: fddi: fix UAF in fza_probe 8aa13a86964c net: validate lwtstate->data before returning from skb_tunnel_info() 8cff7b28ab05 net: send SYNACK packet with accepted fwmark b7e5563f2a78 net: ti: fix UAF in tlan:remove_one 2b70ca92847c net: qcom/emac: fix UAF in emac:remove 463c0addb4eb net: moxa: fix UAF in moxart_mac_probe 7ac4a6a74e75 net: ip_tunnel: fix mtu calculation for ETHER tunnel devices d5dc50ca1f7a net: bcmgenet: Ensure all TX/RX queues DMAs are disabled 7ecd40801e5b net: bridge: sync fdb to new unicast-filtering ports 813d45499f51 net/sched: act_ct: fix err check for nf_conntrack_confirm 24973073562f netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo c6f4a71153f4 net: ipv6: fix return value of ip6_skb_dst_mtu 9872273b670a net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz 6148ddff2dcb net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz d73c180e6add dm writecache: return the exact table values that were set 8a85afc6621a mm: slab: fix kmem_cache_create failed when sysfs node not destroyed f53729b828db usb: cdns3: Enable TDL_CHK only for OUT ep 52b01a808696 f2fs: Show casefolding support only when supported 91d846016729 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file f696cc7f1bc8 firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string e2b28026b861 arm64: dts: armada-3720-turris-mox: add firmware node f7d1fa65e742 cifs: prevent NULL deref in cifs_compose_mount_options() 06d8a7eb5803 s390: introduce proper type handling call_on_stack() macro 2a47e0719ae7 sched/fair: Fix CFS bandwidth hrtimer expiry type 5b7d065868a6 scsi: qedf: Add check to synchronize abort and flush 0fe70c15f943 scsi: libfc: Fix array index out of bound exception d7b647d05586 scsi: libsas: Add LUN number check in .slave_alloc callback 863c4bc883d5 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8 712e9ed6134f rtc: max77686: Do not enforce (incorrect) interrupt trigger type 199d8ea4c7b1 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set 484193b635a7 thermal/core: Correct function name thermal_zone_device_unregister() 556cf0283035 arm64: dts: imx8mq: assign PCIe clocks 9d3eb68a5385 arm64: dts: ls208xa: remove bus-num from dspi node e054b361caec firmware: tegra: bpmp: Fix Tegra234-only builds 94d009577033 soc/tegra: fuse: Fix Tegra234-only builds 270a2e9fafea ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15 4bc66215bc22 ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings 856c753237ae ARM: dts: rockchip: fix supply properties in io-domains nodes c5bb9cc2ce23 arm64: dts: juno: Update SCPI nodes as per the YAML schema f572a9139396 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings 95e795474c81 ARM: dts: stm32: fix RCC node name on stm32f429 MCU a898aa9f88cc ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards 5c17edaaead7 ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios 3446233096ff ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios e79e29a4e162 kbuild: sink stdout from cmd for silent build f817d4677582 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE 0a22b5178276 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info e20e85639e25 ARM: dts: imx6: phyFLEX: Fix UART hardware flow control a5b19d33ae22 ARM: dts: Hurricane 2: Fix NAND nodes names f83535a47ff8 ARM: dts: BCM63xx: Fix NAND nodes names cb05b84ad7f1 ARM: NSP: dts: fix NAND nodes names 14e3bad3b548 ARM: Cygnus: dts: fix NAND nodes names 587a757afe73 ARM: brcmstb: dts: fix NAND nodes names a9c32c7aeee6 reset: ti-syscon: fix to_ti_syscon_reset_data macro b400afa42739 arm64: dts: rockchip: Fix power-controller node names for rk3328 dfb4e8ed0792 arm64: dts: rockchip: Fix power-controller node names for px30 789070f17886 ARM: dts: rockchip: Fix power-controller node names for rk3288 6aaffe6ce8a9 ARM: dts: rockchip: Fix power-controller node names for rk3188 439115ee56d8 ARM: dts: rockchip: Fix power-controller node names for rk3066a 3b4c34728382 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x c9d29d62da59 ARM: dts: rockchip: Fix the timer clocks order d105e15de610 arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi cfe3d29e5cde ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288 79573c64410b ARM: dts: gemini: add device_type on pci 7037876393ce ARM: dts: gemini: rename mdio to the right name (From OE-Core rev: ca78e4550b56f7fb7d68684f5813ef89853702cc) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5c36549fab7cc27bd2f4f9e8b6be1ec8546d32bd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* archiver.bbclass: fix do_ar_configured failure for kernelChangqing Li2021-08-101-1/+4
| | | | | | | | | | | (From OE-Core rev: 224913ff067e6c26cabe0df0ecbf50fb03b85165) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d7776a23cbea836ddb8ac5ec77012af2449ab875) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-check-layer: ensure that all layer dependencies are tested tooNicolas Dechesne2021-08-101-1/+18
| | | | | | | | | | | | | | | | | | | | | | In order to be compliant with the YP compatible status, a layer also needs to ensure that all its dependencies are compatible too. Currently yocto-check-layer only checks the requested layer, without testing any dependencies. With this change, all dependencies are also checked by default, so the summary printed at the end will give a clear picture whether all dependencies pass the script or not. Using --no-auto-dependency can be used to skip that. (From OE-Core rev: bec38becf8a489d69aca0917a2ce1dfdc96d8ab3) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 45d59b774b95c91193a8376b83c05291d555e5c8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* checklayer: rename _find_layer_dependsNicolas Dechesne2021-08-101-2/+2
| | | | | | | | | | | | | | | What this function does is really to find a layer, not a 'depends'. We are using this function to find a dependent layer, but the name is confusing. (From OE-Core rev: d6618f92fa3f589c1d155081e85905ffe5e39a6c) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e9b7690ab30d0e7c07471034f6cb89ccc3168a11) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* checklayer: new function get_layer_dependencies()Nicolas Dechesne2021-08-101-1/+6
| | | | | | | | | | | | | | | Split add_layer_dependencies() into 2 parts. First search for layer dependencies, and then add them to the config. That allows us to call get_layer_dependencies() independently. (From OE-Core rev: e11c7ceed212c0d38e3d38de3099389a4e397818) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 08edf928aac3f2daaa0c256d4c21e56e2db72bff) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-check-layer: improve missed dependenciesNicolas Dechesne2021-08-101-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The first 2 calls to add_layer_dependencies() are here to add all dependencies for the 'layer under test' and the additional layers provided by the users. In both cases, we use misssing_dependencies boolean to indicate if any dependency is missing. But we then never really use missing_dependencies. Instead the script is calling add_layer_dependencies() again (for both the layer under test, and the additional layers) to detect if there are any missing dependency. As a result, we are trying to add again all dependencies, and we can see that from the traces: INFO: Detected layers: INFO: meta-aws: LayerType.SOFTWARE, /work/oe/sources/meta-aws INFO: checklayer: Doesn't have conf/layer.conf file, so ignoring INFO: INFO: Setting up for meta-aws(LayerType.SOFTWARE), /work/oe/sources/meta-aws INFO: Adding layer meta-python INFO: Adding layer meta-oe INFO: Adding layer meta-networking --> INFO: Adding layer meta-python INFO: meta-python is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf INFO: Adding layer meta-oe INFO: meta-oe is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf INFO: Adding layer meta-networking INFO: meta-networking is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf <-- INFO: Getting initial bitbake variables ... The code appears more complex than it should, and we can simply replace the complex if statement by using missing_dependencies, and avoid duplicating the call to add_layer_dependencies(). (From OE-Core rev: 84e63d179d935a071730e89a0963bb9ae867c93b) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fceb84f7bc472731b8f96ee1ebf0f4485943226c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/usb_hid.py : add test to check the usb/human interface device status ↵Teoh Jay Shen2021-08-101-0/+22
| | | | | | | | | | | | | | after suspend state This test mimic the Test_if_usb_hid_device_works_well_after_resume_from_suspend_state manual test case from oeqa/manual/bsp-hw.json. (From OE-Core rev: 00074636b81484dedef4c1769b018f6b980be423) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 23a3dc370a52907ee3261746405fb9b2af9e9a11) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/terminal : improve the test caseTeoh Jay Shen2021-08-101-2/+5
| | | | | | | | | | | | | | -Improve this test case to fulfill the requirements of replacing the click_terminal_icon_on_X_desktop manual test case from oeqa/manual/bsp-hw : 1) verify that the terminal window is working without problem 2) verify that there's only 1 terminal window is launched (From OE-Core rev: 039cd427cffe37bdf09cbf30c2cc47a85e166330) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 824713174fae0617240a236d1bbfd2929bf4b24f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime: add test for matchbox-terminalTeohJayShen2021-08-101-0/+18
| | | | | | | | | | | | This test is checking that the terminal application is able to run. The click_terminal_icon_on_X_desktop manual test case from oeqa/manual/bsp-hw can be replace by this runtime test. (From OE-Core rev: e4d0109bde6f9dce0709106262c3e4f51007b510) Signed-off-by: TeohJayShen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cfa9c1ce853bfd31c1febe61d0f7ad9c5d35f709) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/suspend : add test for suspend stateTeoh Jay Shen2021-08-101-0/+33
| | | | | | | | | | | | This test case is checking the command and LAN device behaviour before and after suspend state. The Test_if_LAN_device_works_well_after_resume_from_suspend_state and standby manual test cases from oeqa/manual/bsp-hw can be replace by this runtime test. (From OE-Core rev: dbd541cf2bf5083604a2e929ea8f148b96b4ce2f) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 10728035a606483ea67f6cb8ba5779558856593a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/cases: Only disable/enable for current bootWes Lindauer2021-08-102-4/+4
| | | | | | | | | | | | | | | | | | | | | Previously doing a stop/start worked, but using a disable/enable does not work on a read-only rootfs. Add a --runtime flag to systemctl so that systemd only modifies the current boot and does not attempt to write to the filesystem. This also keeps the test from making a permanent (one could argue policy) change to the running system being tested. i.e. What if the image being tested had intentionally disabled the timesyncd service in preference to using chrony or ntpd? The test shouldn't assume that the user wants the timesyncd service enabled. (From OE-Core rev: 1d848b939e503df94178822c9ca8bb26d0e75231) Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 43dd83b6a325589368c980a3f17cab90935aaeb0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime : add test for RTC(Real Time Clock)Teoh Jay Shen2021-08-101-0/+38
| | | | | | | | | | | | This test is checking the functionality of the RTC(Real Time Clock). The Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test case from oeqa/manual/bsp-hw can be replace by this runtime test. (From OE-Core rev: 7c6624dbea2df5a47752e7684045d9d1aa41c3e5) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c6961c2fc04edbc5bc3827c7703997085d9c609e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/ethernet_ip_connman : add test for network connectionsTeoh Jay Shen2021-08-101-0/+36
| | | | | | | | | | | | | This test mimic the ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP test case from oeqa/manual/bsp-hw.json. The ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP manual test case should be remove from oeqa/manual/bsp-hw.json if this patch get merged. (From OE-Core rev: 008cc0340676cd67f3ec68d3ca8286bbd16c32c6) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit aaabc94dbe353b12297ba4a237f6817b2c6d4a31) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ifupdown: added -1 option to dhclient for dhcpv6Yi Zhao2021-08-102-0/+66
| | | | | | | | | | | | | | | | | | | | When dhclient is used with ifupdown and in the /etc/network/interfaces file is something like e.g. "iface eth0 inet6 dhcp" the system does not boot but hangs at the after dhcp configuration of IPv4 at the stage where IPv6 should be configured. The reason seems to be, that ifupdown calls the dhclient in a blocking way which leads to a permanent block of the boot when no DHCPv6 server is available. A similar bug in Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=585047 [YOCTO #14117] (From OE-Core rev: 6d8bf12bffa146cb51153a79a4b96b05298c4fbf) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Enable seccomp if FEATURE is setArmin Kuster2021-08-101-0/+1
| | | | | | | | | | (From OE-Core rev: 10aace6034e4ca3d09d97c4e2046d8eef3078164) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ruslan Babayev <fib@cisco.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Add seccomp PACKAGECONFIG optionNathan Rossi2021-08-101-0/+1
| | | | | | | | | | | | | | | | | | | Add the seccomp PACKAGECONFIG option to allow building seccomp features in QEMU. The libseccomp library is available in additional layers (e.g. meta-security). Additionally this serves as a way to disable seccomp by default to avoid the configure of QEMU automatically finding it (via pkg-config) on the build host when building qemu-system-native and auto enabling the feature. (From OE-Core rev: 80d79ca651b03a3a7d65d25065af3fa5d85925b3) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ruslan Babayev <fib@cisco.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-setup-builddir: update YP docs and OE URLsMichael Opdenacker2021-08-101-2/+2
| | | | | | | | | | | | | This updates the link to the YP docs and proposes to access the OE website through https (From OE-Core rev: a73c10667b3ef2d0606dc5b2e4ff9605e2cd52f6) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 87686233aeffc639c3f412fd5c4898b32b15013b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: fix Makefile raceRoss Burton2021-08-102-0/+57
| | | | | | | | | | | | | | | | Fix a Makefile race resulting in the target creating a directory being executed after the target to write into that directory. [ YOCTO #14485 ] (From OE-Core rev: 098e9a98ef31211d9a217ab1fde4655b81a7b56d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e90c1d3b80e35fb685d4b321972743771eb2c2c0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-check-layer: Remove duplicated codeRichard Purdie2021-08-101-2/+0
| | | | | | | | | | | | | | | Nicolas Dechesne spotted there was duplicate code I had introduced with a previous fix. Remove the second statement since the earlier one is correct all that is needed. (From OE-Core rev: aa8e0928bda4a01623552084fc0ac0658e495b53) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f3e8d9f0e53e73de5498fccce81d049a88f6473b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-framework/setup-live: fix shebangUlrich Ölmann2021-08-101-1/+1
| | | | | | | | | | | (From OE-Core rev: c9271a5882965d783a88d4f97d03d9bb2bc93c7c) Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 71f1f6bc9402ee0fad82aaf0757fffb73da4b706) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: change GNOME_MIRROR to new oneOleksandr Kravchuk2021-08-101-1/+1
| | | | | | | | | | | | | URI has been permanently moved and returns HTTP 301. (From OE-Core rev: 0fad92768c505967eff71da1320a082674879dbc) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a3a85d54af38a30f6de5f6d23e432afa26859888) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* archiver.bbclass: Fix patch error for recipes that inherit dos2unix.leimaohui2021-08-101-0/+3
| | | | | | | | | | | | | do_unpack_and_patch error happens for these recipes inherit dos2unix. (From OE-Core rev: 3e8cb257546e00a988136dfa6d7f5e6b7f7f16d8) Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2ceda7c90c0087f52693c54d5ccab143b27f4d21) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: Fix VLA warnings with GCC 11Khem Raj2021-08-102-1/+53
| | | | | | | | | | | (From OE-Core rev: 5406ce83e07c3f89b9f2bb26f083861467b7bc59) (From OE-Core rev: 5a02a56d3e0c88626418391b8d4253f7cee4c38c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/manual/toaster: fix small typoRalph Siemsen2021-08-101-1/+1
| | | | | | | | | | | | PACKAGE_CLASES should be PACKAGE_CLASSES. (From OE-Core rev: 5c5c6fe8ce588443adcd4c435c3570535ef3f23a) Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7a96f3bceb2c857f841b1dbeb4587a8aaace529e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.134Bruce Ashfield2021-08-103-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 9afc0c209685 Linux 5.4.134 c1dafbb26164 seq_file: disallow extremely large seq buffer allocations b06ab67bd63b misc: alcor_pci: fix inverted branch condition f40884382995 scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg() e9602efecf19 MIPS: vdso: Invalid GIC access through VDSO 48351df82dbc mips: disable branch profiling in boot/decompress.o d8afab9bc9fe mips: always link byteswap helpers into decompressor bb2435840681 scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe() 2a22a1ca453a firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng b7c1bafe813a firmware: turris-mox-rwtm: report failures better 7934e060732f firmware: turris-mox-rwtm: fix reply status decoding function 65f32d1e0514 thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations a3ea516d8d5b ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery c4e2fa6fb0f3 ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems 9cc2ef1a784c ARM: dts: imx6q-dhcom: Fix ethernet reset time properties 85434c3a281e ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema e1314f75b38a ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema 443f6ca6fd18 memory: fsl_ifc: fix leak of private memory on probe failure d9213d4f372d memory: fsl_ifc: fix leak of IO mapping on probe failure 8ef43fa4646f reset: bail if try_module_get() fails 04bb5b3ea08d ARM: dts: BCM5301X: Fixup SPI binding cc10a352e29c firmware: arm_scmi: Reset Rx buffer to max size during async commands 7dde9387498c firmware: tegra: Fix error return code in tegra210_bpmp_init() 6ca8e516bc65 ARM: dts: r8a7779, marzen: Fix DU clock names 52cc83c0282c arm64: dts: renesas: v3msk: Fix memory size 11d6c1992120 rtc: fix snprintf() checking in is_rtc_hctosys() 226adc0bf947 memory: pl353: Fix error return code in pl353_smc_probe() b782d54b4dca reset: brcmstb: Add missing MODULE_DEVICE_TABLE 2a9392c6d218 memory: atmel-ebi: add missing of_node_put for loop iteration 05cfac174796 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4 45414bfe5af3 ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1 cc617c9ddb1f ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3 13c5fa0a43a0 ARM: exynos: add missing of_node_put for loop iteration dc3939d97238 reset: a10sr: add missing of_match_table reference b57e025bb0d7 ARM: dts: gemini-rut1xx: remove duplicate ethernet node 3f870d8c2bc1 hexagon: use common DISCARDS macro 3b03882123e4 NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times 9f02e9dd8ca2 ALSA: isa: Fix error return code in snd_cmi8330_probe() aa8866530d6a nvme-tcp: can't set sk_user_data without write_lock 496bcc8d4ff9 virtio_net: move tx vq operation under tx queue lock aac6a79ee0c0 pwm: imx1: Don't disable clocks at device remove time aa51b6bc7907 x86/fpu: Limit xstate copy size in xstateregs_set() df749be38c94 PCI: iproc: Support multi-MSI only on uniprocessor kernel 25bff167719d PCI: iproc: Fix multi-MSI base vector number allocation 1d9d997850d8 ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode d0b32dc1409f nfs: fix acl memory leak of posix_acl_create() e7de89b8b285 watchdog: aspeed: fix hardware timeout calculation 0366238f6af4 um: fix error return code in winch_tramp() c43226ac1079 um: fix error return code in slip_open() 81e03fe5bf8f NFSv4: Initialise connection to the server in nfs4_alloc_client() 2d2842f5d2cd power: supply: rt5033_battery: Fix device tree enumeration c5b104a27028 PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun 5b6cde3bae6d f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs 00fcd8f33e9b x86/signal: Detect and prevent an alternate signal stack overflow 52bd1bce8624 virtio_console: Assure used length from device is limited 7909782857c2 virtio_net: Fix error handling in virtnet_restore() 04c6e60b884c virtio-blk: Fix memory leak among suspend/resume procedure 8ae24b9bf8f9 ACPI: video: Add quirk for the Dell Vostro 3350 0bbac736224f ACPI: AMBA: Fix resource name in /proc/iomem 7d0667521501 pwm: tegra: Don't modify HW state in .remove callback f8ba40611be3 pwm: img: Fix PM reference leak in img_pwm_enable() 9eb5142d3f76 power: supply: ab8500: add missing MODULE_DEVICE_TABLE 658884b22ac8 power: supply: charger-manager: add missing MODULE_DEVICE_TABLE ae1a6af2f8f8 NFS: nfs_find_open_context() may only select open files 04a333cf982c ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty ab720715b8a8 orangefs: fix orangefs df output. 1680c3ece217 PCI: tegra: Add missing MODULE_DEVICE_TABLE 12f8d6e7f2c7 x86/fpu: Return proper error codes from user access functions f58ab0b02ee7 watchdog: iTCO_wdt: Account for rebooting on second timeout bcafecd30431 watchdog: imx_sc_wdt: fix pretimeout db222f1477ad watchdog: Fix possible use-after-free by calling del_timer_sync() 7c56c5508dc2 watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff() 146cc288fb80 watchdog: Fix possible use-after-free in wdt_startup() 1e6e806dda4c PCI/P2PDMA: Avoid pci_get_slot(), which may sleep d2bc221be148 ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1 94cfbe80f0cf power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE b6d1d46165f0 power: supply: max17042: Do not enforce (incorrect) interrupt trigger type e8794f7bb543 power: supply: ab8500: Avoid NULL pointers af619a7455a1 pwm: spear: Don't modify HW state in .remove callback f16b1d7dc46f power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE b8495c08b2e8 power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE 13b51d90f0a6 lib/decompress_unlz4.c: correctly handle zero-padding around initrds. f492dfec0c82 i2c: core: Disable client irq on reboot/shutdown ec50ddd8456c intel_th: Wait until port is in reset before programming it ba547e7431bf staging: rtl8723bs: fix macro value for 2.4Ghz only device 6bc7ea6584cb ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions 7929bcf1a278 ALSA: hda: Add IRQ check for platform_get_irq() 0f3821c3281b backlight: lm3630a: Fix return code of .update_status() callback 84d84143037f ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters 4abe339ce863 powerpc/boot: Fixup device-tree on little endian 60c88c8ee548 usb: gadget: hid: fix error return code in hid_bind() 2bfe5a620894 usb: gadget: f_hid: fix endianness issue with descriptors eb11ade08bc8 ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values f9e5d0137c14 ALSA: usb-audio: scarlett2: Fix data_mutex lock 33251aa28d1c ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count 82343ce5cad2 ALSA: bebob: add support for ToneWeal FW66 86d56d5a5908 Input: hideep - fix the uninitialized use in hideep_nvm_unlock() 5f5c1e683351 s390/mem_detect: fix tprot() program check new psw handling 8a3adb42928c s390/mem_detect: fix diag260() program check new psw handling e8df00854840 s390/ipl_parm: fix program check new psw handling 5176a4d1c43c s390/processor: always inline stap() and __load_psw_mask() 542d85dda7ba ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing() 41c488eb5dca gpio: pca953x: Add support for the On Semi pca9655 6602185b185b selftests/powerpc: Fix "no_handler" EBB selftest 75dc1942f8b6 ALSA: ppc: fix error return code in snd_pmac_probe() 8e1b6d96e95f gpio: zynq: Check return value of pm_runtime_get_sync b11220803ad1 iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation 3761ae0d0e54 iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails 6c50a56d2bce powerpc/ps3: Add dma_mask to ps3_dma_region 5169c6b12b19 ALSA: sb: Fix potential double-free of CSP mixer elements d481ddb1b6d0 selftests: timers: rtcpie: skip test if default RTC device does not exist f0bca3fbf16b s390/sclp_vt220: fix console name to match device 1028b769600c serial: tty: uartlite: fix console setup ba89ba738a82 ASoC: img: Fix PM reference leak in img_i2s_in_probe() b5af7cec0f7e mfd: cpcap: Fix cpcap dmamask not set warnings c19a95cffe33 mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE d05da38c4110 scsi: qedi: Fix null ref during abort handling a686ea60c17a scsi: iscsi: Fix shost->max_id use d04958a348e5 scsi: iscsi: Fix conn use after free during resets 173fdf1497d9 scsi: iscsi: Add iscsi_cls_conn refcount helpers 9896b67e1b56 scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs e8c75b5d88f2 scsi: megaraid_sas: Early detection of VD deletion through RaidMap update 0c6226601c3e scsi: megaraid_sas: Fix resource leak in case of probe failure e54625f3f0f0 fs/jfs: Fix missing error code in lmLogInit() 077b59810cb6 scsi: scsi_dh_alua: Check for negative result value ee16bed95986 tty: serial: 8250: serial_cs: Fix a memory leak in error handling path 9c543a9197c7 ALSA: ac97: fix PM reference leak in ac97_bus_remove() 086918e61c37 scsi: core: Cap scsi_host cmd_per_lun at can_queue 600a91ab5981 scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs 07aa0d14fc9e scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology f1f72dac9219 scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw() 68ce66ba20cf w1: ds2438: fixing bug that would always get page0 1c774366428e Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro" 88262229b778 ALSA: usx2y: Don't call free_pages_exact() with NULL address 7dff52b311b1 iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get() 921b361ce3ee iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get(). d2639ffdcad4 misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge 38660031e80e misc/libmasm/module: Fix two use after free in ibmasm_init_one dc195d77dd6c tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero fd005f53cb49 srcu: Fix broken node geometry after early ssp init 35072f336ae8 dmaengine: fsl-qdma: check dma_set_mask return value 249e0ab80c47 net: moxa: Use devm_platform_get_and_ioremap_resource() 359311b85ebe fbmem: Do not delete the mode that is still in use c17363ccd620 cgroup: verify that source is a string d4238c7539c8 tracing: Do not reference char * as a string in histograms 887bfae2732b scsi: core: Fix bad pointer dereference when ehandler kthread is invalid 22257d3c6840 KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run() dc91a480ace2 KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled f2ff9d03432f KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio 795e84798fa7 Linux 5.4.133 135122f174c3 smackfs: restrict bytes count in smk_set_cipso() a21e5cb1a64c jfs: fix GPF in diFree f190ca9068e3 pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq() f176dec999c8 media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K 5d2a52732eeb media: gspca/sunplus: fix zero-length control requests 1c44f2e25d8e media: gspca/sq905: fix control-request direction 0edd67591672 media: zr364xx: fix memory leak in zr364xx_start_readpipe 27cd29ab9bf0 media: dtv5100: fix control-request directions 917791e43441 media: subdev: disallow ioctl for saa6588/davinci 04d67b34a33c PCI: aardvark: Implement workaround for the readback value of VEND_ID a340b84e09d3 PCI: aardvark: Fix checking for PIO Non-posted Request 86968dfa4b55 PCI: Leave Apple Thunderbolt controllers on for s2idle or standby 964d57d1962d dm btree remove: assign new_root only when removal succeeds ef0a06acc6b1 coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer() 4e78a2a4fced ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe 8489ebfac395 tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT 41aa59030213 tracing: Simplify & fix saved_tgids logic 4d4f11c3566c rq-qos: fix missed wake-ups in rq_qos_throttle try two 33ab9138a13e seq_buf: Fix overflow in seq_buf_putmem_hex() 854bf7196601 extcon: intel-mrfld: Sync hardware and software state on init ec31e681cfbf nvmem: core: add a missing of_node_put f0f3f0abe58e power: supply: ab8500: Fix an old bug 7adc05b73d91 ubifs: Fix races between xattr_{set|get} and listxattr operations 5e4aae9e3e6b thermal/drivers/int340x/processor_thermal: Fix tcc setting ec170de13b69 ipmi/watchdog: Stop watchdog timer when the current action is 'none' efed363752c0 qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute 74f81fce1215 ASoC: tegra: Set driver_name=tegra for all machine drivers 862e1aef2bd4 MIPS: fix "mipsel-linux-ld: decompress.c:undefined reference to `memmove'" 5078f007d863 fpga: stratix10-soc: Add missing fpga_mgr_free() call cfaaed5e4a12 clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround 7044e6bbc8e8 cpu/hotplug: Cure the cpusets trainwreck c90a5b1c3742 ata: ahci_sunxi: Disable DIPM a7aa56f57e84 mmc: core: Allow UHS-I voltage switch for SDSC cards if supported 2d95959fa4f4 mmc: core: clear flags before allowing to retune 7e3b6e797a43 mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode 690735ee3a9d drm/arm/malidp: Always list modifiers e976698b2642 drm/msm/mdp4: Fix modifier support enabling 49d05786661b drm/tegra: Don't set allow_fb_modifiers explicitly eaabef618cbb drm/amd/display: Reject non-zero src_y and src_x for video planes 36a9c775a5f8 pinctrl/amd: Add device HID for new AMD GPIO controller 7af725d1481c drm/amd/display: fix incorrrect valid irq check 1fe8005303a3 drm/rockchip: dsi: remove extra component_del() call 85ea095dc081 drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create() d05c9f91be93 drm/amdgpu: Update NV SIMD-per-CU to 2 a5cd29059916 powerpc/barrier: Avoid collision with clang's __lwsync macro a82471a14aad powerpc/mm: Fix lockup on kernel exec fault 233339bf6c7c perf bench: Fix 2 memory sanitizer warnings 4d579ef78ae6 crypto: ccp - Annotate SEV Firmware file names 0e105eed0966 fscrypt: don't ignore minor_hash when hash is 0 5d4fa5e1b907 MIPS: set mips32r5 for virt extensions 2760c141dd10 MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops a01745edc1c9 sctp: add size validation when walking chunks 03a5e454614d sctp: validate from_addr_param return d04cd2c4fdd0 Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc. aa9a2ec7ee08 Bluetooth: Shutdown controller after workqueues are flushed or cancelled 6aac389d50d9 Bluetooth: Fix the HCI to MGMT status conversion table a27610321c31 Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip. 032c68b4f5be RDMA/cma: Fix rdma_resolve_route() memory leak d27483b844c8 net: ip: avoid OOM kills with large UDP sends over loopback 3fbae80e24d6 media, bpf: Do not copy more entries than user space requested 1127eb86b23d wireless: wext-spy: Fix out-of-bounds warning 161107916c79 sfc: error code if SRIOV cannot be disabled a95fddec35f9 sfc: avoid double pci_remove of VFs 105982781699 iwlwifi: pcie: fix context info freeing 0b08e9b64b99 iwlwifi: pcie: free IML DMA memory allocation 6e2df6630636 iwlwifi: mvm: don't change band on bound PHY contexts 9fd9734e5739 RDMA/rxe: Don't overwrite errno from ib_umem_get() 75b011df8e00 vsock: notify server to shutdown when client has pending signal 2a0a6f67c5d5 atm: nicstar: register the interrupt handler in the right place 8a366dd45518 atm: nicstar: use 'dma_free_coherent' instead of 'kfree' 002d8b395fa1 MIPS: add PMD table accounting into MIPS'pmd_alloc_one e15cff87dff2 rtl8xxxu: Fix device info for RTL8192EU devices 356bb9411a26 drm/amdkfd: Walk through list with dqm lock hold 995c3fc302bd net: sched: fix error return code in tcf_del_walker() bba660a079a9 net: fix mistake path for netdev_features_strings cea6ca260d22 mt76: mt7615: fix fixed-rate tx status reporting e217aadc9b55 bpf: Fix up register-based shifts in interpreter to silence KUBSAN 7f356894ff12 cw1200: add missing MODULE_DEVICE_TABLE d71dddeb5380 wl1251: Fix possible buffer overflow in wl1251_cmd_scan e919fc655294 wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP 9981f8f4a8f9 xfrm: Fix error reporting in xfrm_state_construct. 46a2cd9cecbb drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check 5db647affcbd r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM bfb8eb833e7d selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC 91f6b357e9c1 fjes: check return value after calling platform_get_resource() 2c028cee95a4 drm/amdkfd: use allowed domain for vmbo validation 5756c21dd7b7 drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7 c7010d0f0789 drm/amd/display: Release MST resources on switch from MST to SST 7182bba3c2c6 drm/amd/display: Update scaling settings on modeset 2ee8e85ea87e net: micrel: check return value after calling platform_get_resource() 80240ded7994 net: mvpp2: check return value after calling platform_get_resource() 6ac291d2b4d9 net: bcmgenet: check return value after calling platform_get_resource() 627fffae46c2 virtio_net: Remove BUG() to avoid machine dead 217533e60deb ice: set the value of global config lock timeout longer c0b70153f13e pinctrl: mcp23s08: fix race condition in irq handler e10062afd67d dm space maps: don't reset space map allocation cursor when committing 57ef44f35725 RDMA/cxgb4: Fix missing error code in create_qp() ccde03a6a0fb ipv6: use prandom_u32() for ID generation 482708d036be clk: tegra: Ensure that PLLU configuration is applied properly 050c6bb5cbf7 clk: renesas: r8a77995: Add ZA2 clock c84e0757d80b drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer() cdfd4ceafba9 igb: handle vlan types with checker enabled 596b031a3d3a e100: handle eeprom as little endian 80d505aee639 udf: Fix NULL pointer dereference in udf_symlink function c32d0f0e164f drm/sched: Avoid data corruptions 6ebfdf01cc89 drm/virtio: Fix double free on probe failure 5e2d303b452a reiserfs: add check for invalid 1st journal block 1a2d21e266c4 drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init() 45cc7a653f5a net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT bdf5334250c6 atm: nicstar: Fix possible use-after-free in nicstar_cleanup() 3ecd228c636e mISDN: fix possible use-after-free in HFC_cleanup() c9172498d4d6 atm: iphase: fix possible use-after-free in ia_module_exit() b52b0d996a13 hugetlb: clear huge pte during flush function on mips platform 526451e8d241 drm/amd/display: fix use_max_lb flag for 420 pixel formats cfd8894619d1 net: pch_gbe: Use proper accessors to BE data in pch_ptp_match() f6d326ad0324 drm/vc4: fix argument ordering in vc4_crtc_get_margins() 997dedaa75e9 drm/amd/amdgpu/sriov disable all ip hw status by default 34b01e883a5d drm/zte: Don't select DRM_KMS_FB_HELPER 012439cba95c drm/mxsfb: Don't select DRM_KMS_FB_HELPER (From OE-Core rev: 51bce45a9358f92b7272e9f4c889a97e64859d10) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f38fa9ad02b625534b91328755efbbdcff200010) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: Fix CVE-2021-22924 and CVE-2021-22925Mike Crowe2021-08-103-0/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | curl v7.78 contained fixes for five CVEs: CVE-2021-22922[1] and CVE-2021-22923[2] are only present when support for metalink is enabled. EXTRA_OECONF contains "--without-libmetalink" so these fixes are unnecessary. CVE-2021-22926[3] only affects builds for MacOS. CVE-2021-22924[4] and CVE-2021-22925[5] are both applicable. Take the patches from Ubuntu 20.04 curl_7.68.0-1ubuntu2.6 package which is close enough that the patch for CVE-2021-22924 applies without conflicts.. [1] https://curl.se/docs/CVE-2021-22922.html [2] https://curl.se/docs/CVE-2021-22923.html [3] https://curl.se/docs/CVE-2021-22926.html [4] https://curl.se/docs/CVE-2021-22924.html [5] https://curl.se/docs/CVE-2021-22925.html (From OE-Core rev: 3631da82b3542df1c1e4bbd499fc2dbe67f5f3ec) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: Fix for CVE-2021-22898Neetika Singh2021-08-102-0/+27
| | | | | | | | | | | | Applied trivial patch for cve issue CVE-2021-22898 Link: https://github.com/curl/curl/commit/39ce47f219b09c380b81f89fe54ac586c8db6bde (From OE-Core rev: ba99fce9354555e556158a0af8ec809ae00cb62b) Signed-off-by: Neetika.Singh <Neetika.Singh@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix CVE-2021-3468Steve Sakoman2021-08-102-0/+43
| | | | | | | | | | | | | | | | | A flaw was found in avahi in versions 0.6 up to 0.8. The event used to signal the termination of the client connection on the avahi Unix socket is not correctly handled in the client_work function, allowing a local attacker to trigger an infinite loop. The highest threat from this vulnerability is to the availability of the avahi service, which becomes unresponsive after this flaw is triggered. https://nvd.nist.gov/vuln/detail/CVE-2021-3468 CVE: CVE-2021-3468 (From OE-Core rev: 7ca7aeb7c703bfa22c9f128849e11b62f93d81b5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: fix CVE-2021-3541Steve Sakoman2021-08-102-0/+74
| | | | | | | | | | | | | | A flaw was found in libxml2. Exponential entity expansion attack is possible bypassing all existing protection mechanisms and leading to denial of service. https://nvd.nist.gov/vuln/detail/CVE-2021-3541 CVE: 2021-3541 (From OE-Core rev: 1699293a7011797895c284d6ad664c66badba426) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer: ignore CVE-2021-3497, CVE-2021-3498, and CVE-2021-3522Steve Sakoman2021-08-101-0/+9
| | | | | | | | | | | CPE entries for gst-plugins-* are listed as gstreamer issues so we need to ignore the false hits for the CVEs we've patched in plugins recipes (From OE-Core rev: 55140153e66f13a2d8a673a48f6c21e293415e56) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "gstreamer-plugins-base: ignore CVE-2021-3522 since it is fixed"Steve Sakoman2021-08-101-4/+0
| | | | | | | | Change is correct but should be in gstreamer recipe not gstreamer-plugins-base This reverts commit f32e90a7f8918aacda61ef6176eb1655742045b4. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "gstreamer-plugins-good: ignore CVE-2021-3497/8 since they are fixed"Steve Sakoman2021-08-101-5/+0
| | | | | | | | Change is correct but should be in gstreamer recipe not gstreamer-plugins-good This reverts commit d853e2bde1ea083f8438e8d7a80f041196d2e38d. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: providers: replace newly added logger.warn() with logger.warning()Denys Dmytriyenko2021-08-021-2/+2
| | | | | | | | | | | | | Commit https://git.openembedded.org/bitbake/commit/?id=78cd63285713fde59506eb2e71a7b7ee59a594ff converted logger.info() to logger.warn(), which is deprecated and instead should use logger.warning(): https://lists.openembedded.org/g/bitbake-devel/topic/82742194#12377 (Bitbake rev: c2a3bda3a29e12472ef7862e424ea1552fab2959) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: data_smart: Allow colon in variable expansion regexRichard Purdie2021-07-302-3/+3
| | | | | | | | | Now that ":" is a valid character in variable key names, it needs to be allowed by the variable expansion code too, to match. (Bitbake rev: c5418eae56cc50dbae7951c055434a0c456c53a4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: data_smart/parse: Allow ':' characters in variable/function namesRichard Purdie2021-07-304-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: a6d5fb7554e3cf071e453db56a1e7469ac44277c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: BBHandler: Don't classify shell functions that names start with ↵Tomasz Dziendzielski2021-07-301-1/+1
| | | | | | | | | | | | | | | | | | "python*" as python function If shell function name starts with 'python' or 'fakeroot' parser wrongly assumes it's python/fakeroot function. [YOCTO #14204] Use regex lookahead assertions to check if 'python' expression is followed by whitespace or '(' and if 'fakeroot' is followed by whitespace. (Bitbake rev: 9df61675f0e9bb67a78bfa1a16b1cf9fa4c333f1) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Bump version for 3.1.10 releaseyocto-3.1.10dunfell-23.0.10Steve Sakoman2021-07-251-1/+1
| | | | | | | (From meta-yocto rev: eb6e625d72fb49a707b0782e55530b3551f2396f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>