Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3836769pxj; Mon, 7 Jun 2021 23:09:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhZI/fwN5ur2nt1Hq/1pHq3DxWtQNmLnPf6e1Poxkhr6RMmGYcZnbbMBrXeUlezxpYX1EN X-Received: by 2002:a17:906:f854:: with SMTP id ks20mr21299525ejb.67.1623132572784; Mon, 07 Jun 2021 23:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623132572; cv=none; d=google.com; s=arc-20160816; b=HdPveP9FVuxwAfFr8vCY0f3YFUjQhC0r66xL7pFBnS/6UKdQwfziHJK/ZNm7fY5Jg8 eAmkBx1prgi1UqhI0pjvTr11vlYitbi14GDrtysEM/44Sco8qcsJbo681m1MMmDjYTpy rX3TfIrxloYK2r61209rSmQ6WkpBasVdQxXToQQGZhoGyb0k922y1ZFywJemiXcg5Wa4 iHrKOtEqOGmod4QR4fnMDCYd8YfDMbvemDD0c6QZ/rr2hr8Ik9XoU7/ddaRpJ9k4XGlx y6/gNMKvCr40iYW2fn+T80VHZB0rklMGfllIsS+XRKvu8bHyhacwXh1/kOcfB55Sj6h+ jy+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=eaMQD8K/JqJJit9qy9U6M/XYbOwbrrFDRu0BwxTxduM=; b=FZbb1sYrhGnaen+U7iGzhVHgSg5BLJQqdCHlKWd+ofklI78RA5P6KC4o618LSWXr8z hwfYVs7oviRKarZ9ZGRqVfl5DI4iHpO3gaKsDsgsLazBzduo5ptzi9HHtbCRJ2QOBY/p 79ms+5TOFCTkk895IGp6jJ1jG+YZbJvHfNogrqWTNBi+BzeaXPxBwLkGiqNT9QbUZAAz AA9PdJaOOHZbBpS1o+wklCoG6MDGW7AgeVYdkr5YUJSMlRmnzkuTma6bXGP8bMrxds4O kBTZixm2xgcjDpMDWC+A4hpbVBD/J8NbyIjgzaHLJvYkHpiepAz39CZoQ9R6hV2KNWDg cOcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m13si9607834edc.52.2021.06.07.23.09.09; Mon, 07 Jun 2021 23:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229923AbhFHGJr (ORCPT + 99 others); Tue, 8 Jun 2021 02:09:47 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:5280 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbhFHGJq (ORCPT ); Tue, 8 Jun 2021 02:09:46 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4FzfmQ2p5zz1BK3r; Tue, 8 Jun 2021 14:03:02 +0800 (CST) Received: from dggema757-chm.china.huawei.com (10.1.198.199) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 14:07:49 +0800 Received: from [127.0.0.1] (10.69.38.203) by dggema757-chm.china.huawei.com (10.1.198.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 8 Jun 2021 14:07:49 +0800 Subject: Re: [PATCH v3 0/9] drivers/perf: Use general macro to simplify event attributes To: , CC: References: <1623123201-45634-1-git-send-email-liuqi115@huawei.com> From: "liuqi (BA)" Message-ID: Date: Tue, 8 Jun 2021 14:07:48 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <1623123201-45634-1-git-send-email-liuqi115@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.69.38.203] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggema757-chm.china.huawei.com (10.1.198.199) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Will, Please ignore this patchset, as I forget to add changelog. I'll resend this latter. Thanks, Qi On 2021/6/8 11:33, Qi Liu wrote: > This patchset applies a general EVENT_ATTR_ID to simplify event > attributes in many PMU drivers. > > Qi Liu (9): > perf: Add EVENT_ATTR_ID to simplify event attributes > drivers/perf: hisi: Simplify EVENT ATTR macro in HiSilicon PMU driver > drivers/perf: Simplify EVENT ATTR macro in SMMU PMU driver > drivers/perf: Simplify EVENT ATTR macro in qcom_l2_pmu.c > drivers/perf: Simplify EVENT ATTR macro in qcom_l3_pmu.c > drivers/perf: Simplify EVENT ATTR macro in xgene_pmu.c > drivers/perf: Simplify EVENT ATTR macro in fsl_imx8_ddr_perf.c > drivers/perf: Simpilfy EVENT ATTR macro in arm_dsu_pmu.c > arm64: perf: Simplify EVENT ATTR macro in perf_event.c > > arch/arm64/kernel/perf_event.c | 5 +---- > drivers/perf/arm_dsu_pmu.c | 2 +- > drivers/perf/arm_smmuv3_pmu.c | 7 ++----- > drivers/perf/fsl_imx8_ddr_perf.c | 7 ++----- > drivers/perf/hisilicon/hisi_uncore_pmu.c | 7 +++---- > drivers/perf/hisilicon/hisi_uncore_pmu.h | 2 +- > drivers/perf/qcom_l2_pmu.c | 7 ++----- > drivers/perf/qcom_l3_pmu.c | 5 +---- > drivers/perf/xgene_pmu.c | 11 ++++------- > include/linux/perf_event.h | 6 ++++++ > 10 files changed, 23 insertions(+), 36 deletions(-) >