[PATCH RFC 2/2] ARM: nommu: remap exception base address to RAM

From
Afzal Mohammed <hidden>
Date
2016-12-13 18:44:32
Also in
lkml
Reply to
Vladimir Murzin, 2016-12-13
Hi,

On Tue, Dec 13, 2016 at 09:38:21AM +0000, Vladimir Murzin wrote:
On 11/12/16 13:12, Afzal Mohammed wrote:
quoted
this probably would have to be made robust so as to not cause issue on
other v7-A's upon trying to do !MMU (this won't affect normal MMU boot),
or specifically where security extensions are not enabled. Also effect
of hypervisor extension also need to be considered. Please let know if
any better ways to handle this.
You might need to check ID_PFR1 for that.
Had been searching ARM ARM for this kind of a thing, thanks.
quoted
+#ifdef CONFIG_REMAP_VECTORS_TO_RAM
+	mov	r3, #CONFIG_VECTORS_BASE	@ read VECTORS_BASE
ldr r3,=CONFIG_VECTORS_BASE

would be more robust. I hit this in [1]

[1] https://www.spinics.net/lists/arm-kernel/msg546825.html
Russell suggested doing it in paging_init(), then probably assembly
circus can be avoided.

Regards
afzal
Thread (23 messages) 23 messages, 3 authors, 2017-01-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help