ARM: proc-v7: sanitise and document registers around errata
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 4 Apr 2015 20:46:35 +0000 (21:46 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 1 Jun 2015 22:48:42 +0000 (23:48 +0100)
commitc76f238e261b8d088f086c2e8551fa8402d86f42
tree116446fc98afa49e350b44685c30219f301b28d4
parent4419496884ed16fdeb122782d41f5ad38f8923cc
ARM: proc-v7: sanitise and document registers around errata

Document that r13 is not a stack in the initialisation function, in
case anyone gets other ideas.

Document the registers available for the errata workarounds, and
specifically which registers contain parts of the MIDR register, as
well as which registers must be preserved.

Lastly, use the lowest numbered available register (r0) rather than
r10 for temporary storage.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7.S