]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/iommu: Update the generic code to use dynamic iommu page sizes
authorAlistair Popple <alistair@popple.id.au>
Mon, 9 Dec 2013 07:17:03 +0000 (18:17 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 30 Dec 2013 03:17:19 +0000 (14:17 +1100)
commitd084775738b746648d4102337163a04534a02982
tree641f5ea99dcdb27f51a7646d56a8d245f1d7f9c1
parent3a553170d35d69bea3877bffa508489dfa6f133d
powerpc/iommu: Update the generic code to use dynamic iommu page sizes

This patch updates the generic iommu backend code to use the
it_page_shift field to determine the iommu page size instead of
using hardcoded values.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/iommu.h
arch/powerpc/kernel/dma-iommu.c
arch/powerpc/kernel/iommu.c
arch/powerpc/kernel/vio.c
arch/powerpc/platforms/powernv/pci.c
drivers/net/ethernet/ibm/ibmveth.c