Re: [PATCH] svm/avic: iommu/amd: Flush IOMMU IRT after update all entries

2020-01-22 Thread Paolo Bonzini
On 20/03/19 09:14, Suthikulpanit, Suravee wrote: > When AVIC is enabled and the VM has discrete device assignment, > the interrupt remapping table (IRT) is used to keep track of which > destination APIC ID the IOMMU will inject the device interrput to. > > This means every time a vcpu is blocked

Re: [PATCH] svm/avic: iommu/amd: Flush IOMMU IRT after update all entries

2019-03-25 Thread j...@8bytes.org
On Wed, Mar 20, 2019 at 08:14:56AM +, Suthikulpanit, Suravee wrote: > When AVIC is enabled and the VM has discrete device assignment, > the interrupt remapping table (IRT) is used to keep track of which > destination APIC ID the IOMMU will inject the device interrput to. > > This means every

[PATCH] svm/avic: iommu/amd: Flush IOMMU IRT after update all entries

2019-03-20 Thread Suthikulpanit, Suravee
When AVIC is enabled and the VM has discrete device assignment, the interrupt remapping table (IRT) is used to keep track of which destination APIC ID the IOMMU will inject the device interrput to. This means every time a vcpu is blocked or context-switched (i.e. vcpu_blocking/unblocking() and