Lines Matching refs:evt
30 static void machine_check_ue_event(struct machine_check_event *evt);
231 static void machine_check_ue_event(struct machine_check_event *evt) in machine_check_ue_event() argument
242 evt, sizeof(*evt)); in machine_check_ue_event()
251 struct machine_check_event evt; in machine_check_queue_event() local
253 if (!get_mce_event(&evt, MCE_EVENT_RELEASE)) in machine_check_queue_event()
263 &evt, sizeof(evt)); in machine_check_queue_event()
287 struct machine_check_event *evt; in machine_process_ue_event() local
291 evt = &local_paca->mce_info->mce_ue_event_queue[index]; in machine_process_ue_event()
292 blocking_notifier_call_chain(&mce_notifier_list, 0, evt); in machine_process_ue_event()
302 if (evt->error_type == MCE_ERROR_TYPE_UE) { in machine_process_ue_event()
303 if (evt->u.ue_error.ignore_event) { in machine_process_ue_event()
308 if (evt->u.ue_error.physical_address_provided) { in machine_process_ue_event()
311 pfn = evt->u.ue_error.physical_address >> in machine_process_ue_event()
330 struct machine_check_event *evt; in machine_check_process_queued_event() local
340 evt = &local_paca->mce_info->mce_event_queue[index]; in machine_check_process_queued_event()
342 if (evt->error_type == MCE_ERROR_TYPE_UE && in machine_check_process_queued_event()
343 evt->u.ue_error.ignore_event) { in machine_check_process_queued_event()
347 machine_check_print_event_info(evt, false, false); in machine_check_process_queued_event()
373 void machine_check_print_event_info(struct machine_check_event *evt, in machine_check_print_event_info() argument
437 if (evt->version != MCE_V1) { in machine_check_print_event_info()
439 evt->version); in machine_check_print_event_info()
442 switch (evt->severity) { in machine_check_print_event_info()
462 switch(evt->initiator) { in machine_check_print_event_info()
484 switch (evt->error_type) { in machine_check_print_event_info()
487 subtype = evt->u.ue_error.ue_error_type < in machine_check_print_event_info()
489 mc_ue_types[evt->u.ue_error.ue_error_type] in machine_check_print_event_info()
491 if (evt->u.ue_error.effective_address_provided) in machine_check_print_event_info()
492 ea = evt->u.ue_error.effective_address; in machine_check_print_event_info()
493 if (evt->u.ue_error.physical_address_provided) in machine_check_print_event_info()
494 pa = evt->u.ue_error.physical_address; in machine_check_print_event_info()
498 subtype = evt->u.slb_error.slb_error_type < in machine_check_print_event_info()
500 mc_slb_types[evt->u.slb_error.slb_error_type] in machine_check_print_event_info()
502 if (evt->u.slb_error.effective_address_provided) in machine_check_print_event_info()
503 ea = evt->u.slb_error.effective_address; in machine_check_print_event_info()
507 subtype = evt->u.erat_error.erat_error_type < in machine_check_print_event_info()
509 mc_erat_types[evt->u.erat_error.erat_error_type] in machine_check_print_event_info()
511 if (evt->u.erat_error.effective_address_provided) in machine_check_print_event_info()
512 ea = evt->u.erat_error.effective_address; in machine_check_print_event_info()
516 subtype = evt->u.tlb_error.tlb_error_type < in machine_check_print_event_info()
518 mc_tlb_types[evt->u.tlb_error.tlb_error_type] in machine_check_print_event_info()
520 if (evt->u.tlb_error.effective_address_provided) in machine_check_print_event_info()
521 ea = evt->u.tlb_error.effective_address; in machine_check_print_event_info()
525 subtype = evt->u.user_error.user_error_type < in machine_check_print_event_info()
527 mc_user_types[evt->u.user_error.user_error_type] in machine_check_print_event_info()
529 if (evt->u.user_error.effective_address_provided) in machine_check_print_event_info()
530 ea = evt->u.user_error.effective_address; in machine_check_print_event_info()
534 subtype = evt->u.ra_error.ra_error_type < in machine_check_print_event_info()
536 mc_ra_types[evt->u.ra_error.ra_error_type] in machine_check_print_event_info()
538 if (evt->u.ra_error.effective_address_provided) in machine_check_print_event_info()
539 ea = evt->u.ra_error.effective_address; in machine_check_print_event_info()
543 subtype = evt->u.link_error.link_error_type < in machine_check_print_event_info()
545 mc_link_types[evt->u.link_error.link_error_type] in machine_check_print_event_info()
547 if (evt->u.link_error.effective_address_provided) in machine_check_print_event_info()
548 ea = evt->u.link_error.effective_address; in machine_check_print_event_info()
566 if (ea && evt->srr0 != ea) { in machine_check_print_event_info()
576 level, evt->cpu, sevstr, in_guest ? "Guest" : "", in machine_check_print_event_info()
578 evt->disposition == MCE_DISPOSITION_RECOVERED ? in machine_check_print_event_info()
583 level, evt->cpu, current->pid, current->comm, in machine_check_print_event_info()
584 in_guest ? "Guest " : "", evt->srr0, pa_str); in machine_check_print_event_info()
587 level, evt->cpu, evt->srr0, (void *)evt->srr0, pa_str); in machine_check_print_event_info()
590 printk("%sMCE: CPU%d: Initiator %s\n", level, evt->cpu, initiator); in machine_check_print_event_info()
592 subtype = evt->error_class < ARRAY_SIZE(mc_error_class) ? in machine_check_print_event_info()
593 mc_error_class[evt->error_class] : "Unknown"; in machine_check_print_event_info()
594 printk("%sMCE: CPU%d: %s\n", level, evt->cpu, subtype); in machine_check_print_event_info()
598 if (evt->error_type == MCE_ERROR_TYPE_SLB && !in_guest) in machine_check_print_event_info()