Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2514588rwl; Mon, 27 Mar 2023 00:59:53 -0700 (PDT) X-Google-Smtp-Source: AKy350Y1ufRYzWDXGjPkupnY7Bk+Wp4OULkK05yJi0OnkWIQ468/vlocvk5lLlJnUNlOkVafJQor X-Received: by 2002:a17:907:8687:b0:933:499e:62a7 with SMTP id qa7-20020a170907868700b00933499e62a7mr14068711ejc.49.1679903993553; Mon, 27 Mar 2023 00:59:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679903993; cv=none; d=google.com; s=arc-20160816; b=LNtN9YZWpH70rckRWT2Hoy0b6WLAa2Ki98bXI+j9NkpG8C78FdJEaLEQfESsb+PV9X Zr9GCjJXtj0JzEb9dDDs+PH7EqwZSkDbCFYE7N3px/rOMscfZho+qgFxAARq9DKMfHoA Qt13klblyaqmm4d0mCR3jQBD4nHf6lnZ3tbplYQKBGR7IX0zIVqLaqvfZOTpS8UAejMJ LMcuCRnKCj1bzOwazOoO1AKBfWcHIwLHY/Al5gTG3uFVHqo91AtMiNs71NmCuu44MBs9 99RfHWfmqmLA9badjU/cvKLTYwO+SkW88CjyTsS6tlpx5bBDfqEF4AUMG/ufX4cAlhjW 7Wzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/c2reEat/wJZOjBAjPDX8NUM19PVHExcK5yTwg99PXI=; b=BHRpvfSU6SD68ph9F5ZIZpM1OTtZXKBeY9QTOz20V0NLnk7c+n3IuYIveiz+ItJjOH fCDonCQNHmaSh7OLdyb0bX2YLAeJwPKuNdKomCZ5YDCMA+LQiJj6zC6/57jjAZKjUxb4 QWgkBynlpB+t8DTP0MJ7T7+AIBPpLK9FjMBd9U4DwasSF97ki7WOEK0QdrIaEulBaJth a3N2TpmIi4+EAhKzxUMUgg/4dBM+UM/JaMo5CL9Y6KMlFs7qIoFAGNt0Z0P5NWxuQjl9 7fI3L20TIAsNgPXT5K63nZmI74tgQn4Wo/n110Vr1FfgG9RZnYkFu4s2iRFSIfgW27Kr Cabg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="WYTv/YKe"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020a1709062bd000b0092d6e62eb2bsi28928658ejg.197.2023.03.27.00.59.28; Mon, 27 Mar 2023 00:59:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="WYTv/YKe"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232432AbjC0HuA (ORCPT + 99 others); Mon, 27 Mar 2023 03:50:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232799AbjC0Htz (ORCPT ); Mon, 27 Mar 2023 03:49:55 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9172DE1; Mon, 27 Mar 2023 00:49:54 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32R7T4h4032155; Mon, 27 Mar 2023 07:49:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=/c2reEat/wJZOjBAjPDX8NUM19PVHExcK5yTwg99PXI=; b=WYTv/YKevq6N4+dqRYnCMsXPQ8MABYhKCueHT3au3fKPW6aOe14odYq41jywrNdt1RZy wgpWeKthupIaJLSrztPM2HvaiNlIMf0KYy4hERDwF8PBbaMX71c57FiH/syuL8E9C+V9 GXbD6Y5RLf2jVhn1u7s8kuuaGZ2EUl2hcqUAGOjtSLAekgwr3y+nVZujuc/dVrzrIWly HiPoONO81fjJq9jh//kaPwwIJOF4W+zR6xFeeGXWGMaboBMfxokd4Th12TnkVBsdiA8n kq0pd2ePTexjeKO1s2GQt5po4k0g63tM/ixi3x80Zb3d9ZZ04jvjAp7eDDUmOTXca5lr bA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3phsqqkr8j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Mar 2023 07:49:42 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32R7nfNc028602 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Mar 2023 07:49:41 GMT Received: from [10.239.133.211] (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.986.41; Mon, 27 Mar 2023 00:49:36 -0700 Message-ID: Date: Mon, 27 Mar 2023 15:49:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 08/11] coresight-tpdm: Add nodes to configure pattern match output Content-Language: en-US To: Suzuki K Poulose , Mathieu Poirier , Alexander Shishkin , Konrad Dybcio , Mike Leach , Rob Herring , Krzysztof Kozlowski CC: Jinlong Mao , Leo Yan , "Greg Kroah-Hartman" , , , , , Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Hao Zhang , , Bjorn Andersson References: <1679551448-19160-1-git-send-email-quic_taozha@quicinc.com> <1679551448-19160-9-git-send-email-quic_taozha@quicinc.com> From: Tao Zhang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: 9L_uUI6PGy6PSwz476lM4wuQsGV0sFeS X-Proofpoint-ORIG-GUID: 9L_uUI6PGy6PSwz476lM4wuQsGV0sFeS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_11,2023-03-24_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 clxscore=1015 mlxscore=0 spamscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303270062 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Suzuki, On 3/24/2023 1:27 AM, Suzuki K Poulose wrote: > On 23/03/2023 06:04, Tao Zhang wrote: >> Add nodes to configure trigger pattern and trigger pattern mask. >> Each DSB subunit TPDM has maximum of n(n<7) XPR registers to >> configure trigger pattern match output. Eight 32 bit registers >> providing DSB interface trigger output pattern match comparison. >> And each DSB subunit TPDM has maximum of m(m<7) XPMR registers to >> configure trigger pattern mask match output. Eight 32 bit >> registers providing DSB interface trigger output pattern match >> mask. >> >> Signed-off-by: Tao Zhang >> --- >>   .../ABI/testing/sysfs-bus-coresight-devices-tpdm   | 24 +++++++ >>   drivers/hwtracing/coresight/coresight-tpdm.c       | 84 >> ++++++++++++++++++++++ >>   drivers/hwtracing/coresight/coresight-tpdm.h       |  8 +++ >>   3 files changed, 116 insertions(+) >> >> diff --git >> a/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm >> b/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm >> index 094d624..c06374f 100644 >> --- a/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm >> +++ b/Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm >> @@ -71,3 +71,27 @@ Description: >>           value 1: Start EDCMR register number >>           value 2: End EDCMR register number >>           value 3: The value need to be written >> + >> +What: /sys/bus/coresight/devices//dsb_trig_patt_val >> +Date:        March 2023 >> +KernelVersion    6.3 >> +Contact:    Jinlong Mao (QUIC) , Tao Zhang >> (QUIC) >> +Description: >> +        (Write) Set the trigger pattern value of DSB tpdm. >> +        Read the trigger pattern value of DSB tpdm. >> + >> +        Accepts the following two values. >> +        value 1: Index number of XPR register >> +        value 2: The value need to be written > > minor nit: What values are acceptable ? Otherwise looks fine. I will update this in the next patch series. Tao > > Reviewed-by: Suzuki K Poulose >