aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/pci-ioda.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2020-04-08 21:22:13 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2020-05-28 23:24:38 +1000
commite5500ab657c51bec5af8dcf564a096de48e7a132 (patch)
tree2ed90fa3a00e729db078541fb7a43f9f4eb325c1 /arch/powerpc/platforms/powernv/pci-ioda.c
parentpowerpc/powernv/npu: Move IOMMU group setup into npu-dma.c (diff)
downloadlinux-dev-e5500ab657c51bec5af8dcf564a096de48e7a132.tar.xz
linux-dev-e5500ab657c51bec5af8dcf564a096de48e7a132.zip
powerpc/powernv: Add a print indicating when an IODA PE is released
Quite useful to know in some cases. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200408112213.5549-1-oohall@gmail.com
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci-ioda.c')
-rw-r--r--arch/powerpc/platforms/powernv/pci-ioda.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
index 6d28c6ca6ff5..9902f2bea0ec 100644
--- a/arch/powerpc/platforms/powernv/pci-ioda.c
+++ b/arch/powerpc/platforms/powernv/pci-ioda.c
@@ -3465,6 +3465,8 @@ static void pnv_ioda_release_pe(struct pnv_ioda_pe *pe)
struct pnv_phb *phb = pe->phb;
struct pnv_ioda_pe *slave, *tmp;
+ pe_info(pe, "Releasing PE\n");
+
mutex_lock(&phb->ioda.pe_list_mutex);
list_del(&pe->list);
mutex_unlock(&phb->ioda.pe_list_mutex);