]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
iommu: Add "iommu.strict" command line option
authorZhen Lei <thunder.leizhen@huawei.com>
Thu, 20 Sep 2018 16:10:23 +0000 (17:10 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Jan 2019 09:28:55 +0000 (09:28 +0000)
commit3f11a03bfa3a8006c126cdc1c4e73a617e52eaa1
treeb4809da855f56a47440bdbd72d23d262dc9c8618
parent887389bf34345c27bbbab7d348c4e8dd8bb5978f
iommu: Add "iommu.strict" command line option

BugLink: https://bugs.launchpad.net/bugs/1806488
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>
(backported from commit 68a6efe86f6a16e25556a2aff40efad41097b486)
[ dannf: Trival context fix in drivers/iommu/iommu.c ]
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Documentation/admin-guide/kernel-parameters.txt
drivers/iommu/iommu.c