Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1342250lqj; Mon, 3 Jun 2024 20:05:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFtzdIQ9rNM449qKpmG3lVoMDXE1ik1De17OFAB4uSa/fo8ZCO4md+FnNceRVjOGDAmSR8ZbEqgaTCAJPaB2n66FQnNf23tkaWjd4lvg== X-Google-Smtp-Source: AGHT+IEEDuPsVCHIInU9XuNKe/PAvEoMIbpvGGUQltOLzfjhpzEL7AlYA0kJ2BbbffKVkg2DNNyr X-Received: by 2002:a17:90b:3106:b0:2bd:e965:8193 with SMTP id 98e67ed59e1d1-2c1dc56db5dmr9891578a91.9.1717470335736; Mon, 03 Jun 2024 20:05:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717470335; cv=pass; d=google.com; s=arc-20160816; b=lqZwAvs0Lh3+f+TDBIjbiGrLEioaWhEFsyo1UBIfm87D3YILF8BFQm/UJmO9j/3u8o qfFJp8+kq1fPI9ZTSIcKL2SkjeWOUhcNoBbZ1m1ERcm0sDD27pgDdHQXJ9R5bZu0Amkb 9UCGYTHj4dSQooWZQTH+izzc5vYWkLCCW+PGxWGWFugW4Ckv2PZKvYYokF2lHJx3AjqE Hd6EMNd9e+lnCer3aihhRtHhRSXeqczhkmjR+oQaJD56LcINUkHZ7x3YTfh8cU8CfyIu 8BU0/8Aq4IzjpTARYn6jIYUoZMOkmaCKCvF5X83wQ1gE8U05uM/OehFmcw+bhh4fbV9F +uJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature; bh=abhgvx5PcQ2TPqFSMg9xhOSMCDgZLFd/2VxdwZcjVmQ=; fh=pKccGTHnPE9v43+pBGojBqDqY9WN7xPI5+RgmqHu7co=; b=vh5JiamBtnNG0kMwjZsFKzyA/UYTXpS8N5+FWCo63T5hYtUeoWm2oMgWy6xjMlmb63 hH0IZ+a8wp0e87w5pCUcUD4cg7ZRAVF7cFCwBej3+tuuN/qNu86usu0SBhhUm3mjv+iF 0XF/VhW7KGvz4TzEdEirDrj4oapoDEPznObaTqvjpaPqlv3eS/U71lv9dtBBzBB4GiN0 MM9mEQuO0XjkfiPxa6NPSfDAC/la2Pj64Xez4hAfV+r4eMNhEtvy0n1i5y+gi2n0hU7U bLHR3+XNJNhyj8f1FIPAi6wfRpglU627jzrbV2kfINEwoWLN2YTUgJPTDFICrlkS322o TJhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=SAj0HVVz; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-199970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199970-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1e590953asi6799946a91.133.2024.06.03.20.05.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 20:05:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=SAj0HVVz; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-199970-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199970-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id BB6A4B244A1 for ; Tue, 4 Jun 2024 02:48:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CFDF13D516; Tue, 4 Jun 2024 02:48:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="SAj0HVVz" 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 B1B722AD04; Tue, 4 Jun 2024 02:48:28 +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=1717469310; cv=none; b=SNVQA/GBSuBYLtKUj2vZt4hW52f/cG9ypq8xA30FV8AvIqvjTnCxosJzFAxug+0YTdaJrwng2zq9VC2ODyRinddDkD3IBM0UXHGde9BZzdDCZooiC3VanfiJVYxbw1gNBRkIm5BaPz0CAw2ROUd3v/VDNHzaU40kh3gZycHCkJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717469310; c=relaxed/simple; bh=JW+7DjScBdS8dK/sOcyD9WjXP7CreJL8ky4P0cdfV9g=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=jn5/xCULQwjYSFmE5GrJVPb7Edi9+vH7qsD5OFzrAqP7vdcVfiti+KP6/Jo+XUdu6zr/h4Ot2mx7sGjCKOdh6RfLgVoPoSrepmFGCszrBdULBksK65fm6mhcpCL0SjoxM7bO8ynAyfXtFcTunpoguEy5W1/zch/j1UzPGCjJtAs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=SAj0HVVz; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4540CwXV022087; Tue, 4 Jun 2024 02:48:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:message-id:mime-version:subject:to; s= qcppdkim1; bh=abhgvx5PcQ2TPqFSMg9xhOSMCDgZLFd/2VxdwZcjVmQ=; b=SA j0HVVz8p3Sitaob+eC9rssKk1spawnKMSQVNNWih4H6tCGZXx4yxJlyQJLSA5Fbq OChexmwc1a/l7TV9tEfKduoFRcfvtHm4C6kPBALzAInqgKDB5zjBHuzVmFshXJnn sHzY27730xBTc9wfhOlXqZ2TRu1Xfa9pb7rR/WrYyVXc7SFBGNxik3MCkH1voRj7 rMAdglgm2tQ6Z2hFZSxmrIDrckIHnuXV8AyXryyRkJ8s0sZrccg4XC0TGqXanFeE aM7WANIgQWeQu6y/+2K8M2hMB6wsloJ3/h71qQXItJO3+HOshqB9sJ7yB0/3y3va uSaIGhhfE7hP1XoQxY3A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw5wnhg7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Jun 2024 02:48:17 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4542mGrZ027630 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 4 Jun 2024 02:48:16 GMT Received: from taozha2-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 3 Jun 2024 19:48:12 -0700 From: Tao Zhang To: Suzuki K Poulose , Alexander Shishkin , Mike Leach , James Clark CC: Tao Zhang , Jinlong Mao , , , , Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Song Chai , , Jie Gan Subject: [PATCH 0/3] Add support to configure TPDM MCMB subunit Date: Tue, 4 Jun 2024 10:47:38 +0800 Message-ID: <20240604024741.3550-1-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: yEXelwuhrjgHKwUDtQOZgsVa1kSTJuZx X-Proofpoint-ORIG-GUID: yEXelwuhrjgHKwUDtQOZgsVa1kSTJuZx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-03_17,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 adultscore=0 suspectscore=0 priorityscore=1501 clxscore=1011 lowpriorityscore=0 mlxlogscore=741 bulkscore=0 spamscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406040021 Introduction of TPDM MCMB(Multi-lane Continuous Multi Bit) subunit MCMB (Multi-lane CMB) is a special form of CMB dataset type. MCMB subunit has the same number and usage of registers as CMB subunit. Just like the CMB subunit, the MCMB subunit must be configured prior to enablement. This series adds support for TPDM to configure the MCMB subunit. Once this series patches are applied properly, the new tpdm nodes for should be observed at the tpdm path /sys/bus/coresight/devices/tpdm* which supports MCMB subunit. All sysfs files of CMB subunit TPDM are included in MCMB subunit TPDM. On this basis, MCMB subunit TPDM will have new sysfs files to select and enable the lane. Tao Zhang (3): coresight-tpdm: Add MCMB dataset support coresight-tpdm: Add support to select lane coresight-tpdm: Add support to enable the lane for MCMB TPDM .../testing/sysfs-bus-coresight-devices-tpdm | 15 +++ drivers/hwtracing/coresight/coresight-tpda.c | 4 +- drivers/hwtracing/coresight/coresight-tpdm.c | 119 +++++++++++++++++- drivers/hwtracing/coresight/coresight-tpdm.h | 33 ++++- 4 files changed, 162 insertions(+), 9 deletions(-) -- 2.17.1