[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM6PR04MB483851273EF610DE449B04FB887C9@AM6PR04MB4838.eurprd04.prod.outlook.com>
Date: Fri, 19 May 2023 18:11:15 +0000
From: Frank Li <frank.li@....com>
To: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
"lpieralisi@...nel.org" <lpieralisi@...nel.org>,
"kw@...ux.com" <kw@...ux.com>
CC: "kishon@...nel.org" <kishon@...nel.org>,
"bhelgaas@...gle.com" <bhelgaas@...gle.com>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>
Subject: RE: [EXT] [PATCH v4 1/7] PCI: endpoint: Pass EPF device ID to the
probe function
>
> Currently, the EPF probe function doesn't get the device ID argument
> needed
> to correctly identify the device table ID of the EPF device.
>
> When multiple entries are added to the "struct pci_epf_device_id" table,
> the probe function needs to identify the correct one. And the only way to
> do so is by storing the correct device ID in "struct pci_epf" during
> "pci_epf_match_id()" and passing that to probe().
>
> Reviewed-by: Kishon Vijay Abraham I <kishon@...nel.org>
> Signed-off-by: Manivannan Sadhasivam
> <manivannan.sadhasivam@...aro.org>
Reviewed-by: Frank Li <Frank.Li@....com>
> ---
> drivers/pci/endpoint/functions/pci-epf-ntb.c | 3 ++-
> drivers/pci/endpoint/functions/pci-epf-test.c | 2 +-
> drivers/pci/endpoint/functions/pci-epf-vntb.c | 2 +-
> drivers/pci/endpoint/pci-epf-core.c | 8 +++++---
> include/linux/pci-epf.h | 4 +++-
> 5 files changed, 12 insertions(+), 7 deletions(-)
>
Powered by blists - more mailing lists