security: tlk_driver: Use CPU0 for smc calls
authorJames Zhao <jamesz@nvidia.com>
Tue, 20 Aug 2013 01:41:47 +0000 (18:41 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:44:12 +0000 (13:44 -0700)
commitbaf520acde48d5b0987716908872135f67c31bd6
treee2c6ce418742df9eda145041e10e9b59f4a0fbc3
parent84db025b3ed9152f9640e9e6a5d9fe8841081eec
security: tlk_driver: Use CPU0 for smc calls

- All smc calls need to be done through CPU0.
- Add the sched_setaffinity logic to tlk_generic_smc(), will solve
  the occasional prefetch abort.
- Also adding sched_setaffinity logic to tlk_extended_smc().

bug 1322280

Change-Id: I67716bec49aec1f1c9a2e33ec3de90aec2048870
Signed-off-by: James Zhao <jamesz@nvidia.com>
Signed-off-by: Aaron Gamble <jgamble@nvidia.com>
Reviewed-on: http://git-master/r/264177
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chris Johnson <cwj@nvidia.com>
Tested-by: Chris Johnson <cwj@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
security/tlk_driver/ote_comms.c