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: 10419015 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 63EF36053B for ; Tue, 22 May 2018 15:56:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51B2027D29 for ; Tue, 22 May 2018 15:56:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 460AC28C24; Tue, 22 May 2018 15:56:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C8BE527D29 for ; Tue, 22 May 2018 15:56:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=EJI0qmAQ61awIq6YSKvw3nOopETJkoCR3Symjb4/oHc=; b=KYP1RaU0/gci6/ wYENes5VLBZXg9PYECpDVRNkyfXrsjac3SiYixORy6WJlPyx3srWfW61JyAGq/MJMrhTi6dPZTuk1 I5WnC/uw8dR/sVrcJz11smVBP7Y9cQgrFy+lsg3lzwVL/97mx7TsLk3nvZ1AWCyGDDAikFcqVkZ+w OuedkKO7Le2xBDmSHdevpgio8DBXSb6zZa7U3dMFF+s9Cc0vZ/1zR9a91zBXKhkPC/6+HN7b6whyE qQoC1l1OJMEpxBMfr1GLkORyShn8icWH7++2zpdLqgMjz8wkd0dQ3Ru/6Xv3ll5mzeyJLNhfYZvgB hxdKiUrfzOkvNvAqnkQw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fL9dw-0000ME-2p; Tue, 22 May 2018 15:56:08 +0000 Received: from [45.249.212.32] (helo=huawei.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fL9dW-00007e-Me for linux-arm-kernel@lists.infradead.org; Tue, 22 May 2018 15:55:44 +0000 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: , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180522_085543_163064_862C6965 X-CRM114-Status: UNSURE ( 7.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Garry , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxarm@huawei.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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