[PATCH v5 02/19] ARM: LPAE: add ISBs around MMU enabling code
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon May 9 06:32:42 EDT 2011
On Mon, May 09, 2011 at 11:22:19AM +0100, Catalin Marinas wrote:
> Alternatively an exception return would do as well (like movs pc, lr)
> but I think we still add some code for setting up the SPSR.
That gives us a way out of both of these without introducing any CPU
specific code. We can setup the SPSR before this block of code, and
call it with two movs pc, reg instructions which will provide the
necessary synchronization.
That sounds to me like an all-round better solution here.
More information about the linux-arm-kernel
mailing list