Skip to contentSkip to conversation

Patch review

PATCH In review Steve Sakoman 7 participants 35 messages Aug 30, 2020 – Sep 21, 2020 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

cover Patch review

Please review this next set of patches for dunfell and have comments back by end of day Tuesday.

Passed a-full on autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1320

The following changes since commit bec0a45393d968251059f5075add2cf633aecd1a:

runqemu: Check gtk or sdl option is passed together with gl or gl-es options. (2020-08-19 04:11:14 -1000)

are available in the Git repository at:

git://git.openembedded.org/openembedded-core-contrib stable/dunfell-nut
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=stable/dunfell-nut

Alexander Kanavin (2):
linux-firmware: upgrade 20200619 -> 20200721
linux-firmware: update 20200721 -> 20200817

Armin Kuster (1):
bind: update to 9.11.22 ESV

Bruce Ashfield (4):
linux-yocto/5.4: update to v5.4.59
linux-yocto/5.4: update to v5.4.60
linux-yocto/5.4: update to v5.4.61
kernel-yocto: checksum all modifications to available kernel fragments
directories

Changqing Li (1):
gpgme: fix multilib header conflict

Guillaume Champagne (1):
weston: add missing packageconfigs

Joshua Watt (1):
oeqa: runtime_tests: Extra GPG debugging

Mark Hatle (2):
package_tar.bbclass: Sync to the other package_* classes package.bbclass: Sort shlib2 output for hash equivalency

Martin Jansa (2):
devtool: expand SRC_URI when guessing recipe update mode
perf: backport a fix for confusing non-fatal error

Ming Liu (4):
conf/machine: set UBOOT_MACHINE for qemumips and qemumips64 multilib.conf: add u-boot to NON_MULTILIB_RECIPES
libubootenv: uprev to v0.3
libubootenv: inherit uboot-config

Peter A. Bigot (1):
bluez5: fix builds that require ell support

Rasmus Villemoes (1):
kernel.bbclass: run do_symlink_kernsrc before do_patch

Richard Purdie (1):
runqemu: Show an error for conflicting graphics options

Ross Burton (1):
package.bbclass: explode the RPROVIDES so we don't think the versions
are provides

TeohJayShen (2):
oeqa/manual/bsp-hw.json : remove shutdown_system test oeqa/manual/bsp-hw.json : remove
X_server_can_start_up_with_runlevel_5_boot test

Vijai Kumar K (1):
image_types_wic: Add ASSUME_PROVIDED to WICVARS

 meta/classes/image_types_wic.bbclass          |  3 +-
 meta/classes/kernel-yocto.bbclass             | 16 +++++++
 meta/classes/kernel.bbclass                   |  2 +-
 meta/classes/nopackages.bbclass               |  1 +
 meta/classes/package.bbclass                  |  4 +-
 meta/classes/package_tar.bbclass              |  6 +--
 meta/conf/machine/qemumips.conf               |  2 +
 meta/conf/machine/qemumips64.conf             |  2 +
 meta/conf/multilib.conf                       |  2 +-
 meta/lib/oeqa/manual/bsp-hw.json              | 44 -------------------
 meta/lib/oeqa/selftest/cases/runtime_test.py  |  2 +-
 ...{libubootenv_0.2.bb => libubootenv_0.3.bb} |  9 ++--
 .../bind/{bind_9.11.21.bb => bind_9.11.22.bb} |  2 +-
 meta/recipes-connectivity/bluez5/bluez5.inc   |  4 +-
 meta/recipes-graphics/wayland/weston_8.0.0.bb | 20 ++++++++-
 ...20200619.bb => linux-firmware_20200817.bb} |  4 +-
 .../linux/linux-yocto-rt_5.4.bb               |  6 +--
 .../linux/linux-yocto-tiny_5.4.bb             |  8 ++--
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +++++-----
 meta/recipes-kernel/perf/perf.bb              |  4 ++
 meta/recipes-support/gpgme/gpgme_1.13.1.bb    |  6 ++-
 scripts/lib/devtool/standard.py               |  2 +-
 scripts/runqemu                               |  4 ++
 23 files changed, 91 insertions(+), 84 deletions(-)
 rename meta/recipes-bsp/u-boot/{libubootenv_0.2.bb => libubootenv_0.3.bb} (78%)
 rename meta/recipes-connectivity/bind/{bind_9.11.21.bb => bind_9.11.22.bb} (98%)
 rename meta/recipes-kernel/linux-firmware/{linux-firmware_20200619.bb => linux-firmware_20200817.bb} (99%)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/25 oeqa: runtime_tests: Extra GPG debugging

From: Joshua Watt <[email protected]>

This patch enables extra debugging for gpg to try and get more debugging information when [YOCTO #14003] occurs

(cherry picked from commit f24d7be1fb863006b5414fa8f9c9a37bb48d5a6f)
---
 meta/lib/oeqa/selftest/cases/runtime_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/selftest/cases/runtime_test.py +1 -1
index 60cb2e01a6..cd03069340 100644
@@ -156,7 +156,7 @@ class TestImage(OESelftestTestCase):
         self.gpg_home = tempfile.mkdtemp(prefix="oeqa-feed-sign-")
         self.track_for_cleanup(self.gpg_home)
         signing_key_dir = os.path.join(self.testlayer_path, 'files', 'signing')
-        runCmd('gpg --batch --homedir %s --import %s' % (self.gpg_home, os.path.join(signing_key_dir, 'key.secret')), native_sysroot=get_bb_var("RECIPE_SYSROOT_NATIVE", "gnupg-native"))
+        runCmd('gpgconf --list-dirs --homedir %s; gpg -v --batch --homedir %s --import %s' % (self.gpg_home, self.gpg_home, os.path.join(signing_key_dir, 'key.secret')), native_sysroot=get_bb_var("RECIPE_SYSROOT_NATIVE", "gnupg-native"), shell=True)
         features += 'INHERIT += "sign_package_feed"\n'
         features += 'PACKAGE_FEED_GPG_NAME = "testuser"\n'
         features += 'PACKAGE_FEED_GPG_PASSPHRASE_FILE = "%s"\n' % os.path.join(signing_key_dir, 'key.passphrase')
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/25 runqemu: Show an error for conflicting graphics options

In reply to Steve Sakoman

From: Richard Purdie <[email protected]>

The autobuilder managed to pass the nographic option with "sdl gl" due to a problem elsewhere. It would have been useful for runqemu to have errored rather than passing conflicting options to qemu. Add an error for this invalid usecase.

(cherry picked from commit 377a6ffbcba0d3c5ede470c989756c4d1636873f)
---
 scripts/runqemu | 4 ++++
 1 file changed, 4 insertions(+)
scripts/runqemu +4 -0
index 398f0a0910..b24ac1c804 100755
@@ -436,6 +436,10 @@ class BaseConfig(object):
             if arg in self.fstypes + self.vmtypes + self.wictypes:
                 self.check_arg_fstype(arg)
             elif arg == 'nographic':
+                if ('sdl' in sys.argv):
+                    raise RunQemuError('Option nographic makes no sense alongside the sdl option.' % (arg))
+                if ('gtk' in sys.argv):
+                    raise RunQemuError('Option nographic makes no sense alongside the gtk option.' % (arg))
                 self.qemu_opt_script += ' -nographic'
                 self.kernel_cmdline_script += ' console=ttyS0'
             elif arg == 'sdl':
Signature · 1 line
2.17.1
#3 lore raw

PATCH 3/25 oeqa/manual/bsp-hw.json : remove shutdown_system test

In reply to Steve Sakoman

From: TeohJayShen <[email protected]>

remove the test as shutdown function is already being validated

(cherry picked from commit 58281082fbed57298247c019c3d8149e688de161)
---
 meta/lib/oeqa/manual/bsp-hw.json | 22 ----------------------
 1 file changed, 22 deletions(-)
meta/lib/oeqa/manual/bsp-hw.json +0 -22
index a9bc7d4501..08132c0f97 100644
@@ -123,28 +123,6 @@
             "summary": "boot_from_runlevel_5"
         }
     },
-    {
-        "test": {
-            "@alias": "bsps-hw.bsps-hw.shutdown_system",
-            "author": [
-                {
-                    "email": "[email protected]",
-                    "name": "[email protected]"
-                }
-            ],
-            "execution": {
-                "1": {
-                    "action": "boot system",
-                    "expected_results": ""
-                },
-                "2": {
-                    "action": "launch terminal and run \"shutdown -h now\" or \"poweroff\"",
-                    "expected_results": "System can be shutdown successfully . "
-                }
-            },
-            "summary": "shutdown_system"
-        }
-    },
     {
         "test": {
             "@alias": "bsps-hw.bsps-hw.switch_among_multi_applications_and_desktop",
Signature · 1 line
2.17.1
#4 lore raw

PATCH 4/25 oeqa/manual/bsp-hw.json : remove X_server_can_start_up_with_runlevel_5_boot test

In reply to Steve Sakoman

From: TeohJayShen <[email protected]>

remove the test as graphical mode is already being validated

(cherry picked from commit ad5b5ca9ec1d9106911a610bb36fb98e3f17748d)
---
 meta/lib/oeqa/manual/bsp-hw.json | 22 ----------------------
 1 file changed, 22 deletions(-)
meta/lib/oeqa/manual/bsp-hw.json +0 -22
index 08132c0f97..75b89758cb 100644
@@ -239,28 +239,6 @@
             "summary": "connman_offline_mode_in_connman-gnome"
         }
     },
