Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1743731pxm; Thu, 24 Feb 2022 08:33:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzSc25UAADmeeO8ka8PULR8HYFHG6xlp6dQdRtnCt8hZpFCuiNQYo1cfan5aO+YoASwqbG X-Received: by 2002:a05:6a00:9a9:b0:4ca:c2f1:c685 with SMTP id u41-20020a056a0009a900b004cac2f1c685mr3591453pfg.12.1645720434224; Thu, 24 Feb 2022 08:33:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645720434; cv=none; d=google.com; s=arc-20160816; b=hShkq15JpG3dVO1Jx+E2hzd2VKPN/MQftEotIs5DMIYKRuDerSP+RW4YLWovm6MA8V K5OR2yggBb6rAbg48ROGdGHPuYKO0xYGkb7PXvofksaTPygVgBLUuzdh8d8L2yKWmUUD 11yMocIEhyqdiRCpzGOQnhhXlWTrQSGD+9qlxgR9SZtIUWs9ofCV+cl9Ny2HmiuQPW3Z th7EZkvsCFBkDtAt5ko4zvgpkfNFXgAe0VRjtzAJRG5D0NA15GTqj41m408qoSFgjJoe GteGNT0EdBkrGlxtJ6Bu4cdHHWhzhKhemHg5wf/z2rF6GUtA2RXVs5TeWxWanIawaKhP 9+dg== 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 :mime-version:user-agent:date:message-id:from:references:to:subject :cc; bh=LWaczBNqomgm9LGh/n6IQ/4tTPrXVj96oRfslGIsf5c=; b=DDyQeh9GJZfw53BsK67wU6lP+b2C/IrtC9/0JBpOKQ5ToA2+Mdg2mWpn45hAuuZ+OP GaDiyoIVRhhQAD4xlStqJNdSog6gHf5vPoDEbo1fd0DQZi4+n8XqUmZ+YgbMZ6y34+aM Fa06/SaL3ycG42RXUzE8TdM421mOcOYXLf+K6OS84SAE6fd4qvzWvI5ohgDfEM2D2Bn+ h0n2gqwVy3Vn0dw33mDGOR2SKyXCDQLuXtvYvT90ebiaBdnm4znC4zDgr8EUVhpdmbUG IaIlU8mDkVJyYZjeIGkinlldXVOhkWWczEKpWRFNunBCs7AP/rFA5YtOe5Ky6DUAt41Z XEjA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q18si2953456pfu.353.2022.02.24.08.33.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:33:54 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 170681C884C; Thu, 24 Feb 2022 08:18:01 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234660AbiBXM6Q (ORCPT + 99 others); Thu, 24 Feb 2022 07:58:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234583AbiBXM6O (ORCPT ); Thu, 24 Feb 2022 07:58:14 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C53711323F7; Thu, 24 Feb 2022 04:57:43 -0800 (PST) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4K4CZN0sHcz9t3N; Thu, 24 Feb 2022 20:55:56 +0800 (CST) Received: from [10.67.102.169] (10.67.102.169) by canpemm500009.china.huawei.com (7.192.105.203) 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 20:57:40 +0800 CC: , , , , Subject: Re: [PATCH v4 2/8] hwtracing: Add trace function support for HiSilicon PCIe Tune and Trace device To: John Garry , Yicong Yang , , , , , , , , , , , , , , , , , , , , , , , , References: <20220221084307.33712-1-yangyicong@hisilicon.com> <20220221084307.33712-3-yangyicong@hisilicon.com> From: Yicong Yang Message-ID: Date: Thu, 24 Feb 2022 20:57:40 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.169] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 2022/2/24 20:32, John Garry wrote: > 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 > :) > Uh I got it. Thanks for the vivid clarification!