Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-migration-20210726a...
[qemu/armbru.git] / hw / tpm / trace-events
blobf17110458e66ff50d994a7b3d3e0b5d605c40cd4
1 # See docs/devel/tracing.rst for syntax documentation.
3 # tpm_crb.c
4 tpm_crb_mmio_read(uint64_t addr, unsigned size, uint32_t val) "CRB read 0x%016" PRIx64 " len:%u val: 0x%" PRIx32
5 tpm_crb_mmio_write(uint64_t addr, unsigned size, uint32_t val) "CRB write 0x%016" PRIx64 " len:%u val: 0x%" PRIx32
7 # tpm_tis_common.c
8 tpm_tis_raise_irq(uint32_t irqmask) "Raising IRQ for flag 0x%08x"
9 tpm_tis_new_active_locality(uint8_t locty) "Active locality is now %d"
10 tpm_tis_abort(uint8_t locty) "New active locality is %d"
11 tpm_tis_data_read(uint32_t value, uint32_t off) "byte 0x%02x   [%d]"
12 tpm_tis_mmio_read(unsigned size, uint32_t addr, uint32_t val)  " read.%u(0x%08x) = 0x%08x"
13 tpm_tis_mmio_write(unsigned size, uint32_t addr, uint32_t val) "write.%u(0x%08x) = 0x%08x"
14 tpm_tis_mmio_write_locty4(void) "Access to locality 4 only allowed from hardware"
15 tpm_tis_mmio_write_release_locty(uint8_t locty) "Releasing locality %d"
16 tpm_tis_mmio_write_locty_req_use(uint8_t locty) "Locality %d requests use"
17 tpm_tis_mmio_write_next_locty(uint8_t locty) "Next active locality is %d"
18 tpm_tis_mmio_write_locty_seized(uint8_t locty, uint8_t active) "Locality %d seized from locality %d"
19 tpm_tis_mmio_write_init_abort(void) "Initiating abort"
20 tpm_tis_mmio_write_lowering_irq(void) "Lowering IRQ"
21 tpm_tis_mmio_write_data2send(uint32_t value, unsigned size) "Data to send to TPM: 0x%08x (size=%d)"
22 tpm_tis_pre_save(uint8_t locty, uint32_t rw_offset) "locty: %d, rw_offset = %u"
24 # tpm_ppi.c
25 tpm_ppi_memset(uint8_t *ptr, size_t size) "memset: %p %zu"
27 # tpm_spapr.c
28 tpm_spapr_do_crq(uint8_t raw1, uint8_t raw2) "1st 2 bytes in CRQ: 0x%02x 0x%02x"
29 tpm_spapr_do_crq_crq_result(void) "SPAPR_VTPM_INIT_CRQ_RESULT"
30 tpm_spapr_do_crq_crq_complete_result(void) "SPAPR_VTPM_INIT_CRQ_COMP_RESULT"
31 tpm_spapr_do_crq_tpm_command(void) "got TPM command payload"
32 tpm_spapr_do_crq_tpm_get_rtce_buffer_size(size_t buffersize) "response: buffer size is %zu"
33 tpm_spapr_do_crq_get_version(uint32_t version) "response: version %u"
34 tpm_spapr_do_crq_prepare_to_suspend(void) "response: preparing to suspend"
35 tpm_spapr_do_crq_unknown_msg_type(uint8_t type) "Unknown message type 0x%02x"
36 tpm_spapr_do_crq_unknown_crq(uint8_t raw1, uint8_t raw2) "unknown CRQ 0x%02x 0x%02x ..."
37 tpm_spapr_post_load(void) "Delivering TPM response after resume"
38 tpm_spapr_caught_response(uint32_t v) "Caught response to deliver after resume: %u bytes"