1
0
Fork 0
Commit Graph

5 Commits (5691e22711a4ee70f473e909d7aae76a966d819d)

Author SHA1 Message Date
Franck LENORMAND 9a91e2843e MLK-23421: arm64: dts: Use fast IPC for seco mu
This patch enables all the MU in the security subsystem
and configure them to use FAST IPC.

Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
2020-03-12 09:29:51 +01:00
Silvano di Ninno 534d8537d4 MLK-23561 arm64: dts: imx8-ss-security: fix Secure Memory mapping
Ranges for the security subsystem node is too small and does not include
the caam_sm range.

Fixes: e08b2903ae ("LF-824:  arm64: dts: Add seco mu nodes")
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Tested-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
2020-03-10 18:40:44 +01:00
Silvano di Ninno e7534bb984 arm64: dts: imx8qm:imx8qxp align CAAM Job ring node naming
Align i.MX 8QXP/QM Job ring node naming
with the rest of the i.MX 8 platforms.

Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
2020-03-05 16:45:26 +01:00
Franck LENORMAND e08b2903ae LF-824: arm64: dts: Add seco mu nodes
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
2020-02-21 14:46:00 +01:00
Horia Geantă 33738b5dcd MLKU-62-1 arm64: dts: imx8qm/imx8qxp: add security subsystem
Security subsystem includes:
-caam crypto engine
-secure memory

Notes:

1. caam has 4 job rings, however only last 2 rings are accessible
from the kernel.

2. Controller DT node is added in the same power domain as the JR2
(1st jr showing in DT).
This is needed since controller driver (ctrl.c) needs first jr
(JR2 in this case) "powered", so it can access its register page
(which has some aliases for registers located in controller page,
page that is not accesible from the kernel).

Adding controller DT node to the power domain leads to SCU f/w
being instructed to "power up" JR2.
What actually happens is that:
-XRDC2 is programmed to provide access to JR2 register page
-SECO f/w is instructed to update JR2DID_LS and possibly
JR2DID_MS[USE_OUT].

USE_OUT details from Security RM:

"JRaDID_MS contains a USE_OUT field that enables a second set of ICID
and DID values.

When USE_OUT=1, this Job Ring's *data* write transactions will assert
TrustZone Non-SecureWorld, along with the OUT_DID and OUT_ICID values
from JRSDID_LS.
All other bus transactions, including all reads, descriptor write-backs
and job completion status writes will assert the PRIM_ICID, PRIM_ICID and
not PRIM_TZ values from JRaDID_MS.

When USE_OUT=0, all bus transactions performed on behalf of this Job Ring
will use the PRIM_ICID, PRIM_ICID and not PRIM_TZ values from JRSDID_MS."

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
2019-11-25 16:08:15 +08:00