]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
security: tlk_driver: Allow affinity changing
authorArto Merilainen <amerilainen@nvidia.com>
Tue, 6 May 2014 16:58:05 +0000 (19:58 +0300)
committerMandar Padmawar <mpadmawar@nvidia.com>
Mon, 12 May 2014 07:09:15 +0000 (00:09 -0700)
commitef4897aa84954facdcf60a5344ff4bf16c2ba71d
tree6ba409f2b1448df14e4e8323702968d146b38597
parent61934c65cea4d118570c740cb7a839287795b491
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>
security/tlk_driver/ote_comms.c