iommu: Add "iommu.strict" command line option
authorZhen Lei <thunder.leizhen@huawei.com>
Thu, 20 Sep 2018 16:10:23 +0000 (17:10 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 1 Oct 2018 12:01:32 +0000 (13:01 +0100)
commit68a6efe86f6a16e25556a2aff40efad41097b486
treed4422500a10c32ef7e40cc37598a92f6dd472222
parent2da274cdf998a1c12afa6b5975db2df1df01edf1
iommu: Add "iommu.strict" command line option

Add a generic command line option to enable lazy unmapping via IOVA
flush queues, which will initally be suuported by iommu-dma. This echoes
the semantics of "intel_iommu=strict" (albeit with the opposite default
value), but in the driver-agnostic fashion of "iommu.passthrough".

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
[rm: move handling out of SMMUv3 driver, clean up documentation]
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
[will: dropped broken printk when parsing command-line option]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/admin-guide/kernel-parameters.txt
drivers/iommu/iommu.c