Some questions about Interrupt and event channel about Xen on ARM.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi
I'm studying about Xen 4.4.0 and Xen 4.5.0 on ARM
I have some questions about Interrupt and event channel on ARM.
1.In Xen 4.4.X and Xen 4.5.0 (GIC v2), all pirq(physical irq) are go to pcpu0 (physical cpu). After pirq, Xen run in pcpu0 only inject virq(virtual irq) to vcpu0 of Dom0.I think injection of virtual irq to proper vcpu carry out interrupt load balancing and reducing interrupt latency.Why dose Xen only route virtual to vcpu0 of Dom0? For only simple??
2.Xen 4.5.0 support GiC v3. I saw code about GICv3 in Xen 4.5.0.
it seems that GICv3 add some virq interrupt routing interface such as 'GICD_IROUTER_SPI_MODE_ANY'
and support irq migration. But i know that 'GICv3 Architecture Specification' release specification in later this year.How can Xen 4.5.0 Developers get GICv3 Information and where can i get GICv3 Information??
3.
In Xen 4.4.0, Xen occur 'GIC_SGI_EVENT_CHECK' sgi interrupt to check event channel. After GIC_SGI_EVENT_CHECK sgi, 'leave_hypervisor_tail' function is executed on return path. leave_hypervisor_tail function inject virq of event channel.
But In Xen 4.5.0, After GIC_SGI_EVENT_CHECK sgi, leave_hypervisor_tail dosen't inject virq of event channel.
and There is no virq injection of event channel on return path.
So I think, to send GIC_SGI_EVENT_CHECK sgi is meaning less in Xen 4.5.0.
Right?? Am i wrong?
Thanks
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Hi
I'm studying about Xen 4.4.0 and Xen 4.5.0 on ARM
I have some questions about Interrupt and event channel on ARM.
1.In Xen 4.4.X and Xen 4.5.0 (GIC v2), all pirq(physical irq) are go to pcpu0 (physical cpu). After pirq, Xen run in pcpu0 only inject virq(virtual irq) to vcpu0 of Dom0.I think injection of virtual irq to proper vcpu carry out interrupt load balancing and reducing interrupt latency.Why dose Xen only route virtual to vcpu0 of Dom0? For only simple??
2.Xen 4.5.0 support GiC v3. I saw code about GICv3 in Xen 4.5.0.
it seems that GICv3 add some virq interrupt routing interface such as 'GICD_IROUTER_SPI_MODE_ANY'
and support irq migration. But i know that 'GICv3 Architecture Specification' release specification in later this year.How can Xen 4.5.0 Developers get GICv3 Information and where can i get GICv3 Information??
3.
In Xen 4.4.0, Xen occur 'GIC_SGI_EVENT_CHECK' sgi interrupt to check event channel. After GIC_SGI_EVENT_CHECK sgi, 'leave_hypervisor_tail' function is executed on return path. leave_hypervisor_tail function inject virq of event channel.
But In Xen 4.5.0, After GIC_SGI_EVENT_CHECK sgi, leave_hypervisor_tail dosen't inject virq of event channel.
and There is no virq injection of event channel on return path.
So I think, to send GIC_SGI_EVENT_CHECK sgi is meaning less in Xen 4.5.0.
Right?? Am i wrong?
Thanks
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 8 lines
Quoted 8 lines
From: [email protected] [mailto:[email protected]] On Behalf Of ???
Sent: Tuesday, January 27, 2015 3:16 PM
To: [email protected]
Subject: [Xen-devel] Some questions about Interrupt and event channel about Xen on ARM.Hi
I'm studying about Xen 4.4.0 and Xen 4.5.0 on ARM
Quoted 6 lines
Quoted 6 lines
I have some questions about Interrupt and event channel on ARM.
1.
In Xen 4.4.X and Xen 4.5.0 (GIC v2), all pirq(physical irq) are go to pcpu0 (physical cpu). After pirq, Xen run in pcpu0 only inject virq(virtual irq) to vcpu0 of Dom0. I think injection of virtual irq to proper vcpu carry out interrupt load balancing and reducing interrupt latency.
Why dose Xen only route virtual to vcpu0 of Dom0? For only simple??
I am not sure whether all pirqs will go to pcpu0 only or not, could you tell me how do you get this conclusion?
About injecting virq to Dom0 after receiving pirq, I have learned some code on x86 platform, where all "virq" is injected into Dom0 through event channel. However, the destination vcpu can be set through corresponding smp-affinity in Dom0, which will call rebind_irq_to_cpu (drivers/xen/events/events_base.c) and finally through a EVTCHNOP_bind_vcpu hypercall to Hypervisor. So I think the virq can also inject to other vcpus in Dom0. P.S. the kernel of Dom0 I mentioned above is 3.17.4. Hope this is helpful for you.
Quoted 17 lines
Quoted 17 lines
2.
Xen 4.5.0 support GiC v3. I saw code about GICv3 in Xen 4.5.0.
it seems that GICv3 add some virq interrupt routing interface such as 'GICD_IROUTER_SPI_MODE_ANY' and support irq migration. But i know that 'GICv3 Architecture Specification' release specification in later this year. How can Xen 4.5.0 Developers get GICv3 Information and where can i get GICv3 Information??3.
In Xen 4.4.0, Xen occur 'GIC_SGI_EVENT_CHECK' sgi interrupt to check event channel. AfterGIC_SGI_EVENT_CHECKsgi, 'leave_hypervisor_tail' function is executed on return path.leave_hypervisor_tailfunction inject virq of event channel.
But In Xen 4.5.0, AfterGIC_SGI_EVENT_CHECKsgi,leave_hypervisor_taildosen't inject virq of event channel.
and There is no virq injection of event channel on return path.
So I think, to sendGIC_SGI_EVENT_CHECKsgi is meaning less in Xen 4.5.0.Right?? Am i wrong?
Thanks
Quoted 9 lines · 신정섭
Hi
I'm studying about Xen 4.4.0 and Xen 4.5.0 on ARM
I have some questions about Interrupt and event channel on ARM.
Quoted 7 lines
1.
In Xen 4.4.X and Xen 4.5.0 (GIC v2), all pirq(physical irq) are go to pcpu0 (physical cpu). After pirq, Xen run in pcpu0 only inject virq(virtual irq) to vcpu0 of Dom0.
I think injection of virtual irq to proper vcpu carry out interrupt load balancing and reducing interrupt latency. Why dose Xen only route virtual to vcpu0 of Dom0? For only simple??
Actually Xen 4.5 is capable of routing irqs to any phsical and virtual cpus.
Quoted 7 lines
2.
Xen 4.5.0 support GiC v3. I saw code about GICv3 in Xen 4.5.0.it seems that GICv3 add some virq interrupt routing interface such as '
GICD_IROUTER_SPI_MODE_ANY'and support irq migration. But i know that 'GICv3 Architecture Specification' release specification in later this year. How can Xen 4.5.0 Developers get GICv3 Information and where can i get GICv3 Information??
The specification is already available to partners.
Quoted 5 lines
3.
In Xen 4.4.0, Xen occur '
GIC_SGI_EVENT_CHECK' sgi interrupt to check event channel. After GIC_SGI_EVENT_CHECK sgi, 'leave_hypervisor_tail' function is executed on return path.
Quoted 7 lines
leave_hypervisor_tailfunction inject virq of event channel.But In Xen 4.5.0, After GIC_SGI_EVENT_CHECK sgi,
leave_hypervisor_taildosen't inject virq of event channel.and There is no virq injection of event channel on return path.
So I think, to send GIC_SGI_EVENT_CHECK sgi is meaning less in Xen 4.5.0.
It interrups the execution of another vcpu and makes sure that the Xen entry code is executed, including enter_hypervisor_head that calls gic_clear_lrs.
Quoted 11 lines
Right?? Am i wrong?
Thanks
[?img=m%2FRm%2BBFm%2BBFShAnZFAM9M6MlK4tZM6EZaxvqMoKdaxF4aAiSpAC0FzUZF4KdMvIo%2BrkSKAb5W4d5W4C5bX0q%2BzkR74FTWx%2FsDzk57630%2B4knt zwGbX3q7NC0WSlTb4b%3D.gif]
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel