Skip to content

Commit 360d88a

Browse files
Gavin Shanmpe
authored andcommitted
powerpc/powernv: Replace OPAL_DEASSERT_RESET with EEH_RESET_DEACTIVATE
The flag passed to ioda_eeh_phb_reset() should be EEH_RESET_DEACTIVATE, which is translated to OPAL_DEASSERT_RESET or something else by the EEH backend accordingly. The patch replaces OPAL_DEASSERT_RESET with EEH_RESET_DEACTIVATE for ioda_eeh_phb_reset(). Cc: stable@vger.kernel.org Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent 7531473 commit 360d88a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/platforms/powernv/pci-ioda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1997,7 +1997,7 @@ static void __init pnv_pci_init_ioda_phb(struct device_node *np,
19971997
if (is_kdump_kernel()) {
19981998
pr_info(" Issue PHB reset ...\n");
19991999
ioda_eeh_phb_reset(hose, EEH_RESET_FUNDAMENTAL);
2000-
ioda_eeh_phb_reset(hose, OPAL_DEASSERT_RESET);
2000+
ioda_eeh_phb_reset(hose, EEH_RESET_DEACTIVATE);
20012001
}
20022002

20032003
/* Configure M64 window */

0 commit comments

Comments
 (0)