From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE8F03B42E4 for ; Wed, 24 Jun 2026 13:49:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782308947; cv=none; b=mg43SIuk7JkCv+T6FhyJGK4vIl0yP+nAgk6iCkPKuKzJFYOwgf47E2TdRzByJMkmkiRLpZkY+IP4dKtqNA6sR1ObBj7Z4qCVeE/bxDLfYNXtIf7Ro7/EEFZRvp3LlOwnzuBhLLGzGo46BRbjedoFJbUWjsJTVCyEEqOvypTM9Ao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782308947; c=relaxed/simple; bh=lbOJr8vNF4o5eQxkVi7i/+7YOpdaLnzLqUqUbwV3fSg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rA7mUFlLqf3CLQPo4npa6EKAkedYbG4Z3dvmgRNc/olausvZkV4VdVJi0GaSFKT6rzAxpO8f4BS57mMj5E9JO3+vBt6VYwMHaE2IMuu0daZQE0koTxmo7O1cEqsSPwu8ri5HfSwMtyqApBP6tcIhIswTO54Ku7y4Ye8O5dCY4KQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=Q2+ubZB5; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=A43+KDA3; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="Q2+ubZB5"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="A43+KDA3" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65OANlhi2586221 for ; Wed, 24 Jun 2026 13:49:05 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= rmq91jkGvneoxWerkaeuBOohJIvM59ypbHsXw116sQI=; b=Q2+ubZB5zLNJ3dOv VXFh9X/7hoSGO1l1JdBxrUF/gifl7W6QphUEhXUr8DjvdHJz7ZqGzRspN7NsXxld j69LW9pb+XnacD+uchFMTsB6McekZ3ULqM8sbrG9kjKlMvbgdjAI+iEj7ay5I0la Mq0d8QG7QXSTjM+MlbuLTl5jOJTVDZ1Jp75zUF3aGf2dqUwbpta7XWY//ii12VGk E78v28XA19CmSpUNaT4ciJF1e17SrO3go3+q5iftE8n6z5wo3MkZFwKiRljlRhB2 RhHVrt/VQbekpQrULtDSGOZflqCqUzg9AN2B2ffx2EmWO+QSftX71erse3iVguOo LQ0tbQ== Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f05aqag2q-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 24 Jun 2026 13:49:05 +0000 (GMT) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-8453031c57cso1705016b3a.0 for ; Wed, 24 Jun 2026 06:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782308945; x=1782913745; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=rmq91jkGvneoxWerkaeuBOohJIvM59ypbHsXw116sQI=; b=A43+KDA3iFydFtmphn7ZIUBR/tVKzgp3wY/7PYvD+wAVCNCmUdeMSOYz6kEN6bEX2u tUszKMATQx07jF6+OGj40P0ANc9KXlSLT8yFYavUB4EdSVVUJjDL3QSDsZPZPnbEqQod yNZG6agPNrIqY0jzBdKzgQN+hccW6m874Jtvr3zeRZQH/bBDA/kcGZ29S443/drc1Dde yZU3scLjEV4lZqV7ObSWkWyUBp7uXgxC16mbHjKxuzx/KBalibZBo65wyS7QGfF15T4n ndtN+ub7mv13xTRRfWjV5RR5BTtx+u3nsNH3Fe+prZCNlszyMIb8xZuTHgCwSmZ1KTKg 3wcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782308945; x=1782913745; h=content-transfer-encoding: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; bh=rmq91jkGvneoxWerkaeuBOohJIvM59ypbHsXw116sQI=; b=T+xw4k6cLEJi6OrUNtaat6Mpi+5p1PN3FBz0KpWuTqyiN1AHTZ+FF5FonBd+hBbFdf ENC74CPiuyWcgU0jSmDhO1ue0EGVi3ZpGJLW27I+JRvDSl5ti2JFl2GhkKgtfZQ2DWBe pZwdnKI0K/hVQolxt9ppc8RLTiMwK6fmIDP7dJCPvptRNO2d/SpRA9G15gRIAtLODteP RfH9VSCPd4QwH4NMphojlGnXqxCdFPRI08V+zyBwVmPOweolReTNi6nSCrK1O/NgutPE 8pTM5IAt9vR9YD8yHXcNcU4vJqLRbWpdWU2VA06HxrgyvFbD56fYfxzDg1XVzQ5CZyQm KNeg== X-Forwarded-Encrypted: i=1; AFNElJ+EL2DXH/6pNFVsmID3SqIu/keC6m3nx67WW15LEnl2MJpR0Kpg6HCGe/yDawSJ/7E4F1cwFPtpeeJDTik=@vger.kernel.org X-Gm-Message-State: AOJu0YyH4qbwoPY13V3kyZoit84Pr643BTq2hbUNL7fjBs2E7ZdBogQg vWDfzgKm/5VFgDacipGBwAgGV7BfKaSQTiSFUFLKSZlQe3x/suP15Hzbh4qqOkNk4fescYpbsix 3fIyEduXMjTh01jiH3KlobBMrrQdLNFe8udVk87I4VaeUbwLQUzouuyqsmExk2pmmHKc= X-Gm-Gg: AfdE7clBN15V+oDjovaf3qy1RHFtDkF583Av5nbqgkJYodicAaJal4ItelxsaEY+Rgj l8jh3oxBUMzkxOMTSFgo9Siq/hUpMf6FBjTZKHIagXaE7lOQzAceKIJWXFSCAHGTkMiIZRVif1Z /7UOkVF9ILqbiN24VGhQlWL6Qmqhbgq6KDHKP6zcNVM78hR/8vRFG1Gl1sxvJtzYcewmf3PAO1C NZrpwPezXz5+ZpJGlFSQybaBSiI6+toRrwR4AXjL7BixYc5OPTDALJNypg+ysvyzQg8l1u2xdJ1 v9EQN1iYKpWNUYuqZLsgcAkrZ+wkiVzQV9uCyDOTjG1VFF6W0gFG4zi/Da89T2q8OYV/0mQpYU4 Dds+hXjDTrhqbmqVLEHPWLZ0S+EsvlGBkqk7s9WRMvaPqwa2Er9Ao8YFIakXb79UqdRo4CNdZNW LX X-Received: by 2002:a05:6a00:2e9f:b0:842:54e8:bdd with SMTP id d2e1a72fcca58-845a27b3f69mr4833562b3a.40.1782308944526; Wed, 24 Jun 2026 06:49:04 -0700 (PDT) X-Received: by 2002:a05:6a00:2e9f:b0:842:54e8:bdd with SMTP id d2e1a72fcca58-845a27b3f69mr4833511b3a.40.1782308943973; Wed, 24 Jun 2026 06:49:03 -0700 (PDT) Received: from [10.133.33.213] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-845a4127bd0sm2280981b3a.53.2026.06.24.06.48.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Jun 2026 06:49:03 -0700 (PDT) Message-ID: Date: Wed, 24 Jun 2026 21:48:57 +0800 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 v2 2/2] arm64: dts: qcom: kaanapali: fix traceNoC probe issue To: Konrad Dybcio , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Tingwei Zhang , Jingyi Wang , Abel Vesa , Suzuki K Poulose , Mike Leach , James Clark , Leo Yan , Yuanfang Zhang Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org References: <20260624-fix-tracenoc-probe-issue-v2-0-786520f62f21@oss.qualcomm.com> <20260624-fix-tracenoc-probe-issue-v2-2-786520f62f21@oss.qualcomm.com> Content-Language: en-US From: Jie Gan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNjI0MDExNSBTYWx0ZWRfX/j3jQRjviQQf Gi0+/GXoUK9zCL5x7XBKxEcXtvopPHU2cgNSQURkArttI2wwE4p/QOeEA83BwRunZek+uYEhPZn NTStF5tgRdZ24U0b9FbmCUqN4GCULsI= X-Proofpoint-GUID: pznBEN4u-i4Tfc3_kQ5s6lPkWeRZ8RXS X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjI0MDExNSBTYWx0ZWRfX1xstLUoAv52/ 7k+WGcfR9PslVhGYfYzJ0KxeL9ef4Sy2E382UdlGmLcl3GcuatUIaikr6MG0tbMgOCr5MApl9sw TReFfPKxxXVCtv4hHiGWNoTYbwmycR63iCKY3ggFuUxd5O/Npa7OSHCQq2ot8H+0OpbD4DW35gS qW+k+JhWoT419A+tAd4+vdTAY47RiS9IDHWgIUW5I0oKKGz8Sj6ifZXt7EU8szH5l+Q/RRN9/9K BJsRLdABd2i/TcePX0/+9TTqA32rYK8ozIfv9CAlYsQPYKrniovVKztN+pfXBp0cSSzujEwmi6w afpBAhDyYBYqEX0e9kRfzdVT9Gfc2wzkBEWVn+4ofTIH7Y7N3YvtP/wkyTDLdUnceRdsNynhBfJ QyixR3G6pnYKOvejIviP7ievaoq2WQ== X-Authority-Analysis: v=2.4 cv=UphT8ewB c=1 sm=1 tr=0 ts=6a3be051 cx=c_pps a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=t96WpxVnkgGKFerJHPsA:9 a=QEXdDO2ut3YA:10 a=IoOABgeZipijB_acs4fv:22 X-Proofpoint-ORIG-GUID: pznBEN4u-i4Tfc3_kQ5s6lPkWeRZ8RXS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-24_03,2026-06-23_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 phishscore=0 spamscore=0 suspectscore=0 malwarescore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606240115 On 6/24/2026 9:27 PM, Konrad Dybcio wrote: > On 6/24/26 11:49 AM, Jie Gan wrote: >> The AMBA bus attempts to read the CID/PID of a device before invoking >> its probe function if the arm,primecell-periphid property is absent. >> This causes a deferred probe issue for the TraceNoC device, as the >> CID/PID cannot be read from the periphid register. > > Why does it probe defer? > For an AMBA device, the periphid is mandatory for probing. In the amba_match function, AMBA attempts to read the periphid from the CID/PID registers if the arm,primecell-periphid property is absent in the device tree. If this read fails, it returns -EPROBE_DEFER, and the probe ultimately fails. Most AMBA devices expose valid CID/PID registers, so specifying arm,primecell-periphid in the device tree is usually unnecessary. However, for the TraceNoC device in this case, AMBA cannot reliably read the periphid from the corresponding registers. > And is this required for all TNOC devices? So far, the TNOC device has been added to sm8750, Glymur, and Kaanapali platforms, and all exhibit probe failures due to the same root cause. I prefer to fix it on Kaanapali first. Thanks, Jie > > Konrad