powerpc/powernv: Add a print indicating when an IODA PE is released
PATCH 1/1 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 <[email protected]>
--- arch/powerpc/platforms/powernv/pci-ioda.c | 2 ++ 1 file changed, 2 insertions(+)
arch/powerpc/platforms/powernv/pci-ioda.c +2 -0
@@ -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);
Signature · 1 line
2.9.5
Quoted 3 lines · Oliver O'Halloran
Quite useful to know in some cases.
Signed-off-by Oliver O'Halloran <[email protected]>
Agreed.
Reviewed-by Sam Bobroff <[email protected]>
Quoted 20 lines
--- arch/powerpc/platforms/powernv/pci-ioda.c | 2 ++ 1 file changed, 2 insertions(+)arch/powerpc/platforms/powernv/pci-ioda.c +2
-0@@ -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);Signature · 1 line
2.9.5
Michael Ellerman
AppliedQuoted 1 line · Oliver O'Halloran
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