Re: [PATCH V3 2/9] powerpc/pci_dn: cache vf_index in pci_dn

2015-05-12 Thread Wei Yang
On Tue, May 12, 2015 at 04:15:58PM +1000, Gavin Shan wrote: >On Mon, May 11, 2015 at 01:54:12PM +0800, Wei Yang wrote: >>On Mon, May 11, 2015 at 12:21:04PM +1000, Gavin Shan wrote: >>>On Mon, May 04, 2015 at 03:07:31PM +0800, Wei Yang wrote: This patch caches the index of a VF in its PF in pci_

Re: [PATCH V3 2/9] powerpc/pci_dn: cache vf_index in pci_dn

2015-05-11 Thread Gavin Shan
On Mon, May 11, 2015 at 01:54:12PM +0800, Wei Yang wrote: >On Mon, May 11, 2015 at 12:21:04PM +1000, Gavin Shan wrote: >>On Mon, May 04, 2015 at 03:07:31PM +0800, Wei Yang wrote: >>>This patch caches the index of a VF in its PF in pci_dn. >>> >> >>At least you can mention the purpose of vf_index to

Re: [PATCH V3 2/9] powerpc/pci_dn: cache vf_index in pci_dn

2015-05-10 Thread Wei Yang
On Mon, May 11, 2015 at 12:21:04PM +1000, Gavin Shan wrote: >On Mon, May 04, 2015 at 03:07:31PM +0800, Wei Yang wrote: >>This patch caches the index of a VF in its PF in pci_dn. >> > >At least you can mention the purpose of vf_index to make the commit log >complete. The following message looks bett

Re: [PATCH V3 2/9] powerpc/pci_dn: cache vf_index in pci_dn

2015-05-10 Thread Gavin Shan
On Mon, May 04, 2015 at 03:07:31PM +0800, Wei Yang wrote: >This patch caches the index of a VF in its PF in pci_dn. > At least you can mention the purpose of vf_index to make the commit log complete. The following message looks better? The patch caches the VF index in pci_dn, which can be used to

[PATCH V3 2/9] powerpc/pci_dn: cache vf_index in pci_dn

2015-05-04 Thread Wei Yang
This patch caches the index of a VF in its PF in pci_dn. Signed-off-by: Wei Yang --- arch/powerpc/include/asm/pci-bridge.h |1 + arch/powerpc/kernel/pci_dn.c |5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/pci-bridge.h b/arch/po