* [PATCH v2] coresight: moving to new "hwtracing" directory
@ 2015-03-20 17:01 Mathieu Poirier
2015-03-26 22:22 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Poirier @ 2015-03-20 17:01 UTC (permalink / raw)
To: linux-arm-kernel
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 <mathieu.poirier@linaro.org>
---
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/MAINTAINERS b/MAINTAINERS
index 0e1abe8cc684..bc5d53ba1197 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -953,7 +953,7 @@ ARM/CORESIGHT FRAMEWORK AND DRIVERS
M: Mathieu Poirier <mathieu.poirier@linaro.org>
L: linux-arm-kernel at 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/
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
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] coresight: moving to new "hwtracing" directory
2015-03-20 17:01 [PATCH v2] coresight: moving to new "hwtracing" directory Mathieu Poirier
@ 2015-03-26 22:22 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-03-26 22:22 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Mar 20, 2015 at 11:01:23AM -0600, Mathieu Poirier wrote:
> 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 <mathieu.poirier@linaro.org>
> ---
> 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%)
I'm fine with this, but it doesn't apply to my tree, so I can't add it
:(
Fix it up and resend?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-26 22:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-20 17:01 [PATCH v2] coresight: moving to new "hwtracing" directory Mathieu Poirier
2015-03-26 22:22 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).