[PATCH] powerpc/powernv: Add a print indicating when an IODA PE is released

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2261d LANDED

Landed in mainline as e5500ab657c5 on 2020-05-28.

3 messages, 3 authors, 2020-06-09 · open the first message on its own page

[PATCH] powerpc/powernv: Add a print indicating when an IODA PE is released

From: Oliver O'Halloran <oohall@gmail.com>
Date: 2020-04-08 11:24:41

Quite useful to know in some cases.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
 arch/powerpc/platforms/powernv/pci-ioda.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
index 3d81c01..82e5098 100644
--- a/arch/powerpc/platforms/powernv/pci-ioda.c
+++ b/arch/powerpc/platforms/powernv/pci-ioda.c
@@ -3475,6 +3475,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);
-- 
2.9.5

Re: [PATCH] powerpc/powernv: Add a print indicating when an IODA PE is released

From: Sam Bobroff <hidden>
Date: 2020-04-09 07:05:07

On Wed, Apr 08, 2020 at 09:22:13PM +1000, Oliver O'Halloran wrote:
Quite useful to know in some cases.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Agreed.
Reviewed-by: Sam Bobroff <redacted>
quoted hunk
---
 arch/powerpc/platforms/powernv/pci-ioda.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
index 3d81c01..82e5098 100644
--- a/arch/powerpc/platforms/powernv/pci-ioda.c
+++ b/arch/powerpc/platforms/powernv/pci-ioda.c
@@ -3475,6 +3475,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);
-- 
2.9.5

Re: [PATCH] powerpc/powernv: Add a print indicating when an IODA PE is released

From: Michael Ellerman <hidden>
Date: 2020-06-09 06:46:56

On Wed, 8 Apr 2020 21:22:13 +1000, Oliver O'Halloran wrote:
Quite useful to know in some cases.
Applied to powerpc/next.

[1/1] powerpc/powernv: Add a print indicating when an IODA PE is released
      https://git.kernel.org/powerpc/c/e5500ab657c51bec5af8dcf564a096de48e7a132

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help