Merge remote-tracking branches 'spi/topic/devprop', 'spi/topic/fsl', 'spi/topic/fsl...
[sfrench/cifs-2.6.git] / include / uapi / linux / coresight-stm.h
1 #ifndef __UAPI_CORESIGHT_STM_H_
2 #define __UAPI_CORESIGHT_STM_H_
3
4 #define STM_FLAG_TIMESTAMPED   BIT(3)
5 #define STM_FLAG_GUARANTEED    BIT(7)
6
7 /*
8  * The CoreSight STM supports guaranteed and invariant timing
9  * transactions.  Guaranteed transactions are guaranteed to be
10  * traced, this might involve stalling the bus or system to
11  * ensure the transaction is accepted by the STM.  While invariant
12  * timing transactions are not guaranteed to be traced, they
13  * will take an invariant amount of time regardless of the
14  * state of the STM.
15  */
16 enum {
17         STM_OPTION_GUARANTEED = 0,
18         STM_OPTION_INVARIANT,
19 };
20
21 #endif