projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc7c8ad
)
iommu/vt-d: Request passthrough mode from IOMMU core
author
Joerg Roedel
<jroedel@suse.de>
Mon, 19 Aug 2019 13:22:50 +0000
(15:22 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Fri, 23 Aug 2019 08:09:58 +0000
(10:09 +0200)
Get rid of the iommu_pass_through variable and request
passthrough mode via the new iommu core function.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/intel-iommu.c
b/drivers/iommu/intel-iommu.c
index
d6003b3
..
5873375
100644
(file)
--- a/
drivers/iommu/intel-iommu.c
+++ b/
drivers/iommu/intel-iommu.c
@@
-3267,7
+3267,7
@@
static int __init init_dmars(void)
iommu->flush.flush_iotlb(iommu, 0, 0, 0, DMA_TLB_GLOBAL_FLUSH);
}
- if (iommu_
pass_through
)
+ if (iommu_
default_passthrough()
)
iommu_identity_mapping |= IDENTMAP_ALL;
#ifdef CONFIG_INTEL_IOMMU_BROKEN_GFX_WA