summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* build-appliance-image: Update to master head revisionHEADmasterRichard Purdie5 days1-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf-tests: add bash into RDEPENDS (v5.12-rc5+)Bruce Ashfield5 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream commit: commit 1dc481c0b0cf18d3952d93a73c4ece90dec277f0 Author: Leo Yan <leo.yan@linaro.org> Date: Sat Mar 20 18:45:54 2021 +0800 perf test: Change to use bash for daemon test When executing the daemon test on Arm64 and x86 with Debian (Buster) distro, both skip the test case with the log: Changes tools/perf/tests/shell/daemon.sh to be explicitly bash (it was already required, but was just skipped on various distros). We add it into our RDEPENDS for perf-tests to fixup 5.12+ builds. We already have relatively heavy RDEPENDS for perf tests (python3), so adding bash into the RDEPENDS isn't signifcant even for older perf builds that use the same recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: add test case for SRC_URI dependency sniffingRoss Burton5 days1-0/+54
| | | | | | | Add tests to verify that SRC_URI dependency sniffing works correctly. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uboot: Fixes SPL verified boot on corner casesKlaus Heinrich Kiwi5 days2-21/+24
| | | | | | | | | | | | | | | | | | | | | | | | * The kernel-fitimage class adds a do_assemble_fitimage_initramfs task regardless of INITRAMFS_IMAGE_BUNDLE setting, which in some cases can result in that task running after do_uboot_assemble_fitimage and overwriting the u-boot-spl.dtb file with the pristine version (without public key). Fix this by making do_uboot_assemble_fitimage dependant on both do_assemble_fitimage_* tasks, regardless of the aforementioned setting. * Adjust 'type' and 'os' on the U-boot fitimage its script so that mkimage/dumpimage can recognize them. * Move the deployment of the u-boot-spl-nodtb files outside of concat_spl_dtb_helper(), so that we can better isolate the scenarios of creating an (unsigned) U-Boot fitimage versus also signing it. This prevents some stale files from being deployed in the images directory. * Remove any u-boot-fitImage and u-boot-its files from build tree, in case the build tree is being reused across bitbake calls. Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: fix do_kernel_configme indentationYann Dirson5 days1-5/+5
| | | | | Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-selftest: Add U-Boot fitImage signing testcasesKlaus Heinrich Kiwi5 days1-0/+468
| | | | | | | | | | | | | | | | | Derived from the similar kernel fitImage sign testcase, the U-Boot fitImage testcases exercises the following fitimage.FitImageTest scenarios: * test_uboot_fit_image - create unsigned U-Boot fitImage * test_uboot_sign_fit_image - create unsigned U-Boot fitImage in addition to signed Kernel fitImage * test_sign_standalone_uboot_fit_image - Create signed U-Boot fitImage without a Kernel fitImage * test_sign_cascaded_uboot_fit_image - Create and sign U-Boot and Kernel fitImages Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Use a different Key for SPL signingKlaus Heinrich Kiwi5 days2-10/+45
| | | | | | | | Duplicate the variables governing u-boot signing so that we can have a different set of keys/parameters signing the SPL. Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Add infrastructure to SPL verified bootKlaus Heinrich Kiwi5 days2-35/+340
| | | | | | | | | Add the necessary infrastructure to create a U-boot proper fitimage, sign it (using the same keys as the kernel-fitimage), and put the public key in the SPL binary so that verified SPL boot can be accomplished. Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Move definitions to common locationsKlaus Heinrich Kiwi5 days4-104/+91
| | | | | | | | | | Move some definitions from u-boot.inc into uboot-config.bbclass and similarly from kernel-fitimage.bbclass into uboot-sign.bbclass, so that they can be useful when signing the U-boot proper fitimage, for a verified-boot SPL. Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runqemu: Support RUNQEMU_TMPFS_DIR as a location to copy snapshot images toRichard Purdie5 days5-4/+15
| | | | | | | | | | | | | | | | We have a working theory that IO queues on the autobuilder are impacting runtime testing under qemu, particularly async writes which inice does not influence. We already pass the snapshot option to qemu which copies the image and runs out of the copy. Add in the ability to copy the image to a specificed location which can be a tmpfs. This means that writes to the image would no longer be blocked by other writes to disk in the system. Preliminary tests show that this does improve the qemu errors at the expense of sometimes showing qemu startup timeouts as on a loaded system with a large test image, it can take longer than 120s to copy the image to tmpfs. Having a most consistent failure mode for loaded tests is probably desireable though. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffoscope: Upgrade 168 -> 172Richard Purdie5 days1-1/+1
| | | | | | | | In particular 170 includes rpm header fixes which stop the webpages for rpm diffs breaking web browsers and are important in the context of the autobuilder. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/concurrencytest: Fix display of test stdout/stderrRichard Purdie5 days1-16/+17
| | | | | | | | | | | | | | If oe-selftest is run with -j, the output to stdout/stderr is being lost at present. Capture this and display it upon test failure. We have code that previously tried to enable this but it wasn't functioning correctly. This should give more usable error reports on the autobuilder. This code will mix stdout and stderr as the output is streamed from the test server without markup. This is most in keeping with subunit/testools though and the easiest way to handle the various challenges here as far as I can see. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/concurrencytest: Rename variables to improve the codeRichard Purdie5 days1-13/+13
| | | | | | | | Each time I look at this code I get confused about what the different variables represent. Rename a few of them to better indicate what they represent. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: Drop include_array.patchKhem Raj6 days2-16/+0
| | | | | | | | It has been fixed with another upstream fix https://bugs.webkit.org/show_bug.cgi?id=198180 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix do_compile error when enable ccacheChen Qi6 days1-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | When apt was upgraded, the '-DCMAKE_DISABLE_FIND_PACKAGE_Zstd=True' was dropped. However, it was there to fix do_compile error when ccache is enabled. See details in the following commit. """ commit 0aa7d612b8b7e5f14b4ed38f2a32b3f7eefca31c Author: Robert Yang <liezhi.yang@windriver.com> Date: Tue Jan 19 01:23:45 2021 -0800 apt: Fix do_compile error when enable ccache Fixed: apt-pkg/libapt-pkg.so.5.0.2: undefined reference to `ZSTD_endStream' collect2: error: ld returned 1 exit status This is because ccache-native depends on zstd-native which makes apt wronly find it. Disable zstd for apt to fix the problem. """ Now we are meeting do_compile failure again when enabling ccache, so add it back to solve the problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Limit the number of OpenMP threadsJoshua Watt6 days1-1/+6
| | | | | | | | | | Limits the number of OpenMP threads to match BB_NUMBER_THREADS. This prevents OpenMP (libgomp in particular) from falling back to using all the available CPUs, which behaves poorly when attempting to limit build usage, especially when attempting to build in a container. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Fix a missing break in case statementKhem Raj6 days1-11/+12
| | | | | | | | This was missed during patch forward porting its only effective when printing options Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: Enable keyboard and mouse on RISC-V machinesAlistair Francis6 days1-0/+1
| | | | | | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uboot: Deploy default symlinks with fitImageKlaus Heinrich Kiwi6 days1-0/+9
| | | | | | | | | Some image recipes uses ${DEPLOY_DIR_IMAGE}/${UBOOT_BINARY} to create their images. Force the re-creation of those symlinks pointing to the u-boot-fitImage in case UBOOT_FITIMAGE_ENABLE is set. Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcb: use PN for naming dynamic packagesMatt Madison6 days1-2/+2
| | | | | | | | | so an explicit runtime dependency on one of the library packages doesn't generate a message about libxcb and libxcb-native both being providers. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: print failed ptest detailsYi Fan Yu6 days1-0/+10
| | | | | | | | | | | | | Some intermittent failures in valgrind are hard reproduce. Printing the difference between actual and expected will make understanding them slightly easier. [YOCTO #14294] Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: Enable bochs-display on RISC-V machinesAlistair Francis6 days1-0/+1
| | | | | | | | Enable the bochs-display as q QEMU argument when running on RISC-V machines. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Skip failing ptests due to load variabilityYi Fan Yu6 days2-0/+54
| | | | | | | | | | Skip tests until load issue is fixed, most commonly seen on the arm64 builder. [YOCTO #14296] Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* make-mod-scripts: pass CROSS_COMPILE to configure and buildDenys Dmytriyenko6 days1-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes: | CALL /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/checksyscalls.sh | CALL /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/atomic/check-atomics.sh | LDS arch/arm64/kernel/vdso/vdso.lds | CC arch/arm64/kernel/vdso/vgettimeofday.o | AS arch/arm64/kernel/vdso/note.o | AS arch/arm64/kernel/vdso/sigreturn.o | LD arch/arm64/kernel/vdso/vdso.so.dbg | VDSOSYM include/generated/vdso-offsets.h | OBJCOPY arch/arm64/kernel/vdso/vdso.so | objcopy: Unable to recognise the format of the input file `arch/arm64/kernel/vdso/vdso.so.dbg' | /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/arch/arm64/kernel/vdso/Makefile:61: recipe for target 'arch/arm64/kernel/vdso/vdso.so' failed Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Cc: Nishanth Menon <nm@ti.com> Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-live.bbclass: optional depends when ROOTFS emptyGuillaume Champagne6 days1-1/+1
| | | | | | | | | `ROOTFS` is optional. It can be empty if the live image doesn't require a rootfs. In such cases, the build doesn't depend on `do_image_{LIVE_ROOTFS_TYPE}`. Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix creation and generate new perl-rdepends.txtAwais Belal6 days2-2/+10
| | | | | | | | | | | | | | | | | The creation of perl-rdepends.txt simply copied over the generated list (perl-rdepends.generated) to perl-rdepends.txt while missing out the manual dependencies placed in perl-rdepends.inc. This caused missing runtime dependencies. Additionally, the mechanism always appended which then produced duplicated lines in perl-rdepends.txt if the creation function is run multiple times. We now concatenate both the .inc and .generated to the final .txt so manual and generated both types of dependencies make it to the final configuration. A new perl-rdepends.txt is then generated with these fixes. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: allow empty lines and comments in perl-rdepends.txtAwais Belal6 days1-0/+3
| | | | | | | | | With this change the rdepends file can now have empty lines and comment lines. The perl-rdepends.txt generation will be fixed with further commits to leverage this change. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: correct version checkAlexander Kanavin6 days1-1/+0
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: Upgrade to 2.4.1Anibal Limon6 days1-1/+1
| | | | | | | | | | | | | | Changes: cce0edb utils.c: wait_child reimplement timeout using alarm acbba90 utils.c: Use a thread to read from child cb2840a utils.c: Fix exit status of a child 77bc79e utils.c: get_available_ptests allow to specify relative directories d27e242 README.md: Small fix mtrace call c5d5831 tests/utils.c: Add braces in START_TEST/END_TEST now required in check 0.15.x Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable dri in native/nativesdk through gallium driversAlexander Kanavin6 days2-4/+2
| | | | | | | | | | | | Previously, dri was enabled via a token dri driver (swrast, then nouveau). Upstream is discussing removing dri drivers altogether (they're becoming difficult to support and only needed for obsolete x86 hardware), so let's prepare for that happening in the future: https://lists.freedesktop.org/archives/mesa-dev/2021-March/224984.html Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: gallium option requires libdrmAlexander Kanavin6 days1-1/+1
| | | | | | | | Previously it was pulled in via dri option, and there was no configuration where gallium was enabled and dri was not. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 21.0.0 -> 21.0.1Alexander Kanavin6 days3-1/+1
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-gl: Use swrast gallium driverKhem Raj6 days3-8/+9
| | | | | | | | | | | | | | | Fixes: ../mesa-21.0.0/meson.build:21:0: ERROR: Options "swrast" are not in allowed choices: "auto, i915, i965, r100, r200, nouveau" with any driver enabled in DRIDRIVERS, do_configure fails with: ../mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system even after enabling gallium and wayland PACKAGECONFIGs, move DRIDRIVERS_append* from mesa.inc to mesa recipe. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: Allow to overrule the URL in a bbappend.jan11 days1-2/+3
| | | | | | | | With this small patch, it's possible to overrule the public URL with a local mirror for those without Internet access. Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image,populate_sdk_base: move 'func' flag setting for sdk command varsChristopher Larson11 days2-1/+8
| | | | | | | | | | | | | Setting the 'func' flag on the commands variables ensures that they are parsed as shell, and therefore that the referenced commands contents are included in checksums. Doing this only in image.bbclass means that this is missing in recipes that are not images, but which inherit populate_sdk or populate_sdk_base directly, so move it to the latter. [YOCTO #13998] Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: add missing vardepsexcludesChristopher Larson11 days1-0/+3
| | | | | | | For POPULATE_SDK_POST_TARGET_COMMAND, POPULATE_SDK_POST_HOST_COMMAND, and SDK_POSTPROCESS_COMMAND, the appropriate entries were added to vardepvalueexclude, but we want them in vardepsexclude as well. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: upgrade 3.7.0 -> 3.7.1Wang Mingyu12 days1-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_ext: Add support for PR serviceMark Hatle12 days2-0/+42
| | | | | | | | | | | | | | | | | | | | | | | In the classes/populate_sdk_ext.bbclass the system already copies a number of configurations, such as the hash equivalency data. However, the PR service was being handled. The new code works by checking if PRSERV_HOST is defined, if it is, use the existing export functions to write out a conf/prserv.inc file into the eSDK. On eSDK install, if a conf/prserv.inc file is present we then import this file into the system. This mechanism will work if the PRSERV_HOST is local or remote, as it pulls the necessary data from the server and then imports it to a local database on eSDK installation. Note: the conf/prserv.inc file is not deleted at this time. It was left for possible debugging purposes, but removing it is something we could decide to do in the future. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: Enable on riscv32Khem Raj12 days2-7/+17
| | | | | | | Update the patch as submitted upstream to grub2 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: upgrade 2.30.1 -> 2.31.1Minjae Kim12 days3-307/+2
| | | | | | | Includes a fix for CVE-2021-21300 Signed-off-by: Minjae Kim <flowergom@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: fix CVE-2021-21300Minjae Kim12 days2-1/+307
| | | | | | | | | checkout: fix bug that makes checkout follow symlinks in leading path Upstream-Status: Acepted [https://github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592] CVE: CVE-2021-21300 Signed-off-by: Minjae Kim <flowergom@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: use native-file instead of environment variablesRoss Burton12 days1-30/+24
| | | | | | | | | | | Meson now supports native-files, which are the same as cross files but describe the native build. By writing and using a native file which describes the tools to use, we can drop the environment variable overriding. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: fix native/host confusion in gobject-introspectionRoss Burton12 days2-0/+42
| | | | | | | | | | When building G-I we want to use *native* binaries (as they need to be executed) but the *cross* libraries, as otherwise when using the correct pkg-config binary in native lookups Meson will end up linking native and cross libraries together. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub-efi: Re-introduce lost cast to longKhem Raj14 days2-0/+30
| | | | | | | | | This cast was accidentally dropped in https://git.savannah.gnu.org/cgit/grub.git/commit/?id=2bf40e9e5be9808b17852e688eead87acff14420 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub2: Disable for RISCV32Khem Raj14 days1-1/+1
| | | | | | | | A full working port is not available yet, until such time disable it Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroups: delete useless "PROVIDES" linesRobert P. J. Day14 days2-2/+0
| | | | | | | | | There is apparently no functional value to "PROVIDES" lines anymore in packagegroup recipe files, so remove the lonely couple of examples left. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-uefi: Set efi_file for rv32/rv64Khem Raj14 days1-0/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_ext: Avoid copying and producing .pyc filesMark Hatle14 days2-4/+6
| | | | | | | | | | Since pyc cache files are really system specific, no real reason to copy or generate them during the eSDK build process. Also generating them has the possibility of re-using inodes that pseudo may have been tracking, leading a build failure. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/5.10: update to -rt34Bruce Ashfield14 days1-1/+1
| | | | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/5.10: be2935bce35f v5.10.21-rt34 8078987238f9 softirq: Update the softirq/tasklet patches 0042f5e5ac7d mm: slub: Don't resize the location tracking cache on PREEMPT_RT 69bcb4682eaa v5.10.21-rt33 75e139bb405a v5.10.17-rt32 209e0ad0f61d printk: Update the printk code f1e0daad5cd4 trace: Add the flags for need_resched_lazy() Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.107Bruce Ashfield14 days3-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: a65e78863443 Linux 5.4.107 5161cc4350de net: dsa: b53: Support setting learning on port ebeefdc3d8ee net: dsa: tag_mtk: fix 802.1ad VLAN egress 6c3d86e6ffde crypto: x86/aes-ni-xts - use direct calls to and 4-way stride ae69c97bb76e crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg eeb0899e0073 crypto: x86 - Regularize glue function prototypes 187ae0463653 fuse: fix live lock in fuse_iget() 28e53acd3065 drm/i915/gvt: Fix vfio_edid issue for BXT/APL 5a7c72ffb412 drm/i915/gvt: Fix port number for BDW on EDID region setup 4ab29329668d drm/i915/gvt: Fix virtual display setup for BXT/APL e46f72e1f27c drm/i915/gvt: Fix mmio handler break on BXT/APL. 8cd68991b836 drm/i915/gvt: Set SNOOP for PAT3 on BXT/APL to workaround GPU BB hang 50f83ffc58ab btrfs: scrub: Don't check free space before marking a block group RO 591ea83fd2ce bpf, selftests: Fix up some test_verifier cases for unprivileged 4e4c85404a23 bpf: Add sanity check for upper ptr_limit 524471df8fa9 bpf: Simplify alu_limit masking for pointer arithmetic 2da0540739e4 bpf: Fix off-by-one for area size in creating mask to left ea8fb45eaac1 bpf: Prohibit alu ops for pointer types not defining ptr_limit 010c5bee66bd KVM: arm64: nvhe: Save the SPE context early 0437de26e28d Linux 5.4.106 b802b6ef28d6 xen/events: avoid handling the same event on two cpus at the same time 92aefc62f483 xen/events: don't unmask an event channel when an eoi is pending 43d0b82bb45c xen/events: reset affinity of 2-level event when tearing it down 38563c1ff081 KVM: arm64: Reject VM creation when the default IPA size is unsupported da2e37b55d4c KVM: arm64: Ensure I-cache isolation between vcpus of a same VM 4e2156c0d37b nvme: release namespace head reference on error eb565f052b3e nvme: unlink head after removing last namespace 4535fb9ec5fd KVM: arm64: Fix exclusive limit for IPA size e28b19ca2aeb x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2 c0e0ab60d0b1 binfmt_misc: fix possible deadlock in bm_register_write 106fea9ad246 powerpc/64s: Fix instruction encoding for lis in ppc_function_entry() 907f7f2cf0ff sched/membarrier: fix missing local execution of ipi_sync_rq_state() 2306580a95b7 zram: fix return value on writeback_store 29e28a134a49 include/linux/sched/mm.h: use rcu_dereference in in_vfork() 99f1960cae4f stop_machine: mark helpers __always_inline aaf92d0538d2 hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event() 88c79851b82d arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds 73aa6f93e1e9 configfs: fix a use-after-free in __configfs_open_file babd55002dd4 block: rsxx: fix error return code of rsxx_pci_probe() 41deefab452a NFSv4.2: fix return value of _nfs4_get_security_label() 86954a52d829 NFS: Don't gratuitously clear the inode cache when lookup failed d29f9aa6a8b2 NFS: Don't revalidate the directory permissions on a lookup failure d5a69ed75931 SUNRPC: Set memalloc_nofs_save() for sync tasks 9c9ea7ac18b2 arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory 19bb2a20710d sh_eth: fix TRSCER mask for R7S72100 c3c1defad2dd staging: comedi: pcl818: Fix endian problem for AI command data c5916897a6e1 staging: comedi: pcl711: Fix endian problem for AI command data 7d8ec7bef320 staging: comedi: me4000: Fix endian problem for AI command data e70294943c89 staging: comedi: dmm32at: Fix endian problem for AI command data 47a2af64eea3 staging: comedi: das800: Fix endian problem for AI command data 0f2522ec71b6 staging: comedi: das6402: Fix endian problem for AI command data e91490b9edb9 staging: comedi: adv_pci1710: Fix endian problem for AI command data 4d6505edee5a staging: comedi: addi_apci_1500: Fix endian problem for command sample f258c1c26f64 staging: comedi: addi_apci_1032: Fix endian problem for COS sample e644fc4ab7bb staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan 8f586a59829b staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd 9fe42273b2c6 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan() ab42f28d5f34 staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data() 1a866057e970 staging: rtl8712: unterminated string leads to read overflow da5abe369b03 staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan() a311b6a7f099 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan() e4b52c7cbaaf misc: fastrpc: restrict user apps from sending kernel RPC messages 9009b59dfd5f misc/pvpanic: Export module FDT device table 0a58a400a93b usbip: fix vudc usbip_sockfd_store races leading to gpf 8a50dda5243e usbip: fix vhci_hcd attach_store() races leading to gpf 8698133003cf usbip: fix stub_dev usbip_sockfd_store() races leading to gpf 7b76c7a91bf6 usbip: fix vudc to check for stream socket 2e24c093e264 usbip: fix vhci_hcd to check for stream socket da1be8e07852 usbip: fix stub_dev to check for stream socket ec7fb77a37af USB: serial: cp210x: add some more GE USB IDs b05ac5bcf623 USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter 0b7034401f0c USB: serial: ch341: add new Product ID 5287c3d62e91 USB: serial: io_edgeport: fix memory leak in edge_startup c1b20c6fac05 xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state 3573dea8c17a usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing 57ab089c09d5 xhci: Improve detection of device initiated wake signal. f4f02f9feb4e usb: xhci: do not perform Soft Retry for some xHCI hosts 45bc1c34b54e usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM c9e346234698 USB: usblp: fix a hang in poll() if disconnected cc495be17466 usb: dwc3: qcom: Honor wakeup enabled/disabled state f030e3c67791 usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement 014e4b616313 usb: gadget: f_uac1: stop playback on function disable 117aadfc0616 usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot ec7b0ac66539 USB: gadget: u_ether: Fix a configfs return code 0ae3101f5cf0 Goodix Fingerprint device is not a modem b0ea155fa4f7 mmc: cqhci: Fix random crash when remove mmc module/card 61fadd5f1e4e mmc: core: Fix partition switch time for eMMC 1cb73c82622c software node: Fix node registration 3bc266631a9e s390/dasd: fix hanging IO request during DASD driver unbind 87adc240df30 s390/dasd: fix hanging DASD driver unbind 12002aa2e7af arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL 47a5d1b63f21 Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities") ac85e7d4abb1 ALSA: usb-audio: Apply the control quirk to Plantronics headsets b1fe755e51df ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar 2b7615c97b0e ALSA: hda: Avoid spurious unsol event handling during S3/S4 bb060148e29f ALSA: hda: Flush pending unsolicited events before suspend 09cb42025a46 ALSA: hda: Drop the BATCH workaround for AMD controllers e1a92ad57b2c ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support ff2152beb22c ALSA: hda/hdmi: Cancel pending works before suspend dd6d483104bf ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk 300fba2b4e11 scsi: target: core: Prevent underflow for service actions de2cdbcb4f38 scsi: target: core: Add cmd length set before cmd complete 050e1900d617 scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling acf0e7b15f87 sysctl.c: fix underflow value setting risk in vm_table 508d56e2c5c3 s390/smp: __smp_rescan_cpus() - move cpumask away from stack 54fc6a56f72a i40e: Fix memory leak in i40e_probe f95403013744 PCI: Fix pci_register_io_range() memory leak e9be5518af2c kbuild: clamp SUBLEVEL to 255 e622e01d44e4 PCI: mediatek: Add missing of_node_put() to fix reference leak d54c77959ece PCI: xgene-msi: Fix race in installing chained irq handler 395f24b37fe8 Input: applespi - don't wait for responses to commands indefinitely. ad93777a59c7 sparc64: Use arch_validate_flags() to validate ADI flag dec0ab3bc3a2 sparc32: Limit memblock allocation to low memory f8788ee8544c iommu/amd: Fix performance counter initialization d92afe30a665 powerpc/64: Fix stack trace not displaying final frame 61654b5d079d HID: logitech-dj: add support for the new lightspeed connection iteration 49e38713faaf powerpc/perf: Record counter overflow always if SAMPLE_IP is unset a54c278fcf8b powerpc: improve handling of unrecoverable system reset 7765b5c2c192 spi: stm32: make spurious and overrun interrupts visible 507b9bce2113 powerpc/pci: Add ppc_md.discover_phbs() 26d60799d99b Platform: OLPC: Fix probe error handling ccad3c70fcd0 mmc: mediatek: fix race condition between msdc_request_timeout and irq edf05afc9be3 mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()' c44d966e9020 udf: fix silent AED tagLocation corruption 5f04f970d579 i2c: rcar: optimize cacheline to minimize HW race condition 1e1aace4a395 i2c: rcar: faster irq code to minimize HW race condition 2e24fd30c6f0 net: phy: fix save wrong speed and duplex problem if autoneg is on aea71e92b9a0 net: enetc: initialize RFS/RSS memories for unused ports too d1f308174a60 net: hns3: fix error mask definition of flow director cb36bf447a0c media: rc: compile rc-cec.c into rc-core 4c0c31572b67 media: v4l: vsp1: Fix bru null pointer access f56a82844c1f media: v4l: vsp1: Fix uif null pointer access 8cdc0900fc80 media: usbtv: Fix deadlock on suspend 56b9b2c25905 sh_eth: fix TRSCER mask for R7S9210 bdec0dd95cc8 qxl: Fix uninitialised struct field head.surface_id d5fc9c5d64ca s390/crypto: return -EFAULT if copy_to_user() fails 72ba965bf10d s390/cio: return -EFAULT if copy_to_user() fails d2100ef32a8c drm: meson_drv add shutdown function 72c541cc4552 drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff 0d574fc463c7 drm/shmem-helper: Check for purged buffers in fault handler 3b08ea3a548f drm/compat: Clear bounce structures cabbd263c8e8 bnxt_en: reliably allocate IRQ table on reset to avoid crash dfa176f374ba s390/cio: return -EFAULT if copy_to_user() fails again 05d11eb7bd9d net: hns3: fix bug when calculating the TCAM table info 8bbc59bb0556 net: hns3: fix query vlan mask value error for flow director 4d0273ab0a79 perf traceevent: Ensure read cmdlines are null terminated. ef663d149f8e selftests: forwarding: Fix race condition in mirror installation fcce3cb62c09 net: stmmac: fix watchdog timeout during suspend/resume stress test d31ae9ec5a03 net: stmmac: stop each tx channel independently 86ea605518d7 ixgbe: fail to create xfrm offload of IPsec tunnel mode SA e8b6c1d7ced2 net: qrtr: fix error return code of qrtr_sendmsg() d28e783c2003 net: davicom: Fix regulator not turned off on driver removal 05517de4188b net: davicom: Fix regulator not turned off on failed probe 11a589205119 net: lapbether: Remove netif_start_queue / netif_stop_queue b4800e7a1c9f cipso,calipso: resolve a number of problems with the DOI refcounts 6d599697e9a8 netdevsim: init u64 stats for 32bit hardware 8e365b61bda7 net: usb: qmi_wwan: allow qmimux add/del with master up 392f34cce2b0 net: sched: avoid duplicates in classes dump 3e66c16388f5 nexthop: Do not flush blackhole nexthops when loopback goes down 7f101d035deb net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10 0fbbcf797e9c net/mlx4_en: update moderation when config reset 78cbd0a4749d net: enetc: don't overwrite the RSS indirection table when initializing 6547ec428619 Revert "mm, slub: consider rest of partial list if acquire_slab() fails" 55e6ede3b935 cifs: return proper error code in statfs(2) a1ff418d3eda mount: fix mounting of detached mounts onto targets that reside on shared mounts 59a057a89155 powerpc/603: Fix protection of user pages mapped with PROT_NONE da9f2219f66c mt76: dma: do not report truncated frames to mac80211 95b0a3b09094 ibmvnic: always store valid MAC address 3e8ab75f3301 samples, bpf: Add missing munmap in xdpsock c2c3a85ab01f selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier 57b9f13e8aaa selftests/bpf: No need to drop the packet when there is no geneve opt 82e85c0e7f34 netfilter: x_tables: gpf inside xt_find_revision() f66b8e738140 netfilter: nf_nat: undo erroneous tcp edemux lookup 3bf899438c12 tcp: add sanity tests to TCP_QUEUE_SEQ b7049b6156ce can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode a7e187a87e8e can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode e0eccdfc5c0e can: flexcan: enable RX FIFO after FRZ/HALT valid ca483b872d20 can: flexcan: assert FRZ bit in flexcan_chip_freeze() 6676e510d1a9 can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership 718769eb1bbe sh_eth: fix TRSCER mask for SH771x 8baa52f26b3e net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0 ca278267d6cd net: check if protocol extracted by virtio_net_hdr_set_proto is correct f2d78bbbca42 net: Fix gro aggregation for udp encaps with zero csum 9be769161192 ath9k: fix transmitting to stations in dynamic SMPS mode 5555ee33b6cc ethernet: alx: fix order of calls on resume dcb95790821b powerpc/pseries: Don't enforce MSI affinity with kdump fd1824bf963a uapi: nfnetlink_cthelper.h: fix userspace compilation error Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>