/illumos-gate/usr/src/uts/sun4u/sys/pci/ |
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 | 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 | 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);
|
/illumos-gate/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() 1426 ((cpu_error_regs.afsr & C_AFSR_WDU) && in cpu_log_fast_ecc_error() 1434 ((cpu_error_regs.afsr & C_AFSR_WDU) && in cpu_log_fast_ecc_error() 1573 (cpu_error_regs.afsr & C_AFSR_ALL_ERRS); in cpu_tl1_error() 1651 t_afsr = cpu_error_regs.afsr; in cpu_disrupting_error() 1775 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 | 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()
|
H A D | spitfire_asm.S | 812 ldxa [%g0]ASI_AFSR, %i0 ! grab the old-afsr before tag read 813 stx %i0, [%i3] ! write back the old-afsr 822 ldxa [%g0]ASI_AFSR, %i0 ! grab the old-afsr before clearing 871 ldxa [%g0]ASI_AFSR, %g3 ! save afsr in g3 974 * %g3: [ 63:53 tt | 52:43 UDB_L | 42:33 UDB_U | 32:0 afsr ] - arg #3/arg #1
|
H A D | opl_olympus.c | 1254 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, argument 1272 flt_in_memory = (*afsr & SFSR_MEMORY) && 1275 ret = cpu_get_mem_unum(synd_status, (ushort_t)synd, *afsr, afar,
|
H A D | us3_cheetah.c | 656 set_asyncflt(cpu_error_regs->afsr & ~C_AFSR_FATAL_ERRS); in set_cpu_error_state()
|
H A D | us3_common_asm.S | 1329 clr %g4 ! TL=0 bit in afsr 2246 ldxa [%o2]ASI_AFSR, %o1 ! shadow afsr reg 2280 ldxa [%g0]ASI_AFSR, %o1 ! primary afsr reg 2309 ldxa [%g0]ASI_AFSR, %l3 ! read afsr reg
|
/illumos-gate/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)
|
/illumos-gate/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
|
/illumos-gate/usr/src/uts/sun4u/ml/ |
H A D | mach_subr_asm.S | 93 ldxa [%g0]ASI_AFSR, %o1 ! afsr reg 99 stxa %o0, [%g0]ASI_AFSR ! afsr reg
|
/illumos-gate/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()
|
H A D | pcisch.c | 1170 pci_ecc_get_synd(uint64_t afsr) in pci_ecc_get_synd() argument 1172 return ((ushort_t)((afsr & SCHIZO_ECC_CE_AFSR_SYND) >> in pci_ecc_get_synd() 2709 pci_format_addr(dev_info_t *dip, uint64_t *afar, uint64_t afsr) in pci_format_addr() argument 2715 if (afsr & SCHIZO_PCI_AFSR_CONF_SPACE) { in pci_format_addr() 2719 } else if (afsr & SCHIZO_PCI_AFSR_IO_SPACE) { in pci_format_addr() 2724 } else if (afsr & SCHIZO_PCI_AFSR_MEM_SPACE) { in pci_format_addr()
|
H A D | pcipsy.c | 1622 pci_ecc_get_synd(uint64_t afsr) in pci_ecc_get_synd() argument 1624 return ((ushort_t)((afsr & PSYCHO_ECC_CE_AFSR_SYND) in pci_ecc_get_synd() 1914 pci_format_addr(dev_info_t *dip, uint64_t *afar, uint64_t afsr) in pci_format_addr() argument
|
/illumos-gate/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()
|
/illumos-gate/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,
|
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/ |
H A D | ac.h | 254 uint64_t afsr; member
|