[PATCH v2 3/5] crypto: hisilicon/sgl - add some dfx logs

2021-03-31 Thread Kai Ye
Add some dfx logs in some abnormal exit situations. Signed-off-by: Kai Ye --- drivers/crypto/hisilicon/sgl.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index b8a811f..d04e551 100644 --- a/dr

Re: [PATCH v2 3/5] crypto: hisilicon/sgl - add some dfx logs

2021-03-30 Thread yekai(A)
However, I think this log can be used to quickly locate the function or module if dma alloc failed. On 2021/3/30 15:56, Joe Perches wrote: On Tue, 2021-03-30 at 15:39 +0800, Kai Ye wrote: Add some dfx logs in some abnormal exit situations. [] diff --git a/drivers/crypto/hisilicon/sgl.c b/dr

Re: [PATCH v2 3/5] crypto: hisilicon/sgl - add some dfx logs

2021-03-30 Thread Joe Perches
On Tue, 2021-03-30 at 15:39 +0800, Kai Ye wrote: > Add some dfx logs in some abnormal exit situations. [] > diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c [] > @@ -87,8 +87,10 @@ struct hisi_acc_sgl_pool *hisi_acc_create_sgl_pool(struct > device *dev, >  

[PATCH v2 3/5] crypto: hisilicon/sgl - add some dfx logs

2021-03-30 Thread Kai Ye
Add some dfx logs in some abnormal exit situations. Signed-off-by: Kai Ye --- drivers/crypto/hisilicon/sgl.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index b816e74..4bece3d 100644 --- a/dr