From 5e58030479396ee08d2d0e9f1b905058f58f6904 Mon Sep 17 00:00:00 2001 From: Nagaraj P N Date: Sat, 22 Mar 2025 17:07:56 +0530 Subject: [PATCH] vse: increase max support dev count to 70 Bug 5091879 Change-Id: Ib5134b5fb3e41a369afcecad5dffe073bbb90363 Signed-off-by: Nagaraj P N Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3324338 Reviewed-by: mobile promotions Tested-by: mobile promotions GVS: buildbot_gerritrpt Reviewed-by: Leo Chiu Reviewed-by: Sandeep Trasi --- drivers/crypto/tegra-hv-vse-safety.c | 2 +- include/uapi/misc/tegra-nvvse-cryptodev.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/tegra-hv-vse-safety.c b/drivers/crypto/tegra-hv-vse-safety.c index 145e6345..577638c2 100644 --- a/drivers/crypto/tegra-hv-vse-safety.c +++ b/drivers/crypto/tegra-hv-vse-safety.c @@ -290,7 +290,7 @@ #define TEGRA_VIRTUAL_SE_ERR_MAC_INVALID 11 -#define MAX_NUMBER_MISC_DEVICES 46U +#define MAX_NUMBER_MISC_DEVICES 70U #define MAX_IVC_Q_PRIORITY 2U #define TEGRA_IVC_ID_OFFSET 0U #define TEGRA_SE_ENGINE_ID_OFFSET 1U diff --git a/include/uapi/misc/tegra-nvvse-cryptodev.h b/include/uapi/misc/tegra-nvvse-cryptodev.h index cbe8d97b..421160f0 100644 --- a/include/uapi/misc/tegra-nvvse-cryptodev.h +++ b/include/uapi/misc/tegra-nvvse-cryptodev.h @@ -13,7 +13,7 @@ #define KEYSLOT_SIZE_BYTES 16 #define TEGRA_NVVSE_IOC_MAGIC 0x98 -#define MAX_NUMBER_MISC_DEVICES 46U +#define MAX_NUMBER_MISC_DEVICES 70U /* Command ID for various IO Control */ #define TEGRA_NVVSE_CMDID_AES_SET_KEY 1