From patchwork Fri May 18 01:20:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Phillips X-Patchwork-Id: 10408045 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 C335860247 for ; Fri, 18 May 2018 01:35:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0888287ED for ; Fri, 18 May 2018 01:35:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0D2F2880C; Fri, 18 May 2018 01:35:50 +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=unavailable 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 97BA3287ED for ; Fri, 18 May 2018 01:35:48 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=55YPDuRZ/L/2AmoPMXbu9bCQL9nxmVXDUcQGuccs03Q=; b=OgaSrtG9qkjiLhzFDeLxAQKuyL kAOtsgMLDLBm3+T+TYdB1DFnyLSksNEP8XhAdLhs23XxGvFuxw6Hwm/oKSpyll6fFkyhBhVbuk9B+ HYklmxilcJywNm21udhGsdLzagV1V4hY8Zj3Sn2LUFnIJNu2unmST2iUMqDjp1rgOxPjxTFGEuYZV vPRptyRoSa47A1xgmGSV8e+Jq0rL3y8PXd7LP4jBPcWJRH2Eo+g5dHIJFXitElAt5pQQunl2dYLCc QOuReRbPZqBtMEw7a9wMS9wd0PNRCVV9wfZKFrbBPlDpHPvmJvfjDESBTywXem+pJ8DguN5Ajl+4K /5/obnnw==; 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 1fJUIz-0000FY-9r; Fri, 18 May 2018 01:35:37 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJU57-0002fQ-Hc for linux-arm-kernel@lists.infradead.org; Fri, 18 May 2018 01:21:36 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B97881435; Thu, 17 May 2018 18:21:04 -0700 (PDT) Received: from localhost.localdomain (unknown [10.118.17.245]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B0C0C3F25D; Thu, 17 May 2018 18:21:03 -0700 (PDT) From: Kim Phillips To: Greg Kroah-Hartman , Mathieu Poirier Subject: [PATCH 1/6] coresight: remove CORESIGHT_LINKS_AND_SINKS dependencies and selections Date: Thu, 17 May 2018 20:20:19 -0500 Message-Id: <20180518012024.22645-1-kim.phillips@arm.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180517070643.GC13919@kroah.com> References: <20180517070643.GC13919@kroah.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180517_182117_631272_70DA427D X-CRM114-Status: GOOD ( 12.39 ) 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: Kefeng Wang , Kim Phillips , Geert Uytterhoeven , Alexander Shishkin , Oleg Nesterov , David Howells , Russell King , Pavel Tatashin , Thierry Reding , Rik van Riel , Eric Auger , Alex Williamson , Kirill Tkhai , Gargi Sharma , linux-arm-kernel@lists.infradead.org, Randy Dunlap , linux-kernel@vger.kernel.org, Mike Rapoport , Eric Biederman , Andrew Morton , Robin Murphy , Todd Kjos MIME-Version: 1.0 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 A coresight topology doesn't need to include links, i.e., a source can be directly connected to a sink. As such, selecting and/or depending on LINKS_AND_SINKS is no longer needed. Suggested-by: Mathieu Poirier Cc: Alexander Shishkin Signed-off-by: Kim Phillips --- drivers/hwtracing/coresight/Kconfig | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/hwtracing/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig index ef9cb3c164e1..83fb78651ef9 100644 --- a/drivers/hwtracing/coresight/Kconfig +++ b/drivers/hwtracing/coresight/Kconfig @@ -23,7 +23,6 @@ config CORESIGHT_LINKS_AND_SINKS config CORESIGHT_LINK_AND_SINK_TMC bool "Coresight generic TMC driver" - depends on CORESIGHT_LINKS_AND_SINKS help This enables support for the Trace Memory Controller driver. Depending on its configuration the device can act as a link (embedded @@ -33,7 +32,6 @@ config CORESIGHT_LINK_AND_SINK_TMC config CORESIGHT_SINK_TPIU bool "Coresight generic TPIU driver" - depends on CORESIGHT_LINKS_AND_SINKS help This enables support for the Trace Port Interface Unit driver, responsible for bridging the gap between the on-chip coresight @@ -44,7 +42,6 @@ config CORESIGHT_SINK_TPIU config CORESIGHT_SINK_ETBV10 bool "Coresight ETBv1.0 driver" - depends on CORESIGHT_LINKS_AND_SINKS help This enables support for the Embedded Trace Buffer version 1.0 driver that complies with the generic implementation of the component without @@ -53,7 +50,6 @@ config CORESIGHT_SINK_ETBV10 config CORESIGHT_SOURCE_ETM3X bool "CoreSight Embedded Trace Macrocell 3.x driver" depends on !ARM64 - select CORESIGHT_LINKS_AND_SINKS help This driver provides support for processor ETM3.x and PTM1.x modules, which allows tracing the instructions that a processor is executing @@ -63,7 +59,6 @@ config CORESIGHT_SOURCE_ETM3X config CORESIGHT_SOURCE_ETM4X bool "CoreSight Embedded Trace Macrocell 4.x driver" depends on ARM64 - select CORESIGHT_LINKS_AND_SINKS help This driver provides support for the ETM4.x tracer module, tracing the instructions that a processor is executing. This is primarily useful @@ -72,7 +67,6 @@ config CORESIGHT_SOURCE_ETM4X config CORESIGHT_DYNAMIC_REPLICATOR bool "CoreSight Programmable Replicator driver" - depends on CORESIGHT_LINKS_AND_SINKS help This enables support for dynamic CoreSight replicator link driver. The programmable ATB replicator allows independent filtering of the @@ -81,7 +75,6 @@ config CORESIGHT_DYNAMIC_REPLICATOR config CORESIGHT_STM bool "CoreSight System Trace Macrocell driver" depends on (ARM && !(CPU_32v3 || CPU_32v4 || CPU_32v4T)) || ARM64 - select CORESIGHT_LINKS_AND_SINKS select STM help This driver provides support for hardware assisted software