Message ID | 20231016174014.453169-2-kan.liang@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3622426vqb; Mon, 16 Oct 2023 10:41:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3gOLiLseG1SEyw6Dmp9fyMsg8ihAf3wuYa43fan6hWAnVdLJ4buL1J9S+RSdFIj/pJzmP X-Received: by 2002:a05:6870:9a9a:b0:1e9:b49b:8d7e with SMTP id hp26-20020a0568709a9a00b001e9b49b8d7emr13664295oab.0.1697478072486; Mon, 16 Oct 2023 10:41:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697478072; cv=none; d=google.com; s=arc-20160816; b=DhrisRIe///GQ3gQR/bWvHVvZcuMoqmu9by+FfbB8duYx2EptM8BcpeI6RmUX87cbQ iJPHr5ffBTrrZMOyuKUlzFJgZ+XVozlfY2+oKreVMF6PmSfxdH1R1NWNBShcKE55Czm9 akPeVWmw1yUawoXKCH6yYtO0uKpSDY9s0OPhdYWx47v87DybviDGfDf2twxX7DktaycD Yy7h7t8nDEdSv3Y7xrXq89Gdz7J3PvfP5vlDkDFnD2oxe0N4ZaLKTS4iLWXlnxbY8IgT cQKcE5+MAXtfpKFZ+/EJyJkNH6sNdRux2hxF8mukQ60k4RPcx4g/jhidP961dqDUyqQc 31CA== 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=Knl9xj4f0MBv7wa4kGXUTMBOYd90jDfg/paBKLES0QohLBplkV0dDS1HF7zMXUiBoY UkCadawxBRu1+v4PtLFKu6RLMvFAg4j6xKC9zL2JN+qicQcEbSMWdZrFUNK8FG1PhNty SZyc54GIuXaSHu/vcZNpsIOw/aXxC5Thz9NWChC5hGcRb2dDs3p0UWWSfQdBxHQh5IPB Zfp6Vd3iDSSwMZFc0p1EZvLvt8qhyfLnEJVhpvgpizLvnm180zc4BslqiosRp1k7AluD 9nsPv8TV/mEn6ZmVKLr5pv+uI9HmFQUXyW2n6BT8XQzp9MsrIuZ4/XpSJEWpwDYoFlXq HAFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ERJDAJsd; 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=intel.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id q140-20020a632a92000000b005a4d0e504b0si9409551pgq.901.2023.10.16.10.41.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:41:12 -0700 (PDT) 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; dkim=pass header.i=@intel.com header.s=Intel header.b=ERJDAJsd; 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=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8A10B80A283C; Mon, 16 Oct 2023 10:41:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231221AbjJPRkf (ORCPT <rfc822;hjfbswb@gmail.com> + 18 others); Mon, 16 Oct 2023 13:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232198AbjJPRk2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Oct 2023 13:40:28 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2C069F for <linux-kernel@vger.kernel.org>; Mon, 16 Oct 2023 10:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697478027; x=1729014027; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2R+BjQjLudjCIoEuDzJL5Lh1qKRQYoCXOxXB+xKHIbo=; b=ERJDAJsdRSAF9gOspAPdXmYE5MX79gevWaj6LMJ13aLDxhdQgdoRE21q kSFNTvb9YsDKUOcVGRoI0L9iZuwC6tE8XI14xUtWcPLB/nWQr8Kz/+VTV 27Zdp5gRegO821T7ocP8LG6ABzpUpD5INPQpjXQdUE9j9ZMPziJiT72C4 wBqudqo0PhxBxT78HcaLoXHPuqLjNTudEWcgtd+mFUSmYrMfKyBBTS+lN rbRO6A71aRTz2JEXG9q8Z/V30mvvWWySxOtIMjG+lhYf3vyXlKH3gyWEW ZpdEaYIZmbgs5FSbrN8Yur65P/EVCwekTengrjbfTzzp+RNMF2c0HzKG5 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="365858554" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="365858554" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2023 10:40:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="785175359" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="785175359" Received: from kanliang-dev.jf.intel.com ([10.165.154.102]) by orsmga008.jf.intel.com with ESMTP; 16 Oct 2023 10:40:22 -0700 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 <kan.liang@linux.intel.com> Subject: [PATCH 2/4] x86/smp: Export symbol cpu_clustergroup_mask Date: Mon, 16 Oct 2023 10:40:12 -0700 Message-Id: <20231016174014.453169-2-kan.liang@linux.intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20231016174014.453169-1-kan.liang@linux.intel.com> References: <20231016174014.453169-1-kan.liang@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> 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]); Mon, 16 Oct 2023 10:41:10 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779934767202811669 X-GMAIL-MSGID: 1779934767202811669 |
Series |
[1/4] perf/x86/intel/cstate: Cleanup duplicate attr_groups
|
|
Commit Message
Liang, Kan
Oct. 16, 2023, 5:40 p.m. UTC
From: Kan Liang <kan.liang@linux.intel.com> 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 <kan.liang@linux.intel.com> --- 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) {