linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] arm64: defconfig: Add Coresight as module
@ 2022-09-22 14:23 James Clark
  2022-09-22 14:24 ` [PATCH v2 1/1] " James Clark
  2022-09-29 17:53 ` [PATCH v2 0/1] " Catalin Marinas
  0 siblings, 2 replies; 3+ messages in thread
From: James Clark @ 2022-09-22 14:23 UTC (permalink / raw)
  To: coresight, catalin.marinas, linux-arm-kernel
  Cc: suzuki.poulose, mathieu.poirier, mike.leach, leo.yan, broonie,
	linux-kernel, James Clark, Will Deacon

I'm still leaving out CONFIG_CORESIGHT_SOURCE_ETM4X because it depends
on the outcome of the investigation into CONFIG_PID_IN_CONTEXTIDR, but
I think we should enable these ones for now and start getting some of
the benefits sooner.

Changes since v1:

 * Remove CONFIG_CORESIGHT_CTI_INTEGRATION_REGS=y which shouldn't be
   enabled by default

-----

As suggested by Catalin here's the change to add Coresight to defconfig.

Unfortunately I don't think we should add CONFIG_CORESIGHT_SOURCE_ETM4X
which builds a few files until [1] is merged because of the overhead
of CONFIG_PID_IN_CONTEXTIDR.

[1]: https://lore.kernel.org/lkml/20211021134530.206216-1-leo.yan@linaro.org/T/

applies to arm64/for-next/core (e99db032d186)

James Clark (1):
  arm64: defconfig: Add Coresight as module

 arch/arm64/configs/defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.28.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2 1/1] arm64: defconfig: Add Coresight as module
  2022-09-22 14:23 [PATCH v2 0/1] arm64: defconfig: Add Coresight as module James Clark
@ 2022-09-22 14:24 ` James Clark
  2022-09-29 17:53 ` [PATCH v2 0/1] " Catalin Marinas
  1 sibling, 0 replies; 3+ messages in thread
From: James Clark @ 2022-09-22 14:24 UTC (permalink / raw)
  To: coresight, catalin.marinas, linux-arm-kernel
  Cc: suzuki.poulose, mathieu.poirier, mike.leach, leo.yan, broonie,
	linux-kernel, James Clark, Will Deacon

Add Coresight to defconfig so that build errors are caught.
CONFIG_CORESIGHT_SOURCE_ETM4X is excluded because it depends on
CONFIG_PID_IN_CONTEXTIDR which has a performance cost.

Signed-off-by: James Clark <james.clark@arm.com>
---
 arch/arm64/configs/defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index ef3467092ded..d699933cab45 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1340,4 +1340,12 @@ CONFIG_DEBUG_FS=y
 # CONFIG_SCHED_DEBUG is not set
 # CONFIG_DEBUG_PREEMPT is not set
 # CONFIG_FTRACE is not set
+CONFIG_CORESIGHT=m
+CONFIG_CORESIGHT_LINK_AND_SINK_TMC=m
+CONFIG_CORESIGHT_CATU=m
+CONFIG_CORESIGHT_SINK_TPIU=m
+CONFIG_CORESIGHT_SINK_ETBV10=m
+CONFIG_CORESIGHT_STM=m
+CONFIG_CORESIGHT_CPU_DEBUG=m
+CONFIG_CORESIGHT_CTI=m
 CONFIG_MEMTEST=y
-- 
2.28.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 0/1] arm64: defconfig: Add Coresight as module
  2022-09-22 14:23 [PATCH v2 0/1] arm64: defconfig: Add Coresight as module James Clark
  2022-09-22 14:24 ` [PATCH v2 1/1] " James Clark
@ 2022-09-29 17:53 ` Catalin Marinas
  1 sibling, 0 replies; 3+ messages in thread
From: Catalin Marinas @ 2022-09-29 17:53 UTC (permalink / raw)
  To: James Clark, coresight, linux-arm-kernel
  Cc: Will Deacon, suzuki.poulose, broonie, linux-kernel, leo.yan,
	mathieu.poirier, mike.leach

On Thu, 22 Sep 2022 15:23:59 +0100, James Clark wrote:
> I'm still leaving out CONFIG_CORESIGHT_SOURCE_ETM4X because it depends
> on the outcome of the investigation into CONFIG_PID_IN_CONTEXTIDR, but
> I think we should enable these ones for now and start getting some of
> the benefits sooner.
> 
> Changes since v1:
> 
> [...]

Applied to arm64 (for-next/defconfig), thanks!

[1/1] arm64: defconfig: Add Coresight as module
      https://git.kernel.org/arm64/c/d56f66d2bd4a

-- 
Catalin


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-29 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 14:23 [PATCH v2 0/1] arm64: defconfig: Add Coresight as module James Clark
2022-09-22 14:24 ` [PATCH v2 1/1] " James Clark
2022-09-29 17:53 ` [PATCH v2 0/1] " Catalin Marinas

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).