Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp236385rdh; Tue, 22 Aug 2023 20:05:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF3tSkaIjd6aSeaFhkLqP9+xtBXa2JhlWcKYtfm/dZlpskevPBl4o2d/ZsU7ImTDTNncPez X-Received: by 2002:aa7:d397:0:b0:522:1d1d:1de8 with SMTP id x23-20020aa7d397000000b005221d1d1de8mr8196747edq.2.1692759947131; Tue, 22 Aug 2023 20:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692759947; cv=none; d=google.com; s=arc-20160816; b=DDB1y1PlC2agnngymqMfnEr9iHJzm7ntiLafpqATei52h/BkMTnEY7AZe8FhuRvL8Y nfM11UDS0xo1cpQzNq+iXnSVi+ThQ1DpjG0tNlzMseq1jkSsvBYfOgXjJWdsO4TZf8Z9 BDj6ZLoTgqSSTH0OhDGCCSRFb+E7tIlzN61GTPNvmwzcweawy+eS7EC9TWTx/MFiWO5n ajsunmRyiLxyNdtsbqmA3OL5jngIIQYXT5q/TiKSWCOsVdLHRlBHxL0E6RgRABh17P4d 4JHdIVIbfgV8XT4UCYanXYGURXkdYqSFy/98PLqN3viM/Db+zrjBqkB/3DmWYUiyYkV9 oKKA== 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:to:subject:cc:user-agent:mime-version:date:message-id; bh=iPvubIcl6H1UgECk2bpkuqEtlOxJs82pJ3C5hJu1psQ=; fh=enErZmk5jcbtFBwxzyOaFIGnYORDsTyqiz9sZ4C3bqI=; b=iU1DBrlk2LjAOZItLqkRZ1Kjjs2rThgyb9np/0SRqlquo3z+lBg0xc+cLl+A6Aqqwu QDaaf/+PZxxMdzXnqjWZQQ5ogqpWBuPf/ZKH5oW4OpTluKUKzxdwGN0cckkGB6vlXiKy ocrXmrnhHE1Em1Yybf/WGr8tURxTWuHuEH53/Oi0rnUXwAkqVUXPDzogXmmCilTcGiVk ByzPNyTAb2seQjZco/Vq6EJh+63HC75Qj0/xn/9sJtAwwsxvKnRkXGjPhT83WzixCxHk mIzitC7MQDu0nv5cqhyy3ren+ifzVBPVr/Ax8y+gOjpcoZ3VEmnaTCywtrZXqG9nPsul 0ctw== 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 bo2-20020a0564020b2200b0052683da3e48si8334444edb.454.2023.08.22.20.05.22; Tue, 22 Aug 2023 20:05:47 -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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232228AbjHWCdO (ORCPT + 99 others); Tue, 22 Aug 2023 22:33:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231495AbjHWCdN (ORCPT ); Tue, 22 Aug 2023 22:33:13 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF33CCF9 for ; Tue, 22 Aug 2023 19:33:10 -0700 (PDT) Received: from kwepemm600007.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4RVqtg4pfJzLpBZ; Wed, 23 Aug 2023 10:30:03 +0800 (CST) Received: from [10.69.136.139] (10.69.136.139) by kwepemm600007.china.huawei.com (7.193.23.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Wed, 23 Aug 2023 10:33:07 +0800 Message-ID: <7fb893ab-9f82-4dd6-ccf6-2432e9e1e769@huawei.com> Date: Wed, 23 Aug 2023 10:33:07 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird CC: , , , , , , , , Subject: Re: [PATCH drivers/perf: hisi: 2/2] drivers/perf: hisi: fix set wrong filter mode for running events issue To: Will Deacon References: <20230816094619.3563784-1-shaojijie@huawei.com> <20230816094619.3563784-3-shaojijie@huawei.com> <20230821120440.GB19617@willie-the-truck> From: Jijie Shao In-Reply-To: <20230821120440.GB19617@willie-the-truck> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.69.136.139] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm600007.china.huawei.com (7.193.23.208) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 on 2023/8/21 20:04, Will Deacon wrote: >> - return tc_id != HNS3_PMU_FILTER_ALL_TC; >> + return (tc_id != HNS3_PMU_FILTER_ALL_TC) && (!bdf); >> } > Sorry, but I'm struggling to see how this correlates with your example > in the commit message, which implies that it's the config of 0x3 causing > the problem rather than the bdf. > > Please can you explain the problem in more detail? > > Thanks, > > Will We'll send the v2 patch to add more details. Jijie Shao