Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp723487imu; Tue, 27 Nov 2018 05:28:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/U4AV80TqhX2XJsVyza815hbwngGb7f9NhfjlEsnm41YsZ3m8urVId55YgSydvbNgXXiSme X-Received: by 2002:a63:ee0e:: with SMTP id e14mr28557662pgi.8.1543325325436; Tue, 27 Nov 2018 05:28:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543325325; cv=none; d=google.com; s=arc-20160816; b=m3ahydmKQNSehGtwTY+6viqL3HRVZ1Xmyp8AkZmJSyqgeUztDK4ZsfqMIABwYwdkv0 CbapWq0W7sN2ColUrYV329obowfTIxVqxpVAsoDu2VSrro1ttxq077dxQkYDl93EcZlu il6RDbzz/Oul0k6FveooaDp4EpdWZ+YJ/KnXDH3qtH8cQUmclZC4hkffuhUQ5caHwt/V coCWUpxiHpTzw1LhUVpta+MlcIpFIJSlxxuanGi13GQCPCoYw3k36OgUSgVtzZ9hvtBJ FVda9ukozZL6nDA6XWY4M6eJndgmMG7p5SSoqhDP0I9m0ZwXJPI9qYD6PIXx93bZ6RGb 87mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=ywHE2kIvJaiI2gNHKIJqDYPxsKRSxppMoSaF5SYp5Ns=; b=y0i3xieshAp90Q0AaYzB68TPyz+7EyRIgCy5UL3Pd/IlfxMRfP+xiZ9wvlOeQQlVcn mZwp7R39JPgy3Xwjw/HJxpRvaF6bQl2FD0LHM8doRAwpGN+ZH4H5BsYSMYSBNVNW/5tv TxgPnwSSsaXGl94I3q+54OZF/bNWI7l4Utxg3glnyksPBeQ9TjmSBgkpBXJ5vZETwP95 xda2QaqtndiIHNxPekBEjyqkJC9aGb5R0uNr9EUFOnSLu2g9VZnzpL1Dq5NtPXgRB1oP pyZJQ+xlUFaEgnC8Vw2yEQV98E/epnYicCmjx+BFQpk8CKdmOYHpxFuuBmrKVKa3A66/ ojug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=MvcgEyoC; dkim=pass header.i=@codeaurora.org header.s=default header.b=MvcgEyoC; 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 w17si3700134pgl.6.2018.11.27.05.28.09; Tue, 27 Nov 2018 05:28:45 -0800 (PST) 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=MvcgEyoC; dkim=pass header.i=@codeaurora.org header.s=default header.b=MvcgEyoC; 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 S1730875AbeK0VsN (ORCPT + 99 others); Tue, 27 Nov 2018 16:48:13 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:41372 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726720AbeK0VsN (ORCPT ); Tue, 27 Nov 2018 16:48:13 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E307A60B26; Tue, 27 Nov 2018 10:50:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543315842; bh=JHXmpc9pZZWjpQrjJVns+Bmv0GHdc/G3EcsSaxBXjZc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=MvcgEyoCbIQrJXnSTdONzS859vBVdVNk7VuWOCPk8+fXVxUA24TOK2R7K264jIsGn ioMlsqseue1lJg1eKirCbbx1cOECMbBteFKGR84bAG86wJYXczfYt89lrA1BSQ13xm y518jHsvd7pSGJbiHa2Pjf2lZl6f56QtHt0qEVMM= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.79.128.28] (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 959AC6079C; Tue, 27 Nov 2018 10:50:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543315842; bh=JHXmpc9pZZWjpQrjJVns+Bmv0GHdc/G3EcsSaxBXjZc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=MvcgEyoCbIQrJXnSTdONzS859vBVdVNk7VuWOCPk8+fXVxUA24TOK2R7K264jIsGn ioMlsqseue1lJg1eKirCbbx1cOECMbBteFKGR84bAG86wJYXczfYt89lrA1BSQ13xm y518jHsvd7pSGJbiHa2Pjf2lZl6f56QtHt0qEVMM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 959AC6079C 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=saiprakash.ranjan@codeaurora.org Subject: Re: [PATCH 3/3] soc: qcom: Add AOSS QMP genpd provider To: Bjorn Andersson , Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak , Ulf Hansson References: <20181112080557.22698-1-bjorn.andersson@linaro.org> <20181112080557.22698-4-bjorn.andersson@linaro.org> From: Sai Prakash Ranjan Message-ID: Date: Tue, 27 Nov 2018 16:20:37 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <20181112080557.22698-4-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, On 11/12/2018 1:35 PM, Bjorn Andersson wrote: > The AOSS QMP genpd provider implements control over power-related > resources related to low-power state associated with the remoteprocs in > the system as well as control over a set of clocks related to debug > hardware in the SoC. > > Signed-off-by: Bjorn Andersson One more issue is that amba bus probe fails and coresight(qdss) does not work with these because of clocks being modeled as power-domain. Below is the log snippet: [ 4.580715] coresight-etm4x: probe of 7040000.etm failed with error -2 [ 4.588087] coresight-etm4x: probe of 7140000.etm failed with error -2 [ 4.595407] coresight-etm4x: probe of 7240000.etm failed with error -2 [ 4.602796] coresight-etm4x: probe of 7340000.etm failed with error -2 [ 4.610108] coresight-etm4x: probe of 7440000.etm failed with error -2 [ 4.617453] coresight-etm4x: probe of 7540000.etm failed with error -2 [ 4.624831] coresight-etm4x: probe of 7640000.etm failed with error -2 [ 4.632190] coresight-etm4x: probe of 7740000.etm failed with error -2 This is because Amba bus probe has amba_get_enable_pclk() which gets apb_pclk and returns error if it can't get that clk. Just for testing, I ignored amba_get_enable_pclk() in probe and coresight seems to work fine. Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation