powerpc/powernv: Add a print indicating when an IODA PE is released
authorOliver O'Halloran <oohall@gmail.com>
Wed, 8 Apr 2020 11:22:13 +0000 (21:22 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 May 2020 13:24:38 +0000 (23:24 +1000)
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
arch/powerpc/platforms/powernv/pci-ioda.c

index 6d28c6ca6ff5f3d70eb59c02617589fb5b153893..9902f2bea0ec579c3d0733531f1b29f84233f82e 100644 (file)
@@ -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);