Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef __UAPI_CORESIGHT_STM_H_
0003 #define __UAPI_CORESIGHT_STM_H_
0004 
0005 #include <linux/const.h>
0006 
0007 #define STM_FLAG_TIMESTAMPED   _BITUL(3)
0008 #define STM_FLAG_MARKED        _BITUL(4)
0009 #define STM_FLAG_GUARANTEED    _BITUL(7)
0010 
0011 /*
0012  * The CoreSight STM supports guaranteed and invariant timing
0013  * transactions.  Guaranteed transactions are guaranteed to be
0014  * traced, this might involve stalling the bus or system to
0015  * ensure the transaction is accepted by the STM.  While invariant
0016  * timing transactions are not guaranteed to be traced, they
0017  * will take an invariant amount of time regardless of the
0018  * state of the STM.
0019  */
0020 enum {
0021     STM_OPTION_GUARANTEED = 0,
0022     STM_OPTION_INVARIANT,
0023 };
0024 
0025 #endif