Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3078006pxu; Mon, 19 Oct 2020 03:25:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpf9Ac+JTVQCs5/y1J9VtWi9rMPu2q59PrLyS5vG2noBssGFKHdJS1LI/IXZpQEkGo6Pfw X-Received: by 2002:a17:906:72cb:: with SMTP id m11mr15937158ejl.348.1603103149328; Mon, 19 Oct 2020 03:25:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603103149; cv=none; d=google.com; s=arc-20160816; b=zc53rnh5j3qmKBzu0262SrYn/3fBTyFiRI2YxOrvpPnOwrGx8PZ8q5cGpfBVLuacyY X/FONIafdRX3WTWriDfDXmC8opnVK9vfuYRKYVyzFWpZ6IWS/SRg7dPWom+Ddbfpk1w0 eFO3cSU8C8HmlGu5EqnRBsiexC2HJKw+wyQ70gBO1X0DuofLaMTSS2hrBVf//aE80gTN pfJVYOoB7iod6AYGULDxT1vWZYyfZGwr7E7nDeG9dxU2XqQpUnQviqTnmceIxsE0+q8R LPhF2qid/3S+fWxgsmwVEeQROmOBzU5K/Yw3diGiEHavCHZdCh9jT27fsty/H232hRH1 Yc5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=EF/a3QYfDXcAmInIf76UOd3Ahf7FwPv3ru2l/DaHHm4=; b=xdEQWaLGjc02quxM0Xj9omeRHT4OSJFD+U+xxo8xlazmnIUJD+6ykUb8bdqcgj/OUR zlOUqDRdd8KN8Pl3y64xG5VRaZEfwj+jHzJ7qawvBtfjub7AVq0FOAIMkv8gZSsi2Dzo m9c1Dy2l0E+xVsekGmoAgp22Ge3r9SHyrURHcBg39eNxhuL0Si+gLTOeDz01ivDpVtbO I8o5ZL47YiDf69SG4/H3Mnx1l5vH9ufQZtvWXoICN+UciAaCjBEAjeMhCkSIvPbDDznQ r93u4aaJRGgMJDZnWYL7qAxNi3H1zpqEryK6kYK1uZAYloJPcjstOyYQyNY+BeqE8weK mSXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=eJBuWN8J; 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 dg11si7453411edb.246.2020.10.19.03.25.23; Mon, 19 Oct 2020 03:25:49 -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; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=eJBuWN8J; 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 S1727517AbgJSH0e (ORCPT + 99 others); Mon, 19 Oct 2020 03:26:34 -0400 Received: from z5.mailgun.us ([104.130.96.5]:39223 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727484AbgJSH0d (ORCPT ); Mon, 19 Oct 2020 03:26:33 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1603092393; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=EF/a3QYfDXcAmInIf76UOd3Ahf7FwPv3ru2l/DaHHm4=; b=eJBuWN8JlCq39W2nR8Ru0PTH7w2lH18o5ztR06pDKNLTGjEsN5VyS9avPE8NmggVg5SJcwP0 P67TXND7bnmV0MWbFe3QgtP3QKabl4PnbjAY8YkWKPEXBVigjDv/w3R5aA3rjePqjmz/kthp bgfmB9RUnruNy0YFsj9kCnMqed8= X-Mailgun-Sending-Ip: 104.130.96.5 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 5f8d3fa8856d9308b55e91ca (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 19 Oct 2020 07:26:32 GMT Sender: mkshah=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 876E7C433F1; Mon, 19 Oct 2020 07:26:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.29.129] (unknown [49.36.69.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mkshah) by smtp.codeaurora.org (Postfix) with ESMTPSA id 97AE8C433CB; Mon, 19 Oct 2020 07:26:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 97AE8C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=mkshah@codeaurora.org Subject: Re: [RESEND v2 0/2] Modularize RPMH driver To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ulf.hansson@linaro.org, swboyd@chromium.org, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org References: <1601877596-32676-1-git-send-email-mkshah@codeaurora.org> From: Maulik Shah Message-ID: <0def494d-a729-0728-c633-4a74fbe95a87@codeaurora.org> Date: Mon, 19 Oct 2020 12:56:25 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <1601877596-32676-1-git-send-email-mkshah@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, Can you please pick these changes. Thanks, Maulik On 10/5/2020 11:29 AM, Maulik Shah wrote: > Resending the patches rebasing on top of latest linux-next (next-20201002) > > Changes in v2: > - Update commit message in patch 1 > - send [4] again instead of revert's revert in patch 2. > > This series is to modularize RPMH driver > > The tracepoint in RPMH driver was changed to _rcuidle variant based on the > test results of unmerged series [1] where .power_off callback from genpd > reported RCU warnings. > > The series which finally got merged [2] uses CPU PM notifications > and genpd .power_off callback is not implemented in RPMH driver to invoke > rpmh_flush(). The CPU PM notifications are done with RCU non idle in kernel > (see cpu_pm_notify() uses rcu_irq_enter_irqson() before notifications) > > However using _rcuidle variant prevented RPMH driver to compile as module > since these _rcuidle are not exported symbols for tracepoints. > > This seris reverts the change [3] to remove _rcuidle variant for tracepoint > as its no more valid test case (genpd .power_off is not implemented) > and bring backs the change [4] that was reverted due to _rcuidle preventing > to become modular. > > [1] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=243931 > [2] https://patchwork.kernel.org/project/linux-arm-msm/list/?series=269733 > [3] https://lore.kernel.org/r/20200115013751.249588-1-swboyd@chromium.org > [4] https://lore.kernel.org/r/20200326224459.105170-3-john.stultz@linaro.org > > John Stultz (1): > soc: qcom: rpmh: Allow RPMH driver to be loaded as a module > > Maulik Shah (1): > Revert "drivers: qcom: rpmh-rsc: Use rcuidle tracepoints for rpmh" > > drivers/soc/qcom/Kconfig | 2 +- > drivers/soc/qcom/rpmh-rsc.c | 7 ++++++- > 2 files changed, 7 insertions(+), 2 deletions(-) > -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation