Home
last modified time | relevance | path

Searched refs:afsr (Results 1 – 25 of 40) sorted by relevance

12

/titanic_44/usr/src/uts/sun4u/sys/pci/
H A Dpcipsy.h160 #define PBM_AFSR_TO_PRIERR(afsr) \ argument
161 (afsr >> PSYCHO_PCI_AFSR_PE_SHIFT & PSYCHO_PCI_AFSR_E_MASK)
162 #define PBM_AFSR_TO_SECERR(afsr) \ argument
163 (afsr >> PSYCHO_PCI_AFSR_SE_SHIFT & PSYCHO_PCI_AFSR_E_MASK)
164 #define PBM_AFSR_TO_BYTEMASK(afsr) \ argument
165 ((afsr & PSYCHO_PCI_AFSR_BYTEMASK) >> PSYCHO_PCI_AFSR_BYTEMASK_SHIFT)
H A Dpcisch.h363 #define PBM_AFSR_TO_PRIERR(afsr) \ argument
364 (afsr >> SCHIZO_PCI_AFSR_PE_SHIFT & SCHIZO_PCI_AFSR_E_MASK)
365 #define PBM_AFSR_TO_SECERR(afsr) \ argument
366 (afsr >> SCHIZO_PCI_AFSR_SE_SHIFT & SCHIZO_PCI_AFSR_E_MASK)
367 #define PBM_AFSR_TO_BYTEMASK(afsr) \ argument
368 ((afsr & SCHIZO_PCI_AFSR_BYTEMASK) >> SCHIZO_PCI_AFSR_BYTEMASK_SHIFT)
369 #define PBM_AFSR_TO_DWORDMASK(afsr) \ argument
370 ((afsr & SCHIZO_PCI_AFSR_DWORDMASK) >> \
453 #define PBM_AFSR_TO_PRISPLIT(afsr) \ argument
454 ((afsr >> XMITS_PCI_X_P_MSG_SHIFT) & XMITS_PCIX_MSG_MASK)
[all …]
H A Dpci_chip.h75 extern ushort_t pci_ecc_get_synd(uint64_t afsr);
104 extern void pci_format_addr(dev_info_t *dip, uint64_t *afar, uint64_t afsr);
/titanic_44/usr/src/uts/sun4u/ml/
H A Dmach_subr_asm.s140 get_asyncflt(uint64_t *afsr)
142 afsr = afsr; define
147 ldxa [%g0]ASI_AFSR, %o1 ! afsr reg
156 set_asyncflt(uint64_t afsr)
158 afsr = afsr; define
163 stxa %o0, [%g0]ASI_AFSR ! afsr reg
/titanic_44/usr/src/cmd/fm/eversholt/files/sparc/SUNW,Sun-Fire-15000/
H A DSUNW,Sun-Fire-15000.esc51 {((payloadprop("ecc-afsr") >> AGENT_ID_SHIFT) & AGENT_ID_MASK) ==
54 {((payloadprop("ecc-afsr") >> AGENT_ID_SHIFT) & AGENT_ID_MASK) ==
57 {((payloadprop("ecc-afsr") >> AGENT_ID_SHIFT) & AGENT_ID_MASK) ==
74 {((payloadprop("ecc-afsr") >> AGENT_ID_SHIFT) & AGENT_ID_MASK) ==
77 {((payloadprop("ecc-afsr") >> AGENT_ID_SHIFT) & AGENT_ID_MASK) ==
80 {((payloadprop("ecc-afsr") >> AGENT_ID_SHIFT) & AGENT_ID_MASK) ==
/titanic_44/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_cpu_arch.c313 cmd_afsr_check(fmd_hdl_t *hdl, uint64_t afsr, in cmd_afsr_check() argument
328 ((afsr & NI_L2AFSR_P02) == 0) ? in cmd_afsr_check()
333 ((afsr & NI_L2AFSR_P03) == 0) ? in cmd_afsr_check()
338 ((afsr & NI_L2AFSR_P04) == 0) ? in cmd_afsr_check()
344 ((afsr & NI_L2AFSR_P08) == 0) ? in cmd_afsr_check()
349 ((afsr & NI_L2AFSR_P09) == 0) ? in cmd_afsr_check()
354 ((afsr & NI_L2AFSR_P10) == 0) ? in cmd_afsr_check()
/titanic_44/usr/src/uts/sun4u/cpu/
H A Dus3_common.c134 static int afsr_to_afar_status(uint64_t afsr, uint64_t afsr_bit);
135 static int afsr_to_esynd_status(uint64_t afsr, uint64_t afsr_bit);
136 static int afsr_to_msynd_status(uint64_t afsr, uint64_t afsr_bit);
137 static int afsr_to_synd_status(uint_t cpuid, uint64_t afsr, uint64_t afsr_bit);
1358 t_afsr = cpu_error_regs.afsr; in cpu_log_fast_ecc_error()
1425 ((cpu_error_regs.afsr & C_AFSR_WDU) && in cpu_log_fast_ecc_error()
1433 ((cpu_error_regs.afsr & C_AFSR_WDU) && in cpu_log_fast_ecc_error()
1572 (cpu_error_regs.afsr & C_AFSR_ALL_ERRS); in cpu_tl1_error()
1650 t_afsr = cpu_error_regs.afsr; in cpu_disrupting_error()
1774 t_afsr = cpu_error_regs.afsr; in cpu_deferred_error()
[all …]
H A Dspitfire.c124 int *m, uint64_t *afsr);
999 uint64_t eer, afsr; in cpu_ce_scrub_mem_err() local
1027 get_asyncflt(&afsr); in cpu_ce_scrub_mem_err()
1028 if (afsr & (P_AFSR_TO | P_AFSR_BERR)) { in cpu_ce_scrub_mem_err()
1033 set_asyncflt(afsr & (P_AFSR_TO | P_AFSR_BERR)); in cpu_ce_scrub_mem_err()
1890 cpu_get_mem_unum(int synd_status, ushort_t synd, uint64_t afsr, in cpu_get_mem_unum() argument
1939 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, in cpu_get_mem_name() argument
1958 if ((ret = cpu_get_mem_unum(synd_status, (ushort_t)synd, *afsr, afar, in cpu_get_mem_name()
2406 uint64_t afsr; in get_cpu_status() local
2416 get_asyncflt(&afsr); in get_cpu_status()
[all …]
H A Dmach_cpu_module.c134 cpu_get_mem_unum(int synd_stat, ushort_t synd, uint64_t afsr, uint64_t afar, in cpu_get_mem_unum() argument
152 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, in cpu_get_mem_name() argument
H A Dspitfire_asm.s910 ldxa [%g0]ASI_AFSR, %i0 ! grab the old-afsr before tag read
911 stx %i0, [%i3] ! write back the old-afsr
920 ldxa [%g0]ASI_AFSR, %i0 ! grab the old-afsr before clearing
1018 ldxa [%g0]ASI_AFSR, %g3 ! save afsr in g3
1120 ldxa [%g0]ASI_AFSR, %g3 ! save afsr in g3
1124 or %g3, %g5, %g3 ! or to afsr in g3
1127 sllx %g1, 21, %g1 ! shift left to <21> afsr UE
1128 andcc %g1, %g3, %g0 ! check for UE in afsr
1138 or %g3, %g5, %g3 ! or with afsr bits
1148 or %g3, %g5, %g3 ! or with afsr bits
[all …]
H A Dus3_jalapeno.c593 afsr_to_jaid_status(uint64_t afsr, uint64_t afsr_bit) in afsr_to_jaid_status() argument
595 return (afsr_to_overw_status(afsr, afsr_bit, jbus_aid_overwrite)); in afsr_to_jaid_status()
878 set_asyncflt(cpu_error_regs->afsr & ~C_AFSR_FATAL_ERRS); in set_cpu_error_state()
H A Dus3_cheetahplus.c726 afsr_to_pn_esynd_status(uint64_t afsr, uint64_t afsr_bit) in afsr_to_pn_esynd_status() argument
728 return (afsr_to_overw_status(afsr, afsr_bit, pn_esynd_overwrite)); in afsr_to_pn_esynd_status()
885 set_asyncflt(cpu_error_regs->afsr & ~C_AFSR_FATAL_ERRS); in set_cpu_error_state()
/titanic_44/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcicmu.h260 #define PBM_AFSR_TO_PRIERR(afsr) \ argument
261 (afsr >> PCMU_PCI_AFSR_PE_SHIFT & PCMU_PCI_AFSR_E_MASK)
262 #define PBM_AFSR_TO_SECERR(afsr) \ argument
263 (afsr >> PCMU_PCI_AFSR_SE_SHIFT & PCMU_PCI_AFSR_E_MASK)
/titanic_44/usr/src/uts/sun4u/sys/
H A Dus3_module.h335 #define GET_M_SYND(afsr) (((afsr) & C_AFSR_M_SYND) >> C_M_SYND_SHIFT) argument
336 #define GET_E_SYND(afsr) ((afsr) & C_AFSR_E_SYND) argument
522 extern int afsr_to_jaid_status(uint64_t afsr, uint64_t afsr_bit);
540 extern int afsr_to_overw_status(uint64_t afsr, uint64_t afsr_bit,
543 extern int afsr_to_pn_esynd_status(uint64_t afsr, uint64_t afsr_bit);
H A Dcpu_module.h146 int cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar,
164 int cpu_get_mem_unum(int synd_status, ushort_t synd, uint64_t afsr,
H A Dmachsystm.h340 extern void get_asyncflt(uint64_t *afsr);
341 extern void set_asyncflt(uint64_t afsr);
H A Dplat_ecc_unum.h316 uint64_t afsr; /* AFSR of last error */ member
/titanic_44/usr/src/lib/libprtdiag/inc/
H A Dreset_info.h78 u_longlong_t afsr; /* Fault status register for CPU */ member
/titanic_44/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_mem.c195 cmd_mem_fmri_derive(fmd_hdl_t *hdl, uint64_t afar, uint64_t afsr, uint16_t synd) in cmd_mem_fmri_derive() argument
206 mn.m_type[0] = afsr; in cmd_mem_fmri_derive()
H A Dcmd_dimm.c57 uint64_t afsr) in cmd_dimm_fmri_derive() argument
61 if ((fmri = cmd_mem_fmri_derive(hdl, afar, afsr, synd)) == NULL) in cmd_dimm_fmri_derive()
/titanic_44/usr/src/uts/sun4u/io/pci/
H A Dpci_ecc.c261 uint64_t afsr = 0ull; in ecc_read_afsr() local
275 afsr = lddphysio(ecc_ii_p->ecc_afsr_pa); in ecc_read_afsr()
276 if ((afsr & ecc_ii_p->ecc_errpndg_mask) == 0) in ecc_read_afsr()
279 return (afsr); in ecc_read_afsr()
H A Dsimba.c224 uint64_t afsr; member
529 simba_err.afsr = pci_config_get64(simba->config_handle, 0xe8); in simba_err_callback()
539 (uint_t)(simba_err.afsr >> 32), (uint_t)simba_err.afsr); in simba_err_callback()
540 pci_config_put64(simba->config_handle, 0xe8, simba_err.afsr); in simba_err_callback()
/titanic_44/usr/src/uts/sun4u/sunfire/io/
H A Dac_test.c447 get_asyncflt(&(error_buf.afsr)); in ac_mem_test_read()
456 if (error_buf.afsr & (P_AFSR_CE | P_AFSR_UE)) { in ac_mem_test_read()
460 set_asyncflt(error_buf.afsr); in ac_mem_test_read()
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/
H A Dsunfire.c1303 bdp->cpu[0].afsr); in disp_err_log()
1311 bdp->cpu[1].afsr); in disp_err_log()
2124 analyze_cpu(char **msgs, int cpu_id, u_longlong_t afsr) in analyze_cpu() argument
2135 if (afsr & P_AFSR_ETP) { in analyze_cpu()
2140 syndrome = (afsr & P_AFSR_ETS) >> ETS_SHIFT; in analyze_cpu()
2153 if (afsr & P_AFSR_ISAP) { in analyze_cpu()
/titanic_44/usr/src/uts/sun4v/sys/
H A Dmachsystm.h383 int cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar,

12