Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp27900imm; Wed, 5 Sep 2018 13:08:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbRieqNfrMOGfXq+pqQD4hdQ08/W3XqImHYpuk5pBr92kH+yU/M4tREhWx+igd8qqbZgyB1 X-Received: by 2002:a17:902:2904:: with SMTP id g4-v6mr39642873plb.70.1536178139372; Wed, 05 Sep 2018 13:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536178139; cv=none; d=google.com; s=arc-20160816; b=thNbRNEWENWaZ7M7L8dMkNQSCzP628GsOcDTd+mPd1cBFvaEeEauYjqZ/sLvYYtSOE u3V57VJTXaTeFpOQmiuO+D9Fa3uCYxMPZJY2nVIilxmr5g2dkaS21OSOjz9BiZPA0r9/ H1Meo95pr7zZDEFgKjJd7QuFfV47sh+EbPWlboy8iAFYOq3F13/VnFbTvPWQD2j8D5ns tRK7P5+txpmV+cJcsFunSfghY08pXsWMzx9kv7KZzH95Wt+1po4QsnlSu70S7qQhJYDk wrkzqz+rK81WwrnyaQmthdZykiwyqwFVhFRMNlxgFGdimqoK2TlQlhdu22hDvH+Bd0kD FoTA== 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:dmarc-filter:dkim-signature:dkim-signature; bh=/XY1ne3iYmlmVe++233G8eIGZjKKqJaF/I893DoYUEk=; b=f72Fr6fXh59igHv/inNxiInNt3DOb6lwCYBM7oyMMDKDH8Rv4bPnRNQUJXXWj4eFP+ seNipHbWfDXQQVk7u5S60dt/eK/ppI02s3ZOoRmTctLbye3mpt6emy71Esjfw2nMMLyc /40dPH8TovEHIFKN3MOUGRgEVNSjyWR8lpwqROiSQgG28TrSumMncxjDd7fkjY11MTVZ VaVxMURjz0KzGGJKMoLwDqFfZDy8yxR6Bf4PiZQMfD1oUjb4PT0rYsgOKLcrcrFowQDb +1vyOnruPh3GQ1aXdKmIaAbRKDl5dmigkAu7buRVX2j7dEXRES1zPDoFmYhM3Ez/V9I7 UCOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=gG8UFadz; dkim=pass header.i=@codeaurora.org header.s=default header.b=gG8UFadz; 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 u29-v6si2848827pga.29.2018.09.05.13.08.43; Wed, 05 Sep 2018 13:08: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=gG8UFadz; dkim=pass header.i=@codeaurora.org header.s=default header.b=gG8UFadz; 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 S1727866AbeIFAho (ORCPT + 99 others); Wed, 5 Sep 2018 20:37:44 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57132 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727254AbeIFAho (ORCPT ); Wed, 5 Sep 2018 20:37:44 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DEE0A602AE; Wed, 5 Sep 2018 20:05:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536177958; bh=FbEsqBrDykACgRjXbWe3NURTxzxE0ndeuhLjiWlJI2Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gG8UFadzer/FhVgVtkWTCod8Vz4YAPflVMZSziZycXuZ9+oqrMpPOEWQTu/SoatXy gEzqU5BgCY8Q4G5LfjU2RVU/A0nIHDP4V//XPazH4zjjT46rDfpScQHwK4o5dFuKdh nRJFnWYhvKbp6sUKwU/BvWlqD6sl9cuhts9Ofdb0= 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.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ilina@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id D877A602AE; Wed, 5 Sep 2018 20:05:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536177958; bh=FbEsqBrDykACgRjXbWe3NURTxzxE0ndeuhLjiWlJI2Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gG8UFadzer/FhVgVtkWTCod8Vz4YAPflVMZSziZycXuZ9+oqrMpPOEWQTu/SoatXy gEzqU5BgCY8Q4G5LfjU2RVU/A0nIHDP4V//XPazH4zjjT46rDfpScQHwK4o5dFuKdh nRJFnWYhvKbp6sUKwU/BvWlqD6sl9cuhts9Ofdb0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D877A602AE 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=ilina@codeaurora.org Date: Wed, 5 Sep 2018 14:05:57 -0600 From: Lina Iyer To: Raju P L S S S N Cc: andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, rnayak@codeaurora.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, sboyd@kernel.org, evgreen@chromium.org, dianders@chromium.org, mka@chromium.org Subject: Re: [PATCH v2 0/6] drivers/qcom: add additional functionality to RPMH Message-ID: <20180905200557.GC28215@codeaurora.org> References: <1532685889-31345-1-git-send-email-rplsssn@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1532685889-31345-1-git-send-email-rplsssn@codeaurora.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen, Doug, Would you have some time to take a look at this series? Thanks, Lina On Fri, Jul 27 2018 at 04:04 -0600, Raju P L S S S N wrote: >From: "Raju P.L.S.S.S.N" > >Changes in v1: >- Remove unnecessary EXPORT_SYMBOL in rpmh-rsc > >This set of patches add additional functionality to RPMH drivers[1]. > >PM drivers can choose to disallow idle modes when RSC controller is busy >sending or processing requests. The patches add necessary functions to >query the controller status. > >The controllers may be in 'solver' state, where they could be in autonomous >mode executing low power modes for their hardware and as such are not >available for sending active votes. Functionality to get notified about >such state and disallow requests for state change in that case is added >in these patches. > >The Power Domain Controller can be programmed to wakeup the RSC and >setup the resources back in the active state, before the processor is >woken up by a timer interrupt. The wakeup value from the timer hardware >can be copied to the PDC which has its own timer and is in an always-on >power domain. Programming the wakeup value is done through a separate >register on the RSC. Functions necessary to program wakeup is added in >the patches. > >Please consider reviewing this patchset. > >v1:https://lkml.org/lkml/2018/7/19/213 > > > >[1] https://lkml.org/lkml/2018/6/20/519 > >Lina Iyer (5): > drivers: qcom: rpmh-rsc: return if the controller is idle > drivers: qcom: rpmh: export controller idle status > drivers: qcom: rpmh: disallow active requests in solver mode > drivers: qcom: rpmh-rsc: write PDC data > drivers: qcom: rpmh: write PDC data > >Raju P.L.S.S.S.N (1): > drivers: qcom: rpmh-rsc: clear active mode configuration for waketcs > > drivers/soc/qcom/rpmh-internal.h | 6 ++ > drivers/soc/qcom/rpmh-rsc.c | 132 ++++++++++++++++++++++++++++++--------- > drivers/soc/qcom/rpmh.c | 100 +++++++++++++++++++++++++++++ > include/soc/qcom/rpmh.h | 16 +++++ > 4 files changed, 225 insertions(+), 29 deletions(-) > >-- >The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project >