Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4321764imm; Mon, 18 Jun 2018 12:55:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJgNndew+wW/WkgUJzzpoOD1u/CbTMzsqXdfBjlGV79DwedqEAmgMXB+gdcOMuDJtNDMmsj X-Received: by 2002:a65:4146:: with SMTP id x6-v6mr12275048pgp.221.1529351711176; Mon, 18 Jun 2018 12:55:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529351711; cv=none; d=google.com; s=arc-20160816; b=c3Fq8I2EbE4Aw5oAEDF5fwBBZL881pdhhsxuVb8lwPDbpsiBkjLzG12tqy/ahYZ9kk oj5SKpy6TI1gNqgeuUDONei5h0aB47KF1k4dq/R2/dCmzb01/m3MJNnzTmyMOcwwn0ya leJiQn0mB9zVMQ30800YWA+UwSKMcS0ngLV+JfOHXEBYHA/bmqOSYbg+JUYfUpv6Lo6Q bpUPsXv50rClBkOFJJUqN9sNjwkGhW+8ckRD6zP0CCfIXcdmybvloe4xzcx+usWmiaYT 5f6wcrv1COiJzn2sYtLZfI2MHzSDMLG1v2ZCBmakDjeAGmq6tn6gU0TZmcsov78F+gN5 jxrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=fc7LexULpLHjtP2f2ChwGyh0HQOEZEoqBECfn68kBo0=; b=DEFJBcJzasEZ0cR56PWLyH3dyAXoFcZim1Mdok+HwBGxHAgKHVibcr9kyFST3QrkYa ju3unJeyth6LRh/OJ7JXa7+EAEkeQdBpBxR4zBdchRUJTQyV2JBVLhQKgKKrkVQb5P/y yfTD2HPnEzjcNiPfQZH1K22hCNhwtvY3u1eLnIPXL0ogTSkXBO86IYOtfDsfzAeo7KcD P64HO30NGBBQSbkPOtfj2C0fdUy5iJETma2GdRKIEXl2KtQYkWaW/acNvEBFuTtCuC7Z nMYg1SB3CQHPFOjIKwpu9LqqLASNGn5JjuRgfpiU6+cY2gSTckJGhewvbmLhV0OG9ZVN nZgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=Tw92OFaS; dkim=fail header.i=@chromium.org header.s=google header.b=a638L2ic; 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=fail (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 q185-v6si15394050pfb.216.2018.06.18.12.54.56; Mon, 18 Jun 2018 12:55:11 -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=@google.com header.s=20161025 header.b=Tw92OFaS; dkim=fail header.i=@chromium.org header.s=google header.b=a638L2ic; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936827AbeFRTyL (ORCPT + 99 others); Mon, 18 Jun 2018 15:54:11 -0400 Received: from mail-ua0-f193.google.com ([209.85.217.193]:39150 "EHLO mail-ua0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935923AbeFRTyJ (ORCPT ); Mon, 18 Jun 2018 15:54:09 -0400 Received: by mail-ua0-f193.google.com with SMTP id n4-v6so11497932uad.6 for ; Mon, 18 Jun 2018 12:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fc7LexULpLHjtP2f2ChwGyh0HQOEZEoqBECfn68kBo0=; b=Tw92OFaSP0H0z/GY1lW9JAFAjyOhnE1dGm17JaLyZpFybal5lwTVDIFo49jsgYPfku GhYYig4qVWYq/rxQ8tLzaTEG6vpDOtTfX33UBDQ9JbfloY82Eu3BA52YiSV+NCFNFNXI 0ntRu5MaYTMgYJKAZq9BI7xD8yD7YdSh0P9+YbOBxY/3N/CczXT4Uab41aNsAF5KI97l yipjOGJO/hCQPOAdPLaE4Shazqf6WCWcaJBzudrC1Vweya4UyaIAGigeuIldk9Z00W2p JrEB8aKwXwihYnkMwRNeCa5pgfv17U/ps2ayX2UrZ58HopwiLBMVj7VGz6xjGSVuhxkW LsYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fc7LexULpLHjtP2f2ChwGyh0HQOEZEoqBECfn68kBo0=; b=a638L2ic4xvCyp58tkJ8Rd7XXjGTPvUsrsKjPklAq6lVFiXpdexSrLnovMB0pRq4oY PfRu0IxrIQif8DWV0KRiLVu3hqxdjiuR2/ZEm4RVc4FSE9pPNx5E9nBCMcAlGL4BTykh HmUS5e2iPkD4+GaubhWbWyJifCzO3oMQGna78= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=fc7LexULpLHjtP2f2ChwGyh0HQOEZEoqBECfn68kBo0=; b=WL/rmk8lVl/CDJpFrPaZCxGKpHe8Jim9UuFdXBrjPOnlsJOLOM5dUmsPQHBMEGwhe/ yL7OazXGF8oe28xD7GLH6ALvXlk05OLc98YfjM3T/NXVeO38pdayMOkMa9HK5vdmIVrx vMCLQfUNg+RkHUoJEx3QuGP9MoBV09+qxuToKius46pWFcUGAAPwwad8tkxHG63tS3Xr dtHQuQnhCwzS6XAxja0GicAEDs7eugNGUgFq7ru99hX8OGM5uXdrt/vpn0DG5kj1HgkM Q62SYp9yRDJcDmCH4iN/xyLOYbRTmpAcLs7QVT0TrsZh+Iq7xl94Y3xqT8CpBYXfFstq 0Chw== X-Gm-Message-State: APt69E0yrar69KzKiLDnrHBe8/Gzw3fCeGT8R/CS80HBjhSdGydGwCxB HRKY+MVC2tdEnvbU8H6CuNYYxTqa5++RnPheSQUxug== X-Received: by 2002:ab0:2015:: with SMTP id v21-v6mr8738548uak.46.1529351648113; Mon, 18 Jun 2018 12:54:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:9495:0:0:0:0:0 with HTTP; Mon, 18 Jun 2018 12:54:07 -0700 (PDT) In-Reply-To: <20180618190637.GG21724@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> From: Doug Anderson Date: Mon, 18 Jun 2018 12:54:07 -0700 X-Google-Sender-Auth: R7Jlcvs4PEXO0b9Ez3wB6iO4Aec Message-ID: Subject: Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions To: Lina Iyer 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -Doug