Received: by 10.192.165.148 with SMTP id m20csp119175imm; Wed, 9 May 2018 09:43:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoroH67qyJxdojzY31O+xU0ORsgt9Z/ZcFVDiQYQjJGGq4IobroyjwSOCQ/FodRuot1LGdO X-Received: by 10.98.24.214 with SMTP id 205mr44718273pfy.242.1525884190115; Wed, 09 May 2018 09:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525884190; cv=none; d=google.com; s=arc-20160816; b=joKqHSImNeIB4uNWqyTi0LMgSlto2GMDY+/Czm60DNf9oUmEsuODZrypFGLLANWA/y YrJVlsX8CAw53xK+udYeh0byW61kr0HnyDpyJgB8RzX3kS/WN4DYWtLQkg8NsxxwFyQc 4Yo1cIQoze6l8+rdLsS0gk+R50ZJXebCc76dRC8WXJVXRVyFGcZumsOLPswKj3E7LKIk qMSB9tYJr+ukLx+BCFKK69VNgXlRyWVJI+qqYzqYcYygzSLMny0x27HC4R7sO2FHUBVa PPFtMf6M7kt7churixRHhai/E49+xuKJ52ItzIxEX47brAWINPcOhiB+mlWW2tzczbTU ti3w== 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=quZOqFxCq8R4CnAHVhp3DnnJxvcmU6B1S+lpO7P1ZuY=; b=cbF8zRttiS5pf5kEuuYBoIv9P/yivQYekAs5OCdPDIKpLnJp3Lxnh0NQ5PYMcOKE5q AJv2T25ls1bp8bxuQTaze0ts/T4mNvAaFh6yxMUHq/J+3QqD8uprGpCFJijKZBoTfil6 SIlgaxxMbYOgsBwZty/uedhNhz83iJMzAMzv+CJogr1kd2L9V0qapiW1ou8xuDcLysUL yrcwG7utVXOtbNu6ybpVt8k/a0uzPLU5HKSPS0BMVP9kNAzGo2LOk9Cj/WgguvK5Bxgi m/OTN/L6XyU+H8PUgAt3BkmbQeV9rcvMuXlwCzoK0Bd9HCNJfIpVDkvVGHoQxb36Gw07 gr0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=DBy69Zqi; dkim=pass header.i=@codeaurora.org header.s=default header.b=DBy69Zqi; 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 q2-v6si26555774plh.259.2018.05.09.09.42.55; Wed, 09 May 2018 09:43:10 -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=DBy69Zqi; dkim=pass header.i=@codeaurora.org header.s=default header.b=DBy69Zqi; 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 S965502AbeEIQmT (ORCPT + 99 others); Wed, 9 May 2018 12:42:19 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60494 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935232AbeEIQmR (ORCPT ); Wed, 9 May 2018 12:42:17 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E40896022C; Wed, 9 May 2018 16:42:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525884136; bh=GJpWOmxOzZnHCnrs1sWV9p3erCZsNnZRWut9Vu0KI00=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DBy69ZqiOrLI6HemNnuH378Ect16u87Jl1VPY9gUFLCg6dy/a8AIxDMdGMLcNcH/h b8Wq2crDB4cmalcaAcvRQ7WnImO/V+qdypy8Qfeslz6BPTCuXNhtO7Ib7oQd8IoR4R kSTw4ZsAFXtYKDCZC3D9+HRrUhZZc0vo6n9sJlLg= 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 CECBB60712; Wed, 9 May 2018 16:42:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525884136; bh=GJpWOmxOzZnHCnrs1sWV9p3erCZsNnZRWut9Vu0KI00=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DBy69ZqiOrLI6HemNnuH378Ect16u87Jl1VPY9gUFLCg6dy/a8AIxDMdGMLcNcH/h b8Wq2crDB4cmalcaAcvRQ7WnImO/V+qdypy8Qfeslz6BPTCuXNhtO7Ib7oQd8IoR4R kSTw4ZsAFXtYKDCZC3D9+HRrUhZZc0vo6n9sJlLg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CECBB60712 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: Wed, 9 May 2018 10:42:15 -0600 From: Lina Iyer To: andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Cc: rnayak@codeaurora.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, sboyd@kernel.org, evgreen@chromium.org, dianders@chromium.org Subject: Re: [PATCH v8 0/2] drivers/qcom: add Command DB support Message-ID: <20180509164215.GF4698@codeaurora.org> References: <20180410175724.7165-1-ilina@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20180410175724.7165-1-ilina@codeaurora.org> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, David, These patches have been reviewed by our peers and have recieved no further comments in the past few weeks. Would you consider merging this in your trees? Thanks, Lina On Tue, Apr 10 2018 at 11:57 -0600, Lina Iyer wrote: >Changes since v7: > - Add reviewed-by tags > - Fix example > >Changes since v6: > - Fix 'reg' property > - Add reviewed-by tags > >Changes since v5: > - Remove indirection of command db start address > - Rebase on top of 4.16 > >Changes since v4: > - Address comments from Stephen and Bjorn > >These patches add support for reading a shared memory database in the newer >QCOM SoCs called Command DB. With the new architecture on SDM845, shared >resources like clocks, regulators etc., have dynamic properties. These >properties may change based on external components, board configurations or >available feature set. A remote processor detects these parameters and fills up >the database with the resource and available state information. Platform >drivers that need these shared resources will need to query this database to >get the address and properties and vote for the state. > >The information in the database is static. The database is read-only memory >location that is available for Linux. A pre-defined string is used as a key into >an entry in the database. Generally, platform drivers query the database only >at init to get the information they need. > >[v1]: https://www.spinics.net/lists/linux-arm-msm/msg32462.html >[v2]: https://lkml.org/lkml/2018/2/8/588 >[v3]: https://lkml.org/lkml/2018/2/16/842 >[v4]: https://patchwork.kernel.org/patch/10242935/ >[v5]: https://lkml.org/lkml/2018/3/14/787 >[v6]: https://lkml.org/lkml/2018/4/5/451 >[v7]: https://lkml.org/lkml/2018/4/6/756 > >Lina Iyer (2): > drivers: qcom: add command DB driver > dt-bindings: introduce Command DB for QCOM SoCs > > .../bindings/reserved-memory/qcom,cmd-db.txt | 37 +++ > drivers/of/platform.c | 1 + > drivers/soc/qcom/Kconfig | 9 + > drivers/soc/qcom/Makefile | 1 + > drivers/soc/qcom/cmd-db.c | 310 +++++++++++++++++++++ > include/soc/qcom/cmd-db.h | 45 +++ > 6 files changed, 403 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt > create mode 100644 drivers/soc/qcom/cmd-db.c > create mode 100644 include/soc/qcom/cmd-db.h > >-- >The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, >a Linux Foundation Collaborative Project >