/illumos-gate/usr/src/common/mc/mc-amd/ |
H A D | mcamd_synd.c | 175 mcamd_synd_validate(struct mcamd_hdl *hdl, uint32_t synd, int syndtype) argument 181 result = (synd > 0 && synd <= 0xff); 184 result = (synd > 0 && synd <= 0xffff); 196 synd); 202 mcamd_eccsynd_decode(struct mcamd_hdl *hdl, uint32_t synd, uint_t *bitp) argument 206 if (synd > 0xff) { 208 "invalid synd 0x%x\n", synd); 227 mcamd_cksynd_decode(struct mcamd_hdl *hdl, uint32_t synd, uint_t *symp, uint_t *patp) argument [all...] |
H A D | mcamd_patounum.c | 348 uint8_t valid_lo, uint32_t synd, int syndtype) 406 if (mcamd_cksynd_decode(hdl, synd, &sym, &pat)) { 444 uint8_t valid_lo, uint32_t synd, int syndtype, 581 synd, syndtype)) < 0) 612 uint8_t valid_lo, uint32_t synd, int syndtype, mc_unum_t *unump) 627 bkdgres = mc_bkdg_patounum(hdl, mc, pa, valid_lo, synd, 655 if ((which = mc_whichdimm(hdl, cs, pa, valid_lo, synd, 694 uint8_t valid_hi, uint8_t valid_lo, uint32_t synd, int syndtype, 700 "synd=0x%x, syndtype=%d\n", pa, synd, syndtyp 347 mc_whichdimm(struct mcamd_hdl *hdl, mcamd_node_t *cs, uint64_t pa, uint8_t valid_lo, uint32_t synd, int syndtype) argument 443 mc_bkdg_patounum(struct mcamd_hdl *hdl, mcamd_node_t *mc, uint64_t pa, uint8_t valid_lo, uint32_t synd, int syndtype, mc_unum_t *unump) argument 611 mc_patounum(struct mcamd_hdl *hdl, mcamd_node_t *mc, uint64_t pa, uint8_t valid_lo, uint32_t synd, int syndtype, mc_unum_t *unump) argument 693 mcamd_patounum(struct mcamd_hdl *hdl, mcamd_node_t *root, uint64_t pa, uint8_t valid_hi, uint8_t valid_lo, uint32_t synd, int syndtype, mc_unum_t *unump) argument [all...] |
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | mca_amd.h | 323 #define AMD_BANK_MKSYND(synd) \ 324 (((uint64_t)(synd) << AMD_BANK_STAT_SYND_SHIFT) & \ 340 #define AMD_NB_STAT_MKCKSYND(synd) \ 341 ((((uint64_t)(synd) << AMD_NB_STAT_CKSYND_SHIFT) & \ 342 AMD_NB_STAT_CKSYND_MASK) | AMD_BANK_MKSYND(synd))
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | cpu_module.h | 146 int cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, 148 int cpu_get_mem_info(uint64_t synd, uint64_t afar, 164 int cpu_get_mem_unum(int synd_status, ushort_t synd, uint64_t afsr,
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | mach_cpu_module.c | 134 cpu_get_mem_unum(int synd_stat, ushort_t synd, uint64_t afsr, uint64_t afar, argument 152 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, argument 163 cpu_get_mem_info(uint64_t synd, uint64_t afar, argument
|
H A D | spitfire.c | 134 static int synd_to_synd_code(int synd_status, ushort_t synd); 235 #define UDBL(synd) ((synd & UDBL_REG) >> 15) 236 #define SYND(synd) (synd & 0x7FFF) 1848 synd_to_synd_code(int synd_status, ushort_t synd) argument 1857 if ((synd == 0) || (synd >= SYND_TBL_SIZE)) 1860 return (ecc_syndrome_tab[synd]); 1890 cpu_get_mem_unum(int synd_status, ushort_t synd, uint64_ argument 1939 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, char *buf, int buflen, int *lenp) argument 1977 cpu_get_mem_info(uint64_t synd, uint64_t afar, uint64_t *mem_sizep, uint64_t *seg_sizep, uint64_t *bank_sizep, int *segsp, int *banksp, int *mcidp) argument 3310 ushort_t synd = SYND(aflt->flt_synd); local [all...] |
H A D | us3_common.c | 138 static int synd_to_synd_code(int synd_status, ushort_t synd, uint64_t afsr_bit); 1181 * Check other cpus logout area for potential synd 71 generating 3412 synd_to_synd_code(int synd_status, ushort_t synd, uint64_t afsr_bit) argument 3425 if ((synd == 0) || (synd >= BSYND_TBL_SIZE)) 3428 return (BPAR0 + synd); 3430 if ((synd == 0) || (synd >= MSYND_TBL_SIZE)) 3433 return (mtag_syndrome_tab[synd]); 3436 if ((synd 3567 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, char *buf, int buflen, int *lenp) argument 3626 cpu_get_mem_info(uint64_t synd, uint64_t afar, uint64_t *mem_sizep, uint64_t *seg_sizep, uint64_t *bank_sizep, int *segsp, int *banksp, int *mcidp) argument 4907 int synd = 0; local [all...] |
H A D | opl_olympus.c | 1254 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, argument 1267 if (synd == (uint64_t)-1) 1275 ret = cpu_get_mem_unum(synd_status, (ushort_t)synd, *afsr, afar, 1294 cpu_get_mem_info(uint64_t synd, uint64_t afar, argument 1298 int synd_code = (int)synd;
|
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_cpu_arch.c | 130 cmd_cpu_synd_check(uint16_t synd, cmd_errcl_t clcode) argument 132 if (synd == CH_POISON_SYND_FROM_XXU_WRITE || 133 synd == CH_POISON_SYND_FROM_XXU_WRMERGE || 134 synd == CH_POISON_SYND_FROM_DSTAT23)
|
H A D | cmd_memerr_arch.c | 65 uint16_t synd, uint8_t synd_status, cmd_cpu_t *cpu) 67 if (synd == CH_POISON_SYND_FROM_XXU_WRITE || 70 synd == CH_POISON_SYND_FROM_XXU_WRMERGE)) { 72 "discarding UE due to magic syndrome %x\n", synd); 83 uint16_t synd; local 93 FM_EREPORT_PAYLOAD_NAME_SYND, DATA_TYPE_UINT16, &synd, 104 return (hdlr(hdl, ep, nvl, class, afar, afar_status, synd, 146 uint16_t synd, uint8_t synd_status, ce_dispact_t type, uint64_t disp, 152 if ((fmri = cmd_dimm_fmri_derive(hdl, afar, synd, afsr)) == NULL) 155 rc = hdlr(hdl, ep, nvl, class, afar, afar_status, synd, synd_statu 64 cmd_mem_synd_check(fmd_hdl_t *hdl, uint64_t afar, uint8_t afar_status, uint16_t synd, uint8_t synd_status, cmd_cpu_t *cpu) argument 144 iorxefrx_synthesize(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class, uint64_t afar, uint8_t afar_status, uint64_t afsr, uint16_t synd, uint8_t synd_status, ce_dispact_t type, uint64_t disp, cmd_xe_handler_f *hdlr) argument 475 uint16_t synd; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_memerr_arch.c | 94 uint16_t synd, uint8_t synd_status, cmd_cpu_t *cpu) 105 if (synd == NI_DRAM_POISON_SYND_FROM_LDWU) { 108 synd); 114 if (synd == N2_DRAM_POISON_SYND_FROM_LDWU) { 117 synd); 206 uint16_t synd; local 243 synd = dram_afsr; 246 * Niagara afar and synd validity. 293 return (hdlr(hdl, ep, nvl, class, afar, afar_status, synd, 93 cmd_mem_synd_check(fmd_hdl_t *hdl, uint64_t afar, uint8_t afar_status, uint16_t synd, uint8_t synd_status, cmd_cpu_t *cpu) argument
|
H A D | cmd_cpu_arch.c | 267 /* Niagara-2 doesn't provide separate (redundant) l2-synd */ 282 cmd_cpu_synd_check(uint32_t synd, cmd_errcl_t clcode) argument 296 * error, so skip the synd check for L2 write-back error 301 if (synd == 0) 305 if (((synd >> i*NI_L2_POISON_SYND_SIZE) & 317 * Set Niagara afar and synd validity.
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_dimm.c | 56 cmd_dimm_fmri_derive(fmd_hdl_t *hdl, uint64_t afar, uint16_t synd, argument 61 if ((fmri = cmd_mem_fmri_derive(hdl, afar, afsr, synd)) == NULL) 515 cmd_dimm_check_symbol_error(cmd_dimm_t *dimm, uint16_t synd) argument 520 if ((upos = cmd_synd2upos(synd)) < 0)
|
H A D | cmd_mem.c | 195 cmd_mem_fmri_derive(fmd_hdl_t *hdl, uint64_t afar, uint64_t afsr, uint16_t synd) argument 205 mn.m_synd = synd;
|
H A D | cmd_memerr.c | 409 uint64_t afar, uint16_t synd, uint64_t now, uint32_t cpuid) 415 if ((unit_position = cmd_synd2upos(synd)) < 0) 574 const char *class, uint64_t afar, uint8_t afar_status, uint16_t synd, 626 skip_error = cmd_dimm_check_symbol_error(dimm, synd); 636 mq_add(hdl, dimm, ep, afar, synd, *now, cpuid); 696 if (cmd_dimm_check_symbol_error(dimm, synd)) 804 const char *class, uint64_t afar, uint8_t afar_status, uint16_t synd, 857 if (cmd_mem_synd_check(hdl, afar, afar_status, synd, synd_status, 408 mq_add(fmd_hdl_t *hdl, cmd_dimm_t *dimm, fmd_event_t *ep, uint64_t afar, uint16_t synd, uint64_t now, uint32_t cpuid) argument 573 cmd_ce_common(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class, uint64_t afar, uint8_t afar_status, uint16_t synd, uint8_t synd_status, ce_dispact_t type, uint64_t disp, nvlist_t *asru) argument 803 cmd_ue_common(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class, uint64_t afar, uint8_t afar_status, uint16_t synd, uint8_t synd_status, ce_dispact_t type, uint64_t disp, nvlist_t *asru) argument
|
/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, 385 int cpu_get_mem_info(uint64_t synd, uint64_t afar,
|
/illumos-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/ |
H A D | amd64.esc | 77 #define CBITMASK(synd) ((synd) & 0xf) 79 #define CKSINGLE(synd) \ 80 ((synd) == 0 || \ 81 (CBITMASK(synd) == 0x1 || CBITMASK(synd) == 0x2 || \ 82 CBITMASK(synd) == 0x4 || CBITMASK(synd) == 0x8))
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca.c | 708 uint_t synd, syndtype; local 716 synd = ao_ereport_synd(ao, status, &syndtype, 721 DATA_TYPE_UINT16, synd, NULL); 736 aed->aed_addrvalid_lo, synd, syndtype, &unum) ==
|
/illumos-gate/usr/src/uts/i86pc/cpu/genuineintel/ |
H A D | gintel_main.c | 471 uint32_t synd = 0; local 494 synd = (misc & MSR_MC_MISC_MEM_SYNDROME_MASK) >> 497 DATA_TYPE_UINT32, synd, 0); 502 (void) cmi_mc_patounum(addr, 0, 0, synd, 0, &unum);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cmi.c | 833 cmi_mc_patounum(uint64_t pa, uint8_t valid_hi, uint8_t valid_lo, uint32_t synd, argument 847 pa, valid_hi, valid_lo, synd, syndtype, up)); 860 valid_lo, synd, syndtype, up);
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | dimm_addr.c | 89 uint32_t synd, int syndtype, mc_unum_t *unump) 88 inb_patounum(void *arg, uint64_t pa, uint8_t valid_hi, uint8_t valid_lo, uint32_t synd, int syndtype, mc_unum_t *unump) argument
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 458 uint32_t synd, int syndtype, mc_unum_t *unump) 468 valid_hi, valid_lo, synd, syndtype, unump); 457 mcamd_patounum_wrap(void *arg, uint64_t pa, uint8_t valid_hi, uint8_t valid_lo, uint32_t synd, int syndtype, mc_unum_t *unump) argument
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mach_cpu_states.c | 1217 cpu_get_mem_info(uint64_t synd, uint64_t afar, argument 1239 cpu_get_mem_name(uint64_t synd, uint64_t *afsr, uint64_t afar, argument
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | mc-opl.c | 942 uint32_t values[2], synd[2], dslot[2]; local 1032 synd[i] = flt_stat->mf_synd; 1036 synd[i] = 0; 1043 synd, NULL);
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | mem_addr.c | 637 uint32_t synd, int syndtype, mc_unum_t *unump) 636 nhm_patounum(void *arg, uint64_t pa, uint8_t valid_hi, uint8_t valid_lo, uint32_t synd, int syndtype, mc_unum_t *unump) argument
|