[PATCH 0/6] powerpc/powernv: Applying it_page_shift to platform code

Alexey Kardashevskiy aik at ozlabs.ru
Wed Jun 18 17:56:19 EST 2014


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 :)


> 
> 
> 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(-)
> 


-- 
Alexey


More information about the Linuxppc-dev mailing list