security: tlk_driver: Allow affinity changing
Currently the driver assumes that smc requests come from a thread
that already has possibility to set cpu affinity, however, kernel
threads by default do not have this possibility.
Turning on devices is sometimes done in kernel threads and in GPU
case we may need to change i.e. the VPR parameters. Therefore,
ensure that the thread can change affinity.
Bug
1506585
Change-Id: Ie879f6b2f7d8cb3bc324b5d7a391dd6e8cf9b3cf
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/405915
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>