From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id EF9771A032D for ; Wed, 18 Jun 2014 23:07:08 +1000 (EST) Message-ID: <1403096820.7661.210.camel@pasglop> Subject: Re: [PATCH 0/6] powerpc/powernv: Applying it_page_shift to platform code From: Benjamin Herrenschmidt To: Alexey Kardashevskiy Date: Wed, 18 Jun 2014 23:07:00 +1000 In-Reply-To: <53A14623.4080900@ozlabs.ru> References: <1402044246-13650-1-git-send-email-aik@ozlabs.ru> <53A14623.4080900@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Alistair Popple List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2014-06-18 at 17:56 +1000, Alexey Kardashevskiy wrote: > On 06/06/2014 06:44 PM, Alexey Kardashevskiy wrote: > > Here is what I got for powernv in order to support variable page size > > in iommu_table. > > > > I am very uncertain about Patch #4 "Add @it_owner to iommu_table struct" > > and wonder if there any better way to get PE from iommu_table. > > > > Please comment. Thanks. > > > Ben, these patches are really simple :) Sure, they also arrived in the middle of the merge window, so they can surely wait a bit longer. Cheers, Ben. > > > > > > > Alexey Kardashevskiy (6): > > powerpc/powernv: use it_page_shift for TCE invalidation > > powerpc/powernv: use it_page_shift in TCE build > > powerpc/powernv: Add a page size parameter to > > pnv_pci_setup_iommu_table() > > powerpc/powernv: Add @it_owner to iommu_table struct > > powerpc/powernv: Make set_bypass() callback a type > > powerpc/powernv: Make invalidate() callback an iommu_table callback > > > > arch/powerpc/include/asm/iommu.h | 13 ++++++- > > arch/powerpc/platforms/powernv/pci-ioda.c | 55 ++++++++++++++--------------- > > arch/powerpc/platforms/powernv/pci-p5ioc2.c | 3 +- > > arch/powerpc/platforms/powernv/pci.c | 43 +++++++++++++++------- > > arch/powerpc/platforms/powernv/pci.h | 7 ++-- > > 5 files changed, 74 insertions(+), 47 deletions(-) > > > >