[PATCH 1/3] ARM v7: fix mmu-off operation

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Fri May 17 05:22:20 EDT 2013


Sascha Hauer <s.hauer at pengutronix.de> writes:

>> So you can drop this stack push by using r12 instead of r10. That's fine
>> I think, but should be a patch of its own. Can you resend this as two
>> patches?
>
> Oh, I just saw you can't since then r12 would be corrupted when
> v7_mmu_cache_flush is called from v7_mmu_cache_off.
>
> Applied this one to master and the rest to -next with a small
> modification.

ok; I was about to split patches by renaming 'r10' to 'r12' in the first
step (which will work afais because r12 will be pushed on stack on top
of v7_mmu_cache_flush()) but was interrupted by other work.


Enrico



More information about the barebox mailing list