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 X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80FD7C433ED for ; Tue, 18 May 2021 07:30:03 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A7346117A for ; Tue, 18 May 2021 07:30:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A7346117A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=qumSKH7aS+U5tIhAmSWAAB9tqXxjBy8MAeK2ggQdln0=; b=AzPnP495cvAYltDszGxdpees7w Sxi6WrrusOOa8JEHdLH2+zgzBxV+6usx9PkFdpAUNJT859IatjQufrjDcfhvzefx3MA/CoYhe8f/l BK9JOBXSX6dmvciKB7Kf9MPqGdekFg8QACJOhOdReht6Yz10ujhny/LquFglGlj6h1sbaSn2LylVk yt2moxloseOBssWxdh96BCleTgpdcUV55fKXqIpMLemRvr37Xhx8OhM+hpC0BK5VCa0l5LURO6ANa /BJAubFdpyvXL2Izv3uXBMVvZBFGKXwVlExY+g1i534ogCyF+9Q2lX6/n7LdUDSkKl2wlU1Vxk7Tn k9mpHE6g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liu9T-00HLcI-QP; Tue, 18 May 2021 07:28:28 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liu5G-00HJlW-W0 for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 07:24:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=S/to8pNE8Jq95JEm8+HXMK0xDI/J+Py7WSxIqB689VE=; b=DToDASZT7erU3GNv92VJlZu+Md irAB8ypj9R90UV+dPFyL7xk8v8GxTuggJ5ghDMO5AaItLmjGqIKcrI6jj3cEA4SPS+lW3+kOAyIWF 2GsjXarZFfUAN8GfI8xt+/CLksIULi3Y/nqYUKVCEwqyOTjN1G04VbgXy1uDeLfzJxPVo8Dp6DWz8 dZql2/LUXpin0kltyF4r6CT2wLgS9o5Kd6AVGBtqdg0HcrPJBHNCNzqWsfPFZLxzu77pj8NpUYfIz HYuNPsVCJ0LPnrLlrq1GzX9zJ5JPejcPe07Tam536q5WQXN7tjdkXefImfo8Eae9m5+YMg0Sacyp7 l51vZIIw==; Received: from szxga05-in.huawei.com ([45.249.212.191]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liu5C-00EPN5-95 for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 07:24:05 +0000 Received: from dggems705-chm.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FknTN4yBrzQpjd; Tue, 18 May 2021 15:20:24 +0800 (CST) Received: from dggema757-chm.china.huawei.com (10.1.198.199) by dggems705-chm.china.huawei.com (10.3.19.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Tue, 18 May 2021 15:23:53 +0800 Received: from localhost.localdomain (10.69.192.56) 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, 18 May 2021 15:23:53 +0800 From: Qi Liu To: , , CC: , , , Subject: [PATCH 0/9] drivers/perf: Use general macro to simplify event attributes Date: Tue, 18 May 2021 15:23:39 +0800 Message-ID: <1621322628-9945-1-git-send-email-liuqi115@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggema757-chm.china.huawei.com (10.1.198.199) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_002402_561536_A0A93DBC X-CRM114-Status: UNSURE ( 7.43 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patchset apply 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: Remove redundant macro and functions drivers/perf: Remove redundant macro and functions in arm_smmuv3_pmu.c drivers/perf: Remove redundant macro and functions in qcom_l2_pmu.c drivers/perf: Remove redundant macro and functions in qcom_l3_pmu.c drivers/perf: Remove redundant macro and functions in xgene_pmu.c drivers/perf: Remove redundant macro and functions in fsl_imx8_ddr_perf.c drivers/perf: Remove redundant macro and functions in arm_dsu_pmu.c arm64: perf: Remove redundant macro and functions in perf_event.c arch/arm64/kernel/perf_event.c | 175 +++++----- drivers/perf/arm_dsu_pmu.c | 28 +- drivers/perf/arm_smmuv3_pmu.c | 33 +- drivers/perf/fsl_imx8_ddr_perf.c | 80 ++--- drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c | 22 +- drivers/perf/hisilicon/hisi_uncore_hha_pmu.c | 62 ++-- drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c | 34 +- drivers/perf/hisilicon/hisi_uncore_pa_pmu.c | 6 +- drivers/perf/hisilicon/hisi_uncore_pmu.c | 14 - drivers/perf/hisilicon/hisi_uncore_pmu.h | 2 - drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c | 10 +- drivers/perf/qcom_l2_pmu.c | 37 +- drivers/perf/qcom_l3_pmu.c | 30 +- drivers/perf/xgene_pmu.c | 475 +++++++++++++------------- include/linux/perf_event.h | 6 + kernel/events/core.c | 2 + 16 files changed, 450 insertions(+), 566 deletions(-) -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel