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

Sam Bobroff sbobroff at linux.ibm.com
Thu Apr 9 17:02:55 AEST 2020


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 at gmail.com>

Agreed.
Reviewed-by: Sam Bobroff <sbobroff at linux.ibm.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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20200409/9b541eae/attachment-0001.sig>


More information about the Linuxppc-dev mailing list