mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
feat(tc): enable tracing
Total Compute has ETE and TRBE tracing components and they have to be enabled to capture the execution trace of the processor. Signed-off-by: Davidson K <davidson.kumaresan@arm.com> Change-Id: I3c86c11be2c655a61ecefa3eb2e4e3951577a113
This commit is contained in:
parent
e537bcdedb
commit
59da207e2f
2 changed files with 53 additions and 0 deletions
44
fdts/tc.dts
44
fdts/tc.dts
|
@ -476,4 +476,48 @@
|
|||
};
|
||||
};
|
||||
|
||||
ete0 {
|
||||
compatible = "arm,embedded-trace-extension";
|
||||
cpu = <&CPU0>;
|
||||
};
|
||||
|
||||
ete1 {
|
||||
compatible = "arm,embedded-trace-extension";
|
||||
cpu = <&CPU1>;
|
||||
};
|
||||
|
||||
ete2 {
|
||||
compatible = "arm,embedded-trace-extension";
|
||||
cpu = <&CPU2>;
|
||||
};
|
||||
|
||||
ete3 {
|
||||
compatible = "arm,embedded-trace-extension";
|
||||
cpu = <&CPU3>;
|
||||
};
|
||||
|
||||
ete4 {
|
||||
compatible = "arm,embedded-trace-extension";
|
||||
cpu = <&CPU4>;
|
||||
};
|
||||
|
||||
ete5 {
|
||||
compatible = "arm,embedded-trace-extension";
|
||||
cpu = <&CPU5>;
|
||||
};
|
||||
|
||||
ete6 {
|
||||
compatible = "arm,embedded-trace-extension";
|
||||
cpu = <&CPU6>;
|
||||
};
|
||||
|
||||
ete7 {
|
||||
compatible = "arm,embedded-trace-extension";
|
||||
cpu = <&CPU7>;
|
||||
};
|
||||
|
||||
trbe0 {
|
||||
compatible = "arm,trace-buffer-extension";
|
||||
interrupts = <1 2 4>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -37,6 +37,15 @@ GICV3_SUPPORT_GIC600 := 1
|
|||
ENABLE_SVE_FOR_NS := 1
|
||||
ENABLE_SVE_FOR_SWD := 1
|
||||
|
||||
# enable trace buffer control registers access to NS by default
|
||||
ENABLE_TRBE_FOR_NS := 1
|
||||
|
||||
# enable trace system registers access to NS by default
|
||||
ENABLE_SYS_REG_TRACE_FOR_NS := 1
|
||||
|
||||
# enable trace filter control registers access to NS by default
|
||||
ENABLE_TRF_FOR_NS := 1
|
||||
|
||||
# Include GICv3 driver files
|
||||
include drivers/arm/gic/v3/gicv3.mk
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue