arm64: guarantee correct tlb flushes with preeption on
authorRich Wiley <rwiley@nvidia.com>
Wed, 2 Jul 2014 21:40:09 +0000 (14:40 -0700)
committerEmad Mir <emir@nvidia.com>
Wed, 9 Jul 2014 01:59:01 +0000 (18:59 -0700)
commit51275ae1682fb1bc5e5930a4c4b5abfc82ae7afd
treeab30a63242b8d50d6737728edd0a9190176b7b1b
parentf6340227e5abf042c8ff85119affc1ac1773eccb
arm64: guarantee correct tlb flushes with preeption on

We need to guarantee that our thread hasn't switched
cores between being asked to flush the local core's
tlb and having actually performed the task. If it
has, we need to perform a global tlbi.

Change-Id: I4b1bc5fbe53a7d35a2442753d8fe3f0ae86415ac
Signed-off-by: Rich Wiley <rwiley@nvidia.com>
Reviewed-on: http://git-master/r/433805
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peng Du <pdu@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
arch/arm64/include/asm/tlbflush.h