Commit 728a9e1a authored by Paul Mackerras's avatar Paul Mackerras Committed by Linus Torvalds

[PATCH] ppc64: allow dynamic enablement of EEH

This patch is from John Rose <johnrose@austin.ibm.com>.

EEH scans the system I/O adapters at boot for EEH-capabilities.  If no
EEH-capable adapters are found, the subsystem is marked disabled for the life
of the system.  EEH should allow dynamic enabling of the EEH subsystem when
hotplug-adding an adapter.
Signed-off-by: default avatarJohn Rose <johnrose@austin.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b638a4c2
......@@ -824,7 +824,7 @@ void eeh_add_device_early(struct device_node *dn)
struct pci_controller *phb;
struct eeh_early_enable_info info;
if (!dn || !eeh_subsystem_enabled)
if (!dn)
return;
phb = dn->phb;
if (NULL == phb || 0 == phb->buid) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment