Documentation/virtcca/virtcca.txt
0 → 100644
+67
−0
+157
−81
+20
−0
Loading
Merge Pull Request from: @bob_1211 VirtCCA Feature : when the secure component, TMM (Trusted Management Monitor), is loaded, the SMMU driver will initialize the secure SMMU. Every SMMU register setting will be forwarded to the secure world for the corresponding security register settings。 Secure SMMU Init Process: 1、In the arm_smmu_device_probe function, it checks whether TMM is loaded. If it is loaded, it will allocate an ID for the SMMU that needs secure initialization. Otherwise, it will not allocate an ID, and subsequent secure SMMU operations will not be performed; 2、If TMM loaded, the ecmdq feature will not enable; 3、When initializing the queues in ARM SMMU, if the SMMU ID is valid (TMM has been loaded), it will initialize the secure memory corresponding to the queue in the secure world and set the corresponding secure registers; 4、Finally, if the SMMU ID is valid,complete the enable operation of the secure SMMU CR0 register. Link:https://gitee.com/openeuler/kernel/pulls/11063 Reviewed-by:Zucheng Zheng <zhengzucheng@huawei.com> Reviewed-by:
Zhang Jianhua <chris.zjh@huawei.com> Reviewed-by:
Kevin Zhu <zhukeqian1@huawei.com> Reviewed-by:
Weilong Chen <chenweilong@huawei.com> Signed-off-by:
Zhang Peng <zhangpeng362@huawei.com>