Lines Matching +full:tlb +full:- +full:split
1 // SPDX-License-Identifier: GPL-2.0
49 env = lf_subpackets->env[ev7_lf_env_index(ev_packets[i].type)]; in marvel_print_680_frame()
56 env->cabinet, in marvel_print_680_frame()
57 env->drawer); in marvel_print_680_frame()
58 printk("%s Module Type: 0x%x - Unit ID 0x%x - " in marvel_print_680_frame()
61 env->module_type, in marvel_print_680_frame()
62 env->unit_id, in marvel_print_680_frame()
63 env->condition); in marvel_print_680_frame()
77 if (lf_subpackets->env[i]) in marvel_process_680_frame()
317 "%s Source Port: %lld - Dest PID: %lld - OpCode: %s\n", in marvel_print_po7_ugbge_sym()
371 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_SBE) { in marvel_print_po7_err_sum()
374 (io->po7_error_sum & IO7__PO7_ERRSUM__CR_SBE2) in marvel_print_po7_err_sum()
376 marvel_print_po7_crrct_sym(io->po7_crrct_sym); in marvel_print_po7_err_sum()
382 if (io->po7_error_sum & IO7__PO7_ERRSUM__HLT_INT) in marvel_print_po7_err_sum()
384 if (io->po7_error_sum & IO7__PO7_ERRSUM__HP_INT) { in marvel_print_po7_err_sum()
389 if (io->po7_error_sum & IO7__PO7_ERRSUM__CRD_INT) in marvel_print_po7_err_sum()
392 if (io->po7_error_sum & IO7__PO7_ERRSUM__STV_INT) { in marvel_print_po7_err_sum()
396 if (io->po7_error_sum & IO7__PO7_ERRSUM__HRD_INT) { in marvel_print_po7_err_sum()
405 if (!(io->po7_error_sum & IO7__PO7_ERRSUM__ERR_VALID)) in marvel_print_po7_err_sum()
416 if (!(io->po7_error_sum & (IO7__PO7_ERRSUM__CR_PIO_WBYTE | in marvel_print_po7_err_sum()
423 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_PIO_WBYTE) in marvel_print_po7_err_sum()
425 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_CSR_NXM) in marvel_print_po7_err_sum()
426 printk("%s PIO to non-existent CSR\n", err_print_prefix); in marvel_print_po7_err_sum()
427 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_RPID_ACV) in marvel_print_po7_err_sum()
430 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_RSP_NXM) in marvel_print_po7_err_sum()
433 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_ERR_RESP) in marvel_print_po7_err_sum()
435 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_CLK_DERR) in marvel_print_po7_err_sum()
437 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_DAT_DBE) in marvel_print_po7_err_sum()
440 if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_DAT_GRBG) in marvel_print_po7_err_sum()
443 if (io->po7_error_sum & IO7__PO7_ERRSUM__UGBGE) { in marvel_print_po7_err_sum()
446 marvel_print_po7_ugbge_sym(io->po7_ugbge_sym); in marvel_print_po7_err_sum()
448 if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_MAF_LOST) in marvel_print_po7_err_sum()
451 if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_PKT_OVF) in marvel_print_po7_err_sum()
453 if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_CDT_OVF) in marvel_print_po7_err_sum()
455 if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_DEALLOC) in marvel_print_po7_err_sum()
462 if (io->po7_error_sum & IO7__PO7_ERRSUM__MAF_TO) in marvel_print_po7_err_sum()
465 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_CDT_TO) in marvel_print_po7_err_sum()
467 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_CLK_HDR) in marvel_print_po7_err_sum()
470 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_DBE_HDR) in marvel_print_po7_err_sum()
473 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_GBG_HDR) in marvel_print_po7_err_sum()
476 if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_BAD_CMD) in marvel_print_po7_err_sum()
480 if (io->po7_error_sum & IO7__PO7_ERRSUM__ERR_LST) in marvel_print_po7_err_sum()
487 err_print_prefix, io->po7_err_pkt0, in marvel_print_po7_err_sum()
488 err_print_prefix, io->po7_err_pkt1); in marvel_print_po7_err_sum()
495 marvel_print_po7_uncrr_sym(io->po7_uncrr_sym, uncrr_sym_valid); in marvel_print_po7_err_sum()
503 "North Port Signaled Error fetching TLB entry", in marvel_print_pox_tlb_err()
519 printk("%s TLB Error on index 0x%llx:\n" in marvel_print_pox_tlb_err()
520 "%s - %s\n" in marvel_print_pox_tlb_err()
521 "%s - Addr: 0x%016llx\n", in marvel_print_pox_tlb_err()
555 printk("%s Split Completion Error:\n" in marvel_print_pox_spl_cmplt()
568 sprintf(message, "Bridge - Master Abort"); in marvel_print_pox_spl_cmplt()
571 sprintf(message, "Bridge - Target Abort"); in marvel_print_pox_spl_cmplt()
574 sprintf(message, "Bridge - Uncorrectable Write Data Error"); in marvel_print_pox_spl_cmplt()
580 sprintf(message, "Uncorrectable Split Write Data Error"); in marvel_print_pox_spl_cmplt()
606 "Memory Read Multiple / Split Completion", in marvel_print_pox_trans_sum()
625 "%s Command: 0x%llx - %s\n" in marvel_print_pox_trans_sum()
627 "%s PCI-X Master Slot: 0x%llx\n", in marvel_print_pox_trans_sum()
700 printk("%s Unexpected Split Completion\n", in marvel_print_pox_err()
703 printk("%s IO7 Split Completion Timeout expired\n", in marvel_print_pox_err()
715 printk("%s Address or PCI-X Attribute Parity Error\n", in marvel_print_pox_err()
725 printk("%s Split Completion Response with " in marvel_print_pox_err()
733 printk("%s IO7 Received Split Completion Error message\n", in marvel_print_pox_err()
735 marvel_print_pox_spl_cmplt(port->pox_spl_cmplt); in marvel_print_pox_err()
744 "TLB - Invalid WR transaction", in marvel_print_pox_err()
745 "TLB - Invalid RD transaction", in marvel_print_pox_err()
746 "DMA - WR error (see north port)", in marvel_print_pox_err()
747 "DMA - RD error (see north port)", in marvel_print_pox_err()
748 "PPR - WR error (see north port)", in marvel_print_pox_err()
749 "PPR - RD error (see north port)" in marvel_print_pox_err()
764 marvel_print_pox_trans_sum(port->pox_trans_sum); in marvel_print_pox_err()
770 printk("%s TLB ERROR\n", err_print_prefix); in marvel_print_pox_err()
771 marvel_print_pox_tlb_err(port->pox_tlb_err); in marvel_print_pox_err()
782 printk("%s Discarded split completion\n", err_print_prefix); in marvel_print_pox_err()
800 struct ev7_pal_io_subpacket *io = lf_subpackets->io; in marvel_find_io7_with_error()
818 err_sum |= io7->csrs->PO7_ERROR_SUM.csr; in marvel_find_io7_with_error()
820 if (!io7->ports[i].enabled) in marvel_find_io7_with_error()
822 err_sum |= io7->ports[i].csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error()
843 io->io_asic_rev = io7->csrs->IO_ASIC_REV.csr; in marvel_find_io7_with_error()
844 io->io_sys_rev = io7->csrs->IO_SYS_REV.csr; in marvel_find_io7_with_error()
845 io->io7_uph = io7->csrs->IO7_UPH.csr; in marvel_find_io7_with_error()
846 io->hpi_ctl = io7->csrs->HPI_CTL.csr; in marvel_find_io7_with_error()
847 io->crd_ctl = io7->csrs->CRD_CTL.csr; in marvel_find_io7_with_error()
848 io->hei_ctl = io7->csrs->HEI_CTL.csr; in marvel_find_io7_with_error()
849 io->po7_error_sum = io7->csrs->PO7_ERROR_SUM.csr; in marvel_find_io7_with_error()
850 io->po7_uncrr_sym = io7->csrs->PO7_UNCRR_SYM.csr; in marvel_find_io7_with_error()
851 io->po7_crrct_sym = io7->csrs->PO7_CRRCT_SYM.csr; in marvel_find_io7_with_error()
852 io->po7_ugbge_sym = io7->csrs->PO7_UGBGE_SYM.csr; in marvel_find_io7_with_error()
853 io->po7_err_pkt0 = io7->csrs->PO7_ERR_PKT[0].csr; in marvel_find_io7_with_error()
854 io->po7_err_pkt1 = io7->csrs->PO7_ERR_PKT[1].csr; in marvel_find_io7_with_error()
857 io7_ioport_csrs *csrs = io7->ports[i].csrs; in marvel_find_io7_with_error()
859 if (!io7->ports[i].enabled) in marvel_find_io7_with_error()
862 io->ports[i].pox_err_sum = csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error()
863 io->ports[i].pox_tlb_err = csrs->POx_TLB_ERR.csr; in marvel_find_io7_with_error()
864 io->ports[i].pox_spl_cmplt = csrs->POx_SPL_COMPLT.csr; in marvel_find_io7_with_error()
865 io->ports[i].pox_trans_sum = csrs->POx_TRANS_SUM.csr; in marvel_find_io7_with_error()
866 io->ports[i].pox_first_err = csrs->POx_FIRST_ERR.csr; in marvel_find_io7_with_error()
867 io->ports[i].pox_mult_err = csrs->POx_MULT_ERR.csr; in marvel_find_io7_with_error()
868 io->ports[i].pox_dm_source = csrs->POx_DM_SOURCE.csr; in marvel_find_io7_with_error()
869 io->ports[i].pox_dm_dest = csrs->POx_DM_DEST.csr; in marvel_find_io7_with_error()
870 io->ports[i].pox_dm_size = csrs->POx_DM_SIZE.csr; in marvel_find_io7_with_error()
871 io->ports[i].pox_dm_ctrl = csrs->POx_DM_CTRL.csr; in marvel_find_io7_with_error()
881 csrs->POx_TLB_ERR.csr = io->ports[i].pox_tlb_err; in marvel_find_io7_with_error()
882 csrs->POx_ERR_SUM.csr = io->ports[i].pox_err_sum; in marvel_find_io7_with_error()
884 csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error()
890 io7->csrs->PO7_ERROR_SUM.csr = io->po7_error_sum; in marvel_find_io7_with_error()
892 io7->csrs->PO7_ERROR_SUM.csr; in marvel_find_io7_with_error()
897 lf_subpackets->io_pid = io7->pe; in marvel_find_io7_with_error()
908 struct ev7_pal_io_subpacket *io = lf_subpackets->io; in marvel_process_io_error()
914 if (!lf_subpackets->logout || !lf_subpackets->io) in marvel_process_io_error()
933 if ((lf_subpackets->io->po7_error_sum & (1UL << 32)) || in marvel_process_io_error()
934 ((lf_subpackets->io->po7_error_sum | in marvel_process_io_error()
935 lf_subpackets->io->ports[0].pox_err_sum | in marvel_process_io_error()
936 lf_subpackets->io->ports[1].pox_err_sum | in marvel_process_io_error()
937 lf_subpackets->io->ports[2].pox_err_sum | in marvel_process_io_error()
938 lf_subpackets->io->ports[3].pox_err_sum) & (1UL << 63))) { in marvel_process_io_error()
949 * We have an IO7 indicating an error - we're going to report it in marvel_process_io_error()
959 err_print_prefix, lf_subpackets->io_pid); in marvel_process_io_error()
964 if (lf_subpackets->io->po7_error_sum & IO7__PO7_ERRSUM__ERR_MASK) { in marvel_process_io_error()
976 err_print_prefix, io->po7_error_sum, in marvel_process_io_error()
977 err_print_prefix, io->po7_uncrr_sym, in marvel_process_io_error()
978 err_print_prefix, io->po7_crrct_sym, in marvel_process_io_error()
979 err_print_prefix, io->po7_ugbge_sym, in marvel_process_io_error()
980 err_print_prefix, io->po7_err_pkt0, in marvel_process_io_error()
981 err_print_prefix, io->po7_err_pkt1); in marvel_process_io_error()
989 if (!MARVEL_IO_ERR_VALID(io->ports[i].pox_err_sum)) in marvel_process_io_error()
994 lf_subpackets->io_pid, i, io->ports[i].pox_err_sum); in marvel_process_io_error()
995 marvel_print_pox_err(io->ports[i].pox_err_sum, &io->ports[i]); in marvel_process_io_error()
998 err_print_prefix, io->ports[i].pox_first_err); in marvel_process_io_error()
999 marvel_print_pox_err(io->ports[i].pox_first_err, in marvel_process_io_error()
1000 &io->ports[i]); in marvel_process_io_error()
1019 if (lf_subpackets->logout && in marvel_process_logout_frame()
1020 (lf_subpackets->logout->rbox_int & 0x20000400ul)) in marvel_process_logout_frame()
1024 * Probing behind PCI-X bridges can cause machine checks on in marvel_process_logout_frame()
1025 * Marvel when the probe is handled by the bridge as a split in marvel_process_logout_frame()
1036 if (lf_subpackets->ev7 && in marvel_process_logout_frame()
1037 (lf_subpackets->ev7->c_stat == 0x14) && in marvel_process_logout_frame()
1038 !(lf_subpackets->ev7->c_sts & 0x8) && in marvel_process_logout_frame()
1039 ((lf_subpackets->ev7->c_addr & 0x400ff000000ul) in marvel_process_logout_frame()
1081 /* Don't know it - pass it up. */ in marvel_machine_check()
1102 if (process_frame && lf_subpackets && lf_subpackets->logout) { in marvel_machine_check()
1111 if (!lf_subpackets->io) in marvel_machine_check()
1112 lf_subpackets->io = &scratch_io_packet; in marvel_machine_check()
1119 lf_subpackets->io_pid = lf_subpackets->logout->whami; in marvel_machine_check()
1136 el_print_timestamp(&lf_subpackets->logout->timestamp); in marvel_machine_check()
1141 /* Unknown - dump the annotated subpackets. */ in marvel_machine_check()