iommu/arm-smmu: allow translation stage to be forced on the cmdline
authorWill Deacon <will.deacon@arm.com>
Mon, 14 Jul 2014 18:47:39 +0000 (19:47 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 16 Sep 2014 18:13:48 +0000 (19:13 +0100)
commit4cf740b0b6628bda1e5c9201ae0d4f56fc6c06a5
treeccd54c982e334efced7eb7888149683d106da18e
parent9e82bf014195d6f0054982c463575cdce24292be
iommu/arm-smmu: allow translation stage to be forced on the cmdline

When debugging and testing code on an SMMU that supports nested
translation, it can be useful to restrict the driver to a particular
stage of translation.

This patch adds a module parameter to the ARM SMMU driver to allow this
by restricting the ability of the probe() code to detect support for
only the specified stage.

Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c