Searched defs:ecc (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_ecc.h39 struct ecc *ecc_p;
58 typedef struct ecc { struct
/illumos-gate/usr/src/uts/sun4u/os/
H A Decc.c141 ecc_cpu_call(struct async_flt *ecc, char *unum, int err_type) argument
151 if (ecc->flt_in_memory)
152 cpu_check_allcpus(ecc);
154 (void) cpu_get_mem_unum(AFLT_STAT_VALID, ecc->flt_synd,
155 (uint64_t)-1, ecc->flt_addr,
156 ecc->flt_bus_id, ecc->flt_in_memory,
157 ecc->flt_status, unum,
161 cpu_ce_count_unum(ecc, len, unum);
187 * Scrub a non-fatal correctable ecc erro
[all...]
H A Dplat_ecc_unum.c48 * ecc unum data and logging it appropriately as the platform
78 plat_log_fruid_error(int synd_code, struct async_flt *ecc, char *unum, argument
136 ecc_error_data.detecting_proc = ecc->flt_bus_id;
138 if (ecc->flt_in_memory)
140 else if (ecc->flt_status & ECC_ECACHE)
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_ecc.c243 * about the error from the CPU(via ecc_cpu_call(), ecc.c), attempt to
545 struct async_flt *ecc = &ecc_err->ecc_aflt; local
548 if (page_retire_check(ecc->flt_addr, &errors) == EINVAL) {
549 CE_XDIAG_SETSKIPCODE(ecc->flt_disp, CE_XDIAG_SKIP_NOPP);
552 CE_XDIAG_SETSKIPCODE(ecc->flt_disp, CE_XDIAG_SKIP_PAGEDET);
555 return (ce_scrub_xdiag_recirc(ecc, pci_ecc_queue, eqep,
568 struct async_flt *ecc = &ecc_err->ecc_aflt; local
575 if (ecc->flt_class == RECIRC_BUS_FAULT) {
580 ecc->flt_class = BUS_FAULT;
581 ecc_err->ecc_err_type = flt_to_error_type(ecc);
[all...]
H A Dpcipsy.c1574 ecc_ue_is_fatal(struct async_flt *ecc) argument
1576 return (((uint_t)(ecc->flt_stat >> SABRE_UE_AFSR_PDTE_SHIFT) &
1581 * pci_ecc_classify, called by ecc_handler to classify ecc errors
1585 * primary error bit to be set. We classify the ecc error based
1591 struct async_flt *ecc = &ecc_err_p->ecc_aflt; local
1614 ecc->flt_erpt_class = PCI_ECC_PIO_UE;
1616 ecc->flt_erpt_class = PCI_ECC_SEC_PIO_UE;
1618 ecc->flt_panic = ecc_ue_is_fatal(&ecc_err_p->ecc_aflt);
1620 ecc->flt_erpt_class = ecc_err_p->ecc_pri ?
1627 ecc
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsysioerr.c92 sysio_log_ce_err(struct async_flt *ecc, char *unum);
95 sysio_log_ue_err(struct async_flt *ecc, char *unum);
362 struct async_flt ecc; local
390 bzero(&ecc, sizeof (ecc));
391 ecc.flt_id = gethrtime();
392 ecc.flt_stat = t_afsr;
393 ecc.flt_addr = P2ALIGN(t_afar, 64) + offset;
394 ecc.flt_func = sysio_log_ue_err;
395 ecc
428 sysio_log_ue_err(struct async_flt *ecc, char *unum) argument
495 struct async_flt ecc; local
539 sysio_log_ce_err(struct async_flt *ecc, char *unum) argument
[all...]
H A Dmem_cache.c393 uint32_t ecc; local
400 ecc = (ecdptr->ec_eccd >> 9) & 0x1ff;
404 ecc = ecdptr->ec_eccd & 0x1ff;
413 PRTF_64_TO_32(d_low), ecc);
448 uint32_t ecc; local
456 ecc = (ecdptr->ec_eccd >> 9) & 0x1ff;
460 ecc = ecdptr->ec_eccd & 0x1ff;
469 PRTF_64_TO_32(d_low), ecc);
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_ecc.c221 * about the error from the CPU(via ecc_cpu_call(), ecc.c), attempt to
438 struct async_flt *ecc = &ecc_err->ecc_aflt; local
441 ecc_cpu_call(ecc, ecc_err->ecc_unum, ECC_IO_UE);
H A Dpcicmu.c245 errorq_t *pcmu_ecc_queue = NULL; /* per-system ecc handling queue */
1913 * pcmu_ecc_classify, called by ecc_handler to classify ecc errors
1919 struct async_flt *ecc = &ecc_err_p->ecc_aflt; local
1942 ecc->flt_erpt_class = PCI_ECC_PIO_UE;
1944 ecc->flt_erpt_class = PCI_ECC_SEC_PIO_UE;
1947 ecc->flt_panic = 1;
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_txc.c862 txc_roecc_st_t ecc; local
871 TXC_FZC_CNTL_REG_READ64(handle, TXC_ROECC_ST_REG, port, &ecc.value);
872 if ((ecc.bits.ldw.correct_error) || (ecc.bits.ldw.uncorrect_error)) {
889 ecc.bits.ldw.ecc_address = 0;
890 ecc.bits.ldw.correct_error = 0;
891 ecc.bits.ldw.uncorrect_error = 0;
892 ecc.bits.ldw.clr_st = 1;
894 ecc.value);
951 txc_sfecc_st_t ecc; local
[all...]
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dmach_cpu_module.c74 cpu_ce_count_unum(struct async_flt *ecc, int len, char *unum) argument
79 cpu_ce_scrub_mem_err(struct async_flt *ecc, boolean_t triedcpulogout) argument
84 cpu_ce_log_err(struct async_flt *ecc, errorq_elem_t *eqep) argument
89 cpu_ue_log_err(struct async_flt *ecc) argument
189 read_ecc_data(struct async_flt *ecc, short verbose, short ce_err) argument
H A Dopl_olympus.c1829 * so that we get an appropriate ecc pointer
2255 cpu_ce_scrub_mem_err(struct async_flt *ecc, boolean_t t) argument
2285 cpu_ce_count_unum(struct async_flt *ecc, int len, char *unum) argument
H A Dspitfire.c806 * Correctable ecc error trap handler
816 struct async_flt *ecc; local
838 ecc = (struct async_flt *)&spf_flt;
839 ecc->flt_id = gethrtime_waitfree();
840 ecc->flt_stat = t_afsr;
841 ecc->flt_addr = t_afar;
842 ecc->flt_status = ECC_C_TRAP;
843 ecc->flt_bus_id = getprocessorid();
844 ecc->flt_inst = CPU->cpu_id;
845 ecc
944 ce_scrub_xdiag_recirc(struct async_flt *ecc, errorq_t *eqp, errorq_elem_t *eqep, size_t afltoffset) argument
997 cpu_ce_scrub_mem_err(struct async_flt *ecc, boolean_t triedcpulogout) argument
1073 cpu_ce_log_err(struct async_flt *ecc, errorq_elem_t *eqep) argument
2541 cpu_read_paddr(struct async_flt *ecc, short verbose, short ce_err) argument
2638 read_ecc_data(struct async_flt *ecc, short verbose, short ce_err) argument
2668 check_ecc(struct async_flt *ecc) argument
4419 cpu_ce_count_unum(struct async_flt *ecc, int len, char *unum) argument
[all...]
H A Dus3_common.c123 static int clear_ecc(struct async_flt *ecc);
1334 * Log fast ecc error, called from either Fast ECC at TL=0 or Fast
2745 cpu_ce_scrub_mem_err_common(struct async_flt *ecc, boolean_t logout_tried) argument
2800 if (!cpu_ce_delayed_ec_logout(ecc->flt_addr))
2813 cpu_scrubphys(ecc);
2828 if (clear_ecc(ecc))
2836 (void) lddphys(P2ALIGN(ecc->flt_addr, 8));
2847 if (clear_ecc(ecc))
2870 hit = cpu_matching_ecache_line(ecc->flt_addr, &clop->clo_data,
2888 ecc
2948 cpu_ce_scrub_mem_err(struct async_flt *ecc, boolean_t logout_tried) argument
3284 struct async_flt *ecc; local
3690 cpu_read_paddr(struct async_flt *ecc, short verbose, short ce_err) argument
6813 cpu_ce_count_unum(struct async_flt *ecc, int len, char *unum) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_Lxcacheerr.c309 calcsynd(uint64_t chi, uint64_t clo, uint64_t ecc) argument
311 return (calcecc(chi, clo) ^ ecc);
449 "\n%s: cpu_id = %d ecc[0] = 0x%03x ecc[1] = 0x%03x"
450 " ecc[2] = 0x%03x ecc[3] = 0x%03x\n",
1520 int ecc, calc_synd; local
1544 ecc = (ecdptr->ec_eccd >> 9) & 0x1ff;
1548 ecc = ecdptr->ec_eccd & 0x1ff;
1553 calc_synd = calcsynd(data_hi, data_lo, ecc);
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c264 * @ecc: where to store the corresponding 64-bit ECC word
271 t4_mc_read(struct adapter *adap, u32 addr, __be32 *data, u64 *ecc) argument
290 if (ecc != NULL)
291 *ecc = t4_read_reg64(adap, MC_DATA(16));
302 * @ecc: where to store the corresponding 64-bit ECC word
309 t4_edc_read(struct adapter *adap, int idx, u32 addr, __be32 *data, u64 *ecc) argument
329 if (ecc != NULL)
330 *ecc = t4_read_reg64(adap, EDC_DATA(16));
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.h1028 } ecc; member in union:megasas_evt_detail::__anon6081
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h1712 } ecc; member in union:mrsas_evt_detail::__anon268

Completed in 1875 milliseconds