Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2950745ybb; Sun, 5 Apr 2020 21:50:22 -0700 (PDT) X-Google-Smtp-Source: APiQypLy/++1bhE/uOJ3uk/BcdVkpfeJ3pTqHCM+Cr9tnXmXPM3mTk1m50tbRqXSWpKrFTGMKKx6 X-Received: by 2002:a4a:9813:: with SMTP id y19mr16076709ooi.56.1586148622384; Sun, 05 Apr 2020 21:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586148622; cv=none; d=google.com; s=arc-20160816; b=1F+KeJzHyw22hj+7ff4PgCIz+VVLl36J6Fh4ETAtA2H5FBSxou4RKIInV/oQUm1+M1 fnk8fjzdKlNoRg1Uk9lW4MboWqAK4pouBdABy2jXIlHcZVFb1Rm39P+U3RSohVkVGYwM Clf4FtBVsUnQ2h5rDSh8U5vmx8+4IcikrEzek6lOeg3hX3noDZR8k9xRcIht+AO9RvDd WS+uliSCkMQ5rD2OyMKo/ecvwb8M2hXvT5bbTQwOZO8k9qU/oRxgA2hnhdvlh2C3OFNZ YlNSb9Y+OD2pS72Cj45iTLXmnPHYH2wbu6Nf9Iv4h77ZorAAyRlY5XK69oaNbrSgYkNj DIfQ== 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=c8in8o1Y8AE7z/tRhR0QEEwIcI3MUdyPgdaIe0fz8XQ=; b=krRpC+grPAX3SuWJGrvNsGzOCRPvMR+siI97YMRpwxDWqRC5BfBB62gc5KDGbUlhxI YFEvtIvYvpk4vzdlPr/LFruIeZ59dLtZDl+P65ZDVWkNuU2FODFZWEaz3oe3zOVzqvXn 9k9OEKst72RMPyvVfJzzRQvOWp59bSp2rYsMLfrB33/4K0a382fGWVTs2I/Xj28rmuMS bmeCpz+kacM0ts+gd1r/OydtW9CsBF3q8z55qEE7PmfSDV5F6ixU/lzOlzvmGwFh/iRH kIlaePgZY7O4eXTjqo0de07zmP39VOqX3saYIq84eCAuU+pCh7QxzYOp4sliBtMno9QJ 82WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="gX/tw2P0"; 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 i6si7005517oor.75.2020.04.05.21.50.09; Sun, 05 Apr 2020 21:50:22 -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="gX/tw2P0"; 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 S1726486AbgDFEtr (ORCPT + 99 others); Mon, 6 Apr 2020 00:49:47 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:55958 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726050AbgDFEtr (ORCPT ); Mon, 6 Apr 2020 00:49:47 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586148587; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=c8in8o1Y8AE7z/tRhR0QEEwIcI3MUdyPgdaIe0fz8XQ=; b=gX/tw2P0s+U0OzETxj1A37VQ59mbuAZCIchR2oVv364mUozCxSl/RqlslCI3ngAzjwAnTfC5 NHRWLhby/rkq+Ggfeef7/pLC0fm17NYB1imHaGd47+VQbZrure75L98DPR44wt7jIibbPvC1 BPhwfzzUOrSl5am/KBt/X2cSVnA= 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 5e8ab4de.7f4c5b0e2228-smtp-out-n02; Mon, 06 Apr 2020 04:49:34 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 19366C43637; Mon, 6 Apr 2020 04:49:33 +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.172.166]) (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 70FC4C433F2; Mon, 6 Apr 2020 04:49:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 70FC4C433F2 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 v15 4/7] soc: qcom: rpmh-rsc: Save base address of drv To: Doug Anderson Cc: Stephen Boyd , Evan Green , Bjorn Andersson , LKML , linux-arm-msm , Andy Gross , Matthias Kaehlcke , Rajendra Nayak , Lina Iyer , lsrao@codeaurora.org References: <1585660782-23416-1-git-send-email-mkshah@codeaurora.org> <1585660782-23416-5-git-send-email-mkshah@codeaurora.org> From: Maulik Shah Message-ID: <7fd2b098-0ad2-accc-a149-77680aeb4411@codeaurora.org> Date: Mon, 6 Apr 2020 10:19:23 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.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/2/2020 10:30 PM, Doug Anderson wrote: > Hi, > > On Tue, Mar 31, 2020 at 6:20 AM Maulik Shah wrote: >> Add changes to save drv's base address for rsc. This is >> used to read drv's configuration such as solver mode is >> supported or to write into drv's registers. >> >> Signed-off-by: Maulik Shah >> --- >> drivers/soc/qcom/rpmh-internal.h | 2 ++ >> drivers/soc/qcom/rpmh-rsc.c | 11 +++++------ >> 2 files changed, 7 insertions(+), 6 deletions(-) > I still see no usage of "drv->base" outside of the probe function even > after applying your whole patch series. That implies that it can just > stay as a local variable. > > If you have a later patch series that needs "drv->base" in some other > RPMH function then this patch should be moved to the front of that > series. Until then it feels like it should be dropped. > > > -Doug Okay, i will drop this and keep base local to probe only for now. Thanks, Maulik -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation