/titanic_44/usr/src/uts/sun4u/sys/pci/ |
H A D | pcipsy.h | 160 #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 D | pcisch.h | 363 #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 D | pci_chip.h | 75 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 D | mach_subr_asm.s | 140 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 D | SUNW,Sun-Fire-15000.esc | 51 {((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 D | cmd_cpu_arch.c | 313 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 D | us3_common.c | 134 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 D | spitfire.c | 124 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 D | mach_cpu_module.c | 134 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 D | spitfire_asm.s | 910 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 D | us3_jalapeno.c | 593 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 D | us3_cheetahplus.c | 726 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 D | pcicmu.h | 260 #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 D | us3_module.h | 335 #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 D | cpu_module.h | 146 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 D | machsystm.h | 340 extern void get_asyncflt(uint64_t *afsr); 341 extern void set_asyncflt(uint64_t afsr);
|
H A D | plat_ecc_unum.h | 316 uint64_t afsr; /* AFSR of last error */ member
|
/titanic_44/usr/src/lib/libprtdiag/inc/ |
H A D | reset_info.h | 78 u_longlong_t afsr; /* Fault status register for CPU */ member
|
/titanic_44/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_mem.c | 195 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 D | cmd_dimm.c | 57 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 D | pci_ecc.c | 261 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 D | simba.c | 224 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 D | ac_test.c | 447 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 D | sunfire.c | 1303 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 D | machsystm.h | 383 int cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar,
|