cpp-d1064d
[cross.git] / i686-linux-gnu-4.7 / usr / include / linux / coresight-stm.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef __UAPI_CORESIGHT_STM_H_
3 #define __UAPI_CORESIGHT_STM_H_
4
5 #include <linux/const.h>
6
7 #define STM_FLAG_TIMESTAMPED   _BITUL(3)
8 #define STM_FLAG_GUARANTEED    _BITUL(7)
9
10 /*
11  * The CoreSight STM supports guaranteed and invariant timing
12  * transactions.  Guaranteed transactions are guaranteed to be
13  * traced, this might involve stalling the bus or system to
14  * ensure the transaction is accepted by the STM.  While invariant
15  * timing transactions are not guaranteed to be traced, they
16  * will take an invariant amount of time regardless of the
17  * state of the STM.
18  */
19 enum {
20         STM_OPTION_GUARANTEED = 0,
21         STM_OPTION_INVARIANT,
22 };
23
24 #endif