All of lore.kernel.org
 help / color / mirror / Atom feed
* Booting a kernel to EL1 in Armv8.1
@ 2017-01-24 21:50 Raz
  2017-01-25  8:22 ` Christoffer Dall
  0 siblings, 1 reply; 3+ messages in thread
From: Raz @ 2017-01-24 21:50 UTC (permalink / raw)
  To: kvmarm


[-- Attachment #1.1: Type: text/plain, Size: 472 bytes --]

Hello

I am trying to boot EL1 kernel in a platform based on Armv8.1.
I am using fvp as a hardware.
What I am trying to achieve is to execute some kernel code in
EL2 exception level..

The current VHE patch is booting the kernel into EL2. So I took an older
kernel
and I tried to set  TTBR1_EL2 to access kernel memory as if it is TTBR1_EL1
.

It is theoretically possible ?
Setting TTBR1_EL2 to TTBR1_EL1
and enabling mmu  thtough sctlr_el2 does not work.

thank you
Raz

[-- Attachment #1.2: Type: text/html, Size: 674 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-14 22:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 21:50 Booting a kernel to EL1 in Armv8.1 Raz
2017-01-25  8:22 ` Christoffer Dall
2017-02-14 22:08   ` Raz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.