Trevor Gamblin [Tue, 24 Aug 2021 18:10:39 +0000 (14:10 -0400)]
bluez: upgrade 5.60 -> 5.61
5.61 includes a fix for CVE-2021-3658 (bluez: adapter incorrectly
restores Discoverable state after powered down), as well as other
fixes.
>From the changelog:
ver 5.61:
Fix issue with A2DP while waiting for command response.
Fix issue with A2DP when SetConfiguration fails.
Fix issue with device removal handling.
Fix issue with storing discoverable setting.
Add support for Central Address Resolution characteristic.
Add support for admin policy plugin.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is probing into what options the /usr/bin/file executable does
and does not support and bakes that into target binaries, so we
need to use a deterministic one we build ourselves.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scott Murray [Thu, 19 Aug 2021 16:51:55 +0000 (12:51 -0400)]
prservice: remove connection caching
This patch is a follow on of the the PR server rework in bitbake to add
read-only support. The shift to using the bb.asyncrpc code in the PR
server and client brings issues with respect to reuse of the same
asyncio loop in different processes. This patch removes the PR service
connection caching to avoid one source of this problem. It is believed
that in practice this should have little impact on overall performance.
Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu: add a hint on how to enable CPU render nodes when a suitable GPU is absent
This is particularly useful for llvm-accelerated GL rendering from qemu guest to
an offscreen buffer (accessible over vnc or spice) using llvmpipe on the
host, rather than using unaccelerated swrast renderer in the guest.
This is the best that can be done in the absence of a host GPU with render node
support (such as old Matrox cards common in servers, or fully virtualized cloud
environments with no GPU at all).
Note: even though NVidia blob drivers do support render nodes, they do not
support gbm (yet?), and so rendering will fall back to llvmpipe as well even when
the system has a 3000 euro NVidia GPU. Cue Linus picture.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: new firmware files, copyright years, file names Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop big-inodes-for-small-fs.patch: upstream made the same fix.
Drop 0001-lib-ext2fs-unix_io.c-do-unlock-on-error.patch
0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
(upstream has fixed the issue).
Add 0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
to correct a ptest failure due to incorrectly expected inode size
(recent change that wasn't run against the tests upstream?).
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: SPDX ids corrected, license are same. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: formatting Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Sun, 22 Aug 2021 03:39:41 +0000 (20:39 -0700)]
python3-hypothesis: enable ptest
The upstream "fast" tests (tests/cover and tests/pytest) take over
5 minutes to run and do not run cleanly. They also add dependency
on python3-pexpect and python3-ptyprocess (currently in meta-python).
The tests are also not included in the pypi tarball, so it would
require use of git fetcher and other invasive changes to the recipe,
including dropping the pypi inherit.
Tim Orling [Sun, 22 Aug 2021 03:39:40 +0000 (20:39 -0700)]
python3-hypothesis: upgrade 6.14.8 -> 6.15.0
6.15.0 - 2021-08-22
This release emits a more useful error message when @given() is applied to
a coroutine function, i.e. one defined using async def (issue #3054).
This was previously only handled by the generic return_value health check,
which doesn’t direct you to use either a custom executor or a library such
as pytest-trio or pytest-asyncio to handle it for you.
6.14.9 - 2021-08-20
This patch fixes a regression in Hypothesis 6.14.8, where from_type() failed
to resolve types which inherit from multiple parametrised generic types,
affecting the returns package (issue #3060).
Khem Raj [Sat, 21 Aug 2021 20:08:09 +0000 (13:08 -0700)]
weston: Re-order gbm destruction at DRM-backend tear down
Fixes an annoying segfault seen on rpi4 when launching weston during
boot especially using systemd service or sysvinit script, if weston is
launched manually on VT, it works fine. This backport specifically
addresses the issue described above.
utils: Reduce the number of calls to the "dirname" command
utils.bbclass contains create_cmdline_wrapper() function that
creates wrapper script with additional arguments for any passed
"$cmd" command, and uses several calls to "dirname".
Because "dirname" is an external command, in cases of lots of
calls to wrapped "$cmd", each call of "dirname" will incur
significant overhead.
There are three same calls to "dirname": one for saving it`s
output to "realdir" variable, and other two in "exec" command.
So last two "dirname" calls can be replaced with cached value
from "realdir" variable.
Signed-off-by: Oleksandr Popovych <opopovyc@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
assimp: added patch to fix hardcoded non-existing paths in CMake modules
assimp CMake modules were adding non-existing paths to its CMake modules
breaking builds for users of assimp. Remove the hardcoded paths with
an upstream patch with small tweaks.
Signed-off-by: Purushottam Choudhary <purushottamchoudhary29@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we have:
$ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
bash = 5.1.8-r0
This is incorrect as bash provides /bin/bash and /bin/sh. This is caused by
incomplete conversion of new override syntax, which breaks the per-file
parsing of package_rpm.
With this patch, we have:
$ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
/bin/bash
/bin/sh
bash = 5.1.8-r0
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 16 Aug 2021 22:23:05 +0000 (23:23 +0100)]
gcc: Fix nativesdk builds and multilib fixes with gcc 11
In newer gcc versions the headers changed locations and our multiconfig
and nativesdk tweaks to loader paths wasn't working. The broke
buildtools-extended-tarball, particularly on arm. Update to fix this.
Ultimately we should dump the gcc specs and check for hardcoded paths.
This isn't possible quite yet as this patch doesn't fix the musl ones
as we don't use that in mutlilib or nativesdk scenarios at present.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Thu, 19 Aug 2021 05:18:25 +0000 (22:18 -0700)]
python3-hypothesis: upgrade 6.14.5 -> 6.14.8
6.14.8 - 2021-08-16
This patch ensures that registering a strategy for a subclass of a
parametrised generic type such as class Lines(Sequence[str]): will not
“leak” into unrelated strategies such as st.from_type(Sequence[int])
(issue #2951). Unfortunately this fix requires PEP 560, meaning Python
3.7 or later.
6.14.7 - 2021-08-14
This patch fixes issue #3050, where attrs classes could cause an internal
error in the ghostwriter.
6.14.6 - 2021-08-07
This patch improves the error message for issue #3016, where PEP 585 builtin
generics with self-referential forward-reference strings cannot be resolved
to a strategy by from_type().
Jon Mason [Thu, 19 Aug 2021 02:52:21 +0000 (22:52 -0400)]
tune-cortexr*: add support for all Arm Cortex-R processors
Add tune entries for all Arm Cortex-R processors currently supported in
GCC. Also, add the simd feature, which can be used in ARMv7a and
ARMv8a, but currently isn't.
Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jon Mason [Thu, 19 Aug 2021 02:52:20 +0000 (22:52 -0400)]
arch-arm*: add better support for gcc march extensions
GCC has the ability to pass extensions to the march parameter, which
expand the funcationality of the march. For example
"-march=armv7ve+simd" adds SIMD to ARMv7. Currently, there is no way to
expand the march setting without modifying each instance, as you can't
guarantee the ordering when using the existing TUNE_CCARGS. By
introducing two new variables, TUNE_CCARGS_MARCH and
TUNE_CCARGS_MARCH_OPT, we can enforce that these two go together.
Also, expand existing and create new feature files that use these
variables to expand the functionality.
Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Oliver Kranz [Thu, 19 Aug 2021 09:22:00 +0000 (11:22 +0200)]
Allow global override of golang GO_DYNLINK
Small golang applications create massive memory overhead if go-runtime
is deployed. So it is helpfull to be able to disable the GO_DYNLINK
option on a per distro/local.conf basis by making it a ?= instead of =.
Signed-off-by: Oliver Kranz <o.kranz.88@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yi Zhao [Thu, 19 Aug 2021 09:56:21 +0000 (17:56 +0800)]
shadow: add /etc/default/useradd
The shadow 4.9 stops shiping /etc/default/useradd[1] and uses built-in
settings by default. Some settings are not consistent with previous
shadow 4.8.1 in oe-core. e.g. The default shell is /bin/bash rather than
/bin/sh. Per shadow 4.8.1 settings, add /etc/default/useradd back.
- multiprocessing.cpu_count() returns the number of CPUs on the host,
not the number of usable CPUs on the host. If the user is using
scheduler affinity then the number of usable CPUs may be less,
so when determining how many cores we can use check the affinity instead.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Daniel Gomez [Tue, 17 Aug 2021 20:11:14 +0000 (22:11 +0200)]
wic: Add --no-fstab-update part option
When embedding a rootfs image (e.g. 'rootfs-dir') as a partition we
might want to keep the stock fstab for that image. In such a case, use
this option to not update the fstab and use the stock one instead.
This option allows you to specify which partitions get the fstab
updated and which get the stock fstab.
The option matches the argument you can pass to wic itself where the
same action is performed but for all the partitions.
Richard Purdie [Wed, 18 Aug 2021 16:33:18 +0000 (17:33 +0100)]
elfutils: Fix ptest dependencies
The elfutils ptests require debug symbols for the libc to be available, else
we see failures such as those on the autobuilder for the fast ptest image
on arm (the dbg symbols are pulled in by other recipes in other images).
Also fix various test skips/error messages due to missing gcc/ld and
development headers.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 17 Aug 2021 15:27:32 +0000 (11:27 -0400)]
kernel-devsrc: fix 5.14+ objtool compilation
In v5.14+, x86 requires not just elfutils, but the elf headers
on the target to build objtool (required for 'scripts parepare'),
so we tweak our RDEPENDS to ensure that the right headers are
on the target.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 17 Aug 2021 15:27:31 +0000 (11:27 -0400)]
kernel-devsrc: 5.14+ updates
commit 6218d0f6b8dec [x86/syscalls: Switch to generic syscalltbl.sh]
means that x86 no longer has a syscall script to copy, which causes
a build error.
We already copy the generic syscall script (in scripts), so we just
catch errors for the copies to support older and 5.14+ kernels in
the same devsrc recipe.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 17 Aug 2021 15:27:30 +0000 (11:27 -0400)]
lttng-modules: update to 2.13.0
Updating to 2.13.0, so we can pick up the latest -stable and
support for 5.14+ kernels.
We refresh one patch for new context, and update the LICENSE
checksum due to commit 2df37e95fa4303 [Cleanup: Move headers from
toplevel to include/lttng/]. which impacted the LICENSE file (but
licensing is the same).
MODULES_MODULE_SYMVERS_LOCATION must also be specified in this
release, as the lttng build has moved the module target to a
'src' subdirectory.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 17 Aug 2021 22:29:19 +0000 (23:29 +0100)]
glibc: package the stub .a libaries into glibc-dev
In glibc 2.34, the libraries libpthread, libdl, libutil, libanl have
been integrated into libc. To retain compatibility with old binaries the
shared libaries are still shipped but are empty, and to keep software
building there are empty static libraries.
However, these static libraries get packaged into glibc-staticdev (as
they should be), but by this design they should be in glibc-dev.
Ross Burton [Tue, 17 Aug 2021 22:37:55 +0000 (23:37 +0100)]
oeqa/sdk: add relocation test for buildtools
The buildtools-extended tarball includes GCC, which relies on being
relocated correctly to work. Add a test case that verifies that the
loader paths have all been relocated, as otherwise there are
hard-to-debug errors at build time.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andreas Müller [Tue, 17 Aug 2021 14:32:55 +0000 (16:32 +0200)]
binutils: Apply upstream patch to fix 'too many open files' on qtwebengine
Since upgrade of binutils to 2.37 builds of qtwebengine failed to link even
with ulimits -n 1000000 (!!).
Fix that by applying a patch from stable 'binutils-2_37-branch'.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andreas Müller [Tue, 17 Aug 2021 14:32:54 +0000 (16:32 +0200)]
mesa: upgrade 21.1.5 -> 21.1.7
Joshua's vc4/v3d/dma-patch was applied in 21.1.7
Release notes 21.1.7:
Bug fixes
Miscompilation of a switch case
[radeonsi][regression] CPU is being used ~10 times more than usual after c5478f9067f.
dEQP-VK.wsi.android.swapchain.create#image_swapchain_create_info crash on Android R
The image is distorted while use iGPU(Intel GPU) rendering and output via dGPU (AMD GPU)
lima: regression in plbu scissors cmd
Incorrect rendering
Changes
pan/bi: Restrict swizzles on same cycle temporaries
nir/lower_mediump_io: Don’t remap base unless needed
nir/lower_mediump: Fix metadata in all passes
util/fossilize_db: Update parsed_offset correctly.
util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
util/fossilize_db: Flush files after header write.
util/fossilize_db: Be conservative about header length check for locking.
util/fossilize_db: Only allocate entries after full read.
util/fossilize_db: Use uint64_t for file size.
util/fossilize_db: Unlock the cache file if the entry already exists.
util/fossilize_db: Add extra flock mutex.
radv: Allocate space for inline push constants.
vulkan/wsi/x11: do not inherit last_present_mode
ir3: Preserve gl_ViewportIndex in the binning shader
teximage: return correct desktop GL error for compressedteximage
intel/fs: restrict max push length on older GPUs to a smaller amount
virgl: disable anisotropic filtering.
freedreno/ir3: Add build id to the disassembler test
.pick_status.json: Update to 7055282231cdad23e7b23fb49a2f953a99797f8a
.pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
.pick_status.json: Mark 6ccf11ac2b951963407601b5b1109b45a972e48e as denominated
.pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
.pick_status.json: Update to 353e6323936b812884fa677c25bdba91554881b7
.pick_status.json: Update to 4128acdee32eadfef1fb8c3c3ce2e512a267cdf4
pick-ui: drop assert that optional argument is passed
pick-ui: show nomination type in the UI
pick-ui: show commit date
lima: avoid crash with negative viewport values
zink: make codegen compatible with python 3.5
mesa/main: Check for fbo attachments when importing EGL images to textures
v3d, vc4: Fix dmabuf import for non-scanout buffers
gallium/hud: initialize query
nv30: fix emulated vertex index buffers
gallium: Reset {d,r}Priv in dri_unbind_context
loader/dri3: create linear buffer with scanout support
anv: fix submission batching with perf queries
anv: don’t try to access Android swapchains
renderonly: don’t complain when GPU import fails
etnaviv: always try to create KMS side handles for imported resources
glsl: evaluate switch expression once
zink: use array size in spirv bo length calculations
etnaviv: fix gbm_bo_get_handle_for_plane for multiplanar images
clover/spirv: Properly size 3-component vector args
clover/nir: Set constant buffer pointer size to host
gallium/va: don’t use key=NULL in hash tables
amd/registers: fix fields conflict detection
radeonsi: don’t create an infinite number of variants
nir/algebraic: fix imod by negative power-of-two
radv: fix selecting the first active CU when profiling with SQTT
etnaviv: fix renderonly check in etna_resource_alloc
etnaviv: fail in get_handle(TYPE_KMS) without a scanout resource
freedreno: fail in get_handle(TYPE_KMS) without a scanout resource
panfrost: fail in get_handle(TYPE_KMS) without a scanout resource
lima: fail in get_handle(TYPE_KMS) without a scanout resource
nine: Fix assert in tx_src_param
intel/compiler: make sure swizzle is applied to if condition
glsl: Add operator for .length() method on implicitly-sized arrays
glsl: Properly handle .length() of an unsized array
gallium/vl: don’t leak fd in vl_dri3_screen_create
Release notes 21.1.6:
Bug fixes
[RADV] FSR in Resident Evil: Village looks very pixelated on Polaris
Crash in update_buffers after closing KDE “splash screen” downloader
Crash in update_buffers after closing KDE “splash screen” downloader
radeonsi: persistent, read-only buffer maps are slow to read
substance painter flickering with jagged texture and masks shown black
radv: FP16 mode in FidelityFX FSR doesn’t look right
[RADV] Blocky corruption in Scarlet Nexus and vkd3d-proton 2.4
Radeon RX580 and 5700 XT: Reloading ARB assembly shaders causes very glitchy rendering
Changes
targets/graw-xlib: Add missing dep_x11
egl/surfaceless: try kms_swrast before swrast
meson: allow egl_native_platform to be specified
freedreno/computerator: Fix local_size typo
aco/optimizer: ensure to not erase high bits when propagating packed constants
egl/wayland: Error on invalid native window
egl/wayland: Allow EGLSurface to outlive wl_egl_window
softpipe/aniso: move DDQ calculation to after scaling.
llvmpipe: add support for time elapsed queries.
.pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as backported
.pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06
.pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3
.pick_status.json: Update to 73262d4bd4a4637a332264a165c62ce3209d03fb
zink: remove duplicate format-mapping on little-endian
vulkan: do not map zero-sized region of memory
vulkan: allocate host-visible memory for swapchain images
nir/gcm: Clear out pass_flags before starting
iris: Re-emit MEDIA_VFE_STATE for variable group size shaders
anv: Handle errors properly in anv_i915_query
v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell
lavapipe: Use common Vulkan format helpers
broadcom/compiler: emit TMU flush before a jump
nv50/ir/nir: fix smem size for GL
radeonsi: don’t expose no-attachment MSAA 16x on all 1 RB chips due to issues
st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage
egl/android: include “util/compiler.h” for FALLTHROUGH macro
util/foz: stop crashing on destroy if prepare hasn’t been called
radeonsi: Check aux_context on si_destroy_screen()
mesa: clear shader_info::is_lowered in prog_to_nir
mesa: fix bindless uniform samplers update
aco: don’t create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16
freedreno/ir3: Don’t force RTNE if rounding mode is undefined
radv: only init the TC-compat ZRANGE metadata for the depth aspect
glsl: replace some C++ code with C
util: add workaround for Full Bore
glsl: relax rule on varying matching for shaders older than 4.20
lima: handle fp16 vertex formats
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jon Mason [Mon, 16 Aug 2021 22:01:42 +0000 (18:01 -0400)]
conf/machine: move tune files to architecture directories
Move all of the tune files found in conf/machine/include into their
respective architecture directories in that same location. All
references to these will need to be updated. So, change the relevant
ones for this tree in this commit as well.
For the ARM tunes, nest them one further into armv8a, armv8m, etc. and
rename some to make them uniform with the rest of the tunes.
Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>