]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
arm64: Execute DSB during thread switching for TLB/cache maintenance
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Apr 2013 13:47:02 +0000 (14:47 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 25 Apr 2013 16:45:48 +0000 (17:45 +0100)
commit5108c67c376b3ee59cc7fbe46eaba481eb3419aa
tree0f2515769d1ceecc8f55380aff228c54929275e1
parent4b3ea2e04d2b8b37c5bc472f710d706b42e4fa06
arm64: Execute DSB during thread switching for TLB/cache maintenance

The DSB following TLB or cache maintenance ops must be run on the same
CPU. With kernel preemption enabled or for user-space cache maintenance
this may not be the case. This patch adds an explicit DSB in the
__switch_to() function.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/process.c