public inbox for kvmarm@lists.cs.columbia.edu
 help / color / mirror / Atom feed
* How to trap a real interrupt to EL2 ?
@ 2017-07-03 21:56 Raz
  2017-07-04  1:25 ` Jintack Lim
  2017-07-04 11:12 ` Christoffer Dall
  0 siblings, 2 replies; 5+ messages in thread
From: Raz @ 2017-07-03 21:56 UTC (permalink / raw)
  To: kvmarm


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

Hey

I am trying to trap any real IRQ  into EL2.
I created a thin hypervisor with mmu enabled and set hcr_el2 as follows:
hcr_el2= HCR_IMO  | HCR_VM | HCR_RW.


Now it seems that once I set hcr_el2 to the above value and then exit from
EL2 I immediately jump back to EL2.

Any idea why ?

[-- Attachment #1.2: Type: text/html, Size: 397 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] 5+ messages in thread

end of thread, other threads:[~2017-07-05  6:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-03 21:56 How to trap a real interrupt to EL2 ? Raz
2017-07-04  1:25 ` Jintack Lim
2017-07-04 11:12 ` Christoffer Dall
2017-07-04 19:32   ` Raz
2017-07-05  6:23     ` Christoffer Dall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox