From patchwork Sun Oct 1 15:59:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31473 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C579E748F5 for ; Sun, 1 Oct 2023 16:00:25 +0000 (UTC) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mx.groups.io with SMTP id smtpd.web10.62414.1696176020833234974 for ; Sun, 01 Oct 2023 09:00:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=1X/nuAib; spf=softfail (domain: sakoman.com, ip: 209.85.214.171, mailfrom: steve@sakoman.com) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1c3d6d88231so116242745ad.0 for ; Sun, 01 Oct 2023 09:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176020; x=1696780820; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=2v1HEVofZGGnK31uPlU8I8ZvGbNvw95K+yME+l4CW28=; b=1X/nuAibTr2GKw5kcYAjC3WNbkoVl1YHd8rkxmGTXLfF2Pnuf/xIPnrZWLDW+EVndu UiveObWyufSJRHedxd9jYek5fbzhw16aVXtB9dHELJb3TU4BM7e/3tB0nuRg88NFYLUZ 5QRbO3iNZAKKwEMIXfxPkvNT2lbsXdHHciArFoTQn0nVmuPYOAqVkvTucytQQc8iyLaK i2VX8yGlpSs/ztGYV37IC27wz2imdP7IInDysxxbNS/6N6MOfO0YsJrtNpsP5W71CPgG Z39O28ygMprk+9EIA2HtruHZmMlD7leWItMB8FBU4yXVIWhhPDGwduIm79ZAMg9oYiEr jleQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176020; x=1696780820; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2v1HEVofZGGnK31uPlU8I8ZvGbNvw95K+yME+l4CW28=; b=wzec8r0vIXcbAn/E7CsWKGiIqE5gVn1pJi50N1vGFLtIeO4Yr5aU+pm5ATM2hgl0hI 8T7Wp0QDam2Sya1MagiysZK1CswRfz8UYln5u9Y5D2ehF9Br1KoflZL0lpB6tWzsXjCe yyIJ5Vg0095C/P0ZUasA107c6/Tqwk+Ec9Iwdy88Wu926AHnyQvm8SUygaU+J9D85qET tuvvixYR5Zf+wuxxWpo1kNAklxqqmv6NjPTIMeD3Ehn7XNAF7g/2l49HvVpYbtvi8Kmx VwZHs2PpCOuP5vSO/jzDh8rVk5pHxmy3tQj3glm1ATAbZ39kKqpCwWB5Q7cbpyHxiI9f lohQ== X-Gm-Message-State: AOJu0YxGArZcx/KhsxITK+YPFsOTcKx7LCH0snHomD4jEngSaXLIe1/L Gzsot6qQ5Tit4W+Lt9I/aXvzHdfYPRRe8ovbnqp6Yg== X-Google-Smtp-Source: AGHT+IF822XQDbA+SptH0jPDcQYItW8pshr9rSydbbi12cJJ83ZtogO2DDZvRJDt4qU70GDC3wCfow== X-Received: by 2002:a17:902:d507:b0:1c7:6cf5:c655 with SMTP id b7-20020a170902d50700b001c76cf5c655mr686939plg.51.1696176019515; Sun, 01 Oct 2023 09:00:19 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:19 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 01/23] glibc: fix CVE-2023-4806 Date: Sun, 1 Oct 2023 05:59:48 -1000 Message-Id: <7591adeb37f9156266ef98b639073e986e3a49f5.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188490 From: Yash Shinde Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=973fe93a5675c42798b2161c6f29c01b0e243994] Signed-off-by: Yash Shinde Signed-off-by: Steve Sakoman --- .../glibc/glibc/0024-CVE-2023-4806.patch | 342 ++++++++++++++++++ meta/recipes-core/glibc/glibc_2.37.bb | 1 + 2 files changed, 343 insertions(+) create mode 100644 meta/recipes-core/glibc/glibc/0024-CVE-2023-4806.patch diff --git a/meta/recipes-core/glibc/glibc/0024-CVE-2023-4806.patch b/meta/recipes-core/glibc/glibc/0024-CVE-2023-4806.patch new file mode 100644 index 0000000000..42d91fd340 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0024-CVE-2023-4806.patch @@ -0,0 +1,342 @@ +From 973fe93a5675c42798b2161c6f29c01b0e243994 Mon Sep 17 00:00:00 2001 +From: Siddhesh Poyarekar +Date: Fri, 15 Sep 2023 13:51:12 -0400 +Subject: [PATCH] getaddrinfo: Fix use after free in getcanonname + (CVE-2023-4806) + +When an NSS plugin only implements the _gethostbyname2_r and +_getcanonname_r callbacks, getaddrinfo could use memory that was freed +during tmpbuf resizing, through h_name in a previous query response. + +The backing store for res->at->name when doing a query with +gethostbyname3_r or gethostbyname2_r is tmpbuf, which is reallocated in +gethosts during the query. For AF_INET6 lookup with AI_ALL | +AI_V4MAPPED, gethosts gets called twice, once for a v6 lookup and second +for a v4 lookup. In this case, if the first call reallocates tmpbuf +enough number of times, resulting in a malloc, th->h_name (that +res->at->name refers to) ends up on a heap allocated storage in tmpbuf. +Now if the second call to gethosts also causes the plugin callback to +return NSS_STATUS_TRYAGAIN, tmpbuf will get freed, resulting in a UAF +reference in res->at->name. This then gets dereferenced in the +getcanonname_r plugin call, resulting in the use after free. + +Fix this by copying h_name over and freeing it at the end. This +resolves BZ #30843, which is assigned CVE-2023-4806. + +Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=973fe93a5675c42798b2161c6f29c01b0e243994] +CVE: CVE-2023-4806 + +Signed-off-by: Siddhesh Poyarekar + +Signed-off-by: Yash Shinde +--- + nss/Makefile | 15 ++++- + nss/nss_test_gai_hv2_canonname.c | 56 +++++++++++++++++ + nss/tst-nss-gai-hv2-canonname.c | 63 +++++++++++++++++++ + nss/tst-nss-gai-hv2-canonname.h | 1 + + .../postclean.req | 0 + .../tst-nss-gai-hv2-canonname.script | 2 + + sysdeps/posix/getaddrinfo.c | 25 +++++--- + 7 files changed, 152 insertions(+), 10 deletions(-) + create mode 100644 nss/nss_test_gai_hv2_canonname.c + create mode 100644 nss/tst-nss-gai-hv2-canonname.c + create mode 100644 nss/tst-nss-gai-hv2-canonname.h + create mode 100644 nss/tst-nss-gai-hv2-canonname.root/postclean.req + create mode 100644 nss/tst-nss-gai-hv2-canonname.root/tst-nss-gai-hv2-canonname.script + +diff --git a/nss/Makefile b/nss/Makefile +index 06fcdc450f..8a5126ecf3 100644 +--- a/nss/Makefile ++++ b/nss/Makefile +@@ -82,6 +82,7 @@ tests-container := \ + tst-nss-test3 \ + tst-reload1 \ + tst-reload2 \ ++ tst-nss-gai-hv2-canonname \ + # tests-container + + # Tests which need libdl +@@ -145,7 +146,8 @@ libnss_compat-inhibit-o = $(filter-out .os,$(object-suffixes)) + ifeq ($(build-static-nss),yes) + tests-static += tst-nss-static + endif +-extra-test-objs += nss_test1.os nss_test2.os nss_test_errno.os ++extra-test-objs += nss_test1.os nss_test2.os nss_test_errno.os \ ++ nss_test_gai_hv2_canonname.os + + include ../Rules + +@@ -180,12 +182,16 @@ rtld-tests-LDFLAGS += -Wl,--dynamic-list=nss_test.ver + libof-nss_test1 = extramodules + libof-nss_test2 = extramodules + libof-nss_test_errno = extramodules ++libof-nss_test_gai_hv2_canonname = extramodules + $(objpfx)/libnss_test1.so: $(objpfx)nss_test1.os $(link-libc-deps) + $(build-module) + $(objpfx)/libnss_test2.so: $(objpfx)nss_test2.os $(link-libc-deps) + $(build-module) + $(objpfx)/libnss_test_errno.so: $(objpfx)nss_test_errno.os $(link-libc-deps) + $(build-module) ++$(objpfx)/libnss_test_gai_hv2_canonname.so: \ ++ $(objpfx)nss_test_gai_hv2_canonname.os $(link-libc-deps) ++ $(build-module) + $(objpfx)nss_test2.os : nss_test1.c + # Use the nss_files suffix for these objects as well. + $(objpfx)/libnss_test1.so$(libnss_files.so-version): $(objpfx)/libnss_test1.so +@@ -195,10 +201,14 @@ $(objpfx)/libnss_test2.so$(libnss_files.so-version): $(objpfx)/libnss_test2.so + $(objpfx)/libnss_test_errno.so$(libnss_files.so-version): \ + $(objpfx)/libnss_test_errno.so + $(make-link) ++$(objpfx)/libnss_test_gai_hv2_canonname.so$(libnss_files.so-version): \ ++ $(objpfx)/libnss_test_gai_hv2_canonname.so ++ $(make-link) + $(patsubst %,$(objpfx)%.out,$(tests) $(tests-container)) : \ + $(objpfx)/libnss_test1.so$(libnss_files.so-version) \ + $(objpfx)/libnss_test2.so$(libnss_files.so-version) \ +- $(objpfx)/libnss_test_errno.so$(libnss_files.so-version) ++ $(objpfx)/libnss_test_errno.so$(libnss_files.so-version) \ ++ $(objpfx)/libnss_test_gai_hv2_canonname.so$(libnss_files.so-version) + + ifeq (yes,$(have-thread-library)) + $(objpfx)tst-cancel-getpwuid_r: $(shared-thread-library) +@@ -215,3 +225,4 @@ LDFLAGS-tst-nss-test3 = -Wl,--disable-new-dtags + LDFLAGS-tst-nss-test4 = -Wl,--disable-new-dtags + LDFLAGS-tst-nss-test5 = -Wl,--disable-new-dtags + LDFLAGS-tst-nss-test_errno = -Wl,--disable-new-dtags ++LDFLAGS-tst-nss-test_gai_hv2_canonname = -Wl,--disable-new-dtags +diff --git a/nss/nss_test_gai_hv2_canonname.c b/nss/nss_test_gai_hv2_canonname.c +new file mode 100644 +index 0000000000..4439c83c9f +--- /dev/null ++++ b/nss/nss_test_gai_hv2_canonname.c +@@ -0,0 +1,56 @@ ++/* NSS service provider that only provides gethostbyname2_r. ++ Copyright The GNU Toolchain Authors. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library; if not, see ++ . */ ++ ++#include ++#include ++#include ++#include "nss/tst-nss-gai-hv2-canonname.h" ++ ++/* Catch misnamed and functions. */ ++#pragma GCC diagnostic error "-Wmissing-prototypes" ++NSS_DECLARE_MODULE_FUNCTIONS (test_gai_hv2_canonname) ++ ++extern enum nss_status _nss_files_gethostbyname2_r (const char *, int, ++ struct hostent *, char *, ++ size_t, int *, int *); ++ ++enum nss_status ++_nss_test_gai_hv2_canonname_gethostbyname2_r (const char *name, int af, ++ struct hostent *result, ++ char *buffer, size_t buflen, ++ int *errnop, int *herrnop) ++{ ++ return _nss_files_gethostbyname2_r (name, af, result, buffer, buflen, errnop, ++ herrnop); ++} ++ ++enum nss_status ++_nss_test_gai_hv2_canonname_getcanonname_r (const char *name, char *buffer, ++ size_t buflen, char **result, ++ int *errnop, int *h_errnop) ++{ ++ /* We expect QUERYNAME, which is a small enough string that it shouldn't fail ++ the test. */ ++ if (memcmp (QUERYNAME, name, sizeof (QUERYNAME)) ++ || buflen < sizeof (QUERYNAME)) ++ abort (); ++ ++ strncpy (buffer, name, buflen); ++ *result = buffer; ++ return NSS_STATUS_SUCCESS; ++} +diff --git a/nss/tst-nss-gai-hv2-canonname.c b/nss/tst-nss-gai-hv2-canonname.c +new file mode 100644 +index 0000000000..d5f10c07d6 +--- /dev/null ++++ b/nss/tst-nss-gai-hv2-canonname.c +@@ -0,0 +1,63 @@ ++/* Test NSS query path for plugins that only implement gethostbyname2 ++ (#30843). ++ Copyright The GNU Toolchain Authors. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library; if not, see ++ . */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include "nss/tst-nss-gai-hv2-canonname.h" ++ ++#define PREPARE do_prepare ++ ++static void do_prepare (int a, char **av) ++{ ++ FILE *hosts = xfopen ("/etc/hosts", "w"); ++ for (unsigned i = 2; i < 255; i++) ++ { ++ fprintf (hosts, "ff01::ff02:ff03:%u:2\ttest.example.com\n", i); ++ fprintf (hosts, "192.168.0.%u\ttest.example.com\n", i); ++ } ++ xfclose (hosts); ++} ++ ++static int ++do_test (void) ++{ ++ __nss_configure_lookup ("hosts", "test_gai_hv2_canonname"); ++ ++ struct addrinfo hints = {}; ++ struct addrinfo *result = NULL; ++ ++ hints.ai_family = AF_INET6; ++ hints.ai_flags = AI_ALL | AI_V4MAPPED | AI_CANONNAME; ++ ++ int ret = getaddrinfo (QUERYNAME, NULL, &hints, &result); ++ ++ if (ret != 0) ++ FAIL_EXIT1 ("getaddrinfo failed: %s\n", gai_strerror (ret)); ++ ++ TEST_COMPARE_STRING (result->ai_canonname, QUERYNAME); ++ ++ freeaddrinfo(result); ++ return 0; ++} ++ ++#include +diff --git a/nss/tst-nss-gai-hv2-canonname.h b/nss/tst-nss-gai-hv2-canonname.h +new file mode 100644 +index 0000000000..14f2a9cb08 +--- /dev/null ++++ b/nss/tst-nss-gai-hv2-canonname.h +@@ -0,0 +1 @@ ++#define QUERYNAME "test.example.com" +diff --git a/nss/tst-nss-gai-hv2-canonname.root/postclean.req b/nss/tst-nss-gai-hv2-canonname.root/postclean.req +new file mode 100644 +index 0000000000..e69de29bb2 +diff --git a/nss/tst-nss-gai-hv2-canonname.root/tst-nss-gai-hv2-canonname.script b/nss/tst-nss-gai-hv2-canonname.root/tst-nss-gai-hv2-canonname.script +new file mode 100644 +index 0000000000..31848b4a28 +--- /dev/null ++++ b/nss/tst-nss-gai-hv2-canonname.root/tst-nss-gai-hv2-canonname.script +@@ -0,0 +1,2 @@ ++cp $B/nss/libnss_test_gai_hv2_canonname.so $L/libnss_test_gai_hv2_canonname.so.2 ++su +diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c +index 6ae6744fe4..47f421fddf 100644 +--- a/sysdeps/posix/getaddrinfo.c ++++ b/sysdeps/posix/getaddrinfo.c +@@ -120,6 +120,7 @@ struct gaih_result + { + struct gaih_addrtuple *at; + char *canon; ++ char *h_name; + bool free_at; + bool got_ipv6; + }; +@@ -165,6 +166,7 @@ gaih_result_reset (struct gaih_result *res) + if (res->free_at) + free (res->at); + free (res->canon); ++ free (res->h_name); + memset (res, 0, sizeof (*res)); + } + +@@ -203,9 +205,8 @@ gaih_inet_serv (const char *servicename, const struct gaih_typeproto *tp, + return 0; + } + +-/* Convert struct hostent to a list of struct gaih_addrtuple objects. h_name +- is not copied, and the struct hostent object must not be deallocated +- prematurely. The new addresses are appended to the tuple array in RES. */ ++/* Convert struct hostent to a list of struct gaih_addrtuple objects. The new ++ addresses are appended to the tuple array in RES. */ + static bool + convert_hostent_to_gaih_addrtuple (const struct addrinfo *req, int family, + struct hostent *h, struct gaih_result *res) +@@ -238,6 +239,15 @@ convert_hostent_to_gaih_addrtuple (const struct addrinfo *req, int family, + res->at = array; + res->free_at = true; + ++ /* Duplicate h_name because it may get reclaimed when the underlying storage ++ is freed. */ ++ if (res->h_name == NULL) ++ { ++ res->h_name = __strdup (h->h_name); ++ if (res->h_name == NULL) ++ return false; ++ } ++ + /* Update the next pointers on reallocation. */ + for (size_t i = 0; i < old; i++) + array[i].next = array + i + 1; +@@ -262,7 +272,6 @@ convert_hostent_to_gaih_addrtuple (const struct addrinfo *req, int family, + } + array[i].next = array + i + 1; + } +- array[0].name = h->h_name; + array[count - 1].next = NULL; + + return true; +@@ -324,15 +333,15 @@ gethosts (nss_gethostbyname3_r fct, int family, const char *name, + memory allocation failure. The returned string is allocated on the + heap; the caller has to free it. */ + static char * +-getcanonname (nss_action_list nip, struct gaih_addrtuple *at, const char *name) ++getcanonname (nss_action_list nip, const char *hname, const char *name) + { + nss_getcanonname_r *cfct = __nss_lookup_function (nip, "getcanonname_r"); + char *s = (char *) name; + if (cfct != NULL) + { + char buf[256]; +- if (DL_CALL_FCT (cfct, (at->name ?: name, buf, sizeof (buf), +- &s, &errno, &h_errno)) != NSS_STATUS_SUCCESS) ++ if (DL_CALL_FCT (cfct, (hname ?: name, buf, sizeof (buf), &s, &errno, ++ &h_errno)) != NSS_STATUS_SUCCESS) + /* If the canonical name cannot be determined, use the passed + string. */ + s = (char *) name; +@@ -771,7 +780,7 @@ get_nss_addresses (const char *name, const struct addrinfo *req, + if ((req->ai_flags & AI_CANONNAME) != 0 + && res->canon == NULL) + { +- char *canonbuf = getcanonname (nip, res->at, name); ++ char *canonbuf = getcanonname (nip, res->h_name, name); + if (canonbuf == NULL) + { + __resolv_context_put (res_ctx); +-- +2.39.3 + diff --git a/meta/recipes-core/glibc/glibc_2.37.bb b/meta/recipes-core/glibc/glibc_2.37.bb index caf454f368..bce566acd4 100644 --- a/meta/recipes-core/glibc/glibc_2.37.bb +++ b/meta/recipes-core/glibc/glibc_2.37.bb @@ -50,6 +50,7 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0021-fix-create-thread-failed-in-unprivileged-process-BZ-.patch \ file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ file://0023-CVE-2023-4527.patch \ + file://0024-CVE-2023-4806.patch \ " S = "${WORKDIR}/git" B = "${WORKDIR}/build-${TARGET_SYS}" From patchwork Sun Oct 1 15:59:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31472 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B429E748E9 for ; Sun, 1 Oct 2023 16:00:25 +0000 (UTC) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mx.groups.io with SMTP id smtpd.web10.62415.1696176022873514811 for ; Sun, 01 Oct 2023 09:00:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=m1Ei1z/E; spf=softfail (domain: sakoman.com, ip: 209.85.214.169, mailfrom: steve@sakoman.com) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1c328b53aeaso141822425ad.2 for ; Sun, 01 Oct 2023 09:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176022; x=1696780822; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ilpiMoqTES+MmUpcWWE29vRIB2aZfDh/1LxoOUGl4gk=; b=m1Ei1z/EpXvwrgccQdttU3qI0zGNJjfQE6Qylj0ozRQwVKPyn+7uXRg0U0WmGVODUU T191Z9LMdPYDOPusUOvkd0/On5kSTuUk9lTEqH8qXZtlOuQxRKSlKL0bOYS9m6ZUIYoc kQ2m0qHHt6yerlik4/OFt+Mcub81pc9cbs+8Bm81zfzMmQ05wz1pbe2mBKCUBysuzCYq MX/emV5+V2N5KnTmSbQXPZMt1UUjRlJEy520FfdJLYux3rvWg5Qv+ayTMq+IlCKvEGs8 mSfc7aEyxcpAvILr6SEAYmS38wPoC3yhMvPuAuURzEddr1T7sG/OwMV6pBDpkmXMjQRG WdzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176022; x=1696780822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ilpiMoqTES+MmUpcWWE29vRIB2aZfDh/1LxoOUGl4gk=; b=dXEsNuFUIS+8Se7kn9z9fhvSjf4w4eZqp7BSCmXWnF5TRZ0rQUqoxT2EOdngC4t+uO VkHvqj2/cpNXsywuVRsyN5nK/OVQlWP2pah/vJuYFq2tsam7WBDZt7YSEZJugqpVVlVF HKrH+sc+Y48gV5QF0sWc1gbEGHDG/RlsmxYxoLnz4tWd0AL5+1nFQT88HmWEKWlYfF9z EGcCHfUZ1APSHEOlaqCAGczif7/yFT+CrfaqIH0vDPZO9gUPWsKIrBMxFW6xzju+LidX KuWsMfM2sre9fWYNEWpfXhQmqsTGzzk7MqTXvFInZVKlk3c539e9aXcRw/z3If9Hh5gh BG7A== X-Gm-Message-State: AOJu0YzAzFyJD/vqNVzRBW17e95UNBz0a/0jhOqkIH/UySOPjwShYF/W /N8yfWTPK7dYPffQJ7x9RjZBhiMFlnzBV+k7Q3TR2g== X-Google-Smtp-Source: AGHT+IGYn4dfcDfcnZlURYz1O07lycIiMhoD9zXp4E1z8NZiyfKwRhGMZzHJxdXypS0xUo5lF/uEyQ== X-Received: by 2002:a17:903:1c4:b0:1b9:de75:d5bb with SMTP id e4-20020a17090301c400b001b9de75d5bbmr13112410plh.7.1696176021607; Sun, 01 Oct 2023 09:00:21 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:21 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 02/23] libwebp: Fix CVE-2023-5129 Date: Sun, 1 Oct 2023 05:59:49 -1000 Message-Id: <852068debb268669699ad9a8dbe44907a19aa482.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188491 From: Colin McAllister Add patch for Libwebp 1.3.1 to fix CVE-2023-5129. Signed-off-by: Colin McAllister Signed-off-by: Steve Sakoman --- .../webp/files/CVE-2023-5129.patch | 364 ++++++++++++++++++ meta/recipes-multimedia/webp/libwebp_1.3.1.bb | 4 +- 2 files changed, 367 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/webp/files/CVE-2023-5129.patch diff --git a/meta/recipes-multimedia/webp/files/CVE-2023-5129.patch b/meta/recipes-multimedia/webp/files/CVE-2023-5129.patch new file mode 100644 index 0000000000..b246ed42f9 --- /dev/null +++ b/meta/recipes-multimedia/webp/files/CVE-2023-5129.patch @@ -0,0 +1,364 @@ +From 6c928321f47ba69022cd4d814433f365dea63478 Mon Sep 17 00:00:00 2001 +From: Vincent Rabaud +Date: Thu, 7 Sep 2023 21:16:03 +0200 +Subject: [PATCH 1/1] Fix OOB write in BuildHuffmanTable. + +First, BuildHuffmanTable is called to check if the data is valid. +If it is and the table is not big enough, more memory is allocated. + +This will make sure that valid (but unoptimized because of unbalanced +codes) streams are still decodable. + +Bug: chromium:1479274 +Change-Id: I31c36dbf3aa78d35ecf38706b50464fd3d375741 + +CVE: CVE-2023-5129 +Upstream-Status: Backport [https://github.com/webmproject/libwebp/commit/902bc9190331343b2017211debcec8d2ab87e17a] +Signed-off-by: Colin McAllister +--- + src/dec/vp8l_dec.c | 46 ++++++++++--------- + src/dec/vp8li_dec.h | 2 +- + src/utils/huffman_utils.c | 97 +++++++++++++++++++++++++++++++-------- + src/utils/huffman_utils.h | 27 +++++++++-- + 4 files changed, 129 insertions(+), 43 deletions(-) + +diff --git a/src/dec/vp8l_dec.c b/src/dec/vp8l_dec.c +index c0ea0181..7995313f 100644 +--- a/src/dec/vp8l_dec.c ++++ b/src/dec/vp8l_dec.c +@@ -253,11 +253,11 @@ static int ReadHuffmanCodeLengths( + int symbol; + int max_symbol; + int prev_code_len = DEFAULT_CODE_LENGTH; +- HuffmanCode table[1 << LENGTHS_TABLE_BITS]; ++ HuffmanTables tables; + +- if (!VP8LBuildHuffmanTable(table, LENGTHS_TABLE_BITS, +- code_length_code_lengths, +- NUM_CODE_LENGTH_CODES)) { ++ if (!VP8LHuffmanTablesAllocate(1 << LENGTHS_TABLE_BITS, &tables) || ++ !VP8LBuildHuffmanTable(&tables, LENGTHS_TABLE_BITS, ++ code_length_code_lengths, NUM_CODE_LENGTH_CODES)) { + goto End; + } + +@@ -277,7 +277,7 @@ static int ReadHuffmanCodeLengths( + int code_len; + if (max_symbol-- == 0) break; + VP8LFillBitWindow(br); +- p = &table[VP8LPrefetchBits(br) & LENGTHS_TABLE_MASK]; ++ p = &tables.curr_segment->start[VP8LPrefetchBits(br) & LENGTHS_TABLE_MASK]; + VP8LSetBitPos(br, br->bit_pos_ + p->bits); + code_len = p->value; + if (code_len < kCodeLengthLiterals) { +@@ -300,6 +300,7 @@ static int ReadHuffmanCodeLengths( + ok = 1; + + End: ++ VP8LHuffmanTablesDeallocate(&tables); + if (!ok) dec->status_ = VP8_STATUS_BITSTREAM_ERROR; + return ok; + } +@@ -307,7 +308,8 @@ static int ReadHuffmanCodeLengths( + // 'code_lengths' is pre-allocated temporary buffer, used for creating Huffman + // tree. + static int ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, +- int* const code_lengths, HuffmanCode* const table) { ++ int* const code_lengths, ++ HuffmanTables* const table) { + int ok = 0; + int size = 0; + VP8LBitReader* const br = &dec->br_; +@@ -362,8 +364,7 @@ static int ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, + VP8LMetadata* const hdr = &dec->hdr_; + uint32_t* huffman_image = NULL; + HTreeGroup* htree_groups = NULL; +- HuffmanCode* huffman_tables = NULL; +- HuffmanCode* huffman_table = NULL; ++ HuffmanTables* huffman_tables = &hdr->huffman_tables_; + int num_htree_groups = 1; + int num_htree_groups_max = 1; + int max_alphabet_size = 0; +@@ -372,6 +373,10 @@ static int ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, + int* mapping = NULL; + int ok = 0; + ++ // Check the table has been 0 initialized (through InitMetadata). ++ assert(huffman_tables->root.start == NULL); ++ assert(huffman_tables->curr_segment == NULL); ++ + if (allow_recursion && VP8LReadBits(br, 1)) { + // use meta Huffman codes. + const int huffman_precision = VP8LReadBits(br, 3) + 2; +@@ -434,16 +439,15 @@ static int ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, + + code_lengths = (int*)WebPSafeCalloc((uint64_t)max_alphabet_size, + sizeof(*code_lengths)); +- huffman_tables = (HuffmanCode*)WebPSafeMalloc(num_htree_groups * table_size, +- sizeof(*huffman_tables)); + htree_groups = VP8LHtreeGroupsNew(num_htree_groups); + +- if (htree_groups == NULL || code_lengths == NULL || huffman_tables == NULL) { ++ if (htree_groups == NULL || code_lengths == NULL || ++ !VP8LHuffmanTablesAllocate(num_htree_groups * table_size, ++ huffman_tables)) { + dec->status_ = VP8_STATUS_OUT_OF_MEMORY; + goto Error; + } + +- huffman_table = huffman_tables; + for (i = 0; i < num_htree_groups_max; ++i) { + // If the index "i" is unused in the Huffman image, just make sure the + // coefficients are valid but do not store them. +@@ -468,19 +472,20 @@ static int ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, + int max_bits = 0; + for (j = 0; j < HUFFMAN_CODES_PER_META_CODE; ++j) { + int alphabet_size = kAlphabetSize[j]; +- htrees[j] = huffman_table; + if (j == 0 && color_cache_bits > 0) { + alphabet_size += (1 << color_cache_bits); + } +- size = ReadHuffmanCode(alphabet_size, dec, code_lengths, huffman_table); ++ size = ++ ReadHuffmanCode(alphabet_size, dec, code_lengths, huffman_tables); ++ htrees[j] = huffman_tables->curr_segment->curr_table; + if (size == 0) { + goto Error; + } + if (is_trivial_literal && kLiteralMap[j] == 1) { +- is_trivial_literal = (huffman_table->bits == 0); ++ is_trivial_literal = (htrees[j]->bits == 0); + } +- total_size += huffman_table->bits; +- huffman_table += size; ++ total_size += htrees[j]->bits; ++ huffman_tables->curr_segment->curr_table += size; + if (j <= ALPHA) { + int local_max_bits = code_lengths[0]; + int k; +@@ -515,14 +520,13 @@ static int ReadHuffmanCodes(VP8LDecoder* const dec, int xsize, int ysize, + hdr->huffman_image_ = huffman_image; + hdr->num_htree_groups_ = num_htree_groups; + hdr->htree_groups_ = htree_groups; +- hdr->huffman_tables_ = huffman_tables; + + Error: + WebPSafeFree(code_lengths); + WebPSafeFree(mapping); + if (!ok) { + WebPSafeFree(huffman_image); +- WebPSafeFree(huffman_tables); ++ VP8LHuffmanTablesDeallocate(huffman_tables); + VP8LHtreeGroupsFree(htree_groups); + } + return ok; +@@ -1358,7 +1362,7 @@ static void ClearMetadata(VP8LMetadata* const hdr) { + assert(hdr != NULL); + + WebPSafeFree(hdr->huffman_image_); +- WebPSafeFree(hdr->huffman_tables_); ++ VP8LHuffmanTablesDeallocate(&hdr->huffman_tables_); + VP8LHtreeGroupsFree(hdr->htree_groups_); + VP8LColorCacheClear(&hdr->color_cache_); + VP8LColorCacheClear(&hdr->saved_color_cache_); +@@ -1673,7 +1677,7 @@ int VP8LDecodeImage(VP8LDecoder* const dec) { + + if (dec == NULL) return 0; + +- assert(dec->hdr_.huffman_tables_ != NULL); ++ assert(dec->hdr_.huffman_tables_.root.start != NULL); + assert(dec->hdr_.htree_groups_ != NULL); + assert(dec->hdr_.num_htree_groups_ > 0); + +diff --git a/src/dec/vp8li_dec.h b/src/dec/vp8li_dec.h +index 72b2e861..32540a4b 100644 +--- a/src/dec/vp8li_dec.h ++++ b/src/dec/vp8li_dec.h +@@ -51,7 +51,7 @@ typedef struct { + uint32_t* huffman_image_; + int num_htree_groups_; + HTreeGroup* htree_groups_; +- HuffmanCode* huffman_tables_; ++ HuffmanTables huffman_tables_; + } VP8LMetadata; + + typedef struct VP8LDecoder VP8LDecoder; +diff --git a/src/utils/huffman_utils.c b/src/utils/huffman_utils.c +index 90c2fbf7..cf73abd4 100644 +--- a/src/utils/huffman_utils.c ++++ b/src/utils/huffman_utils.c +@@ -177,21 +177,24 @@ static int BuildHuffmanTable(HuffmanCode* const root_table, int root_bits, + if (num_open < 0) { + return 0; + } +- if (root_table == NULL) continue; + for (; count[len] > 0; --count[len]) { + HuffmanCode code; + if ((key & mask) != low) { +- table += table_size; ++ if (root_table != NULL) table += table_size; + table_bits = NextTableBitSize(count, len, root_bits); + table_size = 1 << table_bits; + total_size += table_size; + low = key & mask; +- root_table[low].bits = (uint8_t)(table_bits + root_bits); +- root_table[low].value = (uint16_t)((table - root_table) - low); ++ if (root_table != NULL) { ++ root_table[low].bits = (uint8_t)(table_bits + root_bits); ++ root_table[low].value = (uint16_t)((table - root_table) - low); ++ } ++ } ++ if (root_table != NULL) { ++ code.bits = (uint8_t)(len - root_bits); ++ code.value = (uint16_t)sorted[symbol++]; ++ ReplicateValue(&table[key >> root_bits], step, table_size, code); + } +- code.bits = (uint8_t)(len - root_bits); +- code.value = (uint16_t)sorted[symbol++]; +- ReplicateValue(&table[key >> root_bits], step, table_size, code); + key = GetNextKey(key, len); + } + } +@@ -211,25 +214,83 @@ static int BuildHuffmanTable(HuffmanCode* const root_table, int root_bits, + ((1 << MAX_CACHE_BITS) + NUM_LITERAL_CODES + NUM_LENGTH_CODES) + // Cut-off value for switching between heap and stack allocation. + #define SORTED_SIZE_CUTOFF 512 +-int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits, ++int VP8LBuildHuffmanTable(HuffmanTables* const root_table, int root_bits, + const int code_lengths[], int code_lengths_size) { +- int total_size; ++ const int total_size = ++ BuildHuffmanTable(NULL, root_bits, code_lengths, code_lengths_size, NULL); + assert(code_lengths_size <= MAX_CODE_LENGTHS_SIZE); +- if (root_table == NULL) { +- total_size = BuildHuffmanTable(NULL, root_bits, +- code_lengths, code_lengths_size, NULL); +- } else if (code_lengths_size <= SORTED_SIZE_CUTOFF) { ++ if (total_size == 0 || root_table == NULL) return total_size; ++ ++ if (root_table->curr_segment->curr_table + total_size >= ++ root_table->curr_segment->start + root_table->curr_segment->size) { ++ // If 'root_table' does not have enough memory, allocate a new segment. ++ // The available part of root_table->curr_segment is left unused because we ++ // need a contiguous buffer. ++ const int segment_size = root_table->curr_segment->size; ++ struct HuffmanTablesSegment* next = ++ (HuffmanTablesSegment*)WebPSafeMalloc(1, sizeof(*next)); ++ if (next == NULL) return 0; ++ // Fill the new segment. ++ // We need at least 'total_size' but if that value is small, it is better to ++ // allocate a big chunk to prevent more allocations later. 'segment_size' is ++ // therefore chosen (any other arbitrary value could be chosen). ++ next->size = total_size > segment_size ? total_size : segment_size; ++ next->start = ++ (HuffmanCode*)WebPSafeMalloc(next->size, sizeof(*next->start)); ++ if (next->start == NULL) { ++ WebPSafeFree(next); ++ return 0; ++ } ++ next->curr_table = next->start; ++ next->next = NULL; ++ // Point to the new segment. ++ root_table->curr_segment->next = next; ++ root_table->curr_segment = next; ++ } ++ if (code_lengths_size <= SORTED_SIZE_CUTOFF) { + // use local stack-allocated array. + uint16_t sorted[SORTED_SIZE_CUTOFF]; +- total_size = BuildHuffmanTable(root_table, root_bits, +- code_lengths, code_lengths_size, sorted); +- } else { // rare case. Use heap allocation. ++ BuildHuffmanTable(root_table->curr_segment->curr_table, root_bits, ++ code_lengths, code_lengths_size, sorted); ++ } else { // rare case. Use heap allocation. + uint16_t* const sorted = + (uint16_t*)WebPSafeMalloc(code_lengths_size, sizeof(*sorted)); + if (sorted == NULL) return 0; +- total_size = BuildHuffmanTable(root_table, root_bits, +- code_lengths, code_lengths_size, sorted); ++ BuildHuffmanTable(root_table->curr_segment->curr_table, root_bits, ++ code_lengths, code_lengths_size, sorted); + WebPSafeFree(sorted); + } + return total_size; + } ++ ++int VP8LHuffmanTablesAllocate(int size, HuffmanTables* huffman_tables) { ++ // Have 'segment' point to the first segment for now, 'root'. ++ HuffmanTablesSegment* const root = &huffman_tables->root; ++ huffman_tables->curr_segment = root; ++ // Allocate root. ++ root->start = (HuffmanCode*)WebPSafeMalloc(size, sizeof(*root->start)); ++ if (root->start == NULL) return 0; ++ root->curr_table = root->start; ++ root->next = NULL; ++ root->size = size; ++ return 1; ++} ++ ++void VP8LHuffmanTablesDeallocate(HuffmanTables* const huffman_tables) { ++ HuffmanTablesSegment *current, *next; ++ if (huffman_tables == NULL) return; ++ // Free the root node. ++ current = &huffman_tables->root; ++ next = current->next; ++ WebPSafeFree(current->start); ++ current->start = NULL; ++ current->next = NULL; ++ current = next; ++ // Free the following nodes. ++ while (current != NULL) { ++ next = current->next; ++ WebPSafeFree(current->start); ++ WebPSafeFree(current); ++ current = next; ++ } ++} +diff --git a/src/utils/huffman_utils.h b/src/utils/huffman_utils.h +index 13b7ad1a..98415c53 100644 +--- a/src/utils/huffman_utils.h ++++ b/src/utils/huffman_utils.h +@@ -43,6 +43,29 @@ typedef struct { + // or non-literal symbol otherwise + } HuffmanCode32; + ++// Contiguous memory segment of HuffmanCodes. ++typedef struct HuffmanTablesSegment { ++ HuffmanCode* start; ++ // Pointer to where we are writing into the segment. Starts at 'start' and ++ // cannot go beyond 'start' + 'size'. ++ HuffmanCode* curr_table; ++ // Pointer to the next segment in the chain. ++ struct HuffmanTablesSegment* next; ++ int size; ++} HuffmanTablesSegment; ++ ++// Chained memory segments of HuffmanCodes. ++typedef struct HuffmanTables { ++ HuffmanTablesSegment root; ++ // Currently processed segment. At first, this is 'root'. ++ HuffmanTablesSegment* curr_segment; ++} HuffmanTables; ++ ++// Allocates a HuffmanTables with 'size' contiguous HuffmanCodes. Returns 0 on ++// memory allocation error, 1 otherwise. ++int VP8LHuffmanTablesAllocate(int size, HuffmanTables* huffman_tables); ++void VP8LHuffmanTablesDeallocate(HuffmanTables* const huffman_tables); ++ + #define HUFFMAN_PACKED_BITS 6 + #define HUFFMAN_PACKED_TABLE_SIZE (1u << HUFFMAN_PACKED_BITS) + +@@ -78,9 +101,7 @@ void VP8LHtreeGroupsFree(HTreeGroup* const htree_groups); + // the huffman table. + // Returns built table size or 0 in case of error (invalid tree or + // memory error). +-// If root_table is NULL, it returns 0 if a lookup cannot be built, something +-// > 0 otherwise (but not the table size). +-int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits, ++int VP8LBuildHuffmanTable(HuffmanTables* const root_table, int root_bits, + const int code_lengths[], int code_lengths_size); + + #ifdef __cplusplus +-- +2.34.1 + diff --git a/meta/recipes-multimedia/webp/libwebp_1.3.1.bb b/meta/recipes-multimedia/webp/libwebp_1.3.1.bb index 0a345498c1..4d2b655644 100644 --- a/meta/recipes-multimedia/webp/libwebp_1.3.1.bb +++ b/meta/recipes-multimedia/webp/libwebp_1.3.1.bb @@ -13,7 +13,9 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=6e8dee932c26f2dab503abf70c96d8bb \ file://PATENTS;md5=c6926d0cb07d296f886ab6e0cc5a85b7" -SRC_URI = "http://downloads.webmproject.org/releases/webp/${BP}.tar.gz" +SRC_URI = "http://downloads.webmproject.org/releases/webp/${BP}.tar.gz \ + file://CVE-2023-5129.patch \ + " SRC_URI[sha256sum] = "b3779627c2dfd31e3d8c4485962c2efe17785ef975e2be5c8c0c9e6cd3c4ef66" UPSTREAM_CHECK_URI = "http://downloads.webmproject.org/releases/webp/index.html" From patchwork Sun Oct 1 15:59:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31475 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D479E748F6 for ; Sun, 1 Oct 2023 16:00:25 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web10.62417.1696176024690835717 for ; Sun, 01 Oct 2023 09:00:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=1J5mdrc3; spf=softfail (domain: sakoman.com, ip: 209.85.214.180, mailfrom: steve@sakoman.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1c724577e1fso55922685ad.0 for ; Sun, 01 Oct 2023 09:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176024; x=1696780824; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=z4grpk/IikyrN3dXNuC1VJgUDQJxTFa+s/XmHKAOBNc=; b=1J5mdrc3EW4O+YTSzC69NG0o5VwCH5FU/iyviQunfUxGAtha5x56o/CndmpEDzJZqP 1RIwWTNQD/b/LFj9MTmSHcQ2YXIWV7+QTwqG/8uM3ZMfGPdnQ8oPgPDGo4dsLsZfI6fI J1tqSJ51lfOTptJHNtQYwL8/tsJG9dt/unG83IuuzRXQIxtZbvfY1c8vOU9FVxfIn0pj cNh9WeFtNmA48eroLrJSQUxtvBZXxPCMhuYatT5EzZTZkvcoOvyhoQC6uk8sqNsiAxn3 IRuPHpgayFtQ4As2EOT55m+aKhhhZhn4eHYUL7MbOWu0L0fMow+WDg3YvOWa4sTl2AwJ XREA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176024; x=1696780824; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z4grpk/IikyrN3dXNuC1VJgUDQJxTFa+s/XmHKAOBNc=; b=BV3lyWKdbQWGk4atS7txPSpMWjftAsM25OtTcBfzHDdAfu7AenZ0gBtu0gTBCdRcrQ jazvbkGAVvW3vvLxd9pAqqIpYqJi+QoDWQM9AYgZhCjmpwCCXkj/8xdN2tAtFNSzqoWC 899kdzr7i776BVQqBHRGDPsFMr9GGSC8ZtjwAoglXzp9NeN7Ee+fta1rZpeqh6T1zHMI yu94Rolba8nI+xoqT+0niE/qTbHqmP890NgHm97NY0L8IQJrIWrITcO7SsBv5Ez5aclQ b7SdbtQDbmXiRgOXHrI78mvBrE7dC2yKJ83Qlf+V/2vJs8kauq+l+m8Tdn+1FlgZZIRW f/Xg== X-Gm-Message-State: AOJu0YwFZNrT/ekX7g/TJwNT0jDM3jmNI7eyFSIBcnbuVFydeKrnzqsO w49+zjNZz+Ih6E7wUa0FrXhD78ASp4ntHum8D/KXzw== X-Google-Smtp-Source: AGHT+IFQpLtMSZB2bvgJbpr6ugdk37U/Rc1+xxneEDkhZJyFMti16ZT6FM1YmA87ZHAy1Udr8sdPHg== X-Received: by 2002:a17:903:26ce:b0:1c6:1928:59b9 with SMTP id jg14-20020a17090326ce00b001c6192859b9mr10014811plb.10.1696176023368; Sun, 01 Oct 2023 09:00:23 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:23 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 03/23] file: fix call to localtime_r() Date: Sun, 1 Oct 2023 05:59:50 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188492 From: Joe Slater Depending on the version of glibc, localtime_r() must be preceded by a call to tzset() or it will ignore any value of TZ in the environment. This problem will only be seen when building file-native on outdated hosts. Signed-off-by: Joe Slater Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit 791145f3064d7807630d3591b9e7c7b2dc37152c) Signed-off-by: Steve Sakoman --- meta/recipes-devtools/file/file_5.45.bb | 4 ++- .../recipes-devtools/file/files/print_c.patch | 27 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/file/files/print_c.patch diff --git a/meta/recipes-devtools/file/file_5.45.bb b/meta/recipes-devtools/file/file_5.45.bb index a7127023cb..8477668658 100644 --- a/meta/recipes-devtools/file/file_5.45.bb +++ b/meta/recipes-devtools/file/file_5.45.bb @@ -11,7 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=0251eaec1188b20d9a72c502ecfdd DEPENDS = "file-replacement-native" DEPENDS:class-native = "bzip2-replacement-native" -SRC_URI = "git://github.com/file/file.git;branch=master;protocol=https" +SRC_URI = "git://github.com/file/file.git;branch=master;protocol=https \ + file://print_c.patch \ + " SRCREV = "4cbd5c8f0851201d203755b76cb66ba991ffd8be" S = "${WORKDIR}/git" diff --git a/meta/recipes-devtools/file/files/print_c.patch b/meta/recipes-devtools/file/files/print_c.patch new file mode 100644 index 0000000000..760813f9c2 --- /dev/null +++ b/meta/recipes-devtools/file/files/print_c.patch @@ -0,0 +1,27 @@ +From e329257b8e22362b62e6c930447ef6feadd63f32 Mon Sep 17 00:00:00 2001 +From: Joe Slater +Date: Mon, 7 Aug 2023 22:37:19 +0000 +Subject: [PATCH] print.c: initialize timezone data for localtime_r() + +The man page for localtime() points out that while it acts +like tzset() has been called, localtime_r() might not. We +have a local version of localtime_r() that avoids this, but +we do not compile it. + +Upstream-Status: Submitted [file@astron.com] + +Signed-off-by: Joe Slater +--- + src/print.c | 1 + + 1 file changed, 1 insertion(+) + +--- git.orig/src/print.c ++++ git/src/print.c +@@ -289,6 +289,7 @@ file_fmtdatetime(char *buf, size_t bsize + goto out; + + if (flags & FILE_T_LOCAL) { ++ tzset(); + tm = localtime_r(&t, &tmz); + } else { + tm = gmtime_r(&t, &tmz); From patchwork Sun Oct 1 15:59:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31479 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49779E748EE for ; Sun, 1 Oct 2023 16:00:35 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.web10.62419.1696176027657526559 for ; Sun, 01 Oct 2023 09:00:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=xoausM9k; spf=softfail (domain: sakoman.com, ip: 209.85.210.175, mailfrom: steve@sakoman.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-691c05bc5aaso13948118b3a.2 for ; Sun, 01 Oct 2023 09:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176027; x=1696780827; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=2p76MlXjIFvZ5BEXRqG+8Avpr0uq07dZcukZeezj2tU=; b=xoausM9kXwhHTtj2XBXpDYKi4pxp3+jcs9CP+0R9/j9+3DGEV/+JVnWzYl8RkFEQ14 udDKUrG8Dpe7jEFF80QK7ebS6mauCLKzdsZAE2gbwAaHQ8gIxt2Pb9DfDxNzoPtf7WEw buwxsJmBkv32LDYseYtEhWNvQ2zIqZ2BWtmflzboYOOaVeGkUWONWGjvjQAafXABGIw2 mytpI0cNWVJxc7CQ6fIo3l989kNePoBReCBy1ruBgL5myfNCCYZMasXoKOBfYnqKgiYn WsDz0wQIi96ptNItFg3bfRJ2GjJxeKc7pNSlVf2Ojnvrl+yxLTjcQ8d6IForS5SVqf/D S2MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176027; x=1696780827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2p76MlXjIFvZ5BEXRqG+8Avpr0uq07dZcukZeezj2tU=; b=EJEP/gPlTk8uWNVwWxk18GdHhsD/1BTTujTYk+AiFY1LrUDX9kgdyIFzTlerLDob08 VPDqR71JNRdYA2B779y7meWJ3GskbcXz+u9zgix9EbGiYmrkOvh61W3AZSDj63coI8OV 8VArd+FOr0D9h5kgTP+BUorsCGIUkEKNm+xfyDYbQyo27U1/YumuHPACZevIwfljCeNV s8poio9Svu2z7GyBfys4/B65j9o92OultZIi4MlVGEyhH4wYvNmitDUpKCpOgq1woyTZ C+Utt0tZaQltJg5u5J0fvQKCtN7BY8pF1gN+mC+V+aVo5UFaOfpH6ODSEdOvqZfLCNK8 RDsA== X-Gm-Message-State: AOJu0Yw28HN58+poo0DDZOhZTHA18fJIpDw6GBdOnwLXXXUDSg0rKO0m 5Zc869cX0HiRJTrojsFjSsOQBiYOKnvauzOWidNGeA== X-Google-Smtp-Source: AGHT+IEql4vJG7neAHuuOsbrbbb16ITMq2h5VkQ/H6phdV/mmo9rCn3/kOQhftwbkBkAM2HIJ4og2w== X-Received: by 2002:a05:6a20:32aa:b0:14c:def1:e728 with SMTP id g42-20020a056a2032aa00b0014cdef1e728mr7363155pzd.60.1696176025121; Sun, 01 Oct 2023 09:00:25 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:24 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 04/23] linux-yocto/5.15: update to v5.15.125 Date: Sun, 1 Oct 2023 05:59:51 -1000 Message-Id: <50889a1a67a33d1d42f4095d323e4c73ca22c2c8.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188493 From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: c275eaaaa342 Linux 5.15.125 754e0c7c4a30 x86: fix backwards merge of GDS/SRSO bit b14a3924c267 xen/netback: Fix buffer overrun triggered by unusual packet 153f9a7b02d4 x86/srso: Tie SBPB bit setting to microcode patch detection df4c3823cba5 x86/srso: Fix return thunks in generated code 0071b17eb66b x86/srso: Add IBPB on VMEXIT 5398faac76a6 x86/srso: Add IBPB c24aaa7dde5f x86/srso: Add SRSO_NO support 4e9115e194a8 x86/srso: Add IBPB_BRTYPE support b35087763a44 x86/srso: Add a Speculative RAS Overflow mitigation c3b4c644525e x86/cpu, kvm: Add support for CPUID_80000021_EAX 236dd7133394 x86/bugs: Increase the x86 bugs vector size to two u32s 0242a8bdef56 Documentation/x86: Fix backwards on/off logic about YMM support 27a72e350869 x86/mm: Initialize text poking earlier d0317b9502ea mm: Move mm_cachep initialization to mm_init() 8e4c2530879d x86/mm: Use mm_alloc() in poking_init() 13ec5cb4c113 x86/mm: fix poking_init() for Xen PV guests 3e90080d5665 x86/xen: Fix secondary processors' FPU initialization 348741a9e4d3 KVM: Add GDS_NO support to KVM 59d78655f808 x86/speculation: Add Kconfig option for GDS 0cc5643b63ae x86/speculation: Add force option to GDS mitigation 348a89e20184 x86/speculation: Add Gather Data Sampling mitigation a094d3b30967 x86/fpu: Move FPU initialization into arch_cpu_finalize_init() 59f2739111ca x86/fpu: Mark init functions __init bb9c20d903f6 x86/fpu: Remove cpuinfo argument from init functions de8b7ce4c533 x86/init: Initialize signal frame size late 041d929233bb init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init() 8ae795ed6115 init: Invoke arch_cpu_finalize_init() earlier 7e270cebaffd init: Remove check_bugs() leftovers 285384ac24c3 um/cpu: Switch to arch_cpu_finalize_init() 6ea421786426 sparc/cpu: Switch to arch_cpu_finalize_init() 21a1fc8d13d8 sh/cpu: Switch to arch_cpu_finalize_init() dfeb371a2707 mips/cpu: Switch to arch_cpu_finalize_init() 4baf46a3ba00 m68k/cpu: Switch to arch_cpu_finalize_init() 8c8165cd25cf ia64/cpu: Switch to arch_cpu_finalize_init() de8c592cc5a1 ARM: cpu: Switch to arch_cpu_finalize_init() 75da6209d3ba x86/cpu: Switch to arch_cpu_finalize_init() 0774fc2177c3 init: Provide arch_cpu_finalize_init() Signed-off-by: Bruce Ashfield Signed-off-by: Steve Sakoman --- .../linux/linux-yocto-rt_5.15.bb | 6 ++--- .../linux/linux-yocto-tiny_5.15.bb | 6 ++--- meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb index be5dd5efec..f09dbe0b5f 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb @@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "0ac91942af8fec31671ffe62e9518aaf15f110b3" -SRCREV_meta ?= "f484a7f175b4f3c4f7d2b553cde232bd41f757d8" +SRCREV_machine ?= "897961fcc3a4126a9d86096b4c3f0de174eb51e7" +SRCREV_meta ?= "9d45e4358eec5d4585e6e26d7f2f6f03ad909ea7" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" -LINUX_VERSION ?= "5.15.124" +LINUX_VERSION ?= "5.15.125" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb index b8f3d71a72..2f0e232fe6 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb @@ -5,7 +5,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.15.124" +LINUX_VERSION ?= "5.15.125" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" @@ -14,8 +14,8 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "cdb289c798fe1fc9f259a08c32e2dd9516ccb7a4" -SRCREV_meta ?= "f484a7f175b4f3c4f7d2b553cde232bd41f757d8" +SRCREV_machine ?= "673a7d93e8c401525183fd793cd1fbc5d688761f" +SRCREV_meta ?= "9d45e4358eec5d4585e6e26d7f2f6f03ad909ea7" PV = "${LINUX_VERSION}+git${SRCPV}" diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb b/meta/recipes-kernel/linux/linux-yocto_5.15.bb index a15284fb4b..f3c6733656 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.15.bb @@ -13,24 +13,24 @@ KBRANCH:qemux86 ?= "v5.15/standard/base" KBRANCH:qemux86-64 ?= "v5.15/standard/base" KBRANCH:qemumips64 ?= "v5.15/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "676a22c65ec0f8bb5dc7e13d130f6e3764959d75" -SRCREV_machine:qemuarm64 ?= "f0e7afd5948f71be062cd9194b56cd03de94b7cb" -SRCREV_machine:qemumips ?= "0f1ceb9008f182cd7f21420bbec6f21a67da8397" -SRCREV_machine:qemuppc ?= "4ec9fc13283ce01627ef8c32617a1eb71e127c62" -SRCREV_machine:qemuriscv64 ?= "1c09be01f4b87f60ea64136459167d73502a118f" -SRCREV_machine:qemuriscv32 ?= "1c09be01f4b87f60ea64136459167d73502a118f" -SRCREV_machine:qemux86 ?= "1c09be01f4b87f60ea64136459167d73502a118f" -SRCREV_machine:qemux86-64 ?= "1c09be01f4b87f60ea64136459167d73502a118f" -SRCREV_machine:qemumips64 ?= "fad09cc6acf2175aa6b5979ef48cd5f05afc3da0" -SRCREV_machine ?= "1c09be01f4b87f60ea64136459167d73502a118f" -SRCREV_meta ?= "f484a7f175b4f3c4f7d2b553cde232bd41f757d8" +SRCREV_machine:qemuarm ?= "f1655130f428a06fd10df1401cf4a97c2c9e98fe" +SRCREV_machine:qemuarm64 ?= "3562a213e44daf360d873c1c1773d64c7b1bdb90" +SRCREV_machine:qemumips ?= "bff8d6b2771b531f996b41ab89d742b21d6d1a5f" +SRCREV_machine:qemuppc ?= "9ccbf6add86b58f8446ba2b439ccdaaa1646c20b" +SRCREV_machine:qemuriscv64 ?= "50ad222fc4256538597cc943ddb328692041424d" +SRCREV_machine:qemuriscv32 ?= "50ad222fc4256538597cc943ddb328692041424d" +SRCREV_machine:qemux86 ?= "50ad222fc4256538597cc943ddb328692041424d" +SRCREV_machine:qemux86-64 ?= "50ad222fc4256538597cc943ddb328692041424d" +SRCREV_machine:qemumips64 ?= "05401de4dd847384e7592e2d729e2d8ff4a1e1bd" +SRCREV_machine ?= "50ad222fc4256538597cc943ddb328692041424d" +SRCREV_meta ?= "9d45e4358eec5d4585e6e26d7f2f6f03ad909ea7" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll # get the /base branch, which is pure upstream -stable, and the same # meta SRCREV as the linux-yocto-standard builds. Select your version using the # normal PREFERRED_VERSION settings. BBCLASSEXTEND = "devupstream:target" -SRCREV_machine:class-devupstream ?= "38d4ca22a5288c4bae7e6d62a1728b0718d51866" +SRCREV_machine:class-devupstream ?= "c275eaaaa34260e6c907bc5e7ee07c096bc45064" PN:class-devupstream = "linux-yocto-upstream" KBRANCH:class-devupstream = "v5.15/base" @@ -38,7 +38,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.15;destsuffix=${KMETA};protocol=https" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" -LINUX_VERSION ?= "5.15.124" +LINUX_VERSION ?= "5.15.125" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native" From patchwork Sun Oct 1 15:59:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31477 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F82EE748E9 for ; Sun, 1 Oct 2023 16:00:35 +0000 (UTC) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mx.groups.io with SMTP id smtpd.web11.62140.1696176027819672918 for ; Sun, 01 Oct 2023 09:00:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=orGVyCek; spf=softfail (domain: sakoman.com, ip: 209.85.214.175, mailfrom: steve@sakoman.com) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1c328b53aeaso141822825ad.2 for ; Sun, 01 Oct 2023 09:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176027; x=1696780827; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=g0QVTjoSkOvW92yEKaUOxcUS3bCnkODWtNcna1Q0Mf4=; b=orGVyCek7QJPvE9wHDUbTS9IAMfO3B69jaKUZSs0urPuj4GriQztToyNWSPxvkXyxk rketh0OYNVUO1xzpt9r4hD/A4jV1XL/rjtI8o+uJjmdMlTluUn18hGc9k9Q2OLi4TkZ6 V/LtvGyPGfBQD1s+e74qHctXCOEEBglISvf7OHHSJCXkGm8xh0zdJQZZyn54vNSVhsXe b9pdHNc13fkdPb1Q1s9mqYD8jpuzakJsfohMvJ2xPdddfwvZz16sjmTYeh2h/6w1M0WV pDThe2iwnCWId/KSlNyaobKhrzN90URLxBPQMIltsyKWhQAu6cOCkfFf2C6bx/W2DfZx 6rZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176027; x=1696780827; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g0QVTjoSkOvW92yEKaUOxcUS3bCnkODWtNcna1Q0Mf4=; b=pDbIhm+Nm0SyUQXz/pJWDX9WDAPH1su/Ab7LPch7LVwvxagZ044ocl70iQV1oFPOqG /aFPRjETGRYNShTQHP+tz6fOtGi/kH01OyC2uc8xdmTlbY7SUkVoh7ly5MQO8Dd5eOK5 lphxC6ZK6uD53Wp4yWg8LOo/2Kb9WsWN1L+K0dvj8Fq2uGf4ZHgbzZE7xQkuNnSysm2L CDSLYkzQApdqUra/15MtTpIqoBlAFGU0TwMZWXnJ4ncYTk4zQtX+B/appSdmpGFaHyGr 5hPlcbPLxTGb4ddR6C+GyPXPpn32DuyLnyYZokb8rtSoczYuCz3HKQ1SP5gZz/HiPlVP /asg== X-Gm-Message-State: AOJu0Yy1ZTNuuTQnh9xz/5f2dQVR43os71IGM9ItQSAqnH04MYh6wCJU Xwgc4GcZqfInHi+g/6TgYHMqpMLNxAbG6RlPvWdGcQ== X-Google-Smtp-Source: AGHT+IHeGp2SCy9hw7QzCozyefyomf3LtZCMJHLGQ5aUbDsSqh9nCqzqR80AxwCmYftPh0TX77AU0A== X-Received: by 2002:a17:902:ea0f:b0:1bf:13fa:e75 with SMTP id s15-20020a170902ea0f00b001bf13fa0e75mr11564083plg.51.1696176026838; Sun, 01 Oct 2023 09:00:26 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:26 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 05/23] linux-yocto/5.15: update to v5.15.126 Date: Sun, 1 Oct 2023 05:59:52 -1000 Message-Id: <0cb9289e67ad5da4c9612daf74aa8ff51c3c9c75.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188494 From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 24c4de4069cb Linux 5.15.126 aeb4db8ab7f1 PM: sleep: wakeirq: fix wake irq arming b5d3a4251bd2 PM / wakeirq: support enabling wake-up irq after runtime_suspend called a36b522767f3 soundwire: fix enumeration completion 7996facaf0ee soundwire: bus: pm_runtime_request_resume on peripheral attachment c91c07ae0849 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+ 1cdb50faf7f7 selftests/rseq: check if libc rseq support is registered 0f1f471b91f4 drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning 5058c1444040 powerpc/mm/altmap: Fix altmap boundary check eb7a5e4d14c8 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op() 70643e98cbc3 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts 1796b492f8cc mtd: rawnand: rockchip: fix oobfree offset and description f6807b62fb0e mtd: rawnand: omap_elm: Fix incorrect type in assignment 596be6716bc5 ext2: Drop fragment support 0ccfe21949bc fs: Protect reconfiguration of sb read-write from racing writes 27d0f755d649 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb fbe5a2fed815 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb afd9a31b5aa4 fs/sysv: Null check to prevent null-ptr-deref bug 80ec112c1996 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list() 0d6f639f1dcd file: reinstate f_pos locking optimization for regular files b44d28b98f18 bpf, cpumap: Make sure kthread is running before map update returns 8089eb93d678 drm/ttm: check null pointer before accessing when swapping ef0d07c66843 open: make RESOLVE_CACHED correctly test for O_TMPFILE c81bdf8f9f2b bpf: Disable preemption in bpf_event_output ae07cfe2b099 rbd: prevent busy loop when requesting exclusive lock 7978bcca4c1f wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC) 32ca6a55e10e net: tap_open(): set sk_uid from current_fsuid() 4ed3eed99ee6 net: tun_chr_open(): set sk_uid from current_fsuid() adacc3a954fa arm64: dts: stratix10: fix incorrect I2C property for SCL signal b92c88009da1 mtd: rawnand: meson: fix OOB available bytes for ECC b0875c583e41 mtd: spinand: toshiba: Fix ecc_get_status 1c33ca1e1974 exfat: release s_lock before calling dir_emit() 8a34a242cf03 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree a74878207b02 x86/CPU/AMD: Do not leak quotient data after a division by 0 b8f029fc4075 firmware: arm_scmi: Drop OF node reference in the transport channel setup 287c2c8677ed ceph: defer stopping mdsc delayed_work 98b521d10e73 USB: zaurus: Add ID for A-300/B-500/C-700 cd6872f2cf56 libceph: fix potential hang in ceph_osdc_notify() e5f5b4a89809 scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices 212a9a3c67be scsi: zfcp: Defer fc_rport blocking until after ADISC response dac382725394 tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen 4517782e1bc3 tcp_metrics: annotate data-races around tm->tcpm_net e842a68667d4 tcp_metrics: annotate data-races around tm->tcpm_vals[] d3184bea4ace tcp_metrics: annotate data-races around tm->tcpm_lock 9a7367cbe33d tcp_metrics: annotate data-races around tm->tcpm_stamp 6f6bd67f4894 tcp_metrics: fix addr_same() helper b0acbcf1e7a1 prestera: fix fallback to previous version on same major version d6d9d0f5a5e0 net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio c999fb1039dd net/mlx5: fs_core: Make find_closest_ft more generic 32ef2c0c6cf1 vxlan: Fix nexthop hash size 1bb54a21f4d9 ip6mr: Fix skb_under_panic in ip6mr_cache_report() 64e3affee288 s390/qeth: Don't call dev_close/dev_open (DOWN/UP) a0da2684db18 net: dcb: choose correct policy to parse DCB_ATTR_BCN 193333229aac net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode 766c9dd00c5f net: korina: handle clk prepare error in korina_probe() 6cecfdf65053 net: ll_temac: fix error checking of irq_of_parse_and_map() 3761ff4f8670 net: ll_temac: Switch to use dev_err_probe() helper 5c534640a7da bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire 79c3d81c9ad1 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free 9edf7955025a net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free 262430dfc618 net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free b58d34068fd9 bpf, cpumap: Handle skb as well when clean up ptr_ring f04f6d9b3b06 net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX. 2c55d4941518 net: add missing data-race annotation for sk_ll_usec e934c50c48e2 net: add missing data-race annotations around sk->sk_peek_off fdd8d8d54d6a net: add missing READ_ONCE(sk->sk_rcvbuf) annotation 98f0d1db3a27 net: add missing READ_ONCE(sk->sk_sndbuf) annotation 0d1047b77b23 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation 6c058a1f67f0 net: annotate data-races around sk->sk_max_pacing_rate 2950c5ac65b3 qed: Fix scheduling in a tasklet while getting stats a19952dbb5b6 qed: Fix kernel-doc warnings 6d8c259f4827 mISDN: hfcpci: Fix potential deadlock on &hc->lock 8dedcc6af341 net: sched: cls_u32: Fix match key mis-addressing 675d29de69c7 perf test uprobe_from_different_cu: Skip if there is no gcc 0f6e3d8d7f91 net: dsa: fix value check in bcm_sf2_sw_probe() 047508edd602 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length cc9ebceaa6d0 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing 8f9a04c742e1 net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer() 00cecb0a8f9e net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx 4c224ea31bed wifi: cfg80211: Fix return value in scan logic 8e72db3ffa5d KVM: s390: fix sthyi error handling 809edb4262f0 word-at-a-time: use the same return type for has_zero regardless of endianness b7880809d75d arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux 804e72062be4 iommu/arm-smmu-v3: Document nesting-related errata 744e6b80b830 iommu/arm-smmu-v3: Add explicit feature for nesting fd86b5944215 iommu/arm-smmu-v3: Document MMU-700 erratum 2812531 2de9f3dcfe63 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982 a850fa85d477 arm64: errata: Add detection for TRBE write to out-of-range 073699df4a09 arm64: errata: Add workaround for TSB flush failures 44b45e8161a5 net/mlx5: Free irqs only on shutdown callback 40601542c43c perf: Fix function pointer case c12fa4ac8997 io_uring: gate iowait schedule on having pending requests Signed-off-by: Bruce Ashfield Signed-off-by: Steve Sakoman --- .../linux/linux-yocto-rt_5.15.bb | 6 ++--- .../linux/linux-yocto-tiny_5.15.bb | 6 ++--- meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb index f09dbe0b5f..a883fe090c 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb @@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "897961fcc3a4126a9d86096b4c3f0de174eb51e7" -SRCREV_meta ?= "9d45e4358eec5d4585e6e26d7f2f6f03ad909ea7" +SRCREV_machine ?= "7f5083ab7cf0b34b46a1e08716163438cfe113fa" +SRCREV_meta ?= "d63dc98bfc78b2d086cc3565c5a12da1ed2c033a" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" -LINUX_VERSION ?= "5.15.125" +LINUX_VERSION ?= "5.15.126" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb index 2f0e232fe6..f7970e9281 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb @@ -5,7 +5,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.15.125" +LINUX_VERSION ?= "5.15.126" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" @@ -14,8 +14,8 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "673a7d93e8c401525183fd793cd1fbc5d688761f" -SRCREV_meta ?= "9d45e4358eec5d4585e6e26d7f2f6f03ad909ea7" +SRCREV_machine ?= "f949bdbc869e8d89cc338a74a014f6a5d3962da4" +SRCREV_meta ?= "d63dc98bfc78b2d086cc3565c5a12da1ed2c033a" PV = "${LINUX_VERSION}+git${SRCPV}" diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb b/meta/recipes-kernel/linux/linux-yocto_5.15.bb index f3c6733656..9926cb8f73 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.15.bb @@ -13,24 +13,24 @@ KBRANCH:qemux86 ?= "v5.15/standard/base" KBRANCH:qemux86-64 ?= "v5.15/standard/base" KBRANCH:qemumips64 ?= "v5.15/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "f1655130f428a06fd10df1401cf4a97c2c9e98fe" -SRCREV_machine:qemuarm64 ?= "3562a213e44daf360d873c1c1773d64c7b1bdb90" -SRCREV_machine:qemumips ?= "bff8d6b2771b531f996b41ab89d742b21d6d1a5f" -SRCREV_machine:qemuppc ?= "9ccbf6add86b58f8446ba2b439ccdaaa1646c20b" -SRCREV_machine:qemuriscv64 ?= "50ad222fc4256538597cc943ddb328692041424d" -SRCREV_machine:qemuriscv32 ?= "50ad222fc4256538597cc943ddb328692041424d" -SRCREV_machine:qemux86 ?= "50ad222fc4256538597cc943ddb328692041424d" -SRCREV_machine:qemux86-64 ?= "50ad222fc4256538597cc943ddb328692041424d" -SRCREV_machine:qemumips64 ?= "05401de4dd847384e7592e2d729e2d8ff4a1e1bd" -SRCREV_machine ?= "50ad222fc4256538597cc943ddb328692041424d" -SRCREV_meta ?= "9d45e4358eec5d4585e6e26d7f2f6f03ad909ea7" +SRCREV_machine:qemuarm ?= "63f9c653ac8bca862d71352211d0d191813936ae" +SRCREV_machine:qemuarm64 ?= "97eddfe9caf2200f3d964bbea7c472b46418e61b" +SRCREV_machine:qemumips ?= "8c0497f3d412b7a1b40254eae9628e810d365dc9" +SRCREV_machine:qemuppc ?= "722612ff2e5ce49c89874a8b5d8fd5e80e15ede2" +SRCREV_machine:qemuriscv64 ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" +SRCREV_machine:qemuriscv32 ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" +SRCREV_machine:qemux86 ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" +SRCREV_machine:qemux86-64 ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" +SRCREV_machine:qemumips64 ?= "907f084725f90e192f2a30045f12b49fc12be95e" +SRCREV_machine ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" +SRCREV_meta ?= "d63dc98bfc78b2d086cc3565c5a12da1ed2c033a" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll # get the /base branch, which is pure upstream -stable, and the same # meta SRCREV as the linux-yocto-standard builds. Select your version using the # normal PREFERRED_VERSION settings. BBCLASSEXTEND = "devupstream:target" -SRCREV_machine:class-devupstream ?= "c275eaaaa34260e6c907bc5e7ee07c096bc45064" +SRCREV_machine:class-devupstream ?= "24c4de4069cbce796a1c71166240807d617cd652" PN:class-devupstream = "linux-yocto-upstream" KBRANCH:class-devupstream = "v5.15/base" @@ -38,7 +38,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.15;destsuffix=${KMETA};protocol=https" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" -LINUX_VERSION ?= "5.15.125" +LINUX_VERSION ?= "5.15.126" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native" From patchwork Sun Oct 1 15:59:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31476 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5574EE748F5 for ; Sun, 1 Oct 2023 16:00:35 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web11.62142.1696176031184333577 for ; Sun, 01 Oct 2023 09:00:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=QaY+P8d3; spf=softfail (domain: sakoman.com, ip: 209.85.214.172, mailfrom: steve@sakoman.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1c5ff5f858dso91439705ad.2 for ; Sun, 01 Oct 2023 09:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176030; x=1696780830; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=xwXTe6hD3eirnSwnJEDYsojAhfPcZDDvKbSfuhafzMA=; b=QaY+P8d3atQPmCsp72j+Gw9Ic/qH+H2l6nVV3Dbb16AyLaPi10jLD5koZlTdAx8duT x84K+r5sI61gwvFbYDcWCiC+CzzVcV29QTuDwPC4MyaBacqCetTQUiyl/4bgL7QVBO+r zSRIjlcvRnpreJMatJgFFLJHVjY5PzPjPnuEqg9kZqOdVGjzD3jC9WVrsNbiqRXWeCI+ qwWWKqYypdo6ueNyOi6rVxWH378+xJ4L0v+1RY4au0HgpbNYvb2wYoLm4cSF7GuNv2Ry +apNmsDq5kNEIItVrvVqActCgK4QBAd6StRiftt9fczGR4R1t+WeLUgvDIItRyonOAkj j++w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176030; x=1696780830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xwXTe6hD3eirnSwnJEDYsojAhfPcZDDvKbSfuhafzMA=; b=EQZ85UdwXpu+AW7sm8932st9PH6MT3dgSuuxTBr4MgjZk5Jv87eytAvRSXsHrvZv8B xZAIPiCjGwgwyd6gk+1whSlZHHbXC7kN0SCxxxlvU3hAuayI5cX8yty1IJXf2yZGKdbM opUR9tQJQ/C1jnAjqaJXFMuCkdhSnhCDlYoqE4N01/24MHf9mgdGNCZcLWARcpqINtUn pY4pm29V2k5s4w0fTmoG7Ll8Ezry1rYN7x9MjWIBYRlOsxKXvZG3jHR4+4i2d/yZCwNM dz1g3HppbM9SC+PLzJoAiCod/XOMKHpWPQqEYWp61KJWoii9Q95freTt3u0dq5NCLGT0 IV5w== X-Gm-Message-State: AOJu0YxgCO/Z5buOZyvbR9LDTOppG/30l7oSQromnKrUhGEgpGys7LHd VwwfgGCD0ZO4KzzK+wJxIaOTUOvP/d1XZtEo3cE4zA== X-Google-Smtp-Source: AGHT+IFrRW/qP4OZkytqnYx6vEU9tW0NoDijPzz3cYlRRf7MsFkFBP7eOJnJm7UPN3nbX0vnRuU2RQ== X-Received: by 2002:a17:902:c409:b0:1c4:4a4d:cda with SMTP id k9-20020a170902c40900b001c44a4d0cdamr9181948plk.15.1696176028596; Sun, 01 Oct 2023 09:00:28 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:28 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 06/23] linux-yocto/5.15: update to v5.15.127 Date: Sun, 1 Oct 2023 05:59:53 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188495 From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: f6f7927ac664 Linux 5.15.127 c597d8cb0d33 timers/nohz: Last resort update jiffies on nohz_full IRQ entry b4d36e6c5dc4 timers/nohz: Switch to ONESHOT_STOPPED in the low-res handler when the tick is stopped c3b954a51b64 tick: Detect and fix jiffies update stall af99918f0e39 sch_netem: fix issues in netem_change() vs get_dist_table() 5d094d4e7b99 alpha: remove __init annotation from exported page_is_ram() f8d6d25756ea scsi: qedf: Fix firmware halt over suspend and resume 85db1cd1744e scsi: qedi: Fix firmware halt over suspend and resume e70469c28953 scsi: fnic: Replace return codes in fnic_clean_pending_aborts() 6bc7f4c8c27d scsi: core: Fix possible memory leak if device_add() fails 461f8ac666fa scsi: snic: Fix possible memory leak if device_add() fails 171e117cdc0a scsi: 53c700: Check that command slot is not NULL 7a792b3d888a scsi: storvsc: Fix handling of virtual Fibre Channel timeouts 0f52d7b78251 scsi: core: Fix legacy /proc parsing buffer overflow b757ef99df39 netfilter: nf_tables: report use refcount overflow 9bdbbcf9d148 nvme-rdma: fix potential unbalanced freeze & unfreeze d68f8ef6ef70 nvme-tcp: fix potential unbalanced freeze & unfreeze ae6e21f8bb2a btrfs: set cache_block_group_error if we find an error 314135b7bae9 btrfs: reject invalid reloc tree root keys with stack dump 69dd147de419 btrfs: exit gracefully if reloc roots don't match c40d4b60c58d btrfs: don't stop integrity writeback too early 555e126dd30b ibmvnic: Handle DMA unmapping of login buffs in release functions 34fcc823823a ibmvnic: Unmap DMA login rsp buffer on send login fail cee62753cf2e ibmvnic: Enforce stronger sanity checks on login response 27e8db8380eb net/mlx5: Skip clock update work when device is in error state f638fc2f7377 net/mlx5: Allow 0 for total host VFs 086a80eb6213 dmaengine: mcf-edma: Fix a potential un-allocated memory access 7e1dc94b2d50 nexthop: Fix infinite nexthop bucket dump when using maximum nexthop ID 608a4327c257 nexthop: Make nexthop bucket dump more efficient 4457300cfd84 nexthop: Fix infinite nexthop dump when using maximum nexthop ID 91307347d632 net: hns3: add wait until mac link down 094310eb2b93 net: hns3: refactor hclge_mac_link_status_wait for interface reuse 1ae9703c2e32 net: phy: at803x: remove set/get wol callbacks for AR8032 7d496cd83a9d RDMA/umem: Set iova in ODP flow f78a4238a873 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN 26a27dd76054 drm/rockchip: Don't spam logs in atomic check 918c1e6843b7 IB/hfi1: Fix possible panic during hotplug remove df21468bfdc8 iavf: fix potential races for FDIR filters b1f985cf1c52 drivers: net: prevent tun_build_skb() to exceed the packet size limit f239c9e1d98b dccp: fix data-race around dp->dccps_mss_cache 49a1fee22fae bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves 789fcd94c9ca xsk: fix refcount underflow in error path e95808121953 tunnels: fix kasan splat when generating ipv4 pmtu error 7903311b2cec net/packet: annotate data-races around tp->status f4614e379bf9 mISDN: Update parameter type of dsp_cmx_send() 3961761af392 bpf, sockmap: Fix bug that strp_done cannot be called 20d53895d5c0 bpf, sockmap: Fix map type error in sock_map_del_link a09c258cfa77 net: core: remove unnecessary frame_sz check in bpf_xdp_adjust_tail() 85af0b226c0b selftests: forwarding: tc_flower: Relax success criterion 7b3fa99526f9 selftests: forwarding: Switch off timeout e410f85ebca9 selftests: forwarding: Skip test when no interfaces are specified 4a4499452620 selftests: forwarding: ethtool_extended_state: Skip when using veth pairs b8d216e9c607 selftests: forwarding: ethtool: Skip when using veth pairs b9dfb80d9fb2 selftests: forwarding: Add a helper to skip test when using veth pairs b973eb76dff3 selftests/rseq: Fix build with undefined __weak b8b8db5857d4 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes 4c6767c8bf5e x86: Move gds_ucode_mitigated() declaration to header f919cbc90441 x86/speculation: Add cpu_show_gds() prototype 9290ef14c96b x86/mm: Fix VDSO and VVAR placement on 5-level paging machines 829409510d00 x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405 c41a22b93d7c x86/srso: Fix build breakage with the LLVM linker c2372b1559d4 usb: typec: tcpm: Fix response to vsafe0V event f776b94ccdf0 usb: common: usb-conn-gpio: Prevent bailing out if initial role is none 00cc14b52d6f usb: dwc3: Properly handle processing of pending events 7a11d1e2625b usb-storage: alauda: Fix uninit-value in alauda_check_media() 945e1b3c361b misc: rtsx: judge ASPM Mode to set PETXCFG Reg 03eebad96233 binder: fix memory leak in binder_init() a8e2ae6296d5 iio: adc: ina2xx: avoid NULL pointer dereference on OF device match 2df8ae1e42b8 iio: cros_ec: Fix the allocation size for cros_ec_command a7cedc2b7612 io_uring: correct check for O_TMPFILE 697bc234632c selftests/bpf: Fix sk_assign on s390x 127277262110 selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code ee701208f4cc selftests/bpf: make test_align selftest more robust 683d2969a082 bpf: aggressively forget precise markings during state checkpointing 2516deeb872a bpf: stop setting precise in current state c47d0178ad86 bpf: allow precision tracking for programs with subprogs 3645510cf926 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput 36a3b560c78d radix tree test suite: fix incorrect allocation size for pthreads 8d10284243b7 hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100 3ad4ba2b6112 drm/amd/display: check attr flag before set cursor degamma on DCN3+ 621204fca047 drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap() 64e6253f6489 drm/nouveau/gr: enable memory loads on helper invocation on all channels bcd9eeb3a309 riscv,mmio: Fix readX()-to-delay() ordering 57772ae9b339 dmaengine: pl330: Return DMA_PAUSED when transaction is paused 3ca8f5c733c4 ipv6: adjust ndisc_is_useropt() to also return true for PIO 6cde60777675 mmc: moxart: read scr register without changing byte order 3f00757ab416 wireguard: allowedips: expand maximum node depth aeb974907642 ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea() 595679098bdc ksmbd: validate command request size Signed-off-by: Bruce Ashfield Signed-off-by: Steve Sakoman --- .../linux/linux-yocto-rt_5.15.bb | 6 ++--- .../linux/linux-yocto-tiny_5.15.bb | 6 ++--- meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb index a883fe090c..293b2f75a8 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb @@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "7f5083ab7cf0b34b46a1e08716163438cfe113fa" -SRCREV_meta ?= "d63dc98bfc78b2d086cc3565c5a12da1ed2c033a" +SRCREV_machine ?= "cd3c15788f1201a674f47d50fcdb91f9d65cd05d" +SRCREV_meta ?= "8616f066cc7ad4e305c11cdad0aa9a1a8a1f6c8c" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" -LINUX_VERSION ?= "5.15.126" +LINUX_VERSION ?= "5.15.127" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb index f7970e9281..0a9d97159d 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb @@ -5,7 +5,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.15.126" +LINUX_VERSION ?= "5.15.127" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" @@ -14,8 +14,8 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "f949bdbc869e8d89cc338a74a014f6a5d3962da4" -SRCREV_meta ?= "d63dc98bfc78b2d086cc3565c5a12da1ed2c033a" +SRCREV_machine ?= "6329aba667477365f72d896b53c492bfba1b1609" +SRCREV_meta ?= "8616f066cc7ad4e305c11cdad0aa9a1a8a1f6c8c" PV = "${LINUX_VERSION}+git${SRCPV}" diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb b/meta/recipes-kernel/linux/linux-yocto_5.15.bb index 9926cb8f73..f1ce090e22 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.15.bb @@ -13,24 +13,24 @@ KBRANCH:qemux86 ?= "v5.15/standard/base" KBRANCH:qemux86-64 ?= "v5.15/standard/base" KBRANCH:qemumips64 ?= "v5.15/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "63f9c653ac8bca862d71352211d0d191813936ae" -SRCREV_machine:qemuarm64 ?= "97eddfe9caf2200f3d964bbea7c472b46418e61b" -SRCREV_machine:qemumips ?= "8c0497f3d412b7a1b40254eae9628e810d365dc9" -SRCREV_machine:qemuppc ?= "722612ff2e5ce49c89874a8b5d8fd5e80e15ede2" -SRCREV_machine:qemuriscv64 ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" -SRCREV_machine:qemuriscv32 ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" -SRCREV_machine:qemux86 ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" -SRCREV_machine:qemux86-64 ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" -SRCREV_machine:qemumips64 ?= "907f084725f90e192f2a30045f12b49fc12be95e" -SRCREV_machine ?= "027401d57727e10a0eaf0c0aec9e6451acf3b397" -SRCREV_meta ?= "d63dc98bfc78b2d086cc3565c5a12da1ed2c033a" +SRCREV_machine:qemuarm ?= "64a535013a41c2b18d6b7a6dd675ecd3d69d57bb" +SRCREV_machine:qemuarm64 ?= "27a44fe9e1e971534af059b04af8846034d3a5e6" +SRCREV_machine:qemumips ?= "a0ae788ca9ce2f9b26f12fb99b1f5835a7544a4e" +SRCREV_machine:qemuppc ?= "61253ef36689575bfcd9423cb1df3b565a59ef37" +SRCREV_machine:qemuriscv64 ?= "211e091f3737d6c0850b218f9b3f26816be7e321" +SRCREV_machine:qemuriscv32 ?= "211e091f3737d6c0850b218f9b3f26816be7e321" +SRCREV_machine:qemux86 ?= "211e091f3737d6c0850b218f9b3f26816be7e321" +SRCREV_machine:qemux86-64 ?= "211e091f3737d6c0850b218f9b3f26816be7e321" +SRCREV_machine:qemumips64 ?= "7b2aad0f77dbb1ffb558bc7215bd9d3856ab0f75" +SRCREV_machine ?= "211e091f3737d6c0850b218f9b3f26816be7e321" +SRCREV_meta ?= "8616f066cc7ad4e305c11cdad0aa9a1a8a1f6c8c" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll # get the /base branch, which is pure upstream -stable, and the same # meta SRCREV as the linux-yocto-standard builds. Select your version using the # normal PREFERRED_VERSION settings. BBCLASSEXTEND = "devupstream:target" -SRCREV_machine:class-devupstream ?= "24c4de4069cbce796a1c71166240807d617cd652" +SRCREV_machine:class-devupstream ?= "f6f7927ac664ba23447f8dd3c3dfe2f4ee39272f" PN:class-devupstream = "linux-yocto-upstream" KBRANCH:class-devupstream = "v5.15/base" @@ -38,7 +38,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.15;destsuffix=${KMETA};protocol=https" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" -LINUX_VERSION ?= "5.15.126" +LINUX_VERSION ?= "5.15.127" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native" From patchwork Sun Oct 1 15:59:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31480 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E6F1E748F7 for ; Sun, 1 Oct 2023 16:00:35 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web10.62423.1696176032021618921 for ; Sun, 01 Oct 2023 09:00:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=zYTurjOQ; spf=softfail (domain: sakoman.com, ip: 209.85.214.170, mailfrom: steve@sakoman.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1c3cbfa40d6so141253215ad.1 for ; Sun, 01 Oct 2023 09:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176031; x=1696780831; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=GEchTdfrMb/fNNRqXXl6gpmdoimzUNDnY1aakKz+AYM=; b=zYTurjOQ8Wsmi1TFnR2HdjGR76GxZzjtEJDAyflJWMhl1I98V4QrGSNamP4wD2jrcG ZDnq+cSb2qkx4RSHE0vlGWSBgA1bwBIW1P+3IETKcaDezamneaHSU0dnScA/kjH9mUEr gCXjdyJiG2CBFpcnh1I5pq0dCwacKS6VVMVlVe8SPNc3iPA2zosYAN7pvxXa5+RZI35L 4g8BlaOK81ezoaZ6MWyvmT6HfdOti5Tk5u+rRUFMOn8eGZqdeHroVtE0FJ6r7bDE4W9V 2TaLoPvnvsPo86xnW8g/iXlUbDBLh4AKcP0hSuSCnkj6OoolCbgmZ5y6hr6SMcMvJjRB oTzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176031; x=1696780831; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GEchTdfrMb/fNNRqXXl6gpmdoimzUNDnY1aakKz+AYM=; b=lGhBD7gGi7AlArd+OYBnCPWWWfHTwanMS2awuO8QyWtJrCTaSNWPDNm6o4Mf0hDjO/ dvVa5GAuh6UQaD4T5XJtj7qjUBoYFNXjGCCxUGGrq1i6s9RKhlidYRlZwqUq+sh0xbNi v9OeOwO9p/3560GpHU86R3HXduDpcBGKm+SFFJjqIVI6PHMuNmO3XqmOg5CcQ4pyhe1P 4fVew0VWZb1gG8NqDOFqp5Hij6zmQsthgLUVYrqx9PRMW9zWFxS6d6bhw9TNohQNk5lt VFEXnCx1mS+lktSbmaqa2ayEuIQgUvZXQrKOcl2fccvuDl7r5Ddq+H6A16xuXCe3G/hV /qhw== X-Gm-Message-State: AOJu0YzQmii3YGFjWKwnTfgwn+BSHgfeYeWzT6BrSYZrqjHpnk3co17R 2BlYAErDFZ4FVCQMxSBO16EnGY+BkskBmCA9mAPFjA== X-Google-Smtp-Source: AGHT+IG5rgIYol0GHDT6Ul6cm20KUcHaY2yh8XA9soWamzHXaF4ZnFozHiQqRRAvK4KOrKhj1ZpOoQ== X-Received: by 2002:a17:903:22cd:b0:1c6:2dbb:e5f4 with SMTP id y13-20020a17090322cd00b001c62dbbe5f4mr10486804plg.26.1696176030374; Sun, 01 Oct 2023 09:00:30 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:30 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 07/23] linux-yocto/5.15: update to v5.15.128 Date: Sun, 1 Oct 2023 05:59:54 -1000 Message-Id: <3ad11a93139845060e970045a03f6476da5e5795.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188496 From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 5ddfe5cc8716 Linux 5.15.128 9080f4fcc202 x86/srso: Correct the mitigation status when SMT is disabled 484eefc6ff9c objtool/x86: Fixup frame-pointer vs rethunk 55f1cbeaa159 x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG fa24cd0fbcb7 x86/srso: Disable the mitigation on unaffected configurations aa0777ce0d3d x86/CPU/AMD: Fix the DIV(0) initial fix attempt bbe585239d4f x86/retpoline: Don't clobber RFLAGS during srso_safe_ret() 19f23d16b0e0 x86/static_call: Fix __static_call_fixup() df6495f203a7 x86/srso: Explain the untraining sequences a bit more 43548590ad7e x86/cpu: Cleanup the untrain mess 035e906bfc93 x86/cpu: Rename srso_(.*)_alias to srso_alias_\1 19c1c0499650 x86/cpu: Rename original retbleed methods f77dbb90962b x86/cpu: Clean up SRSO return thunk mess f624ce6c7fc2 x86/ibt: Add ANNOTATE_NOENDBR f1171d455d94 objtool: Add frame-pointer-specific function ignore 08f7cfd44f77 x86/alternative: Make custom return thunk unconditional 0d810eff090c x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk() 8089aae6020e x86/cpu: Fix __x86_return_thunk symbol type 5b28fda5fdee mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove e8c5081da2cc net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled 431db3f48c28 virtio-net: set queues after driver_ok d39fc9b94dc0 af_unix: Fix null-ptr-deref in unix_stream_sendpage(). 9a4d8dc706c2 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4 6b64974e02ea exfat: check if filename entries exceeds max filename length 6065b3017107 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state a00c5d2c208b drm/amd: flush any delayed gfxoff on suspend entry d578c919deb7 drm/qxl: fix UAF on handle creation ff09f9e671ff mmc: block: Fix in_flight[issue_type] value error b803fedb6e50 mmc: wbsd: fix double mmc_free_host() in wbsd_init() 961f7ce16223 cifs: Release folio lock on fscache read hit. cc3f194f46e7 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces. 18e27df4f2b4 serial: 8250: Fix oops for port->pm on uart_change_pm() e9b8ee715dbc riscv: uaccess: Return the number of bytes effectively not copied b2a331abcb03 ALSA: hda/realtek - Remodified 3k pull low procedure dfb9676ed25b soc: aspeed: socinfo: Add kfree for kstrdup c5ac7522a8db ASoC: meson: axg-tdm-formatter: fix channel slot allocation fd346ef1cd2d ASoC: rt5665: add missed regulator_bulk_disable e878458d820c ARM: dts: imx: Set default tuning step for imx6sx usdhc 430c29a54e4a arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict 03522d73a498 bus: ti-sysc: Flush posted write on enable before reset 578371ce0d7f net: do not allow gso_size to be set to GSO_BY_FRAGS 5fc4fd3f3eb8 sock: Fix misuse of sk_under_memory_pressure() fc3d82d295d1 net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset f11c2802e143 i40e: fix misleading debug logs 5ba2b936f3e1 iavf: fix FDIR rule fields masks validation ae6834689fd6 team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves 0ffbc341cfae net: phy: broadcom: stub c45 read/write for 54810 bf221e5e4b19 netfilter: nft_dynset: disallow object maps 9177869b85dd ipvs: fix racy memcpy in proc_do_sync_threshold 1adaec4758d1 netfilter: nf_tables: deactivate catchall elements in next generation 82109740d610 netfilter: nf_tables: fix false-positive lockdep splat b2f6d73395cb drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs 7207ee323afa selftests: mirror_gre_changes: Tighten up the TTL test match c2a6ffe3f1a3 net: phy: fix IRQ-based wake-on-lan over hibernate / power off 8e5e967348ca xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH 075448a2eb75 xfrm: add NULL check in xfrm_update_ae_params e1e04cc2ef2c ip_vti: fix potential slab-use-after-free in decode_session6 a1639a82ce14 ip6_vti: fix slab-use-after-free in decode_session6 44b3d4096700 xfrm: fix slab-use-after-free in decode_session6 a465ace883ac net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure fed1cd2cd3aa net: af_key: fix sadb_x_filter validation 1960f468078b net: xfrm: Fix xfrm_address_filter OOB read 080dedb1cad8 i2c: designware: Handle invalid SMBus block data response length value 416c538684bd i2c: designware: Correct length byte validation logic b966e9e1e250 btrfs: fix BUG_ON condition in btrfs_cancel_balance 77698e6ff6f0 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms 2a5234464383 tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux 8ef25fb13494 powerpc/rtas_flash: allow user copy to flash block cache objects bb70e2b70f8d fbdev: mmp: fix value check in mmphw_probe() 184f1b68bb99 i2c: hisi: Only handle the interrupt of the driver's transfer c4e671dae50e i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue b99f490ea87e cifs: fix potential oops in cifs_oplock_break a5ae5a81bc19 vduse: Use proper spinlock for IRQ injection 5b7d5c2dd664 virtio-mmio: don't break lifecycle of vm_dev edf3b5aadb25 btrfs: move out now unused BG from the reclaim list 170773563ef6 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node 4ffbfe1c980f ARM: dts: imx6sll: fixup of operating points e2ff5cf681a8 mmc: sunxi: fix deferred probing f93e8c5a7bd9 mmc: bcm2835: fix deferred probing 4eeba5d476fe USB: dwc3: fix use-after-free on core driver unbind a78fe5c9d8d5 USB: dwc3: qcom: fix NULL-deref on suspend 8a6b7534020d tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A 701bb5fee7c3 tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms fa254ab7d02d tty: serial: fsl_lpuart: Add i.MXRT1050 support 20351ddb1f41 usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume() 31a0e60fe16b USB: dwc3: gadget: drop dead hibernation code d9e004104e45 usb: dwc3: Fix typos in gadget.c 2fa487a94667 usb: dwc3: Remove DWC3 locking during gadget suspend/resume 7dfb384e76ee usb: dwc3: gadget: Synchronize IRQ between soft connect/disconnect d3c82f24ee69 drm/amd/display: fix access hdcp_workqueue assert 0ba6c7ba081e drm/amd/display: phase3 mst hdcp for multiple displays 99c444d3c3c4 drm/amd/display: save restore hdcp state when display is unplugged from mst hub 4f1beb75f652 ARM: dts: aspeed: asrock: Correct firmware flash SPI clocks f84c2ca3490c igc: read before write to SRRCTL register 9fa82f031af8 iio: addac: stx104: Fix race condition when converting analog-to-digital d31d04ec404c iio: addac: stx104: Fix race condition for stx104_write_raw() 89a007f3a383 iio: stx104: Move to addac subdirectory cadf8f2d7c9d iio: adc: stx104: Implement and utilize register structures 6089d354346f iio: adc: stx104: Utilize iomap interface 565b96d9a7ab iio: add addac subdirectory 49b830d75f03 ring-buffer: Do not swap cpu_buffer during resize process 6657ecbcc39c powerpc/kasan: Disable KCOV in KASAN code 8703b26387e1 ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync() 5ed4dbc13726 ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760 c7d8b5f46f06 fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted 3a00ec562f8c fs: ntfs3: Fix possible null-pointer dereferences in mi_read() e7799bb4dbe2 fs/ntfs3: Enhance sanity check while generating attr_list ef568da1fd84 drm/amdgpu: Fix potential fence use-after-free v2 5720c7e185d4 Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally 548a6b64b3c0 Bluetooth: L2CAP: Fix use-after-free 302d04596364 watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub) 2ea70379e4f4 firewire: net: fix use after free in fwnet_finish_incoming_packet() 97fd1c8e9c5a pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db() 85e888150075 gfs2: Fix possible data races in gfs2_show_options() eafb79d2448a usb: chipidea: imx: add missing USB PHY DPDM wakeup setting 7bdb4c963049 usb: chipidea: imx: don't request QoS for imx8ulp 25decbbb66e4 thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx() 776b34615a29 media: platform: mediatek: vpu: fix NULL ptr dereference cb174344bf85 usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push 1676748aa290 media: v4l2-mem2mem: add lock to protect parameter num_rdy 985086704267 smb: client: fix warning in cifs_smb3_do_mount() a3f252436e57 ovl: check type and offset of struct vfsmount in ovl_entry 1a650d3ccd79 RDMA/mlx5: Return the firmware result upon destroying QP/RQ 9631d88503ab HID: add quirk for 03f0:464a HP Elite Presenter Mouse 4921792e04f2 drm/amdgpu: install stub fence into potential unused fence pointers fd41646d4350 HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard ff10cd3e9b3a dma-remap: use kvmalloc_array/kvfree for larger dma memory remap e9ce774052ee ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion 7d53d1e4765c iopoll: Call cpu_relax() in busy loops ca66e9dd98ef ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings cc1590830859 PCI: tegra194: Fix possible array out of bounds access e2d10f1de1fa net: tls: avoid discarding data on record close 9a15ca893909 net/tls: Multi-threaded calls to TX tls_dev_del 2d93157b7e2d net/tls: Perform immediate device ctx cleanup when possible 51222e1c77a1 macsec: use DEV_STATS_INC() 3d64a232e4d9 macsec: Fix traffic counters/statistics 396a1921406a selftests: forwarding: tc_actions: Use ncat instead of nc d61a0886d336 selftests: forwarding: tc_actions: cleanup temporary files when test is aborted a798977df6d0 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm Signed-off-by: Bruce Ashfield Signed-off-by: Steve Sakoman --- .../linux/linux-yocto-rt_5.15.bb | 6 ++--- .../linux/linux-yocto-tiny_5.15.bb | 6 ++--- meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb index 293b2f75a8..aac789f1f6 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb @@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "cd3c15788f1201a674f47d50fcdb91f9d65cd05d" -SRCREV_meta ?= "8616f066cc7ad4e305c11cdad0aa9a1a8a1f6c8c" +SRCREV_machine ?= "6035f480ffca194cd0565a718d73ea675c0ff20a" +SRCREV_meta ?= "3a5b0494e4760dd7afec9618e572a14e5ff87456" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" -LINUX_VERSION ?= "5.15.127" +LINUX_VERSION ?= "5.15.128" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb index 0a9d97159d..c2b14290d3 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb @@ -5,7 +5,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.15.127" +LINUX_VERSION ?= "5.15.128" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" @@ -14,8 +14,8 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "6329aba667477365f72d896b53c492bfba1b1609" -SRCREV_meta ?= "8616f066cc7ad4e305c11cdad0aa9a1a8a1f6c8c" +SRCREV_machine ?= "9617ac269548314043e14de79f663e6d805a534a" +SRCREV_meta ?= "3a5b0494e4760dd7afec9618e572a14e5ff87456" PV = "${LINUX_VERSION}+git${SRCPV}" diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb b/meta/recipes-kernel/linux/linux-yocto_5.15.bb index f1ce090e22..17faabd65b 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.15.bb @@ -13,24 +13,24 @@ KBRANCH:qemux86 ?= "v5.15/standard/base" KBRANCH:qemux86-64 ?= "v5.15/standard/base" KBRANCH:qemumips64 ?= "v5.15/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "64a535013a41c2b18d6b7a6dd675ecd3d69d57bb" -SRCREV_machine:qemuarm64 ?= "27a44fe9e1e971534af059b04af8846034d3a5e6" -SRCREV_machine:qemumips ?= "a0ae788ca9ce2f9b26f12fb99b1f5835a7544a4e" -SRCREV_machine:qemuppc ?= "61253ef36689575bfcd9423cb1df3b565a59ef37" -SRCREV_machine:qemuriscv64 ?= "211e091f3737d6c0850b218f9b3f26816be7e321" -SRCREV_machine:qemuriscv32 ?= "211e091f3737d6c0850b218f9b3f26816be7e321" -SRCREV_machine:qemux86 ?= "211e091f3737d6c0850b218f9b3f26816be7e321" -SRCREV_machine:qemux86-64 ?= "211e091f3737d6c0850b218f9b3f26816be7e321" -SRCREV_machine:qemumips64 ?= "7b2aad0f77dbb1ffb558bc7215bd9d3856ab0f75" -SRCREV_machine ?= "211e091f3737d6c0850b218f9b3f26816be7e321" -SRCREV_meta ?= "8616f066cc7ad4e305c11cdad0aa9a1a8a1f6c8c" +SRCREV_machine:qemuarm ?= "4a0228c3af6ce6776b3b8d63422cbdfe42794f08" +SRCREV_machine:qemuarm64 ?= "9bf77a387c75c5b40a93bd1c252fa2f8057ec35b" +SRCREV_machine:qemumips ?= "747b0a4f90c11f9225623c4147d783eacc817236" +SRCREV_machine:qemuppc ?= "997cb3bb3f0ac601c062e6c206c4fbff158cab16" +SRCREV_machine:qemuriscv64 ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" +SRCREV_machine:qemuriscv32 ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" +SRCREV_machine:qemux86 ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" +SRCREV_machine:qemux86-64 ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" +SRCREV_machine:qemumips64 ?= "8ea0652d340b59490387640bbb57669be5f8b47c" +SRCREV_machine ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" +SRCREV_meta ?= "3a5b0494e4760dd7afec9618e572a14e5ff87456" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll # get the /base branch, which is pure upstream -stable, and the same # meta SRCREV as the linux-yocto-standard builds. Select your version using the # normal PREFERRED_VERSION settings. BBCLASSEXTEND = "devupstream:target" -SRCREV_machine:class-devupstream ?= "f6f7927ac664ba23447f8dd3c3dfe2f4ee39272f" +SRCREV_machine:class-devupstream ?= "5ddfe5cc87167343bd4c17f776de7b7aa1475b0c" PN:class-devupstream = "linux-yocto-upstream" KBRANCH:class-devupstream = "v5.15/base" @@ -38,7 +38,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.15;destsuffix=${KMETA};protocol=https" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" -LINUX_VERSION ?= "5.15.127" +LINUX_VERSION ?= "5.15.128" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native" From patchwork Sun Oct 1 15:59:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31478 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64185E748F6 for ; Sun, 1 Oct 2023 16:00:35 +0000 (UTC) Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mx.groups.io with SMTP id smtpd.web10.62424.1696176033546171582 for ; Sun, 01 Oct 2023 09:00:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=cazcshu+; spf=softfail (domain: sakoman.com, ip: 209.85.215.180, mailfrom: steve@sakoman.com) Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-577fb90bb76so8627090a12.2 for ; Sun, 01 Oct 2023 09:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176032; x=1696780832; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=AOaGqPYDqTZDK12hNPHEj2+VwqJmuYQ3lYI1KgVWfEM=; b=cazcshu+kLkcDV3r/4Crd1AkEl/iWV820HPnBM6RYXqMd+utcOE8EQzIeCqo9BmVTG 3VTLzyouZoH8IRE0/RqqXpiJKhcVyOHSX5/Dj5XpU7xXZfT+lGcL9hiMnJCTuoh7yfRm xt9XSC6tucCx1ZdUXnIcT3y5+WRq+Zm+Fh/gbOqGcDouSRYLuncYJkV8q9rVFPCf8Fa5 MtevxwWEbsOA+HroK7+TPq0UvZ0Aejn4vWotcie6DmQJUBFqoHQdaSVyJZB3r2S5IMJy VUP/7m3/KJ9hYrQJXZEpZeyuHhpPckd4SHAa1+kv36ZIlXu6nKcawVPgTvF8EPgsvc/r cKRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176032; x=1696780832; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AOaGqPYDqTZDK12hNPHEj2+VwqJmuYQ3lYI1KgVWfEM=; b=nH8QBRDwPFV+ZvnM2M9gdtY7Tsb6R6xqswBR3khH7PfNmUluzM32j5wmE7X4Ef/O01 fPQ3EpLHL/YhDiJhCPZwW6OXO0F+pREwHw0Z4L6wLREc/woZIdBrtwN+E88JWuBi6kut y9RejUdLEY/zxELYnswQU4oerjLqIaxnV9EzYijejk7pm9ukqANNQPS/GRwCz4XYNg/s Ol1MHAl0ccCpMTz59lBccJI/3Nb0mZY3kn23bycni79GKqy3kQUAzV89wxZ3y48cNCvX v3O0cOkEh07GiicFUVvGFXC0VOMCNKWqF49MeMl7BqS/JHiUDvbVWJDAlWH3jm6LD6S+ 0NJw== X-Gm-Message-State: AOJu0YxQGdT940EzKCr5lPUuZZOx0JGIzJVHh1vNqZN/T/IjPcX6rpzg FChxt4yZqEHbjs+hnNM2OxoZUUuzSi2ZvH9vZDB+qQ== X-Google-Smtp-Source: AGHT+IG3L2KkPWc1w9yaTn9QqVjbJIsSMfQZJNe4t1VFXLAmzA/zafp9Bj0RUeYahQHPwV2a1qoOfw== X-Received: by 2002:a05:6a21:2702:b0:152:e902:8aa with SMTP id rm2-20020a056a21270200b00152e90208aamr6826002pzb.34.1696176032325; Sun, 01 Oct 2023 09:00:32 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:31 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 08/23] linux-yocto/5.15: update to v5.15.129 Date: Sun, 1 Oct 2023 05:59:55 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188497 From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 9e43368a3393 Linux 5.15.129 d48016d74836 mm,ima,kexec,of: use memblock_free_late from ima_free_kexec_buffer 1c41cd30d5cd mm: memory-failure: fix unexpected return value in soft_offline_page() 0712721e4f4f mm: memory-failure: kill soft_offline_free_page() efd02b5cadd5 dma-buf/sw_sync: Avoid recursive lock during fence signal 8dbf913520c4 pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function} f1c0402b8e22 clk: Fix undefined reference to `clk_rate_exclusive_{get,put}' 10bc3eddc605 scsi: core: raid_class: Remove raid_component_add() d3d57cdbfda4 scsi: snic: Fix double free in snic_tgt_create() ef56cc8889be can: raw: add missing refcount for memory leak fix 930f3f164964 drm/i915: Fix premature release of request's reusable memory 3cb86cc565df cgroup/cpuset: Free DL BW in case can_attach() fails ffff4fc4bad7 sched/deadline: Create DL BW alloc, free & check overflow interface 86aa90795979 cgroup/cpuset: Iterate only if DEADLINE tasks are present 43d8cbfefa7c sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets d0eb4917f4d3 sched/cpuset: Bring back cpuset_mutex 918879de0e23 cgroup/cpuset: Rename functions dealing with DEADLINE accounting 78efab71a649 torture: Fix hang during kthread shutdown phase c8fb97dd7fe6 nfsd: use vfs setgid helper 01966511868e nfs: use vfs setgid helper a7a1849899aa x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4 ad79f943c869 x86/fpu: Invalidate FPU state correctly on exec() b190cf1f277a drm/display/dp: Fix the DP DSC Receiver cap size c8aab333d41a drm/vmwgfx: Fix shader stage validation b53ed415163e PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus 60ba1bfa036a media: vcodec: Fix potential array out-of-bounds in encoder queue_setup 544cd10defa1 of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock f1d4a5881856 of: unittest: Fix EXPECT for parse_phandle_with_args_map() test ce66cd478636 radix tree: remove unused variable 898c8c5b1114 lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels ff90a4c6edf8 batman-adv: Hold rtnl lock during MTU update via netlink ea38c0d9aaa2 batman-adv: Fix batadv_v_ogm_aggr_send memory leak 7f3f72eb8f5b batman-adv: Fix TT global entry leak when client roamed back f7667b49880a batman-adv: Do not get eth header before batadv_check_management_packet 3f9312dd7581 batman-adv: Don't increase MTU when set by user cde5a240d72d batman-adv: Trigger events for auto adjusted MTU 22426e1ce679 selinux: set next pointer before attaching to list 711595bfdccf nfsd: Fix race to FREE_STATEID and cl_revoked bd1697e12230 NFS: Fix a use after free in nfs_direct_join_group() 5f642613746e mm: add a call to flush_cache_vmap() in vmap_pfn() 440c10034b4d ALSA: ymfpci: Fix the missing snd_card_free() call at probe error 5cc7d81cf576 clk: Fix slab-out-of-bounds error in devm_clk_release() 0f72859acfa2 NFSv4: Fix dropped lock for racing OPEN and delegation return 9c025420fef2 ibmveth: Use dcbf rather than dcbfl 7e546bd08943 Revert "KVM: x86: enable TDP MMU by default" 67af12f5582b net/ncsi: change from ndo_set_mac_address to dev_set_mac_address 4451457d61e0 net/ncsi: make one oem_gma function for all mfr id f683f4be802b bonding: fix macvlan over alb bond support 0fa8046e923a net: remove bond_slave_has_mac_rcu() f0ec97fca629 rtnetlink: Reject negative ifindexes in RTM_NEWLINK 00247cfd2b69 rtnetlink: return ENODEV when ifname does not exist and group is given 75cfb7de44e5 netfilter: nf_tables: fix out of memory error handling f22954f8c58f netfilter: nf_tables: flush pending destroy work before netlink notifier ff34403fef98 net/sched: fix a qdisc modification with ambiguous command request 30624ea3f8b6 igc: Fix the typo in the PTM Control macro f697c3ead109 igb: Avoid starting unnecessary workqueues d7823d752ce1 ice: fix receive buffer size miscalculation ace1b0ae3097 net: validate veth and vxcan peer ifindexes 335be585416d net: bcmgenet: Fix return value check for fixed_phy_register() 60a5034584ea net: bgmac: Fix return value check for fixed_phy_register() 5b52c9ba42c0 ipvlan: Fix a reference count leak warning in ipvlan_ns_exit() 2bad37b6f675 dccp: annotate data-races in dccp_poll() 9b015360e86f sock: annotate data-races around prot->memory_pressure c52c6c0223e1 octeontx2-af: SDP: fix receive link config ce6e2b14bc09 tracing: Fix memleak due to race between current_tracer and trace ef748360ba91 tracing: Fix cpu buffers unavailable due to 'record_disabled' missed fdf5804d7475 can: raw: fix lockdep issue in raw_release() 278fccf587dd drm/amd/display: check TG is non-null before checking if enabled a955e6a0e39d drm/amd/display: do not wait for mpc idle if tg is disabled e0bd4f0c60b4 can: raw: fix receiver memory leak b832174b7f89 jbd2: fix a race when checking checkpoint buffer busy 9c31bb2684f8 jbd2: remove journal_clean_one_cp_list() d91783e6864a jbd2: remove t_checkpoint_io_list a0ab49e7a758 ALSA: pcm: Fix potential data race at PCM memory allocation helpers 2e56d380daa9 fbdev: fix potential OOB read in fast_imageblit() 14163f4a4fa6 fbdev: Fix sys_imageblit() for arbitrary image widths 5b60bd9081a9 fbdev: Improve performance of sys_imageblit() 166f0bf4560b MIPS: cpu-features: Use boot_cpu_type for CPU type based features 8f106e97409d MIPS: cpu-features: Enable octeon_cache by cpu_type d1d0b239f974 fs: dlm: fix mismatch of plock results from userspace 77d334c44681 fs: dlm: use dlm_plock_info for do_unlock_close f9a33cc7d946 fs: dlm: change plock interrupted message to debug again 7ac088841ffb fs: dlm: add pid to debug log df9c842ab0a4 dlm: replace usage of found with dedicated list iterator variable 33e9c610e337 dlm: improve plock logging if interrupted d9ce077f8b1f PCI: acpiphp: Reassign resources on bridge if necessary 8cc8645dd3e1 xprtrdma: Remap Receive buffers after a reconnect 91a707507e83 NFSv4: fix out path in __nfs4_get_acl_uncached 323b830eebd1 NFSv4.2: fix error handling in nfs42_proc_getxattr 5de0a325c45e objtool/x86: Fix SRSO mess Signed-off-by: Bruce Ashfield Signed-off-by: Steve Sakoman --- .../linux/linux-yocto-rt_5.15.bb | 6 ++--- .../linux/linux-yocto-tiny_5.15.bb | 6 ++--- meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb index aac789f1f6..acac15d2e9 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb @@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "6035f480ffca194cd0565a718d73ea675c0ff20a" -SRCREV_meta ?= "3a5b0494e4760dd7afec9618e572a14e5ff87456" +SRCREV_machine ?= "821659458e4746c3f4fa690a8744cd23efa8a666" +SRCREV_meta ?= "c16749e4e0a2f8a903c36d44f7125dd423600c57" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" -LINUX_VERSION ?= "5.15.128" +LINUX_VERSION ?= "5.15.129" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb index c2b14290d3..cc8e6ee393 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb @@ -5,7 +5,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.15.128" +LINUX_VERSION ?= "5.15.129" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" @@ -14,8 +14,8 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "9617ac269548314043e14de79f663e6d805a534a" -SRCREV_meta ?= "3a5b0494e4760dd7afec9618e572a14e5ff87456" +SRCREV_machine ?= "bbc3bff691a772d78872031baa1ef2d90506fdfb" +SRCREV_meta ?= "c16749e4e0a2f8a903c36d44f7125dd423600c57" PV = "${LINUX_VERSION}+git${SRCPV}" diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb b/meta/recipes-kernel/linux/linux-yocto_5.15.bb index 17faabd65b..10277b9d1c 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.15.bb @@ -13,24 +13,24 @@ KBRANCH:qemux86 ?= "v5.15/standard/base" KBRANCH:qemux86-64 ?= "v5.15/standard/base" KBRANCH:qemumips64 ?= "v5.15/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "4a0228c3af6ce6776b3b8d63422cbdfe42794f08" -SRCREV_machine:qemuarm64 ?= "9bf77a387c75c5b40a93bd1c252fa2f8057ec35b" -SRCREV_machine:qemumips ?= "747b0a4f90c11f9225623c4147d783eacc817236" -SRCREV_machine:qemuppc ?= "997cb3bb3f0ac601c062e6c206c4fbff158cab16" -SRCREV_machine:qemuriscv64 ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" -SRCREV_machine:qemuriscv32 ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" -SRCREV_machine:qemux86 ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" -SRCREV_machine:qemux86-64 ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" -SRCREV_machine:qemumips64 ?= "8ea0652d340b59490387640bbb57669be5f8b47c" -SRCREV_machine ?= "769094f9068a8a2e8a25aade15b06397bcb2f074" -SRCREV_meta ?= "3a5b0494e4760dd7afec9618e572a14e5ff87456" +SRCREV_machine:qemuarm ?= "d121a9301bef475d9619285e71d18809020221ef" +SRCREV_machine:qemuarm64 ?= "8af42265e53233f47b1d9a6a9722e06e624d5fb2" +SRCREV_machine:qemumips ?= "08bcb48e4efd9c46079b2274b7d038763dafe550" +SRCREV_machine:qemuppc ?= "24d636e08d3c92b47b4c398cad7a50ebb61acb28" +SRCREV_machine:qemuriscv64 ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" +SRCREV_machine:qemuriscv32 ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" +SRCREV_machine:qemux86 ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" +SRCREV_machine:qemux86-64 ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" +SRCREV_machine:qemumips64 ?= "4c41aa28a3b367a568f005d7ce35ef7c7f314bfd" +SRCREV_machine ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" +SRCREV_meta ?= "c16749e4e0a2f8a903c36d44f7125dd423600c57" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll # get the /base branch, which is pure upstream -stable, and the same # meta SRCREV as the linux-yocto-standard builds. Select your version using the # normal PREFERRED_VERSION settings. BBCLASSEXTEND = "devupstream:target" -SRCREV_machine:class-devupstream ?= "5ddfe5cc87167343bd4c17f776de7b7aa1475b0c" +SRCREV_machine:class-devupstream ?= "8f790700c974345ab78054e109beddd84539f319" PN:class-devupstream = "linux-yocto-upstream" KBRANCH:class-devupstream = "v5.15/base" @@ -38,7 +38,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.15;destsuffix=${KMETA};protocol=https" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" -LINUX_VERSION ?= "5.15.128" +LINUX_VERSION ?= "5.15.129" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native" From patchwork Sun Oct 1 15:59:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31486 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C6FEE748F7 for ; Sun, 1 Oct 2023 16:00:45 +0000 (UTC) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mx.groups.io with SMTP id smtpd.web10.62425.1696176036466672190 for ; Sun, 01 Oct 2023 09:00:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=KiUA2EP3; spf=softfail (domain: sakoman.com, ip: 209.85.214.175, mailfrom: steve@sakoman.com) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1c60cec8041so82605145ad.3 for ; Sun, 01 Oct 2023 09:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176035; x=1696780835; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=SpNwxdBxSKEaNUdLlMVh+Ufwp63Z9gyv5yk8Lro4xd8=; b=KiUA2EP3mMuGAi9gS33vJx+jbOLMJ5XjuFWHU7miIOoZtXoySVeF3Xs2xKBPUivSYA YnpKO7E585A5wxX3jSu3xQKn4JhAgJJ1J4k3gB6WORFfWS+JBVc9g0oxLgza+wiGW6bB BHFcz7ww7lNRevdb1YlH9vTeI1NpyFbBZMOI+IhtIBX0rf//3Z6lo6JqEp8KUeb9Iir+ fHzwRaMy5fLnFUkXsJpPtus+4pC02NffraItXqg+LSKovZqGGbznwgh6pEi3KxAOYN/h xT2mAmEvOQDWx062wVIc0LTmSuE1yixSyAXZXw3bVBDLgWunWOCiuvBft0lo3VphE5w/ MIkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176035; x=1696780835; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SpNwxdBxSKEaNUdLlMVh+Ufwp63Z9gyv5yk8Lro4xd8=; b=CpKlV2CqyJpfx1X2rq3K6Y9wkM7Lrw3bfrbiLSafVjn3QOFEayfKpvH1aTh4q7vCoK i9lykFvOd1f1JlbUtSf5X3+66wQINmEj+N5Xo0H8BH+1ULZQhc4dBmDIt+HKR/B8YS7J o+653JSlXpt7l2rwJY7+siBzzF6FFBrk7dOIjZcQ4+DmPRDlYMGcB+kK/eJ114xiXelf GL7znqc/2RupC/l7+FZOIpgPtGRZWpBKCMkDPWuq3gTZxOUnVdzHtT+yczuqmem8sAYz zep5H4Y2tDt7mBGpKI3dZa75ysIKvOQqiFr94Cgqpcw0D1Jm6kSjeKN0mXkbqmUlEz3R peLQ== X-Gm-Message-State: AOJu0YxwSOMsImDU9QiUL/qhNMa3IoKY/SP1ZnAMBweV8Lvv9a8OdbVt F2DIJv1Kwq3CNe4BGkwbznqhfKTNyRG/yn2sO+dQcw== X-Google-Smtp-Source: AGHT+IF8q9JLYYxDCbN7Z36mVo3g/oWKw5G8SGrarql7P4igBLGEQj+jlsCFWCbbwO3z2QXVXvdqXA== X-Received: by 2002:a17:902:f688:b0:1c7:615a:8dea with SMTP id l8-20020a170902f68800b001c7615a8deamr1635910plg.66.1696176034571; Sun, 01 Oct 2023 09:00:34 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:34 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 09/23] linux-yocto/5.15: update to v5.15.133 Date: Sun, 1 Oct 2023 05:59:56 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188498 From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: b911329317b4 Linux 5.15.133 e3a29b80e9e6 interconnect: Teach lockdep about icc_bw_lock order c6244cd00c97 drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma 08569c92f7f3 net/sched: Retire rsvp classifier 6b080fa8aae1 drm/amdgpu: fix amdgpu_cs_p1_user_fence 6386a2d4dc01 drm/amd/display: fix the white screen issue when >= 64GB DRAM e04b7073bdce ext4: fix rec_len verify error 93763d58705a scsi: pm8001: Setup IRQs on resume 72a22696cf19 scsi: megaraid_sas: Fix deadlock on firmware crashdump 54603e8a88bc ata: libata: disallow dev-initiated LPM transitions to unsupported states 01c7c38a90bc i2c: aspeed: Reset the i2c controller when timeout occurs 763d39f4e8fb tracefs: Add missing lockdown check to tracefs_create_dir() bf195968e362 nfsd: fix change_info in NFSv4 RENAME replies bf38c1d29f8b tracing: Have option files inc the trace array ref count 85ad4688b7a7 tracing: Have current_trace inc the trace array ref count 962e6723239b tracing: Have tracing_max_latency inc the trace array ref count 380bbd46d61c btrfs: release path before inode lookup during the ino lookup ioctl 779c3cf2749c btrfs: fix lockdep splat and potential deadlock after failure running delayed items f9c78afcee46 ovl: fix incorrect fdput() on aio completion 05a7289a5d4b ovl: fix failed copyup of fileattr on a symlink 8bcb80293be7 attr: block mode changes of symlinks d30af15e460f md/raid1: fix error: ISO C90 forbids mixed declarations abdfde037712 samples/hw_breakpoint: fix building without module unloading 58787ff3d023 x86/purgatory: Remove LTO flags 8abf1ec895d5 x86/boot/compressed: Reserve more memory for page tables e1a27664fcf5 scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file() f0fd24f1fae0 selftests: tracing: Fix to unmount tracefs for recovering environment dded6b81ad68 scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir() 1d5caeac9655 drm: gm12u320: Fix the timeout usage for usb_bulk_msg() b9f0572b38c1 btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super cba491ee38e2 btrfs: add a helper to read the superblock metadata_uuid cb3671a2eeac btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h f16fe29368fd perf test shell stat_bpf_counters: Fix test on Intel ad73216e006f perf test: Remove bash construct from stat_bpf_counters.sh test d8f81baeb9eb MIPS: Use "grep -E" instead of "egrep" dfe961b1e476 mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller 56cf9f446b33 mtd: rawnand: brcmnand: Allow SoC to provide I/O operations 34fcb59437a7 jbd2: correct the end of the journal recovery scan range a4605449cc9f jbd2: rename jbd_debug() to jbd2_debug() db6c90f2671c jbd2: kill t_handle_lock transaction spinlock e9270898222a jbd2: fix use-after-free of transaction_t race b0412dd1c24b jbd2: refactor wait logic for transaction updates into a common function f980bf1586ef printk: Consolidate console deferred printing 9be2957f014d interconnect: Fix locking for runpm vs reclaim f3f6bf22a4f5 kobject: Add sanity check for kset->kobj.ktype in kset_register() 81bbe6667024 media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning d4ef3c9c7947 usb: ehci: add workaround for chipidea PORTSC.PEC bug c829d25e26fb serial: cpm_uart: Avoid suspicious locking 5353df78c226 scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show() b97aaf9faf89 tools: iio: iio_generic_buffer: Fix some integer type and calculation 60a71fd1910e usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc c861a61be6d3 usb: cdns3: Put the cdns set active part outside the spin lock 930c60e13947 media: pci: cx23885: replace BUG with error return 48bb6a9fa5cb media: tuners: qt1010: replace BUG_ON with a regular error 2a33fc57133d media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer 5b1ea100ad36 media: az6007: Fix null-ptr-deref in az6007_i2c_xfer() 3dd5846a8739 media: anysee: fix null-ptr-deref in anysee_master_xfer 033b0c0780ad media: af9005: Fix null-ptr-deref in af9005_i2c_xfer 903566208ae6 media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer() d9ef84a7c222 media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer ca49cef3acaa PCI: fu740: Set the number of MSI vectors d35e7ae10eb8 powerpc/pseries: fix possible memory leak in ibmebus_bus_init() 46870eea5496 ARM: 9317/1: kexec: Make smp stop calls asynchronous ef7311101ca4 jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount aa5b019a3e0f fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount() 7ac65c29b6c2 ext2: fix datatype of block number in ext2_xattr_set2() 4f96c0665f9f md: raid1: fix potential OOB in raid1_remove_disk() f3e9fc7b02b9 bus: ti-sysc: Configure uart quirks for k3 SoC 3157aa794c75 drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable() 78bc9d25997a drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN31 5eca70c14b31 ALSA: hda: intel-dsp-cfg: add LunarLake support e8ba418d4926 samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000' 961df5a3f5cc arm64: dts: qcom: sm8250-edo: correct ramoops pmsg-size 49cd54900078 arm64: dts: qcom: sm8150-kumano: correct ramoops pmsg-size 1e0a38bb840a arm64: dts: qcom: sm6125-pdx201: correct ramoops pmsg-size 201071956ec6 drm/bridge: tc358762: Instruct DSI host to generate HSE packets c64ee9dd3358 wifi: mac80211_hwsim: drop short frames 66594a1e6ddd netfilter: ebtables: fix fortify warnings in size_entry_mwt() fedd9377dd9c wifi: mac80211: check S1G action frame size e08333e2abae alx: fix OOB-read compiler warning 2b0a093cdf59 mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450 0a1f87f0ca76 tpm_tis: Resend command to recover from data transfer errors 67589d247909 crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui() 389106425dee wifi: wil6210: fix fortify warnings ddb8f358b5e0 wifi: mwifiex: fix fortify warning a7ebe459c72e wifi: ath9k: fix printk specifier 3de6b6ab69e2 wifi: ath9k: fix fortify warnings 6b0adfafb073 crypto: lrw,xts - Replace strlcpy with strscpy dc100292e503 devlink: remove reload failed checks in params get/set callbacks 7b7964cd9db3 ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects eda268b5b7ad hw_breakpoint: fix single-stepping when using bpf_overflow_handler 6e743b7261ef perf/imx_ddr: speed up overflow frequency of cycle f9a2c79c2970 perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09 ed1afb597280 ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470 f685311dbe05 scftorture: Forgive memory-allocation failure if KASAN 4f03fba096bf rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle() f1ceff37ac6b kernel/fork: beware of __put_task_struct() calling context 430787056dd3 ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer 766e56faddbe locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock 6994f806c6d1 btrfs: output extra debug info if we failed to find an inline backref 71eeddcad734 autofs: fix memory leak of waitqueues in autofs_catatonic_mode 35ecaa3632bf Linux 5.15.132 0c0d79f3366a pcd: fix error codes in pcd_init_unit() 893978f1b4d1 drm/amd/display: Fix a bug when searching for insert_above_mpcc 0b8e09b39ef3 MIPS: Only fiddle with CHECKFLAGS if `need-compiler' 55d2e7c1ab8e kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg(). e80228b27487 ixgbe: fix timestamp configuration code 5b55dac919ec ipv6: fix ip6_sock_set_addr_preferences() typo 481bd6dcc5fe net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict() 3600c0dc0deb platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events 07c0abc80604 platform/mellanox: mlxbf-pmc: Fix potential buffer overflows 7c34ea34516d platform/mellanox: mlxbf-tmfifo: Drop jumbo frames 694035201aac platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors 97275339c34c kcm: Fix memory leak in error path of kcm_sendmsg() 864da4a5d5eb r8152: check budget for r8152_poll() fbdc4e9908b2 net: dsa: sja1105: hide all multicast addresses from "bridge fdb show" 6a4480c5e6eb hsr: Fix uninit-value access in fill_frame_info() 072324cfab9b net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all() 5bb09dddc724 net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc() 06b4934ab2b5 net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add aea3801c234d kselftest/runner.sh: Propagate SIGTERM to runner child 2f1e86014d0c net: ipv4: fix one memleak in __inet_del_ifa() f086e859ddc2 ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2 8173d9027031 ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size 072cd213c64f block: don't add or resize partition on the disk with GENHD_FL_NO_PART c6ce1c5dd327 block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART 6c06a7f6b41c block: move GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE to disk->event_flags 8247ff0d5036 block: move GENHD_FL_NATIVE_CAPACITY to disk->state 5ad42b999a42 pcd: cleanup initialization 7607bc7fe6cc pcd: move the identify buffer into pcd_identify 242bbe218814 perf hists browser: Fix the number of entries for 'e' key 4d7a8a44e030 perf tools: Handle old data in PERF_RECORD_ATTR a8f91f480c62 perf hists browser: Fix hierarchy mode header 4ee1cf2a5bcc MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression df4d8d5ab647 drm/amd/display: prevent potential division by zero errors 3b51d016bbbf mtd: rawnand: brcmnand: Fix potential false time out warning 2353b7bb61e4 mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write b59ff750bf80 mtd: rawnand: brcmnand: Fix crash during the panic_write ca5218aef9e5 btrfs: use the correct superblock to compare fsid in btrfs_validate_super f3260733894a btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART 7ef0e8b812e0 btrfs: free qgroup rsv on io failure 5fd6f40d17e8 fuse: nlookup missing decrement in fuse_direntplus_link 65b6890c3d01 ata: pata_ftide010: Add missing MODULE_DESCRIPTION 0b62825dc6c3 ata: sata_gemini: Add missing MODULE_DESCRIPTION 81dd61cb1caa ata: pata_falcon: fix IO base selection for Q40 20bc2c470369 lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix() 4315b4a95ecf ext4: add correct group descriptors and reserved GDT blocks to system zone ef5fea70e591 jbd2: check 'jh->b_transaction' before removing it from checkpoint 6778a3857266 jbd2: fix checkpoint cleanup performance regression 6b195e07a2cf dmaengine: sh: rz-dmac: Fix destination and source data size setting 0476f2016ddc ARC: atomics: Add compiler barrier to atomic operations... 3375186d5e3f net/mlx5: Free IRQ rmap and notifier on kernel shutdown 2348a375ee16 sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory() f5160dc17e81 net: hns3: remove GSO partial feature bit 6d548b7cb216 net: hns3: fix the port information display when sfp is absent cc3c67e08169 net: hns3: fix invalid mutex between tc qdisc and dcb ets command issue 2c9643fa6360 net: hns3: fix debugfs concurrency issue between kfree buffer and read 8bfa87cf4a86 net: hns3: fix byte order conversion issue in hclge_dbg_fd_tcam_read() 19280e8dfb52 netfilter: nfnetlink_osf: avoid OOB read 1ad7b189cc14 netfilter: nftables: exthdr: fix 4-byte stack OOB write 347f765176db net: dsa: sja1105: complete tc-cbs offload support on SJA1110 cb4494cfe4b7 net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times 77b850b84d21 net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload d11109c03d6e ip_tunnels: use DEV_STATS_INC() fcfb5842ef9c idr: fix param name in idr_alloc_cyclic() doc 131cd74a8e38 s390/zcrypt: don't leak memory if dev_set_name() fails 12de76fdddb5 igb: Change IGB_MIN to allow set rx/tx value between 64 and 80 7c2f90b1c213 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80 f4c5640d6d38 igc: Change IGC_MIN to allow set rx/tx value between 64 and 80 9210b3dd74ac octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler 1840f08c2a1b kcm: Destroy mutex in kcm_exit_net() 6ea277b2c626 net: sched: sch_qfq: Fix UAF in qfq_dequeue() 3868de7c5361 af_unix: Fix data race around sk->sk_err. d95456660fae af_unix: Fix data-races around sk->sk_shutdown. e5edc6e44a88 af_unix: Fix data-race around unix_tot_inflight. 9151ed4b0061 af_unix: Fix data-races around user->unix_inflight. 907fbed65cec net: phy: micrel: Correct bit assignments for phy_device flags 5d2d3f2300c3 net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr 77dd55f5ec6a veth: Fixing transmit return status for dropped packets 56603b2c82e3 igb: disable virtualization features on 82580 149bc7834d6f ipv4: ignore dst hint for multipath routes e18b49495a52 drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt() 5979985f2d6b xsk: Fix xsk_diag use-after-free error during socket cleanup 49acc5c5b280 net: fib: avoid warn splat in flow dissector ed4e0adfa407 net: read sk->sk_family once in sk_mc_loop() e0b483a0584f ipv4: annotate data-races around fi->fib_dead 74df0319e4e2 sctp: annotate data-races around sk->sk_wmem_queued 973a4c302d7f net/sched: fq_pie: avoid stalls in fq_pie_timer() 5e22217c1142 pwm: lpc32xx: Remove handling of PWM channels 676152264dec watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load d6aa2be1379d perf top: Don't pass an ERR_PTR() directly to perf_session__delete() 79bd17c99ec9 perf vendor events: Drop some of the JSON/events for power10 platform 1356eaceef34 perf vendor events: Update the JSON/events descriptions for power10 platform 24481d5c7413 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm() 6e9863165674 perf annotate bpf: Don't enclose non-debug code with an assert() 184be0d59242 Input: tca6416-keypad - fix interrupt enable disbalance 0b79f5a19cfb Input: tca6416-keypad - always expect proper IRQ number in i2c client 1e3167aa4ba2 backlight: gpio_backlight: Drop output GPIO direction check for initial power state 6fc8bdc3cf4c pwm: atmel-tcb: Fix resource freeing in error path and remove 6b2bb1a1a63c pwm: atmel-tcb: Harmonize resource allocation order d4734ef765eb pwm: atmel-tcb: Convert to platform remove callback returning void c3bc668581e7 perf trace: Really free the evsel->priv area 8e96f741b328 perf trace: Use zfree() to reduce chances of use after free 414cf7a2cc87 kconfig: fix possible buffer overflow be9ce0dbde4f gfs2: low-memory forced flush fixes 751facd3634c gfs2: Switch to wait_event in gfs2_logd d0245b066971 kbuild: do not run depmod for 'make modules_sign' 05333a6a21e3 bus: mhi: host: Skip MHI reset if device is in RDDM e2964c98ec31 NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info da302f1d476a NFS: Fix a potential data corruption 0db19df21be5 clk: qcom: mss-sc7180: fix missing resume during probe f64f682be7c8 clk: qcom: q6sstop-qcs404: fix missing resume during probe b2f39b813d1e soc: qcom: qmi_encdec: Restrict string length in decode e61db8922631 clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock a8474506c912 clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz a69b951c8398 dt-bindings: clock: xlnx,versal-clk: drop select:false ead2436cf05e pinctrl: cherryview: fix address_space_handler() argument 8859f58c1790 parisc: led: Reduce CPU overhead for disk & lan LED computation 2655e1d970cf parisc: led: Fix LAN receive and transmit LEDs 7ad44409cd3b lib/test_meminit: allocate pages up to order MAX_ORDER 2d8138cea71d clk: qcom: turingcc-qcs404: fix missing resume during probe 9f5db4ab19f8 drm/ast: Fix DRAM init on AST2200 cfc47807a482 clk: qcom: camcc-sc7180: fix async resume during probe 309c27162afe fbdev/ep93xx-fb: Do not assign to struct fb_info.dev 4316e951f164 scsi: qla2xxx: Fix firmware resource tracking 7b89c3727bff scsi: qla2xxx: Error code did not return to upper layer 15a71bb25beb scsi: qla2xxx: Fix smatch warn for qla_init_iocb_limit() 106392156273 scsi: qla2xxx: Flush mailbox commands on chip reset def49a05aef4 scsi: qla2xxx: Remove unsupported ql2xenabledif option be12c9f4c60c scsi: qla2xxx: Fix TMF leak through 4322f3de9f21 scsi: qla2xxx: Fix session hang in gnl a4708402c458 scsi: qla2xxx: Turn off noisy message log b0453b0cf506 scsi: qla2xxx: Fix erroneous link up failure 5934b2125f5b scsi: qla2xxx: Fix command flush during TMF 4a16a46c8481 scsi: qla2xxx: fix inconsistent TMF timeout f1ea164be545 scsi: qla2xxx: Fix deletion race condition 683945b17724 scsi: qla2xxx: Limit TMF to 8 per function fde268c234d1 scsi: qla2xxx: Adjust IOCB resource on qpair create c29848249f78 io_uring: break iopolling on signal 0def123f1254 io_uring: break out of iowq iopoll on teardown 1a0aba2bf293 io_uring: always lock in io_apoll_task_func 2920cc4c64a1 net/ipv6: SKB symmetric hash should incorporate transport ports 529bcc70c49c udf: initialize newblock to 0 fae2d591f3cb Revert "drm/amdgpu: install stub fence into potential unused fence pointers" f01e21d6c7ed md/md-bitmap: remove unnecessary local variable in backlog_store() 99a8d14d7965 tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY 05c581ad3e7b perf/x86/uncore: Correct the number of CHAs on EMR 861cfdc51f22 x86/sgx: Break up long non-preemptible delays in sgx_vepc_release() 7e3ddbea87a9 USB: core: Fix oversight in SuperSpeed initialization 7fe9d8799606 USB: core: Fix race by not overwriting udev->descriptor in hub_port_init() eda9a2966582 USB: core: Change usb_get_device_descriptor() API 56c49a3328e9 USB: core: Unite old scheme and new scheme descriptor reads 0ad6bad31da6 usb: typec: bus: verify partner exists in typec_altmode_attention 31220bd89c22 usb: typec: tcpm: set initial svdm version based on pd revision 3acc6b9f266f cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug cb65ad51f1bd crypto: stm32 - fix loop iterating through scatterlist for DMA 9ab2c149c2e7 s390/ipl: add missing secure/has_secure file to ipl type 'unknown' 6aff2732577c arm64: sdei: abort running SDEI handlers during crash fedecaeef888 pstore/ram: Check start of empty przs during init 8d68582b93e6 mmc: renesas_sdhi: register irqs before registering controller 5294144b6ad2 fsverity: skip PKCS#7 parser when keyring is empty 86608e1b0c6f net: handle ARPHRD_PPP in dev_is_mac_header_xmit() 51ffed9ca1a4 X.509: if signature is unsupported skip validation 6ecf09699eb1 dccp: Fix out of bounds access in DCCP error handler 7a2978e8d3c0 dlm: fix plock lookup when using multiple lockspaces 703cf47d47ba parisc: Fix /proc/cpuinfo output for lscpu 49a49d442075 procfs: block chmod on /proc/thread-self/comm 44f6ec589353 Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset" d73d3787c9d1 ntb: Fix calculation ntb_transport_tx_free_entry() da0c7293f4db ntb: Clean up tx tail index on link down bfa051f650a7 ntb: Drop packets when qp link is down 8f4edcd65534 scsi: mpt3sas: Perform additional retries if doorbell read returns 0 58388f2958f6 Revert "scsi: qla2xxx: Fix buffer overrun" bd188d1e3855 media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts 6e9632a01e6d media: dvb: symbol fixup for dvb_attach() 9a43563cfd6b arm64: csum: Fix OoB access in IP checksum code for negative lengths a0a49da2a79a i3c: master: svc: fix probe failure when no i3c device exist a905ac21b2ab xtensa: PMU: fix base address for the newer hardware 8742dbf9c25d backlight/lv5207lp: Compare against struct fb_info.device 568132f74cb1 backlight/bd6107: Compare against struct fb_info.device 4e7b4ddc900c backlight/gpio_backlight: Compare against struct fb_info.device 3b018c3d1016 ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch() cbb7d8a4b4be ipmi_si: fix a memleak in try_smi_init() 6043dd31f771 PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address aba1bf197467 media: i2c: ccs: Check rules is non-NULL df64819dd6a0 mm/vmalloc: add a safer version of find_vm_area() for debug 20b7d0a62ad1 scsi: core: Fix the scsi_set_resid() documentation 20990d6a8543 printk: ringbuffer: Fix truncating buffer size min_t cast 0a22f9c17b1a rcu: dump vmalloc memory info safely d479c841b18d ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl 111bafa210ae PM / devfreq: Fix leak in devfreq_dev_release() be7353af5b35 igb: set max size RX buffer when store bad packet is enabled d5790386595d skbuff: skb_segment, Call zero copy functions before using skbuff frags 267a29f8bfdb netfilter: xt_sctp: validate the flag_info count b3d07714ad24 netfilter: xt_u32: validate user space input a9e6142e5f8f netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c 3e48f741e98a igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU de16cb7986f2 virtio_ring: fix avail_wrap_counter in virtqueue_add_packed d6f80ddb9eda cpufreq: Fix the race condition while updating the transition_task of policy 42d8c7fa0bf6 dmaengine: ste_dma40: Add missing IRQ check in d40_probe 329d0f168c8f um: Fix hostaudio build errors 58d17e766093 mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume() 679a71b31179 mtd: spi-nor: Check bus width while setting QE bit 8869fd166f23 leds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead 0f715ea7d36e leds: multicolor: Use rounded division when calculating color components 1a68bef23726 leds: pwm: Fix error code in led_pwm_create_fwnode() abd740db896b rpmsg: glink: Add check for kstrdup b45cf29f97a2 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write 40d637359f3f phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate 52942a47d034 phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328 31d7e6c7689b mtd: rawnand: brcmnand: Fix mtd oobsize 6182318ac046 tracing: Fix race issue between cpu buffer write and swap 548f48ec1915 tracing: Remove extra space at the end of hwlat_detector/mode 2ba8bb00720a x86/speculation: Mark all Skylake CPUs as vulnerable to GDS dde88ab4e45b HID: multitouch: Correct devm device reference for hidinput input_dev name 4fb28379b3c7 HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode() 1bb42aca7a96 Revert "IB/isert: Fix incorrect release of isert connection" 4f1807fddd9b amba: bus: fix refcount leak 1c3701373463 serial: tegra: handle clk prepare error in tegra_uart_hw_init() 076fb40cf27a scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock c4772759abe1 scsi: core: Use 32-bit hostnum in scsi_host_lookup() 6248f4305378 cgroup:namespace: Remove unused cgroup_namespaces_init() 04824d50e6b5 media: i2c: rdacm21: Fix uninitialized value f3572eef8551 media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors 205f71744176 media: ov2680: Fix ov2680_set_fmt() which == V4L2_SUBDEV_FORMAT_TRY not working 89ecb4b40094 media: ov2680: Add ov2680_fill_format() helper function 784d1b83ae2c media: ov2680: Don't take the lock for try_fmt calls dbb717b4ee68 media: ov2680: Remove VIDEO_V4L2_SUBDEV_API ifdef-s 4c1a5c2885d4 media: ov2680: Fix vflip / hflip set functions 958905ed42b8 media: ov2680: Fix ov2680_bayer_order() cdd5fca7200d media: ov2680: Remove auto-gain and auto-exposure controls 322a805ffdff media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips abba34017e16 media: ov5640: Enable MIPI interface in ov5640_set_power_mipi() 1717f67be875 USB: gadget: f_mass_storage: Fix unused variable warning 121b8d30f42c media: venus: hfi_venus: Only consider sys_idle_indicator on V1 f6b483ead6dc media: go7007: Remove redundant if statement d079a3e1ccdd platform/x86: dell-sysman: Fix reference leak 426bd7418701 iommu/vt-d: Fix to flush cache of PASID directory table 9dc6f660815a iommu/qcom: Disable and reset context bank before programming 3274e32fc969 fsi: aspeed: Reset master errors after CFAM reset 7a17deca33e1 IB/uverbs: Fix an potential error pointer dereference 42d111304dd7 RDMA/hns: Fix CQ and QP cache affinity b051c3bf3bdf RDMA/hns: Fix incorrect post-send with direct wqe of wr-list 154822356e4d RDMA/hns: Fix port active speed de4aca5b284e iommu/sprd: Add missing force_aperture 46b76f13f1ad driver core: test_async: fix an error code a6992ecefe5d dma-buf/sync_file: Fix docs syntax d3256d80406c coresight: tmc: Explicit type conversions to prevent integer overflow 93a5b461a4e1 RDMA/irdma: Replace one-element array with flexible-array member 97097ea2f37e scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly 1c996be7f233 scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly cb6d20a8b5d7 scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly 2f0d202d82b9 x86/APM: drop the duplicate APM_MINOR_DEV macro f34508d934c4 serial: sprd: Fix DMA buffer leak issue c54c66d904fa serial: sprd: Assign sprd_port after initialized to avoid wrong access f61fc650c478 scsi: qla4xxx: Add length check when parsing nlattrs 46ad449efde1 scsi: be2iscsi: Add length check when parsing nlattrs 4bd57d889099 scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param() e9bac3cc744f scsi: iscsi: Add length check for nlattr payload 9285efd95996 scsi: iscsi: Rename iscsi_set_param() to iscsi_if_set_param() 7231d60d41c4 scsi: RDMA/srp: Fix residual handling 484ddaa90b7e usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host() cbb8f7097e11 media: mediatek: vcodec: Return NULL if no vdec_fb is found 18dc93de9019 media: rkvdec: increase max supported height for H.264 f1e7d999f37e scsi: hisi_sas: Fix normally completed I/O analysed as failed 46d1b2a3d5a6 scsi: hisi_sas: Fix warnings detected by sparse e454e985950b scsi: hisi_sas: Modify v3 HW SATA completion error processing 7caac45b52f4 scsi: hisi_sas: Modify v3 HW SSP underflow error processing f64d02822b82 media: cx24120: Add retval check for cx24120_message_send() 7ca7cd02114a media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer() fb24b65aaccd media: dib7000p: Fix potential division by zero 56a3d8ae4576 drivers: usb: smsusb: fix error handling code in smsusb_init_device d1b51b130d32 iommu: rockchip: Fix directory table address encoding a50d60b8f2af iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind caf058833b6f media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link() 711e9e44f6c4 media: i2c: tvp5150: check return value of devm_kasprintf() 30d4380eb030 media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables 663114dfc178 RDMA/qedr: Remove a duplicate assignment in irdma_query_ah() 1473e40b3912 pNFS: Fix assignment of xprtdata.cred fb7ddc1138b0 NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ 53a1e5ab1b11 NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN 19a648a07572 NFSD: da_addr_body field missing in some GETDEVICEINFO replies b0f127a7c635 fs: lockd: avoid possible wrong NULL parameter 8f994b830dd0 jfs: validate max amount of blocks before allocation. f6a84ef1d080 ext4: fix unttached inode after power cut with orphan file feature enabled a9ddbfed5346 powerpc/iommu: Fix notifiers being shared by PCI and VIO buses a70c8de30514 nfs/blocklayout: Use the passed in gfp flags 2935443dc9c2 powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT 75dcb650a7ef powerpc: Don't include lppaca.h in paca.h cefcb002c5c9 PCI: layerscape: Add workaround for lost link capabilities during reset 4be323c73797 PCI: layerscape: Add the endpoint linkup notifier support 69c712389e1f PCI: dwc: Add start_link/stop_link inlines aac0a9a1577b wifi: ath10k: Use RMW accessors for changing LNKCTL 3539bab5f9de wifi: ath11k: Use RMW accessors for changing LNKCTL ea670d0146a3 net/mlx5: Use RMW accessors for changing LNKCTL 348ef09df984 drm/radeon: Use RMW accessors for changing LNKCTL 5468237382ed drm/amdgpu: Use RMW accessors for changing LNKCTL 00f79e78bf4b powerpc/perf: Convert fsl_emb notifier to state machine callbacks a26a5e4be2c4 powerpc/fadump: reset dump area size if fadump memory reserve fails 13fd667db999 vfio/type1: fix cap_migration information leak 6b708243d3d9 powerpc/radix: Move some functions into #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE dbde1d9c54e2 clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op 824e97302fd8 clk: imx8mp: fix sai4 clock 66ef144dbdf9 PCI/ASPM: Use RMW accessors for changing LNKCTL f46fa8ab8d82 PCI: pciehp: Use RMW accessors for changing LNKCTL 759d978e831b pinctrl: mcp23s08: check return value of devm_kasprintf() 02faf0bd6fdc PCI: Mark NVIDIA T4 GPUs to avoid bus reset 4c20a4143276 PCI: microchip: Correct the DED and SEC interrupt bit offsets 377f7aeddda0 clk: qcom: gcc-sm6350: Fix gcc_sdcc2_apps_clk_src 1c4a98c55fa3 clk: qcom: reset: Use the correct type of sleep/delay based on length bd4eff9c835a clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src b1cb8bf42b36 ext4: avoid potential data overflow in next_linear_group 3e24082f1682 ext4: correct grp validation in ext4_mb_good_group febacbefe451 EDAC/igen6: Fix the issue of no error events 964f62caac08 clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src f1399e1543e7 clk: sunxi-ng: Modify mismatched function name 92913d32e719 drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init() 3ad53071fe85 ipmi:ssif: Fix a memory leak when scanning for an adapter 7792869495b6 ipmi:ssif: Add check for kstrdup 53abafedfeb7 ALSA: ac97: Fix possible error value of *rac97 48fc5717b249 of: unittest: Fix overlay type in apply/revert check 01bb96ad3808 of: overlay: Call of_changeset_init() early 30f04a41e7d7 md: raid0: account for split bio in iostat accounting 9643cc0b1771 md/raid0: Fix performance regression for large sequential writes 17fbf7da491f md/raid0: Factor out helper for mapping and submitting a bio d04f1e322f52 md: add error_handlers for raid0 and linear d8b6adb84041 md: Set MD_BROKEN for RAID1 and RAID10 a68fabdad970 bus: ti-sysc: Fix cast to enum warning 7636dfc42b66 arm64: dts: qcom: apq8016-sbc: Fix ov5640 regulator supply names fff4d36247e8 drm/mediatek: Fix potential memory leak if vmap() fail e5758ad9a34f drm/mediatek: Remove freeing not dynamic allocated memory 97274bea0136 bus: ti-sysc: Fix build warning for 64-bit build cc6b09671d0c io_uring: fix drain stalls by invalid SQE 0152e7758cc4 audit: fix possible soft lockup in __audit_inode_child() 48e4c4819039 drm/msm/a2xx: Call adreno_gpu_init() earlier 76c3ad12441f drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create() 32e060927351 smackfs: Prevent underflow in smk_set_cipso() 502dfc5875ba firmware: meson_sm: fix to avoid potential NULL pointer dereference c0b1eee64870 drm/msm/mdp5: Don't leak some plane state d0b82c217feb drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask b7b0c48851c4 ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig 8025396b76e9 drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01 27eee65b2e31 drm/armada: Fix off-by-one error in armada_overlay_get_property() cc9254b24a4b arm64: dts: qcom: sm8150: Fix the I2C7 interrupt ea5bc6f5aa09 of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name() 4197eeb55f4b drm/tegra: dpaux: Fix incorrect return value of platform_get_irq 9712279e9743 drm/msm: Update dev core dump to not print backwards 8ef5d1f16d92 md/md-bitmap: hold 'reconfig_mutex' in backlog_store() 382638364711 md/bitmap: don't set max_write_behind if there is no write mostly device a3d36107ee48 md/raid10: use dereference_rdev_and_rrdev() to get devices 94ca5eed9530 md/raid10: factor out dereference_rdev_and_rrdev() 246bac7d3c3e drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl' de93b4711ac2 arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk" a9e56fa8a0ca arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC db0ba312542d ARM: dts: BCM53573: Fix Ethernet info for Luxul devices c4413633ef78 drm: adv7511: Fix low refresh rate register for ADV7533/5 57b6d92c79e9 ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split) b7f47031e319 ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210 2f0246b3c7ff ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split) d12beb1b1ee5 ARM: dts: s3c64xx: align pinctrl with dtschema 188f2d41fa5d x86/mm: Fix PAT bit missing from page protection modify mask 1dd43e1e54d5 drm/etnaviv: fix dumping of active MMU context 1634fe406c34 arm64: dts: qcom: pmi8994: Add missing OVP interrupt 4b7eb5e2c1c4 arm64: dts: qcom: Move WLED num-strings from pmi8994 to sony-xperia-tone 92919d98e673 arm64: dts: qcom: pmi8994: Remove hardcoded linear WLED enabled-strings 365909857242 arm64: dts: qcom: pm660l: Add missing short interrupt ea48fd91df12 arm64: dts: qcom: correct SPMI WLED register range encoding eee01e0d6abe arm64: dts: qcom: pmi8998: Add node for WLED b788afdbfd5a arm64: dts: qcom: sm8250-sony-xperia: correct GPIO keys wakeup again 2840d9b9c875 ARM: dts: BCM53573: Use updated "spi-gpio" binding properties b35f3ca1877e ARM: dts: BCM53573: Add cells sizes to PCIe node bed08bb83292 drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar() 261e69456617 arm64: dts: qcom: sm8250: Mark PCIe hosts as DMA coherent 12a93e53eaf0 arm64: dts: qcom: pmk8350: fix ADC-TM compatible string 4c9a637258bb arm64: dts: qcom: sm8350: Use proper CPU compatibles 4c918fb77dea arm64: dts: qcom: sm8350: Add missing LMH interrupts to cpufreq 9c022ab2db40 arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller bda65ecaec97 arm64: dts: qcom: sm8250-edo: Rectify gpio-keys 6119aaced94f arm64: dts: qcom: sm8250-edo: Add GPIO line names for PMIC GPIOs c0dc9d7d3f2b arm64: dts: qcom: sm8250-edo: Add gpio line names for TLMM d2d698daa1fa arm64: dts: qcom: sm8250: correct dynamic power coefficients 510bae3d37f7 soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros b08c7a31baeb soc: qcom: ocmem: Add OCMEM hardware version print dc04034502e6 ASoC: stac9766: fix build errors with REGMAP_AC97 89602de9a2d7 quota: fix dqput() to follow the guarantees dquot_srcu should provide 1df46e717ee9 quota: add new helper dquot_active() bd0a6452f070 quota: rename dquot_active() to inode_quota_active() 5b8240223407 quota: factor out dquot_write_dquot() 6c6efd3a1d06 drm/bridge: tc358764: Fix debug print parameter order a48e7def0006 netrom: Deny concurrent connect(). 4cf994d3f4ff net/sched: sch_hfsc: Ensure inner classes have fsc curve edb5b1b3b9f8 hwmon: (tmp513) Fix the channel number in tmp51x_is_visible() a85fd8116555 mlxsw: i2c: Limit single transaction buffer size 7790b6a2f5f0 mlxsw: i2c: Fix chunk size setting in output mailbox buffer 510e0cbd6408 net: arcnet: Do not call kfree_skb() under local_irq_disable() 93a572b9d42f wifi: ath9k: use IS_ERR() with debugfs_create_dir() 5138beea8e7f Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave() d7fd24b8d1bb wifi: mwifiex: avoid possible NULL skb pointer dereference 71ce8be48bf0 wifi: nl80211/cfg80211: add forgotten nla_policy for BSS color attribute 11f93fff6e8a wifi: ath9k: protect WMI command response buffer replacement with a lock 6904c7afd512 wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx cec7db9ea031 samples/bpf: fix broken map lookup probe 89f19a9a055d wifi: mwifiex: Fix missed return in oob checks failed path 308eb3a609ac wifi: mwifiex: fix memory leak in mwifiex_histogram_read() 9c00731bf05d fs: ocfs2: namei: check return value of ocfs2_add_entry() f683992d30ee lwt: Check LWTUNNEL_XMIT_CONTINUE strictly e3f647e4b642 lwt: Fix return values of BPF xmit ops 4ff998134025 hwrng: iproc-rng200 - Implement suspend and resume calls 5a70ab6b59b2 crypto: caam - fix unchecked return value error 660b6b1c5cf8 ice: ice_aq_check_events: fix off-by-one check when filling buffer 55fab9389d65 net-memcg: Fix scope of sockmem pressure indicators 41c40d84838d selftests/bpf: Clean up fmod_ret in bench_rename test script 50c78e71446d net: tcp: fix unexcepted socket die when snd_wnd is 0 942d8cefb022 Bluetooth: Fix potential use-after-free when clear keys 7b0243d26a71 Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe() 048545d9fc64 crypto: api - Use work queue in crypto_destroy_instance 56cb7bbefcaf crypto: stm32 - Properly handle pm_runtime_get failing e3c4a6b073e4 selftests/bpf: fix static assert compilation issue for test_cls_*.c 43423b3e0467 wifi: mwifiex: fix error recovery in PCIE buffer descriptor management 7c54b6fc39eb wifi: mwifiex: Fix OOB and integer underflow when rx packets a20b96cf6925 wifi: mt76: mt7915: fix power-limits while chan_switch 5c75a4379589 can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM 890843254f38 spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe() 2ff9ac0cf25f wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH 802008e8c73a ipv6: Add reasons for skb drops to __udp6_lib_rcv 7dcbc0bb0e5c bpf: reject unhashed sockets in bpf_sk_assign caa2883b1885 udp: re-score reuseport groups when connected sockets are present b60dfa4559d8 regmap: rbtree: Use alloc_flags for memory allocations 34f1180658d9 hwrng: pic32 - use devm_clk_get_enabled 5af3c8676b36 hwrng: nomadik - keep clock enabled while hwrng is registered 14c6d1e80847 tcp: tcp_enter_quickack_mode() should be static 7b75b4c90a9e bpf: Clear the probe_addr for uprobe 75d3960be702 bpftool: Use a local bpf_perf_event_value to fix accessing its fields 8ea6871116d5 cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit() be2092d2a703 x86/efistub: Fix PCI ROM preservation in mixed mode 9eb25ea7b65d ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table 26097a7f28b3 ACPI: x86: s2idle: Post-increment variables when getting constraints 8a962f11a95b s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs 7833a74f8d00 s390/pkey: fix/harmonize internal keyblob headers 208383d68510 selftests/futex: Order calls to futex_lock_pi c7802ff51adc perf/imx_ddr: don't enable counter0 if none of 4 counters are used 0a872a0521c8 x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved 3af6f77e8090 selftests/resctrl: Close perf value read fd on errors 4505ad996b66 selftests/resctrl: Unmount resctrl FS if child fails to run benchmark c68a196e7ff6 selftests/resctrl: Don't leak buffer in fill_cache() fdcb63afd3f6 selftests/resctrl: Add resctrl.h into build deps b2ba11ed4d10 selftests/resctrl: Make resctrl_tests run using kselftest framework e0478944f4a5 OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd() ec9d118ad99d refscale: Fix uninitalized use of wait_queue_head_t e280033ef135 ARM: ptrace: Restore syscall skipping for tracers 4c3f33904dea ARM: ptrace: Restore syscall restart tracing 0481251b7cd6 selftests/harness: Actually report SKIP for signal tests 060ca3f7899a tmpfs: verify {g,u}id mount options correctly d412e9b34b90 fs: Fix error checking for d_hash_and_lookup() a4229f93bc54 eventfd: prevent underflow for eventfd semaphores cedb8719333d reiserfs: Check the return value from __getblk() c1a4117f1544 Revert "net: macsec: preserve ingress frame ordering" 40671f90d5b5 udf: Handle error when adding extent to a file 099bf90d7fc4 udf: Check consistency of Space Bitmap Descriptor 7039aa1be9cc of: kexec: Mark ima_{free,stable}_kexec_buffer() as __init 759d51eda2d0 net: Avoid address overwrite in kernel_connect 7c4cce5700b9 arm64: lib: Import latest version of Arm Optimized Routines' strncmp 104df1c695c1 crypto: rsa-pkcs1pad - Use helper to set reqsize 273f4615314f platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications 9ef5c25bcf1b tracing: Introduce pipe_cpumask to avoid race on trace_pipes 8c1b60dad0f5 ALSA: seq: oss: Fix racy open/close of MIDI devices fa05aea28195 scsi: lpfc: Fix incorrect big endian type assignment in bsg loopback path f0bf8a071134 scsi: storvsc: Always set no_report_opcodes e9e62419e797 sctp: handle invalid error codes without calling BUG() 3714bb4a1df8 bnx2x: fix page fault following EEH recovery 53b8cc2f9685 netlabel: fix shift wrapping bug in netlbl_catmap_setlong() 867cdd7f9544 drm/amdgpu: Match against exact bootloader status 0863204deb3c net: hns3: restore user pause configure when disable autoneg ac93def0dbb4 scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock bef6c89a92d0 scsi: lpfc: Remove reftag check in DIF paths b439e33a8c93 idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM 156b803194ae wifi: brcmfmac: Fix field-spanning write in brcmf_scan_params_v2_to_v1() 87ea5e89407e net: usb: qmi_wwan: add Quectel EM05GV2 e1313fa9d2e3 vmbus_testing: fix wrong python syntax for integer value comparison 5faad57ba6c7 clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM e13f0dd5fbe2 kprobes: Prohibit probing on CFI preamble symbol ee49b97cb5ae security: keys: perform capable check only on privileged operations f44f50305de2 ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer() a85c523aeccd ovl: Always reevaluate the file signature for IMA 3faa126258a9 drm/amd/display: Exit idle optimizations before attempt to access PHY c152ca4f219b platform/x86: huawei-wmi: Silence ambient light sensor a9988b9c7a31 platform/x86/intel/hid: Add HP Dragonfly G2 to VGBS DMI quirks 7f3901b04c8f platform/x86: intel: hid: Always call BTNL ACPI method 23151421ed01 ASoC: atmel: Fix the 8K sample parameter in I2SC master c934d2a6970c ASoC: rt711-sdca: fix for JD event handling in ClockStop Mode0 20587011d271 ASoC: rt711: fix for JD event handling in ClockStop Mode0 b41f79896456 ASoc: codecs: ES8316: Fix DMIC config cc2b0a2055dc ASoC: rt5682-sdw: fix for JD event handling in ClockStop Mode0 5b64fc2471f9 fs/nls: make load_nls() take a const parameter f85908f6bfd2 s390/dasd: fix hanging device after request requeue a4845e694893 s390/dasd: use correct number of retries for ERP requests e062aa1acf9b m68k: Fix invalid .section syntax bbfa7d712b24 vxlan: generalize vxlan_parse_gpe_hdr and remove unused args b10215ffdb01 ethernet: atheros: fix return value check in atl1c_tso_csum() 6bb94f46d31a ASoC: da7219: Check for failure reading AAD IRQ events 279a6dad0cd9 ASoC: da7219: Flush pending AAD IRQ when suspending d424c636b750 ksmbd: no response from compound read 82373d1b763e ksmbd: fix out of bounds in smb3_decrypt_req() 20d449a08749 9p: virtio: make sure 'offs' is initialized in zc_request c4269c7258d9 media: pci: cx23885: fix error handling for cx23885 ATSC boards 17d75773b66e media: pulse8-cec: handle possible ping error f281a3739399 phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code dfff9c91cbb0 ARM: dts: imx: Set default tuning step for imx7d usdhc 4e364cab1331 ARM: dts: imx: Adjust dma-apbh node name 99319298fd9a ARM: dts: imx7s: Drop dma-apb interrupt-names 1dc2c12854b6 ARM: dts: imx: update sdma node name format aff03380bda4 Linux 5.15.131 cd8ab566cf17 usb: typec: tcpci: clear the fault status bit 403b2e940910 usb: typec: tcpci: move tcpci.h to include/linux/usb/ f29483873e24 pinctrl: amd: Don't show `Invalid config param` errors b911bef132a0 nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse 1c6ddf739f15 nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers() f6e61aef5c5d tcpm: Avoid soft reset when partner does not support get_status da0e7d435e31 fsi: master-ast-cf: Add MODULE_FIRMWARE macro 72eca651d732 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe 907216337bea serial: sc16is7xx: fix bug when first setting GPIO direction 45d9611ebff2 serial: sc16is7xx: fix broken port 0 uart init f90e267dd27e serial: qcom-geni: fix opp vote on shutdown 46d13013b574 wifi: mt76: mt7921: do not support one stream on secondary antenna only a5c2a467e9e7 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition f49294ad6898 staging: rtl8712: fix race condition d17cec60e87c HID: wacom: remove the battery when the EKR is off 842c7da3eee2 usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0 276a906f81a7 usb: dwc3: meson-g12a: do post init to fix broken usb after resumption 60f938e84fbb ALSA: usb-audio: Fix init call orders for UAC1 e949dd2a9b6b USB: serial: option: add FOXCONN T99W368/T99W373 product c41411d8b333 USB: serial: option: add Quectel EM05G variant (0x030e) 09baa839d415 modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules 997a194914c4 rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff 3d0f6408601b net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index da95090821c4 mmc: au1xmmc: force non-modular build and remove symbol_get usage e3e68100c036 ARM: pxa: remove use of symbol_get() bb5bf157b5be ksmbd: replace one-element array with flex-array member in struct smb2_ea_info 2e3f57f74c0a ksmbd: fix wrong DataOffset validation of create context b3ad7f39fd85 erofs: ensure that the post-EOF tails are all zeroed 8f790700c974 Linux 5.15.130 69347c334071 rcu-tasks: Add trc_inspect_reader() checks for exiting critical section 8046fb611f70 rcu-tasks: Wait for trc_read_check_handler() IPIs da22db901cc1 rcu-tasks: Fix IPI failure handling in trc_wait_for_one_reader a0249d365ac8 rcu: Prevent expedited GP from enabling tick on offline CPU 7aec063d6029 ARM: module: Use module_init_layout_section() to spot init sections 4a8976052acd arm64: module: Use module_init_layout_section() to spot init sections f8a74159d116 arm64: module-plts: inline linux/moduleloader.h 363bbb5008e5 module: Expose module_init_layout_section() 758e3d0cb753 ACPI: thermal: Drop nocrt parameter Signed-off-by: Bruce Ashfield Signed-off-by: Steve Sakoman --- .../linux/linux-yocto-rt_5.15.bb | 6 ++--- .../linux/linux-yocto-tiny_5.15.bb | 6 ++--- meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb index acac15d2e9..e0c0ca75b0 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb @@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "821659458e4746c3f4fa690a8744cd23efa8a666" -SRCREV_meta ?= "c16749e4e0a2f8a903c36d44f7125dd423600c57" +SRCREV_machine ?= "5ed6828a27530bc00cc2fb04f2d2ea3ac2cb7f69" +SRCREV_meta ?= "929bb5cf4d6cc49061f61341508ec12fd2f22db1" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https" -LINUX_VERSION ?= "5.15.129" +LINUX_VERSION ?= "5.15.133" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb index cc8e6ee393..afe87d5d0b 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb @@ -5,7 +5,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.15.129" +LINUX_VERSION ?= "5.15.133" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" @@ -14,8 +14,8 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "bbc3bff691a772d78872031baa1ef2d90506fdfb" -SRCREV_meta ?= "c16749e4e0a2f8a903c36d44f7125dd423600c57" +SRCREV_machine ?= "5a7d2f3bd8beda38572df4381722d3be525456b6" +SRCREV_meta ?= "929bb5cf4d6cc49061f61341508ec12fd2f22db1" PV = "${LINUX_VERSION}+git${SRCPV}" diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb b/meta/recipes-kernel/linux/linux-yocto_5.15.bb index 10277b9d1c..f38457f7fc 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.15.bb @@ -13,24 +13,24 @@ KBRANCH:qemux86 ?= "v5.15/standard/base" KBRANCH:qemux86-64 ?= "v5.15/standard/base" KBRANCH:qemumips64 ?= "v5.15/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "d121a9301bef475d9619285e71d18809020221ef" -SRCREV_machine:qemuarm64 ?= "8af42265e53233f47b1d9a6a9722e06e624d5fb2" -SRCREV_machine:qemumips ?= "08bcb48e4efd9c46079b2274b7d038763dafe550" -SRCREV_machine:qemuppc ?= "24d636e08d3c92b47b4c398cad7a50ebb61acb28" -SRCREV_machine:qemuriscv64 ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" -SRCREV_machine:qemuriscv32 ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" -SRCREV_machine:qemux86 ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" -SRCREV_machine:qemux86-64 ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" -SRCREV_machine:qemumips64 ?= "4c41aa28a3b367a568f005d7ce35ef7c7f314bfd" -SRCREV_machine ?= "ba24506cdeee4abb7f94cc4678131e01bccfa344" -SRCREV_meta ?= "c16749e4e0a2f8a903c36d44f7125dd423600c57" +SRCREV_machine:qemuarm ?= "3c179d81e35db973bf0e1ce29533ebcbacf59eab" +SRCREV_machine:qemuarm64 ?= "2d42957c8fe4fd81adf61232b475d6f09393ef6c" +SRCREV_machine:qemumips ?= "f281f9161a213e2428c0f1ac66de0588203e8070" +SRCREV_machine:qemuppc ?= "3e28c1dc0fe41251516694e81a4915dc650f13f7" +SRCREV_machine:qemuriscv64 ?= "1f24338cb789ef1f09485ceff38173d2b6d9b412" +SRCREV_machine:qemuriscv32 ?= "1f24338cb789ef1f09485ceff38173d2b6d9b412" +SRCREV_machine:qemux86 ?= "1f24338cb789ef1f09485ceff38173d2b6d9b412" +SRCREV_machine:qemux86-64 ?= "1f24338cb789ef1f09485ceff38173d2b6d9b412" +SRCREV_machine:qemumips64 ?= "2afb645f88de7f44fd4205a0eea3aa25132ddc64" +SRCREV_machine ?= "1f24338cb789ef1f09485ceff38173d2b6d9b412" +SRCREV_meta ?= "929bb5cf4d6cc49061f61341508ec12fd2f22db1" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll # get the /base branch, which is pure upstream -stable, and the same # meta SRCREV as the linux-yocto-standard builds. Select your version using the # normal PREFERRED_VERSION settings. BBCLASSEXTEND = "devupstream:target" -SRCREV_machine:class-devupstream ?= "8f790700c974345ab78054e109beddd84539f319" +SRCREV_machine:class-devupstream ?= "b911329317b4218e63baf78f3f422efbaa7198ed" PN:class-devupstream = "linux-yocto-upstream" KBRANCH:class-devupstream = "v5.15/base" @@ -38,7 +38,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.15;destsuffix=${KMETA};protocol=https" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" -LINUX_VERSION ?= "5.15.129" +LINUX_VERSION ?= "5.15.133" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native" From patchwork Sun Oct 1 15:59:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31481 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 664A3E748E9 for ; Sun, 1 Oct 2023 16:00:45 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web10.62426.1696176037481874366 for ; Sun, 01 Oct 2023 09:00:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=IqgZ9ol0; spf=softfail (domain: sakoman.com, ip: 209.85.214.181, mailfrom: steve@sakoman.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1bf6ea270b2so118928665ad.0 for ; Sun, 01 Oct 2023 09:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176036; x=1696780836; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=i77wbwLbzp7Kgi3MdhHQmWIm5EtwoafokRl0o8nPD0Q=; b=IqgZ9ol0McY+dVUzEKzz8G6gg5H4qA8jzs6AQSVk+NclMbdpmjCgc0qWN0ER/bRLR/ TlideqoQRGmckY5h4i5q6DQm92eSnNHjoUhopGaL8ACBUUtxr2VITYWBnGjcn7YHhzhv +as4wxVzv2WM3/sB0cBc84PvZyPFuJjQX67PJr3heu+GBJvuhBOUAVqcK1EazTHvU+Rm GKvc6W5fb35RetBkGvWaoHvY54QZb1zRTMrp3CGE595A7rjYzMrbC2CilZHkuFGC4U6e 6U0GJ6ZJ334MQlYs+lcvijwB4byrQHpOHggj19a1x/g3gLVtEjp/Q6R1fdBqv03EtZGW KhxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176036; x=1696780836; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=i77wbwLbzp7Kgi3MdhHQmWIm5EtwoafokRl0o8nPD0Q=; b=F83QJgfLpgNuSnfPJOsDARZwcbzQqain/mntT1EFDFDxjU7nt1yK/PYGKMo5Pa6M6c sX8XDRLwxGZDds1wQRo8f6se76b3brPkLRQZO/GuUZ2wc2ODUz9DYMBbjiQE+3r3/6fq TiumcDBCmN1v1rdk7gdFdn7aNVDOxnw/0QuScuf2vymiknVzqwJawy7ur0gAhoPe/POv iPV+gFsOXcoEWhhNeJar2dkSIDvLef+zheI9Dn5eU/9tU4gE8mm58A8DvZ5ZBNDdexwq 2ChaQCrDMHD6GTSc8kMAUG7aC+RPEa3UPcV3xHpSCgmS0unC9GC4017R+E/6bLWD/50p Q5Qw== X-Gm-Message-State: AOJu0YwJc8dTetds/1A2OaqubOGyjg6wUFaqBiHkbkPEMc8RqPsys7iX I0nVhdCYIMPpKOjjsj8/DfA0WKz5nYbEm+6TI5CVLg== X-Google-Smtp-Source: AGHT+IHpmx/IRDlTTCdJcULroiH/t1boQjfpxXKslpG4d59uscmm589Tn3NJcZ5hG7h6oq+WlCI7gg== X-Received: by 2002:a17:902:c084:b0:1c6:30d1:7214 with SMTP id j4-20020a170902c08400b001c630d17214mr6403391pld.55.1696176036486; Sun, 01 Oct 2023 09:00:36 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:36 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 10/23] linux-firmware: upgrade 20230625 -> 20230804 Date: Sun, 1 Oct 2023 05:59:57 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188499 From: Dmitry Baryshkov License-Update: additional firmwares Signed-off-by: Dmitry Baryshkov Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit 6a36c10cd51382bd2356fe6589e4c1d3be8179cd) Signed-off-by: Steve Sakoman --- ...{linux-firmware_20230625.bb => linux-firmware_20230804.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-kernel/linux-firmware/{linux-firmware_20230625.bb => linux-firmware_20230804.bb} (99%) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20230625.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb similarity index 99% rename from meta/recipes-kernel/linux-firmware/linux-firmware_20230625.bb rename to meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb index 6765226b9d..4defab434d 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20230625.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb @@ -134,7 +134,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ " # WHENCE checksum is defined separately to ease overriding it if # class-devupstream is selected. -WHENCE_CHKSUM = "57bf874056926f12aec2405d3fc390d9" +WHENCE_CHKSUM = "41f9a48bf27971b126a36f9344594dcd" # These are not common licenses, set NO_GENERIC_LICENSE for them # so that the license files will be copied from fetched source @@ -212,7 +212,7 @@ SRC_URI:class-devupstream = "git://git.kernel.org/pub/scm/linux/kernel/git/firmw # Pin this to the 20220509 release, override this in local.conf SRCREV:class-devupstream ?= "b19cbdca78ab2adfd210c91be15a22568e8b8cae" -SRC_URI[sha256sum] = "87597111c0d4b71b31e53cb85a92c386921b84c825a402db8c82e0e86015500d" +SRC_URI[sha256sum] = "88d46c543847ee3b03404d4941d91c92974690ee1f6fdcbee9cef3e5f97db688" inherit allarch From patchwork Sun Oct 1 15:59:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77B8AE748FA for ; Sun, 1 Oct 2023 16:00:45 +0000 (UTC) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mx.groups.io with SMTP id smtpd.web11.62148.1696176039444975861 for ; Sun, 01 Oct 2023 09:00:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=Tamk54uU; spf=softfail (domain: sakoman.com, ip: 209.85.214.169, mailfrom: steve@sakoman.com) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1c60778a3bfso111167735ad.1 for ; Sun, 01 Oct 2023 09:00:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176038; x=1696780838; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=q5TsqgiGyM+J6FK+dsG4K/iHO+b0IteM3FMGEXZ2czo=; b=Tamk54uUYospjITIfttRny7rVIH30JnVztTy0/VLVRwibq7t/clcOWQQBE4AqPnZHo pSJIb+n4DhC0OjHVS5uClIk8hSv5iK3IJHdTPWH/ExNAsNngSbcWKf3loTT5LNYO2dGX teIPQTKothI4qg5FdGsI0YXhP+0kVOjZcs1HnsjZ82CX54h/MYSIx2UNrpaZl7hOXFHL NrEFG1cO3rnerpXko7uug/1/c7s9nOSHBq0IX9m66517dcxAilGoPyYeIjY+q58Gbp4w bO7ovYFrMMkSyfHrWBHiilpijv+4RFtGGDHaCMdiK23lQLsXLVRATTQPsB/+u7Z0Hdwg y/ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176038; x=1696780838; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q5TsqgiGyM+J6FK+dsG4K/iHO+b0IteM3FMGEXZ2czo=; b=WRYewOK6iJWR1J5x6pmqxkY/YIEDBV2gFUD9QpSjytyNg9tR4AItI0kFu/x7ZazTwa twXGjCnMAILAznSwnNHUJ3COvucD+LidWfsv7YbcE5ViW9mAND33UVq0sqSwd2OT7k3l i5DLKNpin948InPYi0riqDAO2UtBW8+ulVkAq698oM1P2i6VzevFxn9VcXLfToaD1mrT f2E6nP/nCClqWR2QH9d82goVVbOOVThcBvR3slePRSGwINYaLq5lGdnvOK4MvCXjzLqe HQC6nLXJe9hnuqHtXCt1FybwE4iYOLsPfSbuz0K1veq2bFDEsPKGiuMHlEpSTSPR3NDa xekA== X-Gm-Message-State: AOJu0YzF8lGizw0Pj6E5NCTltjBbQGh2i7bRFfwzIuP2VlkX0ZRytFFb +JNWesqvquazEhLxGCwnNqp8S/ybJsftStuuJpEqYQ== X-Google-Smtp-Source: AGHT+IFJdX7vrqvTrxaOufpoWXfI83wspjEbwufzZasUZDbQksclTUekySDw5vX4NQBWHaMCtjJbiA== X-Received: by 2002:a17:902:be08:b0:1c7:49dd:2fe with SMTP id r8-20020a170902be0800b001c749dd02femr5668095pls.50.1696176038226; Sun, 01 Oct 2023 09:00:38 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:37 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 11/23] linux-firmware: package audio topology for Lenovo X13s Date: Sun, 1 Oct 2023 05:59:58 -1000 Message-Id: <12c2dd9dc0cee2e1a09fbd149f7a2ecab16ecaef.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188500 From: Dmitry Baryshkov Add audio topology description to the qcom-sc8280xp-lenovo-x13s-audio package. The file is licensed is copyright by Linaro and licensed under BSD 3-clause license. Signed-off-by: Dmitry Baryshkov Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit 958d6a209edf059d31ff07bdd55179fc21ea7079) Signed-off-by: Steve Sakoman --- .../linux-firmware/linux-firmware_20230804.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb index 4defab434d..36939f0423 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb @@ -34,6 +34,7 @@ LICENSE = "\ & Firmware-iwlwifi_firmware \ & Firmware-IntcSST2 \ & Firmware-kaweth \ + & Firmware-linaro \ & Firmware-Lontium \ & Firmware-Marvell \ & Firmware-moxa \ @@ -97,6 +98,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \ file://LICENCE.iwlwifi_firmware;md5=2ce6786e0fc11ac6e36b54bb9b799f1b \ file://LICENCE.kaweth;md5=b1d876e562f4b3b8d391ad8395dfe03f \ + file://LICENCE.linaro;md5=936d91e71cf9cd30e733db4bf11661cc \ file://LICENSE.Lontium;md5=4ec8dc582ff7295f39e2ca6a7b0be2b6 \ file://LICENCE.Marvell;md5=28b6ed8bd04ba105af6e4dcd6e997772 \ file://LICENCE.mediatek;md5=7c1976b63217d76ce47d0a11d8a79cf2 \ @@ -167,6 +169,7 @@ NO_GENERIC_LICENSE[Firmware-IntcSST2] = "LICENCE.IntcSST2" NO_GENERIC_LICENSE[Firmware-it913x] = "LICENCE.it913x" NO_GENERIC_LICENSE[Firmware-iwlwifi_firmware] = "LICENCE.iwlwifi_firmware" NO_GENERIC_LICENSE[Firmware-kaweth] = "LICENCE.kaweth" +NO_GENERIC_LICENSE[Firmware-linaro] = "LICENCE.linaro" NO_GENERIC_LICENSE[Firmware-Lontium] = "LICENSE.Lontium" NO_GENERIC_LICENSE[Firmware-Marvell] = "LICENCE.Marvell" NO_GENERIC_LICENSE[Firmware-mediatek] = "LICENCE.mediatek" @@ -1014,7 +1017,7 @@ LICENSE:${PN}-qcom-apq8016-wifi = "Firmware-qcom" LICENSE:${PN}-qcom-apq8096-audio = "Firmware-qcom" LICENSE:${PN}-qcom-apq8096-adreno = "Firmware-qcom" LICENSE:${PN}-qcom-apq8096-modem = "Firmware-qcom" -LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "Firmware-qcom" +LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "Firmware-qcom & Firmware-linaro" LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "Firmware-qcom" LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "Firmware-qcom" LICENSE:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "Firmware-qcom" @@ -1047,7 +1050,7 @@ FILES:${PN}-qcom-apq8096-adreno = "${nonarch_base_libdir}/firmware/qcom/apq8096/ FILES:${PN}-qcom-apq8096-audio = "${nonarch_base_libdir}/firmware/qcom/apq8096/adsp*.*" FILES:${PN}-qcom-apq8096-modem = "${nonarch_base_libdir}/firmware/qcom/apq8096/mba.mbn ${nonarch_base_libdir}/firmware/qcom/apq8096/modem*.* ${nonarch_base_libdir}/firmware/qcom/apq8096/wlanmdsp.mbn" FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compat = "${nonarch_base_libdir}/firmware/qcom/LENOVO/21BX" -FILES:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*adsp*.* ${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/battmgr.jsn" +FILES:${PN}-qcom-sc8280xp-lenovo-x13s-audio = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*adsp*.* ${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/battmgr.jsn ${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/audioreach-tplg.bin" FILES:${PN}-qcom-sc8280xp-lenovo-x13s-adreno = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn" FILES:${PN}-qcom-sc8280xp-lenovo-x13s-compute = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*cdsp*.*" FILES:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${nonarch_base_libdir}/firmware/qcom/sc8280xp/LENOVO/21BX/*slpi*.*" From patchwork Sun Oct 1 15:59:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31482 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77A77E748F9 for ; Sun, 1 Oct 2023 16:00:45 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web11.62151.1696176040916585002 for ; Sun, 01 Oct 2023 09:00:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=s3G7PQOt; spf=softfail (domain: sakoman.com, ip: 209.85.214.180, mailfrom: steve@sakoman.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1c63164a2b6so15587745ad.0 for ; Sun, 01 Oct 2023 09:00:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176040; x=1696780840; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=JZ3UFUMIK9IzKchMwpQ6cVs1lr8dqMY/wrNg8+whVUI=; b=s3G7PQOtiKMFZFhGJ/6bgx4i78KqkPLDYTvxI+ZpkDyxD8jLii2O1r2S3e1iaSYQPd sixqcig2ImajenfRS+ZCBiMtUFsS2ggDtfoHLVNVxw1IhwszKNOyHU0QFxQ7z9+DuQn7 J0/TRQYbbRiFE6ogsysaNorImZggzdkngJJaRca8edvh3HmWNd5tKEpbg/b8g0CvgnMq JNU4XrhPDnOBkMiO2YmK9Wd0oQCbNgzpZtJSWkLrB+tnQssTaPJtUia7/wCPYlEARRVf Nc6P2eDPYOZ3PnIMSQKcrfP2mvieyzMD2eveZXDvodNSy9gZEB+Ml5V3pwwlNYynSUlK 1mzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176040; x=1696780840; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JZ3UFUMIK9IzKchMwpQ6cVs1lr8dqMY/wrNg8+whVUI=; b=PL92Zj+C3n3YGOCIY5rWlFbwTAnxwM/nk3iMSmYdzqHMXPK/u9+h09CE3Mq+WTzdRM l21D0iOx19UA8OUG/xi1CLc2QAMi4yHfYNRF8ykMfrlO10d6EmzF5xkhcxONGxBiy0oA qQGqB1mNSHBqy1No1dFflrcMt2s4p2V03Q7oEKiXCaT0YsMWw9S5Gxc1X0MQgFEvmglN 2XhweTVQBaroAdg6K/KzhACAD4TeC+py2RVODXbD+OcaVWM/Hi1wkVXcYcrGaJcCE7IZ ZXF5QMWRSyLCI8gi5L41V4tv2xmlpbgXzwXh/+mSftwifPtD5ZF2TYk/B0Lsjx8PYg8p qNlA== X-Gm-Message-State: AOJu0YzDVeoEueYzgyO53jlDPXLhLy8sN7+dPYUw/Ipxtx3SnnF3fdpS tY6/mr3rImxEYVZy+/bg9TofexAr7y4dgpJqT75ytA== X-Google-Smtp-Source: AGHT+IE3Qeml2ksGzlz3sBdOffFAlUeIYy9fhRriTfsL83hsfB05vwVvnXrOVq6Y5ldpcwOUf2k5SA== X-Received: by 2002:a17:902:da8d:b0:1bd:e258:a256 with SMTP id j13-20020a170902da8d00b001bde258a256mr15066603plx.32.1696176039892; Sun, 01 Oct 2023 09:00:39 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:39 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 12/23] linux-firmware: package Dragonboard 845c sensors DSP firmware Date: Sun, 1 Oct 2023 05:59:59 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188501 From: Dmitry Baryshkov Add package with sensors DSP firmware for Qualcomm RB3 aka Dragonboard 845c platform. Signed-off-by: Dmitry Baryshkov Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit 632a8955ce8f6cd8fe66fef4b116747e11fa7085) Signed-off-by: Steve Sakoman --- meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb index 36939f0423..d761673db3 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb @@ -327,6 +327,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \ ${PN}-qcom-sc8280xp-lenovo-x13s-compute \ ${PN}-qcom-sc8280xp-lenovo-x13s-sensors \ ${PN}-qcom-sdm845-adreno ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute ${PN}-qcom-sdm845-modem \ + ${PN}-qcom-sdm845-thundercomm-db845c-sensors \ ${PN}-qcom-sm8250-adreno ${PN}-qcom-sm8250-audio ${PN}-qcom-sm8250-compute \ ${PN}-amlogic-vdec-license ${PN}-amlogic-vdec \ ${PN}-lt9611uxc ${PN}-lontium-license \ @@ -1025,6 +1026,7 @@ LICENSE:${PN}-qcom-sdm845-audio = "Firmware-qcom" LICENSE:${PN}-qcom-sdm845-adreno = "Firmware-qcom" LICENSE:${PN}-qcom-sdm845-compute = "Firmware-qcom" LICENSE:${PN}-qcom-sdm845-modem = "Firmware-qcom" +LICENSE:${PN}-qcom-sdm845-thundercomm-db845c-sensors = "Firmware-qcom" LICENSE:${PN}-qcom-sm8250-audio = "Firmware-qcom" LICENSE:${PN}-qcom-sm8250-adreno = "Firmware-qcom" LICENSE:${PN}-qcom-sm8250-compute = "Firmware-qcom" @@ -1058,6 +1060,7 @@ FILES:${PN}-qcom-sdm845-adreno = "${nonarch_base_libdir}/firmware/qcom/sdm845/a6 FILES:${PN}-qcom-sdm845-audio = "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*" FILES:${PN}-qcom-sdm845-compute = "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*" FILES:${PN}-qcom-sdm845-modem = "${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn ${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.* ${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn" +FILES:${PN}-qcom-sdm845-thundercomm-db845c-sensors = "${nonarch_base_libdir}/firmware/qcom/sdm845/Thundercomm/db845c/slpi*.*" FILES:${PN}-qcom-sm8250-adreno = "${nonarch_base_libdir}/firmware/qcom/sm8250/a650*.*" FILES:${PN}-qcom-sm8250-audio = "${nonarch_base_libdir}/firmware/qcom/sm8250/adsp*.*" FILES:${PN}-qcom-sm8250-compute = "${nonarch_base_libdir}/firmware/qcom/sm8250/cdsp*.*" @@ -1086,6 +1089,7 @@ RDEPENDS:${PN}-qcom-sc8280xp-lenovo-x13s-sensors = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-sdm845-audio = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-sdm845-compute = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-sdm845-modem = "${PN}-qcom-license" +RDEPENDS:${PN}-qcom-sdm845-thundercomm-db845c-sensors = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-sm8250-audio = "${PN}-qcom-license" RDEPENDS:${PN}-qcom-sm8250-compute = "${PN}-qcom-license" From patchwork Sun Oct 1 16:00:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31485 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89C6AE748F6 for ; Sun, 1 Oct 2023 16:00:45 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web11.62152.1696176042637342570 for ; Sun, 01 Oct 2023 09:00:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=RqOIE6w0; spf=softfail (domain: sakoman.com, ip: 209.85.214.173, mailfrom: steve@sakoman.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1c364fb8a4cso142607775ad.1 for ; Sun, 01 Oct 2023 09:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176042; x=1696780842; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=0l1JoFz7GU2UC59oKyrpeicIRe8iMiDDlto5v7eO8Mk=; b=RqOIE6w0gMMpRPnCBOA6gj0kwhhwtcbMCpBM5H04RHs1NV/1wfx2DBx7IZcs+x4aK6 e/sipIMsBYI+7kapqO6CeBhIBfDm7d2Pluw2mawa1b7O2HzKSZJyJ/Y46InmERjPfpSl kEqU/FfDjgHTJevxbVmjwN/z1JijYAzzfPwuZxXO6hK+mQQVz28+30/Er8aS79b2+6ef TyF5YSVwS2t93D1EXyRdstj+PFHGMpNa4D2EvHRkO5EKaSRh2gA0sQ98Zl+BmTlkT8p8 vB2n/G2IMqnmU8UmJz6LmPwMSichsphhW3/cS7dZe6HAeYNXRGh0uQavYYj09hoDWseu TU5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176042; x=1696780842; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0l1JoFz7GU2UC59oKyrpeicIRe8iMiDDlto5v7eO8Mk=; b=e00rkEhqGIPKIt2GlzzGswM9u2K/ON2AcQdIAOHxMyG59fqSHRH1OepXkdHSreKHRn uoCk1wK73Zj146glvrwgV3BU13UaZa4EL9rcicbXTvl9dD/+CXAJuhLEMXfysyVwGM9H wXgwZl8rLfKv+pKyEgfCdOwV+lY1zAN1Ow9HgfK+ruwm7iYZ8YQPPQoKQW2z9dmMog4o Ndk58F1gCcSQIFSPeBcXSEq58LeCf6Et3dd4XfogCziY39HOoobXg1I0fY9lOOCz37qN ksg3a8Z8mt5+pK5CkLxlv4cFXEGEdEIRF23TEbx8xDEtgxhlwuGgrlUppxEQiLy9FkGR 5fhg== X-Gm-Message-State: AOJu0YzTXFEF7tq1KxNaBcnZ1zmy/xx0PMqsXBxi4TT0DpT2iHL0nJaJ Uo2sEfO11I20HkI3TJ4quEwvRfFxPp3n99IjdbHFQg== X-Google-Smtp-Source: AGHT+IGX2JZ/0tkZLsNB7zLvPPTRrmPAd1ny79GuTpg+KyUlJr8Zxb6zfn9QuRifMROamI+S2vKP4g== X-Received: by 2002:a17:903:22d2:b0:1c7:245a:7fea with SMTP id y18-20020a17090322d200b001c7245a7feamr12909973plg.58.1696176041606; Sun, 01 Oct 2023 09:00:41 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:41 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 13/23] linux-firmware: add firmware files for NXP BT chipsets Date: Sun, 1 Oct 2023 06:00:00 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188502 From: Tom Hochstein These BT only firmware files are submitted for NXP chips. 88w8997-bt: uartuart8997_bt_v4.bin version: 16.92.21.p81 helper_uart_3000000.bin version: 16.92.21.p81 88w8987-bt: uartuart8987_bt.bin version: 16.92.21.p76.5 88w9098-bt: uartuart9098_bt_v1.bin version: 17.92.1.p136.24 iw416-bt: uartiw416_bt_v0.bin version: 16.92.21.p81 iw611-bt / iw612-bt: uartspi_n61x_v1.bin.se version: 18.99.1.p154.40 These firmware files are downloaded over UART interface. The helper_uart_3000000.bin needs to be downloaded before uartuart8997_bt_v4.bin for 88w8997 chip to set download baudrate to 3000000. The above commit message is copied from the source commit message: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/nxp?id=1f82dd25c3ea59b6bed80ee685d860f0c5f19875 Signed-off-by: Tom Hochstein Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 4a6cf0b53346262872dd82a55d69a93a8d2e2cce) Signed-off-by: Steve Sakoman --- .../linux-firmware/linux-firmware_20230804.bb | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb index d761673db3..ee14630ce0 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20230804.bb @@ -41,6 +41,7 @@ LICENSE = "\ & Firmware-myri10ge_firmware \ & Firmware-netronome \ & Firmware-nvidia \ + & Firmware-nxp \ & Firmware-OLPC \ & Firmware-ath9k-htc \ & Firmware-phanfw \ @@ -107,6 +108,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ file://LICENCE.Netronome;md5=4add08f2577086d44447996503cddf5f \ file://LICENCE.nvidia;md5=4428a922ed3ba2ceec95f076a488ce07 \ file://LICENCE.NXP;md5=58bb8ba632cd729b9ba6183bc6aed36f \ + file://LICENSE.nxp;md5=cca321ca1524d6a1e4fed87486cd82dc \ file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \ file://LICENCE.open-ath9k-htc-firmware;md5=1b33c9f4d17bc4d457bdb23727046837 \ file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \ @@ -177,6 +179,7 @@ NO_GENERIC_LICENSE[Firmware-moxa] = "LICENCE.moxa" NO_GENERIC_LICENSE[Firmware-myri10ge_firmware] = "LICENCE.myri10ge_firmware" NO_GENERIC_LICENSE[Firmware-netronome] = "LICENCE.Netronome" NO_GENERIC_LICENSE[Firmware-nvidia] = "LICENCE.nvidia" +NO_GENERIC_LICENSE[Firmware-nxp] = "LICENSE.nxp" NO_GENERIC_LICENSE[Firmware-OLPC] = "LICENCE.OLPC" NO_GENERIC_LICENSE[Firmware-ath9k-htc] = "LICENCE.open-ath9k-htc-firmware" NO_GENERIC_LICENSE[Firmware-phanfw] = "LICENCE.phanfw" @@ -312,6 +315,16 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \ ${PN}-nvidia-license \ ${PN}-nvidia-tegra-k1 ${PN}-nvidia-tegra \ ${PN}-nvidia-gpu \ + ${PN}-nxp-license \ + ${PN}-nxp8987-sdio \ + ${PN}-nxp8997-common \ + ${PN}-nxp8997-pcie \ + ${PN}-nxp8997-sdio \ + ${PN}-nxp9098-common \ + ${PN}-nxp9098-pcie \ + ${PN}-nxp9098-sdio \ + ${PN}-nxpiw416-sdio \ + ${PN}-nxpiw612-sdio \ ${PN}-netronome-license ${PN}-netronome \ ${PN}-qat ${PN}-qat-license \ ${PN}-qcom-license ${PN}-qcom-yamato-license \ @@ -547,6 +560,42 @@ FILES:${PN}-netronome = " \ RDEPENDS:${PN}-netronome += "${PN}-netronome-license" +# For NXP +LICENSE:${PN}-nxp8987-sdio = "Firmware-nxp" +LICENSE:${PN}-nxp8997-common = "Firmware-nxp" +LICENSE:${PN}-nxp8997-pcie = "Firmware-nxp" +LICENSE:${PN}-nxp8997-sdio = "Firmware-nxp" +LICENSE:${PN}-nxp9098-common = "Firmware-nxp" +LICENSE:${PN}-nxp9098-pcie = "Firmware-nxp" +LICENSE:${PN}-nxp9098-sdio = "Firmware-nxp" +LICENSE:${PN}-nxpiw416-sdio = "Firmware-nxp" +LICENSE:${PN}-nxpiw612-sdio = "Firmware-nxp" +LICENSE:${PN}-nxp-license = "Firmware-nxp" + +FILES:${PN}-nxp8987-sdio = "${nonarch_base_libdir}/firmware/nxp/*8987*" +FILES:${PN}-nxp8997-common = " \ + ${nonarch_base_libdir}/firmware/nxp/uartuart8997_bt_v4.bin \ + ${nonarch_base_libdir}/firmware/nxp/helper_uart_3000000.bin \ +" +ALLOW_EMPTY:${PN}-nxp8997-pcie = "1" +ALLOW_EMPTY:${PN}-nxp8997-sdio = "1" +FILES:${PN}-nxp9098-common = "${nonarch_base_libdir}/firmware/nxp/uartuart9098_bt_v1.bin" +ALLOW_EMPTY:${PN}-nxp9098-pcie = "1" +ALLOW_EMPTY:${PN}-nxp9098-sdio = "1" +FILES:${PN}-nxpiw416-sdio = "${nonarch_base_libdir}/firmware/nxp/*iw416*" +FILES:${PN}-nxpiw612-sdio = "${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se" +FILES:${PN}-nxp-license = "${nonarch_base_libdir}/firmware/LICENSE.nxp" + +RDEPENDS:${PN}-nxp8987-sdio += "${PN}-nxp-license" +RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-license" +RDEPENDS:${PN}-nxp8997-pcie += "${PN}-nxp8997-common" +RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common" +RDEPENDS:${PN}-nxp9098-common += "${PN}-nxp-license" +RDEPENDS:${PN}-nxp9098-pcie += "${PN}-nxp9098-common" +RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common" +RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-license" +RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-license" + # For Nvidia LICENSE:${PN}-nvidia-gpu = "Firmware-nvidia" LICENSE:${PN}-nvidia-tegra = "Firmware-nvidia" @@ -1132,6 +1181,7 @@ LICENSE:${PN} = "\ & Firmware-moxa \ & Firmware-myri10ge_firmware \ & Firmware-nvidia \ + & Firmware-nxp \ & Firmware-OLPC \ & Firmware-ath9k-htc \ & Firmware-phanfw \ From patchwork Sun Oct 1 16:00:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31484 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89607E748EE for ; Sun, 1 Oct 2023 16:00:45 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web10.62430.1696176044356047252 for ; Sun, 01 Oct 2023 09:00:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=QG7/YBgQ; spf=softfail (domain: sakoman.com, ip: 209.85.214.181, mailfrom: steve@sakoman.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1c5c91bece9so126622265ad.3 for ; Sun, 01 Oct 2023 09:00:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176043; x=1696780843; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=cnf6/Vd7f+0bSvFdaxArNk3ofYJUViUF3BX5EJHL6Kc=; b=QG7/YBgQL1cVvzxnvNYuKwpVYxEXt8yWhccEYD2wDfEeYZAwdmwbBPHnbpH8Ztpkpj TlaKuL3YNb4rGtEnbhwfsfWDjLXz/za68wP0oxHdESRKHJOP49D+mIgZznD+LFrAkOwK xo+P9P+/Y20SsdA+WUaufQF1wA5OkmGd75As2iHXEkXTKQIf8fVfKOFSB+YxvSqWwVfW nETTQ0Y0prfC18h4ucDIB8Wfwue7fB0gRuqjowPWw0RkmiaUQztdiX6zeD1ZoUo5WIc4 CGVyEkfKNmZTBipKo7CmzP8tXDQ4wLvvBLPXHZCvqq3uTNsV/gDW2Czsrjnsm0K9A2fo xN8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176043; x=1696780843; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cnf6/Vd7f+0bSvFdaxArNk3ofYJUViUF3BX5EJHL6Kc=; b=VOsvpD6JTsAKTkxl1w2s66oaIlHun8ikPHy4gMtvxgNi5A7gfRCJKsWdR22B912z1L tMpHQ7L9FziOR9PG1KS18Ad/X1JNe4KZSSNWUbuO+6DHkWt1uT7/OqHEeBmn5lRiTUxw s0nkAv8PHY4kuzqBViCKGUQKjX5YoXy1LA8pkQ1ptkLrDsgXi7VjrjOR3ZymEw5zJAwj KrlvHcE0EfF8a9/VVtkQqo5aBhpnc7XCPbv0FhQLpJ91qbLnv+Z3S35cV/zXTm87bhRj r50Hmiadw+fl9pn6sjwxqHbdtGwIBK7W7R1Vh7F5anbfSRGlQ8kknCUKNynemm5Ra+Lb Y6WA== X-Gm-Message-State: AOJu0YxrSMhbe4D8/hnCPF+OIH3A2AD7gcDPYHuHgLLmPe1/8SCeI/89 ZMK9CtZZwgniL4e9kleNQQZVuQJ4oFDhkhtVdwSW9A== X-Google-Smtp-Source: AGHT+IFwpBKIu6n1JNRpOgad7j/R5hNCVCxzz+AUtbv+GUa83LIqI3hUvkJeFHN7CNTFk7+ewkAVdQ== X-Received: by 2002:a17:903:48c:b0:1c3:bc7b:8805 with SMTP id jj12-20020a170903048c00b001c3bc7b8805mr6746057plb.52.1696176043416; Sun, 01 Oct 2023 09:00:43 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:43 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 14/23] patch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir Date: Sun, 1 Oct 2023 06:00:01 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188503 From: Julien Stephan [YOCTO #14141] Currently the gitdir is manually constructed using `git rev-parse --show-toplevel` and appending `.git`. This is most of the time correct but not always: `.git` can be a file with the following content: gitdir: This is the case for submodules, so when using devtool modify on a recipe using submodules *and* patching files inside one of the submodules, do_patch fails with the following error: ERROR: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: 0001: *** 0002:patch_do_patch(d) 0003: File: '<..>/poky/meta/classes-global/patch.bbclass', lineno: 157, function: patch_do_patch 0153: except Exception as exc: 0154: bb.utils.remove(process_tmpdir, True) 0155: bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc).replace("\\n", "\n"))) 0156: try: *** 0157: resolver.Resolve() 0158: except bb.BBHandledException as e: 0159: bb.utils.remove(process_tmpdir, True) 0160: bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e).replace("\\n", "\n"))) 0161: File: '<..>/poky/meta/lib/oe/patch.py', lineno: 769, function: Resolve 0765: def Resolve(self): 0766: olddir = os.path.abspath(os.curdir) 0767: os.chdir(self.patchset.dir) 0768: try: *** 0769: self.patchset.Push() 0770: except Exception: 0771: import sys 0772: os.chdir(olddir) 0773: raise File: '<..>/poky/meta/lib/oe/patch.py', lineno: 274, function: Push 0270: else: 0271: next = 0 0272: 0273: bb.note("applying patch %s" % self.patches[next]) *** 0274: ret = self._applypatch(self.patches[next], force) 0275: 0276: self._current = next 0277: return ret 0278: File: '<..>/poky/meta/lib/oe/patch.py', lineno: 556, function: _applypatch 0552: if os.path.lexists(hooks_dir_backup): 0553: raise Exception("Git hooks backup directory already exists: %s" % hooks_dir_backup) 0554: if os.path.lexists(hooks_dir): 0555: shutil.move(hooks_dir, hooks_dir_backup) *** 0556: os.mkdir(hooks_dir) 0557: commithook = os.path.join(hooks_dir, 'commit-msg') 0558: applyhook = os.path.join(hooks_dir, 'applypatch-msg') 0559: with open(commithook, 'w') as f: 0560: # NOTE: the formatting here is significant; if you change it you'll also need to Exception: NotADirectoryError: [Errno 20] Not a directory: '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-n87_zx1i/workdir/git/third_party/spdlog/.git/hooks' Using `git rev-parse --absolute-git-dir` instead of `git rev-parse --show-toplevel` ensure we get the correct gitdir Signed-off-by: Julien Stephan Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit f74879dd95b19504ce8a8554636d2310d0336806) Signed-off-by: Steve Sakoman --- meta/lib/oe/patch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index d047b3b947..e5108e9ad6 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -547,7 +547,10 @@ class GitApplyTree(PatchTree): reporoot = (runcmd("git rev-parse --show-toplevel".split(), self.dir) or '').strip() if not reporoot: raise Exception("Cannot get repository root for directory %s" % self.dir) - hooks_dir = os.path.join(reporoot, '.git', 'hooks') + gitdir = (runcmd("git rev-parse --absolute-git-dir".split(), self.dir) or '').strip() + if not gitdir: + raise Exception("Cannot get gitdir for directory %s" % self.dir) + hooks_dir = os.path.join(gitdir, 'hooks') hooks_dir_backup = hooks_dir + '.devtool-orig' if os.path.lexists(hooks_dir_backup): raise Exception("Git hooks backup directory already exists: %s" % hooks_dir_backup) From patchwork Sun Oct 1 16:00:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31488 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C46EE748E9 for ; Sun, 1 Oct 2023 16:00:55 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mx.groups.io with SMTP id smtpd.web11.62155.1696176046241851159 for ; Sun, 01 Oct 2023 09:00:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=sqgT3rQm; spf=softfail (domain: sakoman.com, ip: 209.85.214.179, mailfrom: steve@sakoman.com) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1c364fb8a4cso142607945ad.1 for ; Sun, 01 Oct 2023 09:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176045; x=1696780845; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=/G31LnxHUpRIjgzK9GptikI6Q80zIHlv7AUMy+5j6bw=; b=sqgT3rQmvv+y50As+B6Xqfi2/OBCRc2DVaoCopLPqH+9S2BlPv6YeRqtywNxMJrxPu 1Uk227xXiWWh//veISjcrMc45F+ug9OcUvAGVMPoNGSELWYJJZn/NdkWwa0VHXccJQIM nybLbP7CW2wa+JuN/ExWYvFRZdYoTPB7Q2Q4f30902QqY8XXowQG9Ob2KwUDTbWW9t9F sAjb8pNNYcYwwJAIUfS9FEFV9efbyR4LLxVsB2bbuzXcUvEbswmjRyC+WUWTyeJTyo6U nonfu5CuZv0lz91947t10z1U4F0c5E9N/GoLFxB9jm5B/f2vfFfpCuFfLtuKTGd3ePCm r9Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176045; x=1696780845; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/G31LnxHUpRIjgzK9GptikI6Q80zIHlv7AUMy+5j6bw=; b=lSSvu3p4WxE3Kcp+L04MrYhfDH94FrGj8GE27ZsbbrrlAOYRAAbd3MHoMOIqosC5bh ArfMTibQ+POH1IIv3ieAoz5IOFxdW92G+q82/00J+TnsSztRj3f9tH31Bejh724ZNN3p OC2fM+CaRD2eMGtfq5RSb/QmRotlScxOZ7STvc9MRULAw4txNrOgiCwd7GKPwr2MGh8P RBA3v87pijPy2Gp7BKr1hHMPAbSm2Uymhr/qvDY+4G+MLmP83VR4TZmtnZ23W4IX/mr8 iSFEjz5u/KcBiF+PQJo0qb4I6fAcQvOcACUkd/FgZYc8PS9r3BUv+FELMEaIzgx7rJMa hSAw== X-Gm-Message-State: AOJu0Yyol6Drhk4Oq2CVm78H6PYfwRaGG/bbCG75nSMORxygGlFFOjWn ITYsVN2+cCveAf2n7snCOb2bR1kr7KYh8xwEe4KsKQ== X-Google-Smtp-Source: AGHT+IExnYy/sSE/keEtx2oOQrPCZSYQNurSBs9QtzdpwI90TxExaxaAfzFK9pzZvHY3rGoDFv9BGQ== X-Received: by 2002:a17:902:ea8b:b0:1c2:82e:32de with SMTP id x11-20020a170902ea8b00b001c2082e32demr9526490plb.0.1696176045411; Sun, 01 Oct 2023 09:00:45 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:45 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 15/23] buildtools-tarball: Add libacl Date: Sun, 1 Oct 2023 06:00:02 -1000 Message-Id: <1a0622be3804598895a35c31bd44866c8647967f.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188504 From: Joshua Watt Hash equivalence need to include the ACLs in the output hash, and libacl is used to do that so include the library in the buildtools-tarball. Signed-off-by: Joshua Watt Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit d152dfe784f231fa369d59f9bce8195ad09c5482) Signed-off-by: Steve Sakoman --- meta/recipes-core/meta/buildtools-tarball.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index 70d740b4e0..6b679489fd 100644 --- a/meta/recipes-core/meta/buildtools-tarball.bb +++ b/meta/recipes-core/meta/buildtools-tarball.bb @@ -30,6 +30,7 @@ TOOLCHAIN_HOST_TASK ?= "\ nativesdk-mtools \ nativesdk-zstd \ nativesdk-lz4 \ + nativesdk-libacl \ " MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" From patchwork Sun Oct 1 16:00:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31487 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C7CAE748F5 for ; Sun, 1 Oct 2023 16:00:55 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web10.62432.1696176048984257003 for ; Sun, 01 Oct 2023 09:00:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=mZIfry0z; spf=softfail (domain: sakoman.com, ip: 209.85.214.172, mailfrom: steve@sakoman.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1c5db4925f9so16251355ad.1 for ; Sun, 01 Oct 2023 09:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176048; x=1696780848; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=pv8C/dlq/7lTmzBX3OOP5dL/Ixl2MGxmFge7kvWBZc0=; b=mZIfry0z/+zOD+LYdJhICcuBu70JgucepEQsdVGPPhHjmvdVEA3xsST2ZKZMjasH2x P5u0HZ5M8bH8DUQ4ErXJ2oViIqP/Iu0wFwq/bqPl1ndi3GAMFP5yePoVZRY4uaZ3J+AQ gJyJbKPc/yKObIQ9oZcBwCQjD6uHgsG8CHHG27aC7G3xbI0Yf11ixViiK0sltE+mEJ/j yRE1Zx3cAhlHBBCrDisUEaApc9Xa/TIVK0XisubmySH1Q1wNsSmFzQeEmkb0cynzmvbC c4fa0Hld1Y7HSwleprdvVSNBOsmuqfK9D9bD0cFHHnMP4syANgtoXTNexWLEpfrnn7AA z2ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176048; x=1696780848; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pv8C/dlq/7lTmzBX3OOP5dL/Ixl2MGxmFge7kvWBZc0=; b=TDcTXKxRYjZukHU5U0vc3jni4pMqk0aa2oGVs4FSbhtldQ/2tPW4rWuhnlblSvyA3K Yu5U5P3rzO9VhQSIhebDkiIm+/z6I62r8erUk3/G0o+WQD2ZfVcar6mNtzibCnGNeAEH AWsYRi5R8PZmWwksowQxOrA3PhS84XTG4p7hySW8gIa5YV1wcZZn+QAOaza/naq0kIcN TYkGVUeb9OXBX6rUKuU/pXLJI4CQnqrAUC682Wl3DlGBiweknqL2An55gdP9CulAecUM 6RBn6SY5/bNIyWqIa2yIZ7QixDO3GnLyFq7KVDdTgJK10nkOof4WYlsy2uMJIA9xm1K/ AwLA== X-Gm-Message-State: AOJu0YymX6c1mLdFhfqo3uRWklpcE4t+rV6EaMFwFXxt2p8BMxM2IJ6Q NgUG5PFqBPKJzP1vjeBsgX8aN22jqxNAt7HJ/HLFiA== X-Google-Smtp-Source: AGHT+IF2kALOVcVrGxHxvo1LZE4EMKoGMpnKXcFwRaStUxcZN7izWXxlkzA8CBj+R7alqE7Y5BmDXA== X-Received: by 2002:a17:902:ce84:b0:1c3:868f:5958 with SMTP id f4-20020a170902ce8400b001c3868f5958mr14201477plg.20.1696176047413; Sun, 01 Oct 2023 09:00:47 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:47 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 16/23] bitbake.conf: add bunzip2 in HOSTTOOLS Date: Sun, 1 Oct 2023 06:00:03 -1000 Message-Id: <08ab02865bb94865826515def8cf13352bacda8a.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188505 From: Alberto Planas rpm2cpio.sh can make calls to bunzip2 to uncompress the RPM payload that conform the cpio file. bzip2 is already part of HOSTTOOLS, as a link to the system installed bzip2. This patch add bunzip2 in HOSTOOLS list as a non-optional binary, so is available to rpm2cpio.sh when it is required. The currect rpm2cpio.sh has other calls to gunzip (present in HOSTOOLS), xzcat (missing), unlzma (missing) and unzstd (present in HOSTTOOLS since bff58d337890e804d33d7decbaa46065a4d3bba4) Adding the missing ones will not add any new host dependency as xz-utils is already listed as a requirement. Signed-off-by: Alberto Planas Signed-off-by: Richard Purdie (cherry picked from commit fd376a11ed8d1b79633c2572ec0b4341d3ca2f1c) Signed-off-by: Steve Sakoman --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index f679a49eb0..b2a8cea4b7 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -521,7 +521,7 @@ HOSTTOOLS_DIR = "${TMPDIR}/hosttools" # Tools needed to run builds with OE-Core HOSTTOOLS += " \ - [ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \ + [ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \ cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \ fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \ head hostname iconv id install ld ldd ln ls lz4c make md5sum mkdir mkfifo mknod \ From patchwork Sun Oct 1 16:00:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31490 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95AECE748EE for ; Sun, 1 Oct 2023 16:00:55 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web11.62157.1696176050890051369 for ; Sun, 01 Oct 2023 09:00:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=fPxlQiwa; spf=softfail (domain: sakoman.com, ip: 209.85.214.176, mailfrom: steve@sakoman.com) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1c77449a6daso562155ad.0 for ; Sun, 01 Oct 2023 09:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176050; x=1696780850; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Zk69eq3HR/Sb3r9tIFkg/CnKBksGaCKcac4NtkgnHyM=; b=fPxlQiwaFHkqlFk2kzL3gUCE6tDt3FmkU0Tlg8G37vqJn7nVPxoj/UdQj3kaZCIiFW piQsnHKrzK8uX2QorRoRsBc9U20rBwRTgEjFScGH1jBhXDhGRaGTCmr2BXb3KrGuIqaX 9ZYJR+w/YOQ+opIz2QOM4wxRe40Gv7fz9rFr95veB2ev/gn7m7dBbuMac9IquAEv9sVs 4ft/3gUgAdr05srTzbhGsmDbkBCEpq8/QvSMjq2qon6nJYA9PXQ0yDOliJKICpv2NoGp RUA6uOcC0jR6OFDpIe4BPNEFj7vPM9Pc7PnU4A43nWQQafObqIJWk6RkrCueNN43p/ig eItA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176050; x=1696780850; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zk69eq3HR/Sb3r9tIFkg/CnKBksGaCKcac4NtkgnHyM=; b=vfonz886QHPf3B0TCInOlxEX733qgA9RvjCUVw11kWDXa6q+EkBKc2l8ARdFc8NVl2 NvNKCQcjJen8rCLd4/XElXicxFV8+iWTTHuj7kn0lXKXN04/swtP7UK87R+7wWvOj6j4 A/fqPZOQZFhcClGgI90e7bfu5UMR8onT1At73aGCUvl/MJbcvJPdtT5lT/mQRsQl9XUV nZah5gi0Qv6kzFBDl4AtCC4UTU3+oUcudnprruKin3XiyZsw76XA91QPul9QWDNZxSAT G6pEz48tG8+034xqLaqIZtzgyG7GihSTnPqed4vCAb4LDoxFdufEFznrlezu/1z+XUJn Wozg== X-Gm-Message-State: AOJu0YzTe7+o6zV7G7shaqKNMtk/gtNlEhvXGbGdF+ioXedwiuf5XwBt sTDObfRRfL9+Hu+JnyzTXbwX15aLn/hlmedqrIo7Ew== X-Google-Smtp-Source: AGHT+IEzc5f57AJZFiCYIuup2mEi5ENwAxKbWNoNEj1tA5QWrbt6xTPRnuj97eJfz7fu5D+TnGpbSQ== X-Received: by 2002:a17:902:da84:b0:1c1:ecff:a637 with SMTP id j4-20020a170902da8400b001c1ecffa637mr10820557plx.15.1696176049635; Sun, 01 Oct 2023 09:00:49 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:49 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 17/23] core-image-ptest: Define a fallback for SUMMARY field Date: Sun, 1 Oct 2023 06:00:04 -1000 Message-Id: <66c2245280dd6e22fa2de230de458ce5ba267f91.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188506 From: Khem Raj Fixes errors like below seen with bitbake core-image-ptest-fast WARNING: core-image-ptest-apr-util-1.0-r0 do_recipe_qa: QA Issue: Recipe core-image-ptest-apr-util in /mnt/b/yoe/master/sources/poky/meta/recipes-core/images/core-image-ptest.bb does not contain a SUMMARY. Please a dd an entry. [missing-metadata] Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 307381c9267eb3a3e687c577a0afd552d44248f7) Signed-off-by: Steve Sakoman --- meta/recipes-core/images/core-image-ptest.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/images/core-image-ptest.bb b/meta/recipes-core/images/core-image-ptest.bb index ddc56c8f9f..21754224d2 100644 --- a/meta/recipes-core/images/core-image-ptest.bb +++ b/meta/recipes-core/images/core-image-ptest.bb @@ -5,6 +5,7 @@ require core-image-minimal.bb require conf/distro/include/ptest-packagelists.inc DESCRIPTION += "Also including the ${MCNAME} ptest package." +SUMMARY ?= "${MCNAME} ptest image." HOMEPAGE = "https://www.yoctoproject.org/" PTESTS = "${PTESTS_SLOW} ${PTESTS_FAST}" From patchwork Sun Oct 1 16:00:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31491 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D2ABE748F6 for ; Sun, 1 Oct 2023 16:00:55 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web11.62162.1696176054162263816 for ; Sun, 01 Oct 2023 09:00:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=A6Gdu9Tf; spf=softfail (domain: sakoman.com, ip: 209.85.214.180, mailfrom: steve@sakoman.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1c5c91bece9so126622725ad.3 for ; Sun, 01 Oct 2023 09:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176053; x=1696780853; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=1TgpCgtbS5WghIwlJAFH+S3cc9TdzF25hMjr+1iy+eI=; b=A6Gdu9TfJMfQTsbTH1rP4Riepv1t6Dd0eO/PotvqvmCwqGvuvHL8dTPtwZtJOuSpN3 J0KUa9uyPAw3YK/RjFMeLsYD/9cfFDrCwp1ooPgL2a6AUKGG2lEUZf+eC8jmnX0LnO6U zAnRnmrmGqZJqwYsxsT5laJozZo/wbALLRgP+O+s26KOy/P527tkY+D52+QxvyqEfSJ8 5qnNwvvpiyjJq+NKabblYJSk+R88oPRruAl/IC5QcYs1KuKVw9y/WKNzXpC0+Wt+nwUZ j/5Wce05c7oAs6bO/Ogvx3UQ74WPMUmNAaF1Y1rwYmrnMgjJCnNMbbhzbG6SjdLXCjsH F+ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176053; x=1696780853; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1TgpCgtbS5WghIwlJAFH+S3cc9TdzF25hMjr+1iy+eI=; b=xF5NUiSXjbRRuCAECfJ6o6PKo0rQlcd+Bc7tXs4QxD8N18j8DglnksElRXc0vU5soT QNYA6EaIpGP7ikdx2AUcxn8rGeyxcU/vswCelelwf9Xeo/IXUn1xd56hXZrEqA8dedOB My4w/N5S0fhPtkNM8wvon7jbaF/gyFwEBrHnwFSTawKA69Q+M4h3ug3fyS+cclXMGZ8U LXYl7qQlmuIRb+Ts+aPWxjzyySyDqPYUX4O5nzBq7v49rPyqOKcLBckbKFzQkU6yCOWz NOUy1mBzqfVPVXQqmGv6xgLtEfjv1guBLn87uPhwgRCX3Twmi/3Bdcprg/UiuGrwXCte ofDw== X-Gm-Message-State: AOJu0YwWWKEmJfE58ofAbqAF9UEy+ZBqtSt6bX4VvZAcOnPGpmq37Z59 mRejh0tXD8JPuLCd8ys8BR0ja9I+AT+UvhrhOIqIHw== X-Google-Smtp-Source: AGHT+IEVQC9pefaJgVXJOYhAm7jiA+7xenOPkYsYEGfjdRKdHbu92RPhoxwKMGrrjtFd04plX5Sl2g== X-Received: by 2002:a17:903:11cc:b0:1c3:c127:540 with SMTP id q12-20020a17090311cc00b001c3c1270540mr9505856plh.29.1696176051670; Sun, 01 Oct 2023 09:00:51 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:51 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 18/23] systemd-bootchart: musl fixes have been rejected upstream Date: Sun, 1 Oct 2023 06:00:05 -1000 Message-Id: <836d8d5b645ded6cb1da9368efc9ca563595503a.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188507 From: Alexander Kanavin Systemd upstream has reiterated that the only supported libc implementation is glibc. Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit 3655b965a0b13518e35b3312e1ae7b59b1f231a6) Signed-off-by: Steve Sakoman --- ...1-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch | 2 +- .../systemd-bootchart/0002-musl-does-not-provide-printf-h.patch | 2 +- .../0003-musl-does-not-provide-canonicalize_file_name.patch | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch index 12eecc989b..812900051a 100644 --- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch +++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch @@ -12,7 +12,7 @@ systemd/0013-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch Based on work by: Khem Raj Signed-off-by: Tim Orling -Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/47] +Upstream-Status: Denied [https://github.com/systemd/systemd-bootchart/pull/47] --- src/util.h | 2 +- diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch index 8be3bed395..2fac76a549 100644 --- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch +++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch @@ -10,7 +10,7 @@ Original patch author: Emil Renner Berthing Includes work by: Khem Raj Signed-off-by: Tim Orling -Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/47] +Upstream-Status: Denied [https://github.com/systemd/systemd-bootchart/pull/47] --- Makefile.am | 4 + diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch index c2c276e458..fbe9c93d2d 100644 --- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch +++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch @@ -9,7 +9,7 @@ systemd/0007-check-for-missing-canonicalize_file_name.patch Based on work by: Khem Raj Signed-off-by: Tim Orling -Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/47] +Upstream-Status: Denied [https://github.com/systemd/systemd-bootchart/pull/47] --- src/path-util.c | 2 +- From patchwork Sun Oct 1 16:00:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31489 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6499E748F7 for ; Sun, 1 Oct 2023 16:00:55 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.web11.62163.1696176054344492117 for ; Sun, 01 Oct 2023 09:00:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=WJHs/HrQ; spf=softfail (domain: sakoman.com, ip: 209.85.214.182, mailfrom: steve@sakoman.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1c736b00639so25170215ad.2 for ; Sun, 01 Oct 2023 09:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176053; x=1696780853; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=JxaJUqRphE4nHg7foT2Cj6FbhiScX9pFhLf1GrF8xS8=; b=WJHs/HrQZYs+ONZL9OB1tbY7bGeUGOKwCt56rDD98YSrds/kQihZcymYYdO/bcQ43x ldFdZN3Poxshmtt6SKRUZPj8n3D4cvik3lCzpEZ3SaVeSw8pRKefUPZ6nCsByRlrw3Fz 5hhK+PsvXbRJkixrKGA3KktQyHIX3MAEyRR/5389bp1f+6//kM8xoaWmMVJkpOFHXuOx lP8nbPyciAbGdN8Gal2mESR4ytvH6KzGudbwVxLlqa3L7pPyW5uVF5Qk3ovzCOCgoXv+ L/bDIB3b2i1vQBxmnDknuWZUTcbJ7r0LSWuFQ4SYGSbsjA9cJIBpvgiNhr1z6M8pc0bi 7xxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176053; x=1696780853; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JxaJUqRphE4nHg7foT2Cj6FbhiScX9pFhLf1GrF8xS8=; b=oKnZ7G8OYojXIFxfZllHNVvtPzVnJQRbhAddWvp3uL97e29jAXysF1puSpFsVTH4CC 5UipkCfORSJNmPjz3LmB1BWAYoleKt8BbNdTozzIiBTXS6B3mCILZH46A5XqfJNXbuoc gaXMw4OBK5ys8rWx8376VO/YI5X5JDJlehwXG7u/hTCi1+P7vx8yrnlI80TLhSlWxVTt sQCK6zx+RP15+yv9VldbmKvsoF2oL8xWk63AB6nV9msfkmaKEWrBM+EGMUDMehvY75f7 HPaW9EBwIBePHc+FApIslhMXu4NwgPbj0/xE/uCM47Pr8n+z37y8DrIKbUVv9+zPKoOp PD9Q== X-Gm-Message-State: AOJu0YxZseE7emyPof1UJh2JzXXLgukuDsHuU6lZo2u753o/Wp8hs0E+ W1PtNJM+UA+GP/wC1StdxM2fPyQnwuMddHWFjywHwA== X-Google-Smtp-Source: AGHT+IHrxtae5Ess1Ey67xasOCPIJWrnVd03vZPKdX5Kd8GT+lrBadG1ys2DkmvBnA0SOeuG79eXOA== X-Received: by 2002:a17:902:d4cc:b0:1b7:e49f:1d with SMTP id o12-20020a170902d4cc00b001b7e49f001dmr10388236plg.62.1696176053394; Sun, 01 Oct 2023 09:00:53 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:53 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 19/23] README: Update to point to new contributor guide Date: Sun, 1 Oct 2023 06:00:06 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:00:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188508 From: Richard Purdie Now we have a contributor guide combining various wiki pages, point at that. Signed-off-by: Richard Purdie (cherry picked from commit 43a3ab6b412186b6c7494e928809662c4ec462f9) Signed-off-by: Steve Sakoman --- README.OE-Core.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.OE-Core.md b/README.OE-Core.md index 2f2127fb03..31b1bf52b4 100644 --- a/README.OE-Core.md +++ b/README.OE-Core.md @@ -16,9 +16,13 @@ which can be found at: Contributing ------------ -Please refer to -https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded -for guidelines on how to submit patches. +Please refer to our contributor guide here: https://docs.yoctoproject.org/dev/contributor-guide/ +for full details on how to submit changes. + +As a quick guide, patches should be sent to openembedded-core@lists.openembedded.org +The git command to do that would be: + + git send-email -M -1 --to openembedded-corel@lists.openembedded.org Mailing list: From patchwork Sun Oct 1 16:00:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31495 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B55E6E748EE for ; Sun, 1 Oct 2023 16:01:05 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mx.groups.io with SMTP id smtpd.web10.62442.1696176056297405567 for ; Sun, 01 Oct 2023 09:00:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=Qoq7cHuB; spf=softfail (domain: sakoman.com, ip: 209.85.214.179, mailfrom: steve@sakoman.com) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1c3f97f2239so142065375ad.0 for ; Sun, 01 Oct 2023 09:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176055; x=1696780855; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=glaTlnF4jnaoZjzXVN6AOjjGtxRT+eaYScavwkTlnpg=; b=Qoq7cHuB2N3cX1ctZZ751MGECnIsURFcdbI2Te+gKKsIANxRBwW0fNnpyhagM74zJZ zblTNxGluEFWrexCSA1mYxdDkZVtB0DESJd1BHzAE6ORVRAdbk7wtNCBcYQA2p2MeUCe IPtv+KLvCt9rDj9W/PS7GYFOeLwg2ERczT8wVCxror4am3PRPW9iNh4EX+PidBvIkPm2 0wpl6KskaavID6uN5tEU34MzdyQ8VnAE8vYG/MQYegVi7dZNpPmdWwoPnT9ldVDts3iy sNfd66miX42MX8MzQbtzuvXHdncvKO86Ga41cu451W+Nfo6vd0cZjzhDdCD9N3BtZk8h c0xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176055; x=1696780855; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=glaTlnF4jnaoZjzXVN6AOjjGtxRT+eaYScavwkTlnpg=; b=HMChp5t5RQCmxIstJrx3Ijxis4EWLYOIfO/zmy4aMRQfQSO9mOgrmYSgrN6PEHMtBe 4lr8GYb7bD4oI/PZJc1TS74BptHJuHsYXQwm+McWI31eoo9KUWYu83W9FLSTNC/fMCSL gGpU4BAIdVCSHFN7CznpUvbuAYOnJZqJT6ttgjzypC9dfgTN3Y14sn7ximSNjxyIcH0C 5TovPqFIHsPUGxsjJK/kgLZzB/R/vOEvtVd1P7EwpJsZhqXIVGAAmMFjo+oMkSO6V/CR rhgAPyv4BbrDvMZjZ0rJfHwg3qLmziwRZJWKobmWiktrSQtlx593fK4MN+aN3OiI20Ck oKlg== X-Gm-Message-State: AOJu0YwCtRsYaW8gF3d7rqW+QZi5mqldruzeZhsbnTfO0ZukcCWYvChS M43paCJd9Q/NYH8b8kmqv5Ma7dDeL6O9+aq2VIxjig== X-Google-Smtp-Source: AGHT+IFybjlYLi+2RTiq1aUrN0sf9L3ibFxweAeDnPLhv/w97GpNUlANE+fZXWacrUAYkbLxeOifwA== X-Received: by 2002:a17:902:f7c4:b0:1b8:90bd:d157 with SMTP id h4-20020a170902f7c400b001b890bdd157mr9418688plw.26.1696176055237; Sun, 01 Oct 2023 09:00:55 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:54 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 20/23] inetutils: don't guess target paths Date: Sun, 1 Oct 2023 06:00:07 -1000 Message-Id: <86b88aaec534c3da74de6127198c57521977bd10.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:01:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188509 From: Ross Burton inetutils guesses a lot of target paths in cross builds, and warns that some of them are known to be wrong (for example, whether /proc/net/dev exists is guessed as 'no'). Add a post-configure function to check for these warnings, and pass --with-path-* as appropriate to set the paths explicitly. This means we can remove the patch which was setting PATH_PROCNET_DEV, and the autoconf cache value inetutils_cv_path_login. The downside is that these --with-path-* options are not real autoconf options, so the "unknown options" warning is emitted. Losing those is an acceptable compromise, so disable it. Musl doesn't implement utmp and has stub defines for _PATH_UTMP but not _PATH_UTMPX, so we need to set the X variants explicitly. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 91179f89db127063dbdf998e15d63e04d6be53f7) Signed-off-by: Steve Sakoman --- .../inetutils-1.9-PATH_PROCNET_DEV.patch | 37 ------------------- .../inetutils/inetutils_2.4.bb | 21 +++++++++-- 2 files changed, 18 insertions(+), 40 deletions(-) delete mode 100644 meta/recipes-connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch diff --git a/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch b/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch deleted file mode 100644 index 460ddf9830..0000000000 --- a/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 101130f422dd5c01a1459645d7b2a5b8d19720ab Mon Sep 17 00:00:00 2001 -From: Martin Jansa -Date: Wed, 6 Mar 2019 09:36:11 -0500 -Subject: [PATCH] inetutils: define PATH_PROCNET_DEV if not already defined -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -this prevents the following compilation error : -system/linux.c:401:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this function) - -this patch comes from : - http://repository.timesys.com/buildsources/i/inetutils/inetutils-1.9/ - -Upstream-Status: Inappropriate [not author] - -Signed-of-by: Eric BĂ©nard - ---- - ifconfig/system/linux.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/ifconfig/system/linux.c b/ifconfig/system/linux.c -index e453b46..4268ca9 100644 ---- a/ifconfig/system/linux.c -+++ b/ifconfig/system/linux.c -@@ -53,6 +53,10 @@ - #include "../ifconfig.h" - - -+#ifndef PATH_PROCNET_DEV -+ #define PATH_PROCNET_DEV "/proc/net/dev" -+#endif -+ - /* ARPHRD stuff. */ - - static void diff --git a/meta/recipes-connectivity/inetutils/inetutils_2.4.bb b/meta/recipes-connectivity/inetutils/inetutils_2.4.bb index 032c0d6b24..d3d65e1469 100644 --- a/meta/recipes-connectivity/inetutils/inetutils_2.4.bb +++ b/meta/recipes-connectivity/inetutils/inetutils_2.4.bb @@ -19,7 +19,6 @@ SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.xz \ file://rsh.xinetd.inetutils \ file://telnet.xinetd.inetutils \ file://tftpd.xinetd.inetutils \ - file://inetutils-1.9-PATH_PROCNET_DEV.patch \ file://inetutils-only-check-pam_appl.h-when-pam-enabled.patch \ file://0001-CVE-2023-40303-ftpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch \ file://0002-CVE-2023-40303-Indent-changes-in-previous-commit.patch \ @@ -42,15 +41,31 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6 gl_cv_socket_ipv6=no," PACKAGECONFIG[ping6] = "--enable-ping6,--disable-ping6," EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \ - inetutils_cv_path_login=${base_bindir}/login \ --with-libreadline-prefix=${STAGING_LIBDIR} \ --enable-rpath=no \ -" + --with-path-login=${base_bindir}/login \ + --with-path-cp=${base_bindir}/cp \ + --with-path-uucico=${libexecdir}/uuico \ + --with-path-procnet-dev=/proc/net/dev \ + " + +EXTRA_OECONF:append:libc-musl = " --with-path-utmpx=/dev/null/utmpx --with-path-wtmpx=/dev/null/wtmpx" # These are horrible for security, disable them EXTRA_OECONF:append = " --disable-rsh --disable-rshd --disable-rcp \ --disable-rlogin --disable-rlogind --disable-rexec --disable-rexecd" +# The configure script guesses many paths in cross builds, check for this happening +do_configure_cross_check() { + if grep "may be incorrect because of cross-compilation" ${B}/config.log; then + bberror Default path values used, these must be set explicitly + fi +} +do_configure[postfuncs] += "do_configure_cross_check" + +# The --with-path options are not actually options, so this check needs to be silenced +ERROR_QA:remove = "unknown-configure-option" + do_configure:prepend () { export HELP2MAN='true' cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}/build-aux/config.rpath From patchwork Sun Oct 1 16:00:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31493 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5711E748F5 for ; Sun, 1 Oct 2023 16:01:05 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web10.62446.1696176058693311873 for ; Sun, 01 Oct 2023 09:00:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=Px34WyAC; spf=softfail (domain: sakoman.com, ip: 209.85.214.180, mailfrom: steve@sakoman.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1c736b00639so25170375ad.2 for ; Sun, 01 Oct 2023 09:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176058; x=1696780858; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=UIqaMm3+PvLZ8Bb9+kkjDULGSJp1qYUYdovSoLU6w2s=; b=Px34WyACD3N/g8pVvicyrzYKKVG9tsbcdGS3bsThh3JBfp69RqZ1rZeBfO9iasQZ9X T4z0JpgovwTyoYTqCgNO6CpPEp1QsQpxS3q1mBlswQ78FFxO8iOTrSTjc5XV49iQn+qF o1U6y3BSPMvcoQLywdBHA9rwMeEU20enplU21lxxjJmCjk/9BMgLJYFP9lDmasZLN/bt WvdtutqSyPsSJLQ4g9VMjr/NPVw3d4dXPTGFwdgT+V7TTqKn/VfQ6U3oQvmNhgcRi8Q9 /97qBWNZjorJPh+bbh/CZjR3GGBtbLomYXraNmiTae8VIJFml4l/S0Zy9ZacBi0Lw5ZX bDww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176058; x=1696780858; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UIqaMm3+PvLZ8Bb9+kkjDULGSJp1qYUYdovSoLU6w2s=; b=ZFw9WFIhcEQkt5BVcs+SIOJrlO8s8Lv/ismkn3AqKy5+pYCsBcPw7MjkXi6vZbr9+C 5x9Uk18y4fqi9pXuF01Rzio1vIiafbyE4XlyBbEaeISB4O2lt7LRECqBYHJUmu1rEUSY ao8v2JFg6UXE18BtiK9jA2t2pMBM7Arhv9fJYG1GkXWVH+iUl05uzLNkIm7DgMDJREB4 QvP55+xfBHp8wqRJw144W9R3OfxH16upeixctbwVDv0rfM5VAM03N/gxw1xgLZS/Y1vt cM4slJ0mXZwNcnAmxkxXa4+VoS+x4aJwn7BKvLzNsrgc/affC+Ysipqsxpxa9lIz5fBb g5/A== X-Gm-Message-State: AOJu0Yz6lXNQdEU/LqmjNyPrEgcKfThr7uT9pIIZjrDvS/2i82dcxfCf k22VuCdrJO6xcUDzGmX7EFx+THE7oSJMMC5bdvwBLg== X-Google-Smtp-Source: AGHT+IHFOzG08kH9Z/uhNvuoQ4TCXuaNWt9mrKNNMvYPs3gGWqnbTSma3dLP/mmoIbOXwMX7Ugi3Zg== X-Received: by 2002:a17:903:41d1:b0:1bc:6861:d746 with SMTP id u17-20020a17090341d100b001bc6861d746mr10503087ple.58.1696176057648; Sun, 01 Oct 2023 09:00:57 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:57 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 21/23] inetutils: remove obsolete cruft from do_configure Date: Sun, 1 Oct 2023 06:00:08 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:01:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188510 From: Ross Burton glob/ doesn't exist and the other files are copied by autotools.bbclass Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit f11fac5430c1308347f673c6e1fb6c5b2c7ff9c0) Signed-off-by: Steve Sakoman --- meta/recipes-connectivity/inetutils/inetutils_2.4.bb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meta/recipes-connectivity/inetutils/inetutils_2.4.bb b/meta/recipes-connectivity/inetutils/inetutils_2.4.bb index d3d65e1469..5b36036050 100644 --- a/meta/recipes-connectivity/inetutils/inetutils_2.4.bb +++ b/meta/recipes-connectivity/inetutils/inetutils_2.4.bb @@ -68,10 +68,6 @@ ERROR_QA:remove = "unknown-configure-option" do_configure:prepend () { export HELP2MAN='true' - cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}/build-aux/config.rpath - install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} - install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} - rm -f ${S}/glob/configure* } do_install:append () { From patchwork Sun Oct 1 16:00:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31492 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1D26E748E9 for ; Sun, 1 Oct 2023 16:01:05 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web10.62447.1696176060499889693 for ; Sun, 01 Oct 2023 09:01:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=mod203RL; spf=softfail (domain: sakoman.com, ip: 209.85.214.170, mailfrom: steve@sakoman.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1c737d61a00so30752985ad.3 for ; Sun, 01 Oct 2023 09:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176059; x=1696780859; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=JRajYGjwE/GRqc604e917epBaPuqlpCsFTEqAlqV3QU=; b=mod203RL0RpeD1beB+v2O6RiQAWMFFxC/jj0v12rTo++GKhCkQS+u3QHTiFt9uTQA8 D/5X+Ye01rHSKcrlPJc4NNrIdvs9uf7ZjIq2y1CaobIrWVzv1qkC7Z9FUwlXeB+Dq1Q+ thR2MdK/yZ2DJSp/QIY2/NZgPyhWO8NuKbHxlEzzvu4zz+cLFXl3y4lxFgjMUOP3YTQD hI8jt+qmhUDfosLcVeWufei+Xu0xjTsAFqFKLiQT9hiq0h5YyRgXyOoAl+ZTSWzrlkH3 5KfCHCJrgLYJOP2nAvJP/NeVi7KUdq5cBV6+mtINzjhBaU+dJLJjDIbSRZoGO5TysmsY 9Arw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176059; x=1696780859; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JRajYGjwE/GRqc604e917epBaPuqlpCsFTEqAlqV3QU=; b=G4LQhvkIZFJcdwJjrd753AXKL1pGjDbtf68U1mbFjvUz0SEkdvUbAojbP7BXbkPxO8 5LL8vOOMLLed6hpufbiZ4ciufihdA/K9GiaiMovIPfWMDcL60k8XQWkgFeTzPZZPzmvg U8WtTbzM4taKaLjw11i79/lhbq9cwiaoQHY9ZoJui5xkaAULpoD/J3jJfgahcJk3uDT1 QVFua8edt8TPzjnq7b3ZTyEO7uwLIPO+A7MzpwgWsjl9RGpCnSbTII3+mmMwBldeEsHf 7yJPnTF8bg61NFeVQwAvmR2EYBdsAADPAbgBbL4NlYgH5O1/fNc1xuBN0L5hq4W1P3Uj HA7Q== X-Gm-Message-State: AOJu0YzfxbZQOShHh8/+uCn5VvNaFvFzC3xxZXf1QyWEPrLWRjMJUhi+ 0lEP6+gxRJ9I9pv4rDBiBzMnFbHuKXsfJWh1iHA5Lg== X-Google-Smtp-Source: AGHT+IHPnjH289af5lvqssyHGu6gXDHg26TDdd3d3HjZtXuC4s3li2MYVMn7Ynzzt41MTHBDlcSiWw== X-Received: by 2002:a17:902:d918:b0:1c2:1068:1f4f with SMTP id c24-20020a170902d91800b001c210681f4fmr7932599plz.17.1696176059652; Sun, 01 Oct 2023 09:00:59 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.00.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:00:59 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 22/23] kernel.bbclass: Add force flag to rm calls Date: Sun, 1 Oct 2023 06:00:09 -1000 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:01:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188511 From: Ryan Eatmon The latest 6.5 kernels do not appear to create the source file in ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the recipe errors out when trying to remove it. Simple fix is to add the -f (force) flag to the call. Signed-off-by: Ryan Eatmon Signed-off-by: Richard Purdie (cherry picked from commit 2e669bf797b15d803e7d6a700e449bdc467a4bcc) Signed-off-by: Steve Sakoman --- meta/classes-recipe/kernel.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index 3abd689794..31e4a683d1 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass @@ -445,8 +445,8 @@ kernel_do_install() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install - rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build" - rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source" + rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build" + rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source" # Remove empty module directories to prevent QA issues find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete else From patchwork Sun Oct 1 16:00:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 31494 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2EAAE748F7 for ; Sun, 1 Oct 2023 16:01:05 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web11.62173.1696176062428712960 for ; Sun, 01 Oct 2023 09:01:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=RrQybxze; spf=softfail (domain: sakoman.com, ip: 209.85.214.181, mailfrom: steve@sakoman.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1c5ff5f858dso91441755ad.2 for ; Sun, 01 Oct 2023 09:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1696176061; x=1696780861; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=eICPl3v7tyC09LBfpBpEhmANHlOVF5nUIEcFxoguCf4=; b=RrQybxzeCv5xwwISAR2iIkG7sim0XH5Vhklwp0VyNktfgIVW42Rl1ZL7hXmbyStWtF yUb2oueYRv4WfG2vV+UbhFY5TtGhJ+LLqd7tKQaAugQMXABRCFEEkm4FmsmxtkfxKnt4 H5Ixvz3HHLJINKFuO6Ag/nhHSNFRXkSOiL6Wc6muR7RojU7a9H4kssqK3ZzTEtlgQk3u KJH4vP9CeZpWGqqLVwk2c3b6/jkJaMTPLIZcQsGeAXeZwlgAF/clMZMy4S9QkGXHDBGh Ge7bgfAHyFXqTKF8+hqR/5NFKJXPbUzxQfPXwEDiQHqOB4GUeoXXzRcRlV7/Gpy+t3w0 YTqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696176061; x=1696780861; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eICPl3v7tyC09LBfpBpEhmANHlOVF5nUIEcFxoguCf4=; b=Kwre9S/PO7RL2coljkgP7MiquMKeNdshT/vUlBUa/izGwk5q2k5kEzhaYcgJsjrg7G yBiXyu/xut/FkDg8nOQmSJZY/iMeShKyGKxnjjRwuYBH7HHBhMaNFn1NP/FkGe34iDJb nFN6USpLioVKD87Nji8pL8RpFt0Ad2nhGjkACgX8KphuwymQ/BOGZu44ECBOIPcYm/TQ 4mwpVfr8LjSRiIMqEzFTCvjmENifc26ywhpSN3Kspmh018f3qJH59436T8Hhk2wsS+QH Bt0MwYpMgLITHh4+UjuO8QOsB4xJNl2tullBBIwMb1vfNV0enyUco+dRzRCcmjnY2lJ6 RQ3Q== X-Gm-Message-State: AOJu0YwNz9R2sNLfLHCg5cEXFLs9XYl/BGGhMyqVCPYoz/2F3PrG9/z9 sM9UcbStlHBnpy3vLHumTuGo2gvdwehYhR8VRIKddg== X-Google-Smtp-Source: AGHT+IH+AX8z3+4w279fSsqLY5xroxHzOz4XtN6iRBWC6T/IVN2IjKjy3IjNO1Bp//qjDc5wRHX/Kw== X-Received: by 2002:a17:903:456:b0:1c3:8230:30d8 with SMTP id iw22-20020a170903045600b001c3823030d8mr7755806plb.38.1696176061422; Sun, 01 Oct 2023 09:01:01 -0700 (PDT) Received: from hexa.lan (dhcp-72-234-106-30.hawaiiantel.net. [72.234.106.30]) by smtp.gmail.com with ESMTPSA id jk4-20020a170903330400b001c5900c9e8fsm15416967plb.81.2023.10.01.09.01.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 09:01:01 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][mickledore 23/23] oe-depends-dot: improve '-w' behavior Date: Sun, 1 Oct 2023 06:00:10 -1000 Message-Id: <275410d3cc78acb66e9c7a6d529a58ac38581c8d.1696175813.git.steve@sakoman.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Oct 2023 16:01:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/188512 From: Chen Qi The '-w' option is not giving very helpful information. For example, if we add 'spice' to IMAGE_INSTALL, bitbake -g core-image-minimal, and then run `oe-depends-dot -k nspr -w task-depends.dot', the result is: $ oe-depends-dot -k nspr -w task-depends.dot Because: core-image-minimal nss core-image-minimal -> nss -> nspr The result is not showing the full dependency chain which brings in nspr. With this patch, the result is: $ oe-depends-dot -k nspr -w task-depends.dot Because: core-image-minimal nss libcacard spice core-image-minimal -> spice -> libcacard -> nss -> nspr This patch also fixes a typo in help message: recipe-depends.dot -> task-depends.dot. Signed-off-by: Chen Qi Signed-off-by: Alexandre Belloni (cherry picked from commit 222302810c472c8eb2efceaa757a253dcac5618f) Signed-off-by: Steve Sakoman --- scripts/oe-depends-dot | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/oe-depends-dot b/scripts/oe-depends-dot index 1c2d51c6ec..d02ee455f6 100755 --- a/scripts/oe-depends-dot +++ b/scripts/oe-depends-dot @@ -14,7 +14,7 @@ import re class Dot(object): def __init__(self): parser = argparse.ArgumentParser( - description="Analyse recipe-depends.dot generated by bitbake -g", + description="Analyse task-depends.dot generated by bitbake -g", formatter_class=argparse.RawDescriptionHelpFormatter) parser.add_argument("dotfile", help = "Specify the dotfile", nargs = 1, action='store', default='') @@ -159,9 +159,14 @@ Reduce the .dot file packages only, no tasks: reverse_deps = [] if self.args.why: - for k, v in depends.items(): - if self.args.key in v and not k in reverse_deps: - reverse_deps.append(k) + key_list = [self.args.key] + current_key = self.args.key + while (len(key_list) != 0): + current_key = key_list.pop() + for k, v in depends.items(): + if current_key in v and not k in reverse_deps: + reverse_deps.append(k) + key_list.append(k) print('Because: %s' % ' '.join(reverse_deps)) Dot.print_dep_chains(self.args.key, reverse_deps, depends)