Re: [PATCH V14 00/21] Enable SRIOV on Power8

2015-03-20 Thread Wei Yang
2015-03-21 5:20 GMT+08:00 Bjorn Helgaas : > On Fri, Mar 20, 2015 at 11:06:16AM +0800, Wei Yang wrote: >> This patchset enables the SRIOV on POWER8. >> >> The general idea is put each VF into one individual PE and allocate required >> resources like MMIO/DMA/MSI. The major difficulty comes from the

Re: [PATCH V14 00/21] Enable SRIOV on Power8

2015-03-20 Thread Benjamin Herrenschmidt
On Fri, 2015-03-20 at 16:16 -0500, Bjorn Helgaas wrote: > > > The other option is you put the generic changes in a topic branch > which > > both of us merge and I take care of the rest. > > Yeah, I chatted with Wei this morning, and he reminded me that there's > really not very much drivers/pci c

Re: [PATCH V14 00/21] Enable SRIOV on Power8

2015-03-20 Thread Bjorn Helgaas
On Fri, Mar 20, 2015 at 11:06:16AM +0800, Wei Yang wrote: > This patchset enables the SRIOV on POWER8. > > The general idea is put each VF into one individual PE and allocate required > resources like MMIO/DMA/MSI. The major difficulty comes from the MMIO > allocation and adjustment for PF's IOV B

Re: [PATCH V14 00/21] Enable SRIOV on Power8

2015-03-20 Thread Bjorn Helgaas
On Fri, Mar 20, 2015 at 4:05 PM, Benjamin Herrenschmidt wrote: > On Fri, 2015-03-20 at 09:34 -0500, Bjorn Helgaas wrote: >> On Fri, Mar 20, 2015 at 12:43 AM, Gavin Shan >> wrote: >> > On Fri, Mar 20, 2015 at 11:06:16AM +0800, Wei Yang wrote: >> > >> > [snip] >> > >> >>--- >> >>v14: >> >> * cal

Re: [PATCH V14 00/21] Enable SRIOV on Power8

2015-03-20 Thread Benjamin Herrenschmidt
On Fri, 2015-03-20 at 09:34 -0500, Bjorn Helgaas wrote: > On Fri, Mar 20, 2015 at 12:43 AM, Gavin Shan > wrote: > > On Fri, Mar 20, 2015 at 11:06:16AM +0800, Wei Yang wrote: > > > > [snip] > > > >>--- > >>v14: > >> * call ppc_md.pcibios_fixup_sriov() in pcibios_add_device > >> * add more expl

Re: [PATCH V14 00/21] Enable SRIOV on Power8

2015-03-20 Thread Bjorn Helgaas
On Fri, Mar 20, 2015 at 12:43 AM, Gavin Shan wrote: > On Fri, Mar 20, 2015 at 11:06:16AM +0800, Wei Yang wrote: > > [snip] > >>--- >>v14: >> * call ppc_md.pcibios_fixup_sriov() in pcibios_add_device >> * add more explanation in change log >> * Following patches have been reordered to the beg

Re: [PATCH V14 00/21] Enable SRIOV on Power8

2015-03-19 Thread Gavin Shan
On Fri, Mar 20, 2015 at 11:06:16AM +0800, Wei Yang wrote: [snip] >--- >v14: > * call ppc_md.pcibios_fixup_sriov() in pcibios_add_device > * add more explanation in change log > * Following patches have been reordered to the beginning. > "EEH refactor to use pci_dn": > 8ec20d6 powerp

[PATCH V14 00/21] Enable SRIOV on Power8

2015-03-19 Thread Wei Yang
This patchset enables the SRIOV on POWER8. The general idea is put each VF into one individual PE and allocate required resources like MMIO/DMA/MSI. The major difficulty comes from the MMIO allocation and adjustment for PF's IOV BAR. On P8, we use M64BT to cover a PF's IOV BAR, which could make a