Re: [PATCH 11/15] PCI: pci-epf-test: Use pci_epc_get_features to get EPC features

2019-02-13 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 13/02/19 8:06 PM, Lorenzo Pieralisi wrote: > On Wed, Feb 13, 2019 at 07:08:18PM +0530, Kishon Vijay Abraham I wrote: >> Hi Lorenzo, >> >> On 12/02/19 8:37 PM, Lorenzo Pieralisi wrote: >>> On Mon, Jan 07, 2019 at 12:11:44PM +0530, Kishon Vijay Abraham I wrote: >>> >>> [...] >>>

Re: [PATCH 11/15] PCI: pci-epf-test: Use pci_epc_get_features to get EPC features

2019-02-13 Thread Lorenzo Pieralisi
On Wed, Feb 13, 2019 at 07:08:18PM +0530, Kishon Vijay Abraham I wrote: > Hi Lorenzo, > > On 12/02/19 8:37 PM, Lorenzo Pieralisi wrote: > > On Mon, Jan 07, 2019 at 12:11:44PM +0530, Kishon Vijay Abraham I wrote: > > > > [...] > > > >> static int pci_epf_test_bind(struct pci_epf *epf) > >> { >

Re: [PATCH 11/15] PCI: pci-epf-test: Use pci_epc_get_features to get EPC features

2019-02-13 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 13/02/19 7:08 PM, Kishon Vijay Abraham I wrote: > Hi Lorenzo, > > On 12/02/19 8:37 PM, Lorenzo Pieralisi wrote: >> On Mon, Jan 07, 2019 at 12:11:44PM +0530, Kishon Vijay Abraham I wrote: >> >> [...] >> >>> static int pci_epf_test_bind(struct pci_epf *epf) >>> { >>> int ret; >

Re: [PATCH 11/15] PCI: pci-epf-test: Use pci_epc_get_features to get EPC features

2019-02-13 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 12/02/19 8:37 PM, Lorenzo Pieralisi wrote: > On Mon, Jan 07, 2019 at 12:11:44PM +0530, Kishon Vijay Abraham I wrote: > > [...] > >> static int pci_epf_test_bind(struct pci_epf *epf) >> { >> int ret; >> struct pci_epf_test *epf_test = epf_get_drvdata(epf); >> struc

Re: [PATCH 11/15] PCI: pci-epf-test: Use pci_epc_get_features to get EPC features

2019-02-12 Thread Lorenzo Pieralisi
On Mon, Jan 07, 2019 at 12:11:44PM +0530, Kishon Vijay Abraham I wrote: [...] > static int pci_epf_test_bind(struct pci_epf *epf) > { > int ret; > struct pci_epf_test *epf_test = epf_get_drvdata(epf); > struct pci_epf_header *header = epf->header; > + const struct pci_epc_

[PATCH 11/15] PCI: pci-epf-test: Use pci_epc_get_features to get EPC features

2019-01-06 Thread Kishon Vijay Abraham I
Use pci_epc_get_features to get EPC features such as linkup notifier support, MSI/MSIX capable, BAR configuration etc and use it for configuring pci-epf-test. Since these features are now obtained directly from EPC driver, remove pci_epf_test_data which was initially added to have EPC features in e