From patchwork Tue Nov 14 12:27:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu YiPing X-Patchwork-Id: 118873 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2983587qgn; Tue, 14 Nov 2017 04:30:55 -0800 (PST) X-Google-Smtp-Source: AGs4zMa4qNQHyO09GDAFlAF9byWluLTA2VRzBdQPt8o+9oobKvbQPkDf3DYCKKhdAiwXESo3lzCI X-Received: by 10.84.238.9 with SMTP id u9mr12588598plk.112.1510662655473; Tue, 14 Nov 2017 04:30:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510662655; cv=none; d=google.com; s=arc-20160816; b=c5/owahUwVr78ScvwFOMsXOS/QV2VFfUw7nQJGvRDk/AhVG443falwPdnMW1VRg1oK wok6TvXQ9GP4JtsBS88osF1Kh22RAscl77Sby/l6r/+/lpjy1UH64imibuHQ6tRRnBeW Kyk8ex3D8MFminJCH5SAavUNXUVeOAXRrYgD5ogE4HvA1TvcWKmLWrwzqOyQ33BGhLHZ qzXJxihfSsd1zemHfAFfTWICYqpolQruigN3B11eV+7L5W/XNeQSbIJZKTloAoCYPg/I UpylkLqS5br5rXztUHQuK74mS9dSDzV7xAEZcNXOmvsyJwJ97lsSIVsbsBZpl3BXqWTB 29ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=wUKgwACJ8cSMWNnqhNHN4roP9hBMec+31Jma3RVhVFw=; b=i2mu9xtV2FFUDsZGqc+OXIX8zOW95t9SXomB5xDoKCYt3g51Zx8As6FHw9ymk4Ccbo fZMWWGCHZzW0fqOfAcDoezkmeF4Xhueltz46jrQja82Kce8NwK4lNATrsmG14yqVeM80 OZuxvidYf1HYGKLwJwsAzz7MvvZ6zv27oEWn3dBQ/1jMQIz6nuygGye/27QcowBWxXUp K2RcOdUnKJuDRatfn7VZdSApR6OsO3hXciAPdxghR1Z84R7vG/Dekv9p6mmtVC69Z5uX /XmXJHTcVN3VflwBdUvE68yujl/LRrchYx99znO2wXq0Pn2maIh2J/NvVI5rco46g8qu gKrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si8431305plk.128.2017.11.14.04.30.55; Tue, 14 Nov 2017 04:30:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754875AbdKNMaw (ORCPT + 27 others); Tue, 14 Nov 2017 07:30:52 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:10538 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753186AbdKNMao (ORCPT ); Tue, 14 Nov 2017 07:30:44 -0500 Received: from 172.30.72.58 (EHLO DGGEMS414-HUB.china.huawei.com) ([172.30.72.58]) by dggrg05-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DKX85464; Tue, 14 Nov 2017 20:29:10 +0800 (CST) Received: from vm167-7.huawei.com (10.177.167.7) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.361.1; Tue, 14 Nov 2017 20:28:00 +0800 From: Xu YiPing To: , , , , , , , , , , CC: , Subject: [PATCH] arm64: perf: remove duplicated and unsupported events for Cortex-A73 Date: Tue, 14 Nov 2017 20:27:59 +0800 Message-ID: <1510662479-9550-1-git-send-email-xuyiping@hisilicon.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.177.167.7] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.5A0AE197.0105, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 91a7bcc7c5a78b697e5ffbe35ab77593 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org bus access read/write events are not supported in A73, and the definition is duplicated, so delete it. Signed-off-by: Xu YiPing --- arch/arm64/kernel/perf_event.c | 6 ------ 1 file changed, 6 deletions(-) -- 2.7.4 diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c index 9eaef51..3affca3 100644 --- a/arch/arm64/kernel/perf_event.c +++ b/arch/arm64/kernel/perf_event.c @@ -262,12 +262,6 @@ static const unsigned armv8_a73_perf_cache_map[PERF_COUNT_HW_CACHE_MAX] [C(L1D)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_RD, [C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_L1D_CACHE_WR, - - [C(NODE)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_BUS_ACCESS_RD, - [C(NODE)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_BUS_ACCESS_WR, - - [C(NODE)][C(OP_READ)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_BUS_ACCESS_RD, - [C(NODE)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_BUS_ACCESS_WR, }; static const unsigned armv8_thunder_perf_cache_map[PERF_COUNT_HW_CACHE_MAX]