lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 15 Feb 2024 10:54:13 +0100
From: Konrad Dybcio <konrad.dybcio@...aro.org>
To: Maulik Shah <quic_mkshah@...cinc.com>,
 Bjorn Andersson <andersson@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] soc: qcom: qcom_stats: Add DSPs and apss subsystem stats

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 <quic_mkshah@...cinc.com>
> ---
>  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 <konrad.dybcio@...aro.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