diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2016-03-04 10:53:08 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-09 09:58:19 +1100 |
commit | c29fa27d26e3189009ba42786f0c0dce14a90940 (patch) | |
tree | b27eb383418a45732c4c9b7203bc59d3ccae18b2 /arch/powerpc/include/asm/eeh.h | |
parent | 39218cd00ebf08b16edf015adc363de42d9ad612 (diff) | |
download | linux-stable-c29fa27d26e3189009ba42786f0c0dce14a90940.tar.gz linux-stable-c29fa27d26e3189009ba42786f0c0dce14a90940.tar.bz2 linux-stable-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.h | 1 |
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 */ |