[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Routing physical interrupts to EL1
Sorry for the late reply.
On Sat, Jul 7, 2018 at 2:25 PM, Julien Grall <julien.grall@xxxxxxx> wrote: Hello, Yes, I only have the Dom0 domain and no DomU. My end goal is to make Xen transparent to the interrupts but have control over the memory management and be able to create another domain (like a driver domain) on-demand whenever I need it. But I still need Xen for my own hypercalls. I don't need the timer cause I pinned and don't need any vcpu scheduler. My end goal is that all the IPIs are handled in the guest like when it is on baremetal.
How can make it available to the guest and not trap in Xen? Is it doable? However, SGIs are not the only interrupt generated by the hypervisor directly. There are also the event channel (a PPI) or any device emulated by the hypervisor (e.g PL011).I changed the value of the HCR_EL2 register after doing a hypercall in "leave_hypervisor_tail" and now debugging. I realize that "guest_sync" in entry.S doesn't return back to the guest (I put a print after my hypercall in the guest and doesn't show up). I see that "return_from_trap" gets called. I suppose that eret should take me back to the hvc call I made in the guest. I checked the value of the LR register (link register that store the return address) in "return_from_trap" and there is no change. Do you know why changing the value of the HCR_EL2 register should affect returning back to the guest? Also, without changing the register value I get back to the guest from Xen normally. Cheers, Saeed Mirzamohammadi PhD Student Department of Computer Science University of California, Irvine Irvine, CA 92617 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |