Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp666760rdg; Wed, 11 Oct 2023 01:54:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHztCmZy93I/waGi7xrOBWRdxSwt+0ffnjO4SZkJOnWDjz9/GJ2lk8lGXsLMMMrXDa6s0vO X-Received: by 2002:a05:6a20:1609:b0:153:7515:9919 with SMTP id l9-20020a056a20160900b0015375159919mr24775265pzj.21.1697014496764; Wed, 11 Oct 2023 01:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697014496; cv=none; d=google.com; s=arc-20160816; b=TpfRJLAq9SGeTdYtb5KkjLYTKifMhVzgC6FF1HXDzJrg0Y6V+uYTNPEK6Sdx3toxbp mOOdEzG6wHca/3DxqBUEeHrHt1a7pxn+a4gDzBS09yx2I1X6td9mYiJxoe6hq4fyyW52 oL/ovQCUyZE5cTSbgrLHXMEvmNngPMonUe9Yb5S6xEPOkjvvYlHqS+arXrCoQlDvCJFO nAGJM59/VKTX4KrwqlhELWF6FR0nLGrlaueHUs9wLJDtSuFNTl0RMlD1L9klZKiNwDib z+Mbn8gLbvcQI0YuAZfeIYQLwG96U5ylg5NwSTCXZGoggsm6u7HUXxxCvUsSn4n2TiqM H2rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zH5QrFCjv5ZipE/KpwO//sI0l+pqqDjyBG53m2JUhl0=; fh=hS8PMB4odhL8Iwayhjlk20H7q67ZyI8us/ehl5idEus=; b=KTQ2sfl1rfyGSJBDHieKMYAzXQaNmQqSmtSpcvNes0kMtcgUloH3fxVi+QCPGXn3BS f3BR5Prh6h07E4nq/VSUqqSjQ/5bcVP/gEB0Yu+oocVemanozHRl3yQ4+ehFzATI/18A K54WckmGKAkgjh9ppcbblFFUXQYd/ZwoTaHek/hYjgZZ2BkNoq2cWR78btaU/FAi1kny g/JWgFp1uyoxFJQkKf08KmRES3noQb0L+hWhWOtDVXEj7XEs9bMJKUse/DkTqi12le0Q twuatSmCMbSH5Hd6DLPE8RnOSbYZzmZU1/N3So2TrlfqELT3rJu6r4/6oyk0NMvNgGry 0GOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b6KcPWVx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id z16-20020a656650000000b00565e01815f2si2089624pgv.732.2023.10.11.01.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 01:54:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b6KcPWVx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DC9E18112AB3; Wed, 11 Oct 2023 01:54:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345054AbjJKIy3 (ORCPT + 99 others); Wed, 11 Oct 2023 04:54:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230393AbjJKIy2 (ORCPT ); Wed, 11 Oct 2023 04:54:28 -0400 Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF1E2DB for ; Wed, 11 Oct 2023 01:54:24 -0700 (PDT) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-5a7c08b7744so19503917b3.3 for ; Wed, 11 Oct 2023 01:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697014464; x=1697619264; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zH5QrFCjv5ZipE/KpwO//sI0l+pqqDjyBG53m2JUhl0=; b=b6KcPWVxwKeEkkODydCYIkygdMwARo9Rqc53EB5nDG4E/qL063Lwm5SmO9MRVc8oOF 2e3QODQtrtSSoR3lYaHY+tdladKUOoawg+t4Yz6hAPO21x+WXeGgQPOskZFlOOXP/dge 4luLpg6rXTqh3Vz7OssMmU7Tv7ht8jIJutdg+lURInIjQq5CtqhaCfWC9XVvvWnvAEQf 9/AeIiwsBm7lIfX4clr5ehkAJr9IQRPlXpBvmAeQhlOamraC8hESUfiks8ZhP3nQe0ba /5F5TR5qQg7JIZ9BaZstWkEXLk9gpB5naKD5D4RGkBuVDlTb+MRbRDyywVOHcKjJJV9U 7CmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697014464; x=1697619264; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zH5QrFCjv5ZipE/KpwO//sI0l+pqqDjyBG53m2JUhl0=; b=eqWZiboLAT8SVHCLpJax+CHUROFmvifN2w4X5jnuJV6CN9mULCIh9XYNVMLhUHCNL2 WIBq7xOkf5y4vFhay0qcf85JA8I4XEzumHtRFFaHQ+h+1tlPGXdoXJ9Z/y3All19OQPg jJKId2m9cRv6gR3D/MqwObs5rFNmAZZiM5/SuNZ9yT0mbptDCuxxBQwacQHzeSvC65Bg Vn7kT+1Xr5f+bhgviM6S8PO50CNrOC6XuMVQSxoqC5NNjotS/8qwc/ywUST+5WL7WB97 Yr94jgAWK5JOxUCQ93K95oXxZPa6/G8rNjZtYgbQv446q0uiBe171ef8/JyokrFfDoUp ffEg== X-Gm-Message-State: AOJu0Yx8/Z4gYwZBrgnJ5M9ZikdgGBY9xDoIK2NX8VBx1opomyz68UOY LXgQMmdeBjQjdCi1945agOdbygmXgt+06ttjMo4= X-Received: by 2002:a25:bbcd:0:b0:d89:4d9b:c492 with SMTP id c13-20020a25bbcd000000b00d894d9bc492mr17024444ybk.22.1697014463874; Wed, 11 Oct 2023 01:54:23 -0700 (PDT) Received: from localhost ([122.172.81.92]) by smtp.gmail.com with ESMTPSA id n9-20020aa79049000000b0068fe7c4148fsm9510446pfo.57.2023.10.11.01.54.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 01:54:23 -0700 (PDT) Date: Wed, 11 Oct 2023 14:24:21 +0530 From: Viresh Kumar To: Thorsten Leemhuis Cc: Dmitry Baryshkov , LKML , linux-arm-msm , Linux ARM , Linux Next Mailing List Subject: Re: next: Build error on arm64: `modpost: "of_find_next_cache_node" [drivers/cpufreq/qcom-cpufreq-nvmem.ko] undefined!` Message-ID: <20231011085421.h4qtizye4m3rjuov@vireshk-i7> References: <8f982779-d7d6-494b-affc-9ecd44b1e23a@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f982779-d7d6-494b-affc-9ecd44b1e23a@leemhuis.info> X-Spam-Status: Yes, score=5.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,SUSPICIOUS_RECIPS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 11 Oct 2023 01:54:52 -0700 (PDT) X-Spam-Report: * 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was * blocked. See * http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block * for more information. * [URIs: leemhuis.info] * 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS * [2620:137:e000:0:0:0:3:0 listed in] [zen.spamhaus.org] * 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level * mail domains are different * -0.0 SPF_PASS SPF: sender matches SPF record * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * 2.5 SUSPICIOUS_RECIPS Similar addresses in recipient list * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from * author's domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list * manager X-Spam-Level: ***** On 11-10-23, 10:49, Thorsten Leemhuis wrote: > Hi Dmitry, my linux-next builds for Fedora failed today with this error: > > > + /usr/bin/make -s 'HOSTCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' 'HOSTLDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' ARCH=arm64 'KCFLAGS= ' WITH_GCOV=0 -j4 modules > > drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c: In function 'dpaa_set_coalesce': > > drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:502:1: warning: the frame size of 4112 bytes is larger than 2048 bytes [-Wframe-larger-than=] > > 502 | } > > | ^ > > drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: In function 'dpaa_fq_setup.constprop': > > drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:1000:1: warning: the frame size of 8224 bytes is larger than 2048 bytes [-Wframe-larger-than=] > > 1000 | } > > | ^ > > ERROR: modpost: "of_find_next_cache_node" [drivers/cpufreq/qcom-cpufreq-nvmem.ko] undefined! > > A quick search on lore found that the 0-day bot encountered a similar > problem early July: > https://lore.kernel.org/all/202307030626.PUPpfATh-lkp@intel.com/ > > Back then it afaics was caused by "cpufreq: qcom-nvmem: create L2 cache > device" which is new in todays next, which makes it a likely suspect for > my problem. That's why I decided to write this mail. But note, I didn't > verify if that patch really causes the trouble; hence if you think it > might be something entirely different, let me know. > > Full build log: > https://copr-be.cloud.fedoraproject.org/results/@kernel-vanilla/next/fedora-38-aarch64/06516038-next-next-all/builder-live.log.gz > > I don't have the config file at hand, but it should be the following one > processed with "make olddefconfig" > https://www.leemhuis.info/files/misc/kernel-aarch64-fedora.config of_find_next_cache_node() needs to be exported for modules. Dmitry, can you send a patch for that and mention that it needs to go in via my tree ? -- viresh