1
0

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
This commit is contained in:
Vivek Pernamitta
2025-09-12 18:18:07 +05:30
committed by Manivannan Sadhasivam
parent b4d01c5b9a
commit fd6e0509d0

View File

@@ -1685,7 +1685,8 @@ static struct pci_driver mhi_pci_driver = {
.remove = mhi_pci_remove,
.shutdown = mhi_pci_shutdown,
.err_handler = &mhi_pci_err_handler,
.driver.pm = &mhi_pci_pm_ops
.driver.pm = &mhi_pci_pm_ops,
.sriov_configure = pci_sriov_configure_simple,
};
module_pci_driver(mhi_pci_driver);