From patchwork Tue May 8 19:06:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Phillips X-Patchwork-Id: 10387447 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 25EFB602C2 for ; Tue, 8 May 2018 19:19:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8CE928F4F for ; Tue, 8 May 2018 19:19:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCFC528F56; Tue, 8 May 2018 19:19:53 +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 7CE0E28F4F for ; Tue, 8 May 2018 19:19:53 +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:Subject:To:From :Date: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=8jL3hq9oEREWo6BY5P62kkMHSBkUGGebDybVwEjDbE0=; b=qSQmNYXRwd4qlL cJVcI/z9uBKQx7tgi9TvOpWVylPGRgvWq8dpQl2dS8qdfhMy+ASJkZD5eTHEzT1AvzRUn7Wrz/55I f9h/DICMqtmA3pymuMd6dLdAE10dImhUl4PH6zs4bd538fDze0B7CdHheWZRDf3o01QQzvmqOmMeE YJ7u9qZRlPj7T1DrcCg1+rTnOdDpuG8Zt/uWDjUN1H46X/BThVTzTyAjycvJgqwLxlJ/gKaZ+pCDA 1PRAT0VT5mVMjNDgv4wfSW75LhlhUEGiYJhEnDoto04JT/NWeYLbmdvdMIYe3ibXvs9vVi/lxJdXF zRtACp0FHW1DPGn1xO/A==; 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 1fG89P-0001eo-Bk; Tue, 08 May 2018 19:19:51 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fG7x5-0004GR-K9 for linux-arm-kernel@lists.infradead.org; Tue, 08 May 2018 19:07:09 +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 3BB4F15BE; Tue, 8 May 2018 12:06:57 -0700 (PDT) Received: from dupont (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0D84C3F58C; Tue, 8 May 2018 12:06:56 -0700 (PDT) Date: Tue, 8 May 2018 14:06:55 -0500 From: Kim Phillips To: Mathieu Poirier Subject: [PATCH 4/4] coresight: remove CORESIGHT_LINKS_AND_SINKS dependencies Message-Id: <20180508140655.b6d065db6670669336e00db8@arm.com> Organization: Arm X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180508_120707_704791_7A5011D7 X-CRM114-Status: GOOD ( 16.01 ) 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, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Mike Rapoport , Eric Biederman , Andrew Morton , Robin Murphy , Todd Kjos 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 anymore, i.e., a source can be directly connected to a sink. As such the dependency is no longer needed. Suggested-by: Mathieu Poirier Cc: Alexander Shishkin Signed-off-by: Kim Phillips --- drivers/hwtracing/coresight/Kconfig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/hwtracing/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig index 09a682013ea2..f1e05fbef257 100644 --- a/drivers/hwtracing/coresight/Kconfig +++ b/drivers/hwtracing/coresight/Kconfig @@ -30,7 +30,7 @@ config CORESIGHT_LINKS_AND_SINKS config CORESIGHT_LINK_AND_SINK_TMC tristate "Coresight generic TMC driver" - depends on CORESIGHT_LINKS_AND_SINKS + depends on CORESIGHT help This enables support for the Trace Memory Controller driver. Depending on its configuration the device can act as a link (embedded @@ -43,7 +43,7 @@ config CORESIGHT_LINK_AND_SINK_TMC config CORESIGHT_SINK_TPIU tristate "Coresight generic TPIU driver" - depends on CORESIGHT_LINKS_AND_SINKS + depends on CORESIGHT help This enables support for the Trace Port Interface Unit driver, responsible for bridging the gap between the on-chip coresight @@ -57,7 +57,7 @@ config CORESIGHT_SINK_TPIU config CORESIGHT_SINK_ETBV10 tristate "Coresight ETBv1.0 driver" - depends on CORESIGHT_LINKS_AND_SINKS + depends on CORESIGHT help This enables support for the Embedded Trace Buffer version 1.0 driver that complies with the generic implementation of the component without @@ -68,7 +68,7 @@ config CORESIGHT_SINK_ETBV10 config CORESIGHT_SOURCE_ETM3X tristate "CoreSight Embedded Trace Macrocell 3.x driver" - depends on !ARM64 && CORESIGHT_LINKS_AND_SINKS + depends on CORESIGHT && !ARM64 help This driver provides support for processor ETM3.x and PTM1.x modules, which allows tracing the instructions that a processor is executing @@ -80,7 +80,7 @@ config CORESIGHT_SOURCE_ETM3X config CORESIGHT_SOURCE_ETM4X tristate "CoreSight Embedded Trace Macrocell 4.x driver" - depends on ARM64 && CORESIGHT_LINKS_AND_SINKS + depends on CORESIGHT && ARM64 help This driver provides support for the ETM4.x tracer module, tracing the instructions that a processor is executing. This is primarily useful @@ -92,7 +92,7 @@ config CORESIGHT_SOURCE_ETM4X config CORESIGHT_DYNAMIC_REPLICATOR tristate "CoreSight Programmable Replicator driver" - depends on CORESIGHT_LINKS_AND_SINKS + depends on CORESIGHT help This enables support for dynamic CoreSight replicator link driver. The programmable ATB replicator allows independent filtering of the @@ -104,7 +104,7 @@ config CORESIGHT_DYNAMIC_REPLICATOR config CORESIGHT_STM tristate "CoreSight System Trace Macrocell driver" depends on (ARM && !(CPU_32v3 || CPU_32v4 || CPU_32v4T)) || ARM64 - depends on STM && CORESIGHT_LINKS_AND_SINKS + depends on STM help This driver provides support for hardware assisted software instrumentation based tracing. This is primarily used for