Received: by 10.192.165.148 with SMTP id m20csp1390835imm; Wed, 25 Apr 2018 18:15:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+7KriYn3WUJhUbiTz5v1iGts2AizzxGzl1eGn2uChAD3XgFm9yuUlKovynxudyiaYfYMIE X-Received: by 10.99.95.130 with SMTP id t124mr25678417pgb.150.1524705348756; Wed, 25 Apr 2018 18:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524705348; cv=none; d=google.com; s=arc-20160816; b=IEsQCprDk4fdDHNJ3lFMVbW/frtB0lAfcvfCE6FgCmRKJLNYbl4jUxXi1kq7cLJyeR hrA12C/gE4zyb+J5j3+y1Ldh6aXCpwQoIXy6ev5dkT0C+fMMB3GgBRcfyuz64DB1Upg4 Z0XAthmoVlzuGWNONmt+aCGorFOy64gPWI9/P7RII6uYyMpasTFRXD9F1hRKuBJ7Neq6 hsz4s1akEA1fR8qdnm9Z0A2Gq34F8kANGnHb7gCjgF/Dq/MORCdqB6X+BS4M0qOS3N7l ALVXvMsj8bwFvcrO6JG2Nj/8H5fYXN0vOnl9e4UirhUsJYoiNdPv01oIkfdJZZPo2LKp FNHg== 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:dkim-signature:arc-authentication-results; bh=I/6dRwBMMlGaOMd/9iQO9N/k7RdnY0mnrH8vwXyRUJw=; b=AvGdWBoITzTi2gGI3azhUaye90Q5Z7IYrGHiLnoZDAAA7lOyckqTf0FurqeNXkLPlz m1U72nyRePXntX//7Sl1UA1QOWcM/oU2LRdYAKpVXDjJwDX5MMiH6DhipKxx7uxmihe+ FeNwTTDZ1eCybIi0C6j0GaNBHEm2xPIgEzzAdPzrs4Fpi6MvToFQCWAncBMrkLqF8voq S2BvKON3+HF/MS8RnpBZqYX1UuiLDZ3fHRUZrnO4yxm4t1XCpJfpMY3nMh8Anz7U5n8+ jyXwYF3cJSY39+RYlhJ2UEI0FkO0WJFdSQgB2Pofqdw8mcZTVlzXPEUIfcqfiQrcVsTz SKYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MCPm5UVR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u131si15268620pgc.11.2018.04.25.18.15.33; Wed, 25 Apr 2018 18:15:48 -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=@chromium.org header.s=google header.b=MCPm5UVR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752661AbeDZBO1 (ORCPT + 99 others); Wed, 25 Apr 2018 21:14:27 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:39852 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751867AbeDZBOX (ORCPT ); Wed, 25 Apr 2018 21:14:23 -0400 Received: by mail-pf0-f195.google.com with SMTP id z9so16762137pfe.6 for ; Wed, 25 Apr 2018 18:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=I/6dRwBMMlGaOMd/9iQO9N/k7RdnY0mnrH8vwXyRUJw=; b=MCPm5UVRAwRPnqk2GL/+ED4sM7BadcEWskcBiXI0gYZPOrGxEFVWIQBkiGl20aqmJU Rq7hiWaDjgarXMIWfc2nFpsMW8RhI0jp6hZsw0ixi9Ga5GDa7BbC2h3TwPfKrLxGuwOz 5Ok8ByCcUFCBlb3+Ezx0CRwFHzMMinFCg7/cw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=I/6dRwBMMlGaOMd/9iQO9N/k7RdnY0mnrH8vwXyRUJw=; b=AWZhUrLC4au8o8dgTK0OlsArJ+pBupYtf7hAMn7xJMlVHebC9VocefTORuCC3JjyrY f+f7eBF5dgaTz/CbTXXRRitQNvJ42NlJi2iZxvt75mw/0sI3f1R7/YmxbA0LU6k3Z42A mve61vh7RNBatso5fWZ4ZvjSyFkL2TiKXGEDLnAToac4is5b6l9aKw1bVc6bKU200eC6 fM7WzI2n8kU0k9g8PPdFOZNiTTkX8U81IQscBynC2rJO0PAawhf6tFiRbqNx1BX1Zvzm I/kgt1MrqnhTO+43PDNVZ/Sv+0tXNbq6eN5gzfkDR5mnE1m6LK3euAj9urdp3kGVut+n qGAQ== X-Gm-Message-State: ALQs6tBZWsuBpw5deIZb3Fffyphgr7U8Bwp8YfyZbKkoyxm6kXjTI5st oLKhDveqlie0uH9N+dkKnuDkvg== X-Received: by 10.99.47.4 with SMTP id v4mr6056841pgv.42.1524705263131; Wed, 25 Apr 2018 18:14:23 -0700 (PDT) Received: from localhost ([2620:0:1000:1501:8e2d:4727:1211:622]) by smtp.gmail.com with ESMTPSA id f22sm41137391pff.146.2018.04.25.18.14.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Apr 2018 18:14:22 -0700 (PDT) Date: Wed, 25 Apr 2018 18:14:21 -0700 From: Matthias Kaehlcke To: Lina Iyer 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 Subject: Re: [PATCH v6 10/10] drivers: qcom: rpmh-rsc: allow active requests from wake TCS Message-ID: <20180426011421.GF243180@google.com> References: <20180419221635.17849-1-ilina@codeaurora.org> <20180419221635.17849-11-ilina@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180419221635.17849-11-ilina@codeaurora.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 19, 2018 at 04:16:35PM -0600, Lina Iyer wrote: > Some RSCs may only have sleep and wake TCS, i.e, there is no dedicated > TCS for active mode request, but drivers may still want to make active > requests from these RSCs. In such cases re-purpose the wake TCS to send > active state requests. > > The requirement for this is that the driver is aware that the wake TCS > is being repurposed to send active request, hence the sleep and wake > TCSes be invalidated before the active request is sent. > > Signed-off-by: Lina Iyer Reviewed-by: Matthias Kaehlcke