]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/iommu: Fix initialisation of DART iommu table
authorAlistair Popple <alistair@popple.id.au>
Wed, 29 Jan 2014 04:20:12 +0000 (15:20 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 29 Jan 2014 05:58:49 +0000 (16:58 +1100)
commit0d29d4d3fe4b42d95734662264d15cc64cba2e5d
treedbc6475f6e25d2ea8f02fb4ff565273e950daa4e
parentedfb20f633336739cd7395d3011d999c98535e60
powerpc/iommu: Fix initialisation of DART iommu table

Commit dbd79ca740b91ff4853231e4c1e8d7a18322c3ab switched the generic
powerpc iommu backend code to use the it_page_shift field to determine
page size. Commit 5bb96e9ffbd477ee12d24fff176f0f1055053b28 should have
initiliased this field for all platforms, however the DART iommu table
code was not updated.

This commit initialises the it_page_shift field to 4K for the DART
iommu.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/dart_iommu.c