ChanServ changed the topic of #linux-msm to:
hexdump0815 has joined #linux-msm
hexdump01 has quit [Ping timeout: 480 seconds]
marvin24_ has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
kathirav has joined #linux-msm
zstas has joined #linux-msm
__lore__ is now known as _lore_
danylo1 has joined #linux-msm
zstas has quit [Ping timeout: 480 seconds]
<z3ntu> Hi, in the qcom_stats driver I noticed that querying apss leads to a warning from smem.c because WARN_ON(item >= __smem->item_count) All the other files query without problem, some return data, some do not
<z3ntu> that's on sm6350, similar generation as sm8250
<z3ntu> While I don't really understand how the smem stuff works, from Linux side I don't see an API to check beforehand if a given item could be accessible qcom_smem_get or will be higher than the item count, there's no API to get the item_count from smem into qcom_stats to not query it in the first place. Maybe just the WARN_ON should be removed in smem?
kcxt has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
kcxt has joined #linux-msm
kcxt is now known as kcxt_
kcxt_ is now known as kcxt
<konradybcio> z3ntu is it also empty/invalid downstream?
<konradybcio> is it also empty if you let the phone sleep in android?
<z3ntu> konradybcio: The equivalent downstream seems to be /sys/power/system_sleep/stats ? I only get aosd, cxsd and ddr there
<konradybcio> we may want to turn that WARN_ON into a return -ERANGE then..
<z3ntu> ah there's also /sys/power/rpmh_stats/master_stats , that has data for APSS, MPSS, ADSP, ADSP_ISLAND and CDSP. And yes, for APSS it shows data
<z3ntu> APSS
<z3ntu> Version:0x1
<z3ntu>  Sleep Count:0x4fc
<z3ntu> Sleep Last Entered At:0x1002800f9
<z3ntu> 
<z3ntu>  Sleep Last Exited At:0x1002f1e36
<z3ntu> Sleep Accumulated Duration:0x2ebb6e00
<z3ntu> 
<z3ntu> but looks like the APSS stuff is just collected by a Linux driver, not read from anywhere special
pespin has joined #linux-msm
zstas has joined #linux-msm
zstas has quit [Ping timeout: 480 seconds]
jacobk has joined #linux-msm
pespin has quit []
TangTang[m] has joined #linux-msm