Commit Message: Change the maximum number of supported ccps from 16 to 48.

Signed-off-by: Yabin Li <liyabin@hygon.cn>
Signed-off-by: yangdepei <yangdepei@hygon.cn>
This commit is contained in:
Yabin Li 2024-04-25 19:46:13 +08:00 committed by yangdepei
parent 8dfdf88cb9
commit 0dfa39df10
1 changed files with 3 additions and 2 deletions

View File

@ -38,12 +38,13 @@
* 0.3 -- support host-noiommu mode memory encryption function,
* and performance optimization in virtual machines (enable caching).
* 0.4 -- support compiling hct.ko when mdev module is disabled.
* 0.5 -- change the maximum number of supported ccps from 16 to 48.
*/
#undef pr_fmt
#define pr_fmt(fmt) "hct: " fmt
#define VERSION_STRING "0.4"
#define VERSION_STRING "0.5"
#define DRIVER_AUTHOR "HYGON Corporation"
#define VERSION_SIZE 16
@ -91,7 +92,7 @@
#define MCCP_INSTANCE_MASK (~((1u << MCCP_INSTANCE_OFFSET) - 1))
#define MCCP_PASID_SIZE (1 << 8)
#define MCCP_IOVA_MAX_SLOT 1024
#define MCCP_DEV_MAX 16
#define MCCP_DEV_MAX 48
#define MCCP_DEV_QUEUE_MAX 8
#define MCCP_DEV_QUEUE 5
#define MCCP_QUEUES_MAX (MCCP_DEV_MAX * MCCP_DEV_QUEUE_MAX)