summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2021-07-10glib-2.0: Fix signature of close_rangeKhem Raj
glibc 2.34 provides this function which exposes a latest issue w.r.t. function parameters Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09pulseaudio: Drop pulseaudio-confMarek Vasut
The pulseaudio.inc currently contains these two assignments: FILES_${PN}-conf = "${sysconfdir}" FILES_${PN}-server = "... ${sysconfdir} ..." This results in pulseaudio-server shipping the configuration in /etc/pulse/ , and based on CONFFILES_${PN}-server and co., this is how it was intended to work. However, that also means FILES_${PN}-conf is not useful. In fact, FILES_${PN}-conf is likely meant for MACHINE specific configuration, which would better be packaged in separate recipe like e.g. systemd does in systemd-conf_%.bb . Better yet, such pulseaudio-conf_%.bb could ship MACHINE specific configuration overrides, which according to pulse-daemon.conf(5) are picked from /etc/pulse/daemon.conf.d , while pulseaudio-server would ship the default configuration files. Remove FILES_${PN}-conf . Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tanu Kaskinen <tanuk@iki.fi> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-07-09boost-build-native: workaround one rarely hang problem on fedora34Changqing Li
Reproduce scenes: * On fedora34 * autofs.service is started * test is nis user, which mounted at /nis by autofs * under /nis/test, there are symlinks point to another nis mount point /nis/yan Result: task boost-build-native:do_install hang forever NOTE: recipe ovmf-edk2-stable202102-r0: task do_package_write_rpm: Succeeded NOTE: Running noexec task 8124 of 8152 (/layers/oe-core/meta/recipes-core/ovmf/ovmf_git.bb:do_build) Bitbake still alive (5000s) Bitbake still alive (10000s) Bitbake still alive (15000s) Bitbake still alive (20000s) Bitbake still alive (25000s) Bitbake still alive (30000s) Bitbake still alive (35000s) Bitbake still alive (40000s) Bitbake still alive (45000s) Bitbake still alive (50000s) $ps aux | grep b2 test 2773444 0.0 0.0 13532 2748 ? D Jul01 0:00 ./b2 install --prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr staging-prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/image/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr $ sudo cat /proc/2773444/stack [<0>] autofs_wait+0x257/0x720 [<0>] autofs_mount_wait+0x49/0xf0 [<0>] autofs_d_manage+0x76/0x1a0 [<0>] __traverse_mounts+0xd9/0x220 [<0>] step_into+0x3ad/0x6d0 [<0>] walk_component+0x62/0x190 [<0>] link_path_walk.part.0.constprop.0+0x20d/0x350 [<0>] path_lookupat+0x3a/0x1b0 [<0>] filename_lookup+0x9b/0x180 [<0>] vfs_statx+0x64/0x100 [<0>] __do_sys_newfstatat+0x1e/0x40 [<0>] do_syscall_64+0x33/0x40 [<0>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 $ dmesg [1559743.424610] autofs4:pid:2773444:autofs_mount_wait: waiting for mount name=yan [1559743.424621] autofs4:pid:2773444:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1 [1560001.400440] autofs4:pid:2774530:autofs_mount_wait: waiting for mount name=yan [1560001.400452] autofs4:pid:2774530:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1 [1560022.493282] autofs4:pid:2774537:autofs_mount_wait: waiting for mount name=yan [1560022.493292] autofs4:pid:2774537:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1 [1560122.076589] autofs4:pid:3979116:autofs_mount_wait: mount wait done status=-4 [1560162.222374] autofs4:pid:2774530:autofs_mount_wait: mount wait done status=-4 [1560167.116188] autofs4:pid:2774537:autofs_mount_wait: mount wait done status=-4 [1560188.140532] autofs4:pid:2774671:autofs_mount_wait: waiting for mount name=yan [1560188.140540] autofs4:pid:2774671:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1 [1560189.651905] autofs4:pid:2774671:autofs_mount_wait: mount wait done status=-4 Analyzation: b2 will walk the HOME dir, when access the symlink point to /nis/yan, autofs hang at autofs_wait. the process stay at D stat forever. This maybe caused by abnormal status of autofs.service. The problem cannot reproduce after restart autofs.service. There should be an autofs bug. and there is an autofs hang problem bug on fedora34 on it's bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1953390 Workaround: Since b2 don't actually write something to HOME dir, change HOME dir to /var/run, a dir not mounted by autofs. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-07-09python3-pathlib2: upgrade 2.3.5 -> 2.3.6zhengruoqin
License-Update: file format changed from "ASCII text" to "ASCII text, with CRLF line terminators" Version 2.3.6 ^^^^^^^^^^^^^ - Fix minor unicode bugs in with_name and with_suffix. Many thanks to ppentchev for reporting and for providing a fix. - Fix a few minor bugs. - Allow unicode file paths on systems that support it (note: unicode file paths will not work on Windows due a broken filesystem encoder on Windows on Python 2). - Remove travis and add github actions for regression testing. - Fix mypy warnings. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-07-08u-boot: upgrade 2021.04 -> 2021.07wangmy
(Changes of v2021.07) Processed 1730 csets from 187 developers 29 employers found A total of 402449 lines added, 82710 removed (delta 319739) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2021-07-08license: Drop adding RRECOMMENDS for license packagesRichard Purdie
This changes behaviour when LICENSE_CREATE_PACKAGE is in use. Packages no longer have RRECOMMENDS adding to them. It was highlighted that this doesn't apply to PACKAGES_DYNAMIC, nor can it easily be made to do so. There is also a much easier way to handle this which is: IMAGE_INSTALL_COMPLEMENTARY += "*-lic" which works on a per image basis and doesn't change the underlying package dependencies. I propose we switch to this instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08oeqa/selftest/recipetool: update socat version to fix failing downloadRoss Burton
If the recipetool tests are run with an empty DL_DIR the fetch of socat 1.7.3.0 fails as that URL doesn't exist anymore. Update the version to 1.7.4.1 to fix the test. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08python3-importlib-metadata: upgrade 4.6.0 -> 4.6.1wangmy
v4.6.1 ====== * #327: Deprecation warnings now honor call stack variance on PyPy. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08gnome-desktop-testing: upgrade 2018.1 -> 2021.1wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08vulkan-tools: upgrade 1.2.176 -> 1.2.182wangmy
build: Update to header 1.2.182 - Update known-good - Add support for printing `int64_t` in `scripts/vulkaninfo_generator.py` - Disable codegen for VK_HUAWEI_subpass_shading KhronosGroup/Vulkan-Docs#1564 - Generate source Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08vulkan-loader: upgrade 1.2.176 -> 1.2.182wangmy
build: Update to header 1.2.182 - Update known-good - Disable codegen for VK_HUAWEI_subpass_shading KhronosGroup/Vulkan-Docs#1564 - Generate source Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08vulkan-headers: upgrade 1.2.176 -> 1.2.182wangmy
Add reference to multiple Hpp headers added to this repository Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08xwayland: exclude development snapshots from upstream version checksAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08xserver-xorg: exclude development snapshots from upstream version checksAlexander Kanavin
Standalone X is still winding down; there's no commitment or plan for a proper release. https://lists.freedesktop.org/archives/xorg/2021-July/060726.html Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07glib-2.0: fix g-file-into modification time testRoss Burton
The GFileInfo modification time test assumed that the difference between a modification timestamp in seconds and in microseconds must be greater than 0. Mathmatically, there's a one-in-a-million chance that it will be 0. It turns out that one-in-a-million chances happen approximately once every fortnight on the autobuilder. [ YOCTO 14373 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07glibc-testsuite: Fix build failures when directly running recipeRichard Purdie
If you try and run the glibc-testsuite's build task, you see failures as do_populate_sysroot can't work. We don't have a do_install, get rid of do_populate_sysroot as well. The recipe is not included in world builds by default which is why we don't see the issue more widely. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07pango: upgrade 1.48.5 -> 1.48.7Andreas Müller
Overview of changes in 1.48.7 ============================= - Fix a thread-safety issue in fontmap initialization - Small documentation improvements Overview of changes in 1.48.6 ============================= - Avoid attribute index overflow - Add a new pango-segmentation utility - Documentation cleanups and fixes - Update script property data for gravity - Bring back careful glyph position rounding - Add a few missing bidi types - Add more tests Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07mesa: upgrade 21.1.3 -> 21.1.4Andreas Müller
Bug fixes * [anv] GravityMark (benchmark) crashes on ANV * [opengl] We happy few not being rendered correctly * Factorio: GPU hang when opening machine inventory * RuneScape on Mesa 21.1.1 (VEGA10) has bad performance and leaks memory * Supraland: flickering black bars on ground * radv: GPU hang in Cyberpunk 2077 on Big Navi * [amdgpu][renoir][rx5500m]: [drm:0xffffffff8198ad5e] *ERROR* ring gfx timeout, signaled seq=10952, emitted seq=10954 * [spirv-fuzz] SPIR-V parsing FAILED: Invalid back or cross-edge in the CFG * panfrost Mount and Blade: Warband (glitches) * anv: dEQP-VK.robustness.robustness2*no_fmt_qual.null_descriptor.samples* fail Changes * util/fossilize_db: Pull seek into lock. * util/fossilize_db: Split out reading the index. * util/fossilize_db: Do not lock the fossilize db permanently. * spirv: Fix handling of OpBranchConditional with same THEN and ELSE * nir/opt_if: Don’t split ALU for single block infinite loops * llvmpipe: Add handle export for resource_get_param * i965: fix regression in pipe control on g45 * pick_status.json: Update to 977355c6e5efd781dde85d834172dd23cd4852f1 * pick_status.json: Update to 40b67a292297606f0a7576e3ef4087028d5edd17 * zink: do not unmap dt-buffers twice * zink: drop repeated usage-bit * zink: do not check buffer-format for usage-bits * zink: remove unused moltenvk functions * libgl-gdi: add missing include * aux/trace: fix bool argument * ci/windows: work around meson encoding issues * intel/fs: Teach IR about EOT instruction writing the accumulator implicitly on TGL+. * intel/fs: Fix synchronization of accumulator-clearing W/A move on TGL+. * pan/mdg: Add a bundle ID to instructions * pan/mdg: Reorder some code in mir_spill_register * pan/mdg: Fill from TLS before spilling non-SSA nodes * pan/mdg: Fix reading a spilt register in the bundle it’s written * pan/mdg: Add 16 bytes of padding to the end of shaders * intel/nir: Fix txs for null surfaces * spirv: Create acceleration structure and shader record variables * nv50/ir: fix surface lowering when values get shared accross operations * anv: Fix dynamic primitive topology for tess on Gfx7.x too * anv: allocate bigger batches as we grow command buffers * mesa: unreference zombie buffers when creating buffers to lower memory usage * compiler/glsl: Use mutex lock while freeing up mem_ctx * anv: fix dynamic primitive topology for tess * zink: handle custom border color without matching wrap mode case * radeonsi: skip instance_count==0 draws on <= GFX9 * radeonsi: disable ngg culling on llvm < 12 * radv: reject binding buffer/image when the device memory is too small * radv: always decompress both aspects of a depth/stencil image * amd/addrlib: remove Meson debug message() * radeon/vcn/enc: Add missing line to HEVC SPS header code * util: add work around for the game We Happy Few * ac/nir: Update TCS output barriers with nir_var_mem_shared. * radv/llvm: Emit s_barrier at the beginning of NGG non-GS shaders. * aco/gfx10: NGG zero output workaround for conservative rasterization. * aco/gfx10: Emit barrier at the start of NGG VS and TES. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07libdrm: upgrade 2.4.106 -> 2.4.107Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07util-linux: rewrite the ptest integrationRoss Burton
Instead of duplicating logic, we can use the run.sh that the test suite installs. Unless told otherwise, the util-linux test suite assumes that it is running in a build tree and looks for binaries to run, but we're on target so pass --use-system-commands (drops ~180 skips to tens). Add --show-diff so that debugging can be done from the logs alone. Remove redundant path manipulation that is now done upstream. If PAM is disabled, delete the chfn test: it will run the chfn from shadow which has different output, and the test will fail. [ YOCTO #14244 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07util-linux: backport test suite fixesRoss Burton
Backport a number of fixes so the test suite passes. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07util-linux: add missing ptest dependenciesRoss Burton
The kernel modules loop and sd-mod are needed for the block device tests. GNU find is used in some tests. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07util-linux: build chfn and chshRoss Burton
As we now split util-linux per-binary there's no disadvantage to not building chfn and chsh. This also means that the tests pass instead of failing when the test uses the binaries from shadow. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07shadow: generate alternative links for chfn and chshRoss Burton
These can be provided by util-linux, so add alternative links for them. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07perl: correct libpth and glibpthMingli Yu
Previouly there is a logic as below used to set libpth in config.sh. libpth='@LIBDIR@ @BASELIBDIR@' But after the below commits introduced, the above logic is dropped. 52f2828314 perl: add a version that builds the recipe using perl-cross, and update to 5.28.1 68552c3532 perl: remove the previous version of the recipe So correct the value of libpth and glibpth to add the dropped logic back to avoid confusing. Before the patch(on 64bits system): # perl -V:libpth libpth='/usr/lib /lib'; After the patch(on 64bits system): # perl -V:libpth libpth='/usr/lib64 /lib64'; Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07python3-zipp: upgrade 3.4.1 -> 3.5.0Tim Orling
v3.5.0 Issue 74 and bpo-44095: Added .suffix, .suffixes, and .stem properties. References: https://github.com/jaraco/zipp/issues/74 https://bugs.python.org/issue44095 https://github.com/python/cpython/pull/26129 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07python3-hypothesis: upgrade 6.14.0 -> 6.14.1Tim Orling
6.14.1 - 2021-07-02 This patch updates some internal type annotations. There is no user-visible change. Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07python3-packaging: upgrade 20.9 -> 21.0Tim Orling
21.0 - 2021-07-03 packaging is now only compatible with Python 3.6 and above. Add support for zip files in parse_sdist_filename (:issue:`429`) References: https://github.com/pypa/packaging/issues/429 Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07texinfo: update 6.7 -> 6.8Alexander Kanavin
Drop texinfo-4.12-zlib.patch as it completely lacks a description, was added together with the original recipe without an explanation in the commit message, and is difficult to rebase. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07tzdata: Allow controlling zoneinfo binary formatZoltán Böszörményi
tzcode 2020b changed the default format from "-b fat" to "-b slim". Allow external control for the binary format. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07oeqa/selftest/multiprocesslauch: Fix test raceRichard Purdie
Having two possible failures in multiprocesslauch creates a race where one failure may occur and stop processes being lanuched meaning the second failure may not be seen. Rather than having periodic races appearing on the autobuilder, only have one failure, making the test much more deterministic. [YOCTO #13054] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07dwarfsrcfiles: Avoid races over debug-link filesRichard Purdie
We use dwarfsrcfiles in package.bbclass to list the source files used by a binary. This is done before they're stripped and linked to debug symbols in separate files. It is possible a binary may already have a link to separate debug symbols, e.g. some of the test binaries in lttng-tools ptest. In those cases, the linked binary may be changed by package.bbclass code whilst dwarfsrcfiles is reading it. That would result in a rare SIGBUS race causing the binary to fail. To avoid this, break the debug file search path so no other binaries are found. Also fix a segfault if no binary is specified while here. [YOCTO #14400] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05dhcpcd: add ARC supportAlexey Brodkin
This retrofits ARC support from upstream [1]. Should be a part of the next release of "dhcpcd". https://github.com/NetworkConfiguration/dhcpcd/commit/82386110e67cf75c224e9817fce55e6b0f143266 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05gstreamer: add libgst packages to PACKAGES_DYNAMICbkylerussell@gmail.com
This allows the dynamic libgst* plugin packages and libgstrtspserver-1.0 to be used correctly in RDEPENDS. All gstreamer1.0-plugins-* recipes and gstreamer1.0-rtsp-server include gstreamer1.0-plugins-packaging.inc, which creates multiple libgst* packages through split_gstreamer10_packages(), but only one of the do_split_packages() regexes was included in PACKAGES_DYNAMIC, and only for the plugins packages (through gstreamer1.0-plugins-common.inc). Now the PACKAGES_DYNAMIC definition exists with the do_split_packages() regexes. Signed-off-by: Kyle Russell <bkylerussell@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05iputils: correct upstream version checkAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05python3-iniparse: update 0.4 -> 0.5Alexander Kanavin
Drop the python3 compatibility patch (upstream is back from the dead and fixed it). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05rt-tests: update 1.10 -> 2.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05man-pages: upgrade 5.11 -> 5.12Alexander Kanavin
License-Update: installation instructions Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05linux-yocto: introduce 5.13 recipesBruce Ashfield
5.13 will be the next release/reference kernel (matched with a libc-headers version bump), this commit creates the recipes, but does not make it the default kernel (yet). This has been built and booted on all supported qemu platforms, as well as with musl and glibc based userspace stacks. Full core-image-kernel-dev, sato and minimal images have been tested and show no obvous issues (either locally or on the autobuilder). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05kernel-devsrc: powerpc64 add scripts prepare supportBruce Ashfield
Similar to 32bit powerpc, we need more vdso bits in devsrc to support on target scripts prepare for powerpc64. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05kernel-devsrc: fix scripts prepare for powerpcBruce Ashfield
5.13 introduces some new tweaks required to get on target scripts and prepare working for powerpc: - 'nm' is detected as 'nm --synthetic', so we adjust our replacement - more vdso is required on target, so we copy those files (like arm64 does) - grep is required during processing, so we add it to the redpends Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05kernel-devsrc: fix scripts/prepare for ARM64Bruce Ashfield
There are two new tools in 5.13+ required for on target recreation of the build environment. We conditionally add them to the devsrc recipe to support both 5.13 and older kernels. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05linux-libc-headers: update to 5.13Bruce Ashfield
Bumping the libc-headers to match the latest OE core reference kernel. We refresh one of the musl patches to udpate to the 5.12+ context of the header, but otherwise everything is unchanged. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05linux-yocto/5.10: scsi-debug needs scsi-diskBruce Ashfield
It was pointed out that the default scsi-debug feature didn't behave the same as other distros, since it doesn't have disk supporrt enabled. We already have a disk.cfg for scsi so we include it into the debug fragment to get the support we want. Integrating the following commit(s) to linux-yocto/.: 66a4b5fc619 scsi: debug needs disk support Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05linux-yocto/5.4: update to v5.4.129Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 82ffbc138a1f Linux 5.4.129 9011aaab90b8 certs: Move load_system_certificate_list to a common function e20b90e4f81b certs: Add EFI_CERT_X509_GUID support for dbx entries 06ab9df09eb3 x86/efi: move common keyring handler functions to new file ac7d3f554472 certs: Add wrapper function to check blacklisted binary hash 61168eafe024 mm, futex: fix shared futex pgoff on shmem huge page a33b70d62552 mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk() e045e9e79d2a mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes 037a1d67d236 mm: page_vma_mapped_walk(): get vma_address_end() earlier fa89d536948a mm: page_vma_mapped_walk(): use goto instead of while (1) a499febd9935 mm: page_vma_mapped_walk(): add a level of indentation b1783bf8c8e4 mm: page_vma_mapped_walk(): crossing page table boundary 80b2270a14b8 mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block ef161ccaca70 mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd 4961160272b7 mm: page_vma_mapped_walk(): settle PageHuge on entry 52e2b20fb5e4 mm: page_vma_mapped_walk(): use page for pvmw->page 82ee7326af7a mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split bd4389215227 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page() b767134ec30a mm/thp: fix page_address_in_vma() on file THP tails 41432a8a6776 mm/thp: fix vma_address() if virtual address below file offset 4b0a34e222e5 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting bd092a0f1942 mm/thp: make is_huge_zero_pmd() safe and quicker 4c37d7f269f8 mm/thp: fix __split_huge_pmd_locked() on shmem migration entry 7ce4b73d349b mm, thp: use head page in __migration_entry_wait() 68ce37ebe0f2 mm/rmap: use page_not_mapped in try_to_unmap() 432b61863ac7 mm/rmap: remove unneeded semicolon in page_not_mapped() cfe575954ddd mm: add VM_WARN_ON_ONCE_PAGE() macro 42f11f0fe977 kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync() 06ab015d1849 kthread_worker: split code for canceling the delayed work timer d77c9c8537db i2c: robotfuzz-osif: fix control-request directions bb85717e3797 KVM: do not allow mapping valid but non-reference-counted pages d6f751ecccfb nilfs2: fix memory leak in nilfs_sysfs_delete_device_group 702acfcbfa68 pinctrl: stm32: fix the reported number of GPIO lines per bank 76c10e10ba7b net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY aa00b9780482 net: ll_temac: Add memory-barriers for TX BD access d807b93f9bca PCI: Add AMD RS690 quirk to enable 64-bit DMA 5830f2081d98 recordmcount: Correct st_shndx handling 70866199220e net: qed: Fix memcpy() overflow of qed_dcbx_params() b7168ec176fd KVM: selftests: Fix kvm_check_cap() assertion 58687d143515 r8169: Avoid memcpy() over-reading of ETH_SS_STATS cb4a2e4e224a sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS 97e0102e1824 r8152: Avoid memcpy() over-reading of ETH_SS_STATS f12a5b48bcc8 net/packet: annotate accesses to po->ifindex cdcedd3c8683 net/packet: annotate accesses to po->bind 343406f9c198 net: caif: fix memory leak in ldisc_open 8707ce86e927 net: phy: dp83867: perform soft reset and retain established link 9f2d04dfb3c4 inet: annotate date races around sk->sk_txhash d40ff07a7b7d ping: Check return value of function 'ping_queue_rcv_skb' 9df4f031536b net: ethtool: clear heap allocations for ethtool function 62aed2df294a mac80211: drop multicast fragments eb2b1216bc8f net: ipv4: Remove unneed BUG() function e0c950d2fddb dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma f7b1926c7c5d dmaengine: mediatek: do not issue a new desc if one is still current 3d995587c3ea dmaengine: mediatek: free the proper desc in desc_free handler c09af3877b53 dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe() f2c027a7750f cfg80211: call cfg80211_leave_ocb when switching away from OCB 78bf3c613148 mac80211_hwsim: drop pending frames on stop ae9de9444b54 mac80211: remove warning in ieee80211_get_sband() 0e486713779a dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc() 456367b24190 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()" 1442186236ad spi: spi-nxp-fspi: move the register operation after the clock enable 7bc73260c4b1 MIPS: generic: Update node names to avoid unit addresses 0855fe6d8835 arm64: link with -z norelro for LLD or aarch64-elf 3173390b8dbc kbuild: add CONFIG_LD_IS_LLD 3450f5eb8c9e mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk 48a5449c0be1 ARM: 9081/1: fix gcc-10 thumb2-kernel regression 4a8e89e0fd0b drm/radeon: wait for moving fence after pinning 4577708b2a22 drm/nouveau: wait for moving fence after pinning v2 c77c617e26e2 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell." 6bd0da6c9b12 Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue." e2dc07ca4e01 module: limit enabling module.sig_enforce Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05linux-yocto/5.10: update to v5.10.47Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 4357ae26d4cd Linux 5.10.47 1573d595e239 integrity: Load mokx variables into the blacklist keyring c6ae6f89fc4f certs: Add ability to preload revocation certs 72d6f5d982f0 certs: Move load_system_certificate_list to a common function 45109066f686 certs: Add EFI_CERT_X509_GUID support for dbx entries 0ba128fa68a4 Revert "drm: add a locked version of drm_is_current_master" 0463b49e0239 netfs: fix test for whether we can skip read when writing beyond EOF e6108147dd91 swiotlb: manipulate orig_addr when tlb_addr has offset 7570a8b5dd49 KVM: SVM: Call SEV Guest Decommission if ASID binding fails 377a796e7a71 mm, futex: fix shared futex pgoff on shmem huge page ab9d178167ea mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk() 915c3a262c49 mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes 90073aecc3cc mm: page_vma_mapped_walk(): get vma_address_end() earlier bf60fc2314b9 mm: page_vma_mapped_walk(): use goto instead of while (1) 9f85dcaf1533 mm: page_vma_mapped_walk(): add a level of indentation e56bdb397663 mm: page_vma_mapped_walk(): crossing page table boundary 8dc191ed9c5f mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block 7b55a4bcfccf mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd 1cb0b9059f9e mm: page_vma_mapped_walk(): settle PageHuge on entry 65febb41b4d6 mm: page_vma_mapped_walk(): use page for pvmw->page 825c28052b4d mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split 0010275ca243 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page() 38cda6b5ab83 mm/thp: fix page_address_in_vma() on file THP tails 37ffe9f4d7ff mm/thp: fix vma_address() if virtual address below file offset 66be14a92609 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting 6527d8ef68c3 mm/thp: make is_huge_zero_pmd() safe and quicker a8f4ea1d38ac mm/thp: fix __split_huge_pmd_locked() on shmem migration entry 32f954e961ca mm, thp: use head page in __migration_entry_wait() bfd90b56d7f6 mm/rmap: use page_not_mapped in try_to_unmap() ff81af8259bb mm/rmap: remove unneeded semicolon in page_not_mapped() a0ad7ea018e7 mm: add VM_WARN_ON_ONCE_PAGE() macro 130a1d76ee0b x86/fpu: Make init_fpstate correct with optimized XSAVE 51d8011782ed x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate() 2b35a4eaaaae kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync() bfe28af78a20 kthread_worker: split code for canceling the delayed work timer 02c303f3b9fb ceph: must hold snap_rwsem when filling inode for async create de0af2651daa i2c: robotfuzz-osif: fix control-request directions dd8ed6c9bc22 KVM: do not allow mapping valid but non-reference-counted pages 5fd0c2cf7b11 s390/stack: fix possible register corruption with stack switch helper ab5bef978038 nilfs2: fix memory leak in nilfs_sysfs_delete_device_group ace31c91fd59 scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART) b9e6c20d4c9d gpiolib: cdev: zero padding during conversion to gpioline_info_changed 0221a5a4db46 i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access 018d03fcf77a pinctrl: stm32: fix the reported number of GPIO lines per bank df654cd3d300 perf/x86: Track pmu in per-CPU cpu_hw_events f9e73b2967f6 net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY 1c9cf96f5652 net: ll_temac: Add memory-barriers for TX BD access bafb6cdd4f70 PCI: Add AMD RS690 quirk to enable 64-bit DMA d91c50e6a678 recordmcount: Correct st_shndx handling fb71d81ccd69 mac80211: handle various extensible elements correctly 676a7cb1a96b mac80211: reset profile_periodicity/ema_ap ca0e1fefbb53 net: qed: Fix memcpy() overflow of qed_dcbx_params() 4658a8d30791 KVM: selftests: Fix kvm_check_cap() assertion e83e3c5d85a7 r8169: Avoid memcpy() over-reading of ETH_SS_STATS 992b105abf57 sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS a10856ea6066 r8152: Avoid memcpy() over-reading of ETH_SS_STATS 196b22ef6cd1 net/packet: annotate accesses to po->ifindex da8b3aeff4ad net/packet: annotate accesses to po->bind 18ed1789bbce net: caif: fix memory leak in ldisc_open edcd7594ada9 riscv32: Use medany C model for modules 47c07f919fab net: phy: dp83867: perform soft reset and retain established link f57132a887ea net/packet: annotate data race in packet_sendmsg() 9707960ecfdc inet: annotate date races around sk->sk_txhash 7293f63b7b62 net: annotate data race in sock_error() 61b132f67c0d ping: Check return value of function 'ping_queue_rcv_skb' 08c389de6d53 inet: annotate data race in inet_send_prepare() and inet_dgram_connect() c2311fd6de78 net: ethtool: clear heap allocations for ethtool function c2813d1966ba mac80211: drop multicast fragments fedc4d4f548c net: ipv4: Remove unneed BUG() function 93c2aac13b08 dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma 0f48f9277182 dmaengine: mediatek: do not issue a new desc if one is still current 63fa5b2d4b55 dmaengine: mediatek: free the proper desc in desc_free handler 78fa0f707d73 dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe() 6a07cf36064a cfg80211: call cfg80211_leave_ocb when switching away from OCB a9028333001f mac80211_hwsim: drop pending frames on stop 8cfe765afd5a mac80211: remove warning in ieee80211_get_sband() b671b9816982 dmaengine: xilinx: dpdma: Limit descriptor IDs to 16 bits 524f70b30ef8 dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig 13b245a7bd59 dmaengine: stm32-mdma: fix PM reference leak in stm32_mdma_alloc_chan_resourc() 86f3e72dcb72 dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc() 4df9ed0edb9f perf/x86/intel/lbr: Zero the xstate buffer on allocation 56bc20e5fc64 perf/x86/lbr: Remove cpuc->lbr_xsave allocation from atomic context ca2acbd5483f locking/lockdep: Improve noinstr vs errors 59aa5c91f863 x86/xen: Fix noinstr fail in exc_xen_unknown_trap() cb83c99cf675 x86/entry: Fix noinstr fail in __do_fast_syscall_32() cf5935487594 drm/vc4: hdmi: Make sure the controller is powered in detect f73aca83fd83 drm/vc4: hdmi: Move the HSM clock enable to runtime_pm f11f9ff8a7c9 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()" 4b06ebab4a82 spi: spi-nxp-fspi: move the register operation after the clock enable 50a1312a29d1 arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required bd5d4df4dcc1 arm64: Ignore any DMA offsets in the max_zone_phys() calculation 3bbdf5a6fcd2 MIPS: generic: Update node names to avoid unit addresses 03096a46019e mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk b8fd230ae085 ARM: 9081/1: fix gcc-10 thumb2-kernel regression 3d6c4f78ec61 drm/amdgpu: wait for moving fence after pinning 694bb36aa75d drm/radeon: wait for moving fence after pinning bcfea2412f4b drm/nouveau: wait for moving fence after pinning v2 3ef0ca0ec995 drm: add a locked version of drm_is_current_master fea853aca321 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell." 1bd81429d53d Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue." 3051f230f19f module: limit enabling module.sig_enforce Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05perlcross: check the file if patched or notMingli Yu
After the commit(60dcb230f6 perl: split perl-cross into its own recipe) introduced, the source files mainly come from two parts, one is from SRI_URI during do_fetch and the other with below means during do_configure. do_configure_prepend() { cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S} } And the source files will be changed during do_compile with below logic in Makefile. $(CROSSPATCHED): %.applied: %.patch patch -p1 -i $< && touch $@ And there comes build failure with below steps: $ bitbake perl-native Make a change as below $ git diff diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb index b77bbd1fd4..4c5e35ab80 100644 --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb @@ -33,6 +33,7 @@ do_compile () { do_install_class-native() { mkdir -p ${D}/${datadir}/perl-cross/ cp -rf ${S}/* ${D}/${datadir}/perl-cross/ + echo "test" > ${D}/${datadir}/perl-cross/testfile } $ bitbake perl-native | NOTE: make -j 48 | make crosspatch | make[1]: Entering directory '/buildarea1/myu2/wr_build/wr1021_20210616_perl/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0' | patch -p1 -i cnf/diffs/perl5-5.34.0/time-hires.patch && touch cnf/diffs/perl5-5.34.0/time-hires.applied | patch -p1 -i cnf/diffs/perl5-5.34.0/xconfig.patch && touch cnf/diffs/perl5-5.34.0/xconfig.applied | patch -p1 -i cnf/diffs/perl5-5.34.0/posix-makefile.patch && touch cnf/diffs/perl5-5.34.0/posix-makefile.applied | File dist/Time-HiRes/Makefile.PL is read-only; trying to patch anyway | patching file dist/Time-HiRes/Makefile.PL | Reversed (or previously applied) patch detected! Assume -R? [n] | Apply anyway? [n] | Skipping patch. | 4 out of 4 hunks ignored -- saving rejects to file dist/Time-HiRes/Makefile.PL.rej | patch -p1 -i cnf/diffs/perl5-5.34.0/test-commonsense.patch && touch cnf/diffs/perl5-5.34.0/test-commonsense.applied | File perl.h is read-only; trying to patch anyway | patching file perl.h | Reversed (or previously applied) patch detected! Assume -R? [n] | Apply anyway? [n] | Skipping patch. | 1 out of 1 hunk ignored -- saving rejects to file perl.h.rej | make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/time-hires.applied] Error 1 [snip] It's because the source files patched twice, so check the file if patched or not to avoid the source files patched more than one time to fix the build failure as above. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02Revert "libubootenv: inherit uboot-config"Peter Bergin
This reverts commit 10aa1291979fb90bed1beb49be4d406ed0e1e4d5. As there is no build dependency between libubootenv and the configuration of u-boot there is no reason to check for UBOOT_CONFIG or UBOOT_MACHINE by adding the class uboot-config. Revert this in order to remove useless workaround in bsp layer (meta-freescale). Signed-off-by: Peter Bergin <peter@berginkonsult.se> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02openssh: Remove temporary keys before generating new onesAsfak Rahman
Key generation may wait for user input, due to the existence of temporary keys resulting from power interruption in the first boot. This prevents users from login via ssh. Signed-off-by: Asfak Rahman <asfakr@outlook.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02pulseaudio: check if NEON code can be compiled on armMingli Yu
Backport a patch to check if NEON code can be compiled on arm to fix below issue: | /prj/tmp-glibc/work/armv5e-wrs-linux-gnueabi/pulseaudio/14.0-r0/recipe-sysroot-native/usr/lib/arm-wrs-linux-gnueabi/gcc/arm-wrs-linux-gnueabi/10.2.0/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" | 31 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" | ^~~~~ | ../pulseaudio-14.0/src/pulsecore/mix_neon.c: In function 'pa_mix_ch2_s16ne_neon': | ../pulseaudio-14.0/src/pulsecore/mix_neon.c:38:9: error: unknown type name 'int32x4_t'; did you mean 'int32_t'? | 38 | int32x4_t sum0, sum1; Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Tested-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>