[Skiboot] [PATCH v2 1/5] skiboot/doc: Add documentation for trace-mode in imc.rst
Anju T Sudhakar
anju at linux.vnet.ibm.com
Wed Dec 12 17:15:41 AEDT 2018
Add documentation for IMC trace-mode in imc.rst.
Signed-off-by: Anju T Sudhakar <anju at linux.vnet.ibm.com>
---
doc/imc.rst | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/doc/imc.rst b/doc/imc.rst
index 3324aa36..40d262f0 100644
--- a/doc/imc.rst
+++ b/doc/imc.rst
@@ -44,6 +44,15 @@ sampling duration) fetches the counter data and accumulate to main memory.
Memory to accumulate counter data are refered from "PDBAR" (per-core scom)
and "LDBAR" per-thread spr.
+Trace mode of IMC:
+------------------
+
+POWER9 support two modes for IMC which are the Accumulation mode and
+Trace mode. In IMC Trace mode, event counted is fixed for cycles and on
+each overflow, hardware snapshots the program counter along with other
+details and writes into memory pointed by LDBAR. LDBAR has bits to
+indicate the IMC trace-mode.
+
OPAL APIs:
----------
--
2.17.1
More information about the Skiboot
mailing list