From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795023130; b=N/EHI5Dz6DuP0HUlnMXEZLVKoIkHxKJIpu2nWoRTSqQzg4AqzsVmhKhokaglW3qgM/hH eyJhwMlgPMr1qt4g7LcZb8xLkowuVm9flbadxzKNXA0VySX8zVrhM68/26Vl8jg2ZjCrf 6VpYYt+WKN5eI9TvDUaKixmAIySHBDw7jkhUHe1WaUv5KUOKMs6i76Yryxo/LmQsvkIXG fsFym6PikavwUZpkjvfMK5FSkBJSjYPa6e9bCBS6SJ6HhZNcVu0UiBMDkKuZssBJB14zt LVKyGbfnrs111rGwsXTrKMgRvlGvNMXTNgxof5weC2yAW3Vi8nGDNxSfK57BQaI3ukw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795023130; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Date:From: To:Cc:Subject:Message-ID:In-Reply-To:References:Organization:X-Mailer: MIME-Version:Content-Type:Content-Transfer-Encoding: X-Proofpoint-ORIG-GUID:X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-GUID:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=sIHU3OVQcJmZgw72w0jml0JK+bFdjHCcLJtdZKnwGXA=; b=0HYazfkphOhL8Qts6+kVBF8j+lA7ZLqip2hqZBlxWxqAMT+7UlV0nbnu8EEHnN3CZn3O dx5SmTVqGSugNGr4pHD4uI36s1xsp8xRk0I3XrLuC71xVN4gB27z2v+pSRatWMNxUhEqE G3tTX7wJ+WHONAmaM2H2axenPASRV8JO/vPHWq2h0eTgn+U+BKElqcgVha45VwEFZjk3n sfKbqHhB3tkgouWwFDcF0+syupBuywFjmjbdR9dfhJgwQeR2eoAm+oRi+9NdwD9oiawxc lyXUgT2PPFVKrJXQZ/qtNkSWr5hRpcX+pgnlZg/PLNCiHlT1vIsqxCErNtg5J5WnZ5A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=pFkwc1Iy; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=DYmHiRSY; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEF2F606A743 for ; Wed, 18 Nov 2026 17:32:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AEF2F606A743 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=pFkwc1Iy; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=DYmHiRSY Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AIHGH5R401776 for ; Wed, 18 Nov 2026 17:32:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= sIHU3OVQcJmZgw72w0jml0JK+bFdjHCcLJtdZKnwGXA=; b=pFkwc1Iyuzm6QtDB jpsJ240F2OsnqEDyuEM9eL3utOmm39sagvXqEk1Sui825XGU+BgTf1jsT4Y7HC+K USyfrnC+eNY7LltVz+nv00s5wEZXbWjT2SmSF+TAEMe+cClCjyR1Jnl1q7OZnPZc kghsxF/P/OH3kEMGdkapkioydXTlexe4fLYVy+xli5AwkPdTLhdcKUXKOPpLT9zJ xet04GqFXxPV6kHKKudVoccNsnXfRXGcCsD1Qgna+TdHOU3WczSnxzjz5H9jQozY P/T+GbLcRBg+RbhjISf2YB45doJUOSzNg9Ud7jKvNdEgPCMoBTi1lemTxk2KpLjW 7CVkQw== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j1e5qrr2n-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 18 Nov 2026 17:32:08 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-375f0fd31f4so1599510eec.0 for ; Wed, 18 Nov 2026 09:32:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1795023128; x=1795627928; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:organization :references:in-reply-to:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to:content-type; bh=sIHU3OVQcJmZgw72w0jml0JK+bFdjHCcLJtdZKnwGXA=; b=DYmHiRSYvGa2j/22qQPBU9+R5TD5sWvJIIIVr5F+SB5O4QEgrasJwlNCufAQNX5UYm Di9n8427xArfRH5XDC/JwjgYuubvauN4/JOdcEN5yu8+V/ohV1EPiXx1PKCzgPbUcPy6 /qsRsrMqntNskxqVbz4r0pXp2KhDmtOZ9spCNhJCRYtlKjiyoNg+7MIRBdT4bCTyHABH 5PQixdrsoziVV+5/hSbwOsGg1kqqHF04UA2mzVSCI8InkAANxJRvab5tciu/mA1rWEjB NoVVRBzV+JfDE0PbC/y/TcHFpT9B4CbZuv9BYQLH42rDnlSpn+gM/yv/gKc4GldeC2g6 KyzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795023128; x=1795627928; h=content-transfer-encoding:content-type:mime-version:organization :references:in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=sIHU3OVQcJmZgw72w0jml0JK+bFdjHCcLJtdZKnwGXA=; b=CKtSruHj+Cqpy0mFLVVAKBkwKUFr+7pSj50yVgqhrvoi1mAI3zW+5LqAHpFkjSd7fe b1CeINcfZdUEt6F4F7WBE/Cvt/2cF6E4g/Y/dEOqf7bydWUpJjB1BTlUaYi+92ai/Zvz 0Oty4W/1Q5LbArzWmPBJjRc25tbL0I/P4nJUqJX5e4gBddXOOeY3VyGEGzhcAE3uzfgc TnVvjGgDR0xeC9+Gg3wHI0Ad7NnJ7mEAkbFkHpvXPPJ9/lMmWiIcrljmcYqGWcAvWcG1 6ploqeypQnO4L4U/P5vwilNNBnF1iTjO8F3JjdaipiEVVr83X13LD8zlHk/NejBDJfIs D3jQ== X-Forwarded-Encrypted: i=1; AL+hErESGk+UFgPWYoiSk1td9kAG5MVkt3ftTwFyiuxTZVbXFAKY0urozLDYBUcrNlMIjCza5bZ+Tk9lzQ==@vger.kernel.org X-Gm-Message-State: APuU4Z/NrSiCw+wxRdW0yGBJdFwWtvsEHDGbaticSIhncFbxrO2KNoAM Mz9tAvBSOcM0qkyalkNghGmM24jvdnGnYsmKP+jGcZlUhbUbhcM6V4ltmmuhfp34obl5YfH6K8V N1QmuI6iyVb5AkGzyFObUjjEvzfMrqvXhkuIz+a5z5dD0dpA772Irac6ZVeNwvg== X-Gm-Gg: AZFdTZcLmPK3GaFoQ/aJaPdYWoue91kvWwAKq9Og60jStK3fGYdXO4LyJGpnLKxPT8k ltyS2/tbCHF8picVmVxA8VH57CIUOMXlZejjGR/LfuQK6ba8tFy3ZSgsg1dMdJNzs7dacTipPBC XYfbXmWT5Zl6ORp8+vshSOIhyuS99t/9SqT9bQExB/zPF5g9As30BFKgUcrGz6mpP/8rh5R/dgB T1cXAb3nDcOP1XqRRrFKsdEeUwv1pYtmBNXbW8UemOZzgrLEOQKbUrjJMV6r0P1Ir8IvF7Q++9t Hm91FeHKch4s49S4LHQtoIveYS2/5gwoFmu38JTQKzN5SO6CSdS2kLbZ87De8TahCSrPsg7+FBv sWV/jZnLCx/QGWfIx8LCKhahLNTr5Ba0dMhsQ+sfOG1YZ8mcktIfJ1qtuhkexePS2ZlNxiW5FPv 4SETo8qG1nxvq6gfRmg1ylAjrROoCj X-Received: by 2002:a05:7300:d210:b0:380:f8fd:d19c with SMTP id 5a478bee46e88-3828181369cmr3425941eec.35.1795023128087; Wed, 18 Nov 2026 09:32:08 -0800 (PST) X-Received: by 2002:a05:7300:d210:b0:380:f8fd:d19c with SMTP id 5a478bee46e88-3828181369cmr3425903eec.35.1795023127474; Wed, 18 Nov 2026 09:32:07 -0800 (PST) Received: from localhost (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-382a63059e3sm13849129eec.5.2026.11.18.09.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2026 09:32:07 -0800 (PST) Date: Wed, 18 Nov 2026 09:32:03 -0800 From: Jonathan Cameron To: Sudeep Holla Cc: Cristian Marussi , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm-scmi@vger.kernel.org, linux-doc@vger.kernel.org, james.quinlan@broadcom.com, f.fainelli@gmail.com, vincent.guittot@linaro.org, etienne.carriere@st.com, peng.fan@oss.nxp.com, michal.simek@amd.com, d-gole@ti.com, elif.topuz@arm.com, lukasz.luba@arm.com, philip.radford@arm.com, david@kernel.org, souvik.chakravarty@arm.com, leitao@kernel.org, kas@kernel.org, puranjay@kernel.org, usama.arif@linux.dev, kernel-team@meta.com Subject: Re: [PATCH v15 00/35] Introduce SCMI Telemetry support Message-ID: <20261118093203.000069f1@oss.qualcomm.com> In-Reply-To: <20261118-poetic-robust-raptor-bcff2b@sudeepholla> References: <20261109091221.2532706-1-cristian.marussi@arm.com> <20261117170709.00002088@oss.qualcomm.com> <20261118-poetic-robust-raptor-bcff2b@sudeepholla> Organization: Qualcomm X-Mailer: Claws Mail 4.4.0 (GTK 3.24.51; x86_64-w64-mingw32) X-Mailing-List: arm-scmi@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: moEy3aO8EVkAS2M8ipZz-i_AZnSvyUJs X-Authority-Analysis: v=2.4 cv=c5Q+0h9l c=1 sm=1 tr=0 ts=6afde118 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=VwQbUJbxAAAA:8 a=7CQSdrXTAAAA:8 a=ZJvAkwxlLmQLexqbkCwA:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 a=a-qgeE7W1pNrGK8U0ZQC:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTE4MDA2OSBTYWx0ZWRfX/WyPbJEdd5VP Pd2eoAkeSB6iaLTvML7bEtDtqpacWg9zoGo88YoG9f0cw4WIOGW8Sd6i/SFjsN89wsneygmmQ+1 BYeSxsYJf89y3s1+vhe/p0Aj5vSKbCE= X-Proofpoint-GUID: moEy3aO8EVkAS2M8ipZz-i_AZnSvyUJs X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTE4MDA2OSBTYWx0ZWRfX6scMEyuKTolk sx+saKPs29AI4ZniVNegulWyOnLC/TKot0k3UaGQjK1Nt6eQg9a0YS1H4tzaVwf2gEulnDn+I+a 5mPkS0WP7u8cxGTKzXN8IasYXaY9FYiijyqW9UAFDg/DWMu1OjD52HFRJuLlNgSvWyrCytH7QUw b5ASVqQnWcIpcdardDDdyA7tH2U9vWyAan1mkj5S0J2Z4eQUwOAdPdvG85tph6LLB6Z+aJ2P8ud RE+kp8MpZVmlQFT6x21+4d0soDgqO6XCVeun1qYAi4Mo+UMN8oCvDox/u3n0hc7Y4kKWgIwvSds BWVBJ/mrpmbO5FYlJlm5L6aFaPkWD8NeCeCeBRj6ZPlrCwQQN7TpkK1wyGuyWW5quYSpvOUGua7 Gjp22htfvh0n7iB5MnCCSdomlZtGBnKBSqTPogTiVbiM6l84ixr9BXJjutd35rlSDkMIjQY8T3G hSMhfhnxtjSBJK9G/Tw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-18_05,2026-11-16_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 bulkscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 priorityscore=1501 malwarescore=0 spamscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611180069 On Wed, 18 Nov 2026 09:33:44 +0000 Sudeep Holla wrote: > On Tue, Nov 17, 2026 at 05:07:09PM -0800, Jonathan Cameron wrote: > > On Mon, 9 Nov 2026 09:11:46 +0000 > > Cristian Marussi wrote: > > =20 > > > Hi all, > > >=20 > > > [TLDR Summary] > > > [V15 highlights] > > > - general cleanup and hardening driven by reviews > > > - improved TDCF access routines to minimize lost samples under load > > > - completed ABI docs > > >=20 > > > [V16 TODO] > > > - address any remaining V15 outstanding Sashiko/reviewers issues > > >=20 > > > The upcoming SCMI v4.0 specification [0] introduces a new SCMI protoc= ol > > > dedicated to System Telemetry. =20 > >=20 > > This is one from the family of issues you find when reviewing ones own > > (well LLM generated) emulation, realizing it doesn't match the spec, > > and yet works. > >=20 > > This works fine without the required SCMI protocol property in ACPI. > > 2.2.2 of ACPI for System Control and Management Interface 1.0 > > Platform Design Document. 111115A 1.0 > >=20 > > Now, in here is an informative statement... > >=20 > > Protocols not listed using a property may not be enumerate by the opera= ting system. > >=20 > > But they are...=20 > > =20 >=20 > Correct, I intentionally left that out. I do have a patch that restricts = it > strictly to the listed property. However, I held off on pushing it becaus= e of > an issue we saw on an internal test platform. >=20 > On that platform, the firmware advertised the protocol to the OSPM via the > base protocol, even though it wasn't functional at all. Once they realized > this, they simply dropped the entry from the ACPI SCMI device as a workar= ound > instead of properly fixing the base protocol discovery. While understanda= ble, > relying on that workaround delays proper firmware fixes. >=20 > That is why I went with the non-mandatory "may not be" wording. I am happ= y to > merge that restriction patch if a real production platform actually needs= it, > but until then, leaving it open helps catch and fix broken firmware > implementations =F0=9F=98=84. You can't merge it safely as at a later date because chances are high someone is relying on the current behavior and not presenting that (currently pointless) package in ACPI for some protocol or other. I'm fine with a permanent decision not to check this but I don't see it as a thing that can ever change (except maybe now whilst there are not that many platforms out there using it!) Jonathan >=20 > > So, obviously we can ignore informative spec lines but that is a pretty= strong > > sentence. I can't immediately think of what would go wrong if we ignore= d it > > - maybe we'd not pick an exclusive PCC and fallback to a common one the= firmware > > doesn't want us to use? But if it doesn't want us to use it why make T= elemetry > > discoverable on it. > > =20 >=20 > Indeed, falling back to the common channel lets us uncover any underlying > issues in the firmware implementation. That is the exact scenario we hit = on > the test platform, which convinced me to hold back the patch. >=20 > > Should that be wired through from the ACPI parsing code? > > =20 >=20 >=20 > As mentioned, we certainly can, though I'm not sure we should. The "may n= ot > be" phrasing simply leaves the choice up to the OSPM rather than mandatin= g a > strict restriction. >=20 > > Anyhow, not something I care that much about but thought I'd call it out > > as an oddity. > > =20 >=20 > Thanks and well spotted. Much appreciated as it brought the information o= ut > which otherwise would have just got lost. >=20