aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events
diff options
context:
space:
mode:
authorAllen Hubbe <allen.hubbe@amd.com>2023-07-10 21:24:36 -0700
committerMichael S. Tsirkin <mst@redhat.com>2023-08-10 15:51:45 -0400
commitc0a6c5cbf1a9e49357e942ed393da08a55808a49 (patch)
tree64256532865f281844ddef7e1c492734880868e8 /tools/perf/pmu-events
parented88863040daad18d3f9b12f7c9c1c3da3731e1f (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 'tools/perf/pmu-events')
0 files changed, 0 insertions, 0 deletions