Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4553544ybz; Tue, 21 Apr 2020 02:42:38 -0700 (PDT) X-Google-Smtp-Source: APiQypIMuVQ1ua99EvVohhgCF908urH32aS34iilW99TQhyJuJ7MEHEwXv22bbBXUlEYD3GZEkT7 X-Received: by 2002:a50:9f85:: with SMTP id c5mr18094709edf.278.1587462158159; Tue, 21 Apr 2020 02:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587462158; cv=none; d=google.com; s=arc-20160816; b=0Nsb1zU1pQ//0ujWD/qQaRKxhquombTQypRN/iMlEp5rAQ75oRiUHZz+NnYcjZ4wvq mETENXJfAlpKPNOsy24x6UUnrHmtW9lbZNNDTtszNsh2cQDQ24OSt3T46g4oMfFBkJR9 +m/27jAaSBW3z8f3TuNF2/0dgwYntnToEv5Hiow1paUtgWmUGkTrvviCR7NLa/qP1GdC 3+yMHbSE64XXL+MBTc7UWO8CDhwwAweK+ECrrHewZMP5bswCpN3OJL5U6M8S36dg0jZs mFu6+Xam0s129R9vXN5T3sYQ2QaUhVyk0bh3pyiYZ/9QZ7rLv9zAVfUSXsMQqKNkaJFY OFCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=2g6ESlOvtnFQGGJoMi0EmxlQX36qLeR/j5RxOP53Zvg=; b=EnxOA3HXQuTfcjNbpbBQTIr1cjbDAE3BzaliAYqtdEru/1caw5dOOKwMhQYdGj8nUJ d2Sks813ILIyRS1/Nldh6krqd4ZS1+DLLB4atsPs5GirCW2t/wh5SCxEzjxJJu1gjr9q JtEni+h+MWxn5Hv/8rOu/o5dZxYoF6hZjMCdYtHQcYTyHLcv5Z3rb7BfJQMelPKbs9Gu 4eso1TYTsef+8h+cEOZBd96DjaLBZX2lmT1/f5ti6dedCpdMbz8tcc+IBQ2q3gm+MltP 8YwVsNzCfAAPJE4JfVNn4+uYG4SieycgFtixP9dCdK3Wi+ovZKauWJSAeRFFhn/Y+pkk 2+NA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si1341655edj.56.2020.04.21.02.42.14; Tue, 21 Apr 2020 02:42:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728345AbgDUJlM (ORCPT + 99 others); Tue, 21 Apr 2020 05:41:12 -0400 Received: from foss.arm.com ([217.140.110.172]:60606 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbgDUJlM (ORCPT ); Tue, 21 Apr 2020 05:41:12 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D9B701FB; Tue, 21 Apr 2020 02:41:11 -0700 (PDT) Received: from C02TD0UTHF1T.local (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9A3563F68F; Tue, 21 Apr 2020 02:41:07 -0700 (PDT) Date: Tue, 21 Apr 2020 10:40:58 +0100 From: Mark Rutland To: Jianyong Wu Cc: netdev@vger.kernel.org, yangbo.lu@nxp.com, john.stultz@linaro.org, tglx@linutronix.de, pbonzini@redhat.com, sean.j.christopherson@intel.com, maz@kernel.org, richardcochran@gmail.com, will@kernel.org, suzuki.poulose@arm.com, steven.price@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Steve.Capper@arm.com, Kaly.Xin@arm.com, justin.he@arm.com, nd@arm.com Subject: Re: [RFC PATCH v11 1/9] psci: export psci conduit get helper. Message-ID: <20200421094058.GA16306@C02TD0UTHF1T.local> References: <20200421032304.26300-1-jianyong.wu@arm.com> <20200421032304.26300-2-jianyong.wu@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200421032304.26300-2-jianyong.wu@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 21, 2020 at 11:22:56AM +0800, Jianyong Wu wrote: > Export arm_smccc_1_1_get_conduit then modules can use smccc helper which > adopts it. > > Signed-off-by: Jianyong Wu Nit: please say 'smccc conduit' in the commit title. Otherwise, I see not problem with this provided an in-tree module uses this, so: Acked-by: Mark Rutland Mark. > --- > drivers/firmware/psci/psci.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c > index 2937d44b5df4..fd3c88f21b6a 100644 > --- a/drivers/firmware/psci/psci.c > +++ b/drivers/firmware/psci/psci.c > @@ -64,6 +64,7 @@ enum arm_smccc_conduit arm_smccc_1_1_get_conduit(void) > > return psci_ops.conduit; > } > +EXPORT_SYMBOL(arm_smccc_1_1_get_conduit); > > typedef unsigned long (psci_fn)(unsigned long, unsigned long, > unsigned long, unsigned long); > -- > 2.17.1 >