Home
last modified time | relevance | path

Searched refs:ecc_err_p (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_ecc.c275 pcmu_ecc_errstate_get(pcmu_ecc_errstate_t *ecc_err_p) in pcmu_ecc_errstate_get() argument
280 ASSERT(ecc_err_p); in pcmu_ecc_errstate_get()
282 pecc_p = ecc_err_p->ecc_ii_p.pecc_p; in pcmu_ecc_errstate_get()
289 ecc_err_p->ecc_afsr = pcmu_ecc_read_afsr(&ecc_err_p->ecc_ii_p); in pcmu_ecc_errstate_get()
290 ecc_err_p->ecc_afar = lddphysio(ecc_err_p->ecc_ii_p.pecc_afar_pa); in pcmu_ecc_errstate_get()
292 ecc_err_p->ecc_offset = ((ecc_err_p->ecc_afsr & in pcmu_ecc_errstate_get()
293 ecc_err_p->ecc_ii_p.pecc_offset_mask) >> in pcmu_ecc_errstate_get()
294 ecc_err_p->ecc_ii_p.pecc_offset_shift) << in pcmu_ecc_errstate_get()
295 ecc_err_p->ecc_ii_p.pecc_size_log2; in pcmu_ecc_errstate_get()
297 ecc_err_p->ecc_aflt.flt_id = gethrtime(); in pcmu_ecc_errstate_get()
[all …]
H A Dpcicmu.c1917 pcmu_ecc_classify(uint64_t err, pcmu_ecc_errstate_t *ecc_err_p) in pcmu_ecc_classify() argument
1919 struct async_flt *ecc = &ecc_err_p->ecc_aflt; in pcmu_ecc_classify()
1921 pcmu_t *pcmu_p = ecc_err_p->ecc_ii_p.pecc_p->pecc_pcmu_p; in pcmu_ecc_classify()
1925 ecc_err_p->ecc_bridge_type = PCI_OPLCMU; /* RAGS */ in pcmu_ecc_classify()
1929 ecc_err_p->ecc_dev_id = (ecc_err_p->ecc_afsr & PCMU_ECC_UE_AFSR_ID) in pcmu_ecc_classify()
1934 ecc_err_p->ecc_dw_offset = (ecc_err_p->ecc_afsr & in pcmu_ecc_classify()
1941 if (ecc_err_p->pecc_pri) { in pcmu_ecc_classify()
/titanic_44/usr/src/uts/sun4u/io/pci/
H A Dpci_ecc.c321 ecc_errstate_get(ecc_errstate_t *ecc_err_p) in ecc_errstate_get() argument
326 ASSERT(ecc_err_p); in ecc_errstate_get()
328 ecc_p = ecc_err_p->ecc_ii_p.ecc_p; in ecc_errstate_get()
335 ecc_err_p->ecc_afsr = ecc_read_afsr(&ecc_err_p->ecc_ii_p); in ecc_errstate_get()
336 ecc_err_p->ecc_afar = lddphysio(ecc_err_p->ecc_ii_p.ecc_afar_pa); in ecc_errstate_get()
338 ecc_err_p->ecc_offset = ((ecc_err_p->ecc_afsr & in ecc_errstate_get()
339 ecc_err_p->ecc_ii_p.ecc_offset_mask) >> in ecc_errstate_get()
340 ecc_err_p->ecc_ii_p.ecc_offset_shift) << in ecc_errstate_get()
341 ecc_err_p->ecc_ii_p.ecc_size_log2; in ecc_errstate_get()
343 ecc_err_p->ecc_aflt.flt_id = gethrtime(); in ecc_errstate_get()
[all …]
H A Dpcipsy.c1589 pci_ecc_classify(uint64_t err, ecc_errstate_t *ecc_err_p) in pci_ecc_classify() argument
1591 struct async_flt *ecc = &ecc_err_p->ecc_aflt; in pci_ecc_classify()
1592 pci_common_t *cmn_p = ecc_err_p->ecc_ii_p.ecc_p->ecc_pci_cmn_p; in pci_ecc_classify()
1596 ecc_err_p->ecc_bridge_type = PCI_BRIDGE_TYPE(cmn_p); in pci_ecc_classify()
1600 ecc_err_p->ecc_dev_id = (ecc_err_p->ecc_afsr & PSYCHO_ECC_UE_AFSR_ID) in pci_ecc_classify()
1605 ecc_err_p->ecc_dw_offset = (ecc_err_p->ecc_afsr & in pci_ecc_classify()
1612 if (ecc_err_p->ecc_ii_p.ecc_type == CBNINTR_UE) { in pci_ecc_classify()
1613 if (ecc_err_p->ecc_pri) { in pci_ecc_classify()
1618 ecc->flt_panic = ecc_ue_is_fatal(&ecc_err_p->ecc_aflt); in pci_ecc_classify()
1620 ecc->flt_erpt_class = ecc_err_p->ecc_pri ? in pci_ecc_classify()
[all …]
H A Dpcisch.c1834 pci_ecc_classify(uint64_t err, ecc_errstate_t *ecc_err_p) in pci_ecc_classify() argument
1836 struct async_flt *ecc_p = &ecc_err_p->ecc_aflt; in pci_ecc_classify()
1840 pci_common_t *cmn_p = ecc_err_p->ecc_ii_p.ecc_p->ecc_pci_cmn_p; in pci_ecc_classify()
1845 ecc_err_p->ecc_bridge_type = PCI_BRIDGE_TYPE(cmn_p); in pci_ecc_classify()
1850 ecc_err_p->ecc_ctrl = lddphysio(ecc_err_p->ecc_ii_p.ecc_p->ecc_csr_pa); in pci_ecc_classify()
1851 ecc_err_p->ecc_err_addr = afar; in pci_ecc_classify()
1856 (ecc_err_p->ecc_ii_p.ecc_type != in pci_ecc_classify()
1858 (ecc_err_p->ecc_pri != ecc_err_tbl[i].ecc_pri)) in pci_ecc_classify()
1873 ecc_err_p->ecc_region = ecc_err_tbl[i].ecc_region; in pci_ecc_classify()
1875 &ecc_err_p->ecc_err_addr, in pci_ecc_classify()
[all …]
/titanic_44/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcmu_ecc.h68 extern int pcmu_ecc_err_handler(pcmu_ecc_errstate_t *ecc_err_p);
/titanic_44/usr/src/uts/sun4u/sys/pci/
H A Dpci_ecc.h82 extern int ecc_err_handler(ecc_errstate_t *ecc_err_p);
H A Dpci_chip.h102 extern void pci_ecc_classify(uint64_t err, ecc_errstate_t *ecc_err_p);