Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3079958rwb; Mon, 15 Aug 2022 17:37:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR704YyHRaNhTWa3TB0uB4xs4yXhQu+Z4V/0NZxjM8qkpvufv4vQA4clkx0ZgyoanwVN9pX2 X-Received: by 2002:a17:90b:4a92:b0:1f7:2ee5:a2ed with SMTP id lp18-20020a17090b4a9200b001f72ee5a2edmr30007904pjb.127.1660610266304; Mon, 15 Aug 2022 17:37:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660610266; cv=none; d=google.com; s=arc-20160816; b=ncW3FMAjH6zwkgYOdNtx6CkCIM/GPaGrQTHK1Yp/z/mtbKa1pTtkCeWseIdjAosRxo aIpNfmqE7TmQFLqJNZerzpzxh4OYQRc0DP00Nkji1GQWbfr0qK9ISShI+7gefn39mSKf Ae0mm/iU4Z44+rA0X1ivZ/WK/QTiCfHrviHC4nGlwGd+0vN1/xdydmWaiuFybQN16EO0 kaaxC+C5QQSnS9RArArDtIP0QSTfId15L0YBg2WZBrDeFsFTgo+vOakOPiCge0ErOsx3 CuB12AaNbSiQOJ4ZdSNkUuyMd1b+ItdXzMLInhoNlmeYiwfMEKZg+9YijZGQ3s3ASvyM HSWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=C2DX2ca7bHN7SVtPDmCU8rhrYCWb6kGjMw+dl7PYH3A=; b=LhuGXZztN34igr7a3zalHeBp2sLGULVCa5yYzyqNfKEvUoq5vCFeBX5H+VccBmwKbi n6+Jq1qHD0F6KSVClE2KoRUT1hPuDPzLqoDWN2MpU148epq+jBw0fhn/D5zsd6wkKflR 0RzuZhzuYwiXqLAtf2Ajk/2JtWvAY6W0KEt0cdV+S/f7S3klUvCFS3AIWSu49T6f3ZUo cKk12Ll+vkTviob/peCB75W5O60iHu+nv6cDpQN4QSvVqEM5NewN6h6s/umV6jwxNq+P FTG2KTCMm2qM8YEuqqWN2mksW4aEl9YM/aWuUVTXF22pH8FLrPmtSNQyeWWAZ3bz0Raf iaTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hBACRnEV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x11-20020a17090aca0b00b001f50dbbe86asi11178552pjt.46.2022.08.15.17.37.34; Mon, 15 Aug 2022 17:37:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hBACRnEV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345945AbiHPA1b (ORCPT + 99 others); Mon, 15 Aug 2022 20:27:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351819AbiHPAYm (ORCPT ); Mon, 15 Aug 2022 20:24:42 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB460D2922 for ; Mon, 15 Aug 2022 13:34:18 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id k26so15433675ejx.5 for ; Mon, 15 Aug 2022 13:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=C2DX2ca7bHN7SVtPDmCU8rhrYCWb6kGjMw+dl7PYH3A=; b=hBACRnEVlwPILbpIJWVmIwveirPxlpdBfR/nHLiPxMxIUdcRR6EAYvzRjiNsZSTIqe EKMBej1tT9tMClvM85IaoFsx4zKzd5QKDbLhmZJXXY5xrvbyRivn1sayE0tizFQxR+iw 5VDLZyWU7aU/qOlYcaULn4JLb7Du1vYQXcro+/hd19NcbkrIyZiJ6QWhqHgaaqxWpu6e R6Axd7mtl++ln5Q7wRB8kPuvPpsHbr1YpajycZ5kXhJf4FI02Ma2vhU2CKUYHSi4Cji7 s+V9aRuhG+EZUmlLiShYVMrvERqw9/5i4tCKAM1kvK6Mzk3XwiKFBiTMWSdR2oGGPjH5 kFiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=C2DX2ca7bHN7SVtPDmCU8rhrYCWb6kGjMw+dl7PYH3A=; b=Y+FyKmixXfjmDlQl8DGtnrUC1rgfdVm9x9HBkN0mv7RYtHs5yhhCjN2dVAXdnLpGyI jKXz3rIJf/7FmenghpAYh+AeAa307gxbV2/6PL5AZy/blTSJkyei5yK53V/ik/LwBGh+ ABpdwxICF1n61DMf9KOn1FTU+5eAHz21dQyqlu5oa0jrZrxK6CAtqibXPTu3VNMvquDy lAtPPEpqDbiHC8Z2nT/A7g0eRhsBlHkO7oAI/tP/8J8fUmSQfNTOEUC64DxIYKrLuCqp PVVWC0Fd+mCBSpjs81DhrdhEwjM003KfkjkWA+o+bXAtxBG43fjJktyqBJ4JQt6lB4D9 +aFw== X-Gm-Message-State: ACgBeo1n+5EF9g/Jz0L4wx7RNECrnySvC2HzX4A/Ulyanr0WJ1CyHfOS VeBoUzUNr2RDSgS6e2YmmZGF3Q== X-Received: by 2002:a17:907:2c47:b0:730:8bbb:69a8 with SMTP id hf7-20020a1709072c4700b007308bbb69a8mr11810673ejc.38.1660595649083; Mon, 15 Aug 2022 13:34:09 -0700 (PDT) Received: from [192.168.0.12] (cpc76482-cwma10-2-0-cust629.7-3.cable.virginm.net. [86.14.22.118]) by smtp.gmail.com with ESMTPSA id u19-20020a05640207d300b0043bb8023caesm7129729edy.62.2022.08.15.13.34.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Aug 2022 13:34:08 -0700 (PDT) Message-ID: Date: Mon, 15 Aug 2022 21:34:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v2 3/4] arm64: dts: qcom: sdm845: Add the RPMh stats node Content-Language: en-US To: Abel Vesa , Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski , Maulik Shah Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List References: <20220812101240.1869605-1-abel.vesa@linaro.org> <20220812101240.1869605-3-abel.vesa@linaro.org> From: Caleb Connolly In-Reply-To: <20220812101240.1869605-3-abel.vesa@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/08/2022 11:12, Abel Vesa wrote: > SDM845 is a special case compared to the other platforms that use RPMh > stats, since it only has 2 stats (aosd and cxsd), while the others have > a 3rd one (ddr). > > So lets add the node but with a SDM845 dedicated compatible to make > the driver aware of the different stats config. Hi, I gave this a go on the OnePlus 6, I noticed the driver is also meant to read the stats for remote procs via smem, however this seems to fail for me - it can't find any of the SMEM items even if I probe the driver manually after ensuring remoteprocs have booted. Is this an unsupported feature on SDM845? > > Signed-off-by: Abel Vesa > --- > > Changed qcom,rpmh-stats-sdm845 to qcom,sdm845-rpmh-stats, as suggested > by Krzysztof. > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index 5bea96a9ce06..67fe08b837be 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -4851,6 +4851,11 @@ ebi_cdev: ebi { > }; > }; > > + sram@c3f0000 { > + compatible = "qcom,sdm845-rpmh-stats"; > + reg = <0 0x0c3f0000 0 0x400>; > + }; > + > spmi_bus: spmi@c440000 { > compatible = "qcom,spmi-pmic-arb"; > reg = <0 0x0c440000 0 0x1100>, > -- > 2.34.1 > -- Kind Regards, Caleb (they/he)