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: 46149 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 54FDE214BC for ; Fri, 20 Mar 2015 17:01:50 +0000 (UTC) Received: by wivz2 with SMTP id z2sf4177150wiv.1 for ; Fri, 20 Mar 2015 10:01:49 -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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=wi6R4g8UiBfLUOkE9RjDpEQApu5mrpMftyCd9oFtzrs=; b=TAQKotg5EtwW6rYJqvlvfKUxs6i9ry4o5hEZMKVMWcdDoc2oU3brRIwPCBSFHJx7RL vRTmh6Lqx5+NYPGzp9GFbmMv+zEU52/JKg1+OR5saenAwil+hTOkNsLP+/2d8l0v66io TBFX2ECAV+Jk6hY75OCH0YHaJk84HWDP6zvX9l5eKNMd7T9C+1HY6w1H5nKgh5n7L6c3 oyo0NiEKyP6MzH20BBwpbObjA9uHf+vFIgSzu4xYMX3J6Ws9yCDrOxd2Yp8EFou5Repf EyEleVDV1UZV12WMjmgv5xyAGfdFgE5U3hAQxKMLK9zCifcTar4xI2LkGZw+gyxZHkTp m8PQ== X-Gm-Message-State: ALoCoQnG8ZFdZyVDGi6GmruirRXppw/zR1wWOCCvOlCkME8yFvnbRkjgip21yc8wQV1ObZjxJBag X-Received: by 10.180.75.232 with SMTP id f8mr2981283wiw.0.1426870909673; Fri, 20 Mar 2015 10:01:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.7 with SMTP id w7ls124061law.96.gmail; Fri, 20 Mar 2015 10:01:49 -0700 (PDT) X-Received: by 10.152.203.225 with SMTP id kt1mr19994640lac.61.1426870909255; Fri, 20 Mar 2015 10:01:49 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id la6si2073933lac.52.2015.03.20.10.01.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2015 10:01:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by ladw1 with SMTP id w1so91828502lad.0 for ; Fri, 20 Mar 2015 10:01:49 -0700 (PDT) X-Received: by 10.112.64.193 with SMTP id q1mr74014466lbs.88.1426870909113; Fri, 20 Mar 2015 10:01:49 -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.35.133 with SMTP id h5csp170829lbj; Fri, 20 Mar 2015 10:01:48 -0700 (PDT) X-Received: by 10.50.66.198 with SMTP id h6mr15196291igt.35.1426870907528; Fri, 20 Mar 2015 10:01:47 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qe8si10410939pdb.99.2015.03.20.10.01.46; Fri, 20 Mar 2015 10:01:47 -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 S1752069AbbCTRBm (ORCPT + 27 others); Fri, 20 Mar 2015 13:01:42 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:34108 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbbCTRBj (ORCPT ); Fri, 20 Mar 2015 13:01:39 -0400 Received: by pacwe9 with SMTP id we9so114382170pac.1 for ; Fri, 20 Mar 2015 10:01:38 -0700 (PDT) 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 Cc: will.deacon@arm.com, gregkh@linuxfoundation.org, alexander.shishkin@linux.intel.com, linux-kernel@vger.kernel.org, peter.lachner@intel.com, norbert.schulz@intel.com, keven.boell@intel.com, yann.fouassier@intel.com, laurent.fert@intel.com, linux-api@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kaixu.xia@linaro.org, zhang.chunyan@linaro.org, mathieu.poirier@linaro.org 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 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.50 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 --- 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/