Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3350898rdb; Thu, 16 Nov 2023 07:21:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOC7Lzj4XQUn4oVtx7qVlLjCUxRwHGrtQNvrnxMhBHItnBnuohL6dZenC5OaXy8GTpTBoY X-Received: by 2002:a17:90b:3e89:b0:280:a252:d91b with SMTP id rj9-20020a17090b3e8900b00280a252d91bmr15341072pjb.15.1700148078581; Thu, 16 Nov 2023 07:21:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700148078; cv=none; d=google.com; s=arc-20160816; b=WuLaa7wyy3LK+3lArznBn4ROxIoTlX262W9j+FHXv2T6Kj0wXgEDVwfqEhnAp+wqtj 271ky0AcqlnQyQB1Qr8oZMTq2nZHJsm8jhXvi8Vjh7HvzhpO5AmaVC4MDK7zsnfXrNU6 PTSoANfWScUUsqUdnmvrLAeVrMhuGtIZZwJetfL0ZVZYM1WgEkM/9X6nmsSZY4qoLDEl +IElMcx3x2JRmOvrzVuhL7Zj/sXWWWnpJLPaYZeB5+LmMVwRZNlEmqxSa6YGKaFF0zX/ JsKgM/RTweDBmpLZ5qLBhZis8VjENxlnzqASd0cw0pQXNUOz3gvSftVyswAB0hGct8Fo V3Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Z9FyrKqIt+u1K13OUnOmFN912x2+xsldC17pgXmGQWM=; fh=+k7MyZ7fZy+DOh2IaQE5RqbmJ25xtUPfPBRTVU+q4q0=; b=AQc3tIh5BkTOtWw0e3C0FCK7H5j3g/Lb2OX5VPj/qWy5kK26a/CS6vlEwROTSAhpNd oy3DDRYpFvx3ovYE2DpLT4GZsaOIVIA91dAtWsEASvYZLxwANE7V3ToYEeLwwy0e7iKS xOeU1TB3zaB04tmAY2MssfD6fpvMinlytydj7Y23FdAvTuq4IDIS9LF415iyymBzuhFU CTcbPgPYombqu3mU/K9KOnDkEBPGy4AtyREE6AOjRU2gFqCD1GcJ2QV1llMgyE9gwT1l o7U8BmjPubyoKjleKLHTsKAEn/JgMKd8DhpWhkWwA35Xft4EQ8L2zY8Nir6VdItka+xg duCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RaV74/e1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id c9-20020a170902c1c900b001bda57935fasi12200645plc.64.2023.11.16.07.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 07:21:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="RaV74/e1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9572680EE73B; Thu, 16 Nov 2023 07:21:13 -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 S230030AbjKPPUy (ORCPT + 99 others); Thu, 16 Nov 2023 10:20:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229619AbjKPPUx (ORCPT ); Thu, 16 Nov 2023 10:20:53 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAB0B1AD for ; Thu, 16 Nov 2023 07:20:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700148050; x=1731684050; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Rwg1spkErK2RHGowjwwxQ9ye/SLIix5m4vLE3yJbN3U=; b=RaV74/e1kHXWKHd58QLqcr/TbdVLSnkbBJlGnKNra+YI53/1cBiB8t22 JRRfVX2OldhP4imTfzHTtIDMTteKySNHM0IZpsLdLf5yJx+T46GmDhaED SZeckrlxJkP0uU0SrCT06fhnrkTuKeGvuhyA+JKo9TOU17dqw8I98pVon jmSyLZ2VlZcvdO8CcrSXR2Go8msSPFPwK0yjex5c321iAIYb3fuMfATbJ H40OOi19AqXpQ8kAvngZWMAYwZ02XGovXA/NRIixSCUuzBRl10JGHlxPY ZBkSMnlby+80NZvQzHyTp5t1bLcvNE79wMAeBLYexnujeu4SVIRiFSo9c Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="457600699" X-IronPort-AV: E=Sophos;i="6.04,204,1695711600"; d="scan'208";a="457600699" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2023 07:20:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="758862751" X-IronPort-AV: E=Sophos;i="6.04,204,1695711600"; d="scan'208";a="758862751" Received: from linux.intel.com ([10.54.29.200]) by orsmga007.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2023 07:20:50 -0800 Received: from [10.209.160.241] (kliang2-mobl1.ccr.corp.intel.com [10.209.160.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id 805C4580D2C; Thu, 16 Nov 2023 07:20:49 -0800 (PST) Message-ID: Date: Thu, 16 Nov 2023 10:20:48 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RESEND PATCH 2/4] x86/smp: Export symbol cpu_clustergroup_mask To: Peter Zijlstra Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, artem.bityutskiy@linux.intel.com, rui.zhang@intel.com References: <20231116142245.1233485-1-kan.liang@linux.intel.com> <20231116142245.1233485-2-kan.liang@linux.intel.com> <20231116144034.GG8262@noisy.programming.kicks-ass.net> Content-Language: en-US From: "Liang, Kan" In-Reply-To: <20231116144034.GG8262@noisy.programming.kicks-ass.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,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]); Thu, 16 Nov 2023 07:21:14 -0800 (PST) On 2023-11-16 9:40 a.m., Peter Zijlstra wrote: > On Thu, Nov 16, 2023 at 06:22:43AM -0800, kan.liang@linux.intel.com wrote: >> From: Kan Liang >> >> Intel cstate PMU driver will invoke the topology_cluster_cpumask() to >> retrieve the CPU mask of a cluster. A modpost error is triggered since >> the symbol cpu_clustergroup_mask is not exported. >> >> Signed-off-by: Kan Liang >> --- >> arch/x86/kernel/smpboot.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c >> index 48e040618731..376387ca6be5 100644 >> --- a/arch/x86/kernel/smpboot.c >> +++ b/arch/x86/kernel/smpboot.c >> @@ -747,6 +747,7 @@ const struct cpumask *cpu_clustergroup_mask(int cpu) >> { >> return cpu_l2c_shared_mask(cpu); >> } >> +EXPORT_SYMBOL(cpu_clustergroup_mask); > > I made that _GPL. Sure. > > Queued the lot. Thanks! Kan