Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5734304rwd; Mon, 12 Jun 2023 08:59:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5KAvar4qNTOu2bBC5k22cWtYhAy+YBB7RLcjSgJM3dB+LsSq/NCZVRLoL/hiG9AbfmEBOD X-Received: by 2002:a17:907:a46:b0:977:e916:9b83 with SMTP id be6-20020a1709070a4600b00977e9169b83mr10562997ejc.8.1686585554870; Mon, 12 Jun 2023 08:59:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686585554; cv=none; d=google.com; s=arc-20160816; b=aql8dN5Y3qZsUo6t5cIrdiLk+Jp8N3yeRRH+mc9mFdlSKJ8M7aBjbCXZaP/NXwXfbu aD6OaysdlZ1O0yq/Ue/VIF47FXZM5/k3RP+dVVGl1sgsmM7cvTFVaRRZqYhZozihEXb5 nvOmHINYPQBIhQVTmH646D/hmz8Tkenqei3OmTl77Q++sAQFAlLIHyDW2LHqAwniuJrW Y2AgAaSIylcxmkkiT3NQrrUQ8zFwSFWlhrlXMgql/f1e5SugGRTPCO/1RxX7XmD4161Z VovwvIVISMPvOOwT7CTRx0f7ObkmmNrw55Et+3RYelP4ZPn4aH5DMs2Gi7WUoHeFiHVx f/sw== 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:subject:user-agent:mime-version:date:message-id; bh=xSosja7I0PqjKB3ZumrRjqHzgr5vzZToAC7uavYHqXg=; b=eKDcSShHGYdk/QnvTcGibwoQSJQhIyNj5jbkd9x5c6HTG8hwLTUuKomDf7QWJElGyQ qHDAuWaMBDM6DIigIKlHQ6Iqob76VYQR9K2D58kdtdkOs7nGFkFB9Wcp+aGiwI8xJlT0 gaoO6F5LMSkF6eV2jgpzzKMxQRrkMxIRIyp+1DmmyafaASVAeI4engS6UCp7Gopdpwfw QRlfh1yyCbXvmNuMAs/Wq99Nx4Yu5Qg2thtS3tVtBL3/aOH5mok1ul5r+fparfsI9q+d UcRVc0rfalWMvcB5KKwvFzStdHo6oGr8qXbmqGjD3x3URyn62Faq9E6KqGvcJcQ0RojK mO0Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q6-20020a1709060e4600b0096f790ee863si5105225eji.70.2023.06.12.08.58.48; Mon, 12 Jun 2023 08:59:14 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237944AbjFLPfy (ORCPT + 99 others); Mon, 12 Jun 2023 11:35:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237962AbjFLPfu (ORCPT ); Mon, 12 Jun 2023 11:35:50 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3368E10C3; Mon, 12 Jun 2023 08:35:49 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EBF511FB; Mon, 12 Jun 2023 08:36:33 -0700 (PDT) Received: from [10.57.27.113] (unknown [10.57.27.113]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2E9163F5A1; Mon, 12 Jun 2023 08:35:46 -0700 (PDT) Message-ID: <16b08ba8-f23e-af24-881c-61fe4e4c92e1@arm.com> Date: Mon, 12 Jun 2023 16:35:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 Subject: Re: [PATCH v5 03/13] coresight-tpdm: Introduce TPDM subtype to TPDM driver To: Tao Zhang , Mathieu Poirier , Alexander Shishkin , Konrad Dybcio , Mike Leach , Rob Herring , Krzysztof Kozlowski Cc: Jinlong Mao , Leo Yan , Greg Kroah-Hartman , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Hao Zhang , linux-arm-msm@vger.kernel.org, andersson@kernel.org References: <1686553666-5811-1-git-send-email-quic_taozha@quicinc.com> <1686553666-5811-4-git-send-email-quic_taozha@quicinc.com> From: Suzuki K Poulose In-Reply-To: <1686553666-5811-4-git-send-email-quic_taozha@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 12/06/2023 08:07, Tao Zhang wrote: > Introduce the new subtype of "CORESIGHT_DEV_SUBTYPE_SOURCE_TPDM" > for TPDM components in driver. > > Signed-off-by: Tao Zhang > --- > drivers/hwtracing/coresight/coresight-core.c | 1 + > drivers/hwtracing/coresight/coresight-tpdm.c | 2 +- > include/linux/coresight.h | 1 + > 3 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c > index 118fcf2..23b18c2 100644 > --- a/drivers/hwtracing/coresight/coresight-core.c > +++ b/drivers/hwtracing/coresight/coresight-core.c > @@ -1093,6 +1093,7 @@ static int coresight_validate_source(struct coresight_device *csdev, > > if (subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_PROC && > subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE && > + subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_TPDM && minor nit: Alignment. Please always double check your patch for styling issues. Otherwise looks good to me Suzuki