* [PATCH v4] arm64: defconfig: Enable STM protocol and source configs
@ 2024-10-21 9:03 Mao Jinlong
2024-10-21 15:17 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Mao Jinlong @ 2024-10-21 9:03 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Bjorn Andersson,
Geert Uytterhoeven, Dmitry Baryshkov, Krzysztof Kozlowski,
Neil Armstrong, Arnd Bergmann
Cc: Mao Jinlong, linux-arm-kernel, linux-kernel
COERSIGHT_STM config is enabled. Refer to Documentation/trace/stm.rst,
to make software trace sources go through STM(System Trace Module),
need to enable STP (System Trace Protocol) protocols and stm sources
configs. With COERSIGHT_STM config, protocol configs and stm source
configs, STM function will be fully functional.
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
---
Changes in v4:
- Remove Ftrace config.
Changes in v3:
- update commit message.
Changes in v2:
- select ftrace config explicitly.
arch/arm64/configs/defconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 5506dfaf1b5c..2079544f1b5b 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1564,6 +1564,11 @@ CONFIG_NVMEM_SNVS_LPGPR=y
CONFIG_NVMEM_SPMI_SDAM=m
CONFIG_NVMEM_SUNXI_SID=y
CONFIG_NVMEM_UNIPHIER_EFUSE=y
+CONFIG_STM_PROTO_BASIC=m
+CONFIG_STM_PROTO_SYS_T=m
+CONFIG_STM_DUMMY=m
+CONFIG_STM_SOURCE_CONSOLE=m
+CONFIG_STM_SOURCE_HEARTBEAT=m
CONFIG_FPGA=y
CONFIG_FPGA_MGR_ALTERA_CVP=m
CONFIG_FPGA_MGR_STRATIX10_SOC=m
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v4] arm64: defconfig: Enable STM protocol and source configs
2024-10-21 9:03 [PATCH v4] arm64: defconfig: Enable STM protocol and source configs Mao Jinlong
@ 2024-10-21 15:17 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-21 15:17 UTC (permalink / raw)
To: Mao Jinlong, Catalin Marinas, Will Deacon, Bjorn Andersson,
Geert Uytterhoeven, Dmitry Baryshkov, Neil Armstrong,
Arnd Bergmann
Cc: linux-arm-kernel, linux-kernel
On 21/10/2024 11:03, Mao Jinlong wrote:
> COERSIGHT_STM config is enabled. Refer to Documentation/trace/stm.rst,
> to make software trace sources go through STM(System Trace Module),
> need to enable STP (System Trace Protocol) protocols and stm sources
> configs. With COERSIGHT_STM config, protocol configs and stm source
> configs, STM function will be fully functional.
I still do not understand why we want it. Which boards, which SoCs use
it or will benefit from it?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-21 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-21 9:03 [PATCH v4] arm64: defconfig: Enable STM protocol and source configs Mao Jinlong
2024-10-21 15:17 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®