Daniel McGregor [Fri, 6 Aug 2021 16:15:42 +0000 (10:15 -0600)]
nfs-utils: Configure nfsv4 ID mapping & Kerberos
Add support for the nfsv4 user ID mapping daemon, configured with
a sensible default, and add a packageconfig for Kerberos support.
This is reasonably tested in production in our environment, but only
systemd support. There'll be some more work to do to get GSSAPI and
NFS idmapd support integreated into that.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Daniel McGregor [Fri, 15 Mar 2024 21:39:45 +0000 (15:39 -0600)]
nfs-utils: Use upstream systemd service files
Reduce diffs against upstream by using the service files provided
by them. This reduces our dependence on patches that simply change
the names of a service.
This also changes the way some nfs options get set for systemd, it
introduces the nfs.conf file for configuration, which all daemons
already support.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Daniel McGregor [Mon, 9 Sep 2019 22:04:05 +0000 (16:04 -0600)]
nfs-utils: clean up startup
Change the sysvinit script to start at the S runlevel, this matches
Debian, and prevents systemd from generating a unit file for it.
Also have the nfsd systemd service request the nfsd kernel filesystem
mountpoint. This avoids startup failures in unpriviled containers
or other setups that don't support the filesystem.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Jose Quaresma [Thu, 4 Apr 2024 09:45:57 +0000 (10:45 +0100)]
sstatesig: fix netrc.NetrcParseError exception
Looks like sometimes the e.filename and the e.lineno is not properly set by the netrc
and this can cause TypeError.
| File "/poky/meta/lib/oe/sstatesig.py", line 342, in init_rundepcheck
| bb.warn("Error parsing %s:%d: %s" % (e.filename, e.lineno, e.msg))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| TypeError: %d format: a real number is required, not NoneType
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The problem is the following:
AssertionError: 'gitsm://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master' != 'git://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master'
Mbedlts made changes to their repository, adding a sub-module, thus the
assert triggers an error with the url:
git://git@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master
Jose Quaresma [Thu, 4 Apr 2024 10:16:57 +0000 (11:16 +0100)]
go: keep the patches in order
drop the old version no more used 0007-exec.go-do-not-write-linker-flags-into-buildids.patch
that was replaced by the 0001-exec.go-filter-out-build-specific-paths-from-linker-.patch
renamed now to 0007-exec.go-filter-out-build-specific-paths-from-linker-.patch
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enrico Jörns [Mon, 26 Feb 2024 22:39:18 +0000 (23:39 +0100)]
perf: fix TMPDIR contamination for recent mainline kernels
The sed command
sed -i -e "s,prefix='\$(DESTDIR_SQ)/usr'$,prefix='\$(DESTDIR_SQ)/usr' --install-lib='\$(PYTHON_SITEPACKAGES_DIR)' --root='\$(DESTDIR)',g" \
${S}/tools/perf/Makefile.perf
that was introduced by oe-core commit 43f96506 ("perf: fix the
install-python_ext") [1] and adapted with oe-core commit 138673f8
("perf: Fix reproducibility issues with 5.19 onwards") [2], patches the
'setup.py install' arguments for the 'install-python_ext' Make target
similar to what the setuptools3_legacy.bbclass provides as
${SETUPTOOLS_INSTALL_ARGS}.
However, this only applies to the linux-yocto kernel patched with
linux-yocto commit 3fd60d4d ("perf: change --root to --prefix for python
install") [3] that was introduced in 2012 and never went upstream in any
way.
For a recent mainline kernel instead, we will run into host path
contamination QA warnings like:
| WARNING: perf-1.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.11/site-packages/perf-0.1-py3.11-linux-x86_64.egg/EGG-INFO/SOURCES.txt in package perf-python contains reference to TMPDIR
| File /usr/lib/python3.11/site-packages/perf-0.1-py3.11-linux-x86_64.egg/__pycache__/perf.cpython-311.pyc in package perf-python contains reference to TMPDIR [buildpaths]
To fix this, this commit introduces a replacement for Makefile.perf that
results in the exact same setup.py install args as for the linux-yocto
kernel.
In oe-core commit c849ed0c ("perf: fix the install-python_ext on
upstream kernel") [4], the sed that was originally meant for 'Makefile'
only, was extended to 'Makefile*' (and thus including) Makefile.perf to
fix similar issues.
Since this would the affect the just-introduced Makefile.perf-specific
sed, the scope of this extra sed was limited back to 'Makefile' only.
The line could also be entirely removed maybe, since it seems to be for
very old kernels only.
In general, I would tend to argue that the above-mentioned linux-yocto
patch for should be dropped if it requires additional sed-based
patching anyway.
Ryan Eatmon [Wed, 28 Feb 2024 01:33:27 +0000 (19:33 -0600)]
perf: Fix QA error due to most recent kernel
A change in the latest kernel (next), triggers a QA error due to a
missing RDEPENDS on perl for perf-tests.
ERROR: QA Issue: /usr/libexec/perf-core/tests/shell/common/check_no_patterns_found.pl contained in package perf-tests requires /usr/bin/perl, but no providers found in RDEPENDS:perf-tests? [file-rdeps]
Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Bruce Ashfield [Wed, 3 Apr 2024 18:10:32 +0000 (14:10 -0400)]
lttng-modules: update to v2.13.12
We drop our previously backported patches for v6.8 kernels as they are
part of the 2.13.12 release of lttng and we add backports for v6.9+
kernels.
Bumping lttng-modules to version v2.13.12-7-g52eb2ee9, which comprises the following commits:
52eb2ee9 Fix: dev_base_lock removed in linux 6.9-rc1 175fe77c Fix: mm_compaction_migratepages changed in linux 6.9-rc1 303434ab Fix: ASoC add component to set_bias_level events in linux 6.9-rc1 88c4e0fe Fix: ASoC snd_doc_dapm on linux 6.9-rc1 578ab207 Fix: build kvm probe on EL 8.4+ 057ad399 Fix: support ext4_journal_start on EL 8.4+ 3ca21738 Fix: correct RHEL range for kmem_cache_free define 4ba4f0ec Version 2.13.12 1124749b docs: Add supported versions and fix-backport policy c302cf1d docs: Add links to project resources d6b75831 Fix: Correct minimum version in jbd2 SLE kernel range 9e6736d6 Fix: Handle recent SLE major version codes 5d331562 Fix: build on sles15sp4 f6800492 Compile fixes for RHEL 9.3 kernels d988f04a Fix: ext4_discard_preallocations changed in linux 6.8.0-rc3 616c60b9 Fix: btrfs_get_extent flags and compress_type changed in linux 6.8.0-rc1 8d195927 Fix: btrfs_chunk tracepoints changed in linux 6.8.0-rc1 7e8d89d1 Fix: strlcpy removed in linux 6.8.0-rc1 f4c1678d Fix: timer_start changed in linux 6.8.0-rc1 60a1e809 Fix: sched_stat_runtime changed in linux 6.8.0-rc1
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Harish Sadineni [Fri, 22 Mar 2024 10:08:45 +0000 (03:08 -0700)]
binutils: gprofng - change use of bignum to use of bignint
In SDK, The "x86_64-pokysdk-linux-gp-display-html" fails with below error while genearting profiling html reports from test experiment file (eg., test.1.er)
Error: Undefined subroutine &bigint::hex called at .../sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-pokysdk-linux-gp-display-html line 4059, <MAP_XML> line 1.
Martin Jansa [Mon, 26 Feb 2024 13:31:51 +0000 (14:31 +0100)]
pixman: explicitly disable openmp in native builds
* on some hosts (e.g. on my gentoo after recent update) it detects OpenMP in do_configure:
Run-time dependency OpenMP found: YES 4.5
but then fails in do_compile as shown in:
http://errors.yoctoproject.org/Errors/Details/754632/
it's only used in tests, so should be safe to disable for native builds
* the check in meson uses /usr/include/omp.h which is provided by libomp
even when openmp support is disabled in native gcc in gentoo this happned
after switching from 17.1 profile to 23.0 which doesn't include openmp
USE flag by default, if you later run depclean it will uninstall libomp
as well which will fix this conflict in meson's OpenMP autodetection
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Kevin Hao [Tue, 5 Mar 2024 06:34:25 +0000 (14:34 +0800)]
image-live.bbclass: Adjust the default value for INITRD_LIVE
The ${INITRAMFS_FSTYPES} may contains multi filesystem types,
such as "cpio.gz cpio.xz". So it can't be used directly in setting
of the default INITRD_LIVE. We choose the first filesystem type
in ${INITRAMFS_FSTYPES} for the default INITRD_LIVE.
Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Markus Volk [Sun, 31 Mar 2024 16:07:57 +0000 (18:07 +0200)]
epiphany: update 45.3 -> 46.0
46.0 - March 15, 2024
=====================
* Improve keyboard navigation of address bar dropdown (#1726, Markus Göllnitz)
* Add "Send Link by Email..." to context menu for links (#2037, Leon Marz)
* Use selected text when middle clicking on New Tab button (#2159)
46.rc - February 29, 2024
===========================
* Close security popover after selection (#2215)
* Focus location entry on search hotkey (#2278)
* Close page menu popover on print, search and fullscreen actions (#2283)
* Forward key events directly to web view (#1915) (#2173)
* Updated translations
46.beta - February 10, 2024
===========================
46.alpha - January 5, 2024
==========================
* Use web app manifest to get better app name and icon (#931)
* Prevent websites from using certain Epiphany internal APIs (#1664)
* Fix poor Firefox Sync error message when gnome-keyring is not installed (#1755)
* Reduce adblock filter update interval on metered connections (#2152)
* Rename Firefox Account to Mozilla Account (#2231)
* Hide various context menu items when text is selected (#2258)
* Remove Google Safe Browsing support due to terms of service changes (!335)
* Hide developer context menu actions by default (!1392, Vitaly Dyachkov)
* Update to highlight.js 11.9.0 (!1394)
* Use AdwSpinRow in preferences dialog (Pig, !1411)
* Many improvements to appstream metainfo (Sabri Ünal, !1398, !1399, !1414, !1422, !1425)
* Updated translations
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Volk [Sun, 31 Mar 2024 15:58:49 +0000 (17:58 +0200)]
gtk+3: disable wayland without opengl
Wayland backend requires epoxy so it will pull in a requirement for opengl
While doing some tests in building old stuff like matchbox-terminal with
vte 0.76, I encountered an issue with building matchbox-terminal without
opengl in DISTRO_FEATURES.
Explicitly stating that the Wayland backend requires opengl fixes this problem
and allows matchbox-terminal to be used without.
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc: Skip 2 qemu tests that can hang in oe-selftest
qemumips and qemuppc were leaving stale processes behind after
running glibc oe-selftest. During analysis, it was found that
it was due to "tst-scm_rights" and "tst-scm_rights-time64" tests.
Disable them so that there are no stale processes left behind.
Markus Volk [Mon, 1 Apr 2024 15:24:39 +0000 (17:24 +0200)]
webkitgtk: update 2.42.5 -> 2.44.0
- add a PACKAGECONFIG for libbacktrace to avoid:
| -- Could NOT find LibBacktrace (missing: LIBBACKTRACE_INCLUDE_DIR LIBBACKTRACE_LIBRARY)
| CMake Error at Source/cmake/OptionsGTK.cmake:425 (message):
| libbacktrace is required for USE_LIBBACKTRACE
- while at it also add a PACKAGECONFIG for gamepad
- remove submitted patch. Issue seems to be fixed. Not entirely
sure about that, but there has been rework:
[https://bugs.webkit.org/show_bug.cgi?id=267349]
I also did a test build with oe-core/poky for qemuarm.
It completed without error
- There is an issue with creating the json files if
CMAKE_EXPORT_COMPILE_COMMANDS is enabled. Disable this
for now to fix the build:
FAILED: CMakeFiles/RewriteCompileCommands DeveloperTools/compile_commands.json /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/CMakeFiles/RewriteCompileCommands /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/DeveloperTools/compile_commands.json
cd /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build && /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/recipe-sysroot-native/usr/bin/python3-native/python3 /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/webkitgtk-2.44.0/Tools/Scripts/rewrite-compile-commands /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/compile_commands.json /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build/DeveloperTools/compile_commands.json /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/webkitgtk-2.44.0 /home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/build
/home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/recipe-sysroot-native/usr/bin/python3-native/python3: can't open file '/home/flk/poky/build-hypr/tmp/work/corei7-64-poky-linux/webkitgtk/2.44.0/webkitgtk-2.44.0/Tools/Scripts/rewrite-compile-commands': [Errno 2] No such file or directory
- Add a patch to fix webassembly for riscv64
- Add a backport patch to fix the build for 32bit architectures
- Fix connection of UI and web process accessibility tree in GTK4.
- Add BubblewrapLauncher sandbox directory for the gstreamer user registry cache directory.
- Fix bug causing preferred language to not be passed to NetworkProcess if set in WebContext before creating WebView.
- Do not use real time priority for the display link thread.
- Use a shorter web process cache lifetime.
- Fix several crashes and rendering issues.
- Translation updates: German, Polish, Swedish, Turkish.
- Remove key event reinjection in GTK4 to make keyboard shortcuts work in web sites.
- Use the new GTK API to create a GdkTexture from a DMA-BUF buffer when available.
- Fix rendering when GTK is using the vulkan renderer.
- Fix gamepads detection by correctly handling focused window in GTK4.
- Fix rendering after history navigation.
- Write bwrapinfo.json to disk for xdg-desktop-portal.
- Fixed several memory leaks in media backend.
- Fix several crashes and rendering issues.
- Show vblank monitor information in webkit://gpu.
- Fallback to timer based vblank monitor if drmWaitVBlank fails.
- Fix several memory leaks in media backend.
- Fix several crashes and rendering issues.
- Remove the X11 and WPE renderers.
- Release unused buffers when the view is hidden.
- Fix flickering while playing videos with DMA-BUF sink.
- Do not special case the "sans" font family name.
- Fix webkit_web_context_allow_tls_certificate_for_host() for IPv6 URIs produced by SoupURI.
- Fix several crashes and rendering issues.
- Improve vblank synchronization when rendering.
- Improve DMA-BUF buffers handling for video frames.
- Use the buffer format preferred by the driver in DMA-BUF renderer.
- Do not block the compositing thread waiting for rendering threads.
- Improve performance when scaling images in a canvas.
- Fix several crashes and rendering
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Upgrade gnutls SRCREV for new version
- Refresh patches for 3.8.4
Changelog:
==========
** libgnutls: RSA-OAEP encryption scheme is now supported
To use it with an unrestricted RSA private key, one would need to
initialize a gnutls_x509_spki_t object with necessary parameters
for RSA-OAEP and attach it to the private key. It is also possible
to import restricted private keys if they are stored in PKCS#8
format.
** libgnutls: Fix side-channel in the deterministic ECDSA.
Reported by George Pantelakis (#1516).
[GNUTLS-SA-2023-12-04, CVSS: medium] [CVE-2024-28834]
** libgnutls: Fixed a bug where certtool crashed when verifying a certificate
chain with more than 16 certificates. Reported by William Woodruff (#1525)
and yixiangzhike (#1527).
[GNUTLS-SA-2024-01-23, CVSS: medium] [CVE-2024-28835]
** libgnutls: Compression libraries are now loaded dynamically as needed
instead of all being loaded during gnutls library initialization.
As a result, the library initialization should be faster.
** build: The gnutls library can now be linked with the static library
of GMP. Note that in order for this to work libgmp.a needs to be
compiled with -fPIC and libhogweed in Nettle also has to be linked
to the static library of GMP. This can be used to prevent custom
memory allocators from being overriden by other applications.
** API and ABI modifications:
gnutls_x509_spki_get_rsa_oaep_params: New function.
gnutls_x509_spki_set_rsa_oaep_params: New function.
GNUTLS_PK_RSA_OAEP: New enum member of gnutls_pk_algorithm_t.
Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lttng-tools: fix rotation-destroy-flush test fails if no kernel module present
lttng-tools supports testing the userspace application without kernel
module since oe-core commit e0d8494b, this is a fix that testcase
rotation-destroy-flush report LTTNG_ABORT_ON_ERROR when no lttng kernel
module present.
Fixes: e0d8494b (lttng-tools: skip kernel tests if no kernel modules present) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chen Qi [Wed, 6 Mar 2024 06:54:43 +0000 (22:54 -0800)]
ovmf: set CVE_PRODUCT and CVE_VERSION
Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the
version should be the date only. Here's an example:
https://nvd.nist.gov/vuln/detail/CVE-2023-45232
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lixiaoyong [Sat, 30 Mar 2024 06:41:11 +0000 (14:41 +0800)]
oe/package: enhance objdump command call with llvm
Replace `${HOST_PREFIX}objdump` with `${OBJDUMP}`.
When utilizing llvm for compiling packages, the invocation of GNU objdump
will consistently occur during package precess. This behavior is unfriendly
to llvm. So prefer `${OBJDUMP}` over `${HOST_PREFIX}objdump`.
Signed-off-by: lixiaoyong <lixiaoyong19@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lixiaoyong [Sat, 30 Mar 2024 06:41:10 +0000 (14:41 +0800)]
utils: enhance readelf command call with llvm
Replace `${HOST_PREFIX}readelf` with `${READELF}`.
When utilizing llvm for compiling packages, the invocation of GNU readelf
will consistently occur if the oe_soinstall and oe_libinstall functions,
which are defined in utils.bbclass, are called. This behavior is unfriendly
to llvm. So prefer `${READELF}` over `${HOST_PREFIX}readelf`.
Signed-off-by: lixiaoyong <lixiaoyong19@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Volk [Fri, 29 Mar 2024 15:24:48 +0000 (16:24 +0100)]
systemd: disable mdns feature in resolved for zeroconf
DISTRO_FEATURE zeroconf installs avahi. If additionally resolved mdns
implementation is running they will fight each other:
Mar 29 13:31:51 intel-corei7-64 avahi-daemon[752]: *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Mar 29 13:31:51 intel-corei7-64 avahi-daemon[752]: *** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Timon Bergelt [Thu, 28 Mar 2024 11:06:08 +0000 (11:06 +0000)]
populate_sdk_ext.bbclass: only overwirte lsb string if uninative is used
Overwriting the lsb string without inheriting from uninative causes
shared state cache entries to end up in the wrong path where they are
not beeing picked up by the extensible SDK environment.
Signed-off-by: Timon Bergelt <timon.bergelt@pm.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enrico Jörns [Tue, 5 Mar 2024 21:57:28 +0000 (22:57 +0100)]
cml1: prompt location of updated .config after do_menuconfig()
When modifying the kernel config by invoking '-c menuconfig' manually, a
sensible next step is to persist this changed configuration somewhere.
A way to do this is to copy the generated .config back to the original
config location.
For this purpose, emit a copy+pasteable printout of the saved .config
path similar to what we have for the fragment location in the
'diffconfig' task already.
Example output:
| Changed configuration saved at:
| /path/to/bsp/build/tmp/work/my-machine-oe-linux/linux-custom/6.6.4/build/.config
| Recompile will be forced
Signed-off-by: Enrico Jörns <ejo@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enrico Jörns [Tue, 5 Mar 2024 21:57:27 +0000 (22:57 +0100)]
cml1: remove needless check for write_taint attribute
The 'FIXME' comment itself says to remove this once the minimum bitbake
version has been bumped. This was in 2012.
The function was introduced in bitbake commit f7b55a94 ("bitbake:
bitbake: ensure -f causes dependent tasks to be re-run") and is already
part of bitbake 1.15.3 which is the minimum bitbake version since
'danny'.
Remove the check.
Signed-off-by: Enrico Jörns <ejo@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changqing Li [Mon, 25 Mar 2024 04:47:11 +0000 (12:47 +0800)]
dnf: fix Exception handling for class ProcessLock
Yocto based systems will sometimes have log_lock.pid left in target
filesystems. Users typing 'ls /' will notice it, and will never be
removed.
It happened when log rotate happened, refer [1], since the problem
descripted in patch 0001-lock.py-fix-Exception-handling.patch, file
log_lock.pid will not be removed after dnf exit. For target system,
refer [4], dnf have a solution to remove it. But for OE, refer commit
[2][3], for fix another issue, OE changed log_lock.pid to root dir for
native dnf, so solution in [4] not works for log_lock.pid under "/", so
it will always exist under "/" of target system.
Use patch 0001-lock.py-fix-Exception-handling.patch to fix the problem.
Khem Raj [Tue, 26 Mar 2024 05:27:08 +0000 (22:27 -0700)]
tcl: Forward port skip logic for musl ptests
commit 9d1df0596f6f3db6f63ae83559fbea3cc372503a overhauled
run-ptest script which did not consider the edits being
done from recipe especially for musl ptests. Bring the skip
editing to follow the new logic in run-ptest
Fixes Failed ptests:
{'tcl': ['unixInit.test']}
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 27 Mar 2024 11:15:07 +0000 (11:15 +0000)]
openssl: fix crash on aarch64 if BTI is enabled but no Crypto instructions
On aarch64, if the processor doesn't have the Crypto instructions then
OpenSSL will fall back onto the "bit-sliced" assembler routines. When
branch protection (BTI) was enabled in OpenSSL these routines were
missed, so if BTI is available libssl will immediately abort when it
enters this assembler.
Backport a patch submitted upstream to add the required call target
annotations so that BTI doesn't believe the code is being exploited.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the Upstream-Status URL for patch:
0002-ssaparse-enhance-SSA-text-lines-parsing.patch
since the bug tracker moved but the bug is not yet resolved.
"gstreamer 1.22.9 and 1.22.10 contain a regression that cause the audio
output to freeze when muting. this regression has been fixed in 1.22.11"
[YOCTO #15456]
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 28 Mar 2024 13:03:34 +0000 (13:03 +0000)]
run-postinsts: Add workaround for locking deadlock issue
When run-postinsts is installed, a service is added for system which can run
while the package is still being installed. This calls "opkg configure" and if
package management is still running, it can deadlock and error.
To work around this, call fcntl-lock on the opkg lock file and if the lock
was held, it would wait to obtain it. This wait gives the package management
time to finish the install before the configure can then take the lock and run.
Note the dependency in SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS otherwise we'd see
sstate selftest failures.
Also ensure that if the configure fails, the scripts returns an error. This
applies to opkg and dpkg.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 28 Mar 2024 13:02:51 +0000 (13:02 +0000)]
util-linux: Add fcntl-lock
Add a version of flock that uses the fnctl based lockf locking instead of
flock based locks. This allows us to take the same lock that opkg would
use from a shell script. The two different locking mechanisms operate
independently of each other.
Inserting this C file into the util-linux build seems like the easiest/best
place to insert the code. At this point it hasn't been discussed with upstream.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Thu, 28 Mar 2024 18:43:02 +0000 (14:43 -0400)]
linux-yocto/6.6: nftables: ptest and cleanup tweaks
Integrating the following commit(s) to linux-yocto/.:
1/2 [
Author: William Lyu
Email: William.Lyu@windriver.com
Subject: features/nf_tables: nft_objref is now builtin
Date: Wed, 27 Mar 2024 08:52:14 -0700
Starting from kernel v6.2 (including all rc versions),
CONFIG_NFT_OBJREF has become builtin and cannot be disabled [1]. So,
this configure option is removed from nf_tables.cfg.
Signed-off-by: William Lyu <William.Lyu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
2/2 [
Author: William Lyu
Email: William.Lyu@windriver.com
Subject: features/nf_tables: Add net_fib_* options for greater ptest coverage
Date: Wed, 27 Mar 2024 08:52:15 -0700
Several nftables ptest testcases failed due to missing features. The
following kernel configuration options are added as part of the missing
features:
- NFT_FIB_INET (tristate "Netfilter nf_tables fib inet support")
This option allows using the FIB expression from the inet table.
The lookup will be delegated to the IPv4 or IPv6 FIB depending
on the protocol of the packet.
- NFT_FIB_IPV4 (tristate "nf_tables fib / ip route lookup support")
This module enables IPv4 FIB lookups, e.g. for reverse path filtering.
It also allows query of the FIB for the route type, e.g. local, unicast,
multicast or blackhole.
- NFT_FIB_IPV6 (tristate "nf_tables fib / ipv6 route lookup support")
This module enables IPv6 FIB lookups, e.g. for reverse path filtering.
It also allows query of the FIB for the route type, e.g. local, unicast,
multicast or blackhole.
Adding those three kernel configuration options above pass the following
ptest testcases:
- tests/shell/testcases/parsing/large_rule_pipe
Previously failed due to using rule:
meta nfproto ipv6 fib saddr . iif oif missing drop
- tests/shell/testcases/nft-f/sample-ruleset
Previously failed due to using rules:
fib saddr . iif oif eq 0 counter drop
fib daddr type { broadcast, multicast, anycast } counter drop
fib daddr type { broadcast, multicast, anycast } counter drop
fib daddr type { broadcast, multicast, anycast } counter drop
- tests/shell/testcases/optimizations/ruleset
Previously failed due to using rule:
fib daddr type broadcast drop
Signed-off-by: William Lyu <William.Lyu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
selftest/sstatetests: run CDN check twice, ignoring errors the first time
The current CDN isn't able to serve all objects on first request, and it
was suggested to work around that by trying again:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15335#c16
Once CDN moves to a better location this can probably be reverted.
[YOCTO #15335]
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 28 Mar 2024 16:44:23 +0000 (16:44 +0000)]
glib-2.0: skip a timing sensitive ptest
The /timeout/rounding test is sensitive to system load, as it expects
timeouts to trigger in windows that on an idle system are realistic but
not when running inside a qemu-system on a loaded system.
[ YOCTO #14464 ]
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Thu, 28 Mar 2024 16:22:21 +0000 (09:22 -0700)]
liberror-perl: move to meta-perl
The upstream maintainer for Error has deprecated it for quite some time [1].
The only dependency in oe-core was coreutils-ptest.
[YOCTO #15461]
[1] https://metacpan.org/pod/Error#WARNING
Using the "Error" module is no longer recommended due to the black-magical
nature of its syntactic sugar, which often tends to break. Its maintainers
have stopped actively writing code that uses it, and discourage people from
doing so. See the "SEE ALSO" section below for better recommendations [2].
[2] https://metacpan.org/pod/Error#SEE-ALSO
SEE ALSO
--------
See Exception::Class for a different module providing Object-Oriented
exception handling, along with a convenient syntax for declaring hierarchies
for them. It doesn't provide Error's syntactic sugar of try { ... },
catch { ... }, etc. which may be a good thing or a bad thing based on what
you want. (Because Error's syntactic sugar tends to break.)
Error::Exception aims to combine Error and Exception::Class "with correct
stringification".
TryCatch and Try::Tiny are similar in concept to Error.pm only providing a
syntax that hopefully breaks less.
Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Thu, 28 Mar 2024 16:22:19 +0000 (09:22 -0700)]
coreutils: drop obsolete liberror-perl RDEPENDS
The upstream maintainer for Error has deprecated it for quite some time [1].
There is no dependency in current coreutils tests for it.
[YOCTO #15461]
[1] https://metacpan.org/pod/Error#WARNING
Using the "Error" module is no longer recommended due to the black-magical
nature of its syntactic sugar, which often tends to break. Its maintainers
have stopped actively writing code that uses it, and discourage people from
doing so.
Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lixiaoyong [Mon, 25 Mar 2024 07:24:31 +0000 (15:24 +0800)]
kernel-module-split.bbclass: enhance objcopy command call for kernel compilation with llvm
Using meta-clang for llvm kernel compilation previously defaulted to the gcc objcopy tool.
To improve flexibility and compatibility, $OBJCOPY is preferred over $HOST_PREFIXobjcopy
in the kernel-module-split.bbclass.
With $OBJCOPY already defined in bitbake.conf, the empty condition has been removed,
simplifying the invocation process.
Signed-off-by: lixiaoyong <lxy204899@163.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Anibal Limon [Sat, 23 Mar 2024 19:53:03 +0000 (13:53 -0600)]
wic: bootimg-partition allow to set var to get boot files
This is a generic functionality that takes a set of files and create a
boot parition based on IMAGE_BOOT_FILES var, allow to sepcify the
variable name so a BSP plugin can extend this and re-use the
functionality.
Signed-off-by: Anibal Limon <anibal@limonsoftware.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 22 Mar 2024 16:49:59 +0000 (16:49 +0000)]
classes/qemuboot: add depends on qemu-system-native and qemu-helper-native
Any image that inherits qemuboot must also add image dependencies on
qemu-system-native and qemu-helper-native, otherwise the image won't
be able to be booted.
Currently this is done by conf/machine/include/qemu.inc, but not every
machine that uses qemuboot includes that file.
Move the EXTRA_IMAGEDEPENDS from qemu.inc into qemuboot.bbclass, so that
the dependencies don't have to be duplicated.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 22 Mar 2024 13:07:24 +0000 (09:07 -0400)]
linux-yocto/6.6: cfg: genericarm64 platform/peripheral support
Integrating the following commit(s) to linux-yocto/.:
1/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: include .scc files instead of .cfg
Date: Wed, 20 Mar 2024 19:42:09 +0000
Some .cfg files were included accidentally, fix this.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
2/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: move CONFIG_PHYLINK under the right comment
Date: Wed, 20 Mar 2024 19:42:10 +0000
A bug in my annotation script meant this item ended up in the wrong place.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
3/12 [
Author: Bill Mills
Email: bill.mills@linaro.org
Subject: bsp/genericarm64: Automatically create /dev/i2c* devices
Date: Wed, 20 Mar 2024 19:42:11 +0000
With CONFIG_I2C_DEV=m you must modprobe that module in order to get the
/dev nodes. It is a small module (~8.5K) so just include it in.
Signed-off-by: Bill Mills <bill.mills@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
4/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: enable hugetlbfs
Date: Wed, 20 Mar 2024 19:42:12 +0000
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
5/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: integrate the IMX clocks
Date: Wed, 20 Mar 2024 19:42:13 +0000
If these are kernel modules then there's a WARN_ON triggered when booted
on IMX boards.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
6/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: enable more SPI controllers
Date: Wed, 20 Mar 2024 19:42:14 +0000
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
7/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: enable PHY subsystem
Date: Wed, 20 Mar 2024 19:42:15 +0000
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
8/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: enable USB On-The-Go and Gadget
Date: Wed, 20 Mar 2024 19:42:16 +0000
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
9/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: enable SATA
Date: Wed, 20 Mar 2024 19:42:17 +0000
SBCs don't tend to use SATA, but larger platforms will.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
10/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: support some i.MX8 boards
Date: Wed, 20 Mar 2024 19:42:18 +0000
Add more hardware enabling so that NXP i.MX8M boards boot successfully.
Thanks to anton.antonov@arm.com for the options and testing.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
11/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: enable networking on Kontron KBox
Date: Wed, 20 Mar 2024 19:42:19 +0000
Thanks to anton.antonov@arm.com.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
12/12 [
Author: Ross Burton
Email: ross.burton@arm.com
Subject: bsp/genericarm64: enable Marvell ThunderX2 support
Date: Wed, 20 Mar 2024 19:42:20 +0000
Add the required options so that this BSP works on the Marvell ThunderX2.
Thanks to anton.antonov@arm.com for the config and testing.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Quentin Schulz [Thu, 21 Mar 2024 17:17:07 +0000 (18:17 +0100)]
u-boot: fix externalsrc not triggering do_configure on defconfig changes
externalsrc only monitors files listed in CONFIGURE_FILES environment
variable to know if it should trigger a rebuild of do_configure. By
default it is unset, but the defconfig from U-Boot should be listed
otherwise an old defconfig may be used even though the change is
technically detected by the do_compile logic later in the process.
Because U-Boot recipe uses `make oldconfig` when no defconfig is passed,
monitor .config for that special case.
This fixes U-Boot recipes not detecting defconfig changes when
devtool'ed.
shadow: don't install libattr.so.* when xattr not in DISTRO_FEATURES
Fixes the following issue:
install: cannot stat '.../recipe-sysroot-native/usr/lib/libattr.so.*': No such file or directory
...
ERROR: Task (virtual:native:.../shadow_4.14.2.bb:do_install) failed with exit code '1'
Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 21 Mar 2024 20:15:56 +0000 (20:15 +0000)]
tcl: improve run-ptest
By setting ERROR_ON_FAILURES we don't need to grep the output to know
if the tests failed. By default the log runner will print the failed
test case, so we don't need to store the log at all.
Set the skipped tests across multiple lines so that it's easier to see
what skips are related to what bugs, and to avoid very long lines.
Use basename instead of awk to get the test name.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Harish Sadineni [Fri, 22 Mar 2024 07:00:04 +0000 (00:00 -0700)]
gcc: Oe-selftest failure analysis - fix for vect-simd test failures
In gcc vect module, the vect-simd-clone-10.c & vect-simd-clone-12.c tests are failed with below error, due to a bug in testcase:
xgcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files compilation terminated'
Detailed bug info & upstream fix is here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113899
Ross Burton [Fri, 15 Mar 2024 14:37:49 +0000 (14:37 +0000)]
python3_pip517: just count wheels in the directory, not subdirectories
The install task uses a recursive find to check that it can only find
one wheel, but then does a non-recursive glob to install. This can
lead to false-failures if PEP517_WHEEL_PATH points at a directory with
subdirectories.
Solve this mismatch by making the find non-recusive.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Volk [Sun, 17 Mar 2024 17:26:27 +0000 (18:26 +0100)]
gtk4: update 4.12.5 -> 4.14.1
- Remove ffmpeg backend as it was removed upstream
Overview of Changes in 4.14.1, 16-03-2024
=========================================
* GtkTextView:
- Fix a mixup of cursor and anchor when retrieving surrounding text
in input methods
* Printing:
- Avoid accessing freed printers
* Accessibility:
- Fix memory leaks
* GDK:
- Rename the GDK_VULKAN_SKIP environment variable to GDK_VULKAN_DISABLE
- Add a GDK_GL_DISABLE environment variable
* GSK:
- Rename the GSK_GPU_SKIP environment variable to GSK_GPU_DISABLE
- Speed up handling of repeated ops, which should help for text
- Speed up the inner loop of text node conversion
- Drop the glyph-align optimization flag
- ngl: Avoid reusing frames while they are in use
- Fix flickering thumbnails in nautilus
- Speed up buffer handling in both ngl and Vulkan
* Demos:
- Skip demos using gl shaders when we're not using the gl renderer
* Build:
- Fix some ubsan warnings
- Avoid zink in ci since it spams stderr
* Translation updates:
Czech
German
Korean
Russian
Overview of Changes in 4.14.0, 12-03-2024
=========================================
Note: The new renderers and dmabuf support are using graphics drivers
in different ways than the old gl renderer, and trigger new driver bugs,
(see for example https://gitlab.gnome.org/GNOME/gtk/-/issues/6418 and
https://gitlab.gnome.org/GNOME/gtk/-/issues/6388). Therefore, it is
recommended to use the latest mesa release (24.x) with the new renderers.
* GtkTextView:
- Don't snapshot children twice
- Don't blink the cursor when hidden
* GtkSnapshot:
- Fix wrong nodes with transformed shadows
* GtkIMContext:
- Make gtk_im_context_activate_osk public
* Accessibility:
- Implement get_contents_at for all our text widgets
- Add GtkAccessibleText.get_default_attributes
* GSK:
- Don't fall back to cairo for software rendering. gl+llvmpipe is better
- Round vertical glyph position to a device pixel position if the font is hinted
- Fix problems with clip handling
- Make vulkan and ngl match their font handling
- Fix some corner-cases with offloading and clips
- Fix problem with rendering of missing glyphs in hinted fonts
* MacOs:
- Implement cursor-from-texture
* Translation updates:
Basque
British English
French
Indonesian
Kazakh
Latvian
Lithuanian
Norwegian Bokmål
Slovenian
Spanish
Turkish
Overview of Changes in 4.13.9, 02-03-2024
=========================================
* GtkEditable:
- Fix preconditions to be not too strict
* GtkEmojiChooser:
- Support search in the locale as well as in English
* GtkIconTheme:
- Make gtk_icon_paintable_new_for_file support symbolics
* GtkVideo:
- Fix a problem with cursor handling that could lead to crashes
* Accessibility:
- Fix GetCharacterAtOffset implementation
- Add a Terminal role
- Make TextCaretMoved match gtk3
- Support multiple levels of GtkEditable delegates
* GSK:
- Make the node parser more flexible for text nodes
- Change the way font scaling is handled to avoid clipping
- Fix handling of missing glyphs in the new renderers
* X11:
- Don't claim to support shadows without a compositor
* Wayland:
- Fix handling of output scales
* Tools:
- Add a compare command to gtk4-rendernode-tool
* Build:
- Fix some ubsan complaints
* Translation updates:
Basque
British English
Catalan
Finnish
Galician
Georgian
Hebrew
Indonesian
Kazakh
Latvian
Lithuanian
Persian
Polish
Russian
Slovenian
Spanish
Turkish
Ukrainian
Overview of Changes in 4.13.8, 20-02-2024
=========================================
* Accessibility:
- Add a GtkAccessibleText interface for allowing 3rd party
text widgets (notably vte) to be accessible
- Avoid duplicate accessible descriptions
- Fix GetAccessibleAtPoint
* GSK:
- Avoid offscreens for disjoint containers
- Don't use the gpu renderers with llvmpipe
- Fix various rendering issues found by tests
- Allow unnormalized node bounds again
- Fix a broken case of rounded-rect intersection
- Fix handling of external textures in gpu renderers
- Make gpu renderers work with WGL on Windows
* build:
- Allow building without dmabuf support on (old) Linux
* X11:
- Fix monitor enter/leave signals
* Translation updates:
Basque
Brazilian Portuguese
Catalan
Czech
Galician
Georgian
Hebrew
Lithuanian
Persian
Russian
Turkish
Ukrainian
Overview of Changes in 4.13.7, 11-02-2024
=========================================
* GtkFileChooser:
- Speed up opening
* GtkCalendar:
- Add some missing setters and getters
* Accessibility:
- Add socket support for webkit accessibility
- Implement AT-SPI text for GtkText
- Implement AT-SPI component generically
- Add an announce API
* GSK:
- Make the ngl renderer work on macOS
- Fix a crash in the vulkan renderer
- Make nodeparser allow aliases for fonts again
- Implement cache eviction for glyph and texture caches
- Fix ngl shaders to work on GL < 4.0
- Require GL 3.3 for the ngl renderer
- Fix problems with scaled shadows
- Fix problems with holes for underlaid subsurfaces
- Improve handling of scales and glyph cache efficiency
* Media:
- Support dmabufs in the gstreamer backend. This allows
zero-copy video playback on Wayland when paired with
hardware video decoding
- Drop the experimental ffmpeg backend. It hasn't been
building for a year
* Wayland:
- Commit empty frames if and double-buffered state is pending
- Fix monitor size information when using mutter without
the scale-monitor-framebuffer setting
- Clear the current tablet on tab leave, fixing a crash
* macOS:
- Propagate unhandled input events back to the OS
* Tools:
- Make the crash handling in gtk4-node-editor more robust
* Translation updates
Galician
Georgian
Occitan
Turkish
Overview of Changes in 4.13.6, 25-01-2024
=========================================
This release changes the ngl renderer to be the default renderer.
The intent of this change is to get wider testing and verify that
the new renderers are production-ready. If significant problems
show up, we will revert this change for 4.14.
You can still override the renderer choice using the GSK_RENDERER
environment variable.
Since ngl can handle fractional scaling much better than the old gl
renderer, we allow fractional scaling by default with gl now. If you
are using the old gl renderer (e.g. because your system is limited to
GLES2), you can disable fractional scaling by setting the GDK_DEBUG
environment variable to include the gl-no-fractional key.
* GtkColumnView:
- Fix infinite loops in dispose
- Fix problems with weak ref cycles in GtkExpression
* GtkListView:
- Fix some corner cases with sections during insertions and deletions
- Don't double-recycle widgets
* GtkStack:
- Add automatic cleanup for GtkStackPage
* GDK:
- Use standard cursor names for drag cursors
- Enable fractional scaling with gl by default
* GSK:
- Many fixes and improvements to the unified renderers:
- Fix text rendering with the uber shader
- Fix rounding issues with fractional scales
- Fix some memory leaks
- Many text rendering fixes
- Implement subpixel positioning for glyphs
- Support custom fonts in node files
- Add tests for font rendering
- Fix drawing of repeat nodes
- Implement subpixels positioning
- Evict stale textures, glyphs and atlases from the cache
- Some fixes and improvements to the GL renderer:
- Fix problems with GLES on Nvidia
- Avoid a crash in the mask demo
- Respect opacity of the first child node in containers
- Some fixes and improvements to the fallback renderer:
- Fix drawing of repeat nodes
- Make ngl the default renderer
* Wayland:
- Fix problems with tablet cursors
- Fix problems without seats
* Accessibility:
- Respect a separate "show-status-shapes setting
- Fix change notification for accessible names on some widgets
* Inspector:
- Show the git commit in devel builds
* Tools:
- Make gtk4-node-editor autosave its contents
- Add a benchmark command to gtk4-rendernode-tool
* Translation updates:
French
Galician
Georgian
Occitan
Persian
Russian
Vietnamese
Overview of Changes in 4.13.5, 07-01-2024
=========================================
This release adds two new GSK renderers called vulkan and ngl,
that are built from the same sources. The new renderers can
handle many corner cases correctly that the current gl renderer
does not handle, and they offer advantages such as antialiasing
and supersampled gradients.
The new renderers are still considered experimental, and GTK
will only use them if they are explicitly selected using the
GSK_RENDERER environment variable.
As part of this work, the GSK include files have been rearranged.
It is no longer necessary to include renderer-specific headers for
ngl and vulkan (and doing so will trigger deprecation warnings),
and their constructors are always available.
The previously available experimental GdkVulkanContext APIs and
the old Vulkan renderer have been removed.
Vulkan is now enabled by default, and Linux distributions should
build GTK with Vulkan support. This requires the glslc shader
compiler as a new dependency.
Vulkan is now also used for dmabuf support.
* GtkDropdown:
- Fix display of initial selection
* GtkShortcutsWindow:
- Make the window adapt to smaller screen widths
* GtkTextView:
- Fix a possible NULL dereference in history
* GDK:
- Make the png loader safer against overflows
* GL:
- Fix some errors in handling of texture formats and mipmaps
Overview of Changes in 4.13.4, 30-12-2023
=========================================
* GtkFileDialog:
- Return an error if no file is selected
* GtkFileLauncher:
- Add a writable property
* GtkFileChooserNative:
- Make closing portal file dialogs work
* GtkEmojiChooser:
- Update Emoji data to CLDR v43
* GtkStringList:
- Add item-type and n-itmes properties
* Input:
- Respect GTK grabs on DND events
- Fix crossing event generation for enter/leave
* Wayland:
- Avoid recreating wl_buffers needlessly
- Be more careful when loading cursors
* Dmabuf:
- Add support for all Dmabuf formats
- Tweak the offload code a bit, allow offloading translucent
textures, as long as they are raised. Decline to offload
with fractional scales.
* Accessibility:
- Add a few more accessible roles
* GL:
- Use GLES by default
- Tweak GDK_DEBUG values. The new values are
gl-disable-gl, gl-disable-gles and gl-prefer-gl.
The gl-legacy and nograbs values have been dropped.
* GtkFileChooser:
- Make "Visit file" scroll to the file
* GtkSwitch:
- Respect text direction
* GtkWindow:
- Don't assume titlebars are GtkHeaderBars
* Printing:
- Fix some problems with the portal implementation
- Add a new simple print API: GtkPrintDialog
* Paths:
- GskPathMeasure performance has been improved
- Add custom contours for circles, rounded rectangles and rectangles
- Simplify GskPathPoint handling
- gsk_path_point_get_closest_point now returns the distance as well
- Make GskPathBuilder simplify curves
* Input:
- Handle (some) single-key compose sequences
- Fix active state tracking with sensitivity changes and grabs
* GSK:
- Make the repeated gradients match between GL and cairo
- Make rounded rect shrinking match between Vulkan, GL and cairo
- Fix parsing of text nodes with color glyphs
- Restrict an optimization to the cases where it is crrect
- Fix rendering of shadows with opacity
- The Vulkan renderer now requires Vulkan 1.2
- GL: Transition gradients unpremultiplied
- GL: Fix clipping of shadows
- GL: Some optimizations
- Broadway: Fix memory leaks in the renderer
* Wayland:
- Make activation more reliable
* macOS:
- Clamp damage regions to the surface size
* Tools:
- gtk4-path-tool gained restrict and reverse commands
- gtk4-path-tool show and render can show control points
* Demos:
- Add a demo for hit testing with paths
* Build:
- Fix build problems with C++ compilers
* Deprecations:
- gtk_window_present_with_time
* Translation updates
Brazilian Portuguese
British English
Catalan
Chinese (China)
Czech
Danish
Dutch
Esperanto
Galician
Georgian
Italian
Korean
Latvian
Lithuanian
Persian
Polish
Punjabi
Slovenian
Turkish
Overview of Changes in 4.13.0, 25-08-2023
=========================================
* GskPath, GskPathBuilder, GskPathMeasure:
Data types and APIs for path rendering. These APIs are still
considered experimental, and may change until 4.14. Please try
them out and give us feedback. Documentation can be found
here: https://docs.gtk.org/gsk4/paths.html
* GtkGridView:
- Fix a crash when scrolling
* GtkColumnView:
- Fix a refcounting issue in the new scroll_to api
* GtkTreeView
- Fix style classes for sort arrows
* GtkEntry:
- Improve tracking of user changes (for undo)
* GtkNotebook:
- Fix a critical when switching pages
* GtkColor/FontDialogButton:
- Make these widgets activatable
* GtkMenuButton:
- Fix problems with focus handling
- Fix problems with DND
- Make flags a settable property
* GtkShortcutsWindow:
- Add API to build shortcuts windows programmatically
* Printing
- Fix the cpdb backend build
* MacOS:
- Make file filters work again
* GSK:
- Fix issues with color matrix nodes
* Wayland:
- Fix a crash with compositors other than gnome-shell
* Tools:
- gtk4-path-tool provides a commandline interface for paths
* Translation updates:
Basque
Catalan
Finnish
Galician
Georgian
German
Greek
Indonesian
Kazakh
Persian
Polish
Romanian
Spanish
Swedish
Turkish
Ukrainian
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Volk [Tue, 19 Mar 2024 06:54:08 +0000 (07:54 +0100)]
libadwaita: update 1.4.4 -> 1.5.0
=============
Version 1.5.0
=============
- AdwDialog
- Fix widget selection in inspector when presented as a bottom sheet
- Fix clicks on the dimming still working with can-closed=true
- Demo
- Fix <developer> in metainfo
- Translation updates
- Belarusian
- Brazilian Portuguese
- Danish
- French
- Galician
- Hungarian
- Italian
- Kabyle
- Kazakh
- Latvian
- Norwegian Bokmål
- Occitan
- Slovenian
- Swedish
- Turkish
==============
Version 1.5.rc
==============
- Depend on GTK 4.13.4
- Fix layout with GtkSettings:gtk-xft-dpi == 0
- AdwAboutDialog
- Support zero-clause bsd license
- Fix example
- AdwAboutWindow
- Support zero-clause bsd license
- AdwDialog
- Allow bottom sheets to shrink beyond 360px width
- Fix a crash when swiping on the dimming
- Adjust dimming intensity
- AdwNavigationView
- Fix signal mentions in push() docs
- Disable missing title warning when containing a split view
- AdwStatusPage
- Fix property notification in set_child()
- AdwSwipeTracker
- Use a smaller threshold for window handles
- AdwToolbarView
- Fix a typo in docs
- Demo
- Fix window.devel demo
- Stylesheet
- Adjust shade colors in dark
- Make .devel not propagate to dialogs
- Translation updates
- Basque
- Belarusian
- Catalan
- Chinese (China)
- Chinese (Taiwan)
- Czech
- Dutch
- Finnish
- French
- Georgian
- Hebrew
- Hungarian
- Indonesian
- Kazakh
- Korean
- Latvian
- Lithuanian
- Norwegian Bokmål
- Occitan
- Persian
- Polish
- Russian
- Spanish
- Swedish
- Ukrainian
================
Version 1.5.beta
================
- Fix build with libappstream 1.0
- Fix deprecation warning with libappstream 0.16.4
- Fix a build error with MSVC
- Add AdwDialog, AdwAlertDialog, AdwPreferencesDialog and AdwAboutDialog
- AdwAboutWindow
- Don't pre-select the first section on the Legal page
- AdwApplicationWindow
- Add :dialogs and :visible-dialog
- AdwBreakpointBin
- Add remove_breakpoint()
- Fix focus during transitions
- Fix swapping the child during transitions
- AdwButtonContent
- Horizontally center children
- AdwCarousel
- Fix carousel scroll behavior with page reordering
- AdwComboRow
- Don't change selection on filtering
- Fix focus when opening the popover
- Set the correct state on the selected checkmark
- AdwEntryRow
- Add :text-length
- AdwHeaderBar
- Integrate with AdwDialog
- Fix visibility after changing :show-back-button
- AdwMessageDialog
- Add remove_response()
- Fix choose() annotations
- AdwNavigationView
- Fix a warning message
- AdwPreferencesWindow
- Fix :visible-page and :visible-page-name docs
- AdwStyleManager
- Support contrast setting in the settings portal
- AdwSwipeTracker
- Add :allow-window-handle
- AdwTabOverview
- Allow child focus on out animations
- AdwTabView
- Keep view alive during ::page-detached
- Fix crashes when using :pages
- AdwViewSwitcherBar
- Fix a warning when empty
- AdwWindow
- Add :dialogs and :visible-dialog
- Demo
- Port everything to AdwDialog
- Docs
- Add a migration guide for adaptive dialogs
- Add a favicon
- Use the new asides
- Fix erroneous <child> use in breakpoints migration guide
- Stylesheet
- Increase GtkSwitch padding
- Align property row title and other row subtitle sizes
- Align expander row and combo row arrows
- Stop hiding switch shapes
- Translation updates
- Czech
- French
- Galician
- German
- Greek
- Hebrew
- Hungarian
- Norwegian Bokmål
- Persian
- Russian
- Serbian
- Slovenian
- Turkish
- Ukrainian
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Mar 2024 07:08:05 +0000 (15:08 +0800)]
libadwaita: upgrade 1.4.3 -> 1.4.4
Changelog:
===========
- Fix layout with GtkSettings:gtk-xft-dpi == 0
- AdwNavigationView
- Fix signal mentions in push() docs
- AdwStatusPage
- Fix property notification in set_child()
- AdwToolbarView
- Fix a typo in docs
- Translation updates
- British English
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Volk [Mon, 18 Mar 2024 01:19:51 +0000 (02:19 +0100)]
gsettings-desktop-schemas: update 45.0 -> 46.0
Major changes in 46.0
=====================
- Translation updates
Major changes in 46.rc
======================
- Make default clock format overridable by translators
- Translation updates
Major changes in 46.beta
========================
- Add key to modify XKB options
- Add key to indicate whether switches should indicate
state with shapes
- Translation updates
Major changes in 46.alpha
=========================
- Update default background file extension to jxl
- Translation updates
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 19 Mar 2024 23:01:31 +0000 (19:01 -0400)]
linux-yocto/6.6: update to v6.6.22
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:
06644f0d7193 drm/tilcdc: Set preferred depth 6a646d9fe8a2 Linux 6.6.22 4a5b5bfea063 KVM/x86: Export RFDS_NO and RFDS_CLEAR to guests 77018fb9efe5 x86/rfds: Mitigate Register File Data Sampling (RFDS) ddfd38558acc Documentation/hw-vuln: Add documentation for RFDS c35ca0968de4 x86/mmio: Disable KVM mitigation when X86_FEATURE_CLEAR_CPU_BUF is set e2ee3c628a6f selftests: mptcp: decrease BW in simult flows de5c36abf708 readahead: avoid multiple marked readahead pages f5572c0323cf KVM: s390: vsie: fix race during shadow creation 99b86c9b07a3 KVM: s390: add stat counter for shadow gmap events 995f802abff2 net: pds_core: Fix possible double free in error handling path 34cab94f7473 netrom: Fix data-races around sysctl_net_busy_read db364859ce68 netrom: Fix a data-race around sysctl_netrom_link_fails_count d732b8325132 netrom: Fix a data-race around sysctl_netrom_routing_control 2309b369fae2 netrom: Fix a data-race around sysctl_netrom_transport_no_activity_timeout db006d7edbf0 netrom: Fix a data-race around sysctl_netrom_transport_requested_window_size 4ccad39009e7 netrom: Fix a data-race around sysctl_netrom_transport_busy_delay 7d56ffc51ebd netrom: Fix a data-race around sysctl_netrom_transport_acknowledge_delay fa3f3ab5c399 netrom: Fix a data-race around sysctl_netrom_transport_maximum_tries 5d5c14efc987 netrom: Fix a data-race around sysctl_netrom_transport_timeout 5731369af2de netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser 7e1e25891f09 netrom: Fix a data-race around sysctl_netrom_obsolescence_count_initialiser 7510b08c5f5b netrom: Fix a data-race around sysctl_netrom_default_path_quality b3b87525b545 erofs: apply proper VMA alignment for memory mapped files on THP 014a807f1cc9 netfilter: nf_conntrack_h323: Add protection for bmp length out of range b7f885cc7029 netfilter: nft_ct: fix l3num expectations with inet pseudo family 2b505d052807 net/rds: fix WARNING in rds_conn_connect_if_down 782c5fa6638f net: dsa: microchip: fix register write order in ksz8_ind_write8() f562e4c4aab0 cpumap: Zero-initialise xdp_rxq_info struct before running XDP program 02e3549492db selftests/bpf: Fix up xdp bonding test wrt feature flags 586a2f410c78 xdp, bonding: Fix feature flags when there are no slave devs anymore ff4d6006870f bpf: check bpf_func_state->callback_depth when pruning states ed883060c387 net/ipv6: avoid possible UAF in ip6_route_mpath_notify() 8df393af9e7e igc: avoid returning frame twice in XDP_REDIRECT 1a770927dc1d net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink() 671a28603c6b ice: virtchnl: stop pretending to support RSS over AQ or registers e83bebb718fd net: sparx5: Fix use after free inside sparx5_del_mact_entry 0ece581d2a66 geneve: make sure to pull inner header in geneve_rx() 24d5a89652c9 tracing/net_sched: Fix tracepoints that save qdisc_dev() as a string d98d364d98d1 net/mlx5e: Switch to using _bh variant of of spinlock API in port timestamping NAPI poll context d1f71615dbb3 net/mlx5e: Use a memory barrier to enforce PTP WQ xmit submission tracking occurs after populating the metadata_map b526c3177531 net/mlx5e: Fix MACsec state loss upon state update in offload path 6d6bb522d74b net/mlx5e: Change the warning when ignore_flow_level is not supported c11138f0172f net/mlx5: Check capability for fw_reset c8d7228ddda7 net/mlx5: E-switch, Change flow rule destination checking ba888f1f5c21 Revert "net/mlx5e: Check the number of elements before walk TC rhashtable" 3fba8eab2cfc Revert "net/mlx5: Block entering switchdev mode with ns inconsistency" 4c0b028e7100 ice: reorder disabling IRQ and NAPI in ice_qp_dis 484c8e3beb0f i40e: disable NAPI right after disabling irqs when handling xsk_pool 2e60e9531ab9 ixgbe: {dis, en}able irqs in ixgbe_txrx_ring_{dis, en}able 550fe716031f net: lan78xx: fix runtime PM count underflow on link stop f6edcad58cea xfrm: Pass UDP encapsulation in TX packet offload d6159bd4c005 mm/vmscan: fix a bug calling wakeup_kswapd() with a wrong zone index 641eb2d9ab1e ceph: switch to corrected encoding of max_xattr_size in mdsmap 3b897ea5ee75 dmaengine: fsl-edma: correct max_segment_size setting 525c13971479 dmaengine: fsl-edma: utilize common dt-binding header file fb2f43ed48dd dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs 50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018 58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts c2d64b9f52b6 qemux86: add configuration symbol to select values 630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs 0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter 46934791b902 clear_warn_once: bind a timer to written reset value cdee9e38ff32 clear_warn_once: expand debugfs to include read support 82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS 36dc380b776b libbpf: Fix build warning on ref_ctr_off 9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel. e497a4a5da65 perf: x86-32: explicitly include <errno.h> 7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long 1cfc19423dc7 perf: fix bench numa compilation 98bc2815fade perf: add SLANG_INC for slang.h 17209a70b9b3 perf: add sgidefs.h to for mips builds 9cd4258d910a perf: change --root to --prefix for python install 8110a4f26628 perf: add 'libperl not found' warning bc89d5e08f77 perf: force include of <stdbool.h> 4f6c760cc876 fat: Replace prandom_u32() with get_random_u32() bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat 30b2236ab378 FAT: Added FAT_NO_83NAME cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option 0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option 5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes c4342d979bf2 aufs6: fix magic.mk include path 35266bc2dc81 aufs6: adapt to v6.6 8edede4e98be aufs6: core 712248233ebe aufs6: standalone 3b71a8a848d8 aufs6: mmap 3e2924871f37 aufs6: base 7f4907a93101 aufs6: kbuild d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+ bcd6cfcd1aa0 yaffs2: v6.5 fixups cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length 8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap c9c749f9f7d3 yaffs2: replace bdevname call with sprintf 395b01cdc39d yaffs2: convert read_page -> readfolio d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL 613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name 622c4648936f yaffs2: v5.12+ build fixups (not runtime tested) 7562133d4090 yaffs: include blkdev.h dbd44252cd59 yaffs: fix misplaced variable declaration c223a10b1ac0 yaffs2: v5.6 build fixups 90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read 37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super b6e007b8abb6 yaffs: repair yaffs_get_mtd_device fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API 51e0aac75ea2 yaffs2: fix memory leak in mount/umount 2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1 ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis 8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY 1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020) 4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation 2f603d83fcc4 pnmtologo: use relocatable file name 664a6a0a484b tools: use basename to identify file in gen-mach-types 9de64bc0c185 lib/build_OID_registry: fix reproducibility issues ae9b80797295 vt/conmakehash: improve reproducibility a972323151bd iwlwifi: select MAC80211_LEDS conditionally 15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119) 5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation 5552dc768ffc defconfigs: drop obselete options 00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled 3888d0652edf linux-yocto: Handle /bin/awk issues 3d55d299f23a uvesafb: provide option to specify timeout for task completion 23c068c080be uvesafb: print error message when task timeout occurs edbfc939266e compiler.h: Undef before redefining __attribute_const__ c99ae7e2a19a vmware: include jiffies.h 572d84d928c8 Resolve jiffies wrapping about arp fdcd47cac843 nfs: Allow default io size to be configured. 927d48801098 check console device file on fs when booting 57cc27f821dd mount_root: clarify error messages for when no rootfs found 1b53d82a8152 mconf: fix output of cflags and libraries 1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location 83c2e0c6eb1f modpost: mask trivial warnings 6de673039484 kbuild: exclude meta directory from distclean processing 6decd32815f5 powerpc: serialize image targets f6b683b38318 arm: serialize build targets e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition dc8a1e5a88f8 x86_64_defconfig: Fix warnings 68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8 d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8 62f50884b8b1 powerpc: kexec fix for powerpc64 da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core f161c880c11d mips: make current_cpu_data preempt safe 5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code 19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c 881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var 98ec1963fcb7 arm64: defconfig: cleanup config options f1727c537ba8 vexpress: Pass LOADADDR to Makefile 4474c32dc24a arm: ARM EABI socketcall 75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 19 Mar 2024 23:01:30 +0000 (19:01 -0400)]
linux-yocto/6.6: drm/tilcdc: Set preferred depth
Integrating the following commit(s) to linux-yocto/6.6:
1/1 [
Author: Kevin Hao
Email: haokexin@gmail.com
Subject: drm/tilcdc: Set preferred depth
Date: Tue, 19 Mar 2024 08:35:29 +0800
The commit c91acda3a380 ("drm/gem: Check for valid formats") adds a
check for valid pixel formats on drm_gem_fb_create(), but this breaks
the X server on the beaglebone black board.
We have set 'DefaultDepth' to 16 in our xorg.conf. In the X modesetting
driver, the drmmode_get_default_bpp() is used to guess the default
depth/bpp. First it tries to get them via DRM_CAP_DUMB_PREFERRED_DEPTH
ioctl, and if it fail, then try to create a FB with 'depth = 24' and
'bpp = 32' to check whether this depth/dpp is a valid combo. Before the
kernel commit c91acda3a380, the FB always can be created successfully.
This will avoid the bpp to be set to 24 forcibly. But after kernel
commit c91acda3a380, the FB will not be created successfully due to the
check of the valid pixel format. Then the bpp is set to 24, but the
'depth = 16' and 'bpp = 24' combo is not a valid pixel format.
Fix this issue by explicitly setting the preferred_depth in this driver.
With this change, the modesetting driver would choose the correct
depth/bpp combo based on our setting in xorg.conf.
Bruce Ashfield [Tue, 19 Mar 2024 23:01:26 +0000 (19:01 -0400)]
linux-yocto/6.6: update to v6.6.21
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:
62e5ae5007ef Linux 6.6.21 d6ac0ee5ff95 drm/nouveau: don't fini scheduler before entity flush ece1aaec7f7e selftests: mptcp: rm subflow with v4/v4mapped addr 8e7f31bf1101 selftests: mptcp: add mptcp_lib_is_v6 9d71f43afd89 selftests: mptcp: update userspace pm test helpers f9190d7995a7 selftests: mptcp: add chk_subflows_total helper ae1fa39da991 selftests: mptcp: add evts_get_info helper e81742f6e2eb KVM/VMX: Move VERW closer to VMentry for MDS mitigation ae46691220f7 KVM/VMX: Use BT+JNC, i.e. EFLAGS.CF to select VMRESUME vs. VMLAUNCH 7a62647efcb2 x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key ca13d8cd8dac x86/entry_32: Add VERW just before userspace transition 7caf330faf16 x86/entry_64: Add VERW just before userspace transition 2664bb298cdf block: define bvec_iter as __packed __aligned(4) 21bbe847686c gpio: fix resource unwinding order in error path 9c7c16109b71 gpiolib: Fix the error path order in gpiochip_add_data_with_key() 92515c4ef1b4 gpio: 74x164: Enable output pins after registers are reset 6b6282d56b14 powerpc/rtas: use correct function name for resetting TCE tables d4d1e4b1513d powerpc/pseries/iommu: IOMMU table is not initialized for kdump over SR-IOV 5e3022ea42e4 dmaengine: idxd: Ensure safe user copy of completion record 4d6e793eacfb dmaengine: idxd: Remove shadow Event Log head stored in idxd 981917766b59 phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes d24fe6d5a1cf dmaengine: dw-edma: eDMA: Add sync read before starting the DMA transfer in remote setup 227ef58a9b0c dmaengine: dw-edma: HDMA: Add sync read before starting the DMA transfer in remote setup 55501b7359ef dmaengine: dw-edma: Add HDMA remote interrupt configuration 3fa3dfcabf3a dmaengine: dw-edma: HDMA_V0_REMOTEL_STOP_INT_EN typo fix 8b5657ac34b7 dmaengine: dw-edma: Fix wrong interrupt bit set for HDMA 3adea99aa756 dmaengine: dw-edma: Fix the ch_count hdma callback 57e869be88d0 ASoC: cs35l56: fix reversed if statement in cs35l56_dspwait_asp1tx_put() e9eac260369d af_unix: Drop oob_skb ref before purging queue in GC. 69e0f04460f4 af_unix: Fix task hung while purging oob_skb in GC. be8a177250b2 NFS: Fix data corruption caused by congestion. fa8c776f4c32 mptcp: fix possible deadlock in subflow diag ce0809ada38d mptcp: fix double-free on socket dismantle b609ecda2d76 mptcp: fix potential wake-up event loss ae5530ccd5ef mptcp: fix snd_wnd initialization for passive socket 536a661bfdf4 selftests: mptcp: join: add ss mptcp support check 48428b07de4f mptcp: push at DSS boundaries fca4e6ab0681 mptcp: avoid printing warning once on client side a49ecbe8d0f0 mptcp: map v4 address to v6 when destroying subflow dff60a5531b5 x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers c43b984f0b23 x86/e820: Don't reserve SETUP_RNG_SEED in e820 d2a9510c0e39 mm/debug_vm_pgtable: fix BUG_ON with pud advanced test e9eeb0dddf61 pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation 71da10e633a9 efivarfs: Request at most 512 bytes for variable names f1fb745ee0a6 iommufd: Fix iopt_access_list_id overwrite bug 8db4f87fa3e1 kbuild: Add -Wa,--fatal-warnings to as-instr invocation 9537603a5436 riscv: add CALLER_ADDRx support 0c8a3d3354cd RISC-V: Drop invalid test from CONFIG_AS_HAS_OPTION_ARCH aebd67a52edd mmc: sdhci-xenon: fix PHY init clock stability b4eacb32e066 mmc: sdhci-xenon: add timeout for PHY init complete 4344444255a3 mmc: core: Fix eMMC initialization with 1-bit bus connection 176e66269f0d mmc: mmci: stm32: fix DMA API overlapping mappings warning a69c8bbb9469 dmaengine: fsl-qdma: init irq after reg initialization 91b001fb0b08 dmaengine: fsl-edma: correct calculation of 'nbytes' in multi-fifo scenario 4e0fe154be7b dmaengine: ptdma: use consistent DMA masks 1291d278b557 crypto: arm64/neonbs - fix out-of-bounds access on short input 5b696e9c3882 dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read 737d2e9300cd soc: qcom: pmic_glink: Fix boot when QRTR=m 82dacc26e15c drm/amd/display: Add monitor patch for specific eDP 5e476625fa8a drm/buddy: fix range bias baac292852c0 Revert "drm/amd/pm: resolve reboot exception for si oland" 202e4f4bb858 btrfs: send: don't issue unnecessary zero writes for trailing hole b1690ced4d2d btrfs: dev-replace: properly validate device names eb3441093aad btrfs: fix double free of anonymous device after snapshot creation failure 177d574be4b5 wifi: nl80211: reject iftype change with mesh ID change ad8ff8cff38d mtd: rawnand: marvell: fix layouts ba60fdf75e89 mm: cachestat: fix folio read-after-free in cache walk 93dd420bc415 gtp: fix use-after-free and null-ptr-deref in gtp_newlink() f4906938bdd4 landlock: Fix asymmetric private inodes referring 0be289ba41bb Bluetooth: hci_bcm4377: do not mark valid bd_addr as invalid a4904b3afed0 ALSA: hda/realtek: Add special fixup for Lenovo 14IRP8 5cdf76fbbed9 ALSA: hda/realtek: fix mute/micmute LED For HP mt440 46fb5e7ec337 ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) d6ac6ffbdc39 ALSA: hda/realtek: tas2781: enable subwoofer volume control bb06ffbf3862 ALSA: ump: Fix the discard error code from snd_ump_legacy_open() 22df6ff560c5 ALSA: firewire-lib: fix to check cycle continuity 2caa60507948 tomoyo: fix UAF write bug in tomoyo_write_control() 6f72b4458ead of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing d43f8e58f10a btrfs: fix race between ordered extent completion and fiemap a278d5c60f21 riscv: Sparse-Memory/vmemmap out-of-bounds fix eb2571673cfc riscv: Fix pte_leaf_size() for NAPOT 2b7ce74e19fc Revert "riscv: mm: support Svnapot in huge vmap" e0d17ee872cf drivers: perf: ctr_get_width function for legacy is not defined 2f8c09478a2c drivers: perf: added capabilities for legacy PMU f67898867b6b afs: Fix endless loop in directory parsing 73a6bd68a134 fbcon: always restore the old font data in fbcon_do_set_font() 8e8c66afe27b drm/tegra: Remove existing framebuffer only if we support display 274bf3cca13f RISC-V: Ignore V from the riscv,isa DT property on older T-Head CPUs fb3618f6bd49 ASoC: soc-card: Fix missing locking in snd_soc_card_get_kcontrol() 4b5d89ace3ce ASoC: cs35l56: Fix deadlock in ASP1 mixer register initialization 9f05fe599965 ASoC: cs35l56: Fix misuse of wm_adsp 'part' string for silicon revision c249f04f2bff ASoC: cs35l56: Fix for initializing ASP1 mixer registers 044edc12fe01 ASoC: cs35l56: Don't add the same register patch multiple times a2f0a6846da8 ASoC: cs35l56: cs35l56_component_remove() must clean up wm_adsp 93fc01f9b58d ASoC: cs35l56: cs35l56_component_remove() must clear cs35l56->component cc698db49b93 riscv: Fix build error if !CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION 99adc8b4d2f3 ASoC: qcom: Fix uninitialized pointer dmactl 841361d88fae ASoC: qcom: convert not to use asoc_xxx() c92c96cda3e3 ASoC: soc.h: convert asoc_xxx() to snd_soc_xxx() ac549defb351 ALSA: Drop leftover snd-rtctimer stuff from Makefile 4a7f5eff429b ASoC: cs35l56: Must clear HALO_STATE before issuing SYSTEM_RESET fbca8bae1ba7 power: supply: bq27xxx-i2c: Do not free non existing IRQ 11aabd748785 efi/capsule-loader: fix incorrect allocation size 81be85353b0f tls: fix use-after-free on failed backlog decryption dec5b6e7b211 tls: separate no-async decryption request handling from async 11121c2ce571 tls: fix peeking with sync+async decryption c19fdb06d3d7 tls: decrement decrypt_pending if no async completion will be called 9422350aea63 net: hsr: Use correct offset for HSR TLV values in supervisory HSR frames c88bf996e88b igb: extend PTP timestamp adjustments to i211 167d8642daa6 rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back dbc81b032dd0 tools: ynl: fix handling of multiple mcast groups 80cd0487f630 netfilter: bridge: confirm multicast packets before passing them up the stack 98567dc7973f netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate() 39e39c34abb5 Bluetooth: qca: Fix triggering coredump implementation c50ce483c28a Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT fb3e827badce Bluetooth: qca: Fix wrong event type for patch config command dcd646f40a56 Bluetooth: Enforce validation on max value of connection interval fba268ac36ab Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST 4a9139678ede Bluetooth: hci_event: Fix wrongly recorded wakeup BD_ADDR 6699d7ce263c Bluetooth: hci_sync: Fix accept_list when attempting to suspend 2ab9a19d896f Bluetooth: Avoid potential use-after-free in hci_error_reset 0a07fa1f61e4 Bluetooth: hci_sync: Check the correct flag before starting a scan 699b103e48ce stmmac: Clear variable when destroying workqueue af6dfe9e9551 uapi: in6: replace temporary label with rfc9486 2ae3d9d1d8da net: lan78xx: fix "softirq work is pending" error 0ec3ea616a50 net: usb: dm9601: fix wrong return value in dm9601_mdio_read 2d8003e55d12 veth: try harder when allocating queue memory 288218b1dd26 lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected 44112bc5c74e ipv6: fix potential "struct net" leak in inet6_rtm_getaddr() 16edf51f33f5 net: veth: clear GRO when clearing XDP even when down 1a8682737600 cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf call back 7322b217c6f0 tun: Fix xdp_rxq_info's queue_index when detaching fbccbb4215ae net: dpaa: fman_memac: accept phy-interface-type = "10gbase-r" in the device tree cbebc55ceace net: mctp: take ownership of skb in mctp_local_output a0a1db40b23e net: ip_tunnel: prevent perpetual headroom growth a2ab02815184 netlink: add nla be16/32 types to minlen array d3ada42e534a netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter 03f1573c9587 spi: cadence-qspi: fix pointer reference in runtime PM hooks c53b8d8f70c4 mtd: spinand: gigadevice: Fix the get ecc status issue 8cb8ef0c79e3 ublk: move ublk_cancel_dev() out of ub->mutex 2b5f1692a95b ksmbd: fix wrong allocation size update in smb2_open() 05059601518e ASoC: cs35l34: Fix GPIO name and drop legacy include d3d782b5a5d3 ubifs: fix possible dereference after free
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This only needs removal of the custom setting (which no longer produces a webpage suitable for parsing the version out),
as the default SRC_URI is 'tarballs in versioned directoroies' setup, which the version checker is able to handle.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wayland: fix upstream version check by asking gitlab directly
https://wayland.freedesktop.org/releases.html is prone to delays
and missing entries as it is manually updated; in particular
latest wayland-protocols remains unlisted:
https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/issues/7
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Volk [Mon, 18 Mar 2024 02:15:58 +0000 (03:15 +0100)]
libsoup: enable vapi support
without vapi gnome-calculator-46.0 will fail with:
| ../gnome-calculator-46.0/lib/currency-provider.vala:161.19-161.47:
error: The name `send_and_splice_async' does not exist in the context
of `Soup.Session' (libsoup-3.0)
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 15 Mar 2024 14:37:38 +0000 (14:37 +0000)]
gstreamer1.0: improve test reliability
First, libcheck has the ability to increase all test timeouts by an arbitrary
multiplier. Because we run our tests on loaded build machines,
increase all timeouts by 10x to reduce the chance of load causing failures.
Second, use GST_CHECKS_IGNORE to list test cases that should be skipped.
Drop skip-aggregator-test.patch as this is now redundant, and also skip
gstnetclientclock.c:test_functioning as this is very sensitive to load.
[ YOCTO #14808 ]
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>