From patchwork Mon Nov 20 14:35:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 167183 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp2246785vqn; Mon, 20 Nov 2023 06:39:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYIyITVeMIKDXqUSoqff+3cEOlA7J7EJsriiCp1kR8bQXZ7A2ZjsN1PoG0dSMb9MG1klTS X-Received: by 2002:a05:6a20:e110:b0:186:46f3:7c10 with SMTP id kr16-20020a056a20e11000b0018646f37c10mr6100482pzb.51.1700491195052; Mon, 20 Nov 2023 06:39:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700491195; cv=none; d=google.com; s=arc-20160816; b=XdBzE+EqNpJg8ZHLKtvRPyU3teeaow0eGZEe7ux97O61dqxnIu4Hl29vzaJD41pOzB /tN2ASpdK9H0h+Wn2BWpJR52JMgO1EUTaJpCrH8ui6wpEMJBtwLkxRR1O7WnA4DnURSl nXDdvWE0+qwNvsmxLk2/iXwf69sQtXBeUit0mCCwrYj65uBHeXutvqPo+j67wBk1vCWw ztTwWfPzu4KsK53lf5RXnHOloru6bEbMVcwPDczm02KlArqVUxAgIhRE5na3P6EgrwDz ZXOWR8PZnPyuPOkwadaW8v0NX1M5oVXwZhXu58Tj2wxEekYiYJtrNhh86uZiQt4PajXJ p81g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=TXBWR29QKiVuMOe/5cddg5Sksdh/jRTbLXljeI6tL3g=; fh=hNrfQAbYh3Z2DJEENGJHk2DI4zZ1Z/35CV7+DFUZfaE=; b=wQEkNDn+EtJxTiFXFJn5QX2CVd3BN6Bcwza65DYcSitvnxryydJUxwFKGfLGadydr7 NPeD+uQPhtcLlTvf3MVd2JRPdzUCrdmXpugecn5tPT/Qd0Hp9twsXPB6usWJnx34U3F5 17dRyigK62idY7906qLnWxf0Wm48JBkl20PUsuMOr14DG8BgYN36D1SBHL3xpnvMrZWq SvjMq4Peu0nyLALHacRW5KQPB+5Ay1eEfvaLlJvuw6fVt694KBdEXW0agOvstZ/vI7lU 625ttAqOfysObjpb9iqA2zTWZAt+wmV4kcgEcR1SH0HmMn8D6H+Vd4jqfi2ZYyLGf8lo LQqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=eQezzV3I; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="9Zhfl/0W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id c6-20020a056a000ac600b006c34752a6e8si4938003pfl.81.2023.11.20.06.39.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 06:39:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=eQezzV3I; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="9Zhfl/0W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6BC2F8069D86; Mon, 20 Nov 2023 06:36:05 -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 S233522AbjKTOft (ORCPT + 27 others); Mon, 20 Nov 2023 09:35:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233465AbjKTOfo (ORCPT ); Mon, 20 Nov 2023 09:35:44 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5724ECA; Mon, 20 Nov 2023 06:35:41 -0800 (PST) Date: Mon, 20 Nov 2023 14:35:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1700490940; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TXBWR29QKiVuMOe/5cddg5Sksdh/jRTbLXljeI6tL3g=; b=eQezzV3IoLtM/KGep9aOlVbLbj11+BXuqPZJyTNaZGR66te8k3WiXEhs+vmzH02LY7tDQF xzfrU7GumnmKzG0g0rs3/jDX48Zn/5rNWU/uohk51ZiTb0TYibUcDA0z//cXMXTwcNWdiT jmwjZ2nJHN48pYduYPwojVA82XiVQhGV4RkQyhTomSynmzm7IdWFBhJsn5MGX1tmEcVb3r Z1cdQpzio7kYxE1l3KZYbOmlr/Av4ZVO0e5ookIlB2ILJY2J95d94ZbUjgAaXsqhXfsO3v 61A3gp8ipr2AHBm2hsP/b3kXdhwb5g/tJPtwZ2qofOhjvjAKFOe75ytGd4ZBNw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1700490940; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TXBWR29QKiVuMOe/5cddg5Sksdh/jRTbLXljeI6tL3g=; b=9Zhfl/0WUyr8mmChJzsKiIPjgu5rKoClPEsXhUQa4V6FkomOqchQSfdNKtNG+mRWaC+2Hk 4gY/I3KTAZm1A8Dw== From: "tip-bot2 for Kan Liang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] x86/smp: Export symbol cpu_clustergroup_mask() Cc: Kan Liang , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20231116142245.1233485-2-kan.liang@linux.intel.com> References: <20231116142245.1233485-2-kan.liang@linux.intel.com> MIME-Version: 1.0 Message-ID: <170049093932.398.7671603015835084715.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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]); Mon, 20 Nov 2023 06:36:05 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783094255609132108 X-GMAIL-MSGID: 1783094255609132108 The following commit has been merged into the perf/core branch of tip: Commit-ID: c3dd1995620cdcd65cf4944c4164b0dbc16e557c Gitweb: https://git.kernel.org/tip/c3dd1995620cdcd65cf4944c4164b0dbc16e557c Author: Kan Liang AuthorDate: Thu, 16 Nov 2023 06:22:43 -08:00 Committer: Peter Zijlstra CommitterDate: Fri, 17 Nov 2023 10:54:52 +01:00 x86/smp: Export symbol cpu_clustergroup_mask() 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 Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20231116142245.1233485-2-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 2cc2aa1..3f57ce6 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -757,6 +757,7 @@ const struct cpumask *cpu_clustergroup_mask(int cpu) { return cpu_l2c_shared_mask(cpu); } +EXPORT_SYMBOL_GPL(cpu_clustergroup_mask); static void impress_friends(void) {