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