Searched hist:"4 e4a8c585d880a11e66ad551da3d5203fff327d7" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/lib/debugfs/ |
| H A D | debugfs_smc.c | 4e4a8c585d880a11e66ad551da3d5203fff327d7 Mon Aug 25 20:49:14 UTC 2025 Arvind Ram Prakash <arvind.ramprakash@arm.com> fix(smccc): resolve caller world confusion
TF-A checks the SMC caller world using is_caller_secure, is_caller_non_secure and is_caller_realm macros. Until realm world was introduced it was fine to use a pattern like
if (is_caller_non_secure(flags)) return DENY;
// Handle secure call secure_operation();
is_caller_non_secure would be false for a realm caller, so this pattern treats this like a secure world caller. This patch fixes improper use of is_caller_non_secure and is_caller_secure to handle realm world caller properly.
Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com> Change-Id: I60b125853183ac2ac15277f06d2efb7f3a9d3977
|
| /rk3399_ARM-atf/lib/psci/ |
| H A D | psci_main.c | 4e4a8c585d880a11e66ad551da3d5203fff327d7 Mon Aug 25 20:49:14 UTC 2025 Arvind Ram Prakash <arvind.ramprakash@arm.com> fix(smccc): resolve caller world confusion
TF-A checks the SMC caller world using is_caller_secure, is_caller_non_secure and is_caller_realm macros. Until realm world was introduced it was fine to use a pattern like
if (is_caller_non_secure(flags)) return DENY;
// Handle secure call secure_operation();
is_caller_non_secure would be false for a realm caller, so this pattern treats this like a secure world caller. This patch fixes improper use of is_caller_non_secure and is_caller_secure to handle realm world caller properly.
Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com> Change-Id: I60b125853183ac2ac15277f06d2efb7f3a9d3977
|