diff options
author | Lu Baolu <[email protected]> | 2019-05-02 09:34:26 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-05-03 17:31:32 +0200 |
commit | 5daab58043ee2bca861068e2595564828f3bc663 (patch) | |
tree | d710574676cbfa1355a7280449d457a828376bd6 /drivers/iommu/amd_iommu_init.c | |
parent | cf1ec4539a50bdfe688caad4615ca47646884316 (diff) |
iommu/vt-d: Make kernel parameter igfx_off work with vIOMMU
The kernel parameter igfx_off is used by users to disable
DMA remapping for the Intel integrated graphic device. It
was designed for bare metal cases where a dedicated IOMMU
is used for graphic. This doesn't apply to virtual IOMMU
case where an include-all IOMMU is used. This makes the
kernel parameter work with virtual IOMMU as well.
Cc: Ashok Raj <[email protected]>
Cc: Jacob Pan <[email protected]>
Suggested-by: Kevin Tian <[email protected]>
Fixes: c0771df8d5297 ("intel-iommu: Export a flag indicating that the IOMMU is used for iGFX.")
Signed-off-by: Lu Baolu <[email protected]>
Tested-by: Zhenyu Wang <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/iommu/amd_iommu_init.c')
0 files changed, 0 insertions, 0 deletions