summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/eeh.h
diff options
context:
space:
mode:
authorWei Yang2016-03-04 00:53:08 +0100
committerMichael Ellerman2016-03-08 23:58:19 +0100
commitc29fa27d26e3189009ba42786f0c0dce14a90940 (patch)
treeb27eb383418a45732c4c9b7203bc59d3ccae18b2 /arch/powerpc/include/asm/eeh.h
parentpowerpc/eeh: EEH device for VF (diff)
downloadkernel-qcow2-linux-c29fa27d26e3189009ba42786f0c0dce14a90940.tar.gz
kernel-qcow2-linux-c29fa27d26e3189009ba42786f0c0dce14a90940.tar.xz
kernel-qcow2-linux-c29fa27d26e3189009ba42786f0c0dce14a90940.zip
powerpc/eeh: Create PE for VFs
This creates PEs for VFs in the weak function pcibios_bus_add_device(). Those PEs for VFs are identified with newly introduced flag EEH_PE_VF so that we treat them differently during EEH recovery. Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com> Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/eeh.h')
-rw-r--r--arch/powerpc/include/asm/eeh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h
index 574ed49a4a0d..0c551a27e37d 100644
--- a/arch/powerpc/include/asm/eeh.h
+++ b/arch/powerpc/include/asm/eeh.h
@@ -72,6 +72,7 @@ struct pci_dn;
#define EEH_PE_PHB (1 << 1) /* PHB PE */
#define EEH_PE_DEVICE (1 << 2) /* Device PE */
#define EEH_PE_BUS (1 << 3) /* Bus PE */
+#define EEH_PE_VF (1 << 4) /* VF PE */
#define EEH_PE_ISOLATED (1 << 0) /* Isolated PE */
#define EEH_PE_RECOVERING (1 << 1) /* Recovering PE */