]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/eeh: Introduce EEH edev logging macros
authorSam Bobroff <sbobroff@linux.ibm.com>
Fri, 16 Aug 2019 04:48:12 +0000 (14:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Aug 2019 13:12:46 +0000 (23:12 +1000)
commitb093f2cbedfbaba6bf1c520fbfcb46403f3c7802
treefb97fea6cb3c206898227f79ff0fc72dd21c18e6
parent7c33a994d32d89937b23673e7507e8ec1daad893
powerpc/eeh: Introduce EEH edev logging macros

Now that struct eeh_dev includes the BDFN of it's PCI device, make use
of it to replace eeh_edev_info() with a set of dev_dbg()-style macros
that only need a struct edev.

With the BDFN available without the struct pci_dev, eeh_pci_name() is
now unnecessary, so remove it.

While only the "info" level function is used here, the others will be
used in followup work.

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f90ae9a53d762be7b0ccbad79e62b5a1b4f4996e.1565930772.git.sbobroff@linux.ibm.com
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh_driver.c