linux/drivers/crypto/hisilicon
Longfang Liu 5831fc1fd4 crypto: hisilicon/qm - fix PF queue parameter issue
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: 8bbecfb402 ("crypto: hisilicon/qm - add queue isolation support for Kunpeng930")
Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-10-05 18:16:30 +08:00
..
hpre crypto: hisilicon/qm - fix PF queue parameter issue 2023-10-05 18:16:30 +08:00
sec crypto: hisilicon/sec - Do not check for 0 return after calling platform_get_irq() 2023-08-11 19:19:27 +08:00
sec2 crypto: hisilicon/qm - fix PF queue parameter issue 2023-10-05 18:16:30 +08:00
trng hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
zip crypto: hisilicon/qm - fix PF queue parameter issue 2023-10-05 18:16:30 +08:00
debugfs.c crypto: hisilicon/qm - the command dump process is modified 2022-11-18 17:00:22 +08:00
Kconfig hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
Makefile hwrng: histb - Move driver to drivers/char/hw_random/histb-rng.c 2023-05-12 18:48:01 +08:00
qm_common.h crypto: hisilicon/qm - fix PF queue parameter issue 2023-10-05 18:16:30 +08:00
qm.c crypto: hisilicon/qm - fix PF queue parameter issue 2023-10-05 18:16:30 +08:00
sgl.c mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00