bus: fsl-mc: add the dprc_get_mem() command to the whitelist

Add a new MC command to the list of accepted firmware commands.
The DPRC_GET_MEM command can be used to gather information on the
internal memory characteristics.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20250408105814.2837951-5-ioana.ciornei@nxp.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
This commit is contained in:
Ioana Ciornei 2025-04-08 13:58:12 +03:00 committed by Christophe Leroy
parent c78230ad34
commit a8c17b9cbf
1 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,7 @@ enum fsl_mc_cmd_index {
DPRC_GET_POOL,
DPRC_GET_POOL_COUNT,
DPRC_GET_CONNECTION,
DPRC_GET_MEM,
DPCI_GET_LINK_STATE,
DPCI_GET_PEER_ATTR,
DPAIOP_GET_SL_VERSION,
@ -194,6 +195,12 @@ static struct fsl_mc_cmd_desc fsl_mc_accepted_cmds[] = {
.token = true,
.size = 32,
},
[DPRC_GET_MEM] = {
.cmdid_value = 0x16D0,
.cmdid_mask = 0xFFF0,
.token = true,
.size = 12,
},
[DPCI_GET_LINK_STATE] = {
.cmdid_value = 0x0E10,