Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp364526rdb; Thu, 15 Feb 2024 02:32:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWt4W3qwMy2vOorflWzHUwiNvb53AuqBwEhmcPFoRq6Gd567WPvRWP5SYggtOWzbml7+2lFI2cpvFncGFd2eTgF+9yCnSGJKAziUifx6Q== X-Google-Smtp-Source: AGHT+IE75DBuhGjQbFtC59cmaE/eKEWi19fBm2rcIoz0pFbxXfKEZT11VIR5YPh5Gsp57igXqLkq X-Received: by 2002:a05:6358:1099:b0:176:a5f5:d266 with SMTP id j25-20020a056358109900b00176a5f5d266mr1745672rwi.6.1707993134943; Thu, 15 Feb 2024 02:32:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707993134; cv=pass; d=google.com; s=arc-20160816; b=dCAmNzFYNJt/dxDsnRcL0/gBTQWC2wkxXs5Xm9TMgsdhtmjIOHoNMYTSO0+plJ87Hi RNsAOv0ln0IHGDj1BKl1C78SdfHw1j1VH7S+ancNUn+XCpN5W6/KFfQDKuaLwyt8Ftn6 ZHfnwqnrodX4ZK6DxKLlbbN1ZSYJRjJDhFc96iU1ieKXlRYag8eoOsHhgljMAnqKRWpI QPsLP/fFDXZR6E0P8qJhwvdyEB7A7VhVUWwCTjuKObVMRl002DoHmvxeizaITr+xeC2T wiqNt5lB8exNyJ92oRmN+bqhmtfOb5Rytf6UP4Oj3JLXgQZO2V9OTuGgJmaZhERJpyxl D29Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=o4gzvQT6rinNU989ggUwoCCFsyBWu2VUPJ8AnDsaF3w=; fh=I1sG/xzbhq+te1knEuv+K/029iKaxt2tvNvlncnnrPE=; b=AaFz/0DPT7Q9tbTv1857mZVZ5EvqoHfMkl+Fy7zBlEiQ1PARfPHoj1MEwffSVtIWdu dqqrbYmSOYnv2tWbD7AKRexc+DtleuokmcaLMhsyfM2La5Tt50tZIKoa46/8Zc4Jd0ee nc33ETr8jZTJCflvr6yxu39djpiAXpvu1ERFg/JCp81qJifZI2qghWpQiXAxKxsSlors 7tHEvmx2OSZB6PxOxSgCx265gWjVIfJ1hH0r0ihs3dAyo9fd5RLy0HATF6ItAe+c9Bpg GuXnuweX6r+ZENUWD06ZPC5WgIVs7j05bVrsBnlaBDbr5SkA/RgTzgg9TpZ2hMCos4RY MrEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HJgc2Tbx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s186-20020a635ec3000000b005ced6c45233si888596pgb.712.2024.02.15.02.32.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 02:32:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HJgc2Tbx; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66578-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66578-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E93E0B22771 for ; Thu, 15 Feb 2024 09:54:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CCBDD6351D; Thu, 15 Feb 2024 09:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HJgc2Tbx" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 109195914D for ; Thu, 15 Feb 2024 09:54:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707990858; cv=none; b=hn1iJeoXr9M1Qoqa1Pv7cWNsEklMfE4uLeL0r0lIJONg5Va3IjJQ/VYCnb4Okn5pJUbhx8L5XtJwtrGWhVSUYXJvYPHTYw+o9LwpMBhsETB7DLXekhqyThFIVUNp6WE7GoP63sDpZOZkSq5QVDjEDJVA2/j263vNnQkDRYtFSng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707990858; c=relaxed/simple; bh=RDermMOwjU0hSEbzDyhZXl/PV9/3fOBTVHLpiPyZcZQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=b/oyNqDMx9F04P2HOGCKoKZKhVDdly50UHp39lCRPmyd0SGK2YHC5ULSVlPbMyeMKOKUNXJatknkj4GlfDwtTMXq6jSUgC3mc9IhIePa3U2serlUCg1q74NzPQKaQgX/Jtopiajju+b/gLMYy86Vly8G2PEZ1bT4iWjg4got0o0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HJgc2Tbx; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a3d6d160529so79472066b.0 for ; Thu, 15 Feb 2024 01:54:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707990855; x=1708595655; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=o4gzvQT6rinNU989ggUwoCCFsyBWu2VUPJ8AnDsaF3w=; b=HJgc2TbxoJT9tlWepi1O1TEgrKH6/o23k8zZtLqACE7WPVGn9bIGaDcRF/a5OQQB1G Zah/9MeFDJ28lJfs+ajdMeX0SCj73ww71FBe+XD9yJlY8v3MRw2ZL7s1DB+mXw0jX9JJ fkSJ59+EUszl3s/QA+Qr2tgUaLGpP4EPdg8w0kPTMlMfWDkCbR/JjlETX93T6Ajc29yk 1TZWs2UUw/IbvdwPMdyde4fMomDFknJUER/p8P+LxH6jqvpOGR8YIcTQlUlBwrkq1mk9 +/p5OVYwzzNhbGcYdpVIF2GThemHeoAtUU+vB959iuhkL3SkXldci7BWQJL2Xr/zDCNY AYzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707990855; x=1708595655; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=o4gzvQT6rinNU989ggUwoCCFsyBWu2VUPJ8AnDsaF3w=; b=qwrIY9zoHQDjS/VNr74EDb9h5Xxdj+EeqkPI6HN/3Fv+5V7Mc6FLAjfj6cKAuYXw9H nvxQrlh7jZ/iv3RV0NbxN/WS+p3Zdwh9I7avjZRRFviZo4CvtLvcSWd77w+amv4ghRFl OlvoBCIIvol3hPGvdg8bK9I6EiyyDw5iRtZohhNQ2ZP3ugQ2E6ye1fbfCWjQrSKvoa3p 3stgJbDVwFWxORps66W52+fODyfQ8PQB7AWcR1ZI4kyNH71YsncZGNdVrSzNUNl3bLBQ vRANz8reA728Yz4FEgkVDu6wtO2H2x5Eyxj+NZsCHtFv9a6BoznbxHQw7A+AkNijP4IQ ljlw== X-Forwarded-Encrypted: i=1; AJvYcCXca+wuOfSyOVIyH5nWn1rrz4nd2z8Wjw8RLdmWV3ZzouIRmjvNq8f0Ejrf4I0ia5kb+SBvmYp6RC9v3sZO5qXZjSM9Q9io72AFOeTx X-Gm-Message-State: AOJu0Yxg114SCmypLF6RaKptqSOWe+jeAO5eldZwnEjCEIaBQORvA1vc uzBd45T7z//4jaUjMh2bTnQx1Er0RwzRw5d31CAf6dK4UuU1zqWzIpWnNgqJZOs= X-Received: by 2002:a17:906:c8ce:b0:a3d:1df3:4a55 with SMTP id gc14-20020a170906c8ce00b00a3d1df34a55mr913748ejb.9.1707990855344; Thu, 15 Feb 2024 01:54:15 -0800 (PST) Received: from [192.168.192.135] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id vu2-20020a170907a64200b00a3d9df811b6sm260997ejc.87.2024.02.15.01.54.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Feb 2024 01:54:14 -0800 (PST) Message-ID: <6ffa3094-ccbb-4947-9f28-e1437c9f500c@linaro.org> Date: Thu, 15 Feb 2024 10:54:13 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] soc: qcom: qcom_stats: Add DSPs and apss subsystem stats To: Maulik Shah , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240215-qcom_stats-v1-1-4a2cf83d0bdd@quicinc.com> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQ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AjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240215-qcom_stats-v1-1-4a2cf83d0bdd@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 15.02.2024 10:23, Maulik Shah wrote: > Add SMEM items for compute, general purpose DSPs and application processor > subsystem stats. > > Signed-off-by: Maulik Shah > --- > drivers/soc/qcom/qcom_stats.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/soc/qcom/qcom_stats.c b/drivers/soc/qcom/qcom_stats.c > index 0216fc24f2ca..c429d5154aae 100644 > --- a/drivers/soc/qcom/qcom_stats.c > +++ b/drivers/soc/qcom/qcom_stats.c > @@ -35,11 +35,15 @@ static const struct subsystem_data subsystems[] = { > { "wpss", 605, 13 }, > { "adsp", 606, 2 }, > { "cdsp", 607, 5 }, > + { "cdsp1", 607, 12 }, > + { "gpdsp0", 607, 17 }, > + { "gpdsp1", 607, 18 }, > { "slpi", 608, 3 }, > { "gpu", 609, 0 }, > { "display", 610, 0 }, > { "adsp_island", 613, 2 }, > { "slpi_island", 613, 3 }, > + { "apss", 631, QCOM_SMEM_HOST_ANY }, Reviewed-by: Konrad Dybcio Although, giving it a spin on 8280, it's not there.. It is there on 8450, but the reported count seems to coincide with cpuidle.. roughly min{/sys/bus/cpu/devices/cpu*/cpuidle/state0/usage). Konrad