From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f175.google.com ([209.85.192.175]:36087 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756983AbcDMHgb (ORCPT ); Wed, 13 Apr 2016 03:36:31 -0400 Received: by mail-pf0-f175.google.com with SMTP id e128so29361355pfe.3 for ; Wed, 13 Apr 2016 00:36:30 -0700 (PDT) Subject: Re: [PATCH v8 14/45] powerpc/powernv/ioda1: Rename pnv_pci_ioda_setup_dma_pe() To: Gavin Shan , linuxppc-dev@lists.ozlabs.org References: <1455680668-23298-1-git-send-email-gwshan@linux.vnet.ibm.com> <1455680668-23298-15-git-send-email-gwshan@linux.vnet.ibm.com> Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, benh@kernel.crashing.org, mpe@ellerman.id.au, dja@axtens.net, bhelgaas@google.com, robherring2@gmail.com, grant.likely@linaro.org From: Alexey Kardashevskiy Message-ID: <570DF6F7.4010701@ozlabs.ru> Date: Wed, 13 Apr 2016 17:36:23 +1000 MIME-Version: 1.0 In-Reply-To: <1455680668-23298-15-git-send-email-gwshan@linux.vnet.ibm.com> Content-Type: text/plain; charset=koi8-r; format=flowed Sender: linux-pci-owner@vger.kernel.org List-ID: On 02/17/2016 02:43 PM, Gavin Shan wrote: > This renames pnv_pci_ioda_setup_dma_pe() to pnv_pci_ioda1_setup_dma_pe() > as it's the counter-part of IODA2's pnv_pci_ioda2_setup_dma_pe(). > No logical changes introduced. > > Signed-off-by: Gavin Shan Reviewed-by: Alexey Kardashevskiy > --- > arch/powerpc/platforms/powernv/pci-ioda.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c > index 8488238..d18b95e 100644 > --- a/arch/powerpc/platforms/powernv/pci-ioda.c > +++ b/arch/powerpc/platforms/powernv/pci-ioda.c > @@ -2026,9 +2026,10 @@ static struct iommu_table_ops pnv_ioda2_iommu_ops = { > .free = pnv_ioda2_table_free, > }; > > -static void pnv_pci_ioda_setup_dma_pe(struct pnv_phb *phb, > - struct pnv_ioda_pe *pe, unsigned int base, > - unsigned int segs) > +static void pnv_pci_ioda1_setup_dma_pe(struct pnv_phb *phb, > + struct pnv_ioda_pe *pe, > + unsigned int base, > + unsigned int segs) > { > > struct page *tce_mem = NULL; > @@ -2616,7 +2617,7 @@ static void pnv_ioda_setup_dma(struct pnv_phb *phb) > if (phb->type == PNV_PHB_IODA1) { > pe_info(pe, "DMA weight %d, assigned %d DMA32 segments\n", > pe->dma_weight, segs); > - pnv_pci_ioda_setup_dma_pe(phb, pe, base, segs); > + pnv_pci_ioda1_setup_dma_pe(phb, pe, base, segs); > } else if (phb->type == PNV_PHB_IODA2) { > pe_info(pe, "Assign DMA32 space\n"); > segs = 0; > -- Alexey