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=1796307784; b=MlBYIzstoYXAX8eIZXlbdoebpjgjZ4o+XPzCREp63nV6JvgQt6vgydC7BBax1Crfv+LJ ZeksSjm60vyz9fsEX/f240hfAvr/l1zuPe9aZGMxTGMIE3PO3AENfjNz8Bon6vztc8P6A g13PVrYFP09JFPrs84qI8qNstz3/6fgrwGnDHB77+noN5irthzB/jpmJtd9pn3AoizMW8 Ymr6FtQlwM3neUIIBz1g3iIEe/k9nwU3Ft+Js277+H9z1Nbw1LIUkhZfr9H08qOgDtEfK k57pSjESyYzc7IFdUe12RtocHdLEwZsqKkCQ2VG3Hw5Sko8vDnxVo9lCFqwwk8kjFnA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796307784; 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:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Spam-Info: X-Proofpoint-GUID:X-Proofpoint-ORIG-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=AiInUK98euHI0juliact/vqV0wSScH6EncKITjP2QgY=; b=Vtm+gNQvzjJzkobqUVVZ+Sh+zZPiOVtcAuBi2IVOHKJPF7cmTIakXxmVa2pxKzXxLXfp Se7Q2BdCRX5G50yYacXjKXVMPw5/fj0+5ZVQXxY9ZvgGkfSwKnJbOEGy1xbK4vYUXF3uY BtIvGtcrl/tcfiMlBcB/jqYY3Y4zwKDKoWHf5XDNObsvOUpVU7pqxWmxZM0ZK7+Ypg1Z9 fiacvOhL7MMvBXU2xId8GCe4Ok9rXO+SugGp7q2nqXTvFcfpSdFjJ5oJZRlpje/2eOLZs TlujpfNwi7wdo2K9Ff/rpdbGm1D8NT88vDTADHKa2gG71sCCNCbvdXfllRTYLbByU2Q== 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=coXzPp8f; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=UDT2rT69; 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 A1720606A688 for ; Thu, 3 Dec 2026 14:23:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A1720606A688 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=coXzPp8f; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=UDT2rT69 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B3EBMHm3610236 for ; Thu, 3 Dec 2026 14:23:03 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= AiInUK98euHI0juliact/vqV0wSScH6EncKITjP2QgY=; b=coXzPp8fnhhV/vHa diDSAWh1qPD90PsCGdbqACSz4KC7zXQc/lCnnBfQeRva60SN6A5r21dD5LaNXUbT yR/dvBBDOtKN4W3ZDwL0bv3qRj5GQdi1YdI+/alBEieQSzGe/APsY470sT6IkmH3 vbt2mgm5O0jP80zBBqV/QKBmFucxQWMkySrInReUvqPoQcFvEWjxwJmMGgwg8X/z ewtLsfyNNgrvaKDHoo2Wvq5Wnt1a0aLD2jci2bnhQcRp1Gzl22KR7UJXwQxtyboX lSyWqpUdf9O4+Hh78zpwlo8L59gtLZvDXaV2jAL6Ml/Xejey+XPJxmTC4pQnLQdF vlewlw== Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jb3g41vqm-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 03 Dec 2026 14:23:02 +0000 (GMT) Received: by mail-vk1-f198.google.com with SMTP id 71dfb90a1353d-5c97957d83bso586157e0c.0 for ; Thu, 03 Dec 2026 06:23:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796307782; x=1796912582; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=AiInUK98euHI0juliact/vqV0wSScH6EncKITjP2QgY=; b=UDT2rT69KnZ5wNMMwSlb4ra5ovB+Y83gdUrYUiLB7swZToi8dPeY7WXluIe6wSAtYJ YdzyhVkAPeuKYVWum961Yk4jJ52ZtZaYClP6DxiGw6lx9W3sb0IutvUxpRLI4kI8hI17 6owjFaCVF2sNX22swXaFf7hK+JW0W55gD5V0uoNhGqH+B0o3t0Fr6FjDa1vdpEtBb7Bo DnnMdN9PW+P3FbY7dzLjFqaR/iFizPGKS7x7CbCboJ/f/zZ2ItlPN6NleNC5M12Gdpw/ Z4qz011MMi1X0GAIdjHuMhI0GEV9v04FnCwTa4yIsCyCa+/vWPHsAlBv0CjIoegcNBTM CPgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796307782; x=1796912582; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=AiInUK98euHI0juliact/vqV0wSScH6EncKITjP2QgY=; b=qwouQWW8s6UX/v9P9e5swtAglvhRHjDa6++S654MBYUz7DJkpfSFj0a+nrYGcZAlLI VZnsXq+THDOitlvYSCIaaHFUeHebdqnRfdwTyStGqPq0u84uO5NIbrxQbtLdO7I0JVom A3uA/2yBvpuHVOU7uMFp6frPqzxT3c3U9yFn+Xz6gP/UfronHWuKu9sfN4+/DxLW2vgD NjFAFrxyg/KG9zcyKSWExZ5M0R8YJIZDcUPPISsAQ5Nt+qvvM6CZVMuTEnSBPhIZwuN1 e/BfV9+TmSBbkdK2VKHUYDcb5Ca/6T9Is0Fl2LMDU7MFvZcA/hlJ2FUGkuLi4Ty8Tr2X 0mNw== X-Forwarded-Encrypted: i=1; AL+hErH3fNZhj61hatde20NEg46HoJt6WnJquEuEZT++fGocTBacJzmgAGsEeG+5h4eidJz42tAax1sYLNpICu8=@vger.kernel.org X-Gm-Message-State: APuU4Z97y1/oc7YXkneqBaBSkO+PXiOHrKxoQNN/RRX/Hv2e5jTSna+X 6C07DJN8ADDAhfkZSfoeYV3ph57fmQevNzRnwx215wY9tZbn2arcTAJEYt17dzMd5QtQpMlcZGU NZTUqG5QxFKE8zY+GxcXLOyJEhGA93m3n62X8D8ZOD6DHHPQocAeuag5K1UV54JAZ5E8= X-Gm-Gg: AZFdTZdYcuxq4yuk7oO+OjbAtndzvdFUPeIJ2t77TK8ry4p3/cXw+S1DzH+0HroAunU w0A9N6Yy02DoeD+5QwkNqTm373TUPZ4Hbn1FmNek4fFlt6CuNBPAFm/g0hXwwR9rQ1vXsAmZqz5 LRgXKo/J6HRqULf5U3BdwxF/foFgmM061y2vIZo3WSaxijNmwKhabzx5d4rChqnjSO3ejQzlAC1 JLW78JHJrlhvHNZuIU9FQXGc6N9OqlJBjMpYqKVojN+HggCkk2/q/c3iYpOE5BKOHfThq/WCwpB wPYeKeJnn2fmqUDT0Hw1UFXsFKzbC2DdEsBrYTkDW69BTsAxEMa6b+kYRKjJD0YQ2HE8WobaZoP gWquDlekKi551v1VZEquCicYRaOS4DtxW9Mr+2IHcsqX/uhy9am3cKrpM3SJvFfPrjjBuCQ== X-Received: by 2002:a05:6122:5313:b0:5ce:bde0:9b53 with SMTP id 71dfb90a1353d-5f00f8d30eemr1460515e0c.3.1796307781914; Thu, 03 Dec 2026 06:23:01 -0800 (PST) X-Received: by 2002:a05:6122:5313:b0:5ce:bde0:9b53 with SMTP id 71dfb90a1353d-5f00f8d30eemr1460451e0c.3.1796307781427; Thu, 03 Dec 2026 06:23:01 -0800 (PST) Received: from [192.168.226.72] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c51beef9395sm814319966b.17.2026.12.03.06.22.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2026 06:23:00 -0800 (PST) Message-ID: <61e1da81-beee-46ad-a022-c7be3b47fd13@oss.qualcomm.com> Date: Thu, 3 Dec 2026 15:22:58 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: glymur: use polling mode for SCMI transfers To: Jesse Casco , Sibi Sankar Cc: Bjorn Andersson , Jassi Brar , Sudeep Holla , Cristian Marussi , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260808172211.137577-1-jesse.casco@gmail.com> <642652c2-af5d-446c-ac1a-8099639c2588@oss.qualcomm.com> <20261110200511.71673-1-jesse.casco@gmail.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20261110200511.71673-1-jesse.casco@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=OaENnRTY c=1 sm=1 tr=0 ts=6b117b46 cx=c_pps a=1Os3MKEOqt8YzSjcPV0cFA==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=atFH2o6gbl13hqFjhR0A:9 a=QEXdDO2ut3YA:10 a=hhpmQAJR8DioWGSBphRh:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAzMDA1NyBTYWx0ZWRfX+RA6+mx1mDoL 8gZwLCmuXeYkscbHaJUaDf/h4mtz5Eq9pGF2yiatS5dhRgo8pEXPihZFcVJHZPKZsWwAZUyqL/N AnCBbPkbP9sXGmNy2PYMzR8xHcoLhJ57OyClANFqCcQIphz7pQMGm9Yqs3Qsx/vo9mSFXvDTupd pHyVzEm1ZMCFt0dotpqcBSVZLuZol3MTa9RFukuc1zrw1aHj0i1nr2nCAiTwkNhrxPZMj2MWVF5 pCtok8qTOqdcZNPHOpc0ZsprcxxxYjFUQN52VQGTplReKzfvSLbHMc6WT6STU9QxND5bPO6Ry96 Nz2MftKLK8xnhs5UOr8XcQMy3G5Ty+Bo5MvXW/0nbwSNlAgu3QkfH+7dZdWOl7Y35vXfVaM6B6L Oyd5eHQCZNKFne6c3Udg7PPp5d3o+Li7bsFpVrJejjnkK/GuXbUrhPGh3/vn3uTc1rPW9yr7pkh DjdOXmGyNeViPIWTmaQ== X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAzMDA1NyBTYWx0ZWRfX+MH5L7YSavOQ yVD4jz4zoAH00eRrnOx/68wmmf0en/CjJYebFCpGxSNE6XwVFbMm4RmVJ01ScTqAT7Vpe8gmIYb FFFY9avz+Th5rds10bao1427PUFP/28= X-Proofpoint-GUID: lA70nG8aOLyykIoTqHhILCceuZlJYiWF X-Proofpoint-ORIG-GUID: lA70nG8aOLyykIoTqHhILCceuZlJYiWF 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-12-03_03,2026-12-03_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 spamscore=0 priorityscore=1501 impostorscore=0 adultscore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612030057 On 11/10/26 9:05 PM, Jesse Casco wrote: > Hi Konrad, Sibi, > > I tracked down the timing issue on the ASUS Zenbook A16 (7.4-rc1 based, > arm,no-completion-irq removed). It depends on whether PSCI cpuidle is > already running when SCMI sends its first PERF (0x13) message: > > - CPUCP_MBOX=y: first PERF message at 0.37 s, before cpuidle starts. > PERF works for the whole boot, cpuidle included. > - CPUCP_MBOX=m (arm64 defconfig): first PERF message at 1.1-1.4 s, > after cpuidle starts. No PERF reply ever gets a doorbell, so > scmi-cpufreq and scmi-perf-domain fail with -110. BASE replies still > ring. > - CPUCP_MBOX=m with cpuidle.off=1: PERF works. > > In the failing case the firmware still writes the PERF replies (the > same request through SCMI RAW message_poll returns status 0), but > RX_MBOX_STAT never gets a bit, with EN=0x3 and MAP=~0, the same as in > the working case. So it looks like the CPUCP decides at the first PERF > exchange whether to ring for PERF, rather than a mailbox driver bug. > > Please consider the DT patch withdrawn. Sibi, is this a known CPUCP > firmware behavior? In the meantime I could send an arm64 defconfig > change building QCOM_CPUCP_MBOX in, so defconfig kernels get cpufreq on > this machine, if that's acceptable. I think we should do that with the commit message sufficiently documenting the reason Konrad