From patchwork Fri Mar 20 17:01:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 6058471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 76F2A9F318 for ; Fri, 20 Mar 2015 17:04:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 60D5220520 for ; Fri, 20 Mar 2015 17:04:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 448AF204EB for ; Fri, 20 Mar 2015 17:04:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YZ0JH-0003AU-Pd; Fri, 20 Mar 2015 17:02:11 +0000 Received: from mail-pd0-f179.google.com ([209.85.192.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YZ0J6-0002vS-7d for linux-arm-kernel@lists.infradead.org; Fri, 20 Mar 2015 17:02:03 +0000 Received: by pdbcz9 with SMTP id cz9so113755091pdb.3 for ; Fri, 20 Mar 2015 10:01:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4EiIJBosEEsvwBtJERZGwkzjUA343w1MvQkxdvdjyPU=; b=bFVtyosfBTj2qKikNdQ6+HAhFYTT2/e8qA7lJ/DrYFdZvJipHOyTQVnajVHM5JF3mH D/lyII5JoKorB57Cg2DcdgO0aPFusRb6PTewIiGzVw+dpvE7AK3Hf4PZwr+4B0efOUAa ucEwvk4PAA3OFTJa23AfW7v9tAndGQuqahyzbvHOZZD/RM0dnYnw5sZNtK0B+y+lp50E CAGaF1Yz+T//jqZCkfPJP8CYATBK722mqbetxKpkTLPIstLjAOew8esFcayf8/fp9uyu zHvZDSvXUU708lkPWLfOxH2kimni+01pf4Zpy538FQbmCjjdvfwkzAW2Jaz5u6xGp7Ts Fb4A== X-Gm-Message-State: ALoCoQmpbMkzCJKtYwJCLBIcSswu1UrDqDWMUlyfi5XP95KCfqA3BUyzuiuywWFQE2dHZ5Ip4xP0 X-Received: by 10.70.126.225 with SMTP id nb1mr189902813pdb.40.1426870898685; Fri, 20 Mar 2015 10:01:38 -0700 (PDT) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id j4sm8962901pdk.76.2015.03.20.10.01.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Mar 2015 10:01:37 -0700 (PDT) From: Mathieu Poirier To: linux@arm.linux.org.uk, catalin.marinas@arm.com Subject: [PATCH v2] coresight: moving to new "hwtracing" directory Date: Fri, 20 Mar 2015 11:01:23 -0600 Message-Id: <1426870883-12169-1-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150320_100200_358335_32134ABA X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: mathieu.poirier@linaro.org, norbert.schulz@intel.com, alexander.shishkin@linux.intel.com, gregkh@linuxfoundation.org, will.deacon@arm.com, linux-kernel@vger.kernel.org, zhang.chunyan@linaro.org, keven.boell@intel.com, laurent.fert@intel.com, yann.fouassier@intel.com, linux-api@vger.kernel.org, peter.lachner@intel.com, linux-arm-kernel@lists.infradead.org, kaixu.xia@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Keeping drivers related to HW tracing on ARM, i.e coresight, under "drivers/coresight" doesn't make sense when other architectures start rolling out technologies of the same nature. As such creating a new "drivers/hwtracing" directory where all drivers of the same kind can reside, reducing namespace pollution under "drivers/". Signed-off-by: Mathieu Poirier --- Change for v2: - generated patch with -M option --- MAINTAINERS | 2 +- arch/arm/Kconfig.debug | 2 +- arch/arm64/Kconfig.debug | 2 +- drivers/Makefile | 2 +- drivers/{ => hwtracing}/coresight/Kconfig | 0 drivers/{ => hwtracing}/coresight/Makefile | 0 drivers/{ => hwtracing}/coresight/coresight-etb10.c | 0 drivers/{ => hwtracing}/coresight/coresight-etm-cp14.c | 0 drivers/{ => hwtracing}/coresight/coresight-etm.h | 0 drivers/{ => hwtracing}/coresight/coresight-etm3x.c | 0 drivers/{ => hwtracing}/coresight/coresight-funnel.c | 0 drivers/{ => hwtracing}/coresight/coresight-priv.h | 0 drivers/{ => hwtracing}/coresight/coresight-replicator.c | 0 drivers/{ => hwtracing}/coresight/coresight-tmc.c | 0 drivers/{ => hwtracing}/coresight/coresight-tpiu.c | 0 drivers/{ => hwtracing}/coresight/coresight.c | 0 drivers/{ => hwtracing}/coresight/of_coresight.c | 0 17 files changed, 4 insertions(+), 4 deletions(-) rename drivers/{ => hwtracing}/coresight/Kconfig (100%) rename drivers/{ => hwtracing}/coresight/Makefile (100%) rename drivers/{ => hwtracing}/coresight/coresight-etb10.c (100%) rename drivers/{ => hwtracing}/coresight/coresight-etm-cp14.c (100%) rename drivers/{ => hwtracing}/coresight/coresight-etm.h (100%) rename drivers/{ => hwtracing}/coresight/coresight-etm3x.c (100%) rename drivers/{ => hwtracing}/coresight/coresight-funnel.c (100%) rename drivers/{ => hwtracing}/coresight/coresight-priv.h (100%) rename drivers/{ => hwtracing}/coresight/coresight-replicator.c (100%) rename drivers/{ => hwtracing}/coresight/coresight-tmc.c (100%) rename drivers/{ => hwtracing}/coresight/coresight-tpiu.c (100%) rename drivers/{ => hwtracing}/coresight/coresight.c (100%) rename drivers/{ => hwtracing}/coresight/of_coresight.c (100%) diff --git a/drivers/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig similarity index 100% rename from drivers/coresight/Kconfig rename to drivers/hwtracing/coresight/Kconfig diff --git a/drivers/coresight/Makefile b/drivers/hwtracing/coresight/Makefile similarity index 100% rename from drivers/coresight/Makefile rename to drivers/hwtracing/coresight/Makefile diff --git a/drivers/coresight/coresight-etb10.c b/drivers/hwtracing/coresight/coresight-etb10.c similarity index 100% rename from drivers/coresight/coresight-etb10.c rename to drivers/hwtracing/coresight/coresight-etb10.c diff --git a/drivers/coresight/coresight-etm-cp14.c b/drivers/hwtracing/coresight/coresight-etm-cp14.c similarity index 100% rename from drivers/coresight/coresight-etm-cp14.c rename to drivers/hwtracing/coresight/coresight-etm-cp14.c diff --git a/drivers/coresight/coresight-etm.h b/drivers/hwtracing/coresight/coresight-etm.h similarity index 100% rename from drivers/coresight/coresight-etm.h rename to drivers/hwtracing/coresight/coresight-etm.h diff --git a/drivers/coresight/coresight-etm3x.c b/drivers/hwtracing/coresight/coresight-etm3x.c similarity index 100% rename from drivers/coresight/coresight-etm3x.c rename to drivers/hwtracing/coresight/coresight-etm3x.c diff --git a/drivers/coresight/coresight-funnel.c b/drivers/hwtracing/coresight/coresight-funnel.c similarity index 100% rename from drivers/coresight/coresight-funnel.c rename to drivers/hwtracing/coresight/coresight-funnel.c diff --git a/drivers/coresight/coresight-priv.h b/drivers/hwtracing/coresight/coresight-priv.h similarity index 100% rename from drivers/coresight/coresight-priv.h rename to drivers/hwtracing/coresight/coresight-priv.h diff --git a/drivers/coresight/coresight-replicator.c b/drivers/hwtracing/coresight/coresight-replicator.c similarity index 100% rename from drivers/coresight/coresight-replicator.c rename to drivers/hwtracing/coresight/coresight-replicator.c diff --git a/drivers/coresight/coresight-tmc.c b/drivers/hwtracing/coresight/coresight-tmc.c similarity index 100% rename from drivers/coresight/coresight-tmc.c rename to drivers/hwtracing/coresight/coresight-tmc.c diff --git a/drivers/coresight/coresight-tpiu.c b/drivers/hwtracing/coresight/coresight-tpiu.c similarity index 100% rename from drivers/coresight/coresight-tpiu.c rename to drivers/hwtracing/coresight/coresight-tpiu.c diff --git a/drivers/coresight/coresight.c b/drivers/hwtracing/coresight/coresight.c similarity index 100% rename from drivers/coresight/coresight.c rename to drivers/hwtracing/coresight/coresight.c diff --git a/drivers/coresight/of_coresight.c b/drivers/hwtracing/coresight/of_coresight.c similarity index 100% rename from drivers/coresight/of_coresight.c rename to drivers/hwtracing/coresight/of_coresight.c diff --git a/MAINTAINERS b/MAINTAINERS index 0e1abe8cc684..bc5d53ba1197 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -953,7 +953,7 @@ ARM/CORESIGHT FRAMEWORK AND DRIVERS M: Mathieu Poirier L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained -F: drivers/coresight/* +F: drivers/hwtracing/coresight/* F: Documentation/trace/coresight.txt F: Documentation/devicetree/bindings/arm/coresight.txt F: Documentation/ABI/testing/sysfs-bus-coresight-devices-* diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 8d14ad4e1db0..8b0183a9a300 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1610,6 +1610,6 @@ config DEBUG_SET_MODULE_RONX against certain classes of kernel exploits. If in doubt, say "N". -source "drivers/coresight/Kconfig" +source "drivers/hwtracing/coresight/Kconfig" endmenu diff --git a/arch/arm64/Kconfig.debug b/arch/arm64/Kconfig.debug index 5b2ffd8e6cdb..d6285ef9b5f9 100644 --- a/arch/arm64/Kconfig.debug +++ b/arch/arm64/Kconfig.debug @@ -89,6 +89,6 @@ config DEBUG_ALIGN_RODATA If in doubt, say N -source "drivers/coresight/Kconfig" +source "drivers/hwtracing/coresight/Kconfig" endmenu diff --git a/drivers/Makefile b/drivers/Makefile index 527a6da8d539..46d2554be404 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -163,5 +163,5 @@ obj-$(CONFIG_POWERCAP) += powercap/ obj-$(CONFIG_MCB) += mcb/ obj-$(CONFIG_RAS) += ras/ obj-$(CONFIG_THUNDERBOLT) += thunderbolt/ -obj-$(CONFIG_CORESIGHT) += coresight/ +obj-$(CONFIG_CORESIGHT) += hwtracing/coresight/ obj-$(CONFIG_ANDROID) += android/