/linux-2.6.39/arch/x86/kernel/cpu/mcheck/ |
D | mce-inject.c | 31 static void inject_mce(struct mce *m) in inject_mce() 33 struct mce *i = &per_cpu(injectm, m->extcpu); in inject_mce() 43 memcpy(i, m, sizeof(struct mce)); in inject_mce() 49 static void raise_poll(struct mce *m) in raise_poll() 61 static void raise_exception(struct mce *m, struct pt_regs *pregs) in raise_exception() 86 struct mce *m = &__get_cpu_var(injectm); in mce_raise_notify() 105 struct mce *m = &__get_cpu_var(injectm); in raise_local() 139 static void raise_mce(struct mce *m) in raise_mce() 156 struct mce *mcpu = &per_cpu(injectm, cpu); in raise_mce() 185 struct mce m; in mce_write() [all …]
|
D | mce-apei.c | 41 struct mce m; in apei_mce_report_mem_error() 71 struct mce mce; member 74 int apei_write_mce(struct mce *m) in apei_write_mce() 92 rcd.sec_hdr.section_offset = (void *)&rcd.mce - (void *)&rcd; in apei_write_mce() 93 rcd.sec_hdr.section_length = sizeof(rcd.mce); in apei_write_mce() 101 memcpy(&rcd.mce, m, sizeof(*m)); in apei_write_mce() 106 ssize_t apei_read_mce(struct mce *m, u64 *record_id) in apei_read_mce() 131 memcpy(m, &rcd.mce, sizeof(*m)); in apei_read_mce()
|
D | mce-internal.h | 24 int mce_severity(struct mce *a, int tolerant, char **msg); 32 int apei_write_mce(struct mce *m); 33 ssize_t apei_read_mce(struct mce *m, u64 *record_id); 37 static inline int apei_write_mce(struct mce *m) in apei_write_mce() 41 static inline ssize_t apei_read_mce(struct mce *m, u64 *record_id) in apei_read_mce()
|
D | mce.c | 98 static DEFINE_PER_CPU(struct mce, mces_seen); 130 void mce_setup(struct mce *m) in mce_setup() 132 memset(m, 0, sizeof(struct mce)); in mce_setup() 146 DEFINE_PER_CPU(struct mce, injectm); 158 .recordlen = sizeof(struct mce), 161 void mce_log(struct mce *mce) in mce_log() argument 166 trace_mce_record(mce); in mce_log() 168 mce->finished = 0; in mce_log() 179 if (edac_mce_parse(mce)) in mce_log() 204 memcpy(mcelog.entry + entry, mce, sizeof(struct mce)); in mce_log() [all …]
|
D | Makefile | 1 obj-y = mce.o mce-severity.o 7 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o 11 obj-$(CONFIG_ACPI_APEI) += mce-apei.o
|
D | mce-severity.c | 107 static int error_context(struct mce *m) in error_context() 115 int mce_severity(struct mce *a, int tolerant, char **msg) in mce_severity()
|
D | mce_amd.c | 237 struct mce m; in amd_threshold_interrupt()
|
/linux-2.6.39/include/linux/ |
D | edac_mce.h | 22 int (*check_error)(void *priv, struct mce *mce); 27 int edac_mce_parse(struct mce *mce); 30 #define edac_mce_parse(mce) (0) argument
|
/linux-2.6.39/arch/x86/include/asm/ |
D | mce.h | 54 struct mce { struct 91 struct mce entry[MCE_LOG_LEN]; 145 extern void (*x86_mce_decode_callback)(struct mce *m); 147 void mce_setup(struct mce *m); 148 void mce_log(struct mce *m); 200 DECLARE_PER_CPU(struct mce, injectm);
|
D | Kbuild | 11 header-y += mce.h
|
/linux-2.6.39/drivers/edac/ |
D | mce_amd.c | 12 static void (*nb_bus_decoder)(int node_id, struct mce *m, u32 nbcfg); 20 void amd_register_ecc_decoder(void (*f)(int, struct mce *, u32)) in amd_register_ecc_decoder() argument 26 void amd_unregister_ecc_decoder(void (*f)(int, struct mce *, u32)) in amd_unregister_ecc_decoder() argument 268 static void amd_decode_dc_mce(struct mce *m) in amd_decode_dc_mce() 368 static void amd_decode_ic_mce(struct mce *m) in amd_decode_ic_mce() 388 static void amd_decode_bu_mce(struct mce *m) in amd_decode_bu_mce() 430 static void amd_decode_cu_mce(struct mce *m) in amd_decode_cu_mce() 470 static void amd_decode_ls_mce(struct mce *m) in amd_decode_ls_mce() 595 void amd_decode_nb_mce(int node_id, struct mce *m, u32 nbcfg) in amd_decode_nb_mce() 660 static void amd_decode_fr_mce(struct mce *m) in amd_decode_fr_mce() [all …]
|
D | edac_mce.c | 44 int edac_mce_parse(struct mce *mce) in edac_mce_parse() argument 49 if (edac_mce->check_error(edac_mce->priv, mce)) in edac_mce_parse()
|
D | mce_amd.h | 89 void amd_register_ecc_decoder(void (*f)(int, struct mce *, u32)); 90 void amd_unregister_ecc_decoder(void (*f)(int, struct mce *, u32)); 91 void amd_decode_nb_mce(int, struct mce *, u32);
|
D | i7core_edac.c | 262 struct mce mce_entry[MCE_LOG_LEN]; 263 struct mce mce_outentry[MCE_LOG_LEN]; 1667 const struct mce *m) in i7core_mce_output_error() 1770 struct mce *m; in i7core_check_error() 1829 static int i7core_mce_check_error(void *priv, struct mce *mce) in i7core_mce_check_error() argument 1838 if (((mce->status & 0xffff) >> 7) != 1) in i7core_mce_check_error() 1842 if (mce->bank != 8) in i7core_mce_check_error() 1847 if (cpu_data(mce->cpu).phys_proc_id != pvt->i7core_dev->socket) in i7core_mce_check_error() 1859 memcpy(&pvt->mce_entry[pvt->mce_out], mce, sizeof(*mce)); in i7core_mce_check_error() 1864 if (mce->mcgstatus & 1) in i7core_mce_check_error()
|
D | mce_amd_inj.c | 35 static struct mce i_mce;
|
D | amd64_edac.c | 932 static u64 get_error_address(struct mce *m) in get_error_address() 1871 static void amd64_handle_ce(struct mem_ctl_info *mci, struct mce *m) in amd64_handle_ce() 1893 static void amd64_handle_ue(struct mem_ctl_info *mci, struct mce *m) in amd64_handle_ue() 1936 struct mce *m) in __amd64_decode_bus_error() 1956 void amd64_decode_bus_error(int node_id, struct mce *m, u32 nbcfg) in amd64_decode_bus_error()
|
/linux-2.6.39/arch/ia64/xen/ |
D | xcom_hcall.c | 266 struct multicall_entry *mce; in xencomm_hypercall_multicall() local 271 mce = (struct multicall_entry *)call_list + i; in xencomm_hypercall_multicall() 273 switch (mce->op) { in xencomm_hypercall_multicall() 281 mce->args[0], (void *)mce->args[1], in xencomm_hypercall_multicall() 282 mce->args[2], &desc); in xencomm_hypercall_multicall() 285 mce->args[1] = (unsigned long)desc; in xencomm_hypercall_multicall() 291 __func__, mce->op); in xencomm_hypercall_multicall()
|
/linux-2.6.39/Documentation/vm/ |
D | hwpoison.txt | 154 x86 has mce-inject, mce-test 156 Some portable hwpoison test programs in mce-test, see blow. 162 http://halobates.de/mce-lc09-2.pdf 165 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git 168 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
|
/linux-2.6.39/include/trace/events/ |
D | mce.h | 2 #define TRACE_SYSTEM mce 13 TP_PROTO(struct mce *m),
|
/linux-2.6.39/drivers/media/rc/keymaps/ |
D | Makefile | 36 rc-fusionhdtv-mce.o \ 40 rc-imon-mce.o \ 71 rc-rc6-mce.o \
|
/linux-2.6.39/Documentation/x86/x86_64/ |
D | boot-options.txt | 10 mce=off 12 mce=no_cmci 20 mce=dont_log_ce 25 mce=ignore_ce 34 mce=bootlog 40 mce=nobootlog 42 mce=tolerancelevel[,monarchtimeout] (number,number) 54 nomce (for compatibility with i386): same as mce=off
|
D | machinecheck | 83 see http://one.firstfloor.org/~andi/mce.pdf
|
/linux-2.6.39/Documentation/ABI/testing/ |
D | pstore | 24 "mce" - architecture dependent data from fatal h/w error
|
/linux-2.6.39/arch/x86/kvm/ |
D | x86.c | 2580 struct kvm_x86_mce *mce) in kvm_vcpu_ioctl_x86_set_mce() argument 2586 if (mce->bank >= bank_num || !(mce->status & MCI_STATUS_VAL)) in kvm_vcpu_ioctl_x86_set_mce() 2592 if ((mce->status & MCI_STATUS_UC) && (mcg_cap & MCG_CTL_P) && in kvm_vcpu_ioctl_x86_set_mce() 2595 banks += 4 * mce->bank; in kvm_vcpu_ioctl_x86_set_mce() 2600 if ((mce->status & MCI_STATUS_UC) && banks[0] != ~(u64)0) in kvm_vcpu_ioctl_x86_set_mce() 2602 if (mce->status & MCI_STATUS_UC) { in kvm_vcpu_ioctl_x86_set_mce() 2609 mce->status |= MCI_STATUS_OVER; in kvm_vcpu_ioctl_x86_set_mce() 2610 banks[2] = mce->addr; in kvm_vcpu_ioctl_x86_set_mce() 2611 banks[3] = mce->misc; in kvm_vcpu_ioctl_x86_set_mce() 2612 vcpu->arch.mcg_status = mce->mcg_status; in kvm_vcpu_ioctl_x86_set_mce() [all …]
|
/linux-2.6.39/Documentation/ |
D | Changes | 390 o <ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/>
|