Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3311827rdb; Thu, 16 Nov 2023 06:23:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuDvVIU5VmFqguYoKGgNXZ63x9DGqorFyi3/4jWZIVINJuiYsuDe6SKstikCcAEndtoKf2 X-Received: by 2002:a17:903:4d0:b0:1cc:70dd:62c3 with SMTP id jm16-20020a17090304d000b001cc70dd62c3mr9282089plb.30.1700144582894; Thu, 16 Nov 2023 06:23:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700144582; cv=none; d=google.com; s=arc-20160816; b=dzVdSPsuGQJ61RshuO/1dYkU1Ifcwmpmp51YUD46u+nrnjnbjh0zH+JVrzp5x7RAi3 k6hhYTyzJA7C0sfuouOqZ+W3+7ldj42yFqBq7xXpvaKDOYvBU50ElbNT2UMMcGfx/WOb nkNJeEKdvg7Ezs0v0WQRfa9fMlk2TpjrJPX4Jcj/0K/lqxvn03FBgxRzEifvIrJuy8jB LGsQSoOnk1FM4X07Pwes/3ENA2BF6/NJiIyi38W15+LU/nmXsXuUgk2FVz0UKHNvRkiI KWDSsMQgjb1TmYLOZB5jQBnLlAqlaBfAFwFheZoz33zsquOtXXIQwZO+WCp9ZgiYAWiv y8oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cldbB7Oykvj152VHx84X5PVYGWwpoiVvA9Jfqm8ncG4=; fh=xH4moCvQzsN+9ugM7JX/UQN3H6rCLhcemTuT12mMY/c=; b=L3KrmiWc25XF89/HFcaQ7JUX9BEBsfEGH3XaDvRmATFUun8jsq+WH7mIuL/b4qCmt2 a9+6Vk19O3j/81GCMjXNg66ym/uSQLIHaB9Ye8WxL0T8xLgV4EakbfwOKlo4IR65OlwD MBgM8UijP5RY5UYGEP3eBEwEQouofZQ5+gH/M11arvFQD66909J3wo+RxlEHDCOUnxRx by2XTVelJ1ONc9QEXLEFvkUU4DcMCyA5rZyT8N93J6oM7t0cRoJ3OQQIjSktg6JTK9Vm lZlIGWlm+T4+2HWIQ/w147l1MdiNTiugmGaG+iWBzs1wdmIuWcg63/LtNdGz4V1CFrqI +Dtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PA68P2py; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l2-20020a170902d34200b001c9d9050b37si11960956plk.260.2023.11.16.06.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 06:23:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PA68P2py; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id C45E68217EE4; Thu, 16 Nov 2023 06:23:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345300AbjKPOW6 (ORCPT + 99 others); Thu, 16 Nov 2023 09:22:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345294AbjKPOW4 (ORCPT ); Thu, 16 Nov 2023 09:22:56 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69C6211F for ; Thu, 16 Nov 2023 06:22:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700144573; x=1731680573; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2R+BjQjLudjCIoEuDzJL5Lh1qKRQYoCXOxXB+xKHIbo=; b=PA68P2py1a2gv9Q9OcTPHQe6KtbGZk3gWaxJRHUFqk7mbCxwnhtlW3ei eaDqh8+8i28M2eRHPg1BG+wR79LOe3ecRIC7r42L5uf1MUrHCdOOc67cV llI9qKERo7kY6CZl6Wly/eYDALvhWvXHCYVTHItG9P8WYBaxvIdTd9Ddp d++NyKv/ZgbxsGtpuLDeAnMY9bvQMDSukcSYGljLDWH/B39brWyw9CMe5 RL2Not9yc+JSwcl0nbqfcj88gkCffgechy1oCuH0BS1Un9H0uI0AIXBa8 6RjO53xFGBq6z9Zib9l2/hD8hGV/8GJJqAyKqxZo6uyfKNMOJtGqgZVTN Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="12644428" X-IronPort-AV: E=Sophos;i="6.04,308,1695711600"; d="scan'208";a="12644428" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2023 06:22:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="800173368" X-IronPort-AV: E=Sophos;i="6.04,308,1695711600"; d="scan'208";a="800173368" Received: from kanliang-dev.jf.intel.com ([10.165.154.102]) by orsmga001.jf.intel.com with ESMTP; 16 Nov 2023 06:22:49 -0800 From: kan.liang@linux.intel.com To: peterz@infradead.org, mingo@redhat.com, linux-kernel@vger.kernel.org Cc: artem.bityutskiy@linux.intel.com, rui.zhang@intel.com, Kan Liang Subject: [RESEND PATCH 2/4] x86/smp: Export symbol cpu_clustergroup_mask Date: Thu, 16 Nov 2023 06:22:43 -0800 Message-Id: <20231116142245.1233485-2-kan.liang@linux.intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20231116142245.1233485-1-kan.liang@linux.intel.com> References: <20231116142245.1233485-1-kan.liang@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 16 Nov 2023 06:23:01 -0800 (PST) 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); static void impress_friends(void) { -- 2.35.1