Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2488034ybb; Sun, 12 Apr 2020 07:14:47 -0700 (PDT) X-Google-Smtp-Source: APiQypLCC64sTVLd/kVKBiZoYAiNjjNh7bbR+2Zhq4cFhMxxRAL4g7OfAOGW4N6qSZxR7uDUHbqG X-Received: by 2002:ac8:38f1:: with SMTP id g46mr6759211qtc.212.1586700886831; Sun, 12 Apr 2020 07:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586700886; cv=none; d=google.com; s=arc-20160816; b=hjNxxU0bzPNL1pYefLTBzbSRwpPFBdB+Rw4leZRYZVS1XRaTo7QXeQXuQQkYsdOZVi qRKtu4s5lpqxEWngZcnmr9CiBs3giyIr1C0VuYkwGpvbwQW3OpudUESWj11X0Zpv2jnA PPviSKWkOz29YH1tSM8UhViZ9m0DvxXXKgMyS7WI5hpzTH+WP8s4m+t1fkcMM+YG3c0u D2k2D4FF3QMZXwkpABIWLBk3tdCeZWQQQuIzhkXdOTgEIe4yHNElQ0RvmXhcNaCP9lTs MmHWReC7vwhnMXcHVLhIGsDLLDhlCdSs1hOuoec823PwHesV1JVd3056wWZaigXX2s+u cHNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=Fs11ZYNs11KRXX0CMgRlVZnl3dBXHk7slByjIz5Iuj4=; b=bicnEg/IlLPogw5HyfTvx9PbC1I02/7P+24GirFCl5e6wbajSQ2JyExX6UIqt++X4z e7pS4gWqCl8qgwMyY85dnzami6JYKQEvbpHe9926ZR+YhO3aLovT5zc3M8UiLs4+L/ny uWo0pKA48yBJ9PFU8c0ifS5fR+BP3bHT+uIxgrcqEt7EH3rzLRhjkrI2XcNRmRw5e8Mh +iLLLMkvHf0xLZyu1fR1JwVDuznK33HIb1uEWh2m7+EiaTuZsIjtbXdvS//Av2qyhNAX 6qsEx/FahyHHt+nNawpNFUWVlKDWJWCq0PPKgDyXjI0HkdJ/9NtYmvcUl5g1hA2vscNM eLuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=DmcUhIft; 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 h8si2275777qtr.32.2020.04.12.07.14.32; Sun, 12 Apr 2020 07:14:46 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=DmcUhIft; 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 S1727059AbgDLOLR (ORCPT + 99 others); Sun, 12 Apr 2020 10:11:17 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:14022 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbgDLOLR (ORCPT ); Sun, 12 Apr 2020 10:11:17 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586700677; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=Fs11ZYNs11KRXX0CMgRlVZnl3dBXHk7slByjIz5Iuj4=; b=DmcUhIftEpzZYRPqYmxxJp89cTQJz+GwVpER5IahYOFwaOR6xvJPQY/MZMDlVYW/R/aBedSY UjNsERtx4U+EMGE2f2rfssuACrNBCk3fskhkxnmTOQIfH4tH+V9PhBr9tDbceZl0oKcBgi81 cKj9qvlIPG1M3//HNvrn5qwqaII= X-Mailgun-Sending-Ip: 104.130.122.26 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 mxa.mailgun.org with ESMTP id 5e932174.7f4af2710ed8-smtp-out-n02; Sun, 12 Apr 2020 14:11:00 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 886CFC432C2; Sun, 12 Apr 2020 14:11:00 +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 [192.168.43.137] (unknown [106.213.136.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mkshah) by smtp.codeaurora.org (Postfix) with ESMTPSA id AA686C433F2; Sun, 12 Apr 2020 14:10:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AA686C433F2 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 Subject: Re: [PATCH v16 4/6] soc: qcom: rpmh: Invoke rpmh_flush() for dirty caches To: Doug Anderson , Stephen Boyd Cc: Bjorn Andersson , Evan Green , LKML , linux-arm-msm , Andy Gross , Matthias Kaehlcke , Rajendra Nayak , Lina Iyer , lsrao@codeaurora.org References: <1586154741-8293-1-git-send-email-mkshah@codeaurora.org> <1586154741-8293-5-git-send-email-mkshah@codeaurora.org> <158649213142.77611.5740203322498170248@swboyd.mtv.corp.google.com> From: Maulik Shah Message-ID: <11c37c89-aa1f-7297-9ecf-4d77a20deebd@codeaurora.org> Date: Sun, 12 Apr 2020 19:40:52 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 4/10/2020 8:22 PM, Doug Anderson wrote: > Hi, > > On Thu, Apr 9, 2020 at 9:15 PM Stephen Boyd wrote: >>> int rpmh_flush(struct rpmh_ctrlr *ctrlr) >> This function name keeps throwing me off. Can we please call it >> something like rpmh_configure_tcs_sleep_wake()? The word "flush" seems >> to imply there's some sort of cache going on, but that's not really the >> case. We're programming a couple TCS FIFOs so that they can be used >> across deep CPU sleep states. > I'm hoping this rename can be deferred until Maulik's series and my > cleanup series land. While I agree that rpmh_flush() is a bit of a > confusing name, it's not a new name and renaming it midway through > when there are a bunch of patches in-flight is going to be a hassle. > > Assuming others agree, my thought is that Maulik will do one more v17 > spin with small nits fixed up, then his series can land early next > week when (presumably) -rc1 comes out. If my current cleanup doesn't > apply cleanly (or if Bjorn/Andy don't want to fix the two nits in > commit messages when applying) I can repost my series and that can > land in short order. Once those land: > > * Maulik can post this rpmh_flush() rename atop. > > * I can post the patch to remove the "pm_lock" that was introduced in > this series. A preview at . > > * Maulik can post some of the cleanups that Maulik wanted to do in > rpmh.c with regards to __fill_rpmh_msg() > > ...assuming those are not controversial perhaps they can be reviewed > quickly and land quickly? I suppose I can always dream... > > > -Doug Agree, I can defer rename until this series lands and then post above listed changes. Thanks, Maulik -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation