Received: by 10.192.165.156 with SMTP id m28csp332255imm; Wed, 18 Apr 2018 23:13:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/hRcYSRi0m22zTUHpWNmXjLZarqVRev8tztFiKQPQSQG2kajM/kos/XwrotU+mU8gYpusO X-Received: by 2002:a17:902:a603:: with SMTP id u3-v6mr4946095plq.214.1524118416276; Wed, 18 Apr 2018 23:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524118416; cv=none; d=google.com; s=arc-20160816; b=pWElE0dZZvsY7PMIAg0hJmkBm6TTI/uFodXtWyluhzuuNtvQN7U164TcvwMEirGrHn nVUcDMc/HN3UGy3YYG/dFVu7Xk832+iPBJsTTuBu5OfjFsvmGjQvfyfWSNgJd58tt3zo f6VtNcuf047VqtiXslNzq+xatSS5qyfLgtRW/DWw/o1AqWhlevjNlUq4R6vdwSlokGTl HW5aywZEioWGwd+osttbiTW3oZobJbX6BD0IkDmdjycPxv2Zszvw8sOtcTMAd1TYDAbN bCNJNZ1AbYE+U3Hl3V4EKy2X1gJzePmZ0a4DS51U0fwS8/6q4HsFAC+wE0t0PSrMbEJ+ I+yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=3FUC452PPx79NCd/4JgVbxYQ2E/zs5iWpHms7UGzIbw=; b=elnm+GafyeinMUsDDc24SaMMRwI+A2qzZ25ylubl5hG1TBZW2rSpoLpiPJmSYALwvo kzIyp2AgPfu4MNbBS4g9ws7RsvAxigVVrOux5lNR2p149GzvVW6m3UIMYragzQFAsicQ sYiRXix8x80H3Mb7CMz5ad60hozTriMpJUmE4CMteV6tdbePSYhexWL/BCd7v/5aTJUu Ig1UwVs2kkIn2SKSYdtdgr/CF+HU2cx01oP5cKtmcdfyOlvx0GIHrwCjIMR6YhFOcSl8 Jmx+zB5PYEqs1PK26ekTss76sOgsVHDilqGZzKqrL5pF5z3nSkIIP2a7vfeep1P9PEYZ WhUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KJgRf9/r; 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 q5si2469786pgc.620.2018.04.18.23.13.21; Wed, 18 Apr 2018 23:13:36 -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=KJgRf9/r; 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 S1753086AbeDSGMN (ORCPT + 99 others); Thu, 19 Apr 2018 02:12:13 -0400 Received: from mail-pg0-f43.google.com ([74.125.83.43]:36148 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751381AbeDSGML (ORCPT ); Thu, 19 Apr 2018 02:12:11 -0400 Received: by mail-pg0-f43.google.com with SMTP id i6so2002577pgv.3 for ; Wed, 18 Apr 2018 23:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:to:from:in-reply-to:cc :references:message-id:user-agent:subject:date; bh=3FUC452PPx79NCd/4JgVbxYQ2E/zs5iWpHms7UGzIbw=; b=KJgRf9/rqOsjS3ZBBMG91MKZcpNDlGai6ccXwONCisaWi44IRw5wJfFIhpQfm0NVaj mcguW305bKF0zgEDZLJFtL4bepexw2scJ8zp2yOx0kN4NFPhne4x+ijptQuCfh6nWx42 KO+0G2SasgfKWhbURNK5uh+wiixx6rxwac0FU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding:to:from :in-reply-to:cc:references:message-id:user-agent:subject:date; bh=3FUC452PPx79NCd/4JgVbxYQ2E/zs5iWpHms7UGzIbw=; b=peQinM3Zwx4FV6JNngbi8XzY1refccSHpfLW9Ixc88CWeksoGTodPCUV6bJcWJRSkn DwcBUIzVzhmoyotpmNzNk520DOUqL0yxDz1PCx68jUSB27Tpkn9vSpnzXV/yRV8ty0eE ctLf1jvnyL0+CC505/BSdzme41YiR8e2toRXWDnM/36hFqNctCdhIFKOftuhR8xMaa2d LyqXGnXqqtUim2Ztq64NE6Ceb9tleyD6gO97ibmnT78cAbnozcrAnvw9GdJJaFbx2RdI 8WG2b7mvCPDP3pJHaDj0hNMsW46J8AMf+xirBsj9ucY4WCAdK2AV52bDdIlGU+8oVZR6 6Uxw== X-Gm-Message-State: ALQs6tCKfuyEamTGELWCvA8qb2px8BK1azos6oGIsjxmowBDRsuLmcjA v001jpc6MqLeoFR7eZNgrAWKMQ== X-Received: by 10.101.64.8 with SMTP id f8mr4081575pgp.31.1524118331078; Wed, 18 Apr 2018 23:12:11 -0700 (PDT) Received: from localhost ([2620:0:1000:1511:d30e:62c6:f82c:ff40]) by smtp.gmail.com with ESMTPSA id a81sm8004093pfc.168.2018.04.18.23.12.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Apr 2018 23:12:10 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Lina Iyer , andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org From: Stephen Boyd In-Reply-To: <20180405161834.3850-8-ilina@codeaurora.org> Cc: rnayak@codeaurora.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, evgreen@chromium.org, dianders@chromium.org, Lina Iyer References: <20180405161834.3850-1-ilina@codeaurora.org> <20180405161834.3850-8-ilina@codeaurora.org> Message-ID: <152411832959.46528.17741598693542734318@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v5 07/10] drivers: qcom: rpmh: cache sleep/wake state requests Date: Wed, 18 Apr 2018 23:12:09 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Lina Iyer (2018-04-05 09:18:31) > Active state requests are sent immediately to the mailbox controller, Drive by note, mailbox went away from this code so grep 'mailbox' or 'mbox' on these patches should come up with zero hits. > while sleep and wake state requests are cached in this driver to avoid > taxing the mailbox controller repeatedly. The cached values will be sent > to the controller when the rpmh_flush() is called. >=20