Skip to content

Commit fd6e050

Browse files
Vivek PernamittaMani-Sadhasivam
authored andcommitted
bus: mhi: host: pci_generic: Add SRIOV support
pci_sriov_configure_simple() will enable or disable SR-IOV for devices that don't require any specific PF setup before enabling SR-IOV. Signed-off-by: Vivek Pernamitta <quic_vpernami@quicinc.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Reviewed-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com> Link: https://patch.msgid.link/20250912-uevent_vdev_next-20250911-v4-3-fa2f6ccd301b@quicinc.com
1 parent b4d01c5 commit fd6e050

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/bus/mhi/host/pci_generic.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,8 @@ static struct pci_driver mhi_pci_driver = {
16851685
.remove = mhi_pci_remove,
16861686
.shutdown = mhi_pci_shutdown,
16871687
.err_handler = &mhi_pci_err_handler,
1688-
.driver.pm = &mhi_pci_pm_ops
1688+
.driver.pm = &mhi_pci_pm_ops,
1689+
.sriov_configure = pci_sriov_configure_simple,
16891690
};
16901691
module_pci_driver(mhi_pci_driver);
16911692

0 commit comments

Comments
 (0)