-    {
-        "test": {
-            "@alias": "bsps-hw.bsps-hw.X_server_can_start_up_with_runlevel_5_boot",
-            "author": [
-                {
-                    "email": "[email protected]",
-                    "name": "[email protected]"
-                }
-            ],
-            "execution": {
-                "1": {
-                    "action": "boot up system with default runlevel  \n\n",
-                    "expected_results": "X server can start up well and desktop display has no problem .  \n\n"
-                },
-                "2": {
-                    "action": "type runlevel at command prompt",
-                    "expected_results": "Output:N 5"
-                }
-            },
-            "summary": "X_server_can_start_up_with_runlevel_5_boot"
-        }
-    },
     {
         "test": {
             "@alias": "bsps-hw.bsps-hw.standby",
Signature · 1 line
2.17.1
#5 lore raw

PATCH 5/25 package_tar.bbclass: Sync to the other package_* classes

In reply to Steve Sakoman

From: Mark Hatle <[email protected]>

Sync up the anonymous python definition with the other package_*.bbclass files. This should make future maintenance easier, even though it has no difference in behavior from what was there.

Additional, there was a missing deltask in the nopackages.bbclass related to the package_tar which has been corrected. This could cause problems on native recipes when package_tar was enabled.

(cherry picked from commit f87452942f6391a239b50e3f3f9fa100e74a78fa)
---
 meta/classes/nopackages.bbclass  | 1 +
 meta/classes/package_tar.bbclass | 6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)
meta/classes/nopackages.bbclass +1 -0
index 559f5078bd..7a4f632d71 100644
@@ -2,6 +2,7 @@ deltask do_package
 deltask do_package_write_rpm
 deltask do_package_write_ipk
 deltask do_package_write_deb
+deltask do_package_write_tar
 deltask do_package_qa
 deltask do_packagedata
 deltask do_package_setscene
meta/classes/package_tar.bbclass +2 -4
index ce3ab4c8e2..d6c1b306fc 100644
@@ -57,10 +57,8 @@ python do_package_tar () {
 
 python () {
     if d.getVar('PACKAGES') != '':
-        deps = (d.getVarFlag('do_package_write_tar', 'depends') or "").split()
-        deps.append('tar-native:do_populate_sysroot')
-        deps.append('virtual/fakeroot-native:do_populate_sysroot')
-        d.setVarFlag('do_package_write_tar', 'depends', " ".join(deps))
+        deps = ' tar-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot'
+        d.appendVarFlag('do_package_write_tar', 'depends', deps)
         d.setVarFlag('do_package_write_tar', 'fakeroot', "1")
 }
 
Signature · 1 line
2.17.1
#6 lore raw

PATCH 6/25 package.bbclass: Sort shlib2 output for hash equivalency

In reply to Steve Sakoman

From: Mark Hatle <[email protected]>

The output was unsorted, so different versions of python, different input ordering could have have changed the files, and thus changed the hashes making the system think the output was different, even when unmodified.

(cherry picked from commit 23cc846c92219c5cbe3fc6a0024579195d3cbd78)
---
 meta/classes/package.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/package.bbclass +1 -1
index 099d0459f3..2d96e646da 100644
@@ -1842,7 +1842,7 @@ python package_do_shlibs() {
         shlibs_file = os.path.join(shlibswork_dir, pkg + ".list")
         if len(sonames):
             with open(shlibs_file, 'w') as fd:
-                for s in sonames:
+                for s in sorted(sonames):
                     if s[0] in shlib_provider and s[1] in shlib_provider[s[0]]:
                         (old_pkg, old_pkgver) = shlib_provider[s[0]][s[1]]
                         if old_pkg != pkg:
Signature · 1 line
2.17.1
#7 lore raw

PATCH 7/25 package.bbclass: explode the RPROVIDES so we don't think the versions are provides

In reply to Steve Sakoman

From: Ross Burton <[email protected]>

emit_pkgdata() creates symlinks for each of the RPROVIDES in pkgdata/MACHINE/runtime-rprovides. However this string can contain versions which results in directories called (=2.32), so pass the RPROVIDES string through bb.utils.explode_deps() to strip the versions out.

Helps mitigate - but not solve - #13999.

(cherry picked from commit 6a5395dec34192db233bfb2a060e5ccc99708f03)
---
 meta/classes/package.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/package.bbclass +1 -1
index 2d96e646da..23ff4772fa 100644
@@ -1544,7 +1544,7 @@ fi
         # Symlinks needed for rprovides lookup
         rprov = d.getVar('RPROVIDES_%s' % pkg) or d.getVar('RPROVIDES')
         if rprov:
-            for p in rprov.strip().split():
+            for p in bb.utils.explode_deps(rprov):
                 subdata_sym = pkgdatadir + "/runtime-rprovides/%s/%s" % (p, pkg)
                 bb.utils.mkdirhier(os.path.dirname(subdata_sym))
                 oe.path.symlink("../../runtime/%s" % pkg, subdata_sym, True)
Signature · 1 line
2.17.1
#8 lore raw

PATCH 8/25 image_types_wic: Add ASSUME_PROVIDED to WICVARS

In reply to Steve Sakoman

From: Vijai Kumar K <[email protected]>

Add ASSUME_PROVIDED to WICVARS so that wic can use that when running on bitbake environment.

This fixes the below build failure in do_image_wic when --include-path is used in wks file.

(cherry picked from commit 04068ff19d2c18c3b915aab6832ad4b48affa07f)
---
 meta/classes/image_types_wic.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/image_types_wic.bbclass +2 -1
index b83308b45c..196c86814e 100644
@@ -4,7 +4,8 @@ WICVARS ?= "\
            BBLAYERS IMGDEPLOYDIR DEPLOY_DIR_IMAGE FAKEROOTCMD IMAGE_BASENAME IMAGE_BOOT_FILES \
            IMAGE_LINK_NAME IMAGE_ROOTFS INITRAMFS_FSTYPES INITRD INITRD_LIVE ISODIR RECIPE_SYSROOT_NATIVE \
            ROOTFS_SIZE STAGING_DATADIR STAGING_DIR STAGING_LIBDIR TARGET_SYS \
-           KERNEL_IMAGETYPE MACHINE INITRAMFS_IMAGE INITRAMFS_IMAGE_BUNDLE INITRAMFS_LINK_NAME APPEND"
+           KERNEL_IMAGETYPE MACHINE INITRAMFS_IMAGE INITRAMFS_IMAGE_BUNDLE INITRAMFS_LINK_NAME APPEND \
+           ASSUME_PROVIDED"
 
 inherit ${@bb.utils.contains('INITRAMFS_IMAGE_BUNDLE', '1', 'kernel-artifact-names', '', d)}
 
Signature · 1 line
2.17.1
#9 lore raw

PATCH 9/25 devtool: expand SRC_URI when guessing recipe update mode

In reply to Steve Sakoman

From: Martin Jansa <[email protected]>

* I have recipes which use variable inside SRC_URI, e.g.:
ROS_BRANCH ?= "branch=release/melodic/swri_nodelet"
SRC_URI = "git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https"

and devtool modify works fine, but devtool finish fails with:

  $ devtool finish --force-patch-refresh swri-nodelet meta-ros/meta-ros1-melodic/
  ...
  Traceback (most recent call last):
    File "/OE/openembedded-core/scripts/devtool", line 334, in <module>
      ret = main()
    File "/OE/openembedded-core/scripts/devtool", line 321, in main
      ret = args.func(args, config, basepath, workspace)
    File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 2082, in finish
      updated, appendfile, removed = _update_recipe(args.recipename, workspace, rd, args.mode, appendlayerdir, wildcard_version=True, no_remove=False, no_report_remove=removing_original, initial_rev=args.initial_rev, dry_run_outdir=dry_run_outdir, no_overrides=args.no_overrides, force_patch_refresh=args.force_patch_refresh)
    File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1737, in _update_recipe
      mode = _guess_recipe_update_mode(srctree, rd)
    File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1721, in _guess_recipe_update_mode
      params = bb.fetch.decodeurl(uri)[5]
    File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 390, in decodeurl
      raise MalformedUrl(url, "The URL: '%s' is invalid: parameter %s does not specify a value (missing '=')" % (url, s))
  bb.fetch2.MalformedUrl: The URL: 'git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https' is invalid: parameter ${ROS_BRANCH} does not specify a value (missing '=')

let it expand the SRC_URI before trying to decode it.

(cherry picked from commit 3535cfdbf3d77f550b804276f957acf859da484f)
---
 scripts/lib/devtool/standard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/devtool/standard.py +1 -1
index bab644b83a..d140b97de1 100644
@@ -1711,7 +1711,7 @@ def _update_recipe_patch(recipename, workspace, srctree, rd, appendlayerdir, wil
 
 def _guess_recipe_update_mode(srctree, rdata):
     """Guess the recipe update mode to use"""
-    src_uri = (rdata.getVar('SRC_URI', False) or '').split()
+    src_uri = (rdata.getVar('SRC_URI') or '').split()
     git_uris = [uri for uri in src_uri if uri.startswith('git://')]
     if not git_uris:
         return 'patch'
Signature · 1 line
2.17.1
#10 lore raw

PATCH 10/25 weston: add missing packageconfigs

In reply to Steve Sakoman

From: Guillaume Champagne <[email protected]>

Add missing package configs to:
- Select shell integration
- Disable screen sharing module (independent from backend)
- Disable jpeg image support

PACKAGECONFIG default value is updated to enable these configs, since they were previously implicitly enabled.

(cherry picked from commit f883413b2bc6e7d0bd44ce8324cd36a8fe918e5f)
---
 meta/recipes-graphics/wayland/weston_8.0.0.bb | 20 +++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)
meta/recipes-graphics/wayland/weston_8.0.0.bb +18 -2
index f8e9e15f84..8fef864827 100644
@@ -20,7 +20,7 @@ inherit meson pkgconfig useradd features_check
 # depends on virtual/egl
 REQUIRED_DISTRO_FEATURES = "opengl"
 
-DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
+DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0"
 DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native"
 
 WESTON_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:1])}"
@@ -31,7 +31,13 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd x11', d)} \
                    ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \
-                   launch"
+                   launch \
+                   image-jpeg \
+                   screenshare \
+                   shell-desktop \
+                   shell-fullscreen \
+                   shell-ivi"
+
 #
 # Compositor choices
 #
@@ -67,6 +73,16 @@ PACKAGECONFIG[clients] = "-Dsimple-clients=all -Ddemo-clients=true,-Dsimple-clie
 PACKAGECONFIG[remoting] = "-Dremoting=true,-Dremoting=false,gstreamer-1.0"
 # Weston with PAM support
 PACKAGECONFIG[pam] = "-Dpam=true,-Dpam=false,libpam"
