Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5292194rdb; Wed, 13 Dec 2023 04:56:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGlc/7fJenDi+9N6K0SdtZtyVDldO5XLq2vEpSz3lsyW0ow96WiMwKAI9vRro1eHJD7SIDI X-Received: by 2002:aa7:888b:0:b0:6ce:6448:4961 with SMTP id z11-20020aa7888b000000b006ce64484961mr10959304pfe.12.1702472166310; Wed, 13 Dec 2023 04:56:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702472166; cv=none; d=google.com; s=arc-20160816; b=IhSIm9DMXw6gUMbTSaSWRCwPqlbEx5Sf+SOT6dFZTnB85qa9mp+l++KA/8Hd09Xqgi SKBfgjn5SNGhq+cyo92RdqtM4g8ez13SXSWB7BStXdoOm/nFDVYb3oic5CaRXxxAY9gu sJEwybOJvZafffaV10k0DGf0PUq6TbdiUgP7jz7d511wLjCjnjIr71g8Hv937Ym7oSzZ 1sgi7Uh1qRLIxNeSAO/ZjW1ELUib9AElcO785qCeYQKHhML7WmdzXXD0XuZduijB5UzH Chzq/S7/NJID2GMzIyYAKQGZSde/gEBNE/nHHvteWu6hdJdfVqtxR82bsIfTeKGdLW/6 JZQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=hE4kMYd6MCkd4685Cjs1kggw+geeWGdzzJohqdeRZoo=; fh=pOy93fluIFJZzsDIoG4njsjA8ehy5nA6mnxxAYB+Yac=; b=P/XBFoEPTBUs9nyXOLTXsaYOmsS86eihS05MK4HYZv8SeR7zZgJQ7SoXdw0gp7yEyA V0IAp1lt21u0/+MiqGrdjmjHr9ba3xwigdi/GmHwehSSf7Dzr8Z+bPmPQxyttl9aXNUk 6xUjy3gR1aZTkJb+38Cm+PQgaShwdHJzfEhmXaW+gsbHPuMi1x2EttlFg66PT2uc6xTT S7arnk/IVk8qiWjtyZVb6WB4n1hlBnpEnOgAIHW/GUNvothKDqfv3d4cRt4+Ewl1X5j0 +Bv1cHmSEP4hx1zinLWLf2fZXPiC87FZbQHjgNiPL6lRF4JCXZasAC0w2wZYIZRmJoVS AdeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id o4-20020a62cd04000000b006ceb41fd6dbsi9465969pfg.256.2023.12.13.04.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 04:56:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9D7348052BFA; Wed, 13 Dec 2023 04:55:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379056AbjLMMzT convert rfc822-to-8bit (ORCPT + 99 others); Wed, 13 Dec 2023 07:55:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378923AbjLMMzF (ORCPT ); Wed, 13 Dec 2023 07:55:05 -0500 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF111135; Wed, 13 Dec 2023 04:54:20 -0800 (PST) Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-6d9d6f8485eso881268a34.0; Wed, 13 Dec 2023 04:54:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702472060; x=1703076860; h=content-transfer-encoding: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=crfJNz0NkMSgeWJLA+8VmC2tAn5+LLBTeE17x+YD3zU=; b=IBfaxsTw1YAxxZVBiqYcWshZomsbKgyB/093BsgmmFo3aSm3CxLFSqG9oO8qBJ3rkO MuKhx0VSrbaYFzpptWInZmJ6pLAsawC/VH3SSaKK8jTCqrL3fqk0eCNzCrZNm5C3Avbz rOUkxmZNHTcVUsZ3jdBh293I0NWddVpmsczN5opoCjZ4ySMHiHtE9VkqSLM4qvgc3I2f oIXG6dFks8qCYeuni41Yl5pU5Z2k0D8v3GJsHnkJPUjA+yn2oeCgtHcpOeVJp3a8M9YB KWOlYs7lANBs2RTzzog/+oyRpiZ1JYfhCrdwup8URtYVSV8MmDrgAPV7/x1ybqRJBZJd d5pQ== X-Gm-Message-State: AOJu0YyFcVLxd84gLOQygcy3aPg6CY1E9UWjHsFdc+wREMSxaPMD1aCk vy6eZLw0H70QSwdzpVZpGzi5Z0KGKst7TDVBUWA= X-Received: by 2002:a05:6870:1484:b0:1fa:f0ee:ba9c with SMTP id k4-20020a056870148400b001faf0eeba9cmr15174841oab.2.1702472059801; Wed, 13 Dec 2023 04:54:19 -0800 (PST) MIME-Version: 1.0 References: <20231212214843.256622-1-arnd@kernel.org> In-Reply-To: <20231212214843.256622-1-arnd@kernel.org> From: "Rafael J. Wysocki" Date: Wed, 13 Dec 2023 13:54:09 +0100 Message-ID: Subject: Re: [PATCH] ACPI: arm64: export acpi_arch_thermal_cpufreq_pctg To: Arnd Bergmann Cc: Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , "Rafael J. Wysocki" , Sumit Gupta , Srikar Srimath Tirumala , Arnd Bergmann , Len Brown , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Wed, 13 Dec 2023 04:55:35 -0800 (PST) On Tue, Dec 12, 2023 at 10:48 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > The cpufreq code can be in a loadable module, so the architecture support > for it has to be exported: > > ERROR: modpost: "acpi_arch_thermal_cpufreq_pctg" [drivers/acpi/processor.ko] undefined! > > Fixes: 310293a2b941 ("ACPI: processor: reduce CPUFREQ thermal reduction pctg for Tegra241") > Signed-off-by: Arnd Bergmann > --- > drivers/acpi/arm64/thermal_cpufreq.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/acpi/arm64/thermal_cpufreq.c b/drivers/acpi/arm64/thermal_cpufreq.c > index d524f2cd6044..582854914c5c 100644 > --- a/drivers/acpi/arm64/thermal_cpufreq.c > +++ b/drivers/acpi/arm64/thermal_cpufreq.c > @@ -1,5 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0-only > #include > +#include > > #include "../internal.h" > > @@ -18,3 +19,4 @@ int acpi_arch_thermal_cpufreq_pctg(void) > > return 0; > } > +EXPORT_SYMBOL_GPL(acpi_arch_thermal_cpufreq_pctg); > -- Applied, thanks!