coresight-stm.h 674 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef __UAPI_CORESIGHT_STM_H_
  3. #define __UAPI_CORESIGHT_STM_H_
  4. #define STM_FLAG_TIMESTAMPED BIT(3)
  5. #define STM_FLAG_GUARANTEED BIT(7)
  6. /*
  7. * The CoreSight STM supports guaranteed and invariant timing
  8. * transactions. Guaranteed transactions are guaranteed to be
  9. * traced, this might involve stalling the bus or system to
  10. * ensure the transaction is accepted by the STM. While invariant
  11. * timing transactions are not guaranteed to be traced, they
  12. * will take an invariant amount of time regardless of the
  13. * state of the STM.
  14. */
  15. enum {
  16. STM_OPTION_GUARANTEED = 0,
  17. STM_OPTION_INVARIANT,
  18. };
  19. #endif