Home
last modified time | relevance | path

Searched refs:mce (Results 1 – 25 of 64) sorted by relevance

123

/linux/arch/powerpc/kernel/
A Dmce.c101 struct machine_check_event *mce; in save_mce_event() local
113 mce->version = MCE_V1; in save_mce_event()
114 mce->srr0 = nip; in save_mce_event()
115 mce->srr1 = regs->msr; in save_mce_event()
116 mce->gpr3 = regs->gpr[3]; in save_mce_event()
117 mce->in_use = 1; in save_mce_event()
118 mce->cpu = get_paca()->paca_index; in save_mce_event()
134 mce_set_error_info(mce, mce_err); in save_mce_event()
165 machine_check_ue_event(mce); in save_mce_event()
202 if (mce) in get_mce_event()
[all …]
/linux/arch/x86/kernel/cpu/mce/
A Dgenpool.c35 struct mce *m1, *m2; in is_duplicate_mce_record()
37 m1 = &t->mce; in is_duplicate_mce_record()
40 m2 = &node->mce; in is_duplicate_mce_record()
78 struct mce *mce; in mce_gen_pool_process() local
86 mce = &node->mce; in mce_gen_pool_process()
87 blocking_notifier_call_chain(&x86_mce_decoder_chain, 0, mce); in mce_gen_pool_process()
97 int mce_gen_pool_add(struct mce *mce) in mce_gen_pool_add() argument
101 if (filter_mce(mce)) in mce_gen_pool_add()
113 memcpy(&node->mce, mce, sizeof(*mce)); in mce_gen_pool_add()
A Dinternal.h29 struct mce mce; member
34 int mce_gen_pool_add(struct mce *mce);
51 bool intel_filter_mce(struct mce *m);
60 static inline bool intel_filter_mce(struct mce *m) { return false; } in intel_filter_mce()
66 int apei_write_mce(struct mce *m);
67 ssize_t apei_read_mce(struct mce *m, u64 *record_id);
71 static inline int apei_write_mce(struct mce *m) in apei_write_mce()
75 static inline ssize_t apei_read_mce(struct mce *m, u64 *record_id) in apei_read_mce()
95 static inline bool mce_cmp(struct mce *m1, struct mce *m2) in mce_cmp()
188 extern bool filter_mce(struct mce *m);
[all …]
A Ddev-mcelog.c39 struct mce *mce = (struct mce *)data; in dev_mce_log() local
42 if (mce->kflags & MCE_HANDLED_CEC) in dev_mce_log()
60 memcpy(mcelog->entry + entry, mce, sizeof(struct mce)); in dev_mce_log()
71 mce->kflags |= MCE_HANDLED_MCELOG; in dev_mce_log()
167 struct mce m; in __mce_read_apei()
169 if (usize < sizeof(struct mce)) in __mce_read_apei()
198 *ubuf += sizeof(struct mce); in __mce_read_apei()
227 struct mce *m = &mcelog->entry[i]; in mce_chrdev_read()
297 struct mce m; in mce_chrdev_write()
309 usize = sizeof(struct mce); in mce_chrdev_write()
[all …]
A Dinject.c39 static struct mce i_mce;
67 struct mce *m = (struct mce *)data; \
82 struct mce *m = (struct mce *)data; \
102 memset(m, 0, sizeof(struct mce)); in setup_inj_struct()
111 static void inject_mce(struct mce *m) in inject_mce()
123 memcpy(i, m, sizeof(struct mce)); in inject_mce()
129 static void raise_poll(struct mce *m) in raise_poll()
283 struct mce *m = (struct mce *)data; in mce_inject_raise()
388 struct mce *m = (struct mce *)data; in inj_extcpu_set()
462 struct mce m = *(struct mce *)info; in prepare_msrs()
[all …]
A Dapei.c31 struct mce m; in apei_mce_report_mem_error()
59 struct mce m; in apei_smca_report_x86_error()
130 struct mce mce; member
133 int apei_write_mce(struct mce *m) in apei_write_mce()
151 rcd.sec_hdr.section_offset = (void *)&rcd.mce - (void *)&rcd; in apei_write_mce()
152 rcd.sec_hdr.section_length = sizeof(rcd.mce); in apei_write_mce()
160 memcpy(&rcd.mce, m, sizeof(*m)); in apei_write_mce()
165 ssize_t apei_read_mce(struct mce *m, u64 *record_id) in apei_read_mce()
190 memcpy(m, &rcd.mce, sizeof(*m)); in apei_read_mce()
A Dcore.c154 void mce_log(struct mce *m) in mce_log()
294 struct mce *m = &l->mce; in mce_panic()
303 struct mce *m = &l->mce; in mce_panic()
569 struct mce *m = (struct mce *)data; in mce_early_notifier()
592 struct mce *mce = (struct mce *)data; in uc_decode_notifier() local
595 if (!mce || !mce_usable_address(mce)) in uc_decode_notifier()
619 struct mce *m = (struct mce *)data; in mce_default_notifier()
696 struct mce m; in machine_check_poll()
930 struct mce *m = NULL; in mce_reign()
1168 static void __mc_scan_banks(struct mce *m, struct pt_regs *regs, struct mce *final, in __mc_scan_banks()
[all …]
A DMakefile9 mce-inject-y := inject.o
10 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
A Dseverity.c266 static int error_context(struct mce *m, struct pt_regs *regs) in error_context()
289 static int mce_severity_amd_smca(struct mce *m, enum context err_ctx) in mce_severity_amd_smca()
320 static int mce_severity_amd(struct mce *m, struct pt_regs *regs, int tolerant, in mce_severity_amd()
373 static int mce_severity_intel(struct mce *m, struct pt_regs *regs, in mce_severity_intel()
410 int mce_severity(struct mce *m, struct pt_regs *regs, int tolerant, char **msg, in mce_severity()
/linux/drivers/acpi/nfit/
A Dmce.c16 struct mce *mce = (struct mce *)data; in nfit_handle_mce() local
21 if (!mce_is_memory_error(mce) || mce_is_correctable(mce)) in nfit_handle_mce()
25 if (!mce_usable_address(mce)) in nfit_handle_mce()
45 if (spa->address > mce->addr) in nfit_handle_mce()
47 if ((spa->address + spa->length - 1) < mce->addr) in nfit_handle_mce()
66 ALIGN(mce->addr, L1_CACHE_BYTES), in nfit_handle_mce()
79 mce->kflags |= MCE_HANDLED_NFIT; in nfit_handle_mce()
/linux/drivers/edac/
A Dskx_common.c527 const struct mce *m, in skx_mce_output_error()
639 struct mce *mce = (struct mce *)data; in skx_mce_check_error() local
644 if (mce->kflags & MCE_HANDLED_CEC) in skx_mce_check_error()
648 if ((mce->status & 0xefff) >> 7 != 1 || !(mce->status & MCI_STATUS_ADDRV)) in skx_mce_check_error()
652 res.addr = mce->addr; in skx_mce_check_error()
666 if (mce->mcgstatus & MCG_STATUS_MCIP) in skx_mce_check_error()
675 mce->mcgstatus, mce->bank, mce->status); in skx_mce_check_error()
681 "%u APIC 0x%x\n", mce->cpuvendor, mce->cpuid, in skx_mce_check_error()
682 mce->time, mce->socketid, mce->apicid); in skx_mce_check_error()
684 skx_mce_output_error(mci, mce, &res); in skx_mce_check_error()
[all …]
A Dmce_amd.c13 static void (*decode_dram_ecc)(int node_id, struct mce *m);
15 void amd_register_ecc_decoder(void (*f)(int, struct mce *)) in amd_register_ecc_decoder() argument
643 static void decode_mc0_mce(struct mce *m) in decode_mc0_mce()
753 static void decode_mc1_mce(struct mce *m) in decode_mc1_mce()
899 static void decode_mc2_mce(struct mce *m) in decode_mc2_mce()
910 static void decode_mc3_mce(struct mce *m) in decode_mc3_mce()
939 static void decode_mc4_mce(struct mce *m) in decode_mc4_mce()
997 static void decode_mc5_mce(struct mce *m) in decode_mc5_mce()
1029 static void decode_mc6_mce(struct mce *m) in decode_mc6_mce()
1046 static void decode_smca_error(struct mce *m) in decode_smca_error()
[all …]
A Digen6_edac.c738 struct mce *mce = (struct mce *)data; in ecclog_mce_handler() local
741 if (mce->kflags & MCE_HANDLED_CEC) in ecclog_mce_handler()
749 if ((mce->status & 0xefff) >> 7 != 1) in ecclog_mce_handler()
752 if (mce->mcgstatus & MCG_STATUS_MCIP) in ecclog_mce_handler()
758 mce->extcpu, type, mce->mcgstatus, in ecclog_mce_handler()
759 mce->bank, mce->status); in ecclog_mce_handler()
760 edac_dbg(0, "TSC 0x%llx\n", mce->tsc); in ecclog_mce_handler()
761 edac_dbg(0, "ADDR 0x%llx\n", mce->addr); in ecclog_mce_handler()
764 mce->cpuvendor, mce->cpuid, mce->time, in ecclog_mce_handler()
765 mce->socketid, mce->apicid); in ecclog_mce_handler()
[all …]
A Dpnd2_edac.c1394 struct mce *mce = (struct mce *)data; in pnd2_mce_check_error() local
1400 if (!mci || (mce->kflags & MCE_HANDLED_CEC)) in pnd2_mce_check_error()
1409 if ((mce->status & 0xefff) >> 7 != 1) in pnd2_mce_check_error()
1412 if (mce->mcgstatus & MCG_STATUS_MCIP) in pnd2_mce_check_error()
1419 mce->extcpu, type, mce->mcgstatus, mce->bank, mce->status); in pnd2_mce_check_error()
1420 pnd2_mc_printk(mci, KERN_INFO, "TSC %llx ", mce->tsc); in pnd2_mce_check_error()
1421 pnd2_mc_printk(mci, KERN_INFO, "ADDR %llx ", mce->addr); in pnd2_mce_check_error()
1424 mce->cpuvendor, mce->cpuid, mce->time, mce->socketid, mce->apicid); in pnd2_mce_check_error()
1426 pnd2_mce_output_error(mci, mce, &daddr); in pnd2_mce_check_error()
1429 mce->kflags |= MCE_HANDLED_EDAC; in pnd2_mce_check_error()
[all …]
A Dsb_edac.c2240 const struct mce *m, u8 *socket, in get_memory_error_data_from_mce()
2948 const struct mce *m) in sbridge_mce_output_error()
3130 struct mce *mce = (struct mce *)data; in sbridge_mce_check_error() local
3134 if (mce->kflags & MCE_HANDLED_CEC) in sbridge_mce_check_error()
3143 if ((mce->status & 0xefff) >> 7 != 1) in sbridge_mce_check_error()
3162 if (mce->mcgstatus & MCG_STATUS_MCIP) in sbridge_mce_check_error()
3171 mce->mcgstatus, mce->bank, mce->status); in sbridge_mce_check_error()
3177 "%u APIC %x\n", mce->cpuvendor, mce->cpuid, in sbridge_mce_check_error()
3178 mce->time, mce->socketid, mce->apicid); in sbridge_mce_check_error()
3180 sbridge_mce_output_error(mci, mce); in sbridge_mce_check_error()
[all …]
A Dmce_amd.h79 void amd_register_ecc_decoder(void (*f)(int, struct mce *));
80 void amd_unregister_ecc_decoder(void (*f)(int, struct mce *));
/linux/arch/x86/include/asm/
A Dmce.h168 struct mce entry[];
218 void mce_setup(struct mce *m);
219 void mce_log(struct mce *m);
242 bool mce_is_memory_error(struct mce *m);
243 bool mce_is_correctable(struct mce *m);
244 int mce_usable_address(struct mce *m);
262 DECLARE_PER_CPU(struct mce, injectm);
342 extern bool amd_mce_is_memory_error(struct mce *m);
354 static inline bool amd_mce_is_memory_error(struct mce *m) { return false; }; in amd_mce_is_memory_error()
/linux/drivers/acpi/
A Dacpi_extlog.c136 struct mce *mce = (struct mce *)data; in extlog_print() local
137 int bank = mce->bank; in extlog_print()
138 int cpu = mce->extcpu; in extlog_print()
147 if (estatus == NULL || (mce->kflags & MCE_HANDLED_CEC)) in extlog_print()
177 mce->kflags |= MCE_HANDLED_EXTLOG; in extlog_print()
/linux/Documentation/vm/
A Dhwpoison.rst162 x86 has mce-inject, mce-test
164 Some portable hwpoison test programs in mce-test, see below.
169 http://halobates.de/mce-lc09-2.pdf
172 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git
175 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
/linux/Documentation/x86/x86_64/
A Dboot-options.rst14 mce=off
16 mce=no_cmci
24 mce=dont_log_ce
29 mce=ignore_ce
38 mce=no_lmce
41 mce=bootlog
48 mce=nobootlog
50 mce=tolerancelevel[,monarchtimeout] (number,number)
61 mce=bios_cmci_threshold
68 mce=recovery
[all …]
A Dmachinecheck.rst25 Documentation/ABI/testing/sysfs-mce for more details.
33 see http://one.firstfloor.org/~andi/mce.pdf
/linux/Documentation/devicetree/bindings/media/
A Drc.yaml60 - rc-dvico-mce
71 - rc-fusionhdtv-mce
79 - rc-imon-mce
123 - rc-rc6-mce
/linux/drivers/media/rc/keymaps/
A DMakefile38 rc-dvico-mce.o \
48 rc-fusionhdtv-mce.o \
55 rc-imon-mce.o \
99 rc-rc6-mce.o \
/linux/drivers/staging/media/tegra-vde/
A Dvde.h32 void __iomem *mce; member
89 if (vde->mce == base) in tegra_vde_reg_base_name()
/linux/drivers/infiniband/sw/rxe/
A Drxe_recv.c237 struct rxe_mc_elem *mce; in rxe_rcv_mcast_pkt() local
260 list_for_each_entry(mce, &mcg->qp_list, qp_list) { in rxe_rcv_mcast_pkt()
261 qp = mce->qp; in rxe_rcv_mcast_pkt()
276 if (mce->qp_list.next != &mcg->qp_list) { in rxe_rcv_mcast_pkt()

Completed in 55 milliseconds

123