diff options
author | Nikhil Devshatwar | 2019-08-09 04:18:42 -0500 |
---|---|---|
committer | Andreas Dannenberg | 2019-08-13 08:43:08 -0500 |
commit | 38a82e00f84efdf381dba001fff75e8411898e99 (patch) | |
tree | 46a3d9a1dacf67903d67f1791408acc1f4cf220b | |
parent | 3bd9e95a37000a63888ba52900f8596cd3b46a5a (diff) | |
download | k3-image-gen-38a82e00f84efdf381dba001fff75e8411898e99.tar.gz k3-image-gen-38a82e00f84efdf381dba001fff75e8411898e99.tar.xz k3-image-gen-38a82e00f84efdf381dba001fff75e8411898e99.zip |
HACK: j721e: rm-cfg: Use HOST_ALL for ethernet firmware flowsti2019.03-rc4ti2019.03-rc3ti2019.03-rc2ti2019.03
Ethernet firmware acts as server for providing networking functionality
to other clients. It allocates few flows from its pool for the client
and then retuns the same to the client.
Client does not own the resource it is borrowing from server and
currently SYSFW lacks any APIs to allow shared ownership of this
resource dyanmically.
In absence of such an API, mark the ethernet firmware flows are HOST_ALL
so that clients can call FLOW_CONFIG with the borrowed flow.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
-rw-r--r-- | soc/j721e/evm/rm-cfg.c | 9 | ||||
-rw-r--r-- | soc/j721e/evm/sysfw_img_cfg.h | 2 |
2 files changed, 2 insertions, 9 deletions
diff --git a/soc/j721e/evm/rm-cfg.c b/soc/j721e/evm/rm-cfg.c index d7bca667f..d91dfe987 100644 --- a/soc/j721e/evm/rm-cfg.c +++ b/soc/j721e/evm/rm-cfg.c | |||
@@ -959,7 +959,7 @@ const struct boardcfg_rm_local j721e_boardcfg_rm_data = { | |||
959 | .num_resource = 64, | 959 | .num_resource = 64, |
960 | .type = RESASG_UTYPE (J721E_DEV_NAVSS0_UDMAP_0, | 960 | .type = RESASG_UTYPE (J721E_DEV_NAVSS0_UDMAP_0, |
961 | RESASG_SUBTYPE_UDMAP_RX_FLOW_COMMON), | 961 | RESASG_SUBTYPE_UDMAP_RX_FLOW_COMMON), |
962 | .host_id = HOST_ID_MAIN_0_R5_0, | 962 | .host_id = HOST_ID_ALL, |
963 | }, | 963 | }, |
964 | { | 964 | { |
965 | .start_resource = 236, | 965 | .start_resource = 236, |
@@ -968,13 +968,6 @@ const struct boardcfg_rm_local j721e_boardcfg_rm_data = { | |||
968 | RESASG_SUBTYPE_UDMAP_RX_FLOW_COMMON), | 968 | RESASG_SUBTYPE_UDMAP_RX_FLOW_COMMON), |
969 | .host_id = HOST_ID_MAIN_0_R5_2, | 969 | .host_id = HOST_ID_MAIN_0_R5_2, |
970 | }, | 970 | }, |
971 | { | ||
972 | .start_resource = 244, | ||
973 | .num_resource = 56, | ||
974 | .type = RESASG_UTYPE (J721E_DEV_NAVSS0_UDMAP_0, | ||
975 | RESASG_SUBTYPE_UDMAP_RX_FLOW_COMMON), | ||
976 | .host_id = HOST_ID_ALL, | ||
977 | }, | ||
978 | 971 | ||
979 | /* Main Nav Free Ring */ | 972 | /* Main Nav Free Ring */ |
980 | { | 973 | { |
diff --git a/soc/j721e/evm/sysfw_img_cfg.h b/soc/j721e/evm/sysfw_img_cfg.h index f23ac95cd..5a626875a 100644 --- a/soc/j721e/evm/sysfw_img_cfg.h +++ b/soc/j721e/evm/sysfw_img_cfg.h | |||
@@ -35,6 +35,6 @@ | |||
35 | #ifndef SYSFW_IMG_CFG_H | 35 | #ifndef SYSFW_IMG_CFG_H |
36 | #define SYSFW_IMG_CFG_H | 36 | #define SYSFW_IMG_CFG_H |
37 | 37 | ||
38 | #define BOARDCFG_RM_RESASG_ENTRIES 259 | 38 | #define BOARDCFG_RM_RESASG_ENTRIES 258 |
39 | 39 | ||
40 | #endif /* SYSFW_IMG_CFG_H */ | 40 | #endif /* SYSFW_IMG_CFG_H */ |