diff options
author | Allen Hubbe <allen.hubbe@amd.com> | 2023-07-10 21:24:36 -0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-08-10 15:51:45 -0400 |
commit | c0a6c5cbf1a9e49357e942ed393da08a55808a49 (patch) | |
tree | 64256532865f281844ddef7e1c492734880868e8 /scripts/dtc/fdtget.c | |
parent | ed88863040daad18d3f9b12f7c9c1c3da3731e1f (diff) |
pds_vdpa: alloc irq vectors on DRIVER_OK
We were allocating irq vectors at the time the aux dev was probed,
but that is before the PCI VF is assigned to a separate iommu domain
by vhost_vdpa. Because vhost_vdpa later changes the iommu domain the
interrupts do not work.
Instead, we can allocate the irq vectors later when we see DRIVER_OK and
know that the reassignment of the PCI VF to an iommu domain has already
happened.
Fixes: 151cc834f3dd ("pds_vdpa: add support for vdpa and vdpamgmt interfaces")
Signed-off-by: Allen Hubbe <allen.hubbe@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230711042437.69381-5-shannon.nelson@amd.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/dtc/fdtget.c')
0 files changed, 0 insertions, 0 deletions