Message ID | 20250226-trace-noc-driver-v2-0-8afc6584afc5@quicinc.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 64AEFC19F2E for <linux-arm-kernel@archiver.kernel.org>; Wed, 26 Feb 2025 13:25:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:CC:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UHeFYe470Ck4ihLYqujzsWaQj02e2yaQUWT3JtZwOXw=; b=u+VvYieEPEUmik 9L2WkgeKwppSbYAklTcdGXiV0Q87ViXRfW3gmaHrvQ5cJ+fM7uY3BRPGc6tDyXSW2oVRGfxJqz02Y 3dXSm6HygGOl/02I5bpd75y/w+xM+c5d0nJYRIjwJimNkeGLRnhdIm3+IJYo4bJVgpdDe3BmHTPoC RsjwULKohnwM8Db7gQcH6sx6JCA++3FX9+6JpGwgqj2LsXscLggqj+LgkIZeLraB3EEUWhAQLb6tZ iEQtABs2vwzx0gRAg27TeZDU//LajgAN6vRsp9xRfIEXVeXxU2HUNj9dTX43qplSbtNn10rvt8uXI puEn1NLltSEOvHBqh+xw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnHP7-00000003pXb-3K1J; Wed, 26 Feb 2025 13:24:49 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tnFFE-00000003Q7c-25qO for linux-arm-kernel@lists.infradead.org; Wed, 26 Feb 2025 11:06:29 +0000 Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51Q9fVvq025290; Wed, 26 Feb 2025 11:06:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=UHeFYe470Ck4ihLYqujzsW aQj02e2yaQUWT3JtZwOXw=; b=cuLzNA6n3RTbgd/qOM0ap5Yjsq23wRQEAbVeHP qwjXqzm3cSy5fm6gsuc+63+6T0WvYChSy4EOIRxj6n3n1cvmxsF8oqhfu5Z6Zi1u Fm1dE27jc9E4Ljg+kBezWdTn4AsVNLU+ZT2Rwgd1fvMDQJxhEXZduM0PJ2SeGWPJ 1FZRpkfg3u0InI9nBOZco2zwNyQr2XNgidLl9PUSbXIqhpVD9p1AgwaHFqpxOJc3 OqlrUW0VTd9Yz3pGfHSAMWCJgugtP97UpGXEbe8mtSKqjWbZTK66C2s+2uDCSrp7 jKexOIgs+9jIdozaXZBAbnTFIPyRSGmT2mXrDl7dZH+oCKpg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 451prmhqk8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Feb 2025 11:06:20 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 51QB6JHg021051 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Feb 2025 11:06:19 GMT Received: from yuanfang4-gv.ap.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 26 Feb 2025 03:06:12 -0800 From: Yuanfang Zhang <quic_yuanfang@quicinc.com> Subject: [PATCH v2 0/5] coresight: Add Coresight Trace NOC driver Date: Wed, 26 Feb 2025 19:05:49 +0800 Message-ID: <20250226-trace-noc-driver-v2-0-8afc6584afc5@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAI71vmcC/3WNQQ6CMBBFr2K6tqYzgKAr72FY1HaQWdhqi42Gc HcLYWOMy/eT9/4oIgWmKI6bUQRKHNm7DLjdCNNrdyXJNrNAhZVCQDkEbUg6b6QNnCjIA9WVrRu AstMia/dAHb+W5LnN3HMcfHgvDwnmdY2h+o0lkErC3LvYsiHA0+PJhp3ZGX+b66sKf1SlsejMv iwQ6i+1nabpA7n4JFntAAAA X-Change-ID: 20250212-trace-noc-driver-9e75d78114fa To: Suzuki K Poulose <suzuki.poulose@arm.com>, Mike Leach <mike.leach@linaro.org>, James Clark <james.clark@linaro.org>, "Alexander Shishkin" <alexander.shishkin@linux.intel.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org> CC: <kernel@quicinc.com>, <linux-kernel@vger.kernel.org>, <coresight@lists.linaro.org>, <linux-arm-kernel@lists.infradead.org>, <kernel@oss.qualcomm.com>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, Yuanfang Zhang <quic_yuanfang@quicinc.com> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1740567972; l=3637; i=quic_yuanfang@quicinc.com; s=20241209; h=from:subject:message-id; bh=FQYvJmCRCA7xFIZl39uidCW3qpJzmCptnuF6lejLsHU=; b=RjEdyCqHfy3FAb9RMDmesCWWPvgaPfFE2QrgS1cqg823DzuTmjv3FVVp69f1UQpDyBwFAjA8E FwZr2FtAsFqD86LAfo43FILAiNWsvC4ppIZcZ6sg0oV3Vr8OF0FrLTI X-Developer-Key: i=quic_yuanfang@quicinc.com; a=ed25519; pk=ZrIjRVq9LN8/zCQGbDEwrZK/sfnVjwQ2elyEZAOaV1Q= X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 8TWwD2wNAm1Potk5ZnxQsqBVIeWTVbGr X-Proofpoint-ORIG-GUID: 8TWwD2wNAm1Potk5ZnxQsqBVIeWTVbGr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-26_02,2025-02-26_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 adultscore=0 spamscore=0 mlxlogscore=999 lowpriorityscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2502100000 definitions=main-2502260088 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250226_030628_707919_17C8883C X-CRM114-Status: GOOD ( 10.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
coresight: Add Coresight Trace NOC driver
|
expand
|
The Trace NoC is an integration hierarchy which is a replacement of Dragonlink configuration. It brings together debug component like TPDA, funnel and interconnect Trace Noc which collects trace from subsystems and transfers to QDSS sink. Compared to DL, it has the following advantages: 1. Reduce wires between subsystems. 2. Continue cleaning the infrastructure. 3. Reduce Data overhead by transporting raw data from source to target. +--------------+ +-------------+ | SDCC5 TPDM | | SDCC5 TPDM | +--------------+ +-------------+ | | | | +----------|-------------------+ | | v | | | +----v----+ Dragon Link | v | |DLNT TPDA| North | +----------------------+ | +---------+ | | TRACE NOC AG | | | | | | | v-------------+ | +----------------------+ | | | | | +------v-----+ | | | | DLNT Funnel| | | | +------------+ | | | | | | +-------------------|----------+ | <-----+ | | | | | v v +----------------+ +---------------+ | QDSS | | QDSS | +----------------+ +---------------+ Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com> --- --- Changes in v2: 1. Modified the format of DT binging file. 2. Fix compile warnings. - Link to v1: https://lore.kernel.org/r/20250221-trace-noc-driver-v1-0-0a23fc643217@quicinc.com --- Yuanfang Zhang (5): dt-bindings: arm: Add Coresight device Trace NOC definition coresight: add coresight Trace NOC driver coresight-tnoc: add nodes to configure flush coresight-tnoc: add node to configure flag type coresight-tnoc: add nodes to configure freq packet .../bindings/arm/qcom,coresight-tnoc.yaml | 116 ++++++ drivers/hwtracing/coresight/Kconfig | 13 + drivers/hwtracing/coresight/Makefile | 1 + drivers/hwtracing/coresight/coresight-tnoc.c | 400 +++++++++++++++++++++ drivers/hwtracing/coresight/coresight-tnoc.h | 57 +++ 5 files changed, 587 insertions(+) --- base-commit: 92514ef226f511f2ca1fb1b8752966097518edc0 change-id: 20250212-trace-noc-driver-9e75d78114fa Best regards,