| 1 | # See docs/devel/tracing.rst for syntax documentation. |
| 2 | |
| 3 | # scsi-bus.c |
| 4 | scsi_req_alloc(int target, int lun, int tag) "target %d lun %d tag %d" |
| 5 | scsi_req_cancel(int target, int lun, int tag) "target %d lun %d tag %d" |
| 6 | scsi_req_data(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d" |
| 7 | scsi_req_data_canceled(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d" |
| 8 | scsi_req_dequeue(int target, int lun, int tag) "target %d lun %d tag %d" |
| 9 | scsi_bus_drained_begin(void *bus, void *sdev) "bus %p sdev %p" |
| 10 | scsi_bus_drained_end(void *bus, void *sdev) "bus %p sdev %p" |
| 11 | scsi_req_continue(int target, int lun, int tag) "target %d lun %d tag %d" |
| 12 | scsi_req_continue_canceled(int target, int lun, int tag) "target %d lun %d tag %d" |
| 13 | scsi_req_parsed(int target, int lun, int tag, int cmd, int mode, int xfer) "target %d lun %d tag %d command %d dir %d length %d" |
| 14 | scsi_req_parsed_lba(int target, int lun, int tag, int cmd, uint64_t lba) "target %d lun %d tag %d command %d lba %"PRIu64 |
| 15 | scsi_req_parse_bad(int target, int lun, int tag, int cmd) "target %d lun %d tag %d command %d" |
| 16 | scsi_req_build_sense(int target, int lun, int tag, int key, int asc, int ascq) "target %d lun %d tag %d key 0x%02x asc 0x%02x ascq 0x%02x" |
| 17 | scsi_device_set_ua(int target, int lun, int key, int asc, int ascq) "target %d lun %d key 0x%02x asc 0x%02x ascq 0x%02x" |
| 18 | scsi_report_luns(int target, int lun, int tag) "target %d lun %d tag %d" |
| 19 | scsi_inquiry(int target, int lun, int tag, int cdb1, int cdb2) "target %d lun %d tag %d page 0x%02x/0x%02x" |
| 20 | scsi_test_unit_ready(int target, int lun, int tag) "target %d lun %d tag %d" |
| 21 | scsi_request_sense(int target, int lun, int tag) "target %d lun %d tag %d" |
| 22 | |
| 23 | # mptsas.c |
| 24 | mptsas_command_complete(void *dev, uint32_t ctx, uint32_t status, uint32_t resid) "dev %p context 0x%08x status 0x%x resid %d" |
| 25 | mptsas_diag_read(void *dev, uint32_t addr, uint32_t val) "dev %p addr 0x%08x value 0x%08x" |
| 26 | mptsas_diag_write(void *dev, uint32_t addr, uint32_t val) "dev %p addr 0x%08x value 0x%08x" |
| 27 | mptsas_irq_intx(void *dev, int level) "dev %p level %d" |
| 28 | mptsas_irq_msi(void *dev) "dev %p " |
| 29 | mptsas_mmio_read(void *dev, uint32_t addr, uint32_t val) "dev %p addr 0x%08x value 0x%x" |
| 30 | mptsas_mmio_unhandled_read(void *dev, uint32_t addr) "dev %p addr 0x%08x" |
| 31 | mptsas_mmio_unhandled_write(void *dev, uint32_t addr, uint32_t val) "dev %p addr 0x%08x value 0x%x" |
| 32 | mptsas_mmio_write(void *dev, uint32_t addr, uint32_t val) "dev %p addr 0x%08x value 0x%x" |
| 33 | mptsas_process_message(void *dev, int msg, uint32_t ctx) "dev %p cmd %d context 0x%08x" |
| 34 | mptsas_process_scsi_io_request(void *dev, int bus, int target, int lun, uint64_t len) "dev %p dev %d:%d:%d length %"PRIu64"" |
| 35 | mptsas_reset(void *dev) "dev %p " |
| 36 | mptsas_scsi_overflow(void *dev, uint32_t ctx, uint64_t req, uint64_t found) "dev %p context 0x%08x: %"PRIu64"/%"PRIu64"" |
| 37 | mptsas_sgl_overflow(void *dev, uint32_t ctx, uint64_t req, uint64_t found) "dev %p context 0x%08x: %"PRIu64"/%"PRIu64"" |
| 38 | mptsas_unhandled_cmd(void *dev, uint32_t ctx, uint8_t msg_cmd) "dev %p context 0x%08x: Unhandled cmd 0x%x" |
| 39 | mptsas_unhandled_doorbell_cmd(void *dev, int cmd) "dev %p value 0x%08x" |
| 40 | |
| 41 | # mptconfig.c |
| 42 | mptsas_config_sas_device(void *dev, int address, int port, int phy_handle, int dev_handle, int page) "dev %p address %d (port %d, handles: phy %d dev %d) page %d" |
| 43 | mptsas_config_sas_phy(void *dev, int address, int port, int phy_handle, int dev_handle, int page) "dev %p address %d (port %d, handles: phy %d dev %d) page %d" |
| 44 | |
| 45 | # megasas.c |
| 46 | megasas_init_firmware(uint64_t pa) "pa 0x%" PRIx64 " " |
| 47 | megasas_init_queue(uint64_t queue_pa, int queue_len, uint32_t head, uint32_t tail, uint32_t flags) "queue at 0x%" PRIx64 " len %d head 0x%" PRIx32 " tail 0x%" PRIx32 " flags 0x%x" |
| 48 | megasas_initq_map_failed(int frame) "scmd %d: failed to map queue" |
| 49 | megasas_initq_mapped(uint64_t pa) "queue already mapped at 0x%" PRIx64 |
| 50 | megasas_initq_mismatch(int queue_len, int fw_cmds) "queue size %d max fw cmds %d" |
| 51 | megasas_qf_mapped(unsigned int index) "skip mapped frame 0x%x" |
| 52 | megasas_qf_new(unsigned int index, uint64_t frame) "frame 0x%x addr 0x%" PRIx64 |
| 53 | megasas_qf_busy(unsigned long pa) "all frames busy for frame 0x%lx" |
| 54 | megasas_qf_enqueue(unsigned int index, unsigned int count, uint64_t context, uint32_t head, uint32_t tail, unsigned int busy) "frame 0x%x count %d context 0x%" PRIx64 " head 0x%" PRIx32 " tail 0x%" PRIx32 " busy %u" |
| 55 | megasas_qf_update(uint32_t head, uint32_t tail, unsigned int busy) "head 0x%" PRIx32 " tail 0x%" PRIx32 " busy %u" |
| 56 | megasas_qf_map_failed(int cmd, unsigned long frame) "scmd %d: frame %lu" |
| 57 | megasas_qf_complete_noirq(uint64_t context) "context 0x%" PRIx64 " " |
| 58 | megasas_qf_complete(uint64_t context, uint32_t head, uint32_t tail, int busy) "context 0x%" PRIx64 " head 0x%" PRIx32 " tail 0x%" PRIx32 " busy %u" |
| 59 | megasas_frame_busy(uint64_t addr) "frame 0x%" PRIx64 " busy" |
| 60 | megasas_unhandled_frame_cmd(int cmd, uint8_t frame_cmd) "scmd %d: MFI cmd 0x%x" |
| 61 | megasas_handle_scsi(const char *frame, int bus, int dev, int lun, void *sdev, unsigned long size) "%s dev %x/%x/%x sdev %p xfer %lu" |
| 62 | megasas_scsi_target_not_present(const char *frame, int bus, int dev, int lun) "%s dev %x/%x/%x" |
| 63 | megasas_scsi_invalid_cdb_len(const char *frame, int bus, int dev, int lun, int len) "%s dev %x/%x/%x invalid cdb len %d" |
| 64 | megasas_iov_read_overflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes" |
| 65 | megasas_iov_write_overflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes" |
| 66 | megasas_iov_read_underflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes" |
| 67 | megasas_iov_write_underflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes" |
| 68 | megasas_scsi_req_alloc_failed(const char *frame, int dev, int lun) "%s dev %x/%x" |
| 69 | megasas_scsi_read_start(int cmd, int len) "scmd %d: transfer %d bytes of data" |
| 70 | megasas_scsi_write_start(int cmd, int len) "scmd %d: transfer %d bytes of data" |
| 71 | megasas_scsi_nodata(int cmd) "scmd %d: no data to be transferred" |
| 72 | megasas_scsi_complete(int cmd, uint32_t status, int len, int xfer) "scmd %d: status 0x%x, len %u/%u" |
| 73 | megasas_command_complete(int cmd, uint32_t status, uint32_t resid) "scmd %d: status 0x%x, residual %d" |
| 74 | megasas_handle_io(int cmd, const char *frame, int dev, int lun, unsigned long lba, unsigned long count) "scmd %d: %s dev %x/%x lba 0x%lx count %lu" |
| 75 | megasas_io_target_not_present(int cmd, const char *frame, int dev, int lun) "scmd %d: %s dev 1/%x/%x LUN not present" |
| 76 | megasas_io_read_start(int cmd, unsigned long lba, unsigned long count, unsigned long len) "scmd %d: start LBA 0x%lx %lu blocks (%lu bytes)" |
| 77 | megasas_io_write_start(int cmd, unsigned long lba, unsigned long count, unsigned long len) "scmd %d: start LBA 0x%lx %lu blocks (%lu bytes)" |
| 78 | megasas_io_complete(int cmd, uint32_t len) "scmd %d: %d bytes" |
| 79 | megasas_iovec_sgl_overflow(int cmd, int index, int limit) "scmd %d: iovec count %d limit %d" |
| 80 | megasas_iovec_sgl_underflow(int cmd, int index) "scmd %d: iovec count %d" |
| 81 | megasas_iovec_sgl_invalid(int cmd, int index, uint64_t pa, uint32_t len) "scmd %d: element %d pa 0x%" PRIx64 " len %u" |
| 82 | megasas_iovec_overflow(int cmd, int len, int limit) "scmd %d: len %d limit %d" |
| 83 | megasas_iovec_underflow(int cmd, int len, int limit) "scmd %d: len %d limit %d" |
| 84 | megasas_handle_dcmd(int cmd, int opcode) "scmd %d: MFI DCMD opcode 0x%x" |
| 85 | megasas_finish_dcmd(int cmd, int size) "scmd %d: MFI DCMD wrote %d bytes" |
| 86 | megasas_dcmd_req_alloc_failed(int cmd, const char *desc) "scmd %d: %s" |
| 87 | megasas_dcmd_internal_submit(int cmd, const char *desc, int dev) "scmd %d: %s to dev %d" |
| 88 | megasas_dcmd_internal_finish(int cmd, int opcode, int lun) "scmd %d: cmd 0x%x lun %d" |
| 89 | megasas_dcmd_internal_invalid(int cmd, int opcode) "scmd %d: DCMD 0x%x" |
| 90 | megasas_dcmd_unhandled(int cmd, int opcode, int len) "scmd %d: opcode 0x%x, len %d" |
| 91 | megasas_dcmd_zero_sge(int cmd) "scmd %d: zero DCMD sge count" |
| 92 | megasas_dcmd_invalid_sge(int cmd, int count) "scmd %d: DCMD sge count %d" |
| 93 | megasas_dcmd_invalid_xfer_len(int cmd, unsigned long size, unsigned long max) "scmd %d: xfer len %ld, max %ld" |
| 94 | megasas_dcmd_enter(int cmd, const char *dcmd, int len) "scmd %d: DCMD %s len %d" |
| 95 | megasas_dcmd_dummy(int cmd, unsigned long size) "scmd %d: xfer len %ld" |
| 96 | megasas_dcmd_set_fw_time(int cmd, unsigned long time) "scmd %d: Set FW time 0x%lx" |
| 97 | megasas_dcmd_pd_get_list(int cmd, int num, int max, int offset) "scmd %d: DCMD PD get list: %d / %d PDs, size %d" |
| 98 | megasas_dcmd_ld_get_list(int cmd, int num, int max) "scmd %d: DCMD LD get list: found %d / %d LDs" |
| 99 | megasas_dcmd_ld_get_info(int cmd, int ld_id) "scmd %d: dev %d" |
| 100 | megasas_dcmd_ld_list_query(int cmd, int flags) "scmd %d: query flags 0x%x" |
| 101 | megasas_dcmd_pd_get_info(int cmd, int pd_id) "scmd %d: dev %d" |
| 102 | megasas_dcmd_pd_list_query(int cmd, int flags) "scmd %d: query flags 0x%x" |
| 103 | megasas_dcmd_reset_ld(int cmd, int target_id) "scmd %d: dev %d" |
| 104 | megasas_dcmd_unsupported(int cmd, unsigned long size) "scmd %d: set properties len %ld" |
| 105 | megasas_abort_frame(int cmd, int abort_cmd) "scmd %d: frame 0x%x" |
| 106 | megasas_abort_no_cmd(int cmd, uint64_t context) "scmd %d: no active command for frame context 0x%" PRIx64 |
| 107 | megasas_abort_invalid_context(int cmd, uint64_t context, int abort_cmd) "scmd %d: invalid frame context 0x%" PRIx64 " for abort frame 0x%x" |
| 108 | megasas_reset(int fw_state) "firmware state 0x%x" |
| 109 | megasas_init(int sges, int cmds, const char *mode) "Using %d sges, %d cmds, %s mode" |
| 110 | megasas_msix_raise(int vector) "vector %d" |
| 111 | megasas_msi_raise(int vector) "vector %d" |
| 112 | megasas_irq_lower(void) "INTx" |
| 113 | megasas_irq_raise(void) "INTx" |
| 114 | megasas_intr_enabled(void) "Interrupts enabled" |
| 115 | megasas_intr_disabled(void) "Interrupts disabled" |
| 116 | megasas_msix_enabled(int vector) "vector %d" |
| 117 | megasas_msi_enabled(int vector) "vector %d" |
| 118 | megasas_mmio_readl(const char *reg, uint32_t val) "reg %s: 0x%x" |
| 119 | megasas_mmio_invalid_readl(unsigned long addr) "addr 0x%lx" |
| 120 | megasas_mmio_writel(const char *reg, uint32_t val) "reg %s: 0x%x" |
| 121 | megasas_mmio_invalid_writel(uint32_t addr, uint32_t val) "addr 0x%x: 0x%x" |
| 122 | |
| 123 | # vmw_pvscsi.c |
| 124 | pvscsi_ring_init_data(uint32_t txr_len_log2, uint32_t rxr_len_log2) "TX/RX rings logarithms set to %d/%d" |
| 125 | pvscsi_ring_init_msg(uint32_t len_log2) "MSG ring logarithm set to %d" |
| 126 | pvscsi_ring_flush_cmp(uint64_t filled_cmp_ptr) "new production counter of completion ring is 0x%"PRIx64 |
| 127 | pvscsi_ring_flush_msg(uint64_t filled_cmp_ptr) "new production counter of message ring is 0x%"PRIx64 |
| 128 | pvscsi_update_irq_level(bool raise, uint64_t mask, uint64_t status) "interrupt level set to %d (MASK: 0x%"PRIx64", STATUS: 0x%"PRIx64")" |
| 129 | pvscsi_update_irq_msi(void) "sending MSI notification" |
| 130 | pvscsi_cmp_ring_put(unsigned long addr) "got completion descriptor 0x%lx" |
| 131 | pvscsi_msg_ring_put(unsigned long addr) "got message descriptor 0x%lx" |
| 132 | pvscsi_complete_request(uint64_t context, uint64_t len, uint8_t sense_key) "completion: ctx: 0x%"PRIx64", len: 0x%"PRIx64", sense key: %u" |
| 133 | pvscsi_get_sg_list(int nsg, size_t size) "get SG list: depth: %u, size: %zu" |
| 134 | pvscsi_get_next_sg_elem(uint32_t flags) "unknown flags in SG element (val: 0x%x)" |
| 135 | pvscsi_command_complete_not_found(uint32_t tag) "can't find request for tag 0x%x" |
| 136 | pvscsi_command_complete_data_run(void) "not all data required for command transferred" |
| 137 | pvscsi_command_complete_sense_len(int len) "sense information length is %d bytes" |
| 138 | pvscsi_convert_sglist(uint64_t context, unsigned long addr, uint32_t resid) "element: ctx: 0x%"PRIx64" addr: 0x%lx, len: %ul" |
| 139 | pvscsi_process_req_descr(uint8_t cmd, uint64_t ctx) "SCSI cmd 0x%x, ctx: 0x%"PRIx64 |
| 140 | pvscsi_process_req_descr_unknown_device(void) "command directed to unknown device rejected" |
| 141 | pvscsi_process_req_descr_invalid_dir(void) "command with invalid transfer direction rejected" |
| 142 | pvscsi_process_io(unsigned long addr) "got descriptor 0x%lx" |
| 143 | pvscsi_on_cmd_noimpl(const char* cmd) "unimplemented command %s ignored" |
| 144 | pvscsi_on_cmd_reset_dev(uint32_t tgt, int lun, void* dev) "PVSCSI_CMD_RESET_DEVICE[target %u lun %d (dev 0x%p)]" |
| 145 | pvscsi_on_cmd_arrived(const char* cmd) "command %s arrived" |
| 146 | pvscsi_on_cmd_abort(uint64_t ctx, uint32_t tgt) "command PVSCSI_CMD_ABORT_CMD for ctx 0x%"PRIx64", target %u" |
| 147 | pvscsi_on_cmd_unknown(uint64_t cmd_id) "unknown command 0x%"PRIx64 |
| 148 | pvscsi_on_cmd_unknown_data(uint32_t data) "data for unknown command 0x:0x%x" |
| 149 | pvscsi_io_write(const char* cmd, uint64_t val) "%s write: 0x%"PRIx64 |
| 150 | pvscsi_io_write_unknown(unsigned long addr, unsigned sz, uint64_t val) "unknown write address: 0x%lx size: %u bytes value: 0x%"PRIx64 |
| 151 | pvscsi_io_read(const char* cmd, uint64_t status) "%s read: 0x%"PRIx64 |
| 152 | pvscsi_io_read_unknown(unsigned long addr, unsigned sz) "unknown read address: 0x%lx size: %u bytes" |
| 153 | pvscsi_init_msi_fail(int res) "failed to initialize MSI, error %d" |
| 154 | pvscsi_state(const char* state) "starting %s ..." |
| 155 | pvscsi_tx_rings_ppn(const char* label, uint64_t ppn) "%s page: 0x%"PRIx64 |
| 156 | pvscsi_tx_rings_num_pages(const char* label, uint32_t num) "Number of %s pages: %u" |
| 157 | |
| 158 | # esp.c |
| 159 | esp_error_fifo_overrun(void) "FIFO overrun" |
| 160 | esp_error_unhandled_command(uint32_t val) "unhandled command (0x%2.2x)" |
| 161 | esp_error_invalid_write(uint32_t val, uint32_t addr) "invalid write of 0x%02x at [0x%x]" |
| 162 | esp_raise_irq(void) "Raise IRQ" |
| 163 | esp_lower_irq(void) "Lower IRQ" |
| 164 | esp_raise_drq(void) "Raise DREQ" |
| 165 | esp_lower_drq(void) "Lower DREQ" |
| 166 | esp_dma_enable(void) "Raise enable" |
| 167 | esp_dma_disable(void) "Lower enable" |
| 168 | esp_pdma_read(int size) "pDMA read %u bytes" |
| 169 | esp_pdma_write(int size) "pDMA write %u bytes" |
| 170 | esp_get_cmd(uint32_t dmalen, int target) "len %d target %d" |
| 171 | esp_do_command_phase(uint8_t busid) "busid 0x%x" |
| 172 | esp_do_identify(uint8_t byte) "0x%x" |
| 173 | esp_handle_satn_stop(uint32_t cmdlen) "cmdlen %d" |
| 174 | esp_write_response(uint32_t status) "Transfer status (status=%d)" |
| 175 | esp_do_dma(uint32_t cmdlen, uint32_t len) "command len %d + %d" |
| 176 | esp_command_complete(void) "SCSI Command complete" |
| 177 | esp_command_complete_deferred(void) "SCSI Command complete deferred" |
| 178 | esp_command_complete_unexpected(void) "SCSI command completed unexpectedly" |
| 179 | esp_command_complete_fail(void) "Command failed" |
| 180 | esp_transfer_data(uint32_t dma_left, int32_t ti_size) "transfer %d/%d" |
| 181 | esp_handle_ti(uint32_t minlen) "Transfer Information len %d" |
| 182 | esp_handle_ti_cmd(uint32_t cmdlen) "command len %d" |
| 183 | esp_mem_readb(uint32_t saddr, uint8_t reg) "reg[%d]: 0x%2.2x" |
| 184 | esp_mem_writeb(uint32_t saddr, uint8_t reg, uint32_t val) "reg[%d]: 0x%2.2x -> 0x%2.2x" |
| 185 | esp_mem_writeb_cmd_nop(uint32_t val) "NOP (0x%2.2x)" |
| 186 | esp_mem_writeb_cmd_flush(uint32_t val) "Flush FIFO (0x%2.2x)" |
| 187 | esp_mem_writeb_cmd_reset(uint32_t val) "Chip reset (0x%2.2x)" |
| 188 | esp_mem_writeb_cmd_bus_reset(uint32_t val) "Bus reset (0x%2.2x)" |
| 189 | esp_mem_writeb_cmd_iccs(uint32_t val) "Initiator Command Complete Sequence (0x%2.2x)" |
| 190 | esp_mem_writeb_cmd_msgacc(uint32_t val) "Message Accepted (0x%2.2x)" |
| 191 | esp_mem_writeb_cmd_pad(uint32_t val) "Transfer padding (0x%2.2x)" |
| 192 | esp_mem_writeb_cmd_satn(uint32_t val) "Set ATN (0x%2.2x)" |
| 193 | esp_mem_writeb_cmd_rstatn(uint32_t val) "Reset ATN (0x%2.2x)" |
| 194 | esp_mem_writeb_cmd_sel(uint32_t val) "Select without ATN (0x%2.2x)" |
| 195 | esp_mem_writeb_cmd_selatn(uint32_t val) "Select with ATN (0x%2.2x)" |
| 196 | esp_mem_writeb_cmd_selatns(uint32_t val) "Select with ATN & stop (0x%2.2x)" |
| 197 | esp_mem_writeb_cmd_ensel(uint32_t val) "Enable selection (0x%2.2x)" |
| 198 | esp_mem_writeb_cmd_dissel(uint32_t val) "Disable selection (0x%2.2x)" |
| 199 | esp_mem_writeb_cmd_ti(uint32_t val) "Transfer Information (0x%2.2x)" |
| 200 | esp_set_phase(const char *phase) "setting bus phase to %s" |
| 201 | esp_invalid_cmd(uint8_t cmd, uint8_t asc_mode) "command 0x%x asc_mode 0x%x" |
| 202 | |
| 203 | # esp-pci.c |
| 204 | esp_pci_error_invalid_dma_direction(void) "invalid DMA transfer direction" |
| 205 | esp_pci_error_invalid_read(uint32_t reg) "read access outside bounds (reg 0x%x)" |
| 206 | esp_pci_error_invalid_write(uint32_t reg) "write access outside bounds (reg 0x%x)" |
| 207 | esp_pci_error_invalid_write_dma(uint32_t val, uint32_t addr) "invalid write of 0x%02x at [0x%x]" |
| 208 | esp_pci_dma_read(uint32_t saddr, uint32_t reg) "reg[%d]: 0x%8.8x" |
| 209 | esp_pci_dma_write(uint32_t saddr, uint32_t reg, uint32_t val) "reg[%d]: 0x%8.8x -> 0x%8.8x" |
| 210 | esp_pci_dma_idle(uint32_t val) "IDLE (0x%.8x)" |
| 211 | esp_pci_dma_blast(uint32_t val) "BLAST (0x%.8x)" |
| 212 | esp_pci_dma_abort(uint32_t val) "ABORT (0x%.8x)" |
| 213 | esp_pci_dma_start(uint32_t val) "START (0x%.8x)" |
| 214 | esp_pci_sbac_read(uint32_t reg) "sbac: 0x%8.8x" |
| 215 | esp_pci_sbac_write(uint32_t reg, uint32_t val) "sbac: 0x%8.8x -> 0x%8.8x" |
| 216 | |
| 217 | # spapr_vscsi.c |
| 218 | spapr_vscsi_send_rsp(uint8_t status, int32_t res_in, int32_t res_out) "status: 0x%x, res_in: %"PRId32", res_out: %"PRId32 |
| 219 | spapr_vscsi_fetch_desc_no_data(void) "no data descriptor" |
| 220 | spapr_vscsi_fetch_desc_direct(void) "direct segment" |
| 221 | spapr_vscsi_fetch_desc_indirect(uint32_t qtag, unsigned desc, unsigned local_desc) "indirect segment local tag=0x%"PRIx32" desc#%u/%u" |
| 222 | spapr_vscsi_fetch_desc_out_of_range(unsigned desc, unsigned desc_offset) "#%u is ouf of range (%u bytes)" |
| 223 | spapr_vscsi_fetch_desc_dma_read_error(int rc) "spapr_vio_dma_read -> %d reading ext_desc" |
| 224 | spapr_vscsi_fetch_desc_indirect_seg_ext(uint32_t qtag, unsigned n, unsigned desc, uint64_t va, uint32_t len) "indirect segment ext. tag=0x%"PRIx32" desc#%u/%u { va=0x%"PRIx64" len=0x%"PRIx32" }" |
| 225 | spapr_vscsi_fetch_desc_out_of_desc(void) "Out of descriptors !" |
| 226 | spapr_vscsi_fetch_desc_out_of_desc_boundary(unsigned offset, unsigned desc, uint32_t len) " offset=0x%x is out of a descriptor #%u boundary=0x%"PRIx32 |
| 227 | spapr_vscsi_fetch_desc_done(unsigned desc_num, unsigned desc_offset, uint64_t va, uint32_t len) " cur=%u offs=0x%x ret { va=0x%"PRIx64" len=0x%"PRIx32" }" |
| 228 | spapr_vscsi_srp_indirect_data(uint32_t len) "indirect segment 0x%"PRIx32" bytes" |
| 229 | spapr_vscsi_srp_indirect_data_rw(int writing, int rc) "spapr_vio_dma_r/w(%d) -> %d" |
| 230 | spapr_vscsi_srp_indirect_data_buf(unsigned a, unsigned b, unsigned c, unsigned d) " data: %02x %02x %02x %02x..." |
| 231 | spapr_vscsi_srp_transfer_data(uint32_t len) "no data desc transfer, skipping 0x%"PRIx32" bytes" |
| 232 | spapr_vscsi_transfer_data(uint32_t tag, uint32_t len, void *req) "SCSI xfer complete tag=0x%"PRIx32" len=0x%"PRIx32", req=%p" |
| 233 | spapr_vscsi_command_complete(uint32_t tag, uint32_t status, void *req) "SCSI cmd complete, tag=0x%"PRIx32" status=0x%"PRIx32", req=%p" |
| 234 | spapr_vscsi_command_complete_sense_data1(uint32_t len, unsigned s0, unsigned s1, unsigned s2, unsigned s3, unsigned s4, unsigned s5, unsigned s6, unsigned s7) "Sense data, %d bytes: %02x %02x %02x %02x %02x %02x %02x %02x" |
| 235 | spapr_vscsi_command_complete_sense_data2(unsigned s8, unsigned s9, unsigned s10, unsigned s11, unsigned s12, unsigned s13, unsigned s14, unsigned s15) " %02x %02x %02x %02x %02x %02x %02x %02x" |
| 236 | spapr_vscsi_command_complete_status(uint32_t status) "Command complete err=%"PRIu32 |
| 237 | spapr_vscsi_save_request(uint32_t qtag, unsigned desc, unsigned offset) "saving tag=%"PRIu32", current desc#%u, offset=0x%x" |
| 238 | spapr_vscsi_load_request(uint32_t qtag, unsigned desc, unsigned offset) "restoring tag=%"PRIu32", current desc#%u, offset=0x%x" |
| 239 | spapr_vscsi_process_login(void) "Got login, sending response !" |
| 240 | spapr_vscsi_process_tsk_mgmt(uint8_t func) "tsk_mgmt_func 0x%02x" |
| 241 | spapr_vscsi_queue_cmd_no_drive(uint64_t lun) "Command for lun 0x%08" PRIx64 " with no drive" |
| 242 | spapr_vscsi_queue_cmd(uint32_t qtag, unsigned cdb, const char *cmd, int lun, int ret) "Queued command tag 0x%"PRIx32" CMD 0x%x=%s LUN %d ret: %d" |
| 243 | spapr_vscsi_do_crq(unsigned c0, unsigned c1) "crq: %02x %02x ..." |
| 244 | |
| 245 | # lsi53c895a.c |
| 246 | lsi_reset(void) "Reset" |
| 247 | lsi_update_irq(int level, uint8_t dstat, uint8_t sist1, uint8_t sist0) "Update IRQ level %d dstat 0x%02x sist 0x%02x0x%02x" |
| 248 | lsi_update_irq_disconnected(void) "Handled IRQs & disconnected, looking for pending processes" |
| 249 | lsi_script_scsi_interrupt(uint8_t stat1, uint8_t stat0, uint8_t sist1, uint8_t sist0) "SCSI Interrupt 0x%02x0x%02x prev 0x%02x0x%02x" |
| 250 | lsi_script_dma_interrupt(uint8_t stat, uint8_t dstat) "DMA Interrupt 0x%x prev 0x%x" |
| 251 | lsi_bad_phase_jump(uint32_t dsp) "Data phase mismatch jump to 0x%"PRIX32 |
| 252 | lsi_bad_phase_interrupt(void) "Phase mismatch interrupt" |
| 253 | lsi_bad_selection(uint32_t id) "Selected absent target %"PRIu32 |
| 254 | lsi_do_dma_unavailable(void) "DMA no data available" |
| 255 | lsi_do_dma(uint64_t addr, int len) "DMA addr=0x%"PRIx64" len=%d" |
| 256 | lsi_queue_command(uint32_t tag) "Queueing tag=0x%"PRIx32 |
| 257 | lsi_add_msg_byte_error(void) "MSG IN data too long" |
| 258 | lsi_add_msg_byte(uint8_t data) "MSG IN 0x%02x" |
| 259 | lsi_reselect(int id) "Reselected target %d" |
| 260 | lsi_queue_req_error(void *p) "Multiple IO pending for request %p" |
| 261 | lsi_queue_req(uint32_t tag) "Queueing IO tag=0x%"PRIx32 |
| 262 | lsi_command_complete(uint32_t status) "Command complete status=%"PRId32 |
| 263 | lsi_transfer_data(uint32_t tag, uint32_t len) "Data ready tag=0x%"PRIx32" len=%"PRId32 |
| 264 | lsi_do_command(uint32_t dbc) "Send command len=%"PRId32 |
| 265 | lsi_do_status(uint32_t dbc, uint8_t status) "Get status len=%"PRId32" status=%d" |
| 266 | lsi_do_status_error(void) "Bad Status move" |
| 267 | lsi_do_msgin(uint32_t dbc, int len) "Message in len=%"PRId32" %d" |
| 268 | lsi_do_msgout(uint32_t dbc) "MSG out len=%"PRId32 |
| 269 | lsi_do_msgout_disconnect(void) "MSG: Disconnect" |
| 270 | lsi_do_msgout_noop(void) "MSG: No Operation" |
| 271 | lsi_do_msgout_extended(uint8_t msg, uint8_t len) "Extended message 0x%x (len %d)" |
| 272 | lsi_do_msgout_ignored(const char *msg) "%s (ignored)" |
| 273 | lsi_do_msgout_simplequeue(uint8_t select_tag) "SIMPLE queue tag=0x%x" |
| 274 | lsi_do_msgout_abort(uint32_t tag) "MSG: ABORT TAG tag=0x%"PRIx32 |
| 275 | lsi_do_msgout_clearqueue(uint32_t tag) "MSG: CLEAR QUEUE tag=0x%"PRIx32 |
| 276 | lsi_do_msgout_busdevicereset(uint32_t tag) "MSG: BUS DEVICE RESET tag=0x%"PRIx32 |
| 277 | lsi_do_msgout_select(int id) "Select LUN %d" |
| 278 | lsi_memcpy(uint32_t dest, uint32_t src, int count) "memcpy dest 0x%"PRIx32" src 0x%"PRIx32" count %d" |
| 279 | lsi_wait_reselect(void) "Wait Reselect" |
| 280 | lsi_execute_script(uint32_t dsp, uint32_t insn, uint32_t addr) "SCRIPTS dsp=0x%"PRIx32" opcode 0x%"PRIx32" arg 0x%"PRIx32 |
| 281 | lsi_execute_script_blockmove_delayed(void) "Delayed select timeout" |
| 282 | lsi_execute_script_blockmove_badphase(const char *phase, const char *expected) "Wrong phase got %s expected %s" |
| 283 | lsi_execute_script_io_alreadyreselected(void) "Already reselected, jumping to alternative address" |
| 284 | lsi_execute_script_io_selected(uint8_t id, const char *atn) "Selected target %d%s" |
| 285 | lsi_execute_script_io_disconnect(void) "Wait Disconnect" |
| 286 | lsi_execute_script_io_set(const char *atn, const char *ack, const char *tm, const char *cc) "Set%s%s%s%s" |
| 287 | lsi_execute_script_io_clear(const char *atn, const char *ack, const char *tm, const char *cc) "Clear%s%s%s%s" |
| 288 | lsi_execute_script_io_opcode(const char *opcode, int reg, const char *opname, uint8_t data8, uint32_t sfbr, const char *ssfbr) "%s reg 0x%x %s data8=0x%02x sfbr=0x%02x%s" |
| 289 | lsi_execute_script_tc_nop(void) "NOP" |
| 290 | lsi_execute_script_tc_delayedselect_timeout(void) "Delayed select timeout" |
| 291 | lsi_execute_script_tc_compc(int result) "Compare carry %d" |
| 292 | lsi_execute_script_tc_compp(const char *phase, char op, const char *insn_phase) "Compare phase %s %c= %s" |
| 293 | lsi_execute_script_tc_compd(uint32_t sfbr, uint8_t mask, char op, int result) "Compare data 0x%"PRIx32" & 0x%x %c= 0x%x" |
| 294 | lsi_execute_script_tc_jump(uint32_t addr) "Jump to 0x%"PRIx32 |
| 295 | lsi_execute_script_tc_call(uint32_t addr) "Call 0x%"PRIx32 |
| 296 | lsi_execute_script_tc_return(uint32_t addr) "Return to 0x%"PRIx32 |
| 297 | lsi_execute_script_tc_interrupt(uint32_t addr) "Interrupt 0x%"PRIx32 |
| 298 | lsi_execute_script_tc_illegal(void) "Illegal transfer control" |
| 299 | lsi_execute_script_tc_cc_failed(void) "Control condition failed" |
| 300 | lsi_execute_script_mm_load(int reg, int n, uint32_t addr, int data) "Load reg 0x%x size %d addr 0x%"PRIx32" = 0x%08x" |
| 301 | lsi_execute_script_mm_store(int reg, int n, uint32_t addr) "Store reg 0x%x size %d addr 0x%"PRIx32 |
| 302 | lsi_execute_script_stop(void) "SCRIPTS execution stopped" |
| 303 | lsi_awoken(void) "Woken by SIGP" |
| 304 | lsi_reg_read(const char *name, int offset, uint8_t ret) "Read reg %s 0x%x = 0x%02x" |
| 305 | lsi_reg_write(const char *name, int offset, uint8_t val) "Write reg %s 0x%x = 0x%02x" |
| 306 | lsi_scripts_timer_triggered(void) "SCRIPTS timer triggered" |
| 307 | lsi_scripts_timer_start(void) "SCRIPTS timer started" |
| 308 | |
| 309 | # ncr53c710.c |
| 310 | ncr710_reset(void) "Reset" |
| 311 | ncr710_reg_read(const char *name, int offset, uint8_t ret) "Read %s [0x%02x] = 0x%02x" |
| 312 | ncr710_reg_write(const char *name, int offset, uint8_t val) "Write %s [0x%02x] = 0x%02x" |
| 313 | ncr710_script_scsi_interrupt(uint8_t stat0, uint8_t sstat0) "SCSI interrupt stat=0x%02x sstat=0x%02x" |
| 314 | ncr710_script_dma_interrupt(uint8_t stat, uint8_t dstat) "DMA interrupt stat=0x%02x dstat=0x%02x" |
| 315 | ncr710_command_complete(uint32_t tag, uint8_t status) "tag=0x%x status=0x%02x" |
| 316 | ncr710_disconnect(uint8_t waiting) "waiting=%d" |
| 317 | ncr710_bad_selection(uint32_t target) "target=%d" |
| 318 | ncr710_parity_sense_changed(const char *parity) "Parity sense changed to %s" |
| 319 | ncr710_device_realize(void) "Device realized" |
| 320 | |
| 321 | # lasi_ncr710.c |
| 322 | lasi_ncr710_device_realize(void) "Device realized" |
| 323 | lasi_ncr710_device_reset(void) "Device reset" |
| 324 | lasi_ncr710_reg_read(uint32_t addr, uint32_t val, unsigned size) "addr=0x%03x val=0x%08x size=%u" |
| 325 | lasi_ncr710_reg_write(uint32_t addr, uint32_t val, unsigned size) "addr=0x%03x val=0x%08x size=%u" |
| 326 | lasi_ncr710_reg_read_id(uint32_t hw_type, uint32_t sversion, uint32_t val) "hw_type=%u sversion=0x%04x val=0x%08x" |
| 327 | lasi_ncr710_reg_read_hversion(uint32_t hversion) "LASI NCR710: HVersion read -> 0x%02x" |
| 328 | lasi_ncr710_reg_forward_read(uint32_t addr, uint32_t val) "LASI NCR710: Forward read to NCR710 core addr=0x%03x val=0x%08x" |
| 329 | lasi_ncr710_reg_forward_write(uint32_t addr, uint32_t val) "LASI NCR710: Forward write to NCR710 core addr=0x%03x val=0x%08x" |
| 330 | lasi_ncr710_command_complete(uint32_t status, size_t resid) "LASI NCR710: Command complete status=0x%02x resid=%zu" |
| 331 | lasi_ncr710_transfer_data(uint32_t len) "LASI NCR710: Transfer data len=%u" |
| 332 | lasi_ncr710_request_cancelled(void *req) "LASI NCR710: Request cancelled req=%p" |
| 333 | lasi_ncr710_timers_initialized(uint64_t reselection) "Timers: reselection=0x%" PRIx64 |
| 334 | lasi_ncr710_handle_legacy_cmdline(int busnr, int found_drives) "LASI NCR710: Handle legacy cmdline busnr=%d found_drives=%d" |
| 335 | lasi_ncr710_legacy_drive_found(int busnr, int unit) "LASI NCR710: Found legacy drive at bus=%d unit=%d" |
| 336 | lasi_ncr710_scsi_device_created(const char *type) "LASI NCR710: SCSI device created: %s" |
| 337 | |
| 338 | # virtio-scsi.c |
| 339 | virtio_scsi_cmd_req(int lun, uint32_t tag, uint8_t cmd) "virtio_scsi_cmd_req lun=%u tag=0x%x cmd=0x%x" |
| 340 | virtio_scsi_cmd_resp(int lun, uint32_t tag, int response, uint8_t status) "virtio_scsi_cmd_resp lun=%u tag=0x%x response=%d status=0x%x" |
| 341 | virtio_scsi_tmf_req(int lun, uint32_t tag, int subtype) "virtio_scsi_tmf_req lun=%u tag=0x%x subtype=%d" |
| 342 | virtio_scsi_tmf_resp(int lun, uint32_t tag, int response) "virtio_scsi_tmf_resp lun=%u tag=0x%x response=%d" |
| 343 | virtio_scsi_an_req(int lun, uint32_t event_requested) "virtio_scsi_an_req lun=%u event_requested=0x%x" |
| 344 | virtio_scsi_an_resp(int lun, int response) "virtio_scsi_an_resp lun=%u response=%d" |
| 345 | virtio_scsi_event(int lun, int event, int reason) "virtio_scsi_event lun=%u event=%d reason=%d" |
| 346 | |
| 347 | # scsi-disk.c |
| 348 | scsi_disk_check_condition(uint32_t tag, uint8_t key, uint8_t asc, uint8_t ascq) "Command complete tag=0x%x sense=%d/%d/%d" |
| 349 | scsi_disk_read_complete(uint32_t tag, size_t size) "Data ready tag=0x%x len=%zd" |
| 350 | scsi_disk_read_data_count(uint32_t sector_count) "Read sector_count=%d" |
| 351 | scsi_disk_read_data_invalid(void) "Data transfer direction invalid" |
| 352 | scsi_disk_write_complete_noio(uint32_t tag, size_t size) "Write complete tag=0x%x more=%zd" |
| 353 | scsi_disk_write_data_invalid(void) "Data transfer direction invalid" |
| 354 | scsi_disk_emulate_vpd_page_00(size_t xfer) "Inquiry EVPD[Supported pages] buffer size %zd" |
| 355 | scsi_disk_emulate_vpd_page_80_not_supported(void) "Inquiry (EVPD[Serial number] not supported" |
| 356 | scsi_disk_emulate_vpd_page_80(size_t xfer) "Inquiry EVPD[Serial number] buffer size %zd" |
| 357 | scsi_disk_emulate_vpd_page_83(size_t xfer) "Inquiry EVPD[Device identification] buffer size %zd" |
| 358 | scsi_disk_emulate_vpd_page_b0_not_supported(void) "Inquiry (EVPD[Block limits] not supported for CDROM" |
| 359 | scsi_disk_emulate_mode_sense(int cmd, int page, size_t xfer, int control) "Mode Sense(%d) (page %d, xfer %zd, page_control %d)" |
| 360 | scsi_disk_emulate_read_toc(int start_track, int format, int msf) "Read TOC (track %d format %d msf %d)" |
| 361 | scsi_disk_emulate_read_data(int buflen) "Read buf_len=%d" |
| 362 | scsi_disk_emulate_write_data(int buflen) "Write buf_len=%d" |
| 363 | scsi_disk_emulate_command_SAI_16(void) "SAI READ CAPACITY(16)" |
| 364 | scsi_disk_emulate_command_SAI_unsupported(void) "Unsupported Service Action In" |
| 365 | scsi_disk_emulate_command_SEEK_10(uint64_t lba) "Seek(10) (sector %" PRId64 ")" |
| 366 | scsi_disk_emulate_command_MODE_SELECT(size_t xfer) "Mode Select(6) (len %zd)" |
| 367 | scsi_disk_emulate_command_MODE_SELECT_10(size_t xfer) "Mode Select(10) (len %zd)" |
| 368 | scsi_disk_emulate_command_UNMAP(size_t xfer) "Unmap (len %zd)" |
| 369 | scsi_disk_emulate_command_VERIFY(int bytchk) "Verify (bytchk %d)" |
| 370 | scsi_disk_emulate_command_WRITE_SAME(int cmd, size_t xfer) "WRITE SAME %d (len %zd)" |
| 371 | scsi_disk_emulate_command_UNKNOWN(int cmd, const char *name) "Unknown SCSI command (0x%2.2x=%s)" |
| 372 | scsi_disk_emulate_command_FORMAT_UNIT(size_t xfer) "Format Unit (len %zu)" |
| 373 | scsi_disk_dma_command_READ(uint64_t lba, uint32_t len) "Read (sector %" PRId64 ", count %u)" |
| 374 | scsi_disk_dma_command_WRITE(const char *cmd, uint64_t lba, int len) "Write %s(sector %" PRId64 ", count %u)" |
| 375 | scsi_disk_new_request(uint32_t lun, uint32_t tag, const char *line) "Command: lun=%d tag=0x%x data=%s" |
| 376 | scsi_disk_aio_sgio_command(uint32_t tag, uint8_t cmd, uint64_t lba, int len, uint32_t timeout) "disk aio sgio: tag=0x%x cmd=0x%x (sector %" PRId64 ", count %d) timeout=%u" |
| 377 | scsi_disk_mode_select_page_truncated(int page, int len, int page_len) "page %d expected length %d but received length %d" |
| 378 | scsi_disk_mode_select_set_blocksize(int blocksize) "set block size to %d" |
| 379 | |
| 380 | # scsi-generic.c |
| 381 | scsi_generic_command_complete_noio(void *req, uint32_t tag, int statuc) "Command complete %p tag=0x%x status=%d" |
| 382 | scsi_generic_read_complete(uint32_t tag, int len) "Data ready tag=0x%x len=%d" |
| 383 | scsi_generic_read_data(uint32_t tag) "scsi_read_data tag=0x%x" |
| 384 | scsi_generic_write_complete(int ret) "scsi_write_complete() ret = %d" |
| 385 | scsi_generic_write_complete_blocksize(int blocksize) "block size %d" |
| 386 | scsi_generic_write_data(uint32_t tag) "scsi_write_data tag=0x%x" |
| 387 | scsi_generic_send_command(const char *line) "Command: data=%s" |
| 388 | scsi_generic_realize_type(int type) "device type %d" |
| 389 | scsi_generic_realize_blocksize(int blocksize) "block size %d" |
| 390 | scsi_generic_aio_sgio_command(uint32_t tag, uint8_t cmd, uint32_t timeout) "generic aio sgio: tag=0x%x cmd=0x%x timeout=%u" |
| 391 | scsi_generic_ioctl_sgio_command(uint8_t cmd, uint32_t timeout) "generic ioctl sgio: cmd=0x%x timeout=%u" |
| 392 | scsi_generic_ioctl_sgio_done(uint8_t cmd, int ret, uint8_t status, uint8_t host_status) "generic ioctl sgio: cmd=0x%x ret=%d status=0x%x host_status=0x%x" |
| 393 | scsi_generic_persistent_reserve_out_reply(uint8_t service_action, uint8_t resv_type, uint64_t old_key, uint64_t new_key) "persistent reserve out reply service_action=%u resv_type=%u old_key=0x%" PRIx64 " new_key=0x%" PRIx64 |
| 394 | scsi_generic_pr_state_preempt(uint64_t key, uint8_t resv_type) "key=0x%" PRIx64 " resv_type=%u" |