Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp763092imm; Wed, 23 May 2018 05:17:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpQ8NVqHLurazmfMKHsS4oosoJmV8mhBVu5vjLZpaX7+uKp0036anLkGWCDUdxzf9oMIbjh X-Received: by 2002:a62:4387:: with SMTP id l7-v6mr2662237pfi.55.1527077879757; Wed, 23 May 2018 05:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527077879; cv=none; d=google.com; s=arc-20160816; b=bvscPhLTvISAUK18UHWKJQmqY8ZQVvzri3TDZiDFhccbtzdRZ38tc0JaA3LqkDCQvl AIHZUV80mip2CFqOCqaEZ4jtK++lIWCeOseD7SLHCmDVi8KYHDiAVevPcPWlGCc1MODn Xu/x7aR+88xE/xofedkSvMuV4Emg89EpLlkP4pWMAs6Sa8Xhmi4xzMEdwgzoQEXHr7kq 7BddOiqzh9HIltjR3FOO4YjIGExIu5kDTXs+mvtFLkMtAn0b5utXPYlLUL9yPInGxl4S 1cq8C/ZI1Kn2Hlrj4VgYvuSGe7QMzdqjnyJwMXaTbKDt939Z/kybBONjxLXPdkZDQheP iWsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=beSkYBfwFpsH5BqMt00VDWmMTo6iScQG3CcqQrR7TjM=; b=BIGWt79Tnyo3eYuJDDJIhk/e4A/q8lE62yzXGhRHCZtaX0miwG9o6cag05VtzBjLjm sTbin5++chbetrd7ooPdqo5LsXn9IfOP/rFhj6+6osSgSQFGZSvKrD9e5D7OUWrt0WlP bWLF0paMY7PsY69VclKdpWuBCmxpdSfl2Q6/qXDm/OJ7kES64TXd3gzSloQwtEqlkeSv h+j8Nn0MC/bspMsWmSHqLak4Ez9hd167waQc9oEdBQDDRNGAfbgsaAVsLwR6JhsSP2Xw 61F0gkp85Eaugde3YOIGygXdSCF70GK+WSzdbhO/QIJqSq6LoF9xDXHHPHucJ1J6KS70 rNZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=GFltqJFP; dkim=pass header.i=@codeaurora.org header.s=default header.b=I/OySUTP; 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 o3-v6si18785417pld.50.2018.05.23.05.17.17; Wed, 23 May 2018 05:17:59 -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=pass header.i=@codeaurora.org header.s=default header.b=GFltqJFP; dkim=pass header.i=@codeaurora.org header.s=default header.b=I/OySUTP; 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 S1754530AbeEWMP4 (ORCPT + 99 others); Wed, 23 May 2018 08:15:56 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34928 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754329AbeEWMPx (ORCPT ); Wed, 23 May 2018 08:15:53 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E418F601D4; Wed, 23 May 2018 12:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527077752; bh=xK6d7pi+7lfiYHXzoouBGmWI9XSh3LLSeaVaYqbShyo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=GFltqJFPJ2DXmkMzvEw4vGr0mRVCNwtLtpk3/0NalA8UiY1k51KiMnNOfTMBVHw45 vaDYF1szgml55bd2CcinXR4TPMVoC8cyHt3GSacCnWkimYYetoyEZbx9sYOyvoGjaI npqREnlwSurKp1mWVPpfGmgis2dIuhBhAnlUU0XA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,FROM_LOCAL_NOVOWEL,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.206.16.80] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rplsssn@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A36FC601D4; Wed, 23 May 2018 12:15:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527077751; bh=xK6d7pi+7lfiYHXzoouBGmWI9XSh3LLSeaVaYqbShyo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=I/OySUTP/sngosUfqZoMgyVvEzq/iE5vOlB84V994HEB2tq2DGF2BXbfq6+CEBnSG ySFpU4OqVGRlutubJ7ztBMvI0JKPw6I+nnIs5raIfcI/ISVfd7gH02XqvtJLcdEFeI TtPsuL/qNa/ITJ5hlZK30VRHPftYfE6yGVIgotUk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A36FC601D4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rplsssn@codeaurora.org Subject: Re: [PATCH v8 01/10] drivers: qcom: rpmh-rsc: add RPMH controller for QCOM SoCs To: Doug Anderson , Lina Iyer Cc: Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, "open list:ARM/QUALCOMM SUPPORT" , Rajendra Nayak , msivasub@codeaurora.org, mkshah@codeaurora.org, Bjorn Andersson , LKML , Stephen Boyd , Evan Green , Matthias Kaehlcke References: <20180509170159.29682-1-ilina@codeaurora.org> <20180509170159.29682-2-ilina@codeaurora.org> From: Raju P L S S S N Message-ID: <950ecbb0-90de-b639-ee49-c17f1ad745d1@codeaurora.org> Date: Wed, 23 May 2018 17:45:41 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 5/12/2018 1:45 AM, Doug Anderson wrote: > Hi, > > On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote: >> +int rpmh_rsc_send_data(struct rsc_drv *drv, const struct tcs_request *msg) >> +{ >> + int ret; >> + >> + if (!msg || !msg->cmds || !msg->num_cmds || >> + msg->num_cmds > MAX_RPMH_PAYLOAD) { >> + WARN_ON(1); >> + return -EINVAL; >> + } >> + >> + do { >> + ret = tcs_write(drv, msg); >> + if (ret == -EBUSY) { >> + pr_info_ratelimited("TCS Busy, retrying RPMH message send: addr=%#x\n", >> + msg->cmds[0].addr); >> + udelay(10); >> + } >> + } while (ret == -EBUSY); >> + >> + return ret; >> +} >> +EXPORT_SYMBOL(rpmh_rsc_send_data); > > Here and elsewhere in this series: why EXPORT_SYMBOL in this case? > This is only exported to rpmh.c, right? You don't need EXPORT_SYMBOL > for that. The Makefile puts rpmh.c and rpmh-rsc.c together in the > same "qcom_rpmh.o", and then even further the KConfig lists this as > bool so both are builtin to the kernel. > > -Doug Sure. I Will change in v9. Thanks for your review Doug, Raju > -- > To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >