smcinvoke: Flush cache contents before invalidating
during smcinvoke callback response handling. Add Cache flush before invalidating out_buf during cb response handling in smcinvoke driver. Change-Id: I68b70c078675f1841690c93048cbba3589a388f3
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
d5c0b30e00
commit
6d3f76fb88
@@ -1381,7 +1381,7 @@ static int invoke_cmd_handler(int cmd, phys_addr_t in_paddr, size_t in_buf_len,
|
|||||||
|
|
||||||
case SMCINVOKE_CB_RSP_CMD:
|
case SMCINVOKE_CB_RSP_CMD:
|
||||||
if (legacy_smc_call)
|
if (legacy_smc_call)
|
||||||
qtee_shmbridge_inv_shm_buf(out_shm);
|
qtee_shmbridge_flush_shm_buf(out_shm);
|
||||||
ret = qcom_scm_invoke_callback_response(virt_to_phys(out_buf), out_buf_len,
|
ret = qcom_scm_invoke_callback_response(virt_to_phys(out_buf), out_buf_len,
|
||||||
result, response_type, data);
|
result, response_type, data);
|
||||||
if (legacy_smc_call) {
|
if (legacy_smc_call) {
|
||||||
|
Reference in New Issue
Block a user