Re: [RFC] Question about enable doorbell irq and halt_poll process

2019-05-14 Thread Tangnianyao (ICT)
On 2019/4/29 10:29, Tangnianyao (ICT) wrote: Hi, Marc > On 2019/4/23 18:00, Marc Zyngier wrote: > > Hi, Marc > >> On Tue, 23 Apr 2019 08:44:17 +0100, >> "Tangnianyao (ICT)" wrote: >>> >>> Hi, Marc >> >> [...] >> >>> I've learned that there's some implementation problem for the PCIe >>> cont

Re: [RFC] Question about enable doorbell irq and halt_poll process

2019-04-28 Thread Tangnianyao (ICT)
On 2019/4/23 18:00, Marc Zyngier wrote: Hi, Marc > On Tue, 23 Apr 2019 08:44:17 +0100, > "Tangnianyao (ICT)" wrote: >> >> Hi, Marc > > [...] > >> I've learned that there's some implementation problem for the PCIe >> controller of Hi1616, the processor of D05. The PCIe ACS was not >> impleme

Re: [RFC] Question about enable doorbell irq and halt_poll process

2019-04-23 Thread Marc Zyngier
On Tue, 23 Apr 2019 08:44:17 +0100, "Tangnianyao (ICT)" wrote: > > Hi, Marc [...] > I've learned that there's some implementation problem for the PCIe > controller of Hi1616, the processor of D05. The PCIe ACS was not > implemented properly and D05 doesn't support VM using pcie vf. My D05 comp

Re: [RFC] Question about enable doorbell irq and halt_poll process

2019-04-23 Thread Tangnianyao (ICT)
Hi, Marc On 2019/4/4 18:59, Marc Zyngier wrote: > On Thu, 04 Apr 2019 11:07:59 +0100, > "Tangnianyao (ICT)" wrote: >> >> >> >> On 2019/3/30 17:43, Marc Zyngier wrote: >> >> Hi, Marc >> >>> On Sat, 30 Mar 2019 08:42:58 +, >>> "Tangnianyao (ICT)" wrote: Hi, Marc On 2019/3/2

Re: [RFC] Question about enable doorbell irq and halt_poll process

2019-04-04 Thread Marc Zyngier
On Thu, 04 Apr 2019 11:07:59 +0100, "Tangnianyao (ICT)" wrote: > > > > On 2019/3/30 17:43, Marc Zyngier wrote: > > Hi, Marc > > > On Sat, 30 Mar 2019 08:42:58 +, > > "Tangnianyao (ICT)" wrote: > >> > >> Hi, Marc > >> > >> On 2019/3/21 1:02, Marc Zyngier Wrote: > >>> On Tue, 19 Mar 2019 2

Re: [RFC] Question about enable doorbell irq and halt_poll process

2019-04-04 Thread Tangnianyao (ICT)
On 2019/3/30 17:43, Marc Zyngier wrote: Hi, Marc > On Sat, 30 Mar 2019 08:42:58 +, > "Tangnianyao (ICT)" wrote: >> >> Hi, Marc >> >> On 2019/3/21 1:02, Marc Zyngier Wrote: >>> On Tue, 19 Mar 2019 21:25:47 +0800 >>> "Tangnianyao (ICT)" wrote: >>> Hi, all Using gicv4, when g

Re: [RFC] Question about enable doorbell irq and halt_poll process

2019-03-20 Thread Marc Zyngier
On Tue, 19 Mar 2019 21:25:47 +0800 "Tangnianyao (ICT)" wrote: > Hi, all > > Using gicv4, when guest is waiting for irq, it sends wfi and traps to kvm. > When vlpi is forwarded to PE after its_vpe_deschedule, before halt_poll in > kvm_vcpu_block, halt_poll may increase latency for this vlpi getti

Re: [RFC] Question about enable doorbell irq and halt_poll process

2019-03-20 Thread Heyi Guo
+cc Marc and Christoffer... On 2019/3/19 21:25, Tangnianyao (ICT) wrote: Hi, all Using gicv4, when guest is waiting for irq, it sends wfi and traps to kvm. When vlpi is forwarded to PE after its_vpe_deschedule, before halt_poll in kvm_vcpu_block, halt_poll may increase latency for this vlpi ge

[RFC] Question about enable doorbell irq and halt_poll process

2019-03-19 Thread Tangnianyao (ICT)
Hi, all Using gicv4, when guest is waiting for irq, it sends wfi and traps to kvm. When vlpi is forwarded to PE after its_vpe_deschedule, before halt_poll in kvm_vcpu_block, halt_poll may increase latency for this vlpi getting to guest. In halt_poll process, it checks if there's pending irq for vc