On 12/8/17 12:03 AM, Alexey Kardashevskiy wrote: > On 06/12/17 02:13, Bryant G. Ly wrote: >> >> On 12/4/17 7:24 PM, Alexey Kardashevskiy wrote: >>> On 05/12/17 02:08, Bryant G. Ly wrote: >>>> On 12/2/17 7:45 PM, Alexey Kardashevskiy wrote: >>>>> On 10/11/17 01:00, Bryant G. Ly wrote: >>>>>> v1 - Initial patch >>>>>> v2 - Addressed Bjorn's comment on creating a highly platform >>>>>> dependent global exported symbol. >>>>>> v3 - Based patch off linux-ppc/master >>>>>> v4 - Using the sriov-drivers_autoprobe mechanism per Bjorn's request >>>>>> v5 - Fixed comments and commit message >>>>> What is this made against of? I'd like to give it a try but it does not >>>>> apply to Linus'es tree or powerpc/next. Thanks. >>>>> >>>> This was made against powerpc/next back when it was still under 4.14-rc6. >>>> It has been in review for awhile... >>> Sure, sha1 or github tree would be enough though to try. >> 6cff0a118f23b98c604a3604ea9de11338e24fbe >> >> or if you want to just use the github tree its: >> >> https://github.com/powervm/sriov-ppc/tree/upstream > > Thanks! Looks good, works fine (tried MLX5 wit hpowernv - works, pseries > under KVM - prints a nice error instead of crashing), > > Reviewed-by: Alexey Kardashevskiy <aik@xxxxxxxxx> > > Thanks for the review/testing. I will drop the full patch that enables SRIOV on PowerVM next week. The patch will require unreleased PHYP and PFW firmware to fully function. I will include you and Russell to those patches. -Bryant > >>>> -Bryant >>>> >>>>>> Bryant G. Ly (3): >>>>>> powerpc/kernel: Separate SR-IOV Calls >>>>>> pseries: Add PSeries SR-IOV Machine dependent calls >>>>>> PCI/IOV: Add pci_vf_drivers_autoprobe() interface >>>>>> >>>>>> arch/powerpc/include/asm/machdep.h | 7 ++++++ >>>>>> arch/powerpc/include/asm/pci-bridge.h | 4 +--- >>>>>> arch/powerpc/kernel/eeh_driver.c | 4 ++-- >>>>>> arch/powerpc/kernel/pci-common.c | 23 +++++++++++++++++++ >>>>>> arch/powerpc/kernel/pci_dn.c | 6 ----- >>>>>> arch/powerpc/platforms/powernv/eeh-powernv.c | 33 ++++++++++++++-------------- >>>>>> arch/powerpc/platforms/powernv/pci-ioda.c | 6 +++-- >>>>>> arch/powerpc/platforms/pseries/eeh_pseries.c | 24 ++++++++++++++++++++ >>>>>> arch/powerpc/platforms/pseries/pci.c | 31 ++++++++++++++++++++++---- >>>>>> drivers/pci/iov.c | 11 ++++++++++ >>>>>> include/linux/pci.h | 2 ++ >>>>>> 11 files changed, 118 insertions(+), 33 deletions(-) >>>>>> >