Lines Matching refs:afsr
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()
3384 afsr_errs = (cpu_error_regs.afsr & C_AFSR_ALL_ERRS) | in cpu_async_panic_callb()
3394 aflt->flt_stat = cpu_error_regs.afsr; in cpu_async_panic_callb()
3398 aflt->flt_priv = ((cpu_error_regs.afsr & C_AFSR_PRIV) != 0); in cpu_async_panic_callb()
3568 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, in cpu_get_mem_name() argument
3587 flt_in_memory = (*afsr & C_AFSR_MEMORY) && in cpu_get_mem_name()
3593 if (*afsr == (uint64_t)-1) in cpu_get_mem_name()
3596 t_afsr_errs = (*afsr & C_AFSR_ALL_ERRS); in cpu_get_mem_name()
3599 t_afsr_errs |= (*(afsr + 1) & C_AFSR_EXT_ALL_ERRS); in cpu_get_mem_name()
3717 aflt->flt_stat = cpu_error_regs.afsr & C_AFSR_MASK; in clear_errors()
3720 ch_flt->afsr_errs = (cpu_error_regs.afsr & C_AFSR_ALL_ERRS) | in clear_errors()
3729 return (((cpu_error_regs.afsr & C_AFSR_ALL_ERRS) | in clear_errors()
3764 return ((cpu_error_regs.afsr & (C_AFSR_MEMORY & aflt->flt_stat)) != 0 && in clear_ecc()
5264 afsr_to_overw_status(uint64_t afsr, uint64_t afsr_bit, uint64_t *ow_bits) in afsr_to_overw_status() argument
5280 if (afsr & (afsr_ow & ~afsr_bit)) in afsr_to_overw_status()
5283 } else if (afsr & afsr_ow) in afsr_to_overw_status()
5295 afsr_to_afar_status(uint64_t afsr, uint64_t afsr_bit) in afsr_to_afar_status() argument
5299 return (afsr_to_overw_status(afsr, afsr_bit, afar2_overwrite)); in afsr_to_afar_status()
5302 return (afsr_to_overw_status(afsr, afsr_bit, afar_overwrite)); in afsr_to_afar_status()
5306 afsr_to_esynd_status(uint64_t afsr, uint64_t afsr_bit) in afsr_to_esynd_status() argument
5308 return (afsr_to_overw_status(afsr, afsr_bit, esynd_overwrite)); in afsr_to_esynd_status()
5312 afsr_to_msynd_status(uint64_t afsr, uint64_t afsr_bit) in afsr_to_msynd_status() argument
5314 return (afsr_to_overw_status(afsr, afsr_bit, msynd_overwrite)); in afsr_to_msynd_status()
5318 afsr_to_synd_status(uint_t cpuid, uint64_t afsr, uint64_t afsr_bit) argument
5330 return (afsr_to_msynd_status(afsr, afsr_bit));
5332 return (afsr_to_esynd_status(afsr, afsr_bit));
5335 return (afsr_to_pn_esynd_status(afsr, afsr_bit));
5337 return (afsr_to_esynd_status(afsr, afsr_bit));
5340 return (afsr_to_msynd_status(afsr, afsr_bit));
5342 return (afsr_to_esynd_status(afsr, afsr_bit));
6213 if (((cpu_error_regs.afsr & C_AFSR_CECC_ERRS) |
6232 if (!((cpu_error_regs.afsr & cpu_ce_not_deferred) |
6284 (cpu_error_regs.afsr & cpu_ce_not_deferred))
6327 aflt->flt_stat = cpu_error_regs->afsr & C_AFSR_MASK;
6330 (cpu_error_regs->afsr & C_AFSR_ALL_ERRS);
6336 aflt->flt_priv = ((cpu_error_regs->afsr & C_AFSR_PRIV) != 0);
6358 uint64_t afsr, afsr_errs; local
6364 afsr = aflt->flt_stat;
6389 clop->clo_data.chd_afsr = cpu_error_regs.afsr;
6420 if ((afsr & (C_AFSR_CE|C_AFSR_RCE)) &&
6421 (cpu_flt_in_memory(ch_flt, (afsr & C_AFSR_CE)) ||
6422 cpu_flt_in_memory(ch_flt, (afsr & C_AFSR_RCE)))) {
6431 if (afsr & (C_AFSR_CE|C_AFSR_EMC)) {
6432 if (cpu_flt_in_memory(ch_flt, (afsr & C_AFSR_CE)) ||
6433 cpu_flt_in_memory(ch_flt, (afsr & C_AFSR_EMC))) {
6471 if (afsr & (C_AFSR_EDC | C_AFSR_CPC | C_AFSR_CPU | C_AFSR_WDC))
6488 uint64_t afsr; local
6492 afsr = aflt->flt_stat;
6498 if (afsr & C_AFSR_ME) {
6511 if (afsr & (C_AFSR_CPC | C_AFSR_CPU | C_AFSR_EDC | C_AFSR_WDC)) {
6524 if (afsr & (C_AFSR_UE|C_AFSR_RUE)) {
6525 if ((afsr & C_AFSR_ALL_ERRS) == C_AFSR_UE ||
6526 (afsr & C_AFSR_ALL_ERRS) == C_AFSR_RUE) {
7114 cpu_error_regs.afsr = C_AFSR_CECC_ERRS;