]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
6 months agosystemd: enable mac based names in NamePolicy
Joe Slater [Thu, 21 Mar 2024 20:23:11 +0000 (13:23 -0700)] 
systemd: enable mac based names in NamePolicy

Some BSPs only provide information to construct a
predictable network interface named based on a mac
address, so we enable that NamePolicy option.

This policy has been adopted for sysvinit as of
commit 4a7b42fcf6981d3120c08091a7ed3d4d7bcd41f0.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agobmaptool: update to latest
Trevor Woerner [Thu, 21 Mar 2024 20:08:39 +0000 (16:08 -0400)] 
bmaptool: update to latest

Upstream contains the patches that were being carried here.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agotoolchain-shar-relocate.sh: Add check for missing command 'file'
Tom Hochstein [Thu, 21 Mar 2024 17:44:09 +0000 (12:44 -0500)] 
toolchain-shar-relocate.sh: Add check for missing command 'file'

On a machine without the file command, the SDK install fails with a
cryptic error message.

```
xargs: file: No such file or directory
sed: no input files
Failed to replace perl. Relocate script failed. Abort!
```

Add a test for 'file' to print a clear error message.

```
The command 'file' is required by the relocation script, please install it first. Abort!
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agogcc: Oe-selftest failure analysis - fix for vect-simd test failures
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

Upstream Status: Backport [https://gcc.gnu.org/g:948dbc5ee45f9ffd5f41fd6782704081cc7c8c27]

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopython-*: don't set PYPI_ARCHIVE_NAME and S when PYPI_PACKAGE is sufficient
Ross Burton [Fri, 15 Mar 2024 14:37:50 +0000 (14:37 +0000)] 
python-*: don't set PYPI_ARCHIVE_NAME and S when PYPI_PACKAGE is sufficient

There's no need to explicitly set PYPI_ARCHIVE_NAME and S when
PYPI_PACKAGE is set correctly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopython3_pip517: just count wheels in the directory, not subdirectories
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>
6 months agogtk4: update 4.12.5 -> 4.14.1
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

* GtkEmojiChooser:
 - Fix presentation selector handling

* 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.

* Css:
 - Reduce memory consumption during theme loading
 - Fix opacity handling

* Theme:
 - Refresh some of the included symbolic icons

* MacOs:
 - Silence secure-restore message

* Build:
 - Require Vulkan 1.3

* Translation updates:
 Chinese (China)
 Czech
 Hebrew
 Icelandic
 Polish
 Russian

Overview of Changes in 4.13.3, 15-11-2023
=========================================

* GtkGraphicsOffload: A new widget to support passthrough
  of dmabuf textures with subsurfaces on Wayland

* GtkListView:
 - reduce tree indentation

* GtkInspector:
 - Show more GL information
 - Add a subsurface overlay
 - Improve the fps overlay

* GDK
 - Allow implicit modifiers for dmabufs
 - Support more dmabuf formats: NV16, NV61, NV24, NV42
   and 3-plane YUV formats

* GSK
 - Fix padding of icons in the GL atlas
 - Fix handling of texture-scale nodes in cairo
 - Treat texture-scale nodes more faithfully in GL

* Accessibility:
 - Tweak the accessible name computation for corner cases

* The GTK/GDK/GSK_DEBUG environment variables now
  work in productions as well as in debug builds

* Translation updates
 Catalan
 French
 Russian

Overview of Changes in 4.13.2, 22-10-2023
=========================================

* GtkPrintdialog:
 - New async-style api to replace GtkPrintOperation

* GtkEmojiChooser:
 - Add more languages: Bengali, Hindi, Japanese, Finnish,
   Thai and Norwegian bokmål

* Accessibility:
 - Fix some utf8 handling issues

* GDK:
 - Add support for dmabuf textures, with GdkDmabufTextureBuilder
 - Add a few more supported memory formats for textures

* GSK:
 - Add a fast-path for masking color
 - Add support for importing dmabuf textures
 - Handle GLES better by using some extensions

* Translation updates:
 Catalan
 Russian
 Turkish

Overview of Changes in 4.13.1, 28-09-2023
=========================================

* GtkTooltip:
 - Don't cross native boundaries when looking for tooltips

* GtkCenterLayout, GtkEntry, GtkSearchEntry:
 - Fix some issues with baseline handling

* GtkColorButton, GtkFontButton:
 - Propagate focus-on-click

* 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

* Deprecations:
 - Remaining GtkTreeModel-related types

* Demos:
 - Add a few path demos to gtk4-demo

* 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>
6 months agollvm: Upgrade to 18.1.2 bugfix release
Khem Raj [Thu, 21 Mar 2024 16:20:06 +0000 (09:20 -0700)] 
llvm: Upgrade to 18.1.2 bugfix release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolibadwaita: update 1.4.4 -> 1.5.0
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>
6 months agolibadwaita: upgrade 1.4.3 -> 1.4.4
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>
6 months agogsettings-desktop-schemas: update 45.0 -> 46.0
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>
6 months agoltp: fix missing connectors tests in scenario_groups/default
Xiangyu Chen [Thu, 21 Mar 2024 06:07:02 +0000 (14:07 +0800)] 
ltp: fix missing connectors tests in scenario_groups/default

Upstream moved the connectors tests to kernel_misc group but didn't
update the group index, this cause test kernel by group report error.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopython3-manifest: Sync RDEPENDS with latest version
Alejandro Hernandez Samaniego [Thu, 21 Mar 2024 05:35:23 +0000 (23:35 -0600)] 
python3-manifest: Sync RDEPENDS with latest version

bitbake python3 -c create_manifest revealed several changes that were missing.

This commit contains a manual cherry-picked version of those, making sure that
new RDEPENDS are reflected since the last time this was updated.

In this case its taking out unnecessary dependencies to python3-profile and
python3-shell.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoqemuriscv: Fix kbd and mouse emulation for qemuriscv64
Khem Raj [Thu, 21 Mar 2024 05:12:56 +0000 (22:12 -0700)] 
qemuriscv: Fix kbd and mouse emulation for qemuriscv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolttng-modules: fix v6.8+ build
Yogesh Tyagi [Wed, 20 Mar 2024 06:08:18 +0000 (11:38 +0530)] 
lttng-modules: fix v6.8+ build

Backport a patch which remove 'needed' in trace_ext4_discard_preallocations

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agomesa: enable imagination powervr support
Marcel Ziswiler [Tue, 19 Mar 2024 15:26:39 +0000 (16:26 +0100)] 
mesa: enable imagination powervr support

Allows mesa to be build with Imagination PowerVR support.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopiglit: Switch to upstreamed patch for musl fix
Khem Raj [Tue, 19 Mar 2024 21:07:45 +0000 (14:07 -0700)] 
piglit: Switch to upstreamed patch for musl fix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolinux-yocto/6.6: update CVE exclusions (6.6.22)
Bruce Ashfield [Tue, 19 Mar 2024 23:01:32 +0000 (19:01 -0400)] 
linux-yocto/6.6: update CVE exclusions (6.6.22)

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolinux-yocto/6.6: update to v6.6.22
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>
6 months agolinux-yocto/6.6: drm/tilcdc: Set preferred depth
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.

Fixes: c91acda3a380 ("drm/gem: Check for valid formats")
Cc: stable@vger.kernel.org
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Link: https://lore.kernel.org/r/20240317033918.535716-1-haokexin@gmail.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>
6 months agolinux-yocto/6.6: cfg: drop unsettable options
Bruce Ashfield [Tue, 19 Mar 2024 23:01:29 +0000 (19:01 -0400)] 
linux-yocto/6.6: cfg: drop unsettable options

Integrating the following commit(s) to linux-yocto/.:

1/3 [
    Author: Yongxin Liu
    Email: yongxin.liu@windriver.com
    Subject: features/vfio: remove CONFIG_VFIO_VIRQFD
    Date: Mon, 18 Mar 2024 19:10:37 +0800

    CONFIG_VFIO_VIRQFD was changed to bool in kernel commit
    e2d55709398e ("vfio: Fold vfio_virqfd.ko into vfio.ko") and
    it is not user selectable.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/3 [
    Author: Yongxin Liu
    Email: yongxin.liu@windriver.com
    Subject: features/vfio: remove CONFIG_VFIO_MDEV
    Date: Mon, 18 Mar 2024 19:10:38 +0800

    CONFIG_VFIO_MDEV wasn't a user choice after kerne commit
    8bf8c5ee1f38 ("vfio-mdev: turn VFIO_MDEV into a selectable symbol").

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/3 [
    Author: Yongxin Liu
    Email: yongxin.liu@windriver.com
    Subject: bsp/intel-x86: remove CONFIG_IXGB
    Date: Mon, 18 Mar 2024 19:10:39 +0800

    ixgb driver was removed in kernel commit e485f3a6eae0
    ("ixgb: Remove ixgb driver").

Signed-off-by: Yongxin Liu <yongxin.liu@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>
6 months agolinux-yocto/6.6: update CVE exclusions (6.6.21)
Bruce Ashfield [Tue, 19 Mar 2024 23:01:28 +0000 (19:01 -0400)] 
linux-yocto/6.6: update CVE exclusions (6.6.21)

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolinux-yocto/6.6: update to v6.6.21
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>
6 months agolinux-yocto/6.6: cfg: riscv XHCI
Bruce Ashfield [Tue, 19 Mar 2024 23:01:25 +0000 (19:01 -0400)] 
linux-yocto/6.6: cfg: riscv XHCI

Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Khem Raj
    Email: raj.khem@gmail.com
    Subject: riscv: Enable XHCI usb
    Date: Thu, 7 Mar 2024 08:04:18 -0800

    This brings it closer to other qemu configs in yocto and help to use usb
    mouse and keyboard device emulation

Signed-off-by: Khem Raj <raj.khem@gmail.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>
6 months agolinux-yocto/6.6: cfg: generic arm64
Bruce Ashfield [Tue, 19 Mar 2024 23:01:24 +0000 (19:01 -0400)] 
linux-yocto/6.6: cfg: generic arm64

Integrating the following commit(s) to linux-yocto/.:

1/2 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: cfg/timer/no_hz: set NO_HZ_IDLE instead of NO_HZ
    Date: Wed, 6 Mar 2024 07:15:44 -0800

    NO_HZ was obsoleted in 2011[1] and simply selects NO_HZ_IDLE.

    [1] linux 3ca277e

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: incorporate more features, and sort
    Date: Wed, 6 Mar 2024 07:15:44 -0800

    Pull in a large number of drivers and build them as modules. The set of
    drivers enabled is based on the current defconfig.

    Some chunks are split out into separate files to keep the top-level
    cfg file size manageable.

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>
6 months agopython3: correct upstream version check
Alexander Kanavin [Mon, 18 Mar 2024 11:48:06 +0000 (12:48 +0100)] 
python3: correct upstream version check

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>
6 months agowayland: fix upstream version check by asking gitlab directly
Alexander Kanavin [Mon, 18 Mar 2024 16:31:33 +0000 (17:31 +0100)] 
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>
6 months agoelfutils: fix unused variable BUFFER_SIZE
Jose Quaresma [Tue, 19 Mar 2024 11:12:59 +0000 (11:12 +0000)] 
elfutils: fix unused variable BUFFER_SIZE

Fix build break with clang

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoshadow: fix copydir operation with 'pseudo'
Enrico Scholz [Mon, 18 Mar 2024 13:58:26 +0000 (14:58 +0100)] 
shadow: fix copydir operation with 'pseudo'

Calling 'useradd' through pseudo on (at least) Ubuntu 20 creates
filesystem objects (.bashrc, .profile) with invalid attributes.  It
manifests as

| tar: ./home/.../.bashrc: Unknown file type; file ignored

or

| Copying files into the device: __populate_fs: ignoring entry ".bashrc"
| .bashrc: File not found by ext2_lookup while looking up ".bashrc"

when building the image.

This happens due to a bug in shadow which is caused by clobbering
fstatat() results.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolibsoup: enable vapi support
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>
6 months agogstreamer1.0: improve test reliability
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>
6 months agocurl: increase test timeouts
Ross Burton [Fri, 15 Mar 2024 14:37:37 +0000 (14:37 +0000)] 
curl: increase test timeouts

We often see multiple curl tests fail during ptest runs, the actual test
varies but the output is like this:

  FAIL: 337: protoc!
  There was no content at all in the file log/3/server.input.
  Server glitch? Total curl failure? Returned: 28

Error code 28 is CURLE_OPERATION_TIMEDOUT, so this is almost certainly
due to a loaded machine resulting in the tests running slowly.

It is notable that the test runner explicitly passes --max-time=13 to
curl, so experiment and change this to 600 to see if this solves the
problem.

[ YOCTO #15268 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agocurl: improve run-ptest
Ross Burton [Fri, 15 Mar 2024 14:37:36 +0000 (14:37 +0000)] 
curl: improve run-ptest

There's no need to run the output of runtests.pl through a sed to get
automake-style output, as you can pass -am to get this formatting.

Don't run timing dependent tests, as the ptests can run on loaded
systems.

Add a dependency on the en_US locale because some of the tests require
this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agouninative: Add pthread linking workaround
Richard Purdie [Fri, 15 Mar 2024 12:59:57 +0000 (12:59 +0000)] 
uninative: Add pthread linking workaround

With newer glibc versions, pthread was merged into the main library so there is
no longer any need to link with -lpthread. On newer systems this means that linker
flag is dropped from places like pkgconfig .pc files. If uninative then uses this
newer library on an older system, the flag is missing and linker errors about missing
symbols occur.

Adding the linkage unconditionally to our uninative linking flags avoids that problem
at a potential cost of slight over linking.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agobash/flex: Ensure BUILD_FLAGS doesn't leak onto target
Richard Purdie [Sat, 16 Mar 2024 15:43:22 +0000 (15:43 +0000)] 
bash/flex: Ensure BUILD_FLAGS doesn't leak onto target

The ptest packages were leaking BUILD_LDFLAGS into the Makefile used
on target. Remove these values instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agogo: Upgrade 1.22.0 -> 1.22.1
Soumya Sambu [Fri, 15 Mar 2024 11:24:22 +0000 (11:24 +0000)] 
go: Upgrade 1.22.0 -> 1.22.1

Upgrade to latest 1.22.x release [1]:

$git log --oneline go1.22.0..go1.22.1
db6097f8cb (tag: go1.22.1, origin/release-branch.go1.22) [release-branch.go1.22] go1.22.1
041a47712e [release-branch.go1.22] net/textproto, mime/multipart: avoid unbounded read in MIME header
3a855208e3 [release-branch.go1.22] net/http, net/http/cookiejar: avoid subdomain matches on IPv6 zones
337b8e9cbf [release-branch.go1.22] crypto/x509: make sure pub key is non-nil before interface conversion
16830ab48a [release-branch.go1.22] net/http: add missing call to decConnsPerHost
056b0edcb8 [release-branch.go1.22] html/template: escape additional tokens in MarshalJSON errors
f73eba76a0 [release-branch.go1.22] net: work around runtime scheduler starvation on js and wasip1
5330cd225b [release-branch.go1.22] net/mail: properly handle special characters in phrase and obs-phrase
d8c4239f08 [release-branch.go1.22] cmd/go/internal/modcmd: correctly filter out main modules in verify
c33adf44ff [release-branch.go1.22] cmd/trace/v2,internal/trace: use correct frame for identifying goroutines
3b71998078 [release-branch.go1.22] go/types, types2: ensure that Alias.actual is set in NewAlias
8fe2ad6494 [release-branch.go1.22] runtime/internal/atomic: correct GOARM=7 guard at a DMB instruction
686662f3a4 [release-branch.go1.22] cmd/compile: make jump table symbol static
6cbe522fe1 [release-branch.go1.22] cmd/compile: fail noder.LookupFunc gracefully if function generic
fb86598cd3 [release-branch.go1.22] cmd/compile: accept -lang=go1 as -lang=go1.0
6fbd01a711 [release-branch.go1.22] runtime: don't call traceReadCPU on the system stack
d6a271939f [release-branch.go1.22] cmd/cgo/internal/testsanitizers: disable location checking for clang
20107e05a6 [release-branch.go1.22] internal/testenv: support the LUCI mobile builders in tests
53d1b73dff [release-branch.go1.22] internal/testenv: allow "-noopt" anywhere in builder name in test
dd31ad7e9f [release-branch.go1.22] spec: fix typo in year (it's 2024 now)

[1] https://github.com/golang/go/compare/go1.22.0...go1.22.1

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopam: Fix build with musl
Khem Raj [Thu, 14 Mar 2024 04:31:31 +0000 (21:31 -0700)] 
pam: Fix build with musl

Apply a backported patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agogcc: Oe-selftest failure analysis - fix for tcl errors
Harish Sadineni [Tue, 12 Mar 2024 16:33:25 +0000 (09:33 -0700)] 
gcc: Oe-selftest failure analysis - fix for tcl errors

gcc testsuite unable to read the value of variable $do-what-limit and causing below tcl errors.
ERROR: can't read "do": no such variable
    while executing
"set do_what $do-what-limit"

To fix this, quote the variable using braces, as in ${do-what-limit}.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolibtirpc: drop redundant PACKAGECONFIG
Yi Zhao [Wed, 13 Mar 2024 13:03:24 +0000 (21:03 +0800)] 
libtirpc: drop redundant PACKAGECONFIG

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agokernel: Fix check_oldest_kernel
Paul Barker [Wed, 13 Mar 2024 17:28:41 +0000 (17:28 +0000)] 
kernel: Fix check_oldest_kernel

The check_oldest_kernel() function requires utsrelease.h to be
generated. This file is generated during do_compile, so we need to delay
calling check_oldest_kernel() until after this.

With this change in place, I now see the expected warning when building
Linux 5.10.y.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoman-pages: use env from coreutils-native
Alexander Kanavin [Wed, 13 Mar 2024 17:33:36 +0000 (18:33 +0100)] 
man-pages: use env from coreutils-native

This is the outcome of investigating the selftest-armhost fail:
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/3028/steps/15/logs/stdio

When man-pages recipe builds on ubuntu 18.04, /usr/bin/env on that is too
old to support -S option, and the outcome is that man-pages quietly
installs nothing, and no packages get created, and the test
that expects the package to exist fails.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolttng-tools: skip kernel tests if no kernel modules present
Xiangyu Chen [Fri, 8 Mar 2024 04:32:21 +0000 (20:32 -0800)] 
lttng-tools: skip kernel tests if no kernel modules present

The current tests will run both userspace and kernel testing. Some of use cases
only use lttng for one kind of tracing (e.g. userspace). If the lttng
modules(.ko files) is not present during the test,it would end up with lots of
failing.

Add a check in ptest script, if current system doesn't contain lttng kernel
modules, passing LTTNG_TOOLS_DISABLE_KERNEL_TESTS=1 to make to skip all lttng
kernel related testing.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agocargo-c-native: update 0.9.18 -> 0.9.30
Alexander Kanavin [Wed, 13 Mar 2024 17:33:19 +0000 (18:33 +0100)] 
cargo-c-native: update 0.9.18 -> 0.9.30

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agocargo-c-native: convert from git fetcher to crate fetcher
Alexander Kanavin [Wed, 13 Mar 2024 17:33:18 +0000 (18:33 +0100)] 
cargo-c-native: convert from git fetcher to crate fetcher

Fetching from git requires manually maintaining Cargo.lock
which is tedious and unclear how to do correctly,
especially with version updates. On the other hand, crates
do include Cargo.lock, and this way the revisions would match
upstream's and crate users (which requires regenerating
crates.inc to match the lock file).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agomeson: correct upstream version check (exclude pre-releases)
Alexander Kanavin [Wed, 13 Mar 2024 17:33:16 +0000 (18:33 +0100)] 
meson: correct upstream version check (exclude pre-releases)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolinux-firmware: Move Intel 9260 modules firmware.
Yannick Rodriguez [Wed, 13 Mar 2024 20:29:01 +0000 (21:29 +0100)] 
linux-firmware: Move Intel 9260 modules firmware.

Moving intel 9260 firmware because it's common wifi chip and otherwise
to include this firmware whe have to include iwlwifi-misc which included
a lot of firmwares.

Signed-off-by: Yannick Rodriguez <y.rodriguez@i2s.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoglibc: Update to tip of 2.39 branch
Khem Raj [Wed, 6 Mar 2024 17:17:13 +0000 (09:17 -0800)] 
glibc: Update to tip of 2.39 branch

Brings

1b9c1a0047 Use gcc __builtin_stdc_* builtins in stdbit.h if possible
e0910f1d32 S390: Do not clobber r7 in clone [BZ #31402]
d0724994de math: Update mips64 ulps

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoelfutils: Fix build break with clang
Khem Raj [Sat, 9 Mar 2024 23:57:52 +0000 (15:57 -0800)] 
elfutils: Fix build break with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agollvm: Update to 18.1.1 release
Khem Raj [Sat, 9 Mar 2024 20:43:01 +0000 (12:43 -0800)] 
llvm: Update to 18.1.1 release

This is final release after RC suffix is removed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agogit: git-replacement-native: depend on ca-certificate
Max Krummenacher [Mon, 11 Mar 2024 14:37:11 +0000 (07:37 -0700)] 
git: git-replacement-native: depend on ca-certificate

git is delegating webacces for URLs using TLS to libcurl.
However our native libcurl build does not find a ca-certificate.crt
unless its curl-native work dir still exists and thus git will
fail.
If a recipe uses AUTOREV with a git repo using https as its protocol
parsing of that recipe will fail fetching the latest HEAD.

Fix that by depending on ca-certificate and give its location
to libcurl via git's envrironment variable GIT_SSL_CAINFO.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agovala: fix for gtk4 prior to 4.14
Markus Volk [Tue, 12 Mar 2024 05:22:07 +0000 (06:22 +0100)] 
vala: fix for gtk4 prior to 4.14

- add a backport patch to fix compatibility with older gtk4 versions

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agovala: merge bb and inc files
Markus Volk [Tue, 12 Mar 2024 05:22:06 +0000 (06:22 +0100)] 
vala: merge bb and inc files

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolinux-firmware: remove pointless linux-firmware-gplv2-license package
Ross Burton [Thu, 7 Mar 2024 12:05:30 +0000 (04:05 -0800)] 
linux-firmware: remove pointless linux-firmware-gplv2-license package

The GPLv2 text is the standard text, so the -carl9170 package can just
set LICENSE=GPL-2.0-or-later and the custom license handling removed.

Confirmed in the source that the intended license is v2-or-later, not
v2-only as WHENCE says.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolinux-firmware: set LICENSE field for -liquidui and -mellanox
Ross Burton [Thu, 7 Mar 2024 12:05:29 +0000 (04:05 -0800)] 
linux-firmware: set LICENSE field for -liquidui and -mellanox

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolinux-firmware: add support for deduplicating the firmware
Ross Burton [Thu, 7 Mar 2024 12:05:29 +0000 (04:05 -0800)] 
linux-firmware: add support for deduplicating the firmware

This can a non-trivial amount of disk space, but requires rdfind from
meta-oe. As duplicate pieces of firmware become links, this reduces the
size of individual packages and adds dependencies:

linux-firmware-adsp-sst: PKGSIZE changed from 6362678 to 5609999 (-12%)
linux-firmware-amdgpu: PKGSIZE changed from 80234502 to 60819841 (-24%)
linux-firmware-cirrus: PKGSIZE changed from 1290908 to 1068886 (-17%)
linux-firmware-ibt-17: PKGSIZE changed from 2601222 to 1300679 (-50%)
linux-firmware-ibt-17: RDEPENDS: added "linux-firmware-ibt-misc"
linux-firmware-ibt-20: PKGSIZE changed from 2399511 to 1599721 (-33%)
linux-firmware-ibt-20: RDEPENDS: added "linux-firmware-ibt-misc"
linux-firmware-ibt-misc: PKGSIZE changed from 22400466 to 13390020 (-40%)
linux-firmware-ibt-misc: RDEPENDS: added "linux-firmware-ibt-17"
linux-firmware-qcom-qrb4210-audio: RDEPENDS: added "linux-firmware-qcom-qcm2290-audio"
linux-firmware-qcom-qrb4210-modem: PKGSIZE changed from 8882947 to 63 (-100%)
linux-firmware-qcom-qrb4210-modem: RDEPENDS: added "linux-firmware-qcom-qcm2290-modem"
linux-firmware-qcom-sdm845-audio: RDEPENDS: added "linux-firmware-qcom-qcm2290-audio"
linux-firmware-qcom-sdm845-compute: RDEPENDS: added "linux-firmware-qcom-qrb4210-compute"
linux-firmware-qcom-sdm845-modem: RDEPENDS: added "linux-firmware-qcom-qcm2290-modem"
linux-firmware-qcom-sm8250-audio: RDEPENDS: added "linux-firmware-qcom-qcm2290-audio"
linux-firmware-qcom-sm8250-compute: RDEPENDS: added "linux-firmware-qcom-qrb4210-compute"
linux-firmware-qcom-sm8250-thundercomm-rb5-sensors: RDEPENDS: added "linux-firmware-qcom-sdm845-thundercomm-db845c-sensors"
linux-firmware-radeon: PKGSIZE changed from 7105560 to 3343141 (-53%)
linux-firmware-radeon: RDEPENDS: added "linux-firmware-amdgpu"
linux-firmware-rtl8822: RDEPENDS: added "linux-firmware-rtl8761"
linux-firmware-sd8688: RDEPENDS: added "linux-firmware"
linux-firmware: RDEPENDS: added "linux-firmware-rtl8761"

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agomesa: fix opencl-spirv build
Markus Volk [Fri, 8 Mar 2024 21:12:03 +0000 (13:12 -0800)] 
mesa: fix opencl-spirv build

https://gitlab.freedesktop.org/mesa/mesa/-/commit/815a6647eb1383e9dc704ffcc266d85f3b13338a
adds a regression and breaks opencl-spirv build.

The next step in mesa will probably be to completely remove nir in favour of rusticl.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/10674

Revert this commit to avoid that the lts version cannot use spirv
because rusticl is not yet and opencl-spirv is no longer supported.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agorust: reproducibility issue fix with v1.75
Sundeep KOKKONDA [Fri, 8 Mar 2024 15:37:07 +0000 (07:37 -0800)] 
rust: reproducibility issue fix with v1.75

Patch updated with upstream fix.
https://github.com/rust-lang/rust/pull/121959/commits/a9a979839bbdfec48c75d618ab0dce8a953589b8

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoexpat: Upgrade 2.6.1 -> 2.6.2
Richard Purdie [Fri, 15 Mar 2024 13:06:54 +0000 (13:06 +0000)] 
expat: Upgrade 2.6.1 -> 2.6.2

Includes a fix for CVE-2024-28757.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agolayer.conf: Prepare for release, drop nanbield LAYERSERIES
Richard Purdie [Thu, 7 Mar 2024 22:32:24 +0000 (22:32 +0000)] 
layer.conf: Prepare for release, drop nanbield LAYERSERIES

As we're close to release, drop compatibility to nanbield, people
have had time to switch now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agocve-update-nvd2-native: Remove rejected CVE from database
Yoann Congal [Fri, 15 Mar 2024 00:20:20 +0000 (01:20 +0100)] 
cve-update-nvd2-native: Remove rejected CVE from database

When a CVE is updated to be rejected, matching database entries must be
removed. Otherwise:
* an incremental update is not equivalent the to an initial download.
* rejected CVEs might still appear as Unpatched in cve-check.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agocve-update-nvd2-native: Fix CVE configuration update
Yoann Congal [Fri, 15 Mar 2024 00:20:19 +0000 (01:20 +0100)] 
cve-update-nvd2-native: Fix CVE configuration update

When a CVE is created, it often has no precise version information and
this is stored as "-" (matching any version). After an update, version
information is added. The previous "-" must be removed, otherwise, the
CVE is still "Unpatched" for cve-check.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agocve-update-nvd2-native: nvd_request_next: Improve comment
Yoann Congal [Fri, 15 Mar 2024 00:20:18 +0000 (01:20 +0100)] 
cve-update-nvd2-native: nvd_request_next: Improve comment

Add a URL to the doc of the API used in the function.
... and fix a small typo dabase -> database

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agocve-update-nvd2-native: Remove duplicated CVE_CHECK_DB_FILE definition
Yoann Congal [Fri, 15 Mar 2024 00:20:17 +0000 (01:20 +0100)] 
cve-update-nvd2-native: Remove duplicated CVE_CHECK_DB_FILE definition

CVE_CHECK_DB_FILE is already defined in cve-check.bbclass which is
always inherited in cve-update-nvd2-native (There is a check line 40).

Remove it to avoid confusion. Otherwise, this should not change
anything.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agocve-update-nvd2-native: Add an age threshold for incremental update
Yoann Congal [Wed, 13 Mar 2024 15:13:27 +0000 (16:13 +0100)] 
cve-update-nvd2-native: Add an age threshold for incremental update

Add a new variable "CVE_DB_INCR_UPDATE_AGE_THRES", which can be used to
specify the maximum age of the database for doing an incremental update
For older databases, a full re-download is done.

With a value of "0", this forces a full-redownload.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agocve-update-nvd2-native: Fix typo in comment
Yoann Congal [Wed, 13 Mar 2024 15:13:26 +0000 (16:13 +0100)] 
cve-update-nvd2-native: Fix typo in comment

attmepts -> attempts

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoopenssh: Add a workaround for ICE on powerpc64le
William Lyu [Wed, 6 Mar 2024 19:56:58 +0000 (11:56 -0800)] 
openssh: Add a workaround for ICE on powerpc64le

Fixes [YOCTO #15415]

The new openssh version has an ICE on powerpc64le similar to the one on
mips/mips64[1]. By adding flag "--without-hardening" to "./configure",
compiler option "-fzero-call-used-regs" will be removed when compiling. This
prevents certain functions from triggering the following ICE:

unimplemented: argument 'used' is not supported for '-fzero-call-used-regs' on this target

References
[1] https://git.openembedded.org/openembedded-core/commit/?id=5b290566519a87c563945a033cb49863317ad63d

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agokernel-fitImage: only include valid compatible line
Christian Taedcke [Wed, 6 Mar 2024 16:43:00 +0000 (08:43 -0800)] 
kernel-fitImage: only include valid compatible line

Without this commit the configuration node includes the compatible
line 'compatible = [00];' if EXTERNAL_KERNEL_DEVICETREE is not
defined, i.e. if PREFERRED_PROVIDER_virtual/dtb is not used.
This prevents u-boot from using this configuration and it prints the
message "Could not find configuration node".

An additional check also ensures that the written compatible line
never contains an empty compatible.

The functionality to add the compatible line was added in commit
f4c82fb6da89 ("kernel-fitImage: add machine compatible to config
section").

Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agogo.bbclass: set GOPROXY
Jose Quaresma [Thu, 7 Mar 2024 10:06:59 +0000 (02:06 -0800)] 
go.bbclass: set GOPROXY

The GOPROXY is already correctly defined on the native sys root
and this can be checked using the bitbake devshell:

| $ go env GOPROXY
| https://proxy.golang.org,direct

The go_do_compile task calls the compiler directly so the
GOPROXY env is not seen because it's not defined in the shell.
Defining it explicitly solves this problem and was to avoid
setting it in the recipes itself.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agosystemd: Check for directory before chmod'ing it
Khem Raj [Thu, 7 Mar 2024 19:10:36 +0000 (11:10 -0800)] 
systemd: Check for directory before chmod'ing it

da9db878a15 systemd: fix dead link /var/log/README
add -Dcreate-log-dirs=false which means journal dir
will not be generated regardless of VOLATILE_LOG_DIR value
if a distro decided to set VOLATILE_LOG_DIR=no this
code path will be executes and the directory being operated
upon wont exist ending in do_install errors

chown: cannot access '/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/systemd/255.4/image/var/log/journal': No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agobmaptool: Add bmap-tools runtime alias for compatibility
Tom Hochstein [Thu, 7 Mar 2024 18:53:52 +0000 (10:53 -0800)] 
bmaptool: Add bmap-tools runtime alias for compatibility

The rename of bmap-tools to bmaptool creates an incompatibility that
will break package feeds. Restore package feed compatibility by adding
a bmap-tools runtime alias.

Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agogo: filter out build specific path from the linker flags
Changqing Li [Thu, 7 Mar 2024 06:49:08 +0000 (22:49 -0800)] 
go: filter out build specific path from the linker flags

patch 0007-exec.go-do-not-write-linker-flags-into-buildids.patch
removes linker flags from buildids for not breaking reproducibility,
but it seems that this will make go not rebuild when linker flag
changes, Refer [1]. So remove this oe-specific patch, and change to
filter out build specific path from the linker flags

[1] https://github.com/golang/go/issues/63760

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agosystemd: remove systemd-bus-proxy settings
Chen Qi [Thu, 7 Mar 2024 02:27:35 +0000 (18:27 -0800)] 
systemd: remove systemd-bus-proxy settings

systemd-bus-proxy was removed since v230.
>From the NEWS file:
"""
  * systemd-bus-proxyd has been removed, as kdbus is unlikely to still be
    merged into the kernel in its current form.
"""

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agosystemd: use RDEPENDS for systemd-vconsole-setup
Chen Qi [Thu, 7 Mar 2024 02:27:35 +0000 (18:27 -0800)] 
systemd: use RDEPENDS for systemd-vconsole-setup

With NO_RECOMMENDATIONS set to "1", systemd-vonsole-setup.service
will fail because it invokes /usr/bin/loadkeys, which is from kbd.

The RRECOMMENDATION should be changed to RDEPENDS, because it's not
a recommenation, instead it's necessary.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agosystemd: fix dead link /var/log/README
Changqing Li [Thu, 7 Mar 2024 06:56:38 +0000 (22:56 -0800)] 
systemd: fix dead link /var/log/README

There are 2 issues here:
First, in package systemd, there is a file /usr/lib/tmpfile.d/legacy.conf,
which will create a symlink to /usr/share/doc/systemd/README.logs during
boot time. But for oe, /usr/share/doc/systemd/README.logs is packaged in
systemd-doc, which will make /var/log/README is dead link.

Second, the symlink /var/log/README in legacy.conf use relative path:
"L /var/log/README - - - - ../../usr/share/doc/systemd/README.logs"
But for oe, when VOLATILE_LOG_DIR is true, /var/log is a link to
/var/volatile/log, so /var/log/README need link to
../../../usr/share/doc/systemd/README.logs, while VOLATILE_LOG_DIR is
false, /var/log is a dir, so /var/log/README need link to
../../usr/share/doc/systemd/README.logs. So current symlink in
legacy.conf will also make it a dead link when VOLATILE_LOG_DIR is true.

Turn off CREATE_LOG_DIRS to avoid these issues.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agorxvt-unicode: Fix installing of terminfo
Changqing Li [Thu, 7 Mar 2024 06:50:34 +0000 (22:50 -0800)] 
rxvt-unicode: Fix installing of terminfo

For cross compile, TIC will be native tic in recipe-sysroot-native, and
the terminfo path will be native path, the rxvt-unicode terminfo will be
wrongly installed to native path.

install terminfo to correct path in do_install

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agovalgrind: skip intermittently failing ptests
Randy MacLeod [Thu, 7 Mar 2024 01:52:40 +0000 (17:52 -0800)] 
valgrind: skip intermittently failing ptests

Skip a few additional ptests that fail occasionally on the Yocto
autobuilder and remove those added to the remove-for-all list
if they were already in the remove-for-aarch64 list.

=== Test Summary ===
TOTAL: 774
PASSED: 755
FAILED: 0
SKIPPED: 19

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agosstatetests.py: Add testing for correct sstate permissions
Eilís 'pidge' Ní Fhlannagáin [Thu, 29 Feb 2024 12:05:04 +0000 (12:05 +0000)] 
sstatetests.py: Add testing for correct sstate permissions

This patch adds to run_test_sstate_creation so that it also tests
that sstate directories don't accidentally pickup umask permissions
from the user upon creation.

[RP: Python style tweaking]
Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agooeqa/runtime/login: Fix dbus-wait timeout and loop conditional
Richard Purdie [Thu, 7 Mar 2024 09:19:34 +0000 (09:19 +0000)] 
oeqa/runtime/login: Fix dbus-wait timeout and loop conditional

The dbus-wait command returns a timeout after 60s but reports "success", detect this.
Unfortunately it does effectively break the test as the signal is nearly never being
correctly detected since it was already sent.

For that reason comment out the code instead too.

Also fix the loop conditional as the logic was incorrect and it was looping
indefinitely when an image match didn't occur.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agooeqa/runtime/login: Add screenshot sample logic/timeout/dbus-wait
Eilís 'pidge' Ní Fhlannagáin [Wed, 6 Mar 2024 14:30:20 +0000 (14:30 +0000)] 
oeqa/runtime/login: Add screenshot sample logic/timeout/dbus-wait

This patch uses dbus-wait to wait for matchbox to be up. Once that
happens, it sets a timeout of 60 seconds and takes a screenshot
and compares it, every 2 seconds. If diff=0 it passes. If the timeout
ends, it fails.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
6 months agooeqa/runtime/login: Exclude qemuriscv64
Eilís 'pidge' Ní Fhlannagáin [Wed, 6 Mar 2024 15:50:43 +0000 (15:50 +0000)] 
oeqa/runtime/login: Exclude qemuriscv64

Excluding riscv64 due to mouse rather than a touchscreen which adds a
moving cursor, so the diff ends up > 0. Need to fix the image to use the
touchscreen rather than mouse input.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
6 months agooeqa/runtime/login: Mask out the mouse panel icon for now
Richard Purdie [Tue, 5 Mar 2024 15:11:10 +0000 (15:11 +0000)] 
oeqa/runtime/login: Mask out the mouse panel icon for now

The mouse panel icon can move when the time changes between 3 and 4 digits.
Ideally we'd fix the alignment of the clock on the panel but to get the
tests working, increase the size of the mask for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agooeqa/runtime/login: Various code improvements and fixes
Richard Purdie [Tue, 5 Mar 2024 18:00:10 +0000 (18:00 +0000)] 
oeqa/runtime/login: Various code improvements and fixes

* Allow tools to be found from the host PATH so that imagemagick from a buildtools
  tarball/sdk can work
* Reformat the code to have imports at the start of the file and have more standard
  formatting and whitespace
* Always save copies of the images, the space imapct is negligle compared to the
  debug win
* Write the images to ${T}
* Use bb.utils.mkdirhier() instead of more complex code
* Restrict the tests to images containing matchbox-desktop

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agooeqa/runtime/login: Proof of concept for screenshot testcases
Eilís 'pidge' Ní Fhlannagáin [Thu, 29 Feb 2024 12:05:07 +0000 (12:05 +0000)] 
oeqa/runtime/login: Proof of concept for screenshot testcases

This takes the work rburton did on image screenshot testing and
expands it.

Right now this works with most of the qemu based machines except for

- qemuppc64
- qemuarmv5
- qemuriscv32
- qemuloongarch64

See "Known Issues" further down.

This test takes a screendump of a qemu image, blanks out the clock
and compares it to an image we have on record. If the diff is exact,
the test passes. If not, it stores the image in build/failed-images and
fails out.

In order to enable this test, you will need meta-openembedded/meta-oe in
your bblayers.conf for imagemagick and the following in local.conf:

IMAGE_CLASSES += "testimage"
TEST_SUITES = "login"
TESTIMAGEDEPENDS:append:qemuall = " imagemagick-native:do_populate_sysroot "

Known Issues
------------

The main issue is that I've yet to find a gating factor that would allow
me to tell when the qemu instance is fully up and rendered. I've tried a
few tactics here, (dbus-wait, qmp) but for now a disgusting
time.sleep(30) is there.

You can replicate this by running qemumips. The screen load takes forever,
but you even see it on qemux86 where the Home and Workspace Switch icons
will sometimes take a while to fully load.

Eventually I'm going to have to take multiple screenshots and compare
them, but then you get into the issue where the question is, is the diff
greater than 0 because it hasn't fully loaded or something is actually
incorrect.

There are the issues I know about:

   - runqemu qemuppc64 comes up blank.
   - qemuarmv5 comes up with multiple heads but sending "head" to screendump.
     seems to create a png with a bad header.
   - qemuriscv32 and qemuloongarch64 don't work with testimage apparently?
   - qemumips64 is missing mouse icon.
   - qemumips takes forever to render and is missing mouse icon.
   - qemuarm and qemuppc return incorrect width
   - All images have home and screen flipper icons not always rendered fully at first.
     The sleep seems to help this out some, depending on machine load.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Co-authored-by: Ross Burton <ross.burton@arm.com>
Co-authored-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoscreenshot-tests: Add initial screenshot test png files for core-image-sato
Eilís 'pidge' Ní Fhlannagáin [Thu, 29 Feb 2024 12:05:06 +0000 (12:05 +0000)] 
screenshot-tests: Add initial screenshot test png files for core-image-sato

This is an initial commit of png's we can use to test qemu image testing
against.

Also add symlinks for core-image-sato-sdk

[RP: Add symlinks and missing image]
Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoqemurunner.py: Fix error on calls to run_monitor
Eilís 'pidge' Ní Fhlannagáin [Thu, 29 Feb 2024 12:05:05 +0000 (12:05 +0000)] 
qemurunner.py: Fix error on calls to run_monitor

A change in QEMUMonitorProtocol.cmd() requires that we either pass in
kwargs instead of an argument dict or move to cmd_raw()

cmd() was renamed to cmd_raw() (and command() was renamed to cmd())
See:
https://github.com/qemu/qemu/commit/37274707f6f3868fae7e0055d9a703006fc142d0
https://github.com/qemu/qemu/commit/684750ab4f8a3ad69512b71532408be3ac2547d4

My concern with this patch is that I haven't seen this come up with
utils/dump.py which also uses QemuMonitor's run_monitor. If it is
occuring, this should fix issues there as well

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agowebkitgtk: upgrade 2.42.2 -> 2.42.5
Alexander Kanavin [Wed, 6 Mar 2024 15:42:28 +0000 (07:42 -0800)] 
webkitgtk: upgrade 2.42.2 -> 2.42.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agovulkan: upgrade 1.3.268.0 -> 1.3.275.0
Alexander Kanavin [Wed, 6 Mar 2024 15:42:27 +0000 (07:42 -0800)] 
vulkan: upgrade 1.3.268.0 -> 1.3.275.0

Add vulkan-volk recipe to support building latest vulkan-tools.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agovala: upgrade 0.56.13 -> 0.56.15
Alexander Kanavin [Wed, 6 Mar 2024 15:42:27 +0000 (07:42 -0800)] 
vala: upgrade 0.56.13 -> 0.56.15

gobject-introspection is added as configure checks for its pkg-config file.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoupdate-rc.d: upgrade to latest revision
Alexander Kanavin [Wed, 6 Mar 2024 15:42:26 +0000 (07:42 -0800)] 
update-rc.d: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agotaglib: upgrade 1.13.1 -> 2.0 and add utfcpp recipe to support that
Alexander Kanavin [Wed, 6 Mar 2024 15:42:25 +0000 (07:42 -0800)] 
taglib: upgrade 1.13.1 -> 2.0 and add utfcpp recipe to support that

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agottyrun: upgrade 2.30.0 -> 2.31.0
Alexander Kanavin [Wed, 6 Mar 2024 15:42:25 +0000 (07:42 -0800)] 
ttyrun: upgrade 2.30.0 -> 2.31.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agosystemd: upgrade 255.1 -> 255.4
Alexander Kanavin [Wed, 6 Mar 2024 15:42:24 +0000 (07:42 -0800)] 
systemd: upgrade 255.1 -> 255.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agoshaderc: update 2023.7 -> 2023.8
Alexander Kanavin [Wed, 6 Mar 2024 15:42:24 +0000 (07:42 -0800)] 
shaderc: update 2023.7 -> 2023.8

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agorepo: upgrade 2.41 -> 2.42
Alexander Kanavin [Wed, 6 Mar 2024 15:42:23 +0000 (07:42 -0800)] 
repo: upgrade 2.41 -> 2.42

Drop patch as issue fixed upstream:
https://gerrit.googlesource.com/git-repo/+/b8139bdcf87540fbe88a8b9180c052f5cc3a91b7

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopython3-wcwidth: upgrade 0.2.12 -> 0.2.13
Alexander Kanavin [Wed, 6 Mar 2024 15:42:23 +0000 (07:42 -0800)] 
python3-wcwidth: upgrade 0.2.12 -> 0.2.13

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopython3-setuptools: upgrade 69.0.3 -> 69.1.1
Alexander Kanavin [Wed, 6 Mar 2024 15:42:22 +0000 (07:42 -0800)] 
python3-setuptools: upgrade 69.0.3 -> 69.1.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopython3-ruamel-yaml: upgrade 0.17.35 -> 0.18.6
Alexander Kanavin [Wed, 6 Mar 2024 15:42:22 +0000 (07:42 -0800)] 
python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.6

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopython3-jsonschema: upgrade 4.17.3 -> 4.21.1 and add new dependencies
Alexander Kanavin [Wed, 6 Mar 2024 15:42:21 +0000 (07:42 -0800)] 
python3-jsonschema: upgrade 4.17.3 -> 4.21.1 and add new dependencies

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopython3-dtschema: upgrade 2023.7 -> 2024.2
Alexander Kanavin [Wed, 6 Mar 2024 15:42:21 +0000 (07:42 -0800)] 
python3-dtschema: upgrade 2023.7 -> 2024.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 months agopython3-build: upgrade 1.0.3 -> 1.1.1
Alexander Kanavin [Wed, 6 Mar 2024 15:42:20 +0000 (07:42 -0800)] 
python3-build: upgrade 1.0.3 -> 1.1.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>