Greg Kroah-Hartman | 6f52b16 | 2017-11-01 15:08:43 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Pratik Patel | 237483a | 2016-05-03 11:33:40 -0600 | [diff] [blame] | 2 | #ifndef __UAPI_CORESIGHT_STM_H_ |
| 3 | #define __UAPI_CORESIGHT_STM_H_ |
| 4 | |
| 5 | #define STM_FLAG_TIMESTAMPED BIT(3) |
| 6 | #define STM_FLAG_GUARANTEED BIT(7) |
| 7 | |
| 8 | /* |
| 9 | * The CoreSight STM supports guaranteed and invariant timing |
| 10 | * transactions. Guaranteed transactions are guaranteed to be |
| 11 | * traced, this might involve stalling the bus or system to |
| 12 | * ensure the transaction is accepted by the STM. While invariant |
| 13 | * timing transactions are not guaranteed to be traced, they |
| 14 | * will take an invariant amount of time regardless of the |
| 15 | * state of the STM. |
| 16 | */ |
| 17 | enum { |
| 18 | STM_OPTION_GUARANTEED = 0, |
| 19 | STM_OPTION_INVARIANT, |
| 20 | }; |
| 21 | |
| 22 | #endif |