Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Vivek Pernamitta and committed by
Manivannan Sadhasivam
fd6e0509 b4d01c5b

+2 -1
+2 -1
drivers/bus/mhi/host/pci_generic.c
··· 1685 1685 .remove = mhi_pci_remove, 1686 1686 .shutdown = mhi_pci_shutdown, 1687 1687 .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, 1689 1690 }; 1690 1691 module_pci_driver(mhi_pci_driver); 1691 1692