Re: [PATCH] iommu/vt-d: Fix wrong analysis whether devices share the same bus

2019-08-30 Thread Joerg Roedel
On Tue, Aug 20, 2019 at 01:53:17AM -0700, Nadav Amit wrote: > drivers/iommu/intel_irq_remapping.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied, thanks.

Re: [PATCH] iommu/vt-d: Fix wrong analysis whether devices share the same bus

2019-08-23 Thread Logan Gunthorpe
On 2019-08-20 2:53 a.m., Nadav Amit wrote: > set_msi_sid_cb() is used to determine whether device aliases share the > same bus, but it can provide false indications that aliases use the same > bus when in fact they do not. The reason is that set_msi_sid_cb() > assumes that pdev is fixed, while

[PATCH] iommu/vt-d: Fix wrong analysis whether devices share the same bus

2019-08-20 Thread Nadav Amit via iommu
set_msi_sid_cb() is used to determine whether device aliases share the same bus, but it can provide false indications that aliases use the same bus when in fact they do not. The reason is that set_msi_sid_cb() assumes that pdev is fixed, while actually pci_for_each_dma_alias() can call fn() when