Skip to content
Commit 5108c67c authored by Catalin Marinas's avatar Catalin Marinas
Browse files

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: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 4b3ea2e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment