]> git.baikalelectronics.ru Git - kernel.git/commit
vDPA/ifcvf: decouple config/dev IRQ requester and vectors allocator from the adapter
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 25 Nov 2022 14:57:19 +0000 (22:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 12:55:42 +0000 (13:55 +0100)
commit41ceeada60627d83878ddba342f6c60e0ffaf5ba
treeb58ccdf9120e920101ee38fb738923bb60a1b8c9
parent1521f053ebd293eece88d463ee5b6d2eee65915f
vDPA/ifcvf: decouple config/dev IRQ requester and vectors allocator from the adapter

commit 842b2f141fd9f1fec226a0b5b2bc888277364141 upstream.

This commit decouples the config irq requester, the device
shared irq requester and the MSI vectors allocator from
the adapter. So they can be safely invoked since probe
before the adapter is allocated.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Cc: stable@vger.kernel.org
Message-Id: <20221125145724.1129962-8-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vdpa/ifcvf/ifcvf_main.c