]>
Commit | Line | Data |
---|---|---|
3eee2611 JS |
1 | # See docs/devel/tracing.txt for syntax documentation. |
2 | ||
3 | # hw/ide/core.c | |
4 | # portio | |
335ca2f2 JS |
5 | ide_ioport_read(uint32_t addr, const char *reg, uint32_t val, void *bus, void *s) "IDE PIO rd @ 0x%"PRIx32" (%s); val 0x%02"PRIx32"; bus %p IDEState %p" |
6 | ide_ioport_write(uint32_t addr, const char *reg, uint32_t val, void *bus, void *s) "IDE PIO wr @ 0x%"PRIx32" (%s); val 0x%02"PRIx32"; bus %p IDEState %p" | |
7 | ide_status_read(uint32_t addr, uint32_t val, void *bus, void *s) "IDE PIO rd @ 0x%"PRIx32" (Alt Status); val 0x%02"PRIx32"; bus %p; IDEState %p" | |
8 | ide_cmd_write(uint32_t addr, uint32_t val, void *bus) "IDE PIO wr @ 0x%"PRIx32" (Device Control); val 0x%02"PRIx32"; bus %p" | |
1787efc3 JS |
9 | # Warning: verbose |
10 | ide_data_readw(uint32_t addr, uint32_t val, void *bus, void *s) "IDE PIO rd @ 0x%"PRIx32" (Data: Word); val 0x%04"PRIx32"; bus %p; IDEState %p" | |
11 | ide_data_writew(uint32_t addr, uint32_t val, void *bus, void *s) "IDE PIO wr @ 0x%"PRIx32" (Data: Word); val 0x%04"PRIx32"; bus %p; IDEState %p" | |
12 | ide_data_readl(uint32_t addr, uint32_t val, void *bus, void *s) "IDE PIO rd @ 0x%"PRIx32" (Data: Long); val 0x%08"PRIx32"; bus %p; IDEState %p" | |
13 | ide_data_writel(uint32_t addr, uint32_t val, void *bus, void *s) "IDE PIO wr @ 0x%"PRIx32" (Data: Long); val 0x%08"PRIx32"; bus %p; IDEState %p" | |
3eee2611 JS |
14 | # misc |
15 | ide_exec_cmd(void *bus, void *state, uint32_t cmd) "IDE exec cmd: bus %p; state %p; cmd 0x%02x" | |
16 | ide_cancel_dma_sync_buffered(void *fn, void *req) "invoking cb %p of buffered request %p with -ECANCELED" | |
17 | ide_cancel_dma_sync_remaining(void) "draining all remaining requests" | |
18 | ide_sector_read(int64_t sector_num, int nsectors) "sector=%"PRId64" nsectors=%d" | |
19 | ide_sector_write(int64_t sector_num, int nsectors) "sector=%"PRId64" nsectors=%d" | |
20 | ide_reset(void *s) "IDEstate %p" | |
0e168d35 JS |
21 | ide_bus_reset_aio(void) "aio_cancel" |
22 | ide_dma_cb(void *s, int64_t sector_num, int n, const char *dma) "IDEState %p; sector_num=%"PRId64" n=%d cmd=%s" | |
3eee2611 JS |
23 | |
24 | # BMDMA HBAs: | |
25 | ||
26 | # hw/ide/cmd646.c | |
27 | bmdma_read_cmd646(uint64_t addr, uint32_t val) "bmdma: readb 0x%"PRIx64" : 0x%02x" | |
28 | bmdma_write_cmd646(uint64_t addr, uint64_t val) "bmdma: writeb 0x%"PRIx64" : 0x%02"PRIx64 | |
29 | ||
30 | # hw/ide/pci.c | |
31 | bmdma_reset(void) "" | |
32 | bmdma_cmd_writeb(uint32_t val) "val: 0x%08x" | |
33 | bmdma_addr_read(uint64_t data) "data: 0x%016"PRIx64 | |
34 | bmdma_addr_write(uint64_t data) "data: 0x%016"PRIx64 | |
35 | ||
36 | # hw/ide/piix.c | |
37 | bmdma_read(uint64_t addr, uint8_t val) "bmdma: readb 0x%"PRIx64" : 0x%02x" | |
38 | bmdma_write(uint64_t addr, uint64_t val) "bmdma: writeb 0x%"PRIx64" : 0x%02"PRIx64 | |
39 | ||
a9dd6604 BZ |
40 | # hw/ide/sii3112.c |
41 | sii3112_read(int size, uint64_t addr, uint64_t val) "bmdma: read (size %d) 0x%"PRIx64" : 0x%02"PRIx64 | |
42 | sii3112_write(int size, uint64_t addr, uint64_t val) "bmdma: write (size %d) 0x%"PRIx64" : 0x%02"PRIx64 | |
43 | sii3112_set_irq(int channel, int level) "channel %d level %d" | |
44 | ||
3eee2611 JS |
45 | # hw/ide/via.c |
46 | bmdma_read_via(uint64_t addr, uint32_t val) "bmdma: readb 0x%"PRIx64" : 0x%02x" | |
47 | bmdma_write_via(uint64_t addr, uint64_t val) "bmdma: writeb 0x%"PRIx64" : 0x%02"PRIx64 | |
82a13ff8 JS |
48 | |
49 | # hw/ide/atapi.c | |
50 | cd_read_sector_sync(int lba) "lba=%d" | |
51 | cd_read_sector_cb(int lba, int ret) "lba=%d ret=%d" | |
52 | cd_read_sector(int lba) "lba=%d" | |
53 | ide_atapi_cmd_error(void *s, int sense_key, int asc) "IDEState: %p; sense=0x%x asc=0x%x" | |
54 | ide_atapi_cmd_reply_end(void *s, int tx_size, int elem_tx_size, int32_t index) "IDEState %p; reply: tx_size=%d elem_tx_size=%d index=%"PRId32 | |
55 | ide_atapi_cmd_reply_end_eot(void *s, int status) "IDEState: %p; end of transfer, status=0x%x" | |
56 | ide_atapi_cmd_reply_end_bcl(void *s, int bcl) "IDEState: %p; byte_count_limit=%d" | |
57 | ide_atapi_cmd_reply_end_new(void *s, int status) "IDEState: %p; new transfer started, status=0x%x" | |
58 | ide_atapi_cmd_check_status(void *s) "IDEState: %p" | |
59 | ide_atapi_cmd_read(void *s, const char *method, int lba, int nb_sectors) "IDEState: %p; read %s: LBA=%d nb_sectors=%d" | |
60 | ide_atapi_cmd(void *s, uint8_t cmd) "IDEState: %p; cmd: 0x%02x" | |
0e168d35 | 61 | ide_atapi_cmd_read_dma_cb_aio(void *s, int lba, int n) "IDEState: %p; aio read: lba=%d n=%d" |
82a13ff8 JS |
62 | # Warning: Verbose |
63 | ide_atapi_cmd_packet(void *s, uint16_t limit, const char *packet) "IDEState: %p; limit=0x%x packet: %s" | |
e4baa9f0 JS |
64 | |
65 | # hw/ide/ahci.c | |
66 | ahci_port_read(void *s, int port, int offset, uint32_t ret) "ahci(%p)[%d]: port read @ 0x%x: 0x%08x" | |
67 | ahci_irq_raise(void *s) "ahci(%p): raise irq" | |
68 | ahci_irq_lower(void *s) "ahci(%p): lower irq" | |
69 | ahci_check_irq(void *s, uint32_t old, uint32_t new) "ahci(%p): check irq 0x%08x --> 0x%08x" | |
5fa0feec | 70 | ahci_trigger_irq(void *s, int port, const char *name, uint32_t val, uint32_t old, uint32_t new, uint32_t effective) "ahci(%p)[%d]: trigger irq +%s (0x%08x); irqstat: 0x%08x --> 0x%08x; effective: 0x%08x" |
e4baa9f0 JS |
71 | ahci_port_write(void *s, int port, int offset, uint32_t val) "ahci(%p)[%d]: port write @ 0x%x: 0x%08x" |
72 | ahci_mem_read_32(void *s, uint64_t addr, uint32_t val) "ahci(%p): mem read @ 0x%"PRIx64": 0x%08x" | |
73 | ahci_mem_read(void *s, unsigned size, uint64_t addr, uint64_t val) "ahci(%p): read%u @ 0x%"PRIx64": 0x%016"PRIx64 | |
74 | ahci_mem_write(void *s, unsigned size, uint64_t addr, uint64_t val) "ahci(%p): write%u @ 0x%"PRIx64": 0x%016"PRIx64 | |
75 | ahci_mem_write_unknown(void *s, unsigned size, uint64_t addr, uint64_t val) "ahci(%p): write%u to unknown register 0x%"PRIx64": 0x%016"PRIx64 | |
76 | ahci_set_signature(void *s, int port, uint8_t nsector, uint8_t sector, uint8_t lcyl, uint8_t hcyl, uint32_t sig) "ahci(%p)[%d]: set signature sector:0x%02x nsector:0x%02x lcyl:0x%02x hcyl:0x%02x (cumulatively: 0x%08x)" | |
77 | ahci_reset_port(void *s, int port) "ahci(%p)[%d]: reset port" | |
78 | ahci_unmap_fis_address_null(void *s, int port) "ahci(%p)[%d]: Attempt to unmap NULL FIS address" | |
79 | ahci_unmap_clb_address_null(void *s, int port) "ahci(%p)[%d]: Attempt to unmap NULL CLB address" | |
80 | ahci_populate_sglist(void *s, int port) "ahci(%p)[%d]" | |
81 | ahci_populate_sglist_no_prdtl(void *s, int port, uint16_t opts) "ahci(%p)[%d]: no sg list given by guest: 0x%04x" | |
82 | ahci_populate_sglist_no_map(void *s, int port) "ahci(%p)[%d]: DMA mapping failed" | |
83 | ahci_populate_sglist_short_map(void *s, int port) "ahci(%p)[%d]: mapped less than expected" | |
84 | ahci_populate_sglist_bad_offset(void *s, int port, int off_idx, int64_t off_pos) "ahci(%p)[%d]: Incorrect offset! off_idx: %d, off_pos: %"PRId64 | |
85 | ncq_finish(void *s, int port, uint8_t tag) "ahci(%p)[%d][tag:%d]: NCQ transfer finished" | |
86 | execute_ncq_command_read(void *s, int port, uint8_t tag, int count, int64_t lba) "ahci(%p)[%d][tag:%d]: NCQ reading %d sectors from LBA %"PRId64 | |
87 | execute_ncq_command_write(void *s, int port, uint8_t tag, int count, int64_t lba) "ahci(%p)[%d][tag:%d]: NCQ writing %d sectors to LBA %"PRId64 | |
88 | execute_ncq_command_unsup(void *s, int port, uint8_t tag, uint8_t cmd) "ahci(%p)[%d][tag:%d]: error: unsupported NCQ command (0x%02x) received" | |
89 | process_ncq_command_mismatch(void *s, int port, uint8_t tag, uint8_t slot) "ahci(%p)[%d][tag:%d]: Warning: NCQ slot (%d) did not match the given tag" | |
90 | process_ncq_command_aux(void *s, int port, uint8_t tag) "ahci(%p)[%d][tag:%d]: Warn: Attempt to use NCQ auxiliary fields" | |
91 | process_ncq_command_prioicc(void *s, int port, uint8_t tag) "ahci(%p)[%d][tag:%d]: Warn: Unsupported attempt to use PRIO/ICC fields" | |
92 | process_ncq_command_fua(void *s, int port, uint8_t tag) "ahci(%p)[%d][tag:%d]: Warn: Unsupported attempt to use Force Unit Access" | |
93 | process_ncq_command_rarc(void *s, int port, uint8_t tag) "ahci(%p)[%d][tag:%d]: Warn: Unsupported attempt to use Rebuild Assist" | |
94 | process_ncq_command_large(void *s, int port, uint8_t tag, size_t prdtl, size_t size) "ahci(%p)[%d][tag:%d]: Warn: PRDTL (0x%zx) does not match requested size (0x%zx)" | |
95 | process_ncq_command(void *s, int port, uint8_t tag, uint8_t cmd, uint64_t lba, uint64_t end) "ahci(%p)[%d][tag:%d]: NCQ op 0x%02x on sectors [%"PRId64",%"PRId64"]" | |
96 | handle_reg_h2d_fis_pmp(void *s, int port, char b0, char b1, char b2) "ahci(%p)[%d]: Port Multiplier not supported, FIS: 0x%02x-%02x-%02x" | |
97 | handle_reg_h2d_fis_res(void *s, int port, char b0, char b1, char b2) "ahci(%p)[%d]: Reserved flags set in H2D Register FIS, FIS: 0x%02x-%02x-%02x" | |
98 | handle_cmd_busy(void *s, int port) "ahci(%p)[%d]: engine busy" | |
99 | handle_cmd_nolist(void *s, int port) "ahci(%p)[%d]: handle_cmd called without s->dev[port].lst" | |
100 | handle_cmd_badport(void *s, int port) "ahci(%p)[%d]: guest accessed unused port" | |
101 | handle_cmd_badfis(void *s, int port) "ahci(%p)[%d]: guest provided an invalid cmd FIS" | |
102 | handle_cmd_badmap(void *s, int port, uint64_t len) "ahci(%p)[%d]: dma_memory_map failed, 0x%02"PRIx64" != 0x80" | |
103 | handle_cmd_unhandled_fis(void *s, int port, uint8_t b0, uint8_t b1, uint8_t b2) "ahci(%p)[%d]: unhandled FIS type. cmd_fis: 0x%02x-%02x-%02x" | |
104 | ahci_start_transfer(void *s, int port, const char *rw, uint32_t size, const char *tgt, const char *sgl) "ahci(%p)[%d]: %sing %d bytes on %s w/%s sglist" | |
105 | ahci_start_dma(void *s, int port) "ahci(%p)[%d]: start dma" | |
106 | ahci_dma_prepare_buf(void *s, int port, int32_t io_buffer_size, int32_t limit) "ahci(%p)[%d]: prepare buf limit=%"PRId32" prepared=%"PRId32 | |
107 | ahci_dma_prepare_buf_fail(void *s, int port) "ahci(%p)[%d]: sglist population failed" | |
108 | ahci_dma_rw_buf(void *s, int port, int l) "ahci(%p)[%d] len=0x%x" | |
109 | ahci_cmd_done(void *s, int port) "ahci(%p)[%d]: cmd done" | |
110 | ahci_reset(void *s) "ahci(%p): HBA reset" | |
111 | allwinner_ahci_mem_read(void *s, void *a, uint64_t addr, uint64_t val, unsigned size) "ahci(%p): read a=%p addr=0x%"HWADDR_PRIx" val=0x%"PRIx64", size=%d" | |
112 | allwinner_ahci_mem_write(void *s, void *a, uint64_t addr, uint64_t val, unsigned size) "ahci(%p): write a=%p addr=0x%"HWADDR_PRIx" val=0x%"PRIx64", size=%d" | |
797285c8 JS |
113 | |
114 | # Warning: Verbose | |
115 | handle_reg_h2d_fis_dump(void *s, int port, const char *fis) "ahci(%p)[%d]: %s" | |
116 | handle_cmd_fis_dump(void *s, int port, const char *fis) "ahci(%p)[%d]: %s" |