X-Received: by 2002:a17:90a:2807:b0:1bc:842c:6c51 with SMTP id e7-20020a17090a280700b001bc842c6c51mr11577293pjd.242.1645709863244; Thu, 24 Feb 2022 05:37:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645709863; cv=none; d=google.com; s=arc-20160816; b=Yfkczw1YTOTHIDM2W88/9A74py0RblpKuHMXaZQwFqtvFTOuOG46QLa82FEYFzsB9/ /es7ZtqemDttoygo0rqY6SCLDlMY9gA1IRro7fC3tZ/ACOTjLtNKJstkZc0eazPo39vu 88G4MP5xIUm+x5XLhyiEczonYqQcb1Bay8xRKvsVehjD9hnOlaW5xwavP+q3x4zoH8uu 02i0XRuLD+T2Zoz5iN7DMu3om5vOyj2sc282X2KRN4uLBCEfJ3dQdn9jrXkj3wFdWv8b 40h7ey/P9lq9D5qwRBC30tQZNRgra9meeJ2efr4JnaSPd4H1VI1e2sckO5pLlk6Hy38X xipQ== 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=YRRO728yG2b/GAuBBhnQCkok0f7HFckPAH42mL1BLto=; b=jt6Ge5+FWNkPLjltVTpo4SG5AdFPd+nZfCi1U3nvpdFymmpst1aB/KtI+aEzG00Boo yxk74ZSJbmmRX/+wQjGKI8RcW1ZJGE2zN8qs51LbW86IiupBwRW2ffnqv0aoLGEUyZQL dh9z7iPif4y1VuPG46/MBJ57U07jyPRd591SYF9h3pNRzewRrbndbQRvBUdWCBt2oMWZ UEf6eeiHT5CBZW8J6YRhGIzsDnnYNGvH6KYbhXnDX30ql6F28zm6056W6Xkfw/N4bUz5 IqYBiPir3awLij3dJHbZlM8bgkEp/GyqJEYBP75TGCIgsXhBJOxH8MprwdlosypOwCTv 8m0Q== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bg21si2732181pgb.284.2022.02.24.05.37.26; Thu, 24 Feb 2022 05:37:43 -0800 (PST) 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234399AbiBXMdm (ORCPT + 99 others); Thu, 24 Feb 2022 07:33:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231379AbiBXMdh (ORCPT ); Thu, 24 Feb 2022 07:33:37 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC026192E27; Thu, 24 Feb 2022 04:33:04 -0800 (PST) Received: from fraeml703-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4K4C304K1Pz67dyM; Thu, 24 Feb 2022 20:32:12 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml703-chm.china.huawei.com (10.206.15.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.21; Thu, 24 Feb 2022 13:33:02 +0100 Received: from [10.47.86.126] (10.47.86.126) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 24 Feb 2022 12:33:00 +0000 Message-ID: Date: Thu, 24 Feb 2022 12:32:59 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v4 2/8] hwtracing: Add trace function support for HiSilicon PCIe Tune and Trace device To: Yicong Yang , Yicong Yang , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , References: <20220221084307.33712-1-yangyicong@hisilicon.com> <20220221084307.33712-3-yangyicong@hisilicon.com> From: John Garry In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.47.86.126] X-ClientProxiedBy: lhreml752-chm.china.huawei.com (10.201.108.202) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,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 24/02/2022 03:53, Yicong Yang wrote: > On 2022/2/22 19:06, John Garry wrote: >> On 21/02/2022 08:43, Yicong Yang wrote: >>> HiSilicon PCIe tune and trace device(PTT) is a PCIe Root Complex >>> integrated Endpoint(RCiEP) device, providing the capability >>> to dynamically monitor and tune the PCIe traffic, and trace >>> the TLP headers. >>> >>> Add the driver for the device to enable the trace function. >>> This patch adds basic function of trace, including the device's >>> probe and initialization, functions for trace buffer allocation >>> and trace enable/disable, register an interrupt handler to >>> simply response to the DMA events. The user interface of trace >>> will be added in the following patch. >>> >> >> Fill commit message lines upto 75 characters > > Hi John, > > Thanks for the comments. > > The commit message is within 75 characters. I checked again and checkpatch > didn't warning for this. I mean to fill the lines up as much as possible, upto 75 char max, if not already done so. I am not sure if you are doing this already, but it looks like you were not. Checkpatch will no warn about a commit message like this :) Thanks, john