summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2016-06-02 09:54:57 +0800
committerAlex Shi <alex.shi@linaro.org>2016-06-02 09:54:57 +0800
commit2ea80ad4205178dcea1152c0a603f23531c5412c (patch)
tree98a470ee6e16fb0de4c403c4c4af942d6af5760c /include/uapi/linux
parent510d0a3f869611dcd001a2b7627fa5dded4579af (diff)
parent4a192f60855a84820d361ec58eda0d043faab6f6 (diff)
Merge remote-tracking branch 'v4.4/topic/coresight' into linux-linaro-lsk-v4.4
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/coresight-stm.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/uapi/linux/coresight-stm.h b/include/uapi/linux/coresight-stm.h
new file mode 100644
index 000000000000..7e4272cf1fb2
--- /dev/null
+++ b/include/uapi/linux/coresight-stm.h
@@ -0,0 +1,21 @@
+#ifndef __UAPI_CORESIGHT_STM_H_
+#define __UAPI_CORESIGHT_STM_H_
+
+#define STM_FLAG_TIMESTAMPED BIT(3)
+#define STM_FLAG_GUARANTEED BIT(7)
+
+/*
+ * The CoreSight STM supports guaranteed and invariant timing
+ * transactions. Guaranteed transactions are guaranteed to be
+ * traced, this might involve stalling the bus or system to
+ * ensure the transaction is accepted by the STM. While invariant
+ * timing transactions are not guaranteed to be traced, they
+ * will take an invariant amount of time regardless of the
+ * state of the STM.
+ */
+enum {
+ STM_OPTION_GUARANTEED = 0,
+ STM_OPTION_INVARIANT,
+};
+
+#endif