RE: [PATCH v2 14/15] KVM: arm64: implement MSI injection in ITS emulation

2015-08-02 Thread Pavel Fedin
Hi! > When I reworked our code to only use a flag and not a separate routing > type I ended up with the flag only guarding assignments, which wouldn't > hurt if done unconditionally (since they are all u32's). So the whole > usage of the flag is somewhat in jeopardy now. > Either the eventual MSI

Re: [PATCH v2 7/7] KVM: arm: implement kvm_set_msi by gsi direct mapping

2015-08-02 Thread Andre Przywara
On 31/07/15 13:59, Eric Auger wrote: > Hi Andre, > On 07/11/2015 01:17 AM, Andre Przywara wrote: >> On 09/07/15 09:22, Eric Auger wrote: >>> If the ITS modality is not available, let's simply support MSI >>> injection by transforming the MSI.data into an SPI ID. >>> >>> This becomes possible to use

Re: [PATCH v2 14/15] KVM: arm64: implement MSI injection in ITS emulation

2015-08-02 Thread Andre Przywara
On 31/07/15 14:22, Eric Auger wrote: Salut Eric, > On 07/10/2015 04:21 PM, Andre Przywara wrote: >> When userland wants to inject a MSI into the guest, we have to use >> our data structures to find the LPI number and the VCPU to receive >> the interrupt. >> Use the wrapper functions to iterate th