]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
arm64: write to daifclr instead of daif on irq restore
authorRich Wiley <rwiley@nvidia.com>
Tue, 3 May 2016 21:05:46 +0000 (14:05 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 21 Dec 2016 23:22:16 +0000 (15:22 -0800)
commit432da04c2451daa4fe2af250dda5db29fa20a99f
tree9cf9d285789f36d981335884f168d9e3302d9bb7
parentf6c6e0a2b151c62e214aa6bdac233c90d22dad6c
arm64: write to daifclr instead of daif on irq restore

On Denver cores, 'msr daif' falls back to a longflow. If we know
we're only changing the status of the 'i' bit (as we do with
'msr daifclr #2'), we can inline a simpler longflow.

Change-Id: Ief0768c55ad8612ed299765a81272436d780b5db
Signed-off-by: Rich Wiley <rwiley@nvidia.com>
Reviewed-on: http://git-master/r/1140649
(cherry picked from commit c762b187e24953ffec264cffc82c31e3cd0e333e)
Reviewed-on: http://git-master/r/1253016
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rohit Khanna <rokhanna@nvidia.com>
arch/arm64/include/asm/irqflags.h