diff options
| author | Alex Shi <alex.shi@linaro.org> | 2016-06-02 10:25:31 +0800 |
|---|---|---|
| committer | Alex Shi <alex.shi@linaro.org> | 2016-06-02 10:25:31 +0800 |
| commit | e1599ccfad09c6d097b5e70304a93aba2f4dbd79 (patch) | |
| tree | 5dbdd5cbe03f6ff78cd68246f049bb9ccea670e5 /include/uapi/linux | |
| parent | 023861726fc0899139add9dd47905b8de7644257 (diff) | |
| parent | 2ea80ad4205178dcea1152c0a603f23531c5412c (diff) | |
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/coresight-stm.h | 21 |
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 |
