Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp350704pxa; Wed, 19 Aug 2020 03:10:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDwUSvUYW0jj9cfXKmwM67MBQ+yRVRwCt4ZAkAk5VZ60l7WzV8KMYccZfwsD2IyL5ivXPK X-Received: by 2002:aa7:da52:: with SMTP id w18mr24824786eds.367.1597831824846; Wed, 19 Aug 2020 03:10:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597831824; cv=none; d=google.com; s=arc-20160816; b=hwanrOpGLOCnzncopRQbUAlaQ4OWBjrg4OCsFIL/607Wsjmrm+GAl8Ei+LX4WgnCmN TJ/rSVM15BmOASlVNmpdQ04Sy0gIkO1YRdfJ0FXgCYftc+b5oDiG3fywTrgFr95xxWTl 8o9/ThuW/a0PKIkfkyRL/B1n6dFj7XlsxVFuvHdYXoqq/ujTFnJcWt09fjrknuzOMUcw NQ960XALJeediG3fATyy23H8BEf2R+hva3K3W+UQsviUFrMu0ff5XiQEQs5JwXyHilRn HqllFfs7sYFLWDqUjipuNRG8Fiaqa0kMFTrwxpozENqc2Y43aKbgA8A623WVTk4P9wTy jbQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature; bh=acCLhPYF895rY4+YkNwOPoPFcn74g/cbAW8ROODxMPs=; b=WtSYRq7FO84oJvUrSZ/QPrTANmObZHb31xRxe17CYXKiDhPABu1Cq5TkFvon5nijqz JBnMORhifCMudfJOTsdP+4bmxBFkEvevSkEICvAQqCXkw3QgmwvBfF7gUCHmRngwCVpi /MiygnUzY8olLnW62XmSpAZX/gN4SatABICQYl6+HZfZiwKu0BMbXFt6nvfpEnLCpZwl ykdALc7iS2MeAd1Cswc5mUflsFCsWV9eWSl8EXW/GWVjX+sTo0DGgtF0W/5BmTPkZrmC DA/9dvBBEXENQim7vqsYpXav8Z6G3hcIjt2uSz+l4OMhgc/9026D44VPZT0WmTEd0zzJ +13w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=m6arljI7; 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 x6si14315538edr.497.2020.08.19.03.10.01; Wed, 19 Aug 2020 03:10:24 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=m6arljI7; 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 S1727053AbgHSKI5 (ORCPT + 99 others); Wed, 19 Aug 2020 06:08:57 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:61733 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726634AbgHSKI4 (ORCPT ); Wed, 19 Aug 2020 06:08:56 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1597831736; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=acCLhPYF895rY4+YkNwOPoPFcn74g/cbAW8ROODxMPs=; b=m6arljI7HXbKs71dhJcwu0lmQrh1eSS9iiN5r7qpkcCpHLz7J9ypLnbdnSnUZWQZOPu0Ks9M 0a+IVoMdVktbjmzmh12ohpP9ExLAT0If0rulgDZ6rIuWtbl8nDRZ/Np9KJAlrbfzL8GaIu9E ZXw/7GXIm1WWMlhLTu3L4MxnDAo= X-Mailgun-Sending-Ip: 104.130.122.29 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-n01.prod.us-west-2.postgun.com with SMTP id 5f3cfa2303528d40241c1fc9 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 19 Aug 2020 10:08:35 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 23316C43387; Wed, 19 Aug 2020 10:08:35 +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=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mkshah-linux.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mkshah) by smtp.codeaurora.org (Postfix) with ESMTPSA id 16DD0C433C6; Wed, 19 Aug 2020 10:08:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 16DD0C433C6 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=none smtp.mailfrom=mkshah@codeaurora.org From: Maulik Shah To: bjorn.andersson@linaro.org, agross@kernel.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, Maulik Shah Subject: [PATCH 0/2] Modularize RPMH driver Date: Wed, 19 Aug 2020 15:37:48 +0530 Message-Id: <1597831670-17401-1-git-send-email-mkshah@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Maulik Shah (2): Revert "drivers: qcom: rpmh-rsc: Use rcuidle tracepoints for rpmh" Revert "Revert "soc: qcom: rpmh: Allow RPMH driver to be loaded as a module"" 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