Commit 05b6edfe authored by Dan Handley's avatar Dan Handley
Browse files

Merge pull request #110 from soby-mathew:sm/support_normal_irq_in_tsp-v4 into for-v0.4

parents 22e002da 10b65ecf
......@@ -533,6 +533,7 @@ uint64_t tspd_smc_handler(uint32_t smc_fid,
*/
cm_el1_sysregs_context_restore(SECURE);
cm_set_next_eret_context(SECURE);
SMC_RET0(&tsp_ctx->cpu_ctx);
/*
* This is a request from the secure payload for more arguments
......@@ -544,10 +545,6 @@ uint64_t tspd_smc_handler(uint32_t smc_fid,
if (ns)
SMC_RET1(handle, SMC_UNK);
/* Get a reference to the non-secure context */
ns_cpu_context = cm_get_context(mpidr, NON_SECURE);
assert(ns_cpu_context);
get_tsp_args(tsp_ctx, x1, x2);
SMC_RET2(handle, x1, x2);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment