powerpc/eeh: Add EEH operations to notify resume
When pseries SR-IOV is enabled and after a PF driver has resumed from EEH, platform has to be notified of the event so the child VFs can be allowed to resume their normal recovery path. This patch makes the EEH operation allow unfreeze platform dependent code and adds the call to pseries EEH code. Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com> Signed-off-by: Juan J. Alvarez <jjalvare@linux.vnet.ibm.com> Acked-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
565a744dd2
commit
67923cfcfa
@@ -214,6 +214,7 @@ struct eeh_ops {
|
||||
int (*write_config)(struct pci_dn *pdn, int where, int size, u32 val);
|
||||
int (*next_error)(struct eeh_pe **pe);
|
||||
int (*restore_config)(struct pci_dn *pdn);
|
||||
int (*notify_resume)(struct pci_dn *pdn);
|
||||
};
|
||||
|
||||
extern int eeh_subsystem_flags;
|
||||
|
Reference in New Issue
Block a user