Lines Matching full:mce
3 * Common corrected MCE threshold handler code:
11 #include <asm/mce.h>
97 void mce_track_storm(struct mce *mce) in mce_track_storm() argument
105 if (storm->banks[mce->bank].poll_only) in mce_track_storm()
116 if (!storm->banks[mce->bank].in_storm_mode) { in mce_track_storm()
117 delta = now - storm->banks[mce->bank].timestamp; in mce_track_storm()
123 history = storm->banks[mce->bank].history << shift; in mce_track_storm()
125 storm->banks[mce->bank].timestamp = now; in mce_track_storm()
128 if ((mce->status & MCI_STATUS_VAL) && mce_is_correctable(mce)) in mce_track_storm()
131 storm->banks[mce->bank].history = history; in mce_track_storm()
133 if (storm->banks[mce->bank].in_storm_mode) { in mce_track_storm()
136 printk_deferred(KERN_NOTICE "CPU%d BANK%d CMCI storm subsided\n", smp_processor_id(), mce->bank); in mce_track_storm()
137 mce_handle_storm(mce->bank, false); in mce_track_storm()
138 cmci_storm_end(mce->bank); in mce_track_storm()
142 printk_deferred(KERN_NOTICE "CPU%d BANK%d CMCI storm detected\n", smp_processor_id(), mce->bank); in mce_track_storm()
143 mce_handle_storm(mce->bank, true); in mce_track_storm()
144 cmci_storm_begin(mce->bank); in mce_track_storm()