Message ID | 20231024092954.42297-1-yangyicong@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp1822223vqx; Tue, 24 Oct 2023 02:34:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHygJmN9DY+b2AhT4UF9uX7XiZw3hWaMpaxssb4WBfVs2X+nS89Pn6P0SuoFS2HQHnJbWZb X-Received: by 2002:a05:6808:1a0a:b0:3af:a72a:96e2 with SMTP id bk10-20020a0568081a0a00b003afa72a96e2mr15470732oib.7.1698140093814; Tue, 24 Oct 2023 02:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698140093; cv=none; d=google.com; s=arc-20160816; b=PC8OMV9sehW6mfszn/gjXC2LNzVXI6M3MMq+fuTpmmRXeWTQd91X6W7kyaONmVfAAk z1nYSfWr1e7EjAY/dqSl+jVJtoot6TrGrKXREcCGD8omnYYwsiAiizGau+xnVGk6lxlb t47JiJ5izwJxh1OaEWCFx76eGvjrKSBuosS/o6pyV8xrtXm59ydyyVeq8UfvKMjN/Tb6 ULYNjlzFM0DsB0YWxi0zejbqjfzQ/T+FPaNtE0wKjyNLte0vv6s4oyI1BWVmKhyU6h1H 3DJ4uceLJ2Ac8pnxN5ED1ppAOxFxOXmTKJng/As9iFG5hoFnBw8NoKVe2IhNBdsBGCMz bELA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=cKKSlbSOnJFSA/6VTBUhlsvb3q7ZVH/03i5kObgQsk0=; fh=xoaP1/qmyEPzq9R51vMaZS6yh5pwCixcbcGH9XObUYE=; b=C4uWVZ4sW9iSa9/K9oC/EOTEPx2JBtS8pPGYetgtGwk73HWOCRRDs+GADK2wIZBs+D K+4gP1W6zVIyW/2N4my6TnxdW2mO4tMD2nbMT3b5s5cHSTcHlP4gsvC5Y2o+FO4DYAqJ 8Z8LMK/JJUmajmdrEd2HCm+1ABzPhj9RlxUva+G1rSEFwruXl8eaAwFVPJMOXEZkm77d o6XlJLTfBaB+FxBZII7BrZ9kw5tMtrlQ9HKu9giaQ/x08G6sxyuA11hQrGrZTFuSB5rm cmBx0+lusYj/0/A7YUSOtkafyC0Cvpu2w7d2w+xvKSRbG69zwpFnrM005QCP8csMsw2X KCJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id k198-20020a636fcf000000b005b3e61af56esi7817457pgc.121.2023.10.24.02.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 02:34:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 4EB2680C283E; Tue, 24 Oct 2023 02:34:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234170AbjJXJei (ORCPT <rfc822;a1648639935@gmail.com> + 26 others); Tue, 24 Oct 2023 05:34:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234175AbjJXJdt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 24 Oct 2023 05:33:49 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E083B10F6 for <linux-kernel@vger.kernel.org>; Tue, 24 Oct 2023 02:32:56 -0700 (PDT) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SF6Gf2ySWzrTwf; Tue, 24 Oct 2023 17:30:02 +0800 (CST) Received: from localhost.localdomain (10.50.163.32) 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.2507.31; Tue, 24 Oct 2023 17:32:53 +0800 From: Yicong Yang <yangyicong@huawei.com> To: <jonathan.cameron@huawei.com>, <will@kernel.org>, <mark.rutland@arm.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: <hejunhao3@huawei.com>, <prime.zeng@hisilicon.com>, <yangyicong@hisilicon.com>, <linuxarm@huawei.com> Subject: [PATCH 0/2] Minor fix and cleanup for hisi_pcie_pmu Date: Tue, 24 Oct 2023 17:29:52 +0800 Message-ID: <20231024092954.42297-1-yangyicong@huawei.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.50.163.32] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 24 Oct 2023 02:34:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780628946897476833 X-GMAIL-MSGID: 1780628946897476833 |
Series |
Minor fix and cleanup for hisi_pcie_pmu
|
|
Message
Yicong Yang
Oct. 24, 2023, 9:29 a.m. UTC
From: Yicong Yang <yangyicong@hisilicon.com>
This patchset includes 2 minor updates for the hisi_pcie_pmu:
- fix issue that we may touch others events in some case
- modify the event->cpu only on the success pmu::event_init()
Yicong Yang (2):
drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
drivers/perf: hisi_pcie: Initialize event->cpu only on success
drivers/perf/hisilicon/hisi_pcie_pmu.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Comments
On Tue, 24 Oct 2023 17:29:52 +0800, Yicong Yang wrote: > From: Yicong Yang <yangyicong@hisilicon.com> > > This patchset includes 2 minor updates for the hisi_pcie_pmu: > - fix issue that we may touch others events in some case > - modify the event->cpu only on the success pmu::event_init() > > Yicong Yang (2): > drivers/perf: hisi_pcie: Check the type first in pmu::event_init() > drivers/perf: hisi_pcie: Initialize event->cpu only on success > > [...] Applied to will (for-next/perf), thanks! [1/2] drivers/perf: hisi_pcie: Check the type first in pmu::event_init() https://git.kernel.org/will/c/6d7d51e88e21 [2/2] drivers/perf: hisi_pcie: Initialize event->cpu only on success https://git.kernel.org/will/c/868f8a709874 Cheers,