From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 87B27EE49A3 for ; Wed, 23 Aug 2023 02:33:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject:CC: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jCgDpTbDWdhtgjUd+a676biScF6uUDRR0CW3qM4E2qM=; b=Kh1wPACBTKdXT1 kdqgA9Bch1/1bMu3fXoNc+hEtBMP010nadQIhUWb4Yirpz+kAlIT+saBsElI5te/PjfJD0GhbtDsy 0mohTUZkviEurN+N6R0dtc4CNt5vBHnqXObzCUOQIBrDrxMhs63sp8ie8cvtpBuXzy+QzouuWgP7N 3l3vOypbXvw2apOvrB/GX4UOMulkwziPDifrS+P6zEKcci0StbrIecQwThUsFXwburGIE0Fq12f54 0CN5Hf9zFNxy1Zk7kao2Xk2AlrAr0WbSHuXoMtvwI2fThOJEuug+s+is63BZxr8f1fobyJvm1T4ca lEdnwQxxlq84CYq4qYvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qYdgS-00H5Sp-1J; Wed, 23 Aug 2023 02:33:24 +0000 Received: from szxga03-in.huawei.com ([45.249.212.189]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qYdgO-00H5RW-0b for linux-arm-kernel@lists.infradead.org; Wed, 23 Aug 2023 02:33:22 +0000 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> 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230822_193320_414634_6328F3C6 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel