]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Add bdfn field to eeh_dev
authorOliver O'Halloran <oohall@gmail.com>
Fri, 16 Aug 2019 04:48:11 +0000 (14:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Aug 2019 13:12:46 +0000 (23:12 +1000)
commitcbe0ec283d4375dcd597f2c8d5dabb24bf1878be
tree4efd1a58aa42991978d373949452d9b3b3d262a8
parentdb29ced8bc4dfe965ea8f81531b6ddc84fb61083
powerpc/eeh: Add bdfn field to eeh_dev

Preparation for removing pci_dn from the powernv EEH code. The only
thing we really use pci_dn for is to get the bdfn of the device for
config space accesses, so adding that information to eeh_dev reduces
the need to carry around the pci_dn.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
[SB: Re-wrapped commit message, fixed whitespace damage.]
Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e458eb69a1f591d8a120782f23a8506b15d3c654.1565930772.git.sbobroff@linux.ibm.com
arch/powerpc/include/asm/eeh.h
arch/powerpc/include/asm/ppc-pci.h
arch/powerpc/kernel/eeh_dev.c