Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

2017-06-28 Thread Suravee Suthikulpanit
On 6/28/17 19:44, Joerg Roedel wrote: On Mon, Jun 26, 2017 at 04:28:04AM -0500, Suravee Suthikulpanit wrote: Pass-through devices to VM guest can get updated IRQ affinity information via irq_set_affinity() when not running in guest mode. Currently, AMD IOMMU driver in GA mode ignores the

Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

2017-06-28 Thread Suravee Suthikulpanit
On 6/28/17 19:44, Joerg Roedel wrote: On Mon, Jun 26, 2017 at 04:28:04AM -0500, Suravee Suthikulpanit wrote: Pass-through devices to VM guest can get updated IRQ affinity information via irq_set_affinity() when not running in guest mode. Currently, AMD IOMMU driver in GA mode ignores the

Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

2017-06-28 Thread Joerg Roedel
On Mon, Jun 26, 2017 at 04:28:04AM -0500, Suravee Suthikulpanit wrote: > Pass-through devices to VM guest can get updated IRQ affinity > information via irq_set_affinity() when not running in guest mode. > Currently, AMD IOMMU driver in GA mode ignores the updated information > if the pass-through

Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

2017-06-28 Thread Joerg Roedel
On Mon, Jun 26, 2017 at 04:28:04AM -0500, Suravee Suthikulpanit wrote: > Pass-through devices to VM guest can get updated IRQ affinity > information via irq_set_affinity() when not running in guest mode. > Currently, AMD IOMMU driver in GA mode ignores the updated information > if the pass-through

Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

2017-06-28 Thread Joerg Roedel
Hi Suravee, On Mon, Jun 26, 2017 at 04:28:04AM -0500, Suravee Suthikulpanit wrote: > Pass-through devices to VM guest can get updated IRQ affinity > information via irq_set_affinity() when not running in guest mode. > Currently, AMD IOMMU driver in GA mode ignores the updated information > if the

Re: [PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

2017-06-28 Thread Joerg Roedel
Hi Suravee, On Mon, Jun 26, 2017 at 04:28:04AM -0500, Suravee Suthikulpanit wrote: > Pass-through devices to VM guest can get updated IRQ affinity > information via irq_set_affinity() when not running in guest mode. > Currently, AMD IOMMU driver in GA mode ignores the updated information > if the

[PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

2017-06-26 Thread Suravee Suthikulpanit
Pass-through devices to VM guest can get updated IRQ affinity information via irq_set_affinity() when not running in guest mode. Currently, AMD IOMMU driver in GA mode ignores the updated information if the pass-through device is setup to use vAPIC regardless of guest_mode. This could cause

[PATCH v2] iommu/amd: Fix interrupt remapping when disable guest_mode

2017-06-26 Thread Suravee Suthikulpanit
Pass-through devices to VM guest can get updated IRQ affinity information via irq_set_affinity() when not running in guest mode. Currently, AMD IOMMU driver in GA mode ignores the updated information if the pass-through device is setup to use vAPIC regardless of guest_mode. This could cause