eeh_event.c (9095bf25ea08135a5b74875dd0e3eeaddc4218a0) eeh_event.c (68701780712f7ddb2fa81032aa1b4a949949ddf8)
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of

--- 67 unchanged lines hidden (view full) ---

76 eeh_pe_state_mark(pe, EEH_PE_RECOVERING);
77 if (pe->type & EEH_PE_PHB)
78 pr_info("EEH: Detected error on PHB#%x\n",
79 pe->phb->global_number);
80 else
81 pr_info("EEH: Detected PCI bus error on "
82 "PHB#%x-PE#%x\n",
83 pe->phb->global_number, pe->addr);
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of

--- 67 unchanged lines hidden (view full) ---

76 eeh_pe_state_mark(pe, EEH_PE_RECOVERING);
77 if (pe->type & EEH_PE_PHB)
78 pr_info("EEH: Detected error on PHB#%x\n",
79 pe->phb->global_number);
80 else
81 pr_info("EEH: Detected PCI bus error on "
82 "PHB#%x-PE#%x\n",
83 pe->phb->global_number, pe->addr);
84 eeh_handle_event(pe);
84 eeh_handle_normal_event(pe);
85 eeh_pe_state_clear(pe, EEH_PE_RECOVERING);
86 } else {
85 eeh_pe_state_clear(pe, EEH_PE_RECOVERING);
86 } else {
87 eeh_handle_event(NULL);
87 eeh_handle_special_event();
88 }
89
90 kfree(event);
91 }
92
93 return 0;
94}
95

--- 101 unchanged lines hidden ---
88 }
89
90 kfree(event);
91 }
92
93 return 0;
94}
95

--- 101 unchanged lines hidden ---