[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bp4vxovymcz44zqdexidroeexzlmsd4tm5ntgtju4ohmw6erhw@lssi565zabps>
Date: Fri, 5 Sep 2025 20:21:38 +0530
From: Manivannan Sadhasivam <mani@...nel.org>
To: Vivek.Pernamitta@...cinc.com
Cc: mhi@...ts.linux.dev, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, Vivek Pernamitta <quic_vpernami@...cinc.com>,
Krishna Chaitanya Chundru <krishna.chundru@....qualcomm.com>
Subject: Re: [PATCH v3 3/6] bus: mhi: host: pci_generic: Add SRIOV support
for PCIe device
On Thu, Aug 21, 2025 at 06:25:35PM GMT, Vivek.Pernamitta@...cinc.com wrote:
> From: Vivek Pernamitta <quic_vpernami@...cinc.com>
>
> Add SR-IOV support for PCIe devices.
pci_generic file name itself indicates that this is a PCIe device driver. So no
need to mention 'for PCIe device' in subject and description.
- Mani
> 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@...cinc.com>
> Reviewed-by: Krishna Chaitanya Chundru <krishna.chundru@....qualcomm.com>
> ---
> drivers/bus/mhi/host/pci_generic.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c
> index df18627a9feb4f2d53ba1ca6a4e8087dc23c7873..351b177cdf84057fb5a4e2f5b52279d7f1da41c2 100644
> --- a/drivers/bus/mhi/host/pci_generic.c
> +++ b/drivers/bus/mhi/host/pci_generic.c
> @@ -1696,7 +1696,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);
>
>
> --
> 2.34.1
>
--
மணிவண்ணன் சதாசிவம்
Powered by blists - more mailing lists