From patchwork Tue May 22 15:54:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 136573 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1808272lji; Tue, 22 May 2018 08:55:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqYOdk8pAxlPh7Es91yxXtEkX1m1TA3D5+Ftkf2YMDRDapTFzlnUlPOAR4hae+3InWOlb3I X-Received: by 2002:a65:5a0d:: with SMTP id y13-v6mr19900681pgs.15.1527004530458; Tue, 22 May 2018 08:55:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527004530; cv=none; d=google.com; s=arc-20160816; b=oNYXbFEBGvppLF3fuJYpT9PcoRdBoFQ9gYQJh/GTuTFBiKRsWsc3+cBpx++dwJYc7i RdSLH0PzXfoWZjsA7tQIWThsE/IKcs8a6y/D5cGeZtOVs7kX9AVSHsPiOPKXEdWHwbNj JkAQBqSeW12xBDQrFalsSTmyURQlgHmdxro0lndW8A6GVoqEary0AuA7m1aF3iSaGEys yqp2bmrvmuz5x3LdO7/z/rDrImD7VTvFdPM7NcCPbZ2w4Xl/wcjV7PtTQkQtkpx13mXH 31WF1gEJ3FvHxRL2zpdp+90OU5lPnpebDO46JvUUZ6lpHqelN75uj0BEZYqKXXpA5NJT cAtA== 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=RFlZ5+TIgJ7refU7C4l6McUCULugj22N2+SvZ/nfzc8=; b=CUo8OBJkzS5cxSC2CFfsFXevM/+vRY4scnSWw+92EimjbAkxFoayrCy4NQ8ys72tdD yvCjgXSgcsIajFJCES3S/BdHdU31FrXx7AJZBqkc7U/SP+qicceMJVFVwOv06GpyPq/N lUGu1pryME4Q0PdJ8JwhnB/X1ebqotfDQDwpA9Pp8ORjDnoCjRu1R1V6mx68Nfwu6sTy D8eO/HM5taWZKQEyuxS5g932oh7UAfScIjkf491321HKNlMLKwMMsOxgaAL2atIMLCVc H6Uf0psFsXVlK2h58lcfRcOpaNY2vHx1tagt1Fq2VCfHaJVludEgzM4wBn6tLsIwdU1r JTSA== 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 bf1-v6si56801plb.484.2018.05.22.08.55.30; Tue, 22 May 2018 08:55:30 -0700 (PDT) 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 S1751453AbeEVPz1 (ORCPT + 30 others); Tue, 22 May 2018 11:55:27 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:38652 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751196AbeEVPz0 (ORCPT ); Tue, 22 May 2018 11:55:26 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 8D2509BF6273D; Tue, 22 May 2018 23:55:22 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.382.0; Tue, 22 May 2018 23:55:15 +0800 From: John Garry To: , CC: , , , John Garry Subject: [PATCH] drivers/perf: Remove ARM_SPE_PMU explicit PERF_EVENTS dependency Date: Tue, 22 May 2018 23:54:04 +0800 Message-ID: <1527004444-239462-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit bddb9b68d3fb ("drivers/perf: commonise PERF_EVENTS dependency"), all perf drivers depend on PERF_EVENTS config under a common menu. Config ARM_SPE_PMU still declares explicitly a dependency on PERF_EVENTS, which is unneeded, so remove it. Signed-off-by: John Garry -- 1.9.1 Acked-by: Mark Rutland diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 28bb5a0..90ce4da 100644 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@ -94,7 +94,7 @@ config XGENE_PMU config ARM_SPE_PMU tristate "Enable support for the ARMv8.2 Statistical Profiling Extension" - depends on PERF_EVENTS && ARM64 + depends on ARM64 help Enable perf support for the ARMv8.2 Statistical Profiling Extension, which provides periodic sampling of operations in