mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: ACR interface update
FALCON_ID_END is used in ACR lsf_ucode_desc interface to allocate space for dependency map but now more number of FALCON’s supported which will cause wrong allocation for dependency map, so required to have its definition. JIRA NVGPU-5462 Change-Id: Idaaa24ea1d2767a0b4ef44b1376239f945e39912 Signed-off-by: mkumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2357747 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
@@ -199,6 +199,11 @@ struct lsf_wpr_header {
|
||||
* @ingroup NVGPURM_BLOB_CONSTRUCT
|
||||
*/
|
||||
/** @{*/
|
||||
/**
|
||||
* Size in entries of the ucode descriptor's dependency map.
|
||||
*/
|
||||
#define LSF_FALCON_DEPMAP_SIZE (11U)
|
||||
|
||||
/**
|
||||
* Code/data signature details of LS falcon
|
||||
*/
|
||||
@@ -239,7 +244,7 @@ struct lsf_ucode_desc {
|
||||
* packed dependency map used to compute the DM hashes on the code and
|
||||
* data.
|
||||
*/
|
||||
u8 dep_map[FALCON_ID_END * 2 * 4];
|
||||
u8 dep_map[LSF_FALCON_DEPMAP_SIZE * 2 * 4];
|
||||
/** Message used to derive key */
|
||||
u8 kdf[16];
|
||||
};
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
#define FALCON_ID_SEC2 (7U)
|
||||
/** Falcon ID for MINION engine */
|
||||
#define FALCON_ID_MINION (10U)
|
||||
#define FALCON_ID_END (11U)
|
||||
#define FALCON_ID_END (15U)
|
||||
#define FALCON_ID_INVALID 0xFFFFFFFFU
|
||||
|
||||
#define FALCON_MAILBOX_0 0x0U
|
||||
|
||||
Reference in New Issue
Block a user