ras.c (c95baf12f5077419db01313ab61c2aac007d40cd) | ras.c (efbc4303b255bb80ab1283794b36dd5fe1fb0ec3) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 2001 Dave Engebretsen IBM Corporation 4 */ 5 6#include <linux/sched.h> 7#include <linux/interrupt.h> 8#include <linux/irq.h> --- 544 unchanged lines hidden (view full) --- 553 554 mce_log = (struct pseries_mc_errorlog *)pseries_log->data; 555 error_type = mce_log->error_type; 556 err_sub_type = rtas_mc_error_sub_type(mce_log); 557 558 switch (mce_log->error_type) { 559 case MC_ERROR_TYPE_UE: 560 mce_err.error_type = MCE_ERROR_TYPE_UE; | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Copyright (C) 2001 Dave Engebretsen IBM Corporation 4 */ 5 6#include <linux/sched.h> 7#include <linux/interrupt.h> 8#include <linux/irq.h> --- 544 unchanged lines hidden (view full) --- 553 554 mce_log = (struct pseries_mc_errorlog *)pseries_log->data; 555 error_type = mce_log->error_type; 556 err_sub_type = rtas_mc_error_sub_type(mce_log); 557 558 switch (mce_log->error_type) { 559 case MC_ERROR_TYPE_UE: 560 mce_err.error_type = MCE_ERROR_TYPE_UE; |
561 mce_common_process_ue(regs, &mce_err); 562 if (mce_err.ignore_event) 563 disposition = RTAS_DISP_FULLY_RECOVERED; |
|
561 switch (err_sub_type) { 562 case MC_ERROR_UE_IFETCH: 563 mce_err.u.ue_error_type = MCE_UE_ERROR_IFETCH; 564 break; 565 case MC_ERROR_UE_PAGE_TABLE_WALK_IFETCH: 566 mce_err.u.ue_error_type = MCE_UE_ERROR_PAGE_TABLE_WALK_IFETCH; 567 break; 568 case MC_ERROR_UE_LOAD_STORE: --- 246 unchanged lines hidden --- | 564 switch (err_sub_type) { 565 case MC_ERROR_UE_IFETCH: 566 mce_err.u.ue_error_type = MCE_UE_ERROR_IFETCH; 567 break; 568 case MC_ERROR_UE_PAGE_TABLE_WALK_IFETCH: 569 mce_err.u.ue_error_type = MCE_UE_ERROR_PAGE_TABLE_WALK_IFETCH; 570 break; 571 case MC_ERROR_UE_LOAD_STORE: --- 246 unchanged lines hidden --- |