From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 F23D63F1AA4 for ; Thu, 9 Jul 2026 08:34:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783586096; cv=none; b=fdaS/FzTtXzGtOLOLx4rdvSzRFWmgQiI495ELClSD4yZbUOG1BOvCyRm1ex2jQK+VIt4bg2KaUj5ECLNJkJG3HY4OqL9/6s6RTrjYPb2Ovuzh4XyRMc5CiANfVP00MCDNfgI0UWzqiY2gBU9BHOpMrtP3dNFJGqgQ3A/G4KQDrE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783586096; c=relaxed/simple; bh=uHeEFphcgQohAkDYr/VqMWOeeqX47QSuP5logWgt5a4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=U2o1gNBZcoFWmnlixDpvPJ+a0hF+nIhJgl7ILQ88Mw+m7F8GkAp/RWc8ubgmTXiPZBiublWm60IOZ1S2/ErZuyGeBI2eyqq/edaP7I5czyraXZP8VjGa3zGxaIBzIBW+xRTG/fMJSDiX+AEJ1zsystfaqDwpS7fcvOw3tZWsSUo= 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=QH4aKFOA; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=BuXQsK9p; arc=none smtp.client-ip=205.220.180.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="QH4aKFOA"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="BuXQsK9p" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66960EoJ931855 for ; Thu, 9 Jul 2026 08:34:54 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= l+2Omb5DUzskgrlR5kHajAzpSEQp/MXc5zGp9W3t4rg=; b=QH4aKFOALyROa1dJ Op4o9GswvuRrGVtMDVlQYqO/7EySTe76uunAUKFGppQr9QMa1aUYDs7rb0S3iBHL ppZx1ot8Oon8YOpcOPHOVbDTxNl6H6jgP9DxmktMpt8bQij4JTO/NZ3vDrgOqazl MBRjpLBPe1zDSHdZfVIq0yfWr1SVyRrY5bxKQ8xL3kBARRf05mv3OyhhvOJIQ57J IX6VrkGh/zpZnOJfGLzaAeXvAs22Uh2qFLR55c1+dS61ycYdFpbkjGfrQpB2Hlee 2je3aWcjV597bdK/di31lsE9aJjsr0K2dRp255nm1d+kKX2FyjH7q9Hml/pOANwh zDrG5Q== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f9sqsb7qu-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 09 Jul 2026 08:34:53 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2ccbb61893fso19261495ad.0 for ; Thu, 09 Jul 2026 01:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783586093; x=1784190893; 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=l+2Omb5DUzskgrlR5kHajAzpSEQp/MXc5zGp9W3t4rg=; b=BuXQsK9pnVSnCmzbna/Rrdy1UO71qWfXkf2OrIWBmB20oN4FPCnI4Dvceqoiwt4B/e IVqKq3A0/IuxEe/30AiXWYjdDs8bvR4z3mO5MCnOTN4maYPUvXRwCIVRww2abCwertsk 6f/GHpegp+bumuIBaV0s+XoPqZixgx5cG1v+isAmoR3BBElCHGw1GjsoJA+1yvUSJxut XAO2h8TBmzgsmdTBRpux0jhG+Vz1QSE3HupxXhfWjNIyjf4jy/pgOUI/aa+S2FP+LD9z eYmzm7ZKqIKQJV9spN5KklviIfd6opDHGARHI8sdn5/RAi5Wl16m+KokBgH0YJprJ6aK yOEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783586093; x=1784190893; 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=l+2Omb5DUzskgrlR5kHajAzpSEQp/MXc5zGp9W3t4rg=; b=ehch47NOkMbHJQvpQ9jjCEttwFZpznwIIIxOnKQRb1/MabBl9thKL9DamxRFhpqteT TOXgST4rQCEqtKNYbiukC2PRDgDzjMGKCacfhVxzRC2KUO0CJAUuGSDJ0UfRDt3kjcjQ cVpmYdGPfuAdu5RQqammrhclWLFYpS1qUAXfPzAEYpHRZPc0TV6fF/mHdcHsSa1FJygt C67yqyuso05b86h1UBzWmjSrCsH24b1E0MQwZ6eg6UvHuobbIVTT0rTXM0VNxLLCdau/ XNkw7hV290kuPQcAxfGAanu2/66xCgXupfOrjaNdqwnOUF7edI0mCgPfYvHZHzVKGG0L GWVw== X-Forwarded-Encrypted: i=1; AHgh+Rp/S2SwGVXLeka91nrnlvqJIoe0MNzghfZZOQyhm1wXa7WKwxmVPjbMT6UVv4BfjOP6RZwPzyNRaJK3mg8=@vger.kernel.org X-Gm-Message-State: AOJu0Yy+AuIuEPE44SzXRNBky6mlpN7jXQeZMVMSsLnGbXh+nKihxB1k sXeuiocJPPbcsmaHSvR0ufxdfx9Ko63jSq3PcXlygqP83TRSA2Tja/9978HZeW0j/pYVDZA+4Ur NffsU1HDNE6OlMqyoGWA8/9s6jMhqAfMBNlyGvSzq03KVpe+85jWIC969oV5K+hos6Uk= X-Gm-Gg: AfdE7cn+iFlOmxYqiQuvPlJWpnDk97a9HXXU3O/why0I+DBPDWdidvUf9dvg+hbcSRd ogUb5FVEizkSvNa77aN7vjVkDMJfGpJ1cFMCfpleHC9hsANI0XwcKKVojRgWUtMQfa1i0dg0ZJw IHXoPVfQiWRNWZ2GCwnlqrw/VB9O/wdH2rkXMquUs+9K2j4RxwV5pk36e/tFtw1dmwNcg19g2aO ka356Vzs7VEKFGUK7m3oc24njW6JJDSRVIeDJ6puEvLXBSz3L5Q+GV0IrlnI3O2NEr/V4imj+3O /J5rCO4HH5oAMLJxJeKbr/CR8ITZZIuXuY6f5CotLHAsbDsl8nEtbfA52vRgez9IUa5uwtZAzV7 75Czf+AiO3rwkDGeIgLdbr0hYEBpGqm3o8szEYY+Vv5REjS7+6kct/11TanJ45MfuPK04+Uyg8F bK X-Received: by 2002:a17:903:2447:b0:2c6:8d95:fd6d with SMTP id d9443c01a7336-2ccea3cce67mr67471305ad.21.1783586092829; Thu, 09 Jul 2026 01:34:52 -0700 (PDT) X-Received: by 2002:a17:903:2447:b0:2c6:8d95:fd6d with SMTP id d9443c01a7336-2ccea3cce67mr67470935ad.21.1783586092330; Thu, 09 Jul 2026 01:34:52 -0700 (PDT) Received: from [10.133.33.179] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ccc9d1e1aesm40865795ad.39.2026.07.09.01.34.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jul 2026 01:34:51 -0700 (PDT) Message-ID: Date: Thu, 9 Jul 2026 16:34:46 +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 v5 1/5] dt-bindings: arm: coresight-tnoc: Drop arm,primecell to bind on platform bus To: Krzysztof Kozlowski Cc: 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 , Abel Vesa , Alexander Shishkin , Konrad Dybcio , 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: <20260707-fix-tracenoc-probe-issue-v5-0-bf733ed9ebd0@oss.qualcomm.com> <20260707-fix-tracenoc-probe-issue-v5-1-bf733ed9ebd0@oss.qualcomm.com> <20260709-versed-marvellous-pigeon-22e2ba@quoll> Content-Language: en-US From: Jie Gan In-Reply-To: <20260709-versed-marvellous-pigeon-22e2ba@quoll> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNzA5MDA4MSBTYWx0ZWRfX5FcJBkGGtTld VMCt5Ib+TpjbQSkTKYo5HosSnnRn30j2xIEoMFuUE58NxAXRq91DKhFGQS0IKKaW2UwqfMDmTI5 ddxECkaSw0g8M8A2TuTGajWe+oe83jE= X-Proofpoint-GUID: lg2o7DD0NdJqRHoprYO-1aADz7QkWF7S X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzA5MDA4MSBTYWx0ZWRfXxWqPkGv0F/8f b1GvjIAzG30gm5JTCuWeG1CEUpuk7NyvijLYhY9MjFq/bn9WP/+SACsdXoiGUxKWOEQ/+Ty63yu sryEOObn6fBmZrgaR+iaw+aXqKA7KwYWst4H9hxDX1rDkJL83vklndcwM4S5pU0QCURoL42AlVk JpnLGJwtW5p4OXIshdA3uTFY8mFjcjcTDwnX7G7xsBrRUZYVzlSmRX18F7atXg30cykFoouAt3A SBjpcmGztBSgN5nTBsMIOQtNltyjVBfgKVa4haZFY6lLapEhJ0ghsWxG/Dea6zOk32BWSuIe4v9 aXcFlJqdQG93F3hMTqHLrtUdHb1VUyjsxf0kLNe7DV4ssf9wsC8mKq2ufR+fqZIum4VPn/NzbT5 mE2hs8FyDrdGO2M82PpwzwwhTgWeMKYs6qYI3vcVZYWaJB5HvFshPapccZ1ZPBHScjwK+UHcUUs ddQrDIsWywvvwSn/YZQ== X-Authority-Analysis: v=2.4 cv=Sv2gLvO0 c=1 sm=1 tr=0 ts=6a4f5d2d cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=fv-GP7Tdd4dwdnXjSPsA:9 a=QEXdDO2ut3YA:10 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-ORIG-GUID: lg2o7DD0NdJqRHoprYO-1aADz7QkWF7S X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-09_01,2026-07-08_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 adultscore=0 priorityscore=1501 suspectscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607090081 On 7/9/2026 3:59 PM, Krzysztof Kozlowski wrote: > On Tue, Jul 07, 2026 at 05:08:49PM +0800, Jie Gan wrote: >> The TNOC compatible previously required the two-string AMBA form >> "qcom,coresight-tnoc", "arm,primecell", which forces the device onto the >> AMBA bus. >> >> Change the compatible to a single "qcom,coresight-tnoc" string with no >> "arm,primecell" entry, so the device is created on the platform bus and >> bound by the platform driver through its compatible string. > > I asked already: this is not a valid reason. References to Linux > structures are not correct here. If this is your reason, then answer is: > fix drivers, by renaming or doing whatever is necessary to platform bus > to behave like amba bus. The issue is that we are not allowed to introduce a DT property to bypass the AMBA bus validation, which reads the Component ID (CID) registers. Besides, I cannot fix this in the TraceNoC AMBA driver because the driver is only invoked after amba_match() succeeds. Since the device fails the AMBA match, the TraceNoC AMBA driver is never reached. The solution proposed by the CoreSight maintainer, Suzuki, is to define a dedicated compatible string for the Aggregator TraceNoC device and have it probed by the existing platform driver. If the AMBA bus cannot identify the device as a valid AMBA device, we should not fake the hardware description to make it appear as one. Thanks, Jie >> >> Drop the custom select block as well. It was only needed to avoid >> matching the "arm,primecell" string on unrelated nodes; with the single >> "qcom,coresight-tnoc" compatible the schema's auto-generated select >> already matches the right nodes. > > Why are you describing the diff? It's obvious. > > >> >> Update the example node to use the standalone compatible form. > > And here. > > You got comments at v4, nothing improveed. Your commit msg tells useless > things like what you did or you want different Linux behavior. > > Best regards, > Krzysztof >