Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4338566imm; Mon, 18 Jun 2018 13:12:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIsWKXZiiP1/F/c2vgm5jzEhAN10dsRfjKde3Tgrc9bQYzq+d2V5/XWNDSLZh82Gq3LpjnG X-Received: by 2002:a65:4841:: with SMTP id i1-v6mr12074968pgs.75.1529352751259; Mon, 18 Jun 2018 13:12:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529352751; cv=none; d=google.com; s=arc-20160816; b=ooDwzQD2+xhZo6RNbziyIOb7BB8oHRQyifxh0Ay9IJ7sBwD/GcAOW120JcbqPIMhlW FYyv0CHwmSgoOHKTeTtUgqybYF+exCsTcoy/ZDowf1PVg0O+q867CyITbHzPkBcCNgoS zRvXiFV/H9+qPQ05rz6b+spck7rxch9pI9qSWJBNi1OkwEmoeSDsNR6lhvGpGV9lX942 X/bAhRqmU0mM2ob9MzlYaKXfVF+0uzRNcva/KTVJJ+vgxjOq0t0T7b6U/OlSUKZ4yqZD 4gYAOOvHqIM/eOmmyAA5crR0ROgvejMUs2nG4AOokFPtiagSu92RxxLgWtgguoxaCc1i j5Xw== 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 :arc-authentication-results; bh=R7NcGiypwz1YnNvamWYKM0xyAU/ComU/6SzNIjRJdcw=; b=C7iyWRFLwUOjQ3JotqmTmReiY0rcuhB8HKqxhvLs5DAf6TLSL0oDxYKE/9FEe6akHu lwljl9LqGAtVJkF5itQtmUAOdSXcLGvFWBUo6QL8CUZpaqEK9KgmSZgOeF+lQXABTv8Q XRAPhI1WrS5fZxqE6omgMd5g6pJR13X/aAoBNe/54sLTVzsYcqyQTLGkAX7s8kviyzk9 /v+qx2OwkmKR58isA1IS9cs5VTBo/n0+K/TKm+VNtVtYJ5aX2ytNd9hFyNt9ZRIGxqtv MyxyANm2jaOGYgkrRhGeB+aVwnYm92HaTXf4bQ3CF0zNRUJDkLGGqMNg8SMfNOvRz0F7 JkMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=b7ZHrgAi; dkim=pass header.i=@codeaurora.org header.s=default header.b=CVLKiXtu; 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 x1-v6si15393646plb.8.2018.06.18.13.12.16; Mon, 18 Jun 2018 13:12:31 -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=b7ZHrgAi; dkim=pass header.i=@codeaurora.org header.s=default header.b=CVLKiXtu; 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 S935300AbeFRULf (ORCPT + 99 others); Mon, 18 Jun 2018 16:11:35 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:35590 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933073AbeFRULe (ORCPT ); Mon, 18 Jun 2018 16:11:34 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 84A4A60B10; Mon, 18 Jun 2018 20:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1529352693; bh=akGvf5aGxs/wkPg1NIm+1L4GeMoSDtAKIQAWSr3jCr0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b7ZHrgAioCFolo8MnwI6/M7WxFNY8uBurHcALjxztkJIkKIekkuVkxN10tt7pQda4 V5eh9KnrYEsJRc1n139ZFq7isjeE2DG//6r76qdygGIPfCzxHdMsLVQcyacChFw2yQ 3Sqdgjt6Pq9nw7Yp5gicyB2XCtwME/3Va4CKsBmk= 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 AF62460AD9; Mon, 18 Jun 2018 20:11:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1529352692; bh=akGvf5aGxs/wkPg1NIm+1L4GeMoSDtAKIQAWSr3jCr0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CVLKiXtunbzlq9LM+8NX2CP7wTEeRS+Ug3amIYXMu0CQtza2N3A6onF62Cx8xBOJ6 XjkdC8bGvCLPosdAZYMiEmeXaJA57z1RbnLTaclB/19jl0k5XLhzpsBfqPzXGLC6eG R8yObaakCZdXSp8Qpg4GV/PbrKfX02F8sFLkA8vE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AF62460AD9 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: Mon, 18 Jun 2018 14:11:29 -0600 From: Lina Iyer To: Doug Anderson Cc: Raju P L S S S N , Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, "open list:ARM/QUALCOMM SUPPORT" , Rajendra Nayak , Bjorn Andersson , LKML , Stephen Boyd , Evan Green , Matthias Kaehlcke Subject: Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions Message-ID: <20180618201129.GH21724@codeaurora.org> References: <1529329040-2606-1-git-send-email-rplsssn@codeaurora.org> <1529329040-2606-5-git-send-email-rplsssn@codeaurora.org> <20180618163945.GE21724@codeaurora.org> <20180618190637.GG21724@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: 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 On Mon, Jun 18 2018 at 13:54 -0600, Doug Anderson wrote: >Hi, > >On Mon, Jun 18, 2018 at 12:06 PM, Lina Iyer wrote: >> On Mon, Jun 18 2018 at 12:33 -0600, Doug Anderson wrote: >>> >>> Lina, >>> >>> On Mon, Jun 18, 2018 at 9:39 AM, Lina Iyer wrote: >>>>> >>>>> +/** >>>>> * struct rsc_drv: the Direct Resource Voter (DRV) of the >>>>> * Resource State Coordinator controller (RSC) >>>>> * >>>>> @@ -52,6 +78,7 @@ struct tcs_group { >>>>> * @tcs: TCS groups >>>>> * @tcs_in_use: s/w state of the TCS >>>>> * @lock: synchronize state of the controller >>>>> + * @ctrl: controller to handle cases like batch requests >>>> >>>> >>>> This is not only for batch requests. >>>> This is handle to the DRV's client. @client might be a better name than >>>> @ctrlr. >>> >>> >>> The name "ctrlr" also matches the name of the structure. Are you >>> suggesting also renaming "struct rpmh_ctrlr" to "struct rpmh_client", >>> or you think they should be different names? >>> >> Just the name of the variable. I was just a nice to have. I wouldn't >> block for this though. >> >> I also got a couple Bot reported issues on this and the previous >> revision that I have sent to Raju. He is planning to the post the v12 >> tomorrow his time after fixing them. If you can wait until then, I would >> recommend picking up the v12 instead of this. > >OK, if Raju can post the v12 tomorrow his time then that sounds like a >great plan to me. While you're at it, I noticed that checkpatch >yelled about a few lines that were > 80 characters long for no good >reason. Those would be nice to fix too. > Yup. He got that too. -- Lina