From patchwork Mon Mar 30 20:13:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 46536 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A5E14218BE for ; Mon, 30 Mar 2015 20:14:28 +0000 (UTC) Received: by labtp8 with SMTP id tp8sf2472546lab.2 for ; Mon, 30 Mar 2015 13:14:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=npUySVjwPAcTyAHKJd17xcuSaRVfmppnDrszPv/lfD8=; b=L+AvidND44se5AngnLjPpxeoZ+HTrvsNGJJDatc3NqF8ahBHVfqaM/aBhbQnc/yApm NUwUuORsWvIu7GWl6XIp4DeqDAO94oLTxplzx/IotlOOKpidhx/AkZBeo5DAyciwgjaR /Y6v8nc6k+Ei4G2CWLkbDHBFggTcflC+/iA8tEqQiP2ciEo3CZdqxENmmQdqxC6an51x QeO4AH9qqJNZPyn6+b6tps7aqlfOiLXJOsGAfNs8XIaBrpuRC2XRZ0QmrdhlK6JTCXUw diEtn15M4sHPah+kFb63uPkOwcbb2/EQNBLhdVUN0RFNU+DdbvGOpEiYJly7COrqp/2L gzQw== X-Gm-Message-State: ALoCoQnnoLEVMlVqI58OkoK6ixYvSw3KjIRRZ0iiVj5jurMrZ2IP/Lx/cu95DKaxoVXCHRfLb9Rw X-Received: by 10.112.166.164 with SMTP id zh4mr4854241lbb.20.1427746467696; Mon, 30 Mar 2015 13:14:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.4 with SMTP id ls4ls443162lac.73.gmail; Mon, 30 Mar 2015 13:14:27 -0700 (PDT) X-Received: by 10.152.2.232 with SMTP id 8mr28138110lax.8.1427746467271; Mon, 30 Mar 2015 13:14:27 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id hh3si4070253lbb.16.2015.03.30.13.14.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 13:14:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by lahp7 with SMTP id p7so93836940lah.2 for ; Mon, 30 Mar 2015 13:14:27 -0700 (PDT) X-Received: by 10.152.19.199 with SMTP id h7mr28895017lae.32.1427746467053; Mon, 30 Mar 2015 13:14:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp1366452lbq; Mon, 30 Mar 2015 13:14:26 -0700 (PDT) X-Received: by 10.70.134.234 with SMTP id pn10mr61180193pdb.144.1427746463447; Mon, 30 Mar 2015 13:14:23 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ip9si4685332pbc.136.2015.03.30.13.14.22; Mon, 30 Mar 2015 13:14:23 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754259AbbC3UOP (ORCPT + 27 others); Mon, 30 Mar 2015 16:14:15 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:34134 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754194AbbC3UOD (ORCPT ); Mon, 30 Mar 2015 16:14:03 -0400 Received: by pdbni2 with SMTP id ni2so186104442pdb.1 for ; Mon, 30 Mar 2015 13:14:02 -0700 (PDT) X-Received: by 10.70.34.129 with SMTP id z1mr60588608pdi.113.1427746442642; Mon, 30 Mar 2015 13:14:02 -0700 (PDT) Received: from t430.cg.shawcable.net ([184.64.168.246]) by mx.google.com with ESMTPSA id jy9sm11549978pbc.31.2015.03.30.13.14.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2015 13:14:01 -0700 (PDT) From: Mathieu Poirier To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, zhang.chunyan@linaro.org, kaixu.xia@linaro.org, mathieu.poirier@linaro.org Subject: [PATCH 8/8] coresight: moving to new "hwtracing" directory Date: Mon, 30 Mar 2015 14:13:41 -0600 Message-Id: <1427746421-31360-9-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427746421-31360-1-git-send-email-mathieu.poirier@linaro.org> References: <1427746421-31360-1-git-send-email-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mathieu.poirier@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- 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 1de6afa8ee51..4bcaaf950cb9 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/