Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4400874ybb; Tue, 14 Apr 2020 06:37:55 -0700 (PDT) X-Google-Smtp-Source: APiQypIIAJSlHrm/kikDGG4q9aU5XUlefaeU+TrLQ3goAmkp+Ref2hx3sGLKaP27wPnbkRzQ32a9 X-Received: by 2002:a17:906:30d7:: with SMTP id b23mr170435ejb.108.1586871475576; Tue, 14 Apr 2020 06:37:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586871475; cv=none; d=google.com; s=arc-20160816; b=JVEpXzwR3OU5Mgo8o6sC8abKnQ1bkili0FmpcM3o9gSu9UFqu0PzgBq7nbDDqNTR3C jhrGJ76BYm8FyC9aYTg5K70ccupanuCZ2EQi/kmBwi9//gcD99bEzMs+g4MQTMarBaiZ s2qbf+O36haPjDkB60UBxxT0kWwenJjKt2k0Kdq34k7skblKBOFzxBxYSKDYKLjSygbB U+55FljOlpBg9sF1q7S6B/k50Zu4nwBnNgOBTqt3JSBSfUqJAoe9SHtxFVHdgUr0fcEg O2WcANe5X/KuQP7pSCkw6l04nw/Ddv4NXtsWZmUc2yPKWGhLaNsBmHouhfJg5kyuSpHu /agw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=LKoTx7KG6nMQkllRzw0i6KXlr2iV0yoiA8xfd0IZD8Y=; b=Pk4AQffvwy/+8TMuy699iarL0DYEomgwAZZb1Zq+mHTwiZtF6Mk8pA5e8df9AzwHzS b+fqu0R9FKp1mWtIdvlUjavPzcY76lm+GM0O79cPXREVO6hiMNe4loMn6FTUXOpIbGW6 6yqdT/Azm5D7wAKi5XEtgFJQgi8kGy30S80nRkli9BiUKRPDJ7dNm99YKvF2Qi70kIyD h3c5yArzbszVNBFdtX2ZitaEaYnBNJfTZ+Cqik//MPiqVH43PooNRsP7YicyMQDTtAF2 2knNvzCRcb7FuydP5NiNVtX1DLGJ2boRCVoHBUvavTrnqKNMKXLCtDEuNK/79R1jS4cN +pbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bxYzFGln; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id j10si9563925edn.396.2020.04.14.06.37.31; Tue, 14 Apr 2020 06:37:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=@chromium.org header.s=google header.b=bxYzFGln; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2388963AbgDMVSr (ORCPT + 99 others); Mon, 13 Apr 2020 17:18:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388957AbgDMVSo (ORCPT ); Mon, 13 Apr 2020 17:18:44 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25FA6C0A3BE2 for ; Mon, 13 Apr 2020 14:18:44 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id e16so4085716pjp.1 for ; Mon, 13 Apr 2020 14:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=LKoTx7KG6nMQkllRzw0i6KXlr2iV0yoiA8xfd0IZD8Y=; b=bxYzFGlnRvCemxxTVzeumw06vj6zrN+T5v/ulk6eifLDOyYFXN5u1ZsIo8Fmd6S+N2 qP1e14FkwD6ajb9Vqy3pfdpp+ovGUI+axLrkfbAMo1hdVT37CtHACAYXL7rfdzo/9Can OJjz6IQccgrjto+PIwESV67aRX+9DTsul9bl4= 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 :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=LKoTx7KG6nMQkllRzw0i6KXlr2iV0yoiA8xfd0IZD8Y=; b=pbRopFPUuOT4s18OVdL5vosUb6Cjm0x+C1957PEBuhg6IEqGbB4cu7fIyac5bMjntC aBBxBxB/ShoP20QopKmjEyvyvwynIuZag7UsExQmhYC5NzXGMNzrdtSVk4FgFFGcJhNg gDVoxi6nu1Mgvwmtv6cb9vf9fn4SZ1RJSlstDhUg6YFC/1nWCjS/21gkfCVwv2Qmsh8M +VfP8xuSN0BpEGtn2abez1Ut5IFWZGycYHzlmFqEAtghZDBtTNTmn8kq7WftAxvUxNgj 6VPROjVzsNsWRHEHHe6LJW+gDclGhXQtlJdOLVMkLLDbz0ySwTjeBrDtYCJ/1E4ARIJN SApw== X-Gm-Message-State: AGi0PuajWU0Mkonz1El26MEo+uBfQs2ejPLlZ1pUEpwDiJ1k7tAxib73 s9NMFh+/J6rjHpaNyi3ztsRhux7abtw= X-Received: by 2002:a17:90a:fd90:: with SMTP id cx16mr24287639pjb.41.1586812723419; Mon, 13 Apr 2020 14:18:43 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id k12sm9320099pfk.46.2020.04.13.14.18.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2020 14:18:42 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1586703004-13674-5-git-send-email-mkshah@codeaurora.org> References: <1586703004-13674-1-git-send-email-mkshah@codeaurora.org> <1586703004-13674-5-git-send-email-mkshah@codeaurora.org> Subject: Re: [PATCH v17 4/6] soc: qcom: rpmh: Invoke rpmh_flush() for dirty caches From: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, agross@kernel.org, mka@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, Maulik Shah To: Maulik Shah , bjorn.andersson@linaro.org, dianders@chromium.org, evgreen@chromium.org Date: Mon, 13 Apr 2020 14:18:42 -0700 Message-ID: <158681272208.84447.17507041349057590305@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Maulik Shah (2020-04-12 07:50:02) > Add changes to invoke rpmh flush() from CPU PM notification. > This is done when the last the cpu is entering deep CPU idle > states and controller is not busy. >=20 > Controllers that have 'HW solver' mode like display RSC do not need > to register for CPU PM notification. They may be in autonomous mode > executing low power mode and do not require rpmh_flush() to happen > from CPU PM notification. >=20 > Signed-off-by: Maulik Shah > Reviewed-by: Douglas Anderson > --- Reviewed-by: Stephen Boyd