Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1005334rdg; Wed, 11 Oct 2023 11:22:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHngwR+OAJ2AnEOB61xmmnGeB3hhY7XriERJWNXJyHXCKQsAzGhVQrEb6GL46K9FTF7ZMeY X-Received: by 2002:a05:6a00:1a92:b0:693:394f:5d99 with SMTP id e18-20020a056a001a9200b00693394f5d99mr28293502pfv.8.1697048556496; Wed, 11 Oct 2023 11:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697048556; cv=none; d=google.com; s=arc-20160816; b=PRwcENQrkx599w7zVO9OqO7CpPDpFKbh7AVoTAXbPwW0cPQop6X+BzpS1BBuzuXwer rEYAhQpgj4Hf4LyTSe5e6Jbumi8WHLceGPFBZ8FwrjShdkNB5QgTfQDUCfYsQkMA+sOY ncpzz5+Oy/twGKZP/xb6slt1pP66GNpuiH0IVkM/lewAhm/8b7sQ9XI9e8IzaLH1LjFW dlblL3rj2TyjTWIsricAFcuBsSnoU3Rn/y4Zk7VFxVH9ciZEq7riycsu0G07oLXweX3P gD6KHPbaJ1IXsSl3KoXa++zBIkAuI1BJDSEcsNjjZc3opicLx27oGhvz7Voqq3B10bNU NAag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qYC+QdebhMUUKlBKCpFel6bZX2Qz0E1nzo8vsVmi1ko=; fh=P0VSMumRtinr8rEyHe2byzgxKog0cnPooyewqasedwU=; b=zCcy8qK6D3dsTeJqHC8kd3/yknVyqP/JiCUV3isDE6woA2UC3tDqU9sSy6k7iEYNZf V9Vd+toICSHKUWyyfMVmAUxyXQTsrze0T+ZTsjXaS7rT01vIN8CJDOmlZjit1pKVUCqK 4gt9nyiwjlpbrWd86UTNmX2W9qqV6apwd4zH3zXPecoyE3lKZdgtZCQEq0PGPR1wEDot Akil9e1tiPKwlFnNpn7jP+eWI6EgzmvhJrZjDVdRJ2Ay8m4B55PX6ODMenYq/YPdj9xB szG0GMmnU5T31zZ/f9x+LxZ/mdkGx0wcgtYXNYBwQKETPqPy2ZLYMvA+IJXrpbPGO4bN 753A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mIc7jjMa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id t34-20020a632262000000b00573fa4cfe49si347721pgm.166.2023.10.11.11.22.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 11:22:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mIc7jjMa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 17C7381143C7; Wed, 11 Oct 2023 11:22:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233189AbjJKSWZ (ORCPT + 99 others); Wed, 11 Oct 2023 14:22:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233077AbjJKSWX (ORCPT ); Wed, 11 Oct 2023 14:22:23 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ECE69D for ; Wed, 11 Oct 2023 11:22:22 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-5a505762c9dso1630987b3.2 for ; Wed, 11 Oct 2023 11:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697048541; x=1697653341; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qYC+QdebhMUUKlBKCpFel6bZX2Qz0E1nzo8vsVmi1ko=; b=mIc7jjMaG1ZDFmILFtP9V5XI3F90a4YLxTcEotXm9ioLebQL0IxjAW/vbS6wKwv0+G 0KrIb+pYeEwgwStKElirp7vDwnjP9QJrrUYGjttX1iJoeWPApp5n5v74a3rZxOmiaQ23 n4S0hliw93Zr02IZMWndZ+00L92g8VPMLC6Ggb2/oknAd2t3aHsJahS2+20NwrJAKmvz hsL1MF1eoT+vhAWF9yjIwHlNG+77ooPlE7u2DBDVaRpIEJcfnyw/V44szdtk0E3KrIaR oa0xmdQAyNTEBWjl0LNJZbMYqGA17eXumjGSAK4uaFDckvytac1zPB5KLnnpjyiE5tUA i33Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697048541; x=1697653341; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qYC+QdebhMUUKlBKCpFel6bZX2Qz0E1nzo8vsVmi1ko=; b=chK83/DSUa/sfLVCbDYp03sBeWrvOsKwI5dLGqsg16NEwJyI0BUKvsvPAEj/AXBDsD UIUvcGoPww+0Obab9hFBEoTJ6wQJLnlz+Qhms/0YhbwTNY4zdj2W7jw21B6cMMocGO26 UuZh+plVh8aXjszXRNVz5oRqc4MwzKEAiq+7qGFkEfV2ENXo6xPBBfF5luwz2fCnH45M izxZQAORxEihuMA8sQ64VVKW9zO1NsQp/sqSAeJhtaOaUpATRQhWpErYdQpziL+8N405 h59LI40kYtwCfGs2sd/QY8I088pjRPwhIxrd9tHkAXkghfGfriXkrRyRvCwSFxD3OBdM JMbQ== X-Gm-Message-State: AOJu0YxV82tcUmnL9DinvC4cBLf+preoBAFDkiNS7p3j2rseYDOPWwCg gX/Ano4gujPXcOnYGq2vyu+cp6BRTsuvzuuef3SbIw== X-Received: by 2002:a0d:cb49:0:b0:5a7:c97e:39e3 with SMTP id n70-20020a0dcb49000000b005a7c97e39e3mr4964575ywd.15.1697048541184; Wed, 11 Oct 2023 11:22:21 -0700 (PDT) MIME-Version: 1.0 References: <20231011131431.2559029-1-arnd@kernel.org> In-Reply-To: <20231011131431.2559029-1-arnd@kernel.org> From: Dmitry Baryshkov Date: Wed, 11 Oct 2023 21:22:10 +0300 Message-ID: Subject: Re: [PATCH] of: rexport of_find_next_cache_node() To: Arnd Bergmann Cc: Rob Herring , Frank Rowand , Arnd Bergmann , Greg Kroah-Hartman , Yang Yang , Geert Uytterhoeven , Sebastian Reichel , Miquel Raynal , Viresh Kumar , Sudeep Holla , Benjamin Herrenschmidt , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.7 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 autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Wed, 11 Oct 2023 11:22:33 -0700 (PDT) X-Spam-Level: ** On Wed, 11 Oct 2023 at 16:14, Arnd Bergmann wrote: > > From: Arnd Bergmann > > This function is now called from a cpufreq driver, but that breaks the > build when the caller is in a loadable module, because of a missing > export: > > ERROR: modpost: "of_find_next_cache_node" [drivers/cpufreq/qcom-cpufreq-nvmem.ko] undefined! > > Export this as a GPL-only symbol, like the other related functions in > this file. > > Fixes: 7683a63c08ff5 ("cpufreq: qcom-nvmem: create L2 cache device") > Fixes: a3e31b4588443 ("of: Move definition of of_find_next_cache_node into common code.") > Signed-off-by: Arnd Bergmann Thanks for the patch. I've also sent a similar patch at [1]. Now we are discussing with Rob if the overall idea of the L2 cache device is correct or not. [1] https://lore.kernel.org/linux-arm-msm/CAA8EJppCO-q=swYOH+O2fOdUDbNzd1yz9ZoTEBswV7RmvFJifA@mail.gmail.com/T/#t -- With best wishes Dmitry