/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | error.c | 114 struct async_flt *aflt; in process_resumable_error() local 185 aflt->flt_panic = 1; in process_resumable_error() 187 aflt->flt_panic = 0; in process_resumable_error() 269 aflt->flt_panic = ((aflt->flt_tl != 0) || in process_nonresumable_error() 305 if (aflt->flt_priv == 1 && aflt->flt_tl == 0 && in process_nonresumable_error() 312 if (!aflt->flt_priv || aflt->flt_prot == in process_nonresumable_error() 385 if (!aflt->flt_priv || aflt->flt_prot == AFLT_PROT_COPY || in process_nonresumable_error() 427 if ((aflt->flt_prot == AFLT_PROT_NONE) && (aflt->flt_priv == 1) && in errh_cpu_run_bus_error_handlers() 429 aflt->flt_panic = 1; in errh_cpu_run_bus_error_handlers() 491 if (aflt->flt_panic) in cpu_queue_one_event() [all …]
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_common.c | 1420 aflt->flt_panic == 0 && aflt->flt_priv != 0 && in cpu_log_fast_ecc_error() 1883 if (!aflt->flt_priv || aflt->flt_prot == AFLT_PROT_COPY) { in cpu_deferred_error() 2052 if (!aflt->flt_priv || aflt->flt_prot == AFLT_PROT_COPY) { in cpu_deferred_error() 2656 aflt->flt_func(aflt, unum); in cpu_log_err() 2719 aflt->flt_func(aflt, unum); in cpu_ce_log_err() 2734 "fault class (0x%x)", (void *)aflt, aflt->flt_class); in cpu_ce_log_err() 3366 "fault class (0x%x)", (void *)aflt, aflt->flt_class); in cpu_ue_log_err() 3529 aflt->flt_addr, aflt->flt_bus_id, aflt->flt_in_memory, in cpu_get_mem_unum_aflt() 3550 aflt->flt_bus_id, aflt->flt_in_memory, in cpu_get_mem_unum_synd() 4945 aflt->flt_synd = GET_M_SYND(aflt->flt_stat); in cpu_queue_one_event() [all …]
|
H A D | opl_olympus.c | 1184 "fault class (0x%x)", (void *)aflt, aflt->flt_class); 1244 aflt->flt_addr, aflt->flt_bus_id, aflt->flt_in_memory, 1542 aflt->flt_inst, (uint8_t *)&cpunodes[aflt->flt_inst].version, 1584 aflt->flt_panic = 1; 1961 aflt->flt_panic = 1; 1985 if (!aflt->flt_panic && aflt->flt_priv && tl == 0) { 2033 if (!aflt->flt_priv || aflt->flt_prot == AFLT_PROT_COPY) { 2037 aflt->flt_panic = 1; 2087 if (!aflt->flt_priv || aflt->flt_prot == AFLT_PROT_COPY) { 2124 aflt->flt_tl = tl; [all …]
|
H A D | spitfire.c | 1186 "fault class (0x%x)", (void *)aflt, aflt->flt_class); in cpu_ue_log_err() 1436 aflt->flt_in_memory = (pf_is_memory(aflt->flt_addr >> in cpu_async_error() 1555 if (aflt->flt_panic && aflt->flt_in_memory) { in cpu_async_error() 1589 aflt->flt_in_memory = (pf_is_memory(aflt->flt_addr >> in cpu_async_error() 1621 if (aflt->flt_priv && aflt->flt_prot == AFLT_PROT_NONE) { in cpu_async_error() 1720 (!aflt->flt_priv || aflt->flt_prot == AFLT_PROT_COPY)) { in cpu_async_error() 1773 if ((aflt->flt_stat & P_AFSR_UE) && aflt->flt_addr == t_afar) in cpu_async_error() 1930 aflt->flt_stat, aflt->flt_addr, aflt->flt_bus_id, in cpu_get_mem_unum_aflt() 2300 if (aflt->flt_addr != AFLT_INV_ADDR && aflt->flt_in_memory) { in cpu_async_log_err() 3186 if ((aflt == NULL) || ((aflt->flt_class == CPU_FAULT) && in cpu_aflt_log() [all …]
|
H A D | us3_cheetahplus.c | 391 cpu_log_err(aflt); in cpu_impl_async_log_err() 402 cpu_log_err(aflt); in cpu_impl_async_log_err() 895 uint64_t faddr = aflt->flt_addr; in pn_cpu_log_diag_l2_info() 976 struct async_flt *aflt; in cpu_tlb_parity_error() local 1019 aflt->flt_inst = CPU->cpu_id; in cpu_tlb_parity_error() 1021 aflt->flt_addr = trap_va; in cpu_tlb_parity_error() 1022 aflt->flt_prot = AFLT_PROT_NONE; in cpu_tlb_parity_error() 1023 aflt->flt_class = CPU_FAULT; in cpu_tlb_parity_error() 1025 aflt->flt_tl = tl1_trap ? 1 : 0; in cpu_tlb_parity_error() 1045 if (aflt->flt_panic) { in cpu_tlb_parity_error() [all …]
|
H A D | mach_cpu_module.c | 94 ce_scrub_xdiag_recirc(struct async_flt *aflt, errorq_t *eqp, in ce_scrub_xdiag_recirc() argument 100 flt_to_error_type(struct async_flt *aflt) in flt_to_error_type() argument 113 cpu_check_allcpus(struct async_flt *aflt) in cpu_check_allcpus() argument 141 cpu_get_mem_unum_aflt(int synd_stat, struct async_flt *aflt, in cpu_get_mem_unum_aflt() argument 170 cpu_ereport_post(struct async_flt *aflt) in cpu_ereport_post() argument 175 cpu_run_bus_error_handlers(struct async_flt *aflt, int expected) in cpu_run_bus_error_handlers() argument
|
H A D | us3_jalapeno.c | 315 struct async_flt *aflt = (struct async_flt *)flt; in cpu_impl_async_log_err() local 329 if (page_retire_check(aflt->flt_addr, &errors) == EINVAL) { in cpu_impl_async_log_err() 330 CE_XDIAG_SETSKIPCODE(aflt->flt_disp, in cpu_impl_async_log_err() 333 CE_XDIAG_SETSKIPCODE(aflt->flt_disp, in cpu_impl_async_log_err() 335 } else if (ce_scrub_xdiag_recirc(aflt, ce_queue, eqep, in cpu_impl_async_log_err() 347 cpu_log_err(aflt); in cpu_impl_async_log_err() 354 cpu_log_err(aflt); in cpu_impl_async_log_err()
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | ecc.c | 115 bus_async_log_err(struct async_flt *aflt) in bus_async_log_err() argument 125 if (aflt->flt_in_memory) in bus_async_log_err() 126 cpu_check_allcpus(aflt); in bus_async_log_err() 131 (void) cpu_get_mem_unum_aflt(AFLT_STAT_INVALID, aflt, in bus_async_log_err() 133 aflt->flt_func(aflt, unum); in bus_async_log_err() 170 ue_drain(void *ignored, struct async_flt *aflt, errorq_elem_t *eqep) in ue_drain() argument 172 cpu_ue_log_err(aflt); in ue_drain() 183 cpu_ce_log_err(aflt, eqep); in ce_drain() 190 ce_scrub(struct async_flt *aflt) in ce_scrub() argument 192 if (aflt->flt_in_memory) in ce_scrub() [all …]
|
H A D | plat_ecc_unum.c | 529 if (aflt->flt_in_memory) { in plat_log_fruid_error2() 565 e2d.ee2d_afsr = aflt->flt_stat; in plat_log_fruid_error2() 566 e2d.ee2d_afar = aflt->flt_addr; in plat_log_fruid_error2() 685 contentsp->afsr = aflt->flt_stat; in plat_log_fruid_indictment() 686 contentsp->afar = aflt->flt_addr; in plat_log_fruid_indictment() 956 struct async_flt aflt; in plat_blacklist() local 973 aflt.flt_inst = (uint_t)-1; in plat_blacklist() 1006 aflt.flt_id = gethrtime(); in plat_blacklist() 1007 aflt.flt_addr = -1; in plat_blacklist() 1008 aflt.flt_stat = -1; in plat_blacklist() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sysioerr.c | 770 struct async_flt aflt; in sbus_ctrl_ecc_err() local 774 bzero(&aflt, sizeof (aflt)); in sbus_ctrl_ecc_err() 775 aflt.flt_id = gethrtime(); in sbus_ctrl_ecc_err() 776 aflt.flt_stat = t_sb_csr; in sbus_ctrl_ecc_err() 778 aflt.flt_bus_id = id; in sbus_ctrl_ecc_err() 779 aflt.flt_inst = inst; in sbus_ctrl_ecc_err() 780 aflt.flt_status = ECC_IOBUS; in sbus_ctrl_ecc_err() 781 aflt.flt_class = BUS_FAULT; in sbus_ctrl_ecc_err() 782 aflt.flt_panic = 1; in sbus_ctrl_ecc_err() 784 errorq_dispatch(ue_queue, &aflt, sizeof (aflt), aflt.flt_panic); in sbus_ctrl_ecc_err() [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | us3_module.h | 494 extern void cpu_aflt_log(int ce_code, int tagnum, ch_async_flt_t *aflt, 496 extern uint8_t flt_to_trap_type(struct async_flt *aflt); 497 extern void cpu_log_err(struct async_flt *aflt); 507 extern void cpu_clearphys(struct async_flt *aflt); 587 extern void log_flt_func(struct async_flt *aflt, char *unum);
|
H A D | cpu_module.h | 142 void cpu_check_allcpus(struct async_flt *aflt); 167 int cpu_get_mem_unum_aflt(int synd_status, struct async_flt *aflt,
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | platform_module.h | 102 struct async_flt *aflt, struct plat_ecc_ch_async_flt *plat_ecc_ch_flt);
|