Searched refs:mce (Results 1 - 25 of 35) sorted by relevance

12

/arch/x86/kernel/cpu/mcheck/
H A DMakefile1 obj-y = mce.o mce-severity.o
7 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
11 obj-$(CONFIG_ACPI_APEI) += mce-apei.o
H A Dmce-internal.h2 #include <asm/mce.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)
41 static inline ssize_t apei_read_mce(struct mce *m, u64 *record_id)
H A Dthreshold.c10 #include <asm/mce.h>
H A Dmce-apei.c36 #include <asm/mce.h>
38 #include "mce-internal.h"
42 struct mce m;
72 struct mce mce; member in struct:cper_mce_record
75 int apei_write_mce(struct mce *m)
93 rcd.sec_hdr.section_offset = (void *)&rcd.mce - (void *)&rcd;
94 rcd.sec_hdr.section_length = sizeof(rcd.mce);
102 memcpy(&rcd.mce, m, sizeof(*m));
107 ssize_t apei_read_mce(struct mce *
[all...]
H A Dmce-inject.c27 #include <asm/mce.h>
31 /* Update fake mce registers on current CPU. */
32 static void inject_mce(struct mce *m)
34 struct mce *i = &per_cpu(injectm, m->extcpu);
44 memcpy(i, m, sizeof(struct mce));
50 static void raise_poll(struct mce *m)
62 static void raise_exception(struct mce *m, struct pt_regs *pregs)
85 struct mce *m = &__get_cpu_var(injectm);
99 struct mce *m = &__get_cpu_var(injectm);
108 /* Inject mce o
[all...]
H A Dwinchip.c11 #include <asm/mce.h>
H A Dp5.c12 #include <asm/mce.h>
H A Dmce.c43 #include <asm/mce.h>
46 #include "mce-internal.h"
56 #include <trace/events/mce.h>
95 static DEFINE_PER_CPU(struct mce, mces_seen);
111 /* Do initial initialization of a struct mce */
112 void mce_setup(struct mce *m)
114 memset(m, 0, sizeof(struct mce));
126 DEFINE_PER_CPU(struct mce, injectm);
138 .recordlen = sizeof(struct mce),
141 void mce_log(struct mce *mc argument
[all...]
H A Dmce-severity.c16 #include <asm/mce.h>
18 #include "mce-internal.h"
21 * Grade an mce by severity. In general the most severe ones are processed
178 static int error_context(struct mce *m)
183 int mce_severity(struct mce *m, int tolerant, char **msg)
H A Dmce_intel.c16 #include <asm/mce.h>
H A Dmce_amd.c30 #include <asm/mce.h>
193 /* cpu init entry point, called from mce.c with preempt off */
261 struct mce m;
H A Dtherm_throt.c30 #include <asm/mce.h>
/arch/ia64/xen/
H A Dxcom_hcall.c266 struct multicall_entry *mce; local
271 mce = (struct multicall_entry *)call_list + i;
273 switch (mce->op) {
281 mce->args[0], (void *)mce->args[1],
282 mce->args[2], &desc);
285 mce->args[1] = (unsigned long)desc;
291 __func__, mce->op);
/arch/x86/include/asm/
H A Dmce.h60 struct mce { struct
96 unsigned recordlen; /* length of struct mce */
97 struct mce entry[MCE_LOG_LEN];
152 void mce_setup(struct mce *m);
153 void mce_log(struct mce *m);
205 DECLARE_PER_CPU(struct mce, injectm);
/arch/alpha/kernel/
H A Derr_impl.h10 #include <asm/mce.h>
H A Dirq_alpha.c14 #include <asm/mce.h>
H A Dsys_mikasa.c20 #include <asm/mce.h>
H A Dsys_noritake.c21 #include <asm/mce.h>
H A Dcore_apecs.c24 #include <asm/mce.h>
H A Dcore_t2.c24 #include <asm/mce.h>
/arch/x86/power/
H A Dcpu.c19 #include <asm/mce.h>
/arch/alpha/include/asm/
H A Dcore_lca.h5 #include <asm/mce.h>
H A Dcore_mcpcia.h10 #include <asm/mce.h>
/arch/x86/kernel/
H A Dirq.c18 #include <asm/mce.h>
/arch/x86/kvm/
H A Dx86.c58 #include <asm/mce.h>
2392 struct kvm_x86_mce *mce)
2398 if (mce->bank >= bank_num || !(mce->status & MCI_STATUS_VAL))
2404 if ((mce->status & MCI_STATUS_UC) && (mcg_cap & MCG_CTL_P) &&
2407 banks += 4 * mce->bank;
2412 if ((mce->status & MCI_STATUS_UC) && banks[0] != ~(u64)0)
2414 if (mce->status & MCI_STATUS_UC) {
2421 mce->status |= MCI_STATUS_OVER;
2422 banks[2] = mce
2391 kvm_vcpu_ioctl_x86_set_mce(struct kvm_vcpu *vcpu, struct kvm_x86_mce *mce) argument
2754 struct kvm_x86_mce mce; local
[all...]

Completed in 444 milliseconds

12