+# Weston with screen-share support
+PACKAGECONFIG[screenshare] = "-Dscreenshare=true,-Dscreenshare=false"
+# Traditional desktop shell
+PACKAGECONFIG[shell-desktop] = "-Dshell-desktop=true,-Dshell-desktop=false"
+# Fullscreen shell
+PACKAGECONFIG[shell-fullscreen] = "-Dshell-fullscreen=true,-Dshell-fullscreen=false"
+# In-Vehicle Infotainment (IVI) shell
+PACKAGECONFIG[shell-ivi] = "-Dshell-ivi=true,-Dshell-ivi=false"
+# JPEG image loading support
+PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg"
 
 do_install_append() {
 	# Weston doesn't need the .la files to load modules, so wipe them
Signature · 1 line
2.17.1
#11 lore raw

PATCH 11/25 gpgme: fix multilib header conflict

In reply to Steve Sakoman

From: Changqing Li <[email protected]>

fix error:
file /usr/include/gpgme.h conflicts between attempted installs of gpgme-dev-1.13.1-r0.core2_64 and lib32-gpgme-dev-1.13.1-r0.core2_32

part of diff:
-#if 64
+#if 0
#ifndef _FILE_OFFSET_BITS
-#error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual. +#error GPGME was compiled with _FILE_OFFSET_BITS = 0, please see the section "Largefile support (LFS)" in the GPGME manual.
#else
-#if (_FILE_OFFSET_BITS) != (64)
-#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual. +#if (_FILE_OFFSET_BITS) != (0)
+#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 0, please see the section "Largefile support (LFS)" in the GPGME manual.
#endif
#endif
#endif

LFS support is enabled by default, and this header is generated during build according to current configure

(cherry picked from commit bd056f9c4c22740a4f7ede00c758a21037eae5ca)
---
 meta/recipes-support/gpgme/gpgme_1.13.1.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-support/gpgme/gpgme_1.13.1.bb +5 -1
index 9fc1ae24a4..b51534351d 100644
@@ -59,7 +59,7 @@ EXTRA_OECONF += '--enable-languages="${LANGUAGES}" \
                  --disable-lang-python-test \
 '
 
-inherit autotools texinfo binconfig-disabled pkgconfig distutils-common-base ${PYTHON_INHERIT}
+inherit autotools texinfo binconfig-disabled pkgconfig distutils-common-base ${PYTHON_INHERIT} multilib_header
 
 export PKG_CONFIG='pkg-config'
 
@@ -83,3 +83,7 @@ do_configure_prepend () {
 	rm -f ${S}/m4/libassuan.m4
 	rm -f ${S}/m4/python.m4
 }
+
+do_install_append() {
+       oe_multilib_header gpgme.h
+}
Signature · 1 line
2.17.1
#12 lore raw

PATCH 12/25 perf: backport a fix for confusing non-fatal error

In reply to Steve Sakoman

From: Martin Jansa <[email protected]>

* add V=1 to make log.do_compile a bit more useful, with this it shows:
/bin/sh '/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools/perf/trace/beauty/arch_errno_names.sh' x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/recipe-sysroot /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools > /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/trace/beauty/generated/arch_errno_name_array.c
find: unknown predicate `-m64/arch'
x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h'
x86_64-oe-linux-gcc: fatal error: no input files
compilation terminated.
x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h'
x86_64-oe-linux-gcc: fatal error: no input files
compilation terminated.

* apply https://github.com/torvalds/linux/commit/e4ffd066ff440a57097e9140fa9e16ceef905de8
with sed call to fix this

(cherry picked from commit c603e6e13e44ae907cf1f04abf6e1babf3d7be26)
---
 meta/recipes-kernel/perf/perf.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-kernel/perf/perf.bb +4 -0
index c4b7b77e99..578b871e9e 100644
@@ -68,6 +68,7 @@ SPDX_S = "${S}/tools/perf"
 LDFLAGS="-ldl -lutil"
 
 EXTRA_OEMAKE = '\
+    V=1 \
     -C ${S}/tools/perf \
     O=${B} \
     CROSS_COMPILE=${TARGET_PREFIX} \
@@ -199,6 +200,9 @@ do_configure_prepend () {
             ${S}/tools/perf/Makefile.perf
         sed -i -e "s,prefix='\$(DESTDIR_SQ)/usr'$,prefix='\$(DESTDIR_SQ)/usr' --install-lib='\$(DESTDIR)\$(PYTHON_SITEPACKAGES_DIR)',g" \
             ${S}/tools/perf/Makefile.perf
+        # backport https://github.com/torvalds/linux/commit/e4ffd066ff440a57097e9140fa9e16ceef905de8
+        sed -i -e 's,\($(Q)$(SHELL) .$(arch_errno_tbl).\) $(CC) $(arch_errno_hdr_dir),\1 $(firstword $(CC)) $(arch_errno_hdr_dir),g' \
+            ${S}/tools/perf/Makefile.perf
     fi
     sed -i -e "s,--root='/\$(DESTDIR_SQ)',--prefix='\$(DESTDIR_SQ)/usr' --install-lib='\$(DESTDIR)\$(PYTHON_SITEPACKAGES_DIR)',g" \
         ${S}/tools/perf/Makefile*
Signature · 1 line
2.17.1
#13 lore raw

PATCH 13/25 bind: update to 9.11.22 ESV

In reply to Steve Sakoman

From: Armin Kuster <[email protected]>

Source: isc.org
MR: 105232, 105246, 105260
Type: Security Fix
Disposition: Backport from https://www.isc.org/bind/
ChangeID: 655cfdf1e91c4107321e63a2012302e1cc184366 Description:

Bug fix only update

Three CVE fixes
CVE-2020-8622
CVE-2020-8623
CVE-2020-8624

For more information see: https://downloads.isc.org/isc/bind9/9.11.22/RELEASE-NOTES-bind-9.11.22.pdf

(cherry picked from commit 1c85f26b1bd3475699d54f18c6b5b4924bcd8eb2)
---
 .../bind/{bind_9.11.21.bb => bind_9.11.22.bb}                   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-connectivity/bind/{bind_9.11.21.bb => bind_9.11.22.bb} (98%)
meta/recipes-connectivity/bind/bind_9.11.22.bb renamed from meta/recipes-connectivity/bind/bind_9.11.21.bb +1 -1
similarity index 98%
rename from meta/recipes-connectivity/bind/bind_9.11.21.bb
rename to meta/recipes-connectivity/bind/bind_9.11.22.bb
index ee546a0a2c..7128bd3870 100644
@@ -20,7 +20,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
            file://0001-avoid-start-failure-with-bind-user.patch \
            "
 
-SRC_URI[sha256sum] = "668158b005b3de4328fa0dbbbb3f524b66f28f024c67538aa9412a9e69c9dfbc"
+SRC_URI[sha256sum] = "afc6d8015006f1cabf699ff19f517bb8fd9c1811e5231f26baf51c3550262ac9"
 
 UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
 # stay at 9.11 until 9.16, from 9.16 follow the ESV versions divisible by 4
Signature · 1 line
2.17.1
#14 lore raw

PATCH 14/25 bluez5: fix builds that require ell support

In reply to Steve Sakoman

From: "Peter A. Bigot" <[email protected]>

Shortly after the recipe was updated to add ell as a mesh dependency the way ell was integrated into bluez5 was changed. BlueZ requires ell only for mesh and for btpclient (external test programs). It will be ignored unless either mesh or btpclient are selected.

ell can be supplied externally, or it can be copied into the bluez build directory from an existing sibling source directory. Since bitbake builds do not provide a sibling source directory tell bluez to look for it as an external library in the conditions where it's required.

(cherry picked from commit f22b4eba98b3707d7f6daa4277414cecb3e5ee6b)
---
 meta/recipes-connectivity/bluez5/bluez5.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/bluez5/bluez5.inc +2 -2
index 150d909d73..f34ba0dce5 100644
@@ -42,8 +42,8 @@ PACKAGECONFIG[sixaxis] = "--enable-sixaxis,--disable-sixaxis"
 PACKAGECONFIG[tools] = "--enable-tools,--disable-tools"
 PACKAGECONFIG[threads] = "--enable-threads,--disable-threads"
 PACKAGECONFIG[deprecated] = "--enable-deprecated,--disable-deprecated"
-PACKAGECONFIG[mesh] = "--enable-mesh,--disable-mesh, json-c ell"
-PACKAGECONFIG[btpclient] = "--enable-btpclient,--disable-btpclient, ell"
+PACKAGECONFIG[mesh] = "--enable-mesh --enable-external-ell,--disable-mesh, json-c ell"
+PACKAGECONFIG[btpclient] = "--enable-btpclient --enable-external-ell,--disable-btpclient, ell"
 PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
Signature · 1 line
2.17.1
#15 lore raw

PATCH 15/25 conf/machine: set UBOOT_MACHINE for qemumips and qemumips64

In reply to Steve Sakoman

From: Ming Liu <[email protected]>

These machines support booting U-Boot, so set the machine appropriately.

(cherry picked from commit b812fad85aed6cb9e433c689f3b14425488dfc68)
---
 meta/conf/machine/qemumips.conf   | 2 ++
 meta/conf/machine/qemumips64.conf | 2 ++
 2 files changed, 4 insertions(+)
meta/conf/machine/qemumips.conf +2 -0
index 4617c3c7b6..1373e4cba0 100644
@@ -9,6 +9,8 @@ require conf/machine/include/qemuboot-mips.inc
 KERNEL_IMAGETYPE = "vmlinux"
 KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
 
+UBOOT_MACHINE ?= "qemu_mips_defconfig"
+
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
 
 QB_SYSTEM_NAME = "qemu-system-mips"
meta/conf/machine/qemumips64.conf +2 -0
index 6d5174665f..1e77486491 100644
@@ -11,6 +11,8 @@ QB_CPU = "-cpu MIPS64R2-generic"
 KERNEL_IMAGETYPE = "vmlinux"
 KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
 
+UBOOT_MACHINE ?= "qemu_mips64_defconfig"
+
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
 
 QB_SYSTEM_NAME = "qemu-system-mips64"
Signature · 1 line
2.17.1
#16 lore raw

PATCH 16/25 multilib.conf: add u-boot to NON_MULTILIB_RECIPES

In reply to Steve Sakoman

From: Ming Liu <[email protected]>

u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES.

(cherry picked from commit 5e7dc0d68efb2d43bbd5b1be9e6d555fc4456fb6)
---
 meta/conf/multilib.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/multilib.conf +1 -1
index 58f2ac5c86..d231107f8b 100644
@@ -30,4 +30,4 @@ PKG_CONFIG_PATH[vardepvalueexclude] = ":${WORKDIR}/recipe-sysroot/${datadir}/pkg
 
 # These recipes don't need multilib variants, the ${BPN} PROVDES/RPROVDES
 # ${MLPREFIX}${BPN}
-NON_MULTILIB_RECIPES = "grub grub-efi make-mod-scripts ovmf"
+NON_MULTILIB_RECIPES = "grub grub-efi make-mod-scripts ovmf u-boot"
Signature · 1 line
2.17.1
#17 lore raw

PATCH 17/25 libubootenv: uprev to v0.3

In reply to Steve Sakoman

From: Ming Liu <[email protected]>

Update libubootenv to the latest 0.3 release, which comprises the following commits:

```
1efed83 Increase max length for device name
6f4fc1c uboot_env: Use canonicalized pathname when reading device
23b3086 Fix bug introduced by commit 52a70114
ed1a53e Dont store to device if no value changes
4a0a466 Merge pull request #7 from TomzBench/cmake-fix
6117831 Added Coverity badge
49372a1 Fix coverity #293496
69a6819 Fix coverity #293503 and #293507
258bf52 Fix coverity #293501
aa52e61 Fix coverity #293505
52a7011 Fix coverity #293504 and #293506
e822218 Fix coverity #293495 and #293497
23b305f Fix coverity #293499
25ef1f6 Add coverity setup for Travis
41b5188 fixed install for static target, fixed BUILD_DOC acknowledgement
86bd30a Restore ability to feed script file via stdin, using `-s -`.
c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP
f4b9cde Allow negative offsets
45bf92a Detect sector size if not found in config
9f59db6 uboot_env: remove unused variables
65d243e README: libubootenv is now in oe-core
ba952d0 BUG: variable lists not released in close()
690f868 Variables are not removed when loading from file
9e3586a Make sure there's no file descriptor leakage in case of error
03647c4 Check config file defines a non-zero Sector size
3b2d4f1 Check environment size from fw_env.config
879c073 Do not hardcode path for install
d9c639b libubootenv: add pkg-config support
cc628ee libuboot: wrap libuboot in extern "C" for C++
```

Also add u-boot-default-env to RRECOMMENDS since /etc/u-boot-initial-env is being referred in libubootenv source, and turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since u-boot-default-env is a machine-arch package.

(cherry picked from commit 02d55cd35aac15095fc44f0cf8f9e7a71638f485)
---
 .../u-boot/{libubootenv_0.2.bb => libubootenv_0.3.bb}      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-bsp/u-boot/{libubootenv_0.2.bb => libubootenv_0.3.bb} (82%)
meta/recipes-bsp/u-boot/libubootenv_0.3.bb renamed from meta/recipes-bsp/u-boot/libubootenv_0.2.bb +5 -2
similarity index 82%
rename from meta/recipes-bsp/u-boot/libubootenv_0.2.bb
rename to meta/recipes-bsp/u-boot/libubootenv_0.3.bb
index ea29b668e8..47e64f9114 100644
@@ -10,9 +10,8 @@ LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c"
 SECTION = "libs"
 
-PV = "0.2+git${SRCPV}"
 SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
-SRCREV = "f4b9cde3815abe84a98079cedd515283ea08c16b"
+SRCREV = "ad253cfdb07c8492f2ee46a52fbc607ad0b96414"
 
 S = "${WORKDIR}/git"
 
@@ -24,4 +23,8 @@ DEPENDS = "zlib"
 PROVIDES += "u-boot-fw-utils"
 RPROVIDES_${PN}-bin += "u-boot-fw-utils"
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+RRECOMMENDS_${PN}-bin_append_class-target = " u-boot-default-env"
+
 BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1
#19 lore raw

PATCH 18/25 libubootenv: inherit uboot-config

In reply to Steve Sakoman

From: Ming Liu <[email protected]>

This mainly aims to involve in the sanity check of UBOOT_CONFIG and UBOOT_MACHINE, it will throw a error message at recipe parsing time if neither of them is set, and libubootenv would be skipped.

(cherry picked from commit 10aa1291979fb90bed1beb49be4d406ed0e1e4d5)
---
 meta/recipes-bsp/u-boot/libubootenv_0.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-bsp/u-boot/libubootenv_0.3.bb +1 -1
index 47e64f9114..07711484ac 100644
@@ -15,7 +15,7 @@ SRCREV = "ad253cfdb07c8492f2ee46a52fbc607ad0b96414"
 
 S = "${WORKDIR}/git"
 
-inherit cmake lib_package
+inherit uboot-config cmake lib_package
 
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
 
Signature · 1 line
2.17.1
#20 lore raw

PATCH 19/25 linux-yocto/5.4: update to v5.4.59

In reply to Steve Sakoman

From: Bruce Ashfield <[email protected]>

Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits:

f61e1c3638dd Linux 5.4.59
5de0b5247cba io_uring: Fix NULL pointer dereference in loop_rw_iter() 4db28111b2a3 s390/gmap: improve THP splitting
756a70b6dcc3 s390/dasd: fix inability to use DASD with DIAG driver
dccc66daeba5 xen/gntdev: Fix dmabuf import with non-zero sgt offset
8e41ac0bfdfd xen/balloon: make the balloon wait interruptible
ee4c180d93d0 xen/balloon: fix accounting in alloc_xenballooned_pages error path db1f4c745a91 fs/minix: reject too-large maximum file size
8c7e720a165b fs/minix: don't allow getting deleted inodes
a5305f119907 fs/minix: check return value of sb_getblk()
5be9072b8121 bitfield.h: don't compile-time validate _val in FIELD_FIT 3e95a74f4c27 crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 28bd8f392f4a crypto: ccp - Fix use of merged scatterlists
3c660aa47304 crypto: qat - fix double free in qat_uclo_create_batch_init_list d9add5d7d94b crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 17f9ba7229c4 pstore: Fix linking when crypto API disabled
1a2e558c8b30 tpm: Unify the mismatching TPM space buffer sizes
169d55c486f8 ALSA: usb-audio: add quirk for Pioneer DDJ-RB
a3ec61c84d85 irqdomain/treewide: Free firmware node after domain removal 35e1338bddcd ARM: 8992/1: Fix unwind_frame for clang-built kernels
cd17453fa96f parisc: mask out enable and reserved bits from sba imask 0d3897a7f527 parisc: Implement __smp_store_release and __smp_load_acquire barriers 8dfab4662001 parisc: Do not use an ordered store in pa_tlb_lock()
638e45c39f30 Revert "parisc: Revert "Release spinlocks using ordered store"" 431d999bd098 Revert "parisc: Use ldcw instruction for SMP spinlock release barrier" 7612ce180e30 Revert "parisc: Drop LDCW barrier in CAS code when running UP" 15f7b186916d erofs: fix extended inode could cross boundary
a8e9efb55323 mtd: rawnand: qcom: avoid write to unavailable register
7ebb8fd40256 spi: spidev: Align buffers for DMA
e02c77edd9b0 include/asm-generic/vmlinux.lds.h: align ro_after_init
7e270e86b1b3 cpufreq: dt: fix oops on armada37xx
613a374f3fd6 cpufreq: Fix locking issues with governors
6d1e56826ea8 NFS: Don't return layout segments that are in use
046922d3248d NFS: Don't move layouts to plh_return_segs list while in use 3c512bd3dbbb io_uring: set ctx sq/cq entry count earlier
c6d2ddf1a30d drm/ttm/nouveau: don't call tt destroy callback on alloc failure. 86f95b631490 media: media-request: Fix crash if memory allocation fails 06d8ba514949 9p: Fix memory leak in v9fs_mount
10de419977bf ALSA: usb-audio: work around streaming quirk for MacroSilicon MS2109 1d2c4954e82b ALSA: usb-audio: fix overeager device match for MacroSilicon MS2109 d5f647e3a72a ALSA: usb-audio: Creative USB X-Fi Pro SB1095 volume knob support 8555fd99c111 ALSA: hda - fix the micmute led status for Lenovo ThinkCentre AIO 1f0e0ad76eae USB: serial: cp210x: enable usb generic throttle/unthrottle 3a8d1ca7204e USB: serial: cp210x: re-enable auto-RTS on open
378737e1eee2 net: initialize fastreuse on inet_inherit_port
dcedddbc7b20 net: refactor bind_bucket fastreuse into helper
8a337428a5af vmxnet3: use correct tcp hdr length when packet is encapsulated e07d0ccd7fde tcp: correct read of TFO keys on big endian systems
49a5b473bc66 net/tls: Fix kmap usage
7bedf1d86298 net: Set fput_needed iff FDPUT_FPUT is set
47f873ac267b net: phy: fix memory leak in device-create error path
0b305f259ca9 net/nfc/rawsock.c: add CAP_NET_RAW check.
02618095ab45 net: Fix potential memory leak in proto_register()
f6c5d9f3361a drivers/net/wan/lapbether: Added needed_headroom and a skb->len check de236de3df57 af_packet: TPACKET_V3: fix fill status rwlock imbalance
5ef739b7a5be crypto: aesni - add compatibility with IAS
c44efee6e432 x86/fsgsbase/64: Fix NULL deref in 86_fsgsbase_read_task 18d1bb497364 SUNRPC: Fix ("SUNRPC: Add "@len" parameter to gss_unwrap()") 789be9705ed1 svcrdma: Fix page leak in svc_rdma_recv_read_chunk()
fa6bd08869c5 pinctrl-single: fix pcs_parse_pinconf() return value
50abf1b9ad10 ocfs2: fix unbalanced locking
ba8a72193346 dlm: Fix kobject memleak
41e8b5afde8e net: thunderx: initialize VF's mailbox mutex before first usage 3084ecb02357 fsl/fman: fix eth hash table allocation
2997cea07f9e fsl/fman: check dereferencing null pointer
158ccb4f03b5 fsl/fman: fix unreachable code
a405fb3ffdab fsl/fman: fix dereference null return value
e9b3249a3df6 fsl/fman: use 32-bit unsigned integer
8c68da19fd02 net: spider_net: Fix the size used in a 'dma_free_coherent()' call dc66a35ffee6 liquidio: Fix wrong return value in cn23xx_get_pf_num()
eb4afeaf861f net: ethernet: aquantia: Fix wrong return value
fe8571b4d5ac net/mlx5: Delete extra dump stack that gives nothing
87a43dac39c2 net/mlx5: DR, Change push vlan action sequence
a4301de4be41 tools, bpftool: Fix wrong return value in do_dump()
94bc0ab6043f tools, build: Propagate build failures from tools/build/Makefile.build 2684577dd9bc wl1251: fix always return 0 error
3bec3e41db0d rtw88: coex: only skip coex triggered by BT info
1b7546010b01 rtw88: fix short GI capability based on current bandwidth ff1ecaf751d7 rtw88: fix LDPC field for RA info
fef9f09078b0 ice: Graceful error handling in HW table calloc failure
2fd47ea1e063 s390/qeth: don't process empty bridge port events
b8ae2bf5ccc6 ASoC: fsl_sai: Fix value of FSL_SAI_CR1_RFW_MASK
115da6e650ab ASoC: meson: axg-tdm-formatters: fix sclk inversion
0cc88bf69411 ASoC: meson: axg-tdmin: fix g12a skew
a9d54ebf8db0 ASoC: meson: axg-tdm-interface: fix link fmt setup
5299edbfc19a selftests/powerpc: Fix online CPU selection
5412751327e8 cpufreq: ap806: fix cpufreq driver needs ap cpu clk
0df3fad9c17f PCI: Release IVRS table in AMD ACS quirk
07783db29f89 RDMA/netlink: Remove CAP_NET_RAW check when dump a raw QP 04cf65b784d2 selftests/powerpc: Fix CPU affinity for child process
3e95f258a143 powerpc/boot: Fix CONFIG_PPC_MPC52XX references
69a797a04517 powerpc/32s: Fix CONFIG_BOOK3S_601 uses
09c2050239fb selftests/powerpc: Squash spurious errors due to device removal 5f56aa0b1fec xfs: fix inode allocation block res calculation precedence 5c0fd1e61b5a net: dsa: rtl8366: Fix VLAN set-up
8cd2a4878787 net: dsa: rtl8366: Fix VLAN semantics
495b9d0dd071 Bluetooth: hci_serdev: Only unregister device if it was registered ba5c28f78461 Bluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags 8d91c73c13f1 power: supply: check if calc_soc succeeded in pm860x_init_battery b2b8438ed831 Smack: prevent underflow in smk_set_cipso()
674992659a97 Smack: fix another vsscanf out of bounds
3a2cd06a3d93 RDMA/core: Fix return error value in _ib_modify_qp() to negative 16416a158743 PCI: cadence: Fix updating Vendor ID and Subsystem Vendor ID register 845601756341 macintosh/via-macii: Access autopoll_devs when inside lock a88f86763cbc net: dsa: mv88e6xxx: MV88E6097 does not support jumbo configuration f6f75b1756f7 scsi: mesh: Fix panic after host or bus reset
b41e8798f288 scsi: megaraid_sas: Clear affinity hint
1d7e19cf79f4 usb: gadget: f_uac2: fix AC Interface Header Descriptor wTotalLength b2c2b88b0496 usb: dwc2: Fix error path in gadget registration
b8f3c361ca2c MIPS: OCTEON: add missing put_device() call in dwc3_octeon_device_init() db2eabff57cc phy: armada-38x: fix NETA lockup when repeatedly switching speeds 2bf9418b7b11 mt76: mt7615: fix potential memory leak in mcu message handler 54c9afe415dc powerpc/perf: Fix missing is_sier_aviable() during build 53eeba79c152 coresight: tmc: Fix TMC mode read in tmc_read_unprepare_etb() 6482f5119946 thermal: ti-soc-thermal: Fix reversed condition in ti_thermal_expose_sensor() c30281c4b28f usb: core: fix quirks_param_set() writing to a const pointer 92581069807b USB: serial: iuu_phoenix: fix led-activity helpers
278b532dfeaf spi: lantiq-ssc: Fix warning by using WQ_MEM_RECLAIM
7e206d89e1c7 gpu: ipu-v3: Restore RGB32, BGR32
e66ffe919ed4 drm/imx: tve: fix regulator_disable error path
1a279871012d drm/imx: fix use after free
44ae76d01d95 powerpc/book3s64/pkeys: Use PVR check instead of cpu feature 6112c341ba3a phy: renesas: rcar-gen3-usb2: move irq registration to init e82e9db82faf PCI/ASPM: Add missing newline in sysfs 'policy'
c537bd0732ea ASoC: meson: fixes the missed kfree() for axg_card_add_tdm_loopback 2698fab03884 staging: rtl8192u: fix a dubious looking mask before a shift 209207562934 ima: Have the LSM free its audit rule
7ecfbee3b9c3 RDMA/rxe: Prevent access to wr->next ptr afrer wr is posted to send queue 4cf66d70b5ef RDMA/qedr: SRQ's bug fixes
978bef91cad7 powerpc/vdso: Fix vdso cpu truncation
7beea356fabb powerpc/rtas: don't online CPUs for partition suspend
936e927ece9b kernfs: do not call fsnotify() with name without a parent b7fc8591cae4 mwifiex: Prevent memory corruption handling keys
0c0d30eaf31c scsi: scsi_debug: Add check for sdebug_max_queue during module init 6a292c4bc027 drm/bridge: sil_sii8620: initialize return of sii8620_readb 8ffa0cf2b662 phy: exynos5-usbdrd: Calibrating makes sense only for USB2.0 PHY 36f9ed95ec52 drm: panel: simple: Fix bpc for LG LB070WV8 panel
d25c81232007 leds: core: Flush scheduled work for system suspend
adbb26e2d44e kobject: Avoid premature parent object freeing in kobject_cleanup() 59f69f1edb56 drm/stm: repair runtime power management
cc5f55c46a71 PCI: Fix pci_cfg_wait queue locking problem
8fbefed6c3a0 RDMA/rxe: Skip dgid check in loopback mode
6093eae667d6 xfs: fix reflink quota reservation accounting error
2c5170b451b7 xfs: don't eat an EIO/ENOSPC writeback error when scrubbing data fork deaf69f5b028 media: cros-ec-cec: do not bail on device_init_wakeup failure 951a21261577 media: exynos4-is: Add missed check for pinctrl_lookup_state() 210ab36cdaa9 media: firewire: Using uninitialized values in node_probe() 0c122fc90d02 ipvs: allow connection reuse for unconfirmed conntrack
45a769a10126 scsi: eesox: Fix different dev_id between request_irq() and free_irq() 76189426da56 scsi: powertec: Fix different dev_id between request_irq() and free_irq() 691081c0558a RDMA/core: Fix bogus WARN_ON during ib_unregister_device_queued() 67642ac2ac0b iavf: Fix updating statistics
8d5ce7e06ff8 iavf: fix error return code in iavf_init_get_resources() f27a965b042f staging: vchiq_arm: Add a matching unregister call
87a30aa61f60 drm/radeon: fix array out-of-bounds read and write issues db377d8caf08 cxl: Fix kobject memleak
835c6f7c0a94 drm/mipi: use dcs write for mipi_dsi_dcs_set_tear_scanline 6f2b14006d44 scsi: cumana_2: Fix different dev_id between request_irq() and free_irq() d92cc98b7423 ASoC: Intel: bxt_rt298: add missing .owner field
a1773c8b04a4 ASoC: SOF: nocodec: add missing .owner field
d85cebc8656f media: omap3isp: Add missed v4l2_ctrl_handler_free() for preview_init_entities() 8fe0119f5c63 media: marvell-ccic: Add missed v4l2_async_notifier_cleanup() 79962a7a1dd1 media: cxusb-analog: fix V4L2 dependency
a728697b74b7 Bluetooth: btmtksdio: fix up firmware download sequence
ecab4ef93ce6 Bluetooth: btusb: fix up firmware download sequence
6db3579dd3a4 leds: lm355x: avoid enum conversion warning
cc51ca361059 clk: bcm63xx-gate: fix last clock availability
8bfd16c687cf drm/arm: fix unintentional integer overflow on left shift 018192e85860 drm/etnaviv: Fix error path on failure to enable bus clk 8080ccd31233 iio: improve IIO_CONCENTRATION channel type description
b4a09e491d38 ath10k: Acquire tx_lock in tx error paths
d9411fcc9a48 video: pxafb: Fix the function used to balance a 'dma_alloc_coherent()' call 703a2e85a3a8 console: newport_con: fix an issue about leak related system resources e95d33905a4e video: fbdev: sm712fb: fix an issue about iounmap for a wrong address d9e13b0c26cf btmrvl: Fix firmware filename for sd8997 chipset
671f14a14471 btmrvl: Fix firmware filename for sd8977 chipset
89b09156ed41 mwifiex: Fix firmware filename for sd8997 chipset
be9903c9ebe4 mwifiex: Fix firmware filename for sd8977 chipset
e3b04e1b5b03 agp/intel: Fix a memory leak on module initialisation failure 7669b6beb4fd drm/bridge: ti-sn65dsi86: Clear old error bits before AUX transfers 1a981f4d6c97 drm/gem: Fix a leak in drm_gem_objects_lookup()
167708cbebd3 drm/msm: ratelimit crtc event overflow error
1e8d2186551b ACPICA: Do not increment operation_region reference counts for field units ca6654d7da59 bcache: fix super block seq numbers comparision in register_cache_set() db9b14ae4b6a dyndbg: fix a BUG_ON in ddebug_describe_flags
8fb05790b55b usb: bdc: Halt controller on suspend
296184490e2c bdc: Fix bug causing crash after multiple disconnects
77d7ce9ccb33 usb: gadget: net2280: fix memory leak on probe error handling paths 7404ce0f639c mmc: sdhci-pci-o2micro: Bug fix for O2 host controller Seabird1 d000795c9f25 ionic: update eid test for overflow
691ae7c87ff7 gpu: host1x: debug: Fix multiple channels emitting messages simultaneously ff3fde9d4519 iwlegacy: Check the return value of pcie_capability_read_*() ef62e5411db2 platform/x86: asus-nb-wmi: add support for ASUS ROG Zephyrus G14 and G15 ce3ae44103ca brcmfmac: set state of hanger slot to FREE when flushing PSQ 1c53aefa2866 brcmfmac: To fix Bss Info flag definition Bug
29dd5e5309b1 brcmfmac: keep SDIO watchdog running when console_interval is non-zero 5908a17b247d bpf: Fix fds_example SIGSEGV error
4360d9b560bd drm/amd/powerplay: fix compile error with ARCH=arc
fae763f1357b drm/amdgpu/display bail early in dm_pp_get_static_clocks 87834546ea2c mm/mmap.c: Add cond_resched() for exit_mmap() CPU stalls ae3033d38596 irqchip/irq-mtk-sysirq: Replace spinlock with raw_spinlock d17931fbe9dd drm/radeon: disable AGP by default
238e32468e0d drm/debugfs: fix plain echo to connector "force" attribute df91fe834bd4 drm/msm: Fix a null pointer access in msm_gem_shrinker_count() fae8ff2dfd8d drm: msm: a6xx: fix gpu failure after system resume
0e76c2ffb8f0 usb: mtu3: clear dual mode of u3port when disable device e633add66d17 btrfs: fix lockdep splat from btrfs_dump_space_info
7795eb18ce7d mmc: sdhci-cadence: do not use hardware tuning for SD mode 3b69bcd45426 drm/nouveau: fix multiple instances of reference count leaks db0a2e4857dd drm/nouveau: fix reference count leak in nouveau_debugfs_strap_peek 20e7c4456069 drm/etnaviv: fix ref count leak via pm_runtime_get_sync
274f4e9c575a arm64: dts: hisilicon: hikey: fixes to comply with adi, adv7533 DT binding 454a00e9ed83 drm/nouveau/kms/nv50-: Fix disabling dithering
d72c0f225a2f md-cluster: fix wild pointer of unlock_all_bitmaps()
2ac7df0910e5 bus: ti-sysc: Add missing quirk flags for usb_host_hs
6754d2a86c43 video: fbdev: neofb: fix memory leak in neo_scan_monitor() 9ca426693563 video: fbdev: savage: fix memory leak on error handling path in probe 8b8d17d9ff8a crypto: aesni - Fix build with LLVM_IAS=1
cab45cfa00b8 drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync 2f04f5bcf6d9 drm/amdgpu: avoid dereferencing a NULL pointer
6402b231824f fs/btrfs: Add cond_resched() for try_release_extent_mapping() stalls a6619810135b loop: be paranoid on exit and prevent new additions / removals 0e656b7e85c3 Bluetooth: add a mutex lock to avoid UAF in do_enale_set f8b0407f6a5f soc: qcom: rpmh-rsc: Set suppress_bind_attrs flag
94fd6f72a826 drm/tilcdc: fix leak & null ref in panel_connector_get_modes 86f305a9aca0 nvme-multipath: do not fall back to __nvme_find_path() for non-optimized paths f0a8c0254fde nvme-multipath: fix logic for non-optimized paths
4e8691ba0e78 nvme-rdma: fix controller reset hang during traffic
b98a96662a4e nvme-tcp: fix controller reset hang during traffic
6f01de256dd0 md: raid0/linear: fix dereference before null check on pointer mddev 0f09c88f207c seccomp: Fix ioctl number for SECCOMP_IOCTL_NOTIF_ID_VALID 7915a3c04139 irqchip/ti-sci-inta: Fix return value about devm_ioremap_resource() 2f53a4b54e25 iocost: Fix check condition of iocg abs_vdebt
3f4f3b350a8a ARM: socfpga: PM: add missing put_device() call in socfpga_setup_ocram_self_refresh() 9600bdd6924a spi: rockchip: Fix error in SPI slave pio read
0b1799662a61 io_uring: fix sq array offset calculation
afa16b50e2aa regulator: fix memory leak on error path of regulator_register() 80242590651c recordmcount: only record relocation of type R_AARCH64_CALL26 on arm64. 3a17c7bfe705 tpm: Require that all digests are present in TCG_PCR_EVENT2 structures b1fe27d227c6 spi: lantiq: fix: Rx overflow error in full duplex mode
e22730350d9e ARM: dts: sunxi: bananapi-m2-plus-v1.2: Fix CPU supply voltages acbe4a1dc54c ARM: dts: sunxi: bananapi-m2-plus-v1.2: Add regulator supply to all CPU cores cd9f5d2b3999 ARM: at91: pm: add missing put_device() call in at91_pm_sram_init() 1b3cb69fd559 ARM: dts: gose: Fix ports node name for adv7612
e21665164e99 ARM: dts: gose: Fix ports node name for adv7180
4361bec62bda platform/x86: intel-vbtn: Fix return value check in check_acpi_dev() ed48a02d4cbd platform/x86: intel-hid: Fix return value check in check_acpi_dev() 78448034fafb m68k: mac: Fix IOP status/control register writes
b8ad79dde63f m68k: mac: Don't send IOP message until channel is idle
38702b9081c9 clk: scmi: Fix min and max rate when registering clocks with discrete rates 047187eb0a3f sched/uclamp: Fix initialization of struct uclamp_rq
4d7115d29201 arm64: dts: exynos: Fix silent hang after boot on Espresso 420acbfdd64b firmware: arm_scmi: Fix SCMI genpd domain probing
0155cd348be2 ARM: exynos: MCPM: Restore big.LITTLE cpuidle support
489ee1f21993 crypto: ccree - fix resource leak on error path
6a291f9c21e4 blktrace: fix debugfs use after free
34108464f808 arm64: dts: qcom: msm8916: Replace invalid bias-pull-none property f2b639b2aa21 crc-t10dif: Fix potential crypto notify dead-lock
c73eec04e666 EDAC: Fix reference count leaks
192b8516c99c arm64: dts: rockchip: fix rk3399-puma gmac reset gpio
da9dfd06dbaa arm64: dts: rockchip: fix rk3399-puma vcc5v0-host gpio
066f85458d9c arm64: dts: rockchip: fix rk3368-lion gmac reset gpio
e8eb09e542c1 sched: correct SD_flags returned by tl->sd_flags()
b8d9908c9d3d sched/fair: Fix NOHZ next idle balance
072d1300f1ce x86/mce/inject: Fix a wrong assignment of i_mce.status
a36ff7a40d11 clk: qcom: clk-rpmh: Wait for completion when enabling clocks a02df82a59c3 fs/io_uring.c: Fix uninitialized variable is referenced in io_submit_sqe bd1584865c12 nvme: add a Identify Namespace Identification Descriptor list quirk 039b66468fc4 HID: input: Fix devices that return multiple bytes in battery report 16d2fb138f98 tracepoint: Mark __tracepoint_string's __used

(cherry picked from commit d1e62066f50aaac6e1064e381c8440d45d9322b5)
---
 .../linux/linux-yocto-rt_5.4.bb               |  6 ++---
 .../linux/linux-yocto-tiny_5.4.bb             |  8 +++----
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +++++++++----------
 3 files changed, 18 insertions(+), 18 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +3 -3
index cfe3277e83..d1f3373155 100644
@@ -11,13 +11,13 @@ python () {
         raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "22664d170488313b5c2713b6d9c8df6563387728"
-SRCREV_meta ?= "83311f062f4aede9928eca82a34ddf73f264fe2a"
+SRCREV_machine ?= "4a46fa0e5b9ac924a7827ad14e28359fd44071db"
+SRCREV_meta ?= "5d52d9eea95fa09d404053360c2351b2b91b323b"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.4.58"
+LINUX_VERSION ?= "5.4.59"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb +4 -4
index b90b1259a2..12edd9c70b 100644
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.4.58"
+LINUX_VERSION ?= "5.4.59"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine_qemuarm ?= "d192ae0b9995a7be2a33b12005a95348ec6aae94"
-SRCREV_machine ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
-SRCREV_meta ?= "83311f062f4aede9928eca82a34ddf73f264fe2a"
+SRCREV_machine_qemuarm ?= "9d508813e893033dbe72caeb9421d95df5248e85"
+SRCREV_machine ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
+SRCREV_meta ?= "5d52d9eea95fa09d404053360c2351b2b91b323b"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_5.4.bb +11 -11
index 88b6251bd0..00a656df50 100644
@@ -12,16 +12,16 @@ KBRANCH_qemux86  ?= "v5.4/standard/base"
 KBRANCH_qemux86-64 ?= "v5.4/standard/base"
 KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "7bbd138602fda3d69d74674460e73bffdec73cd2"
-SRCREV_machine_qemuarm64 ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
-SRCREV_machine_qemumips ?= "e43ed1586cd85a007b0fae3c63d6980d4f5cb336"
-SRCREV_machine_qemuppc ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
-SRCREV_machine_qemuriscv64 ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
-SRCREV_machine_qemux86 ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
-SRCREV_machine_qemux86-64 ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
-SRCREV_machine_qemumips64 ?= "d1ff96887c64f70de00add62eb91d4c36f1b181a"
-SRCREV_machine ?= "706efec4c1e270ec5dda92275898cd465dfdc7dd"
-SRCREV_meta ?= "83311f062f4aede9928eca82a34ddf73f264fe2a"
+SRCREV_machine_qemuarm ?= "81ee43dd68b5c88000b472e2406db7e46ac5a1a8"
+SRCREV_machine_qemuarm64 ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
+SRCREV_machine_qemumips ?= "3e72d371ab61c9b23c79076e6e9aabba3907c440"
+SRCREV_machine_qemuppc ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
+SRCREV_machine_qemuriscv64 ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
+SRCREV_machine_qemux86 ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
+SRCREV_machine_qemux86-64 ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
+SRCREV_machine_qemumips64 ?= "7b5ccc4d7ce6f71b807bea00e67f8eb4c0e236a3"
+SRCREV_machine ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
+SRCREV_meta ?= "5d52d9eea95fa09d404053360c2351b2b91b323b"
 
 # remap qemuarm to qemuarma15 for the 5.4 kernel
 # KMACHINE_qemuarm ?= "qemuarma15"
@@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-LINUX_VERSION ?= "5.4.58"
+LINUX_VERSION ?= "5.4.59"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
 DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.17.1
#21 lore raw

PATCH 20/25 linux-yocto/5.4: update to v5.4.60

In reply to Steve Sakoman

From: Bruce Ashfield <[email protected]>

Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits:

77fcb48939fc Linux 5.4.60
53a856c5a6af drm/amd/display: dchubbub p-state warning during surface planes switch 4287c18a7d8f drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume 915ad46bdd4a drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi f9f53b7c6a81 drm: Added orientation quirk for ASUS tablet model T103HAF aeec14061d53 drm/panfrost: Use kvfree() to free bo->sgts
a202b42b94bc arm64: dts: marvell: espressobin: add ethernet alias
0f1c938ef82d khugepaged: retract_page_tables() remember to test exit
e47e00559893 sh: landisk: Add missing initialization of sh_io_port_base 64d358a9adb5 perf/x86/rapl: Fix missing psys sysfs attributes
5c90739d36ce tools build feature: Quote CC and CXX for their arguments
45989801d7cf perf bench mem: Always memset source before memcpy
306df54b5b8a ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
8bc48c35a983 crypto: algif_aead - fix uninitialized ctx->init
a23269976109 mfd: dln2: Run event handler loop under spinlock
315b5cbe1aee i2c: iproc: fix race between client unreg and isr
8620d18575af test_kmod: avoid potential double free in trigger_config_run_type() 3457ba1acec2 fs/ufs: avoid potential u32 multiplication overflow
ba40d33e36b2 fs/minix: remove expected error message in block_to_path() d91005b645d1 fs/minix: fix block limit check for V1 filesystems
6def476496a5 fs/minix: set s_maxbytes correctly
75cf7f895f56 nfs: Fix getxattr kernel panic and memory overflow
d09d6dca89e9 net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init 35b5e689abd9 drm/vmwgfx: Fix two list_for_each loop exit tests
95922cdab4ad drm/vmwgfx: Use correct vmw_legacy_display_unit pointer
1d8dce52a008 recordmcount: Fix build failure on non arm64
f41600c55789 Input: sentelic - fix error return when fsp_reg_write fails 8d7633b5aff9 x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC 8645225c7180 md-cluster: Fix potential error pointer dereference in resize_bitmaps() 3fcd24040f55 watchdog: initialize device before misc_register
9340d8bfec94 nfs: nfs_file_write() should check for writeback errors
da14c05ad875 scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport c9220ff3b9cc openrisc: Fix oops caused when dumping stack
a6d5c5a398d6 libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr dfb5d727d721 libnvdimm/security: fix a typo
0c51d8f5c83e clk: bcm2835: Do not use prediv with bcm2711's PLLs
1896dfc97c90 ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename 7dccbf1111bf nfs: ensure correct writeback errors are returned on close() 9153e0d43710 i2c: rcar: avoid race when unregistering slave
4f69483568d6 tools build feature: Use CC and CXX from parent
3d0808f3c7d9 pwm: bcm-iproc: handle clk_get_rate() return
ba2c4d0e720b clk: clk-atlas6: fix return value check in atlas6_clk_init() c7bd131f4335 clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk
422a01fc23d2 i2c: rcar: slave: only send STOP event when we have been addressed 043bc80399a8 iommu/vt-d: Enforce PASID devTLB field mask
99d1472ba802 clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL f66d0154ed2f clk: qcom: gcc: fix sm8150 GPU and NPU clocks
a31ac4101981 iommu/omap: Check for failure of a call to omap_iommu_dump_ctx 34c920e2c858 selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value cf5078181528 selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly e4a6919c9908 selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code ea777df6b8b9 clk: actions: Fix h_clk for Actions S500 SoC
0e0a146f978e dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue() 386f82040c84 gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile 0f77e95efd75 gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers e0a684edf6d7 crypto: caam - Remove broken arc4 support
64563d1dca80 mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete b638533ec6fa RDMA/counter: Allow manually bind QPs with different pids to same counter e5a9bb4f1243 RDMA/counter: Only bind user QPs in auto mode
cf304df99fac devres: keep both device name and resource name in pretty name ddd3934f7b39 crypto: af_alg - Fix regression on empty requests
9705f53eb01a USB: serial: ftdi_sio: clean up receive processing
aeefe7d15cf1 USB: serial: ftdi_sio: make process-packet buffer unsigned 8cab023c03aa selftests/bpf: test_progs use another shell exit on non-actions de624fbac3eb selftests/bpf: Test_progs indicate to shell on non-actions 95c736a29105 IB/uverbs: Set IOVA on IB MR in uverbs layer
ea1cdb1bb80b media: rockchip: rga: Only set output CSC mode for RGB input 5f51ca677cd2 media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic 0f334b668455 RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah()
5412efa6285a RDMA/ipoib: Return void from ipoib_ib_dev_stop()
ab67471562ad platform/chrome: cros_ec_ishtp: Fix a double-unlock issue
617da16f5ab9 mtd: rawnand: fsl_upm: Remove unused mtd var
e1f2606892f2 octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 368caae37037 mfd: arizona: Ensure 32k clock is put on driver unbind and error cf368b876f44 crypto: algif_aead - Only wake up when ctx->more is zero
bb0bba78d365 pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ 974ca069d531 orangefs: get rid of knob code...
1752ab50e825 drm/imx: imx-ldb: Disable both channels for split mode in enc->disable() 988fcef346a3 remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load babd6a4c3336 remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load 73ba6991e981 remoteproc: qcom: q6v5: Update running state before requesting stop 55052ac61cb8 perf intel-pt: Fix duplicate branch after CBR
8214e74b662d perf intel-pt: Fix FUP packet state
169015f464d0 module: Correctly truncate sysfs sections output
54f44e3af24b pseries: Fix 64 bit logical memory block panic
37e3a1c08e2d ceph: handle zero-length feature mask in session messages
8953e8cb0d6a ceph: set sec_context xattr on symlink creation
12badd382453 watchdog: f71808e_wdt: clear watchdog timeout occurred flag 0f35915a0feb watchdog: f71808e_wdt: remove use of wrong watchdog_info option 4699d95a715b watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options 43e172e31bad tracing: Move pipe reference to trace array instead of current_tracer 9aab8b2b0f8f tracing: Use trace_sched_process_free() instead of exit() for pid tracing bd23940da2d1 tracing/hwlat: Honor the tracing_cpumask
1424f0aa18dc kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler 3a1208574658 ftrace: Setup correct FTRACE_FL_REGS flags for module
b47215b3749a mm/memory_hotplug: fix unpaired mem_hotplug_begin/done
aeeddba9b498 mm/page_counter.c: fix protection usage propagation
bd99ff4dc92b ocfs2: change slot number type s16 to u16
a6b238cac6d3 khugepaged: collapse_pte_mapped_thp() protect the pmd lock 687d366d0db1 khugepaged: collapse_pte_mapped_thp() flush the right range 8cdf68355312 ext2: fix missing percpu_counter_inc
6c7b42c8f01d MIPS: qi_lb60: Fix routing to audio amplifier
59909e23020f MIPS: CPU#0 is not hotpluggable
d3c9e815006e driver core: Avoid binding drivers to dead devices
0cf746d8b052 mac80211: fix misplaced while instead of if
c573e8673dc1 bcache: fix overflow in offset_to_stripe()
42dd8cc9e499 bcache: allocate meta data pages as compound pages
391b5d39faea md/raid5: Fix Force reconstruct-write io stuck in degraded raid5 28163868530b net/compat: Add missing sock updates for SCM_RIGHTS
6ea125ec644b net: stmmac: dwmac1000: provide multicast filter fallback
e92a02e47e16 net: ethernet: stmmac: Disable hardware multicast filter
eca5084aabdf media: vsp1: dl: Fix NULL pointer dereference on unbind
28bbbc45054c pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH
9ba5f37fa353 powerpc: Fix circular dependency between percpu.h and mmu.h 9de20a6c4dd6 powerpc: Allow 4224 bytes of stack expansion for the signal frame 2150c25b76fb powerpc/ptdump: Fix build failure in hashpagetable.c
7a991df9e5cb cifs: Fix leak when handling lease break for cached root fid 545771537ec4 xtensa: fix xtensa_pmu_setup prototype
d1e2ec2e0b7d xtensa: add missing exclusive access state management
5efb3f91403c iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw() 1a5e5b3b7571 dt-bindings: iio: io-channel-mux: Fix compatible string in example code ab58cc033124 arm64: perf: Correct the event index in sysfs
8c1431221374 btrfs: fix return value mixup in btrfs_get_extent
d256992d5105 btrfs: make sure SB_I_VERSION doesn't get unset by remount 5bed3387c8a1 btrfs: fix memory leaks after failure to lookup checksums during inode logging f1d21b2688d9 btrfs: inode: fix NULL pointer dereference if inode doesn't need compression 7bbf647dbb5a btrfs: only search for left_info if there is no right_info in try_merge_free_space 38c8255af7d7 btrfs: fix messages after changing compression level by remount 242747612209 btrfs: fix race between page release and a fast fsync
ee6373070108 btrfs: don't WARN if we abort a transaction with EROFS
d8848f4c2555 btrfs: sysfs: use NOFS for device creation
e0e51f4fc488 btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree 2f29a31f394e btrfs: add missing check for nocow and compression inode flags 38ab14b1e27c btrfs: relocation: review the call sites which can be interrupted by signal ae3f93cafd6f btrfs: move the chunk_mutex in btrfs_read_chunk_tree
98f55cd49671 btrfs: open device without device_list_mutex
3d3452920cac btrfs: don't traverse into the seed devices in show_devname 8bc3a5d8c2ae btrfs: remove no longer needed use of log_writers for the log root tree 938051408905 btrfs: stop incremening log_batch for the log root tree when syncing log 0ddf373adb42 btrfs: ref-verify: fix memory leak in add_block_entry
c16ba06f5204 btrfs: don't allocate anonymous block device for user invisible roots d2731ac13ca5 btrfs: free anon block device right after subvolume deletion 207659ef151c btrfs: allow use of global block reserve for balance item deletion 7a6fc7c21962 PCI: qcom: Add support for tx term offset for rev 2.1.0
5956d3847502 PCI: qcom: Define some PARF params needed for ipq8064 SoC
588d5cbf4de7 PCI: Add device even if driver attach failed
d7caf80700f2 PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken
ae86233204ba PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context() 72ba9d544e60 genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq() a11f42496ac8 genirq/affinity: Make affinity setting if activated opt-in 582ee2cb6f90 smb3: warn on confusing error scenario with sec=krb5

(cherry picked from commit 05ed88405bdcb0bec513bfd5aaeb652d0fa035fb)
---
 .../linux/linux-yocto-rt_5.4.bb               |  6 ++---
 .../linux/linux-yocto-tiny_5.4.bb             |  8 +++----
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +++++++++----------
 3 files changed, 18 insertions(+), 18 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +3 -3
index d1f3373155..a3416a660f 100644
@@ -11,13 +11,13 @@ python () {
         raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "4a46fa0e5b9ac924a7827ad14e28359fd44071db"
-SRCREV_meta ?= "5d52d9eea95fa09d404053360c2351b2b91b323b"
+SRCREV_machine ?= "ac6f31906972c08f16c1ce43410502a5ef251dce"
+SRCREV_meta ?= "96bf76ffc2601220c790ffc0b57eec5a06c3f819"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.4.59"
+LINUX_VERSION ?= "5.4.60"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb +4 -4
index 12edd9c70b..58697bb9ef 100644
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.4.59"
+LINUX_VERSION ?= "5.4.60"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine_qemuarm ?= "9d508813e893033dbe72caeb9421d95df5248e85"
-SRCREV_machine ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
-SRCREV_meta ?= "5d52d9eea95fa09d404053360c2351b2b91b323b"
+SRCREV_machine_qemuarm ?= "693cdc59f5332582cd1e0e21f388b5342fadb5c6"
+SRCREV_machine ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
+SRCREV_meta ?= "96bf76ffc2601220c790ffc0b57eec5a06c3f819"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_5.4.bb +11 -11
index 00a656df50..61699cda86 100644
@@ -12,16 +12,16 @@ KBRANCH_qemux86  ?= "v5.4/standard/base"
 KBRANCH_qemux86-64 ?= "v5.4/standard/base"
 KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "81ee43dd68b5c88000b472e2406db7e46ac5a1a8"
-SRCREV_machine_qemuarm64 ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
-SRCREV_machine_qemumips ?= "3e72d371ab61c9b23c79076e6e9aabba3907c440"
-SRCREV_machine_qemuppc ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
-SRCREV_machine_qemuriscv64 ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
-SRCREV_machine_qemux86 ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
-SRCREV_machine_qemux86-64 ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
-SRCREV_machine_qemumips64 ?= "7b5ccc4d7ce6f71b807bea00e67f8eb4c0e236a3"
-SRCREV_machine ?= "f8efa0bae5f9aad8ba621e1c37eb898a7530b5a1"
-SRCREV_meta ?= "5d52d9eea95fa09d404053360c2351b2b91b323b"
+SRCREV_machine_qemuarm ?= "05fde54b1e68379be26d2d666e52eb8a4433cf67"
+SRCREV_machine_qemuarm64 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
+SRCREV_machine_qemumips ?= "02fee7ae77f92e2090c26959be11c0a109b02ec2"
+SRCREV_machine_qemuppc ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
+SRCREV_machine_qemuriscv64 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
+SRCREV_machine_qemux86 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
+SRCREV_machine_qemux86-64 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
+SRCREV_machine_qemumips64 ?= "e8247201b3d33b579520620cf37a398fa8311822"
+SRCREV_machine ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
+SRCREV_meta ?= "96bf76ffc2601220c790ffc0b57eec5a06c3f819"
 
 # remap qemuarm to qemuarma15 for the 5.4 kernel
 # KMACHINE_qemuarm ?= "qemuarma15"
@@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-LINUX_VERSION ?= "5.4.59"
+LINUX_VERSION ?= "5.4.60"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
 DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.17.1
#22 lore raw

PATCH 21/25 linux-yocto/5.4: update to v5.4.61

In reply to Steve Sakoman

From: Bruce Ashfield <[email protected]>

Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits:

6576d69aac94 Linux 5.4.61
d316d52742c4 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set e1818ffcca0e KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
744fde53ec32 xen: don't reschedule in preemption off sections
d6bca2a8f064 mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible 42694912aaf1 do_epoll_ctl(): clean the failure exits up a bit
b158e91610c7 epoll: Keep a reference on files added to the check list
5167f194da69 efi: add missed destroy_workqueue when efisubsys_init fails
13b1fc60ecb0 powerpc/pseries: Do not initiate shutdown when system is running on UPS dafae068886a net: dsa: b53: check for timeout
83236e697f79 hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
2dd00ae408a9 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe() f4adc6430d74 net: ena: Prevent reset after device destruction
f4ed9ede3441 bonding: fix active-backup failover for current ARP slave
542a493c8c5e ARM64: vdso32: Install vdso32 from vdso_install
278eb88ab206 afs: Fix NULL deref in afs_dynroot_depopulate()
140ac9370b16 RDMA/bnxt_re: Do not add user qps to flushlist
dc0d58e281a6 Fix build error when CONFIG_ACPI is not set/enabled:
7cc9812be1c7 efi: avoid error message when booting under Xen
d3ca317cf62a kconfig: qconf: fix signal connection to invalid slots
51d85e70e3ad kconfig: qconf: do not limit the pop-up menu to the first row
da1069e4e727 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe" 6e2aa034d777 kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
46713f3d61b3 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode
667a59aa55fb vfio/type1: Add proper error unwind for vfio_iommu_replay()
503176f5dc07 ASoC: intel: Fix memleak in sst_media_open
8aeb112d58c0 ASoC: msm8916-wcd-analog: fix register Interrupt offset
e9849a60facb s390/ptrace: fix storage key handling
d35f24bc566d s390/runtime_instrumentation: fix storage key handling
cc215d206881 bonding: fix a potential double-unregister
8a49739f58f5 can: j1939: add rxtimer for multipacket broadcast session
d7ab964b6ba9 can: j1939: abort multipacket broadcast session when timeout occurs d0dc3d2c71e2 can: j1939: cancel rxtimer on multipacket broadcast session complete 5159a0a5164b can: j1939: fix support for multipacket broadcast message
5dc0c1c12094 bonding: show saner speed for broadcast mode
1b9dee25ad25 net: fec: correct the error path for regulator disable in probe
c0e04d08e544 i40e: Fix crash during removing i40e driver
e2a8d4423640 i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
154ccf69feca can: j1939: transport: add j1939_session_skb_find_by_offset() function 3bfd1398de6a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack ff723ef6b7b6 can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()
6e0bc946cbee bpf: sock_ops sk access may stomp registers when dst_reg = src_reg ece9ca5840e0 ASoC: q6routing: add dummy register read/write function
aaa6e691b983 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM
233d6f2ab120 spi: stm32: fixes suspend/resume management
666d1d1a0584 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian 3473fa198178 ext4: don't allow overlapping system zones
ea54176e5821 ext4: fix potential negative array index in do_split()
2585402c5799 fs/signalfd.c: fix inconsistent return codes for signalfd4
e4f952b031c1 alpha: fix annotation of io{read,write}{16,32}be()
538c74a9cb26 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
4591461ea9f2 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference 10b2bb101f06 media: camss: fix memory leaks on error handling paths in probe
05724341d9db virtio_ring: Avoid loop when vq is broken in virtqueue_poll
34f8368f6634 scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
28850b8043cc cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0 cca58a166920 swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses
2bd8ba398fad ceph: fix use-after-free for fsc->mdsc
2524bb04d81b jffs2: fix UAF problem
04aeb884e8a5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
711f5688bb97 xfs: fix inode quota reservation checks
8fe5e38acbe7 svcrdma: Fix another Receive buffer leak
7aca2f7d1710 m68knommu: fix overwriting of bits in ColdFire V3 cache control
1a718d4caa1a MIPS: Fix unable to reserve memory for Crash kernel
5594a54c520b Input: psmouse - add a newline when printing 'proto' by sysfs
06d4d9acd7d8 media: vpss: clean up resources in init
f948f1d02237 rtc: goldfish: Enable interrupt in set_alarm() when necessary
85ad0d5f3d69 media: budget-core: Improve exception handling in budget_register() 62b8c76d061f scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
59d587cc3640 scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
10e99c3003d5 opp: Enable resources again if they were disabled earlier
52d322f91954 kthread: Do not preempt current task if it is going to call schedule() 504fe0ab2412 drm/amd/display: fix pow() crashing when given base 0
1f3cfa9338c3 drm/amd/display: Fix EDID parsing after resume from suspend
6f3bff30f1cb drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal f45ab6e7d957 scsi: zfcp: Fix use-after-free in request timeout handlers
b4062a49ad4a jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock() 2bc54ba65fdc ext4: fix checking of directory entry validity for inline directories 59af0759bd46 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request
0cfb9320d00c mm, page_alloc: fix core hung in free_pcppages_bulk()
5663159e2930 mm: include CMA pages in lowmem_reserve at boot
e9e3ec03e6ae uprobes: __replace_page() avoid BUG in munlock_vma_page()
fa2e0d4e4a4c kernel/relay.c: fix memleak on destroy relay channel
19a77c937a19 romfs: fix uninitialized memory leak in romfs_dev_read()
3e538c536f01 spi: Prevent adding devices below an unregistering controller
143df6b3584a can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated 60be1488a3ae can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer() 055c65c7e7dd ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
4fe52a85eeb4 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
84bfb4b10d6f btrfs: add wrapper for transaction abort predicate
745148367b04 btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases
de88b7e2f02f btrfs: don't show full path of bind mounts in subvol=
038580b1f58b btrfs: export helpers for subvolume name/id resolution
b40753984979 bcache: avoid nr_stripes overflow in bcache_device_init()
9f4f7c08d50b khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
9a05b774af30 khugepaged: khugepaged_test_exit() check mmget_still_valid()
8043d5ee9168 perf probe: Fix memory leakage when the probe point is not found
888d9b829c25 gfs2: Never call gfs2_block_zero_range with an open transaction
18a640d3b570 gfs2: Improve mmap write vs. punch_hole consistency
e42c75ef3477 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()
62353048e2d4 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
c7d8f67db126 kbuild: replace AS=clang with LLVM_IAS=1
244d9026768d kbuild: remove AS variable
fed06097acce kbuild: remove PYTHON2 variable
fa84d9f31599 x86/boot: kbuild: allow readelf executable to be specified
c173511a12e4 net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware c7c239c947be net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware f781285d09a9 Documentation/llvm: fix the name of llvm-size
97eab9af0036 Documentation/llvm: add documentation on building w/ Clang/LLVM

(cherry picked from commit 0c67ef9397da5dacaba557956a33c0c457684032)
---
 .../linux/linux-yocto-rt_5.4.bb               |  6 ++---
 .../linux/linux-yocto-tiny_5.4.bb             |  8 +++----
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +++++++++----------
 3 files changed, 18 insertions(+), 18 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +3 -3
index a3416a660f..a0324f0304 100644
@@ -11,13 +11,13 @@ python () {
         raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "ac6f31906972c08f16c1ce43410502a5ef251dce"
-SRCREV_meta ?= "96bf76ffc2601220c790ffc0b57eec5a06c3f819"
+SRCREV_machine ?= "e65e9ff22c5c42c9ae57a4cce45fbf91a7e7ae3b"
+SRCREV_meta ?= "7ed307f65171d331a784ceecb6f56b9f8ecadb10"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.4.60"
+LINUX_VERSION ?= "5.4.61"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb +4 -4
index 58697bb9ef..f835a45870 100644
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.4.60"
+LINUX_VERSION ?= "5.4.61"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine_qemuarm ?= "693cdc59f5332582cd1e0e21f388b5342fadb5c6"
-SRCREV_machine ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_meta ?= "96bf76ffc2601220c790ffc0b57eec5a06c3f819"
+SRCREV_machine_qemuarm ?= "f30ce7653a038eb05ef0503d0d15c7c6ec33cdc5"
+SRCREV_machine ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_meta ?= "7ed307f65171d331a784ceecb6f56b9f8ecadb10"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_5.4.bb +11 -11
index 61699cda86..070486c8aa 100644
@@ -12,16 +12,16 @@ KBRANCH_qemux86  ?= "v5.4/standard/base"
 KBRANCH_qemux86-64 ?= "v5.4/standard/base"
 KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "05fde54b1e68379be26d2d666e52eb8a4433cf67"
-SRCREV_machine_qemuarm64 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemumips ?= "02fee7ae77f92e2090c26959be11c0a109b02ec2"
-SRCREV_machine_qemuppc ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemuriscv64 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemux86 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemux86-64 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemumips64 ?= "e8247201b3d33b579520620cf37a398fa8311822"
-SRCREV_machine ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_meta ?= "96bf76ffc2601220c790ffc0b57eec5a06c3f819"
+SRCREV_machine_qemuarm ?= "487ecd38aaa59c22302930e8a9697c62c9d85fe5"
+SRCREV_machine_qemuarm64 ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemumips ?= "ad1d747e7343bc9851bff62c4279060094c6eb59"
+SRCREV_machine_qemuppc ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemuriscv64 ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemux86 ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemux86-64 ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemumips64 ?= "4fe8438e9dea8d0a00f82003277f36785aac9e3d"
+SRCREV_machine ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_meta ?= "7ed307f65171d331a784ceecb6f56b9f8ecadb10"
 
 # remap qemuarm to qemuarma15 for the 5.4 kernel
 # KMACHINE_qemuarm ?= "qemuarma15"
@@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-LINUX_VERSION ?= "5.4.60"
+LINUX_VERSION ?= "5.4.61"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
 DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.17.1
#23 lore raw

PATCH 22/25 kernel-yocto: checksum all modifications to available kernel fragments directories

In reply to Steve Sakoman

From: Bruce Ashfield <[email protected]>

This is based on the patch from Zhaolong Zhang <[email protected]> [kernel-yocto: checksum indirect cfg and scc files]

While the recommended manner to share/reuse feature fragments is to maintain them in a kernel-meta repository and track the changes via the standard SRCREV fetcher mechanism, that method is not always practical for small sets of features or for quick testing of changes.

These other flows use .scc files on the SRC_URI. It has been noted that config fragments or other features indirectly included by those .scc files will not trigger the kernel meta-data to be re-run and hence a build can continue with stale data (or not be triggered at all).

To solve this issue, we can collect the directories that are searchable via FILESEXTRAPATHS and add them to the do_kernel_metadata task checksum.

This allows modifications, additions and removals from the potential kernel feature directories to trigger a re-execution of the meta data task.

(cherry picked from commit 09f4db415fb6a1398e9e9b359630043c833f6118)
---
 meta/classes/kernel-yocto.bbclass | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
meta/classes/kernel-yocto.bbclass +16 -0
index 3311f6e84e..cc8bcb909a 100644
@@ -85,6 +85,21 @@ def get_machine_branch(d, default):
 	    
     return default
 
+# returns a list of all directories that are on FILESEXTRAPATHS (and
+# hence available to the build) that contain .scc or .cfg files
+def get_dirs_with_fragments(d):
+    extrapaths = []
+    extrafiles = []
+    extrapathsvalue = (d.getVar("FILESEXTRAPATHS") or "")
+    # Remove default flag which was used for checking
+    extrapathsvalue = extrapathsvalue.replace("__default:", "")
+    extrapaths = extrapathsvalue.split(":")
+    for path in extrapaths:
+        if path + ":True" not in extrafiles:
+            extrafiles.append(path + ":" + str(os.path.exists(path)))
+
+    return " ".join(extrafiles)
+
 do_kernel_metadata() {
 	set +e
 	cd ${S}
@@ -330,6 +345,7 @@ do_kernel_checkout[dirs] = "${S}"
 addtask kernel_checkout before do_kernel_metadata after do_symlink_kernsrc
 addtask kernel_metadata after do_validate_branches do_unpack before do_patch
 do_kernel_metadata[depends] = "kern-tools-native:do_populate_sysroot"
+do_kernel_metadata[file-checksums] = " ${@get_dirs_with_fragments(d)}"
 do_validate_branches[depends] = "kern-tools-native:do_populate_sysroot"
 
 do_kernel_configme[depends] += "virtual/${TARGET_PREFIX}binutils:do_populate_sysroot"
Signature · 1 line
2.17.1
#24 lore raw

PATCH 23/25 kernel.bbclass: run do_symlink_kernsrc before do_patch

In reply to Steve Sakoman

From: Rasmus Villemoes <[email protected]>

There's a race between do_symlink_kernsrc and do_populate_lic, since the latter is ordered "after do_patch"; so the two may run in parallel. In some cases, that actually causes do_populate_lic to fail if it happens to look for a license file somewhere under ${S} in the short window after shutil.move and before the symlink has been created.

Fix that by simply ordering symlink_kernsrc before do_patch. Any task that pokes around in ${S} looking for files should be ordered after do_patch, so this should also fix similar latent races with other ad hoc tasks.

(cherry picked from commit c5dfc2586b4135cc86e91bb04fed837daf505676)
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -1
index 9e3c34ad48..9eb9bd2844 100644
@@ -152,7 +152,7 @@ python do_symlink_kernsrc () {
             shutil.move(s, kernsrc)
             os.symlink(kernsrc, s)
 }
-addtask symlink_kernsrc before do_configure after do_unpack
+addtask symlink_kernsrc before do_patch after do_unpack
 
 inherit kernel-arch deploy
 
Signature · 1 line
2.17.1
#30 lore raw

PATCH 24/25 linux-firmware: upgrade 20200619 -> 20200721

In reply to Steve Sakoman

From: Alexander Kanavin <[email protected]>

License-Update: firmware versions/filenames

(cherry picked from commit 6c1ee3b8a02cd8c5b4219e06c2d71dac1edf4fdf)
---
 ...{linux-firmware_20200619.bb => linux-firmware_20200721.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-kernel/linux-firmware/{linux-firmware_20200619.bb => linux-firmware_20200721.bb} (99%)
meta/recipes-kernel/linux-firmware/linux-firmware_20200721.bb renamed from meta/recipes-kernel/linux-firmware/linux-firmware_20200619.bb +2 -2
similarity index 99%
rename from meta/recipes-kernel/linux-firmware/linux-firmware_20200619.bb
rename to meta/recipes-kernel/linux-firmware/linux-firmware_20200721.bb
index bf25ff8b70..659534521e 100644
@@ -126,7 +126,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
                     file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
                     file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
                     file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
-                    file://WHENCE;md5=d373d30188c38dabffec0d3cc87abbfd \
+                    file://WHENCE;md5=7627a0ba9a78e7e556afcf15b0971016 \
                     "
 
 # These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -198,7 +198,7 @@ PE = "1"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz"
 
-SRC_URI[sha256sum] = "962d3ae197d226c8259f9cc7746f7ef12a9d23787cd56bd27302021ba6339722"
+SRC_URI[sha256sum] = "898c334b0da7de6ea173899beb696fad647dce0c06960d7368ba4d4e802fb860"
 
 inherit allarch
 
Signature · 1 line
2.17.1
#31 lore raw

PATCH 25/25 linux-firmware: update 20200721 -> 20200817

In reply to Steve Sakoman

From: Alexander Kanavin <[email protected]>

(cherry picked from commit 16f2e190ef55e349512b8f70fe437b46ef1dc142)
---
 ...{linux-firmware_20200721.bb => linux-firmware_20200817.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-kernel/linux-firmware/{linux-firmware_20200721.bb => linux-firmware_20200817.bb} (99%)
meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb renamed from meta/recipes-kernel/linux-firmware/linux-firmware_20200721.bb +2 -2
similarity index 99%
rename from meta/recipes-kernel/linux-firmware/linux-firmware_20200721.bb
rename to meta/recipes-kernel/linux-firmware/linux-firmware_20200817.bb
index 659534521e..22e71059d8 100644
@@ -126,7 +126,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
                     file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
                     file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
                     file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
-                    file://WHENCE;md5=7627a0ba9a78e7e556afcf15b0971016 \
+                    file://WHENCE;md5=4d229f79f8770b5b2c4aac655b9fabef \
                     "
 
 # These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -198,7 +198,7 @@ PE = "1"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz"
 
-SRC_URI[sha256sum] = "898c334b0da7de6ea173899beb696fad647dce0c06960d7368ba4d4e802fb860"
+SRC_URI[sha256sum] = "76d05d5f1eff268d3b80675245fa596f557bd55ee2e16ddd54d18ffeae943887"
 
 inherit allarch
 
Signature · 1 line
2.17.1
#32 lore raw
In reply to Steve Sakoman

Hi Steve,

Quoted 2 lines · Steve Sakoman

Please review this next set of patches for dunfell and have comments back by end of day Tuesday.

A few of these (e.g. devtool, RPROVIDES, kernel fragments) are what I'd consider slightly riskier patches which only really just made master. I'm not sure if we want to give a little extra time for some of those in master before we backport?

Cheers,

Richard

#33 lore raw
Quoted 11 lines · Richard Purdie

Hi Steve,

Quoted 2 lines · Steve Sakoman

Please review this next set of patches for dunfell and have comments back by end of day Tuesday.

A few of these (e.g. devtool, RPROVIDES, kernel fragments) are what I'd consider slightly riskier patches which only really just made master. I'm not sure if we want to give a little extra time for some of those in master before we backport?

Certainly, I'll drop those patches from the pull request and let them bake for another week.

Steve

#34 lore raw
Quoted 10 lines · Steve Sakoman
Quoted 7 lines · Richard Purdie

Hi Steve,

Quoted 2 lines · Steve Sakoman

Please review this next set of patches for dunfell and have comments back by end of day Tuesday.

Quoted 7 lines
Quoted 4 lines

A few of these (e.g. devtool, RPROVIDES, kernel fragments) are what I'd consider slightly riskier patches which only really just made master. I'm not sure if we want to give a little extra time for some of those in master before we backport?

Certainly, I'll drop those patches from the pull request and let them bake for another week.

Steve: since you're looking at pulling in kernel fragment patches to dunfell, please could you add this patch to your next round:

commit af687c9137a3e8efe48afa6fd12866cf656ae913
cml1: Move find_cfgs() helper to cml1.bbclass

https://lists.openembedded.org/g/openembedded-core/message/140493

It's needed in dunfell of oe-core to fix compatibility with post-dunfell meta-virtualization, where the Xen recipe now inherits cml1.bbclass to support config fragments. Without this patch applied, parsing of meta-virtualization fails since find_cfgs is missing; with it applied, the current master branch of meta-virtualization is compatible with dunfell of oe-core, which enables use of newer Xen versions with the stable dunfell core -- enabling this combination is useful and would be appreciated.

thanks,

Christopher

Quoted 3 lines

Steve

#35 lore raw
Quoted 17 lines · Christopher Clark
Quoted 15 lines · Steve Sakoman
Quoted 11 lines · Richard Purdie

Hi Steve,

Quoted 2 lines · Steve Sakoman

Please review this next set of patches for dunfell and have comments back by end of day Tuesday.

A few of these (e.g. devtool, RPROVIDES, kernel fragments) are what I'd consider slightly riskier patches which only really just made master. I'm not sure if we want to give a little extra time for some of those in master before we backport?

Quoted 5 lines
Quoted 2 lines

Certainly, I'll drop those patches from the pull request and let them bake for another week.

Steve: since you're looking at pulling in kernel fragment patches to dunfell, please could you add this patch to your next round:

Seems safe enough. I'll add it to the patches I am testing this week and if all goes well it will be included in the batch I send out for review next week.

Steve

Quoted 22 lines

commit af687c9137a3e8efe48afa6fd12866cf656ae913
cml1: Move find_cfgs() helper to cml1.bbclass

https://lists.openembedded.org/g/openembedded-core/message/140493

It's needed in dunfell of oe-core to fix compatibility with post-dunfell meta-virtualization, where the Xen recipe now inherits cml1.bbclass to support config fragments. Without this patch applied, parsing of meta-virtualization fails since find_cfgs is missing; with it applied, the current master branch of meta-virtualization is compatible with dunfell of oe-core, which enables use of newer Xen versions with the stable dunfell core -- enabling this combination is useful and would be appreciated.

thanks,

Christopher

Quoted 3 lines

Steve

#18 lore raw

Re: [OE-core][dunfell 17/25] libubootenv: uprev to v0.3

In reply to Steve Sakoman

Hi Ming,

Quoted 5 lines · Steve Sakoman

From: Ming Liu <[email protected]>

Update libubootenv to the latest 0.3 release, which comprises the following commits:

Thanks for this, but I released a 0.3.1 afterwards to include somefixes:

- Fix file reading/writing when the environment is in EEPROM
- Fix regression in UBI volume support

Please update to this version, thanks !

Best regards,
Stefano Babic

Quoted 77 lines
```
1efed83 Increase max length for device name
6f4fc1c uboot_env: Use canonicalized pathname when reading device
23b3086 Fix bug introduced by commit 52a70114
ed1a53e Dont store to device if no value changes
4a0a466 Merge pull request #7 from TomzBench/cmake-fix
6117831 Added Coverity badge
49372a1 Fix coverity #293496
69a6819 Fix coverity #293503 and #293507
258bf52 Fix coverity #293501
aa52e61 Fix coverity #293505
52a7011 Fix coverity #293504 and #293506
e822218 Fix coverity #293495 and #293497
23b305f Fix coverity #293499
25ef1f6 Add coverity setup for Travis
41b5188 fixed install for static target, fixed BUILD_DOC acknowledgement
86bd30a Restore ability to feed script file via stdin, using `-s -`.
c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP
f4b9cde Allow negative offsets
45bf92a Detect sector size if not found in config
9f59db6 uboot_env: remove unused variables
65d243e README: libubootenv is now in oe-core
ba952d0 BUG: variable lists not released in close()
690f868 Variables are not removed when loading from file
9e3586a Make sure there's no file descriptor leakage in case of error
03647c4 Check config file defines a non-zero Sector size
3b2d4f1 Check environment size from fw_env.config
879c073 Do not hardcode path for install
d9c639b libubootenv: add pkg-config support
cc628ee libuboot: wrap libuboot in extern "C" for C++
```

Also add u-boot-default-env to RRECOMMENDS since /etc/u-boot-initial-env is being referred in libubootenv source, and turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since u-boot-default-env is a machine-arch package.

(cherry picked from commit 02d55cd35aac15095fc44f0cf8f9e7a71638f485)
---
 .../u-boot/{libubootenv_0.2.bb => libubootenv_0.3.bb}      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-bsp/u-boot/{libubootenv_0.2.bb => libubootenv_0.3.bb} (82%)
meta/recipes-bsp/u-boot/libubootenv_0.3.bb renamed from meta/recipes-bsp/u-boot/libubootenv_0.2.bb +5 -2
similarity index 82%
rename from meta/recipes-bsp/u-boot/libubootenv_0.2.bb
rename to meta/recipes-bsp/u-boot/libubootenv_0.3.bb
index ea29b668e8..47e64f9114 100644
@@ -10,9 +10,8 @@ LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c"
 SECTION = "libs"
 
-PV = "0.2+git${SRCPV}"
 SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
-SRCREV = "f4b9cde3815abe84a98079cedd515283ea08c16b"
+SRCREV = "ad253cfdb07c8492f2ee46a52fbc607ad0b96414"
 
 S = "${WORKDIR}/git"
 
@@ -24,4 +23,8 @@ DEPENDS = "zlib"
 PROVIDES += "u-boot-fw-utils"
 RPROVIDES_${PN}-bin += "u-boot-fw-utils"
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+RRECOMMENDS_${PN}-bin_append_class-target = " u-boot-default-env"
+
 BBCLASSEXTEND = "native"
Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================
#25 lore raw

Re: [OE-core][dunfell 23/25] kernel.bbclass: run do_symlink_kernsrc before do_patch

In reply to Steve Sakoman

Hi,

This patch makes STAGING_KERNEL_DIR symlink broken if externalsrc is used. I filed a bug for this.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14044

Best Regards,
Chanho Park

Quoted 40 lines · Steve Sakoman

From: Rasmus Villemoes <[email protected]>

There's a race between do_symlink_kernsrc and do_populate_lic, since the latter is ordered "after do_patch"; so the two may run in parallel. In some cases, that actually causes do_populate_lic to fail if it happens to look for a license file somewhere under ${S} in the short window after shutil.move and before the symlink has been created.

Fix that by simply ordering symlink_kernsrc before do_patch. Any task that pokes around in ${S} looking for files should be ordered after do_patch, so this should also fix similar latent races with other ad hoc tasks.

(cherry picked from commit c5dfc2586b4135cc86e91bb04fed837daf505676)
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -2
index 9e3c34ad48..9eb9bd2844 100644
@@ -152,7 +152,7 @@ python do_symlink_kernsrc () {
             shutil.move(s, kernsrc)
             os.symlink(kernsrc, s)
 }
-addtask symlink_kernsrc before do_configure after do_unpack
+addtask symlink_kernsrc before do_patch after do_unpack
 
 inherit kernel-arch deploy
 
--

2.17.1

Signature · 2 lines
Best Regards,
Chanho Park
#26 lore raw

Re: [OE-core][dunfell 23/25] kernel.bbclass: run do_symlink_kernsrc before do_patch

Looping in Rasmus, the patch author.

Would you like to submit a patch to fix this issue? Otherwise I should probably revert this patch in dunfell.

Thanks!

Steve

Quoted 57 lines · Chanho Park

Hi,

This patch makes STAGING_KERNEL_DIR symlink broken if externalsrc is used. I filed a bug for this.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14044

Best Regards,
Chanho Park

Quoted 37 lines · Steve Sakoman

From: Rasmus Villemoes <[email protected]>

There's a race between do_symlink_kernsrc and do_populate_lic, since the latter is ordered "after do_patch"; so the two may run in parallel. In some cases, that actually causes do_populate_lic to fail if it happens to look for a license file somewhere under ${S} in the short window after shutil.move and before the symlink has been created.

Fix that by simply ordering symlink_kernsrc before do_patch. Any task that pokes around in ${S} looking for files should be ordered after do_patch, so this should also fix similar latent races with other ad hoc tasks.

(cherry picked from commit c5dfc2586b4135cc86e91bb04fed837daf505676)
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -2
index 9e3c34ad48..9eb9bd2844 100644
@@ -152,7 +152,7 @@ python do_symlink_kernsrc () {
             shutil.move(s, kernsrc)
             os.symlink(kernsrc, s)
 }
-addtask symlink_kernsrc before do_configure after do_unpack
+addtask symlink_kernsrc before do_patch after do_unpack
 
 inherit kernel-arch deploy
 
--
Quoted 3 lines

2.17.1

--
Best Regards,
Chanho Park

#28 lore raw

Re: [OE-core][dunfell 23/25] kernel.bbclass: run do_symlink_kernsrc before do_patch

In reply to a message not in the archive

Since there is an upcoming dunfell release and we don't have a fix for this issue I am going to revert this patch.

When it is fixed in master I will reconsider taking this patch and the fix for dunfell.

Steve

Quoted 70 lines · Steve Sakoman via lists.openembedded.org

Looping in Rasmus, the patch author.

Would you like to submit a patch to fix this issue? Otherwise I should probably revert this patch in dunfell.

Thanks!

Steve

Quoted 57 lines · Chanho Park

Hi,

This patch makes STAGING_KERNEL_DIR symlink broken if externalsrc is used. I filed a bug for this.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14044

Best Regards,
Chanho Park

Quoted 37 lines · Steve Sakoman

From: Rasmus Villemoes <[email protected]>

There's a race between do_symlink_kernsrc and do_populate_lic, since the latter is ordered "after do_patch"; so the two may run in parallel. In some cases, that actually causes do_populate_lic to fail if it happens to look for a license file somewhere under ${S} in the short window after shutil.move and before the symlink has been created.

Fix that by simply ordering symlink_kernsrc before do_patch. Any task that pokes around in ${S} looking for files should be ordered after do_patch, so this should also fix similar latent races with other ad hoc tasks.

(cherry picked from commit c5dfc2586b4135cc86e91bb04fed837daf505676)
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -2
index 9e3c34ad48..9eb9bd2844 100644
@@ -152,7 +152,7 @@ python do_symlink_kernsrc () {
             shutil.move(s, kernsrc)
             os.symlink(kernsrc, s)
 }
-addtask symlink_kernsrc before do_configure after do_unpack
+addtask symlink_kernsrc before do_patch after do_unpack
 
 inherit kernel-arch deploy
 
--
Quoted 3 lines

2.17.1

--
Best Regards,
Chanho Park

#29 lore raw

Re: [OE-core][dunfell 23/25] kernel.bbclass: run do_symlink_kernsrc before do_patch

Quoted 5 lines · Steve Sakoman

Since there is an upcoming dunfell release and we don't have a fix for this issue I am going to revert this patch.

When it is fixed in master I will reconsider taking this patch and the fix for dunfell.

Sorry for not seeing this sooner, and for the bug in the first place.

However, looking into externalsrc.bbclass, isn't the bug there, considering the "if we delete do_patch, do_unpack doesn't run" fixup done - kernel-yocto.bbclass has a similar fixup for do_kernel_configme. Why doesn't that class just set [noexec]=1 instead of deleting the tasks outright, killing all those random fixups?

But if that's too invasive, I suppose just ordering the symlink task before both patch and configure should work, i.e.

meta/classes/kernel.bbclass +1 -1
@@ -172,7 +172,7 @@ python do_symlink_kernsrc () {
             shutil.move(s, kernsrc)
             os.symlink(kernsrc, s)
 }
-addtask symlink_kernsrc before do_patch after do_unpack
+addtask symlink_kernsrc before do_patch do_configure after do_unpack
 
 inherit kernel-arch deploy
 

Rasmus