Searched refs:mce (Results 1 – 15 of 15) sorted by relevance
/arch/powerpc/kernel/ |
D | mce.c | 44 static void mce_set_error_info(struct machine_check_event *mce, in mce_set_error_info() argument 47 mce->error_type = mce_err->error_type; in mce_set_error_info() 50 mce->u.ue_error.ue_error_type = mce_err->u.ue_error_type; in mce_set_error_info() 53 mce->u.slb_error.slb_error_type = mce_err->u.slb_error_type; in mce_set_error_info() 56 mce->u.erat_error.erat_error_type = mce_err->u.erat_error_type; in mce_set_error_info() 59 mce->u.tlb_error.tlb_error_type = mce_err->u.tlb_error_type; in mce_set_error_info() 77 struct machine_check_event *mce = &__get_cpu_var(mce_event[index]); in save_mce_event() local 88 mce->version = MCE_V1; in save_mce_event() 89 mce->srr0 = nip; in save_mce_event() 90 mce->srr1 = regs->msr; in save_mce_event() [all …]
|
D | Makefile | 43 obj-$(CONFIG_PPC_BOOK3S_64) += mce.o mce_power.o
|
/arch/x86/kernel/cpu/mcheck/ |
D | mce-inject.c | 32 static void inject_mce(struct mce *m) in inject_mce() 34 struct mce *i = &per_cpu(injectm, m->extcpu); in inject_mce() 44 memcpy(i, m, sizeof(struct mce)); in inject_mce() 50 static void raise_poll(struct mce *m) in raise_poll() 62 static void raise_exception(struct mce *m, struct pt_regs *pregs) in raise_exception() 86 struct mce *m = this_cpu_ptr(&injectm); in mce_raise_notify() 100 struct mce *m = this_cpu_ptr(&injectm); in mce_irq_ipi() 112 struct mce *m = this_cpu_ptr(&injectm); in raise_local() 146 static void raise_mce(struct mce *m) in raise_mce() 164 struct mce *mcpu = &per_cpu(injectm, cpu); in raise_mce() [all …]
|
D | mce-apei.c | 43 struct mce m; in apei_mce_report_mem_error() 78 struct mce mce; member 81 int apei_write_mce(struct mce *m) in apei_write_mce() 99 rcd.sec_hdr.section_offset = (void *)&rcd.mce - (void *)&rcd; in apei_write_mce() 100 rcd.sec_hdr.section_length = sizeof(rcd.mce); in apei_write_mce() 108 memcpy(&rcd.mce, m, sizeof(*m)); in apei_write_mce() 113 ssize_t apei_read_mce(struct mce *m, u64 *record_id) in apei_read_mce() 138 memcpy(m, &rcd.mce, sizeof(*m)); in apei_read_mce()
|
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-internal.h | 26 int mce_severity(struct mce *a, int tolerant, char **msg, bool is_excp); 47 int apei_write_mce(struct mce *m); 48 ssize_t apei_read_mce(struct mce *m, u64 *record_id); 52 static inline int apei_write_mce(struct mce *m) in apei_write_mce() 56 static inline ssize_t apei_read_mce(struct mce *m, u64 *record_id) in apei_read_mce()
|
D | mce.c | 88 static DEFINE_PER_CPU(struct mce, mces_seen); 113 static void (*quirk_no_way_out)(int bank, struct mce *m, struct pt_regs *regs); 122 void mce_setup(struct mce *m) in mce_setup() 124 memset(m, 0, sizeof(struct mce)); in mce_setup() 136 DEFINE_PER_CPU(struct mce, injectm); 148 .recordlen = sizeof(struct mce), 151 void mce_log(struct mce *mce) in mce_log() argument 157 trace_mce_record(mce); in mce_log() 159 ret = atomic_notifier_call_chain(&x86_mce_decoder_chain, 0, mce); in mce_log() 163 mce->finished = 0; in mce_log() [all …]
|
D | mce-severity.c | 184 static int error_context(struct mce *m) in error_context() 189 int mce_severity(struct mce *m, int tolerant, char **msg, bool is_excp) in mce_severity()
|
D | mce_amd.c | 274 struct mce m; in amd_threshold_interrupt()
|
/arch/x86/include/asm/ |
D | mce.h | 102 struct mce entry[MCE_LOG_LEN]; 147 void mce_setup(struct mce *m); 148 void mce_log(struct mce *m); 196 DECLARE_PER_CPU(struct mce, injectm);
|
/arch/x86/include/uapi/asm/ |
D | mce.h | 8 struct mce { struct
|
D | Kbuild | 27 header-y += mce.h
|
/arch/powerpc/include/asm/ |
D | mce.h | 192 extern int get_mce_event(struct machine_check_event *mce, bool release);
|
/arch/x86/kvm/ |
D | x86.c | 2983 struct kvm_x86_mce *mce) in kvm_vcpu_ioctl_x86_set_mce() argument 2989 if (mce->bank >= bank_num || !(mce->status & MCI_STATUS_VAL)) in kvm_vcpu_ioctl_x86_set_mce() 2995 if ((mce->status & MCI_STATUS_UC) && (mcg_cap & MCG_CTL_P) && in kvm_vcpu_ioctl_x86_set_mce() 2998 banks += 4 * mce->bank; in kvm_vcpu_ioctl_x86_set_mce() 3003 if ((mce->status & MCI_STATUS_UC) && banks[0] != ~(u64)0) in kvm_vcpu_ioctl_x86_set_mce() 3005 if (mce->status & MCI_STATUS_UC) { in kvm_vcpu_ioctl_x86_set_mce() 3012 mce->status |= MCI_STATUS_OVER; in kvm_vcpu_ioctl_x86_set_mce() 3013 banks[2] = mce->addr; in kvm_vcpu_ioctl_x86_set_mce() 3014 banks[3] = mce->misc; in kvm_vcpu_ioctl_x86_set_mce() 3015 vcpu->arch.mcg_status = mce->mcg_status; in kvm_vcpu_ioctl_x86_set_mce() [all …]
|
/arch/mips/include/asm/octeon/ |
D | cvmx-sriox-defs.h | 1075 uint64_t mce:1; member 1077 uint64_t mce:1;
|