Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8995549rwl; Tue, 10 Jan 2023 23:25:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXvvbXz2eLh+EnK2dhAwlI+hpUo01mw+OCEz3O4pr/kwvd+GnwZoqxRETGB9yS433sJP3usk X-Received: by 2002:a17:902:f788:b0:192:dda4:30e2 with SMTP id q8-20020a170902f78800b00192dda430e2mr32538842pln.52.1673421936917; Tue, 10 Jan 2023 23:25:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673421936; cv=none; d=google.com; s=arc-20160816; b=aWqlmJ5XwVNaEKXsH2MQIiclF3LO19xti58mHqChuBejBg+BZ6R3rfDKA26LDfDvIK ViFx5f0yOSg4vZdsNykUeiQb4lH6lFoZK4kEEPZ3HuqKsKjnasampC+uD4uKugR1xf/7 BZBdQnLpHmYHBXeJVr99YZaS+QWcBCdol9LUg2ECi2A7WH8fy3V+PWCE7lvqHNasHpjz 7adn+PB31yk9iDJyk6QolUsMddUPtNzatqOCn+uNDSNrekHtz9PnSLjL0QdV1zx2Xz9m AShCaY6Q+ncKp2f9E7zSTnN2CCUjvNSp8HOrVCv96Chmt0PRx4yCZc36VpdIdhrv8QSt 46KQ== 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=70zqpXmg4VI2GZVarG8hD1PU16aPTsH5wCGPFMHlVqU=; b=EiqoWVi/xk3pTVNma3nxRyI3vEuW4HZzCJISsh9Mzj8JNYj9YFf/Egj4wKXkknGbP5 apfzHSSOR/xzxa/W2wnZWYqASzONAXga+GWgPliF0CBR/psehbXjEUXqVHCQv1NIESRR nUcfZi7pFAXffyR6x8k+rIBTLVvQ/7I0hd9bQPWLM4v61mYqNV54HNUC7/tixOih1uTz 2DGPRA2oZlPab7oO40thaOV4g3GLMBVF/QuY/1SJvZeZok2qCjLtVZlg/SBSJWApwXtg ZrHsBpIpoZ8v/cZ6mB+7F9axeA+zOf6wYu6SaWOmgcRttU2DoBuHZOkckHchBBcuFlIQ CCcw== 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 o10-20020a170902d4ca00b001869b988da6si3928064plg.402.2023.01.10.23.25.30; Tue, 10 Jan 2023 23:25:36 -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 S235651AbjAKGx2 (ORCPT + 53 others); Wed, 11 Jan 2023 01:53:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235753AbjAKGw7 (ORCPT ); Wed, 11 Jan 2023 01:52:59 -0500 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED413CC5; Tue, 10 Jan 2023 22:52:56 -0800 (PST) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4NsJDY5Qw8zJq9W; Wed, 11 Jan 2023 14:48:45 +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.2375.34; Wed, 11 Jan 2023 14:52:52 +0800 CC: , , , , , , , , Subject: Re: [PATCH v2 1/2] hwtracing: hisi_ptt: Only add the supported devices to the filters list To: Bjorn Helgaas References: <20230110150510.GA1502847@bhelgaas> From: Yicong Yang Message-ID: Date: Wed, 11 Jan 2023 14:52:52 +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: <20230110150510.GA1502847@bhelgaas> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.169] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 Hi Bjorn, On 2023/1/10 23:05, Bjorn Helgaas wrote: > On Tue, Jan 10, 2023 at 09:08:32PM +0800, Yicong Yang wrote: >> From: Yicong Yang >> >> The PTT device can only support the devices on the same PCIe core, >> within BDF range [lower_bdf, upper_bdf]. It's not correct to assume >> the devices on the root bus are from the same PCIe core, there are >> cases that root ports from different PCIe core are sharing the same >> bus. So add the checking when initialize the filters list. > > "So check when initializing the filters list." > . Thanks for the comment. Will reword this sentence as suggested. Thanks.