summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-08-08perl-cross: Correct function signatures in configure_func.shyoe/mutKhem Raj
There are latent issues in function detection which were succeeding due to compiler being lenient, but this is fast changing e.g. clang-15 has turned the -Wimplicit-function-declaration into error which ends up failing these tests and rightly so. Therefore try to improve the tests to have proper prototypes known during compilation Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08tcp-wrappers: Fix implicit-function-declaration warningsKhem Raj
This is seen with clang-15+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08util-linux: Upgrade to 2.38.1Khem Raj
The individual commits in this release are at [1] and Changelog [2] [1] https://github.com/util-linux/util-linux/compare/v2.38...v2.38.1 [2] https://github.com/util-linux/util-linux/commit/e51a82836a47723669bf046e24c51d5eb051c15f Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08util-linux: Define pidfd_* function signaturesKhem Raj
glibc 2.36 has added sys/pidfd.h and APIs for pidfd_send_signal and pidfd_open, therefore check for this header and include it if it exists Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08cracklib: Drop using register keywordKhem Raj
Fixes incompatible integer to pointer conversion passing These errors are found with newer compilers e.g. clang-15 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08syslinux: Fix build with glibc-2.36Martin Jansa
* add only necessary definitions from linux/fs.h, because including whole file causes conflicts with sys/mount.h since glibc-2.36: http://errors.yoctoproject.org/Errors/Details/664535/ https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08glibc: fix new upstream build issue with DEBUG_BUILD buildMartin Jansa
* refresh 0001-Revert-Linux-Implement-a-useful-version-of-_startup_.patch (just different commit SHA in master and 2.35 branch) * add proposed fixes for build failure with DEBUG_BUILD: http://errors.yoctoproject.org/Errors/Details/663898/ 86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -fuse-ld=bfd -nostdlib -nostartfiles -r -o TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os '-Wl,-(' TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/dl-allobjs.os TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/rtld-libc.a -lgcc '-Wl,-)' \ -Wl,-Map,TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os.map x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -fuse-ld=bfd -nostdlib -nostartfiles -shared -o TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/ld.so.new \ -Wl,-z,relro -Wl,-z,defs -Wl,-z,now \ -Wl,-z,pack-relative-relocs \ TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os -Wl,--version-script=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/ld.map \ -Wl,-soname=ld-linux-x86-64.so.2 TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/12.1.0/ld.bfd: TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os: in function `_dl_load_cache_lookup': /usr/src/debug/glibc/2.36-r0/git/elf/dl-cache.c:513: undefined reference to `strcpy' collect2: error: ld returned 1 exit status introduced in 2.36 version, with: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=6b9006bfb0 upstream report with this fix proposed: https://sourceware.org/bugzilla/show_bug.cgi?id=29454 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08glibc: Bump to 2.36Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2022-08-08binutils-cross: Disable gprofng for when building cross binutilsKhem Raj
This does not work in cross settings yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08binutils: Upgrade to 2.39 releaseKhem Raj
Details of changes [1] [1] https://sourceware.org/pipermail/binutils/2022-August/122246.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08core-image-ptest-all,core-image-ptest-fast: Depend on core-image classKhem Raj
Use the default packages as mentioned in core-image-base without splash since many machines ( e.g. raspberrypi ) add packages to enable wifi/bt via MACHINE_EXTRA_RRECOMMENDS which are essential to boot the system without errors, otherwise there are errors about BT firmware not being found etc. which is then marked as failure and also services like btuart fail to start and it marked as failure in system logs Using default base package groups addresses this issue amicably Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08qemux86: Add identical qemux86copy variant for testsMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2022-08-08cargo: Work around host system library conflictsRichard Purdie
cargo ends up running target-rust-ccld with LD_LIBRARY_PATH set to libdir but not base_libdir which breaks the SDK. You see errors like: /bin/sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory On such a system, this would fail: LD_LIBRARY_PATH="<path>/testimage-sdk/sysroots/x86_64-pokysdk-linux/usr/lib" cargo build but this would work: LD_LIBRARY_PATH="<path>/testimage-sdk/sysroots/x86_64-pokysdk-linux/usr/lib:<path>/testimage-sdk/sysroots/x86_64-pokysdk-linux/lib" cargo build so wrap cargo with both paths in LD_LIBRARY_PATH. The error depends on the versions of the host system, it reproduced on tumbleweed-ty-3. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust-common: Remove conflict with utils create_wrapperRichard Purdie
utils already has a create_wrapper function which I tried to use from cargo and got unexpected results. Rename the rust function to avoid this conflict of named. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08archiver.bbclass: some recipes that uses the kernelsrc bbclass uses the ↵Jose Quaresma
shared source This fix a race that happens when building some of the followning recipes with kernel at same time. The kernelsrc uses the kernel shared source dir as their source S = "${STAGING_KERNEL_DIR}" and this will cause a race in the do_unpack_and_patch task, when bitbake runs the bb.build.exec_func('do_unpack', d) because do_unpack will clean the source dir on startup. | ok: note that S != "${STAGING_KERNEL_DIR} for this ones openembedded-core/meta/recipes-kernel/perf/perf.bb:inherit kernelsrc meta-openembedded/meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb:inherit kernelsrc autotools-brokensep | broken meta-openembedded/meta-oe/recipes-kernel/cpupower/cpupower.bb:inherit kernelsrc kernel-arch bash-completion meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb:inherit bash-completion kernelsrc kernel-arch meta-openembedded/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb:inherit kernelsrc meta-openembedded/meta-oe/recipes-kernel/bpftool/bpftool.bb:inherit bash-completion kernelsrc kernel-arch The issue can be replicated with: INHERIT += "archiver" ARCHIVER_MODE[src] = "original" ARCHIVER_MODE[diff] = "1" And: R=<recipe> bitbake -c cleansstate virtual/kernel $R && bitbake $R Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-08-08kernel.bbclass: Add shared_workdir_prepare taskJose Quaresma
The task do_compile_kernelmodules runs after the shared_workdir and is installing some files in STAGING_KERNEL_BUILDDIR, this can races in other recipes that depends on "virtual/kernel:do_shared_workdir" as the STAGING_KERNEL_BUILDDIR is not fully populated when the shared_workdir task ends. To address this issue a new task is added in place of the previows one so the shared_workdir will run after the do_compile_kernelmodules and the new shared_workdir_prepare will replce of the old shared_workdir. Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-08-08Revert "kernel: Ensure CC is set when manipulating kconfig"Richard Purdie
This reverts commit 8fd6b65efd78082b8a52e7ae983ed3809dc18bf7.
2022-08-08kernel: Ensure CC is set when manipulating kconfigRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08selftest/wic: Tweak test case to not depend on kernel sizeRichard Purdie
The current test assumes the kernel size leaves a certain amount of whitespace in the output. Improve this constraint so a slightly larger kernel doesn't fail the test. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08glibc: revert one upstream change to work around broken DEBUG_BUILD buildMartin Jansa
* work around for build failure with DEBUG_BUILD: http://errors.yoctoproject.org/Errors/Details/661468/ TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.35-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.3.0/ld.bfd: TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.35-r0/build-x86_64-oe-linux/libc.a(libc-tls.o): in function `__libc_setup_tls': /usr/src/debug/glibc/2.35-r0/git/csu/libc-tls.c:202: undefined reference to `_startup_fatal_not_constant' introduced in: https://git.openembedded.org/openembedded-core/commit/?id=50ca0eea5424c89c9b39cf69d8bd73fd65f06e95 with: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a2a6bce7d7e52c1c34369a7da62c501cc350bc31 Temporary reverting as discussed in: https://lists.openembedded.org/g/openembedded-core/message/168463 (it's also reverted in buildroot now with: https://lore.kernel.org/buildroot/20220720213853.1A27184110@busybox.osuosl.org/t/) instead of revert we can use -fexpensive-optimizations which will optimize-out the symbol, but that works only with -O1 and not -Og used by DEBUG_BUILD upstream report: https://sourceware.org/bugzilla/show_bug.cgi?id=29249 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08glibc : stable 2.35 branch updatesSundeep KOKKONDA
Below commits on glibc-2.35 development branch are updated. glibc: 0e5b239f45 malloc: Simplify implementation of __malloc_assert dc2d843045 Update syscall-names.list for Linux 5.18 d56c7e0965 Apply asm redirections in stdio.h before first use [BZ #27087] c4050b2552 x86: Add missing IS_IN (libc) check to strncmp-sse4_2.S fdf699edea x86: Move mem{p}{mov|cpy}_{chk_}erms to its own file de6f7bb873 x86: Move and slightly improve memset_erms 210e9728ff x86: Add definition for __wmemset_chk AVX2 RTM in ifunc impl list c77cde8172 x86: Put wcs{n}len-sse4.1 in the sse4.1 text section 3eb17048c4 x86: Align entry for memrchr to 64-bytes. dd3b6857ee x86: Add BMI1/BMI2 checks for ISA_V3 check ce32ad91eb x86: Cleanup bounds checking in large memcpy case 863987a6ef x86: Add bounds `x86_non_temporal_threshold` 232b7adb14 x86: Add sse42 implementation to strcmp's ifunc 7f7a728b71 x86: Fix misordered logic for setting `rep_movsb_stop_threshold` 6b4a2ab7e0 x86: Align varshift table to 32-bytes e74385736c x86: ZERO_UPPER_VEC_REGISTERS_RETURN_XTEST expect no transactions b4744d4414 x86: Shrink code size of memchr-evex.S 5321a217cf x86: Shrink code size of memchr-avx2.S c536b318f0 x86: Optimize memrchr-avx2.S f8ba0e0452 x86: Optimize memrchr-evex.S 7001d558a0 x86: Optimize memrchr-sse2.S 54486f520a x86: Add COND_VZEROUPPER that can replace vzeroupper if no `ret` 82560fe43e x86: Create header for VEC classes in x86 strings library b1f23b6128 x86_64: Add strstr function with 512-bit EVEX f9f0fbbf7b x86-64: Ignore r_addend for R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT 650bf51c78 x86_64: Implement evex512 version of strlen, strnlen, wcslen and wcsnlen e0cb101d1b x86_64: Remove bzero optimization 51e2d3b53b nptl: Fix ___pthread_unregister_cancel_restore asynchronous restore cd4f43be3d linux: Fix mq_timereceive check for 32 bit fallback code (BZ 29304) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08oeqa devtool: Add tests to cover devtool handling of various git URL stylesThomas Roos
Add two test cases for git URL styles that trigger reformat_git_url. [YOCTO #11394] Signed-off-by: Thomas Roos <throos@amazon.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08relocate_sdk.py: ensure interpreter size error causes relocation to failPaul Eggleton
If there is insufficent space to change the interpreter, we were printing an error here but the overall script did not return an error code, and thus the SDK installation appeared to succeed - but some of the binaries will not be in a working state. Allow the relocation to proceed (so we still get a full list of the failures) but error out at the end so that the installation is halted. Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08efivar: Fix build with glibc 2.36Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08ltp: Fix sys/mount.h conflicts needed for glibc 2.36+ compileKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08bootchart2: Fix build with glibc 2.36+Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08stress-ng: Upgrade to 0.14.03Khem Raj
Backport fixes for build with glibc 2.36+ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08mtd-utils: Fix build with glibc 2.36Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08qemu: Fix build with glibc 2.36Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08lttng-modules: fix build against mips and v5.19 kernelBruce Ashfield
When building against a v5.19 mips kernel, the following errors were triggered: | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:105:42: note: expected 'struct compact_control *' but argument is of type 'struct compact_control *' | 105 | TP_PROTO(struct compact_control *cc, | | ~~~~~~~~~~~~~~~~~~~~~~~~^~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:779:68: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | 779 | static inline size_t __event_get_align__##_name(void *__tp_locvar, _proto) \ | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:106:50: note: in expansion of macro 'PARAMS' | 106 | LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, PARAMS(_proto), PARAMS(_args), , , \ | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | 41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:42:30: note: in expansion of macro 'PARAMS' | 42 | PARAMS(proto), \ | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:101:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP' | 101 | LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:105:9: note: in expansion of macro 'TP_PROTO' | 105 | TP_PROTO(struct compact_control *cc, | | ^~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:112:57: error: invalid use of undefined type 'struct compact_control' ... | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:108:25: warning: 'struct compact_control' declared inside parameter list will not be visible outside of this definition or declaration | 108 | TP_PROTO(struct compact_control *cc, | | ^~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:159:43: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP' | 159 | void __event_template_proto___##_template(_proto); | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:45:61: note: in expansion of macro 'PARAMS' | 45 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args)) | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:104:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP' | 104 | LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:108:9: note: in expansion of macro 'TP_PROTO' | 108 | TP_PROTO(struct compact_control *cc, | | ^~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:159:6: error: conflicting types for '__event_template_proto___compaction_migratepages'; have 'void(struct compact_control *, unsigned int)' | 159 | void __event_template_proto___##_template(_proto); | | ^~~~~~~~~~~~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:45:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP' | 45 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args)) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The root cause appears to be that this particular mips kernel does not have CONFIG_COMPACTION avaiable, and hence we end up with the struct declaration within this tracepoint, and then conflicting types. While putting the conditional around only compaction_migratepages seemed sufficient to get the build working, it doesn't look like any of the tracepoints should be valid, so we extend it to all definitions. Upstream-Status: Submitted [https://lists.lttng.org/pipermail/lttng-dev/2022-August/030246.html] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08kernel-devsrc: support powerpc on v5.19+Bruce Ashfield
The on-target/scripts requirements have expanded for powerpc on v5.19+ we copy the required .S and .sh files as part of devsrc to support the archtecture. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08kernel-devsrc: support arm v5.19+ on target buildBruce Ashfield
Adding two new tools required for 'scripts prepare' on arch arm and arm64. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08linux-libc-headers: update to v5.19Bruce Ashfield
Updating to v5.19 to match the latest reference kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08linux-yocto-rt/5.15: update to -rt48 (and fix -stable merge)Bruce Ashfield
Integrating the following commit(s) to linux-yocto/5.15: 6bc08dd702bb 'Linux 5.15.55-rt48' 9a1a3c0162ef sched/core: Always flush pending blk_plug f178a16e9368 crypto/cryptd: fix leftover hunks from 2a30446f4 0e01a5c5a80e 'Linux 5.15.49-rt47' 2aa2253a0595 'Linux 5.15.44-rt46' c94ef3468bef 'Linux 5.15.43-rt45' 264141c33af3 'Linux 5.15.41-rt44' 9934b33b68d9 'Linux 5.15.40-rt43' ca63907ee4b7 'Linux 5.15.39-rt42' 238b266d7aa8 sched/deadline: fixup -stable / -rt merge Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08linux-yocto/5.10: update to v5.10.134Bruce Ashfield
Updating to the latest korg -stable release that comprises the following commits: 7a62a4b6212a Linux 5.10.134 bb1990a3005e watch-queue: remove spurious double semicolon f7c1fc0dec97 net: usb: ax88179_178a needs FLAG_SEND_ZLP 08afa87f58d8 tty: use new tty_insert_flip_string_and_push_buffer() in pty_write() a4bb7ef2d6f6 tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push() c84986d09745 tty: drop tty_schedule_flip() 4d374625cca2 tty: the rest, stop using tty_schedule_flip() 6a8184825286 tty: drivers/tty/, stop using tty_schedule_flip() 0adf21eec590 watchqueue: make sure to serialize 'wqueue->defunct' properly c0a3a9eb262a x86/alternative: Report missing return thunk details b7b9e5cc8b24 x86/amd: Use IBPB for firmware calls 14fc9233aa73 Bluetooth: Fix bt_skb_sendmmsg not allocating partial chunks f44e65e6f0ee Bluetooth: SCO: Fix sco_send_frame returning skb->len a8feae8bd227 Bluetooth: Fix passing NULL to PTR_ERR 5283591c84fa Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg 341a029cf39c Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg 3cce0e771fb5 Bluetooth: Add bt_skb_sendmmsg helper c87b2bc9d74a Bluetooth: Add bt_skb_sendmsg helper 4faf4bbc2d60 ALSA: memalloc: Align buffer allocations in page size d1dc861cd68c bitfield.h: Fix "type of reg too small for mask" test f62ffdb5e2ee drm/imx/dcss: fix unused but set variable warnings 577b624689aa dlm: fix pending remove if msg allocation fails cdcd20aa2cd4 x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts 26d5eb3c25c3 sched/deadline: Fix BUG_ON condition for deboosted tasks 0c722a32f29a bpf: Make sure mac_header was set before using it ddb3f0b68863 mm/mempolicy: fix uninit-value in mpol_rebind_policy() 3616776bc51c KVM: Don't null dereference ops->destroy 684896e675ed spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers 064852663308 tcp: Fix data-races around sysctl_tcp_max_reordering. 805f1c7ce470 tcp: Fix a data-race around sysctl_tcp_rfc1337. 03bb3892f3f1 tcp: Fix a data-race around sysctl_tcp_stdurg. daa8b5b8694c tcp: Fix a data-race around sysctl_tcp_retrans_collapse. 0e3f82a03ec8 tcp: Fix data-races around sysctl_tcp_slow_start_after_idle. cc133e4f4bc2 tcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts. d8781f7cd040 tcp: Fix data-races around sysctl_tcp_recovery. 11e8b013d16e tcp: Fix a data-race around sysctl_tcp_early_retrans. ffc388f6f0d6 tcp: Fix data-races around sysctl knobs related to SYN option. fcaef69c79ec udp: Fix a data-race around sysctl_udp_l3mdev_accept. 9add240f76af ip: Fix data-races around sysctl_ip_prot_sock. e045d672ba06 ipv4: Fix a data-race around sysctl_fib_multipath_use_neigh. 36f1d9c607f9 drm/imx/dcss: Add missing of_node_put() in fail path 665cbe91de2f be2net: Fix buffer overflow in be_get_module_eeprom 47523928557e gpio: pca953x: use the correct register address when regcache sync during init a941e6d5ba3b gpio: pca953x: use the correct range when do regmap sync 928ded3fc1b9 gpio: pca953x: only use single read/write for No AI mode b82de63f8f81 ixgbe: Add locking to prevent panic when setting sriov_numvfs to zero 6f949e5615f8 i40e: Fix erroneous adapter reinitialization during recovery process c6af94324911 iavf: Fix handling of dummy receive descriptors 0dc2f19d8c26 tcp: Fix data-races around sysctl_tcp_fastopen_blackhole_timeout. 22938534c611 tcp: Fix data-races around sysctl_tcp_fastopen. b3ce32e33ab7 tcp: Fix data-races around sysctl_max_syn_backlog. b6c189aa801a tcp: Fix a data-race around sysctl_tcp_tw_reuse. fd6f1284e380 tcp: Fix a data-race around sysctl_tcp_notsent_lowat. 768e42460720 tcp: Fix data-races around some timeout sysctl knobs. 474510e174fb tcp: Fix data-races around sysctl_tcp_reordering. dc1a78a2b274 tcp: Fix data-races around sysctl_tcp_syncookies. fc489055e7e8 tcp: Fix data-races around keepalive sysctl knobs. f85119fb3fd6 igmp: Fix data-races around sysctl_igmp_max_msf. 7d26db005354 igmp: Fix a data-race around sysctl_igmp_max_memberships. 473aad9ad57f igmp: Fix data-races around sysctl_igmp_llm_reports. e80ff0b96613 net/tls: Fix race in TLS device down flow a3ac79f38d35 net: stmmac: fix dma queue left shift overflow issue f3da643d8763 i2c: cadence: Change large transfer count reset logic to be unconditional dd7b5ba44b67 net: stmmac: fix unbalanced ptp clock issue in suspend/resume flow c61aede097d3 tcp: Fix a data-race around sysctl_tcp_probe_interval. d452ce36f2d4 tcp: Fix a data-race around sysctl_tcp_probe_threshold. d5bece4df609 tcp: Fix a data-race around sysctl_tcp_mtu_probe_floor. 97992e8feff3 tcp: Fix data-races around sysctl_tcp_min_snd_mss. 514d2254c7b8 tcp: Fix data-races around sysctl_tcp_base_mss. 77a04845f0d2 tcp: Fix data-races around sysctl_tcp_mtu_probing. d4f65615db7f tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept. 0ee76fe01ff3 ip: Fix a data-race around sysctl_fwmark_reflect. 611ba70e5aca ip: Fix a data-race around sysctl_ip_autobind_reuse. 94269132d0fc ip: Fix data-races around sysctl_ip_nonlocal_bind. 11038fa781ab ip: Fix data-races around sysctl_ip_fwd_update_priority. b96ed5ccb09a ip: Fix data-races around sysctl_ip_fwd_use_pmtu. 5e343e3ef464 ip: Fix data-races around sysctl_ip_no_pmtu_disc. 77836dbe3538 igc: Reinstate IGC_REMOVED logic and implement it properly fb6031203ebb drm/amdgpu/display: add quirk handling for stutter mode 43128b3eee33 perf/core: Fix data race between perf_event_set_output() and perf_mmap_close() 5694b162f275 pinctrl: ralink: Check for null return of devm_kcalloc 493ceca32713 power/reset: arm-versatile: Fix refcount leak in versatile_reboot_probe 47b696dd6544 xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup() 3777ea39f05a serial: mvebu-uart: correctly report configured baudrate value e744aad0c442 PCI: hv: Fix interrupt mapping for multi-MSI 522bd31d6b4b PCI: hv: Reuse existing IRTE allocation in compose_msi_msg() 73bf070408a7 PCI: hv: Fix hv_arch_irq_unmask() for multi-MSI f1d2f1ce0535 PCI: hv: Fix multi-MSI to allow more than one MSI vector b07240ce4a09 Revert "m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch" 4f900c37f13e net: inline rollback_registered_many() bf2f3d1970c0 net: move rollback_registered_many() 672fac0a4372 net: inline rollback_registered() b1158677d46b net: move net_set_todo inside rollback_registered() 2e11856ec379 net: make sure devices go through netdev_wait_all_refs ed6964ff4714 net: make free_netdev() more lenient with unregistering devices 2686f62fa78c docs: net: explain struct net_device lifetime 7a99c7c32c85 xen/gntdev: Ignore failure to unmap INVALID_GRANT_HANDLE 2ee0cab11f66 io_uring: Use original task for req identity in io_identity_cow() ab5050fd7430 lockdown: Fix kexec lockdown bypass with ima policy 426336de3557 mlxsw: spectrum_router: Fix IPv4 nexthop gateway indication 15155fa898cb riscv: add as-options for modules with assembly compontents 31f3bb363a89 pinctrl: stm32: fix optional IRQ support to gpios 503493453643 Linux 5.10.133 2fc7f18ba2f9 tools headers: Remove broken definition of __LITTLE_ENDIAN 060e39b8c21c tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy' - again fbf60f83e241 objtool: Fix elf_create_undef_symbol() endianness 39065d54347f kvm: fix objtool relocation warning 6849ed81a33a x86: Use -mindirect-branch-cs-prefix for RETPOLINE builds 8e2774270aa3 um: Add missing apply_returns() 725da3e67cec x86/bugs: Remove apostrophe typo 81604506c26a tools headers cpufeatures: Sync with the kernel sources 3f93b8630a91 tools arch x86: Sync the msr-index.h copy with the kernel sources 2ef1b06ceacf KVM: emulate: do not adjust size of fastop and setcc subroutines 8e31dfd6306e x86/kvm: fix FASTOP_SIZE when return thunks are enabled 5779e2f0cc24 efi/x86: use naked RET on mixed mode call wrapper abf88ff13414 x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current ecc0d92a9f6c x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit 95d89ec7dba5 x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub 668cb1ddf0ae x86/xen: Fix initialisation in hypercall_page after rethunk 81f20e5000ec x86, kvm: use proper ASM macros for kvm_vcpu_is_preempted 844947eee36c tools/insn: Restore the relative include paths for cross building c035ca88b074 x86/static_call: Serialize __static_call_fixup() properly eb38964b6ff8 x86/speculation: Disable RRSBA behavior c2ca99214428 x86/kexec: Disable RET on kexec 51552b6b52fc x86/bugs: Do not enable IBPB-on-entry when IBPB is not supported 609336351d08 x86/bugs: Add Cannon lake to RETBleed affected CPU list b24fdd0f1c33 x86/retbleed: Add fine grained Kconfig knobs f7851ed697be x86/cpu/amd: Enumerate BTC_NO a74f5d23e68d x86/common: Stamp out the stepping madness 4d7f72b6e1bc x86/speculation: Fill RSB on vmexit for IBRS 47ae76fb2739 KVM: VMX: Fix IBRS handling after vmexit 5269be9111e2 KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS 84061fff2ad9 KVM: VMX: Convert launched argument to flags 07401c2311f6 KVM: VMX: Flatten __vmx_vcpu_run() df93717a32f5 objtool: Re-add UNWIND_HINT_{SAVE_RESTORE} 1dbefa577252 x86/speculation: Remove x86_spec_ctrl_mask ce11f91b21c2 x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit aad83db22e99 x86/speculation: Fix SPEC_CTRL write on SMT state change d29c07912a49 x86/speculation: Fix firmware entry SPEC_CTRL handling f1b01ace814b x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n ea1aa926f423 x86/cpu/amd: Add Spectral Chicken 0d1a8a16e62c objtool: Add entry UNRET validation fbab1c94eb1a x86/bugs: Do IBPB fallback check only once c8845b875437 x86/bugs: Add retbleed=ibpb f728eff26339 x86/xen: Rename SYS* entry points 28aa3fa0b2c9 objtool: Update Retpoline validation 55bba093fd91 intel_idle: Disable IBRS during long idle e8142e2d6cb6 x86/bugs: Report Intel retbleed vulnerability a0f8ef71d762 x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation() dabc2a1b406a x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS 6d7e13ccc4d7 x86/bugs: Optimize SPEC_CTRL MSR writes 3dddacf8c3cc x86/entry: Add kernel IBRS implementation 9e727e0d9486 x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value a989e7513619 x86/bugs: Enable STIBP for JMP2RET 3f29791d56d3 x86/bugs: Add AMD retbleed= boot parameter 876750cca4f0 x86/bugs: Report AMD retbleed vulnerability df748593c553 x86: Add magic AMD return-thunk c70d6f82141b objtool: Treat .text.__x86.* as noinstr c9eb5dcdc8f4 x86: Use return-thunk in asm code 5b2edaf709b5 x86/sev: Avoid using __x86_return_thunk d6eb50e9b724 x86/vsyscall_emu/64: Don't use RET in vsyscall emulation ee4996f07d86 x86/kvm: Fix SETcc emulation for return thunks e0e06a922706 x86/bpf: Use alternative RET encoding 00b136bb6254 x86/ftrace: Use alternative RET encoding 7723edf5edfd x86,static_call: Use alternative RET encoding 446eb6f08936 objtool: skip non-text sections when adding return-thunk sites 8bdb25f7aee3 x86,objtool: Create .return_sites 716410960ba0 x86: Undo return-thunk damage 270de63cf4a3 x86/retpoline: Use -mfunction-return 37b9bb094123 Makefile: Set retpoline cflags based on CONFIG_CC_IS_{CLANG,GCC} 3e519ed8d509 x86/retpoline: Swizzle retpoline thunk 6a2b142886c5 x86/retpoline: Cleanup some #ifdefery feec5277d5aa x86/cpufeatures: Move RETPOLINE flags to word 11 7070bbb66c53 x86/kvm/vmx: Make noinstr clean accb8cfd506d x86/realmode: build with -D__DISABLE_EXPORTS 236b959da9d1 objtool: Fix objtool regression on x32 systems 148811a84292 x86/entry: Remove skip_r11rcx e1db6c8a69ec objtool: Fix symbol creation 3e8afd072d09 objtool: Fix type of reloc::addend 42ec4d71353f objtool: Fix code relocs vs weak symbols 831d5c07b7e7 objtool: Fix SLS validation for kcov tail-call replacement 9728af8857df crypto: x86/poly1305 - Fixup SLS 03c5c33e043e objtool: Default ignore INT3 for unreachable bef21f88b47e kvm/emulate: Fix SETcc emulation function offsets with SLS 494ed76c1446 tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy' e9925a4584dc x86: Add straight-line-speculation mitigation 0f8532c28377 objtool: Add straight-line-speculation validation 1f6e6683c466 x86/alternative: Relax text_poke_bp() constraint 277f4ddc36c5 x86: Prepare inline-asm for straight-line-speculation 3c91e2257622 x86: Prepare asm files for straight-line-speculation a512fcd881c1 x86/lib/atomic64_386_32: Rename things c2746d567dcd bpf,x86: Respect X86_FEATURE_RETPOLINE* 1713e5c4f852 bpf,x86: Simplify computing label offsets 38a80a3ca2cb x86/alternative: Add debug prints to apply_retpolines() 3d13ee0d411a x86/alternative: Try inline spectre_v2=retpoline,amd b0e2dc950654 x86/alternative: Handle Jcc __x86_indirect_thunk_\reg 381fd04c97b4 x86/alternative: Implement .retpoline_sites support 6eb95718f3ea x86/retpoline: Create a retpoline thunk array 0de47ad5b9d5 x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h 41ef95807000 x86/asm: Fixup odd GEN-for-each-reg.h usage 8ef808b3f406 x86/asm: Fix register order ccb8fc65a3e8 x86/retpoline: Remove unused replacement symbols 908bd980a80e objtool,x86: Replace alternatives with .retpoline_sites 023e78bbf13c objtool: Explicitly avoid self modifying code in .altinstr_replacement 6e4676f438f8 objtool: Classify symbols acc0be56b415 objtool: Handle __sanitize_cov*() tail calls 9d7ec2418a3a objtool: Introduce CFI hash e8b1128fb0d6 objtool: Make .altinstructions section entry size consistent 1afa44480b62 objtool: Remove reloc symbol type checks in get_alt_entry() e7118a25a87f objtool: print out the symbol type when complaining about it 7ea073195745 objtool: Teach get_alt_entry() about more relocation types 364e463097a7 objtool: Don't make .altinstructions writable f231b2ee8533 objtool/x86: Ignore __x86_indirect_alt_* symbols e32542e9ed36 objtool: Only rewrite unconditional retpoline thunk calls a0319253825e objtool: Fix .symtab_shndx handling for elf_create_undef_symbol() 76474a9dd34a x86/alternative: Optimize single-byte NOPs at an arbitrary position f3fe1b141d2c objtool: Support asm jump tables 0b2c8bf4983b objtool/x86: Rewrite retpoline thunk calls ed7783dca5ba objtool: Skip magical retpoline .altinstr_replacement e87c18c4a951 objtool: Cache instruction relocs 33092b486686 objtool: Keep track of retpoline call sites 8a6d73f7db7f objtool: Add elf_create_undef_symbol() b69e1b4b689f objtool: Extract elf_symbol_add() da962cd0a2fe objtool: Extract elf_strtab_concat() b37c43925011 objtool: Create reloc sections implicitly fcdb7926d399 objtool: Add elf_create_reloc() helper c9049cf4804a objtool: Rework the elf_rebuild_reloc_section() logic d42fa5bf19fc objtool: Handle per arch retpoline naming 6e95f8caffb3 objtool: Correctly handle retpoline thunk calls 28ca35129674 x86/retpoline: Simplify retpolines e68db6f780c6 x86/alternatives: Optimize optimize_nops() 9a6471666b73 x86: Add insn_decode_kernel() d9cd21911498 x86/alternative: Use insn_decode() e6f8dc86a1c1 x86/insn-eval: Handle return values from the decoder 6bc6875b82a0 x86/insn: Add an insn_decode() API 76c513c87f59 x86/insn: Add a __ignore_sync_check__ marker a3d96c74395e x86/insn: Rename insn_decode() to insn_decode_from_regs() fd80da64cffe x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has() 341e6178c1cf x86/alternative: Support ALTERNATIVE_TERNARY 0c4c69856996 x86/alternative: Support not-feature c9cf908b89ca x86/alternative: Merge include files 5f93d900b9d3 x86/xen: Support objtool vmlinux.o validation in xen-head.S b626e17c11f5 x86/xen: Support objtool validation in xen-asm.S 3116dee2704b objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC 53e89bc78e43 objtool: Assume only ELF functions do sibling calls 3e674f265289 objtool: Support retpoline jump detection for vmlinux.o 917a4f6348d9 objtool: Support stack layout changes in alternatives e9197d768f97 objtool: Add 'alt_group' struct 1d516bd72a68 objtool: Refactor ORC section generation dd87aa5f610b KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw 0ca2ba6e4d13 KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S 7748091a3127 Linux 5.10.132 06a5dc3911a3 x86/pat: Fix x86_has_pat_wp() d9cb6fabc901 serial: 8250: Fix PM usage_count for console handover e1bd94dd9e5c serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle b8c466112656 serial: stm32: Clear prev values before setting RTS delays 039ffe436ae5 serial: 8250: fix return error code in serial8250_request_std_resource() bfee93c9a6c3 vt: fix memory overlapping when deleting chars in the buffer 5450430199e3 tty: serial: samsung_tty: set dma burst_size to 1 0e5668ed7b7a usb: dwc3: gadget: Fix event pending check f1e01a42dcbd usb: typec: add missing uevent when partner support PD 61ab5d644e16 USB: serial: ftdi_sio: add Belimo device ids 58b94325ee80 signal handling: don't use BUG_ON() for debugging e75f692b79b4 nvme-pci: phison e16 has bogus namespace ids 54bf0b8c75af Revert "can: xilinx_can: Limit CANFD brp to 2" 35ce2c64e57e ARM: dts: stm32: use the correct clock source for CEC on stm32mp151 227ee155eaf5 soc: ixp4xx/npe: Fix unused match warning 136d7987fcfd x86: Clear .brk area at early boot fd830d8dd59a irqchip: or1k-pic: Undefine mask_ack for level triggered hardware dae43b37925c ASoC: madera: Fix event generation for rate controls cae4b78f3c7d ASoC: madera: Fix event generation for OUT1 demux a7634527cb23 ASoC: cs47l15: Fix event generation for low power mux control 41f97b0ecfb3 ASoC: dapm: Initialise kcontrol data for mux/demux controls 11a14e4f31b7 ASoC: wm5110: Fix DRE control 6cbbe59fdc7e ASoC: SOF: Intel: hda-loader: Clarify the cl_dsp_init() flow ef1e38532f4b pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux() 13fb9105cfc9 ASoC: ops: Fix off by one in range control validation 67dc32542a1f net: sfp: fix memory leak in sfp_probe() 104594de2778 nvme: fix regression when disconnect a recovering ctrl 5504e63832e7 nvme-tcp: always fail a request when sending it failed de876f36f9a3 NFC: nxp-nci: don't print header length mismatch on i2c error efa78f2ae363 net: tipc: fix possible refcount leak in tipc_sk_create() bacfef0bf2fa platform/x86: hp-wmi: Ignore Sanitization Mode event 3ea9dbf7c2f4 cpufreq: pmac32-cpufreq: Fix refcount leak bug 24cd0b9bfdff scsi: hisi_sas: Limit max hw sectors for v3 HW c458ebd6591e netfilter: br_netfilter: do not skip all hooks with 0 priority 93135dca8c4c virtio_mmio: Restore guest page size on resume d6115800325c virtio_mmio: Add missing PM calls to freeze/restore 31e16a5e113f mm: sysctl: fix missing numa_stat when !CONFIG_HUGETLB_PAGE c713de1d80a5 net/tls: Check for errors in tls_device_init eb58fd350a85 KVM: x86: Fully initialize 'struct kvm_lapic_irq' in kvm_pv_kick_cpu_op() c2978d0124f2 net: atlantic: remove aq_nic_deinit() when resume 38e081ee06cb net: atlantic: remove deep parameter on suspend/resume functions b82e4ad58a7f sfc: fix kernel panic when creating VF 2d4efc9a0e85 seg6: bpf: fix skb checksum in bpf_push_seg6_encap() 7b38df59a8f4 seg6: fix skb checksum in SRv6 End.B6 and End.B6.Encaps behaviors 834fa0a22fe8 seg6: fix skb checksum evaluation in SRH encapsulation/insertion c2240500817b sfc: fix use after free when disabling sriov c1d9702ceb4a ima: Fix potential memory leak in ima_init_crypto() eb360267e1e9 ima: force signature verification when CONFIG_KEXEC_SIG is configured 29c6a632f819 net: ftgmac100: Hold reference returned by of_get_child_by_name() a51040d4b120 nexthop: Fix data-races around nexthop_compat_mode. 2c56958de89b ipv4: Fix data-races around sysctl_ip_dynaddr. 038a87b3e460 raw: Fix a data-race around sysctl_raw_l3mdev_accept. 38d78c7b4be7 icmp: Fix a data-race around sysctl_icmp_ratemask. 4ebf26153215 icmp: Fix a data-race around sysctl_icmp_ratelimit. b8871d918602 sysctl: Fix data-races in proc_dointvec_ms_jiffies(). 2744e302e752 drm/i915/gt: Serialize TLB invalidates with GT resets 636e5dbaf097 drm/i915/selftests: fix a couple IS_ERR() vs NULL tests 359f2bca7989 ARM: dts: sunxi: Fix SPI NOR campatible on Orange Pi Zero e1aa73454ab4 ARM: dts: at91: sama5d2: Fix typo in i2s1 node 418b191d5f22 ipv4: Fix a data-race around sysctl_fib_sync_mem. e088ceb73c24 icmp: Fix data-races around sysctl. fe2a35fa2c4f cipso: Fix data-races around sysctl. f5811b8df2b9 net: Fix data-races around sysctl_mem. d54b6ef53cbc inetpeer: Fix data-races around sysctl. 6481a8a72a74 tcp: Fix a data-race around sysctl_tcp_max_orphans. 609ce7ff75a7 sysctl: Fix data races in proc_dointvec_jiffies(). a5ee448d388c sysctl: Fix data races in proc_doulongvec_minmax(). e3a2144b3b6b sysctl: Fix data races in proc_douintvec_minmax(). 71ddde27c2eb sysctl: Fix data races in proc_dointvec_minmax(). d5d54714e329 sysctl: Fix data races in proc_douintvec(). 80cc28a4b484 sysctl: Fix data races in proc_dointvec(). 9cc8edc571b8 net: stmmac: dwc-qos: Disable split header for Tegra194 cd201332cc39 ASoC: Intel: Skylake: Correct the handling of fmt_config flexible array fbb87a0ed216 ASoC: Intel: Skylake: Correct the ssp rate discovery in skl_get_ssp_clks() bb8bf8038771 ASoC: tas2764: Fix amp gain register offset & default f1cd988de463 ASoC: tas2764: Correct playback volume range 52d1b4250ca9 ASoC: tas2764: Fix and extend FSYNC polarity handling 249fe2d20d55 ASoC: tas2764: Add post reset delays f160a1f97091 ASoC: sgtl5000: Fix noise on shutdown/remove 831e190175f1 ima: Fix a potential integer overflow in ima_appraise_measurement 592f3bad00b7 drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector() 4cb5c1950b7a net/mlx5e: Fix capability check for updating vnic env counters 6eb1d0c370af net/mlx5e: kTLS, Fix build time constant test in RX c87d5211be84 net/mlx5e: kTLS, Fix build time constant test in TX d6cab2e06c33 ARM: 9210/1: Mark the FDT_FIXED sections as shareable 3d82fba7d363 ARM: 9209/1: Spectre-BHB: avoid pr_info() every time a CPU comes out of idle 0c300e294d1c spi: amd: Limit max transfer and message size d8d42c92fe56 ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count 91f90b571f1a ext4: fix race condition between ext4_write and ext4_convert_inline_data 9d883b3f000d Revert "evm: Fix memleak in init_desc" 41007669fc3b sh: convert nommu io{re,un}map() to static inline functions ea4dbcfb9532 nilfs2: fix incorrect masking of permission flags for symlinks 14e63942d63e fs/remap: constrain dedupe of EOF blocks 0581613df7f9 drm/panfrost: Fix shrinker list corruption by madvise IOCTL 2e760fe05d3e drm/panfrost: Put mapping instead of shmem obj on panfrost_mmu_map_fault_addr() error c1ea39a77cbd btrfs: return -EAGAIN for NOWAIT dio reads/writes on compressed and inline extents 7657e3958535 cgroup: Use separate src/dst nodes when preloading css_sets for migration e013ea2a51a9 wifi: mac80211: fix queue selection for mesh/OCB interfaces db6e8c30154f ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction f851e4f40253 ARM: 9213/1: Print message about disabled Spectre workarounds only once fa40bb3a5f0c ip: fix dflt addr selection for connected nexthop 4d3e0fb05eec net: sock: tracing: Fix sock_exceed_buf_limit not to dereference stale pointer 78a1400c42ee tracing/histograms: Fix memory leak problem 931dbcc2e02f mm: split huge PUD on wp_huge_pud fallback 91530f675e88 fix race between exit_itimers() and /proc/pid/timers b9c32a6886af xen/netback: avoid entering xenvif_rx_next_skb() with an empty rx queue 782a6b07b127 ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop cacac3e13a81 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221 08ab39027a88 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671 4d0d15d18467 ALSA: hda/realtek: Fix headset mic for Acer SF313-51 b642a3476a34 ALSA: hda/conexant: Apply quirk for another HP ProDesk 600 G3 model 4486bbe92840 ALSA: hda - Add fixup for Dell Latitidue E5430 8f95261a0064 Linux 5.10.131 cc5ee0e0eed0 Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting" Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08linux-yocto/5.15: update to v5.15.58Bruce Ashfield
Updating to the latest korg -stable release that comprises the following commits: 7d8048d4e064 Linux 5.15.58 c6e4817ab622 drm/amd/display: Fix wrong format specifier in amdgpu_dm.c 198a6f40822e x86/entry_32: Fix segment exceptions ec9ec3bc08b1 drm/amdgpu: Off by one in dm_dmub_outbox1_low_irq() e4481000ac68 x86: drop bogus "cc" clobber from __try_cmpxchg_user_asm() 9444462d6343 KVM: x86: fix typo in __try_cmpxchg_user causing non-atomicness b6c24afba608 x86/extable: Prefer local labels in .set directives f85a6046f771 drm/amd/display: invalid parameter check in dmub_hpd_callback 760fe3203493 drm/amd/display: Don't lock connection_mutex for DMUB HPD d026ed6eda29 watch-queue: remove spurious double semicolon b34229f4b212 net: usb: ax88179_178a needs FLAG_SEND_ZLP b2d1e4cd558c tty: use new tty_insert_flip_string_and_push_buffer() in pty_write() 816c301b6a73 tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push() 35545303454a tty: drop tty_schedule_flip() 6219f5b54ad8 tty: the rest, stop using tty_schedule_flip() ea255921c4b5 tty: drivers/tty/, stop using tty_schedule_flip() ba3a8af8a21a watchqueue: make sure to serialize 'wqueue->defunct' properly 49338b651f5a x86/alternative: Report missing return thunk details 8842d5d70713 x86/amd: Use IBPB for firmware calls c2b484d784c8 drm/amd/display: Fix surface optimization regression on Carrizo 958151194858 drm/amd/display: Optimize bandwidth on following fast update b3f16976b9ed drm/amd/display: Reset DMCUB before HW init 4b4b1f8dfeb7 exfat: use updated exfat_chain directly during renaming 000473ac997a Bluetooth: Fix bt_skb_sendmmsg not allocating partial chunks d01605a01f01 Bluetooth: SCO: Fix sco_send_frame returning skb->len 5ae749f40d01 Bluetooth: Fix passing NULL to PTR_ERR 367becefb8a1 Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg 1864e820a5ac Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg cb7ed8c7fe5b Bluetooth: Add bt_skb_sendmmsg helper a4e8071be337 Bluetooth: Add bt_skb_sendmsg helper 59f132fda50d um: virtio_uml: Fix broken device handling in time-travel 38a28bb80f00 um: virtio_uml: Allow probing from devicetree d8413b16feee tracing: Fix return value of trace_pid_write() d9777061727b tracing: Place trace_pid_list logic into abstract functions 6107b014163f tracing: Have event format check not flag %p* on __get_dynamic_array() 621c1d8c1bd1 exfat: fix referencing wrong parent directory information after renaming 72e0ec16f172 crypto: qat - re-enable registration of algorithms e7f979ed51f9 crypto: qat - add param check for DH 4d6d2adce087 crypto: qat - add param check for RSA 2488286d3e77 crypto: qat - remove dma_free_coherent() for DH 6e8606e7ae40 crypto: qat - remove dma_free_coherent() for RSA a843925e0287 crypto: qat - fix memory leak in RSA ef5594895df2 crypto: qat - add backlog mechanism 9cac903b6303 crypto: qat - refactor submission logic f576c7e01a6a crypto: qat - use pre-allocated buffers in datapath 343cee3eafda crypto: qat - set to zero DH parameters before free c1f6637fe1c2 iwlwifi: fw: uefi: add missing include guards 4448327b4173 mt76: fix use-after-free by removing a non-RCU wcid pointer 829baf398f2c xhci: Set HCD flag to defer primary roothub registration 813f4b49e81c xhci: dbc: Rename xhci_dbc_init and xhci_dbc_exit 413c5f751f7c xhci: dbc: create and remove dbc structure in dbgtty driver. d7afb4a13f6c xhci: dbc: refactor xhci_dbc_init() d97c0667c1e6 KVM: x86: Use __try_cmpxchg_user() to emulate atomic accesses 88eded8104d2 x86/futex: Remove .fixup usage 6875d2425be8 x86/msr: Remove .fixup usage f637fbc7bda6 x86/extable: Extend extable functionality 4bbc9a07e050 x86/entry_32: Remove .fixup usage e89d805e77f2 bitfield.h: Fix "type of reg too small for mask" test a86201c3ae79 x86/extable: Provide EX_TYPE_DEFAULT_MCE_SAFE and EX_TYPE_FAULT_MCE_SAFE 3461326e1a9e x86/extable: Rework the exception table mechanics ad2d98ea72d2 x86/mce: Deduplicate exception handling 3e6392ba3dce x86/extable: Get rid of redundant macros d3135da29e1a x86/extable: Tidy up redundant handler functions 823424905d03 x86/uaccess: Implement macros for CMPXCHG on user addresses 1062cfb47e56 dlm: fix pending remove if msg allocation fails 765f802e0d25 x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts 46d5575df8a1 sched/deadline: Fix BUG_ON condition for deboosted tasks bc1fb3c53afd bpf: Make sure mac_header was set before using it 8c5429a04ccd mm/mempolicy: fix uninit-value in mpol_rebind_policy() e91665fbbf3c KVM: Don't null dereference ops->destroy 58466e053900 spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers cd9f96aa8f57 KVM: selftests: Fix target thread to be migrated in rseq_test e129e5486b98 gpio: gpio-xilinx: Fix integer overflow ce3731c61589 tcp: Fix data-races around sysctl_tcp_max_reordering. 84cee470f77c tcp: Fix a data-race around sysctl_tcp_abort_on_overflow. 46d05dab1b4f tcp: Fix a data-race around sysctl_tcp_rfc1337. d46d55e3f9f8 tcp: Fix a data-race around sysctl_tcp_stdurg. 1a1aedbb7605 tcp: Fix a data-race around sysctl_tcp_retrans_collapse. 41aeba4506f6 tcp: Fix data-races around sysctl_tcp_slow_start_after_idle. 404c53ccdebd tcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts. a31e2d0cb5cf tcp: Fix data-races around sysctl_tcp_recovery. 5037ca9e4b16 tcp: Fix a data-race around sysctl_tcp_early_retrans. 329de75b9e16 tcp: Fix data-races around sysctl knobs related to SYN option. 3f2ac2d6511b udp: Fix a data-race around sysctl_udp_l3mdev_accept. 95724fe897a4 ip: Fix data-races around sysctl_ip_prot_sock. 36f5b86f309b ipv4: Fix data-races around sysctl_fib_multipath_hash_fields. 21fb844bc1dc ipv4: Fix data-races around sysctl_fib_multipath_hash_policy. b8d345db03b4 ipv4: Fix a data-race around sysctl_fib_multipath_use_neigh. 94e4b855e22b drm/imx/dcss: Add missing of_node_put() in fail path 3d13bf301e06 net: dsa: vitesse-vsc73xx: silent spi_device_id warnings 25e1d782c9c3 net: dsa: sja1105: silent spi_device_id warnings aba8ff847f4f be2net: Fix buffer overflow in be_get_module_eeprom caae64d3e91b gpio: pca953x: use the correct register address when regcache sync during init dfb4b67ff4df gpio: pca953x: use the correct range when do regmap sync 9726ed46b9b7 gpio: pca953x: only use single read/write for No AI mode e6fc5472b850 net: stmmac: remove redunctant disable xPCS EEE call 16f929a5e76f ixgbe: Add locking to prevent panic when setting sriov_numvfs to zero 893ea2b35bb9 i40e: Fix erroneous adapter reinitialization during recovery process fad55088ad73 pinctrl: armada-37xx: use raw spinlocks for regmap to avoid invalid wait context 9d674108fe76 pinctrl: armada-37xx: Convert to use dev_err_probe() 47c9f6bfc234 pinctrl: armada-37xx: Make use of the devm_platform_ioremap_resource() 2cbb16513176 pinctrl: armada-37xx: Use temporary variable for struct device 2918419c0608 iavf: Fix handling of dummy receive descriptors a77a75a0e7f3 tcp: Fix data-races around sysctl_tcp_fastopen_blackhole_timeout. 539d9ab79eba tcp: Fix data-races around sysctl_tcp_fastopen. 3ae85dc62a02 tcp: Fix data-races around sysctl_max_syn_backlog. 58d5ea71aaa6 tcp: Fix a data-race around sysctl_tcp_tw_reuse. 80d4d0c46167 tcp: Fix a data-race around sysctl_tcp_notsent_lowat. e816f8024617 tcp: Fix data-races around some timeout sysctl knobs. f6ce6556958c tcp: Fix data-races around sysctl_tcp_reordering. fcf6c6d8aeff tcp: Fix data-races around sysctl_tcp_migrate_req. 10a9ba97a404 tcp: Fix data-races around sysctl_tcp_syncookies. 78522951d718 tcp: Fix data-races around sysctl_tcp_syn(ack)?_retries. 906beda70c2f tcp: Fix data-races around keepalive sysctl knobs. 849450279dfc igmp: Fix data-races around sysctl_igmp_max_msf. 2a408a4f423e igmp: Fix a data-race around sysctl_igmp_max_memberships. 260446eb8e55 igmp: Fix data-races around sysctl_igmp_llm_reports. 2e8c8309329d net/tls: Fix race in TLS device down flow 7c687a893f5c net: stmmac: fix dma queue left shift overflow issue 34e98fce9a9b perf tests: Fix Convert perf time to TSC test for hybrid 196c21deb08a i2c: cadence: Change large transfer count reset logic to be unconditional 66b73ef38d80 i2c: mlxcpld: Fix register setting for 400KHz frequency b8e68fce6f0e net: ipv4: use kfree_skb_reason() in ip_rcv_finish_core() ad5a78ed1356 net: ipv4: use kfree_skb_reason() in ip_rcv_core() 82cda9918473 net: netfilter: use kfree_drop_reason() for NF_DROP f3ed670ef850 net: skb_drop_reason: add document for drop reasons 8ac90de3d137 net: socket: rename SKB_DROP_REASON_SOCKET_FILTER b7adefdae236 net: skb: use kfree_skb_reason() in __udp4_lib_rcv() 1629144da383 net: skb: use kfree_skb_reason() in tcp_v4_rcv() 5158e18225c0 net: skb: introduce kfree_skb_reason() 88ec2ff42da3 net: dsa: microchip: ksz_common: Fix refcount leak bug 212a5360ef40 mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times 0156b402a5be mtd: rawnand: gpmi: validate controller clock rate f53c6ee5e7eb net: stmmac: fix unbalanced ptp clock issue in suspend/resume flow f784d232565b net: stmmac: fix pm runtime issue in stmmac_dvr_remove() e6b6f027e285 tcp: Fix a data-race around sysctl_tcp_probe_interval. f524c3e7f6cd tcp: Fix a data-race around sysctl_tcp_probe_threshold. cc36c37f5fe0 tcp: Fix a data-race around sysctl_tcp_mtu_probe_floor. 0fc9357282df tcp: Fix data-races around sysctl_tcp_min_snd_mss. 4d7dea651b7f tcp: Fix data-races around sysctl_tcp_base_mss. aabe9438fdfe tcp: Fix data-races around sysctl_tcp_mtu_probing. 9ba9cd43b577 tcp: Fix data-races around sysctl_tcp_l3mdev_accept. b8e29f644583 tcp: sk->sk_bound_dev_if once in inet_request_bound_dev_if() bf3134feffe6 tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept. dccf8a67f30e ip: Fix a data-race around sysctl_fwmark_reflect. 87ceaa199a72 ip: Fix a data-race around sysctl_ip_autobind_reuse. 4fdf9bdb2883 ip: Fix data-races around sysctl_ip_nonlocal_bind. 351f81f7d718 ip: Fix data-races around sysctl_ip_fwd_update_priority. 93fbc06da1d8 ip: Fix data-races around sysctl_ip_fwd_use_pmtu. 01083e3f9868 ip: Fix data-races around sysctl_ip_no_pmtu_disc. e75b73081f1e igc: Reinstate IGC_REMOVED logic and implement it properly a4f7a9fbe24b Revert "e1000e: Fix possible HW unit hang after an s0ix exit" 63aa107bce83 e1000e: Enable GPT clock before sending message to CSME 98d81b2b154d nvme: fix block device naming collision 321abf90c576 nvme: check for duplicate identifiers earlier dbedad96f416 scsi: ufs: core: Drop loglevel of WriteBoost message 04ae8518745c scsi: megaraid: Clear READ queue map's nr_queues c7720f23bb93 drm/amd/display: Ignore First MST Sideband Message Return Error 8bae037b0fb4 drm/amdgpu/display: add quirk handling for stutter mode e980e1d978e0 drm/amd/display: Fork thread to offload work of hpd_rx_irq 54740bc4b182 drm/amd/display: Add option to defer works of hpd_rx_irq 734d5ce02cb0 drm/amd/display: Support for DMUB HPD interrupt handling d1e0bbe08171 tcp: Fix data-races around sysctl_tcp_ecn. 9cb4959493cd sysctl: move some boundary constants from sysctl.c to sysctl_vals e2b6c5f7ee95 mm/pagealloc: sysctl: change watermark_scale_factor max limit to 30% d2dba226acb9 net: tun: split run_ebpf_filter() and pskb_trim() into different "if statement" f52af853be7a ipv4/tcp: do not use per netns ctl sockets da3c256e2d0e perf/core: Fix data race between perf_event_set_output() and perf_mmap_close() 44016a85419c pinctrl: ralink: Check for null return of devm_kcalloc e4e3187750f8 pinctrl: ralink: rename pinctrl-rt2880 to pinctrl-ralink d40def7cd05c pinctrl: ralink: rename MT7628(an) functions to MT76X8 a4c5115140ed RDMA/irdma: Fix sleep from invalid context BUG 03fd151bdff0 RDMA/irdma: Do not advertise 1GB page size for x722 71ab83ac65e2 power/reset: arm-versatile: Fix refcount leak in versatile_reboot_probe c8e32bca0676 xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup() 1d3eeb199970 ip: Fix data-races around sysctl_ip_default_ttl. 6bf450d92d0c r8152: fix a WOL issue 44addae95ed7 xfs: prevent a WARN_ONCE() in xfs_ioc_attr_list() 1da0b50ea071 xfs: fix perag reference leak on iteration race with growfs 768bfde1cf3e xfs: terminate perag iteration reliably on agcount 2991d51b42a3 xfs: rename the next_agno perag iteration variable 4d6f22f6cc58 xfs: fold perag loop iteration logic into helper function 67cb74213a52 xfs: fix maxlevels comparisons in the btree staging code cf719adb6fa9 mt76: mt7921: Fix the error handling path of mt7921_pci_probe() 22b910a7a378 mt76: mt7921e: fix possible probe failure after reboot c3bcf1f959f6 mt76: mt7921: use physical addr to unify register access 191c16f921ad Revert "mt76: mt7921e: fix possible probe failure after reboot" 4666a6eb390c Revert "mt76: mt7921: Fix the error handling path of mt7921_pci_probe()" 0cac1c84e1cc batman-adv: Use netif_rx_any_context() any. be56f007c414 serial: mvebu-uart: correctly report configured baudrate value 92dcb50f7f09 PCI: hv: Fix interrupt mapping for multi-MSI 2b77425d0ae4 PCI: hv: Reuse existing IRTE allocation in compose_msi_msg() 35d24b115a40 PCI: hv: Fix hv_arch_irq_unmask() for multi-MSI 5c676a214d63 PCI: hv: Fix multi-MSI to allow more than one MSI vector 0791309aa0eb Revert "selftest/vm: verify mmap addr in mremap_test" cfd3a9be0ac4 Revert "selftest/vm: verify remap destination address in mremap_test" d7c4f9b8ed62 bus: mhi: host: pci_generic: add Telit FN990 38b7bbe0ef1d bus: mhi: host: pci_generic: add Telit FN980 v1 hardware revision 60e536b0a564 drm/ttm: fix locking in vmap/vunmap TTM GEM helpers 0e66932a9dc9 lockdown: Fix kexec lockdown bypass with ima policy 25ba5b824a72 mlxsw: spectrum_router: Fix IPv4 nexthop gateway indication 73846553bcde riscv: add as-options for modules with assembly compontents aff42cea285f pinctrl: stm32: fix optional IRQ support to gpios a9e2d8e52e1c Linux 5.15.57 b4296a7b863f x86: Use -mindirect-branch-cs-prefix for RETPOLINE builds 06741ef8e7cc um: Add missing apply_returns() 320fc994f0c8 x86/bugs: Remove apostrophe typo ac8edadc2b1e tools headers cpufeatures: Sync with the kernel sources 1dd6c13b437c tools arch x86: Sync the msr-index.h copy with the kernel sources 5f4e77cc9abf KVM: emulate: do not adjust size of fastop and setcc subroutines 198685e58b13 x86/kvm: fix FASTOP_SIZE when return thunks are enabled 554cf28b104d efi/x86: use naked RET on mixed mode call wrapper d0caa861a836 x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current 67040d1d922b x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit 96907c5d3927 x86/xen: Fix initialisation in hypercall_page after rethunk 86ccf19a91be x86/static_call: Serialize __static_call_fixup() properly 73ad137d1146 x86/speculation: Disable RRSBA behavior db0128b8243f x86/kexec: Disable RET on kexec 3653093b7bbf x86/bugs: Do not enable IBPB-on-entry when IBPB is not supported 925340f99bdf x86/entry: Move PUSH_AND_CLEAR_REGS() back into error_entry 2f8967e22322 x86/bugs: Add Cannon lake to RETBleed affected CPU list cc3011cdbe5f x86/retbleed: Add fine grained Kconfig knobs 12a13570054f x86/cpu/amd: Enumerate BTC_NO d7a5c08b46b6 x86/common: Stamp out the stepping madness 8d5cff499a6d x86/speculation: Fill RSB on vmexit for IBRS 4207d7b645b8 KVM: VMX: Fix IBRS handling after vmexit 0cbd5905c8f3 KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS 5fde25284dfe KVM: VMX: Convert launched argument to flags 852fe53040b9 KVM: VMX: Flatten __vmx_vcpu_run() c590fa2d2dac objtool: Re-add UNWIND_HINT_{SAVE_RESTORE} 66b37dccbc25 x86/speculation: Remove x86_spec_ctrl_mask b55663e7521f x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit 2069bd0e6f5b x86/speculation: Fix SPEC_CTRL write on SMT state change e898e28762f8 x86/speculation: Fix firmware entry SPEC_CTRL handling d427c1f83e8c x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n 75d4fc2e965f x86/cpu/amd: Add Spectral Chicken dab72c3c32cc objtool: Add entry UNRET validation 469d9b157017 x86/bugs: Do IBPB fallback check only once fd17a4254965 x86/bugs: Add retbleed=ibpb 8894f699f187 x86/xen: Add UNTRAIN_RET 87e6270183a4 x86/xen: Rename SYS* entry points e894b7817e08 objtool: Update Retpoline validation a1d912d7ac04 intel_idle: Disable IBRS during long idle e51769df6228 x86/bugs: Report Intel retbleed vulnerability b9349805e653 x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation() 347d0bf6b0c0 x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS e03415eeba78 x86/bugs: Optimize SPEC_CTRL MSR writes 62b4db57eefe x86/entry: Add kernel IBRS implementation fac1b0007cec x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value b4e05ea71eda x86/bugs: Enable STIBP for JMP2RET 89eba42632fc x86/bugs: Add AMD retbleed= boot parameter 82e92fe936db x86/bugs: Report AMD retbleed vulnerability a9c0926fc754 x86: Add magic AMD return-thunk 07f5c5e36236 objtool: Treat .text.__x86.* as noinstr 1f068f9da743 x86/entry: Avoid very early RET 1d61a2988612 x86: Use return-thunk in asm code 6c45176bc2ae x86/sev: Avoid using __x86_return_thunk f3d9f990586c x86/vsyscall_emu/64: Don't use RET in vsyscall emulation 5b43965d58ef x86/kvm: Fix SETcc emulation for return thunks 0bfe8be824aa x86/bpf: Use alternative RET encoding e54fcb0812fa x86/ftrace: Use alternative RET encoding c1c80aabc7b9 x86,static_call: Use alternative RET encoding b0fb9784cf80 objtool: skip non-text sections when adding return-thunk sites 1920e4be8a97 x86,objtool: Create .return_sites 7bf553d9eebd x86: Undo return-thunk damage 023a2b07d5c3 x86/retpoline: Use -mfunction-return bb81f3ac69f8 x86/retpoline: Swizzle retpoline thunk 545b45c36a2f x86/retpoline: Cleanup some #ifdefery eee4f31fa2eb x86/cpufeatures: Move RETPOLINE flags to word 11 ccb25d7db1a2 x86/kvm/vmx: Make noinstr clean 2cd972ae337f x86/realmode: build with -D__DISABLE_EXPORTS 6834878ace6e x86/entry: Remove skip_r11rcx 40265bcd1bd3 objtool: Default ignore INT3 for unreachable 32b2cd6060e7 bpf,x86: Respect X86_FEATURE_RETPOLINE* 74b5a9f8edfe bpf,x86: Simplify computing label offsets 1c2e7b40752a x86/alternative: Add debug prints to apply_retpolines() b93a0a740bca x86/alternative: Try inline spectre_v2=retpoline,amd a40925e2efd8 x86/alternative: Handle Jcc __x86_indirect_thunk_\reg 86900f95fb06 x86/alternative: Implement .retpoline_sites support 936c8fcb4995 x86/retpoline: Create a retpoline thunk array 90ca76c83044 x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h 6a6fcb256301 x86/asm: Fixup odd GEN-for-each-reg.h usage 71e578e1bd74 x86/asm: Fix register order 18576e45b12a x86/retpoline: Remove unused replacement symbols 655d4097039c objtool: Introduce CFI hash 503882b5aeb6 objtool,x86: Replace alternatives with .retpoline_sites cad0e43a8c30 objtool: Shrink struct instruction c9fd00d8e622 objtool: Explicitly avoid self modifying code in .altinstr_replacement 29e6b52efca1 objtool: Classify symbols 1fd333eb3377 x86/entry: Don't call error_entry() for XENPV cac414684be9 x86/entry: Move PUSH_AND_CLEAR_REGS out of error_entry() 19ac6c99a17e x86/entry: Switch the stack after error_entry() returns 01bc8bd64c19 x86/traps: Use pt_regs directly in fixup_bad_iret() 760adb59f621 Linux 5.15.56 31f351eb534e drm/aperture: Run fbdev removal before internal helpers eac7fd3ca397 x86/pat: Fix x86_has_pat_wp() 190ce5cdc55d serial: 8250: Fix PM usage_count for console handover 2db3b95166f7 serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle 8ef116a2a738 serial: stm32: Clear prev values before setting RTS delays 10b27fa2d67c serial: 8250: fix return error code in serial8250_request_std_resource() 57964a571025 vt: fix memory overlapping when deleting chars in the buffer 8b07c2998720 tty: serial: samsung_tty: set dma burst_size to 1 3cb692555a0b usb: dwc3: gadget: Fix event pending check ea42ef3ef678 usb: typec: add missing uevent when partner support PD aa96257867c0 USB: serial: ftdi_sio: add Belimo device ids ec0c62a23c50 signal handling: don't use BUG_ON() for debugging c01793517d8d nvme-pci: phison e16 has bogus namespace ids 15ef4d686a58 ALSA: usb-audio: Add quirk for Fiero SC-01 (fw v1.0.0) df982f9d094d ALSA: usb-audio: Add quirk for Fiero SC-01 9d90a21f0cb7 ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devices 2483ba7afa59 Revert "can: xilinx_can: Limit CANFD brp to 2" bd87cf2ed609 ARM: dts: stm32: use the correct clock source for CEC on stm32mp151 c0cba036bfe8 soc: ixp4xx/npe: Fix unused match warning 26bb7afc027c x86: Clear .brk area at early boot ee1da3d59674 irqchip: or1k-pic: Undefine mask_ack for level triggered hardware 9c9869c308a3 ASoC: madera: Fix event generation for rate controls 66cc34f2e493 ASoC: madera: Fix event generation for OUT1 demux 74ead64cbf0d ASoC: cs47l15: Fix event generation for low power mux control ab2f5e5f3ce1 ASoC: dapm: Initialise kcontrol data for mux/demux controls 269be8b29073 ASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error 44975751bef0 ASoC: wm5110: Fix DRE control bc9067062600 ASoC: Intel: bytcr_wm5102: Fix GPIO related probe-ordering problem dd70da2a5816 ASoC: wcd938x: Fix event generation for some controls 05708fb473ce ASoC: SOF: Intel: hda-loader: Clarify the cl_dsp_init() flow e71d0e1370b1 ASoC: codecs: rt700/rt711/rt711-sdca: initialize workqueues in probe 07a606e1389a ASoC: rt7*-sdw: harden jack_detect_handler b054614dd3fd ASoC: rt711: fix calibrate mutex initialization f2556ce6b35a ASoC: Intel: sof_sdw: handle errors on card registration 42664a97f2b5 ASoC: rt711-sdca-sdw: fix calibrate mutex initialization 4e81b38d9426 ASoC: Realtek/Maxim SoundWire codecs: disable pm_runtime on remove 3cb392b64304 pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux() 0c6c7d57ed00 ASoC: ops: Fix off by one in range control validation 204543581a2f net: sfp: fix memory leak in sfp_probe() 7a2294c5f2e5 nvme: fix regression when disconnect a recovering ctrl 1e4427aa2fc8 nvme-tcp: always fail a request when sending it failed 8ab067462e09 NFC: nxp-nci: don't print header length mismatch on i2c error 833ecd0eae76 net: tipc: fix possible refcount leak in tipc_sk_create() 13d28e0c79cb fbdev: Disable sysfb device registration when removing conflicting FBs b952569e0316 firmware: sysfb: Add sysfb_disable() helper function 2ef4c6d66f7d firmware: sysfb: Make sysfb_create_simplefb() return a pdev pointer f57c76104c74 platform/x86: hp-wmi: Ignore Sanitization Mode event 57289b6601fe cpufreq: pmac32-cpufreq: Fix refcount leak bug 06f818de1621 scsi: hisi_sas: Limit max hw sectors for v3 HW 03a400a64050 netfilter: br_netfilter: do not skip all hooks with 0 priority bf5307924563 virtio_mmio: Restore guest page size on resume 26d824d1316f virtio_mmio: Add missing PM calls to freeze/restore 65d7a723fdda vduse: Tie vduse mgmtdev and its device b34dbeb2b0ec vdpa/mlx5: Initialize CVQ vringh only once 10f2cd373e65 powerpc/xive/spapr: correct bitmap allocation size 4e69750549b8 ksmbd: use SOCK_NONBLOCK type for kernel_accept() d300ced12889 btrfs: zoned: fix a leaked bioc in read_zone_info d2faf8ed1dc2 btrfs: rename btrfs_bio to btrfs_io_context a06248fa62ef mm: sysctl: fix missing numa_stat when !CONFIG_HUGETLB_PAGE 204d12228697 ACPI: video: Fix acpi_video_handles_brightness_key_presses() 724ec407f997 net/tls: Check for errors in tls_device_init a0706d7c1429 KVM: x86: Fully initialize 'struct kvm_lapic_irq' in kvm_pv_kick_cpu_op() 58c90993933e net: atlantic: remove aq_nic_deinit() when resume 9b1cb795a7ab net: atlantic: remove deep parameter on suspend/resume functions 68e5f32f0de9 sfc: fix kernel panic when creating VF 2d84fcb6e6f7 seg6: bpf: fix skb checksum in bpf_push_seg6_encap() 15e8b6274c49 seg6: fix skb checksum in SRv6 End.B6 and End.B6.Encaps behaviors 859081fb60e6 seg6: fix skb checksum evaluation in SRH encapsulation/insertion 5464c8987ddf ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host 58d93e9d160c sfc: fix use after free when disabling sriov 8c37e7a2000d drm/amd/pm: Prevent divide by zero cded1186f7e9 drm/amd/display: Only use depth 36 bpp linebuffers on DCN display engines. 601ae26aa280 ima: Fix potential memory leak in ima_init_crypto() 2340428c90d4 ima: force signature verification when CONFIG_KEXEC_SIG is configured f4bd3202a2b4 net: stmmac: fix leaks in probe 4225a78eb4d7 net: ftgmac100: Hold reference returned by of_get_child_by_name() 0d17723afea3 nexthop: Fix data-races around nexthop_compat_mode. 6b26fb2fe227 ipv4: Fix data-races around sysctl_ip_dynaddr. 8bcf7339f2cf tcp: Fix a data-race around sysctl_tcp_ecn_fallback. 46e9c46203fd raw: Fix a data-race around sysctl_raw_l3mdev_accept. 8d7a13654a98 icmp: Fix a data-race around sysctl_icmp_ratemask. 7c1b6e453481 icmp: Fix a data-race around sysctl_icmp_ratelimit. de9490c32bc1 icmp: Fix a data-race around sysctl_icmp_errors_use_inbound_ifaddr. 44021c2929cf icmp: Fix a data-race around sysctl_icmp_ignore_bogus_error_responses. cce955efa0ab icmp: Fix data-races around sysctl_icmp_echo_enable_probe. a716a3846c5f sysctl: Fix data-races in proc_dointvec_ms_jiffies(). e58b02e44546 sysctl: Fix data-races in proc_dou8vec_minmax(). 3852f048be60 bnxt_en: Fix bnxt_refclk_read() 0260a9aa5d5c bnxt_en: Fix bnxt_reinit_after_abort() code path a6cecaf058c4 drm/i915: Require the vm mutex for i915_vma_bind() 60d1bb301ea5 drm/i915/uc: correctly track uc_fw init failure 86062ca5edf1 drm/i915/gt: Serialize TLB invalidates with GT resets 0ee5874dad61 drm/i915/gt: Serialize GRDOM access between multiple engine resets f8ba02531476 drm/i915/dg2: Add Wa_22011100796 40c12fc52023 drm/i915/selftests: fix a couple IS_ERR() vs NULL tests af515a633942 tracing: Fix sleeping while atomic in kdb ftdump 62a6a708f392 lockd: fix nlm_close_files 9c3eef773cf4 lockd: set fl_owner when unlocking files 1e92426e2b3a xen/gntdev: Ignore failure to unmap INVALID_GRANT_HANDLE f6e3ced9c60f drm/i915/gvt: IS_ERR() vs NULL bug in intel_gvt_update_reg_whitelist() 5a4bb158f4c6 netfilter: nf_tables: replace BUG_ON by element length check b97aa619a3cb netfilter: nf_log: incorrect offset to network header dc2ec80bc949 arm64: dts: broadcom: bcm4908: Fix cpu node for smp boot 1d49665a93b1 arm64: dts: broadcom: bcm4908: Fix timer node for BCM4906 SoC f0ccff1c89ba ARM: dts: sunxi: Fix SPI NOR campatible on Orange Pi Zero c0dd77cede0a ARM: dts: at91: sama5d2: Fix typo in i2s1 node 9be8aac91960 ipv4: Fix a data-race around sysctl_fib_sync_mem. e2828e8c6058 icmp: Fix data-races around sysctl. 07b0caf8aeb9 cipso: Fix data-races around sysctl. a5796154b56f net: Fix data-races around sysctl_mem. 82d07170290d inetpeer: Fix data-races around sysctl. 2dfff4b607c4 tcp: Fix a data-race around sysctl_tcp_max_orphans. 67623d290d45 sysctl: Fix data races in proc_dointvec_jiffies(). dcdf3c3c587a sysctl: Fix data races in proc_doulongvec_minmax(). 40e0477a7371 sysctl: Fix data races in proc_douintvec_minmax(). 32d7f8da8244 sysctl: Fix data races in proc_dointvec_minmax(). d335db59f7fb sysctl: Fix data races in proc_douintvec(). 279bf2a909e6 sysctl: Fix data races in proc_dointvec(). ad3014b0f6b2 net: ethernet: ti: am65-cpsw: Fix devlink port register sequence d5c315a78765 net: stmmac: dwc-qos: Disable split header for Tegra194 750a5e2e5368 ASoC: Intel: Skylake: Correct the handling of fmt_config flexible array 0d083ea282e5 ASoC: Intel: Skylake: Correct the ssp rate discovery in skl_get_ssp_clks() dfe3ce23217c ASoC: tas2764: Fix amp gain register offset & default a92e7564c540 ASoC: tas2764: Correct playback volume range 1230d3e4b884 ASoC: tas2764: Fix and extend FSYNC polarity handling 7dc0ae04c04e ASoC: tas2764: Add post reset delays 9b9773cc55d8 ASoC: sgtl5000: Fix noise on shutdown/remove c8d5d8194093 ima: Fix a potential integer overflow in ima_appraise_measurement 505114dda5bb drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector() c6e1c5c0c19d net/mlx5e: Ring the TX doorbell on DMA errors 663a06e96203 net/mlx5e: Fix capability check for updating vnic env counters 3a5e734ec002 net/mlx5e: Fix enabling sriov while tc nic rules are offloaded 5adcc5ded58a net/mlx5e: kTLS, Fix build time constant test in RX 2ee2ef846fa3 net/mlx5e: kTLS, Fix build time constant test in TX ba27a912f99e ARM: 9210/1: Mark the FDT_FIXED sections as shareable 443838e6ff0f ARM: 9209/1: Spectre-BHB: avoid pr_info() every time a CPU comes out of idle 2bcb2e42a500 spi: amd: Limit max transfer and message size 28ad09b0d7b1 ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count 3bbe6437c1d5 reset: Fix devm bulk optional exclusive control getter d8124f111b67 xfs: drop async cache flushes from CIL commits. d4dab8b405c6 xfs: run callbacks before waking waiters in xlog_state_shutdown_callbacks 88beb994eae1 xfs: don't include bnobt blocks when reserving free block pool ea22fcd0324d xfs: only run COW extent recovery when there are no live extents fb593531571c Revert "evm: Fix memleak in init_desc" d69f9ff4c8ab sh: convert nommu io{re,un}map() to static inline functions bb676a80c6eb nilfs2: fix incorrect masking of permission flags for symlinks ca58387e7ad1 fs/remap: constrain dedupe of EOF blocks 1807d8867402 drm/panfrost: Fix shrinker list corruption by madvise IOCTL fbe7451a3ada drm/panfrost: Put mapping instead of shmem obj on panfrost_mmu_map_fault_addr() error 531a140e269d btrfs: return -EAGAIN for NOWAIT dio reads/writes on compressed and inline extents 54aee4e5ce8c cgroup: Use separate src/dst nodes when preloading css_sets for migration 5a9df3101799 wifi: mac80211: fix queue selection for mesh/OCB interfaces 2a098504d7a0 ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction a4f5e3a22fbd ARM: 9213/1: Print message about disabled Spectre workarounds only once 6f497564bf6a ip: fix dflt addr selection for connected nexthop 1eb4bea3af81 net: sock: tracing: Fix sock_exceed_buf_limit not to dereference stale pointer 22eeff55679d tracing/histograms: Fix memory leak problem e4967d22882b mm: split huge PUD on wp_huge_pud fallback 27056f20d753 mm: userfaultfd: fix UFFDIO_CONTINUE on fallocated shmem pages b856e5738b1c fix race between exit_itimers() and /proc/pid/timers b99174ac57fe xen/netback: avoid entering xenvif_rx_next_skb() with an empty rx queue 9d3243d774f5 ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop cd2731b3efe8 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221 dd9746cf6da3 ALSA: hda/realtek: fix mute/micmute LEDs for HP machines 7d0c5005c580 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671 32fad77c4cd2 ALSA: hda/realtek: Fix headset mic for Acer SF313-51 6744faa1d810 ALSA: hda/conexant: Apply quirk for another HP ProDesk 600 G3 model d60bb64d3263 ALSA: hda - Add fixup for Dell Latitidue E5430 baefa2315cb1 Linux 5.15.55 c80b15105a08 Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting" Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust: Update READMERichard Purdie
Update the README to match the current status and remove unclear/obsolete information and fix formatting. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust: Ensure buildpaths are handled in debug symbols correctlyRichard Purdie
To ensure buildpaths aren't encoded in the debug symbol output, ensure we pass our prefix remapping compiler options in. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust: Fix musl buildsRichard Purdie
Musl targets need a sysroot set to find the musl static libraries. Set this appropriately in musl builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust: Enable nativesdk and target builds + replace rust-tools-cross-canadianRichard Purdie
Enable rust target builds as well as nativesdk-rust for the sdk. Merge the builds of rust-tools components into the rust build, packaged separately since this is a lot more efficient and saves rebuilding core rust multiple times. The tools are not target specific so nativesdk-rust-tools suffices and we can drop the cross canadian piece. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust: Drop cross/crosssdkRichard Purdie
Now that target config json is provided by rust-target-config.bbclass, the need for the cross and crosssdk recipes is removed. Drop them and simplify dependencies accordingly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust-cross-canadian: Simplify and fixRichard Purdie
Since a copy of rust can target any target and doesn't need to be target specific, we can simplify rust-cross-canadian to simply contain the json configuration and envirionment setup scripts. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust-common: Set rustlibdir to match target expectationRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08cargo: Drop cross-canadian variant and fix/use nativesdkRichard Purdie
The cargo-cross-candian variant made no sense as one version of cargo in the SDK can work for all targets. Replace it with nativesdk-cargo instead. Move the SDK env to rust-cross-canadian. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust-common: Simplify libc handlingRichard Purdie
The current libc handling code is simply wrong in many cases. Simplify it to a check of the triplet for musl handling which is much simpler and less error prone when handling things like nativesdk targets. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust-target-config: Make target workaround genericRichard Purdie
Ensure the 'target' data is set for both HOST and TARGET queries as appropriate to work correctly in cross configurations. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust-common: Update to match cross targetsRichard Purdie
Tweak the armv7 workaround to work for cross environments and as a host triplet and not just as a target. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust.inc: Fix for cross compilation configurationRichard Purdie
For cross compilation, build, host and target may be different. Ensure the main rust config has the appropriate sections added to match the configurations. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08rust-llvm: Enable nativesdk variantRichard Purdie
To allow nativesdk variants of the tools to build, enable a nativesdk variant of rust-llvm. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08cargo_common: Handle build SYS as well as HOST/TARGETRichard Purdie
Improve the common class to handle BUILD_SYS as well as host and target, removing the need to a workaround in the rust recipe. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>