Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp365049rdb; Thu, 30 Nov 2023 06:58:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBIt9PfTJB8BUd6BsZ9BnNVq8MwioXxm4YsPwz6BEHVSLLPD5DO+Fkcg80uSJjb0dQ7den X-Received: by 2002:a17:902:fc47:b0:1d0:220a:f012 with SMTP id me7-20020a170902fc4700b001d0220af012mr4651380plb.6.1701356330265; Thu, 30 Nov 2023 06:58:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701356330; cv=none; d=google.com; s=arc-20160816; b=r+zXkANiqpSbjg+01MgEyqUzVIHbcxDxvT555LlNAlY2JNS7W9jHsxJhnWxKOCOsQy gyr+Hpm5KrLu9u9hZKnbqmC4K9KQNQnJAYQjOfmzxVfDQWKvEjEi+7mNCyAP9LHW3UhG lQb9nyK8me2UczU3KQ3kCLJOyKD66wPszBVFOIAahh8Fvkqn+DRD6NTaUctAokPjaL09 Zh+M/hcdppoIlLCWwobLaaVUYwu+2RMu/qXWTKNrt1xiiW6lzsh/YNY5ddYx6D6U35YU 66pHrRWncF3semRDsXZW5t3z4ORe2w5AB6Z3wvlVbR19HIKEuWRPN2zTjLEMCwa2rVcT yvpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=2gKqlKiSO7Qz+6qp1ezAI25UfE5cdt5rvX+Xa1fyEdA=; fh=hXnaC5mvBa1lAyt+9YMdqgJPlSfEfXcUZbLK0Lo9wS8=; b=BXDSY0ti0AYwWMzEN0wC5raAzXDfw6BBd5j5g3WGYc2IcKFRLYn4vjqCy3Z7v/uCBF cqipm7f72FZt1iq/D84M7v0D5wIch6xkD9Jv7tOfz1QM0BmlsdTIKAuqT/88f4Rfl2mN wf7bf4txmB2XumrZR46FxQL+1FwUmKtIZCTXijZ8UUw/et99rZTKhnI0E5o0bwrH2hRY fFP0d5kzYoMIxV0/OHJs8/PRe68vTOQZ/fs3ASBe/CmfC629L2MHk24OYP3+YNXwtRMw HNkCS8AFCmV73lVAG12dSwKw69uZGU3nJHT8QrYpcGgPYMHV8jiK3XA4QCUHa93BWiOf uNAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y4NApfZW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h7-20020a170902f54700b001cfd9ce79a1si1405503plf.516.2023.11.30.06.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 06:58:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y4NApfZW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id BB0A58030A3E; Thu, 30 Nov 2023 06:58:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346140AbjK3O6U (ORCPT + 99 others); Thu, 30 Nov 2023 09:58:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346124AbjK3O6T (ORCPT ); Thu, 30 Nov 2023 09:58:19 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DE0D1A4 for ; Thu, 30 Nov 2023 06:58:26 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5488bf9e193so1128089a12.2 for ; Thu, 30 Nov 2023 06:58:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701356304; x=1701961104; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=2gKqlKiSO7Qz+6qp1ezAI25UfE5cdt5rvX+Xa1fyEdA=; b=Y4NApfZWj8Kr9Gj3KL9lcrwCRSjpxrsYugTCKk+HJCxwiF4S2qy6c0DgOZVVkvjewj 7NVffLOaiG4we5q8cuzeA9vIabuoZ7KfMeF2Fmpu3GqU9xGFpPSQNV7tQXwP2K/MPUgP GiG3JF9ETiFyUQ0X4nwc4t778Qvg2/vh/zC/h0Kvsk46HFnXmqPZtAE8Lfx6Nw6Z1Y3o ZGaG+HYkynAuu9smBvUV3dn0CYZxU1saxnfDh4PTKnUTWDtZN+Gewg7hRGaD3eZemoVv FFZHvAHKsiUnXwYqb9hNpvEJr7Ts46Ert4E0Fk1VV/UTYokRdn9MpalcG3Ni4rtsDUn9 xFAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701356304; x=1701961104; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2gKqlKiSO7Qz+6qp1ezAI25UfE5cdt5rvX+Xa1fyEdA=; b=hVZEIBRVVspW81cA9WqyqbTsXrcchP8A7F1YOWAsdldHQbeImpbUr5MxPkf88FrgHH vBtXZs0jLJGEyFmx/UuH5O4QfWReGRvzMFt1fA+whqzRRcrNv/Ipw4mxhXEC2hkPnv83 3cHkfzLeha5+U3QXaOUyqENFHhAscbvoudKezGHpGHZYS/Hf/0uPfobyqf9/1ytftgDy 8b9Z5Bb53LauYY0hlUaJKw19doFbCh3ljzRlelspPMd/HdO+UR6QkJyxkmu1Wgil16lF S6/EJMas+AMY9KvQX3UNzfkgsSRihtceww23bWejfdejK6yEc514eWnzZHmsnRVWIZiu oYcg== X-Gm-Message-State: AOJu0Yzks7leTLN9Rgb+mZVI7v1aizq7wdehuJL80EBPcFIH7YlK3evU PJT5wknDcqd5520eQV1r0Fv5Sg== X-Received: by 2002:a17:906:5299:b0:a00:8706:c82e with SMTP id c25-20020a170906529900b00a008706c82emr17109255ejm.18.1701356304549; Thu, 30 Nov 2023 06:58:24 -0800 (PST) Received: from [10.167.154.1] (178235187166.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.166]) by smtp.gmail.com with ESMTPSA id a5-20020a17090640c500b009e50ea0a05asm756753ejk.99.2023.11.30.06.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 06:58:24 -0800 (PST) From: Konrad Dybcio Subject: [PATCH 0/3] Add DDR sleep stats Date: Thu, 30 Nov 2023 15:58:20 +0100 Message-Id: <20231130-topic-ddr_sleep_stats-v1-0-5981c2e764b6@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAyjaGUC/x2NWwrCMBAAr1L220AeINGriJQ0We1CSMNuKkLp3 V38nIFhDhBkQoH7dADjh4S2puAuE+Q1tTcaKsrgrQ/OBWvG1imbUniWithnGWmIKbdrRI8+2hh A2yUJmoVTy6vWba9VZWd80fc/ezzP8wc8j49HfAAAAA== To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maulik Shah Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701356302; l=866; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=CddnBWy6kyIHBoyHL4aoTyt3leaSKLaRXMq2BFoXf1k=; b=6rfxbRnAT2Y6gq53GyYzJQEVXxFTA+vKb7IWHYcqQavUajPt17o0lboWaJOTSVtwfCK30AAaW bRviUlE1wXzCmv3V0qx9VZnR6FlIV5DOMZJSoNyYcrbqNIc2vQpceyx X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 06:58:48 -0800 (PST) RPMh LPM stats are quite extensive, but we can extract even more data by poking the AOSS QMP. This series adds DDR stats using this approach, setting it up on 8280 as an example. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (3): dt-bindings: soc: qcom: stats: Add QMP handle soc: qcom: stats: Add DDR sleep stats arm64: dts: qcom: sc8280xp: Add QMP handle to RPMh stats .../devicetree/bindings/soc/qcom/qcom-stats.yaml | 14 ++ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 1 + drivers/soc/qcom/qcom_stats.c | 186 ++++++++++++++++++++- 3 files changed, 200 insertions(+), 1 deletion(-) --- base-commit: 1f5c003694fab4b1ba6cbdcc417488b975c088d0 change-id: 20231130-topic-ddr_sleep_stats-d968e2e28083 Best regards, -- Konrad Dybcio