Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2781923imm; Sun, 12 Aug 2018 23:46:39 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyQddrg6L5+wueDrfcd+E+umXUkG50LEHkb12aUs08rWHivO5dddLJYmkt8WXcu2YxlgNIT X-Received: by 2002:a63:6441:: with SMTP id y62-v6mr15691779pgb.240.1534142799216; Sun, 12 Aug 2018 23:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534142799; cv=none; d=google.com; s=arc-20160816; b=P/g6V/iU0VwGljcfxufuuzj54XRH3LFw7gZKLlxCtz25Or6vMfUN5QaqHXzXbYzi6Q GdYBcAZsfRmnSwiUggoXfG1greRXXMCvq8t+tmZ7++dnbSWZLecHKS1iwhsR0SdBIizc akuMTKRHodZaZ7MvBFUZSfgoeqtkq7x2w3eqUOkL12mDZyV3t8VE4RRlUQoYz6nPLzPv 9x0lgStb+53SJQ9ri6erRLlfhQPGFItPS4vaqoUjWqmnmOiIQWiW5A/Hd8i9+qZWRhZW bsp3uB+sSAOjqhQ12EXFDE3vN2ByGD6zyJsdBfC/nWADN1RBu0pjLZTxmd4/JM6qoKqd L+sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=8IO/Q3Xizwokgt1XtFKixU9s4MPvfjrTtvynynL/VJ0=; b=LqGcYQNnf3Ksfbs+3ZH0BVG5YADH/KHbTjA1AvW5cYiBqwGHFKTFFvXBpEQ6rpJCI+ P2KaB4IwlutuBfHQ3ufgogu9u2tTuOjr2CS3DJF6of4Fk+pREICmny1G93N8MjKPZ+ij l+CjRNcxOSN/q3v0C1C+4w4kHSkdmuEQVV6LUJqBkPmS1s5WGcV3BKwJnomacHv9b7ix Ra8OLPeQLoP2la7Xkkup1jlzEpgLavykTey6zMkItub5RNBKv+is1AchyP5w3xPKNtJK ArxGhyZyezr3k1S8FBzzF0W5Y+21CSgce7lYv0xQokQpzASDr9eMKkuPTmtAjlXgN1qS mhUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fAzZnERp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r10-v6si17982389pgm.535.2018.08.12.23.46.24; Sun, 12 Aug 2018 23:46:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fAzZnERp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728431AbeHMJYk (ORCPT + 99 others); Mon, 13 Aug 2018 05:24:40 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49780 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbeHMJYk (ORCPT ); Mon, 13 Aug 2018 05:24:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8IO/Q3Xizwokgt1XtFKixU9s4MPvfjrTtvynynL/VJ0=; b=fAzZnERpi7zW6QdjGDoQt9dEB oNQGq25xPUTfITex7vuijxNDMy8cKQAmA02wUBYfEIv9chgrYSieV4xG2vNrNcTsdLuhFE3uMwvtK MEuaxL++6EoXBjPvFNAv6BAgELsaK3GUB+y34GfdjK4pGpSN+b3oOIKPsFP7Xg3VJXXEUTtxh6sDV nKfVJ36BVsyxQR0qqoa0GPpQucMxcQNtRKtRL2TopCL7YMBst9TO3DBIZvb5x0BF8TewaSL1qhEiI 2F3ucsObVRc2G/7edqca8C7EP6KMfUFU8g9w/UVTPqXIwIjzosh4NQKvgKuIcLrgz/RtlmfftrR07 l1G4C8mrQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fp6ZW-0008U4-2c; Mon, 13 Aug 2018 06:43:22 +0000 Date: Sun, 12 Aug 2018 23:43:21 -0700 From: Christoph Hellwig To: Srikar Dronamraju Cc: "Gautham R. Shenoy" , Michael Ellerman , Benjamin Herrenschmidt , Michael Neuling , Vaidyanathan Srinivasan , Akshay Adiga , Shilpasri G Bhat , Oliver O'Halloran , Nicholas Piggin , Murilo Opsfelder Araujo , Anton Blanchard , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 1/2] powerpc: Detect the presence of big-cores via "ibm,thread-groups" Message-ID: <20180813064321.GA6039@infradead.org> References: <1533792728-6304-1-git-send-email-ego@linux.vnet.ibm.com> <1533792728-6304-2-git-send-email-ego@linux.vnet.ibm.com> <20180809132743.GB42474@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180809132743.GB42474@linux.vnet.ibm.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 09, 2018 at 06:27:43AM -0700, Srikar Dronamraju wrote: > * Gautham R. Shenoy [2018-08-09 11:02:07]: > > > > > int threads_per_core, threads_per_subcore, threads_shift; > > +bool has_big_cores; > > cpumask_t threads_core_mask; > > EXPORT_SYMBOL_GPL(threads_per_core); > > EXPORT_SYMBOL_GPL(threads_per_subcore); > > EXPORT_SYMBOL_GPL(threads_shift); > > +EXPORT_SYMBOL_GPL(has_big_cores); > > Why do we need EXPORT_SYMBOL_GPL? Because it is deeply internal, and in that matches the other related exports.