[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZR6PTeFIjbP48sqN@gondor.apana.org.au>
Date: Thu, 5 Oct 2023 18:26:21 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Longfang Liu <liulongfang@...wei.com>
Cc: wangzhou1@...ilicon.com, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: hisilicon/qm - fix PF queue parameter issue
On Thu, Sep 28, 2023 at 04:57:22PM +0800, Longfang Liu wrote:
> If the queue isolation feature is enabled, the number of queues
> supported by the device changes. When PF is enabled using the
> current default number of queues, the default number of queues may
> be greater than the number supported by the device. As a result,
> the PF fails to be bound to the driver.
>
> After modification, if queue isolation feature is enabled, when
> the default queue parameter is greater than the number supported
> by the device, the number of enabled queues will be changed to
> the number supported by the device, so that the PF and driver
> can be properly bound.
>
> Fixes: 8bbecfb402f7 ("crypto: hisilicon/qm - add queue isolation support for Kunpeng930")
> Signed-off-by: Longfang Liu <liulongfang@...wei.com>
> ---
> drivers/crypto/hisilicon/hpre/hpre_main.c | 5 +++++
> drivers/crypto/hisilicon/qm.c | 18 ++++++++++++------
> drivers/crypto/hisilicon/qm_common.h | 1 -
> drivers/crypto/hisilicon/sec2/sec_main.c | 5 +++++
> drivers/crypto/hisilicon/zip/zip_main.c | 5 +++++
> include/linux/hisi_acc_qm.h | 7 +++++++
> 6 files changed, 34 insertions(+), 7 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists