projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe60bb
)
iommu/amd: Report irq remapping through IOMMU-API
author
Joerg Roedel
<joerg.roedel@amd.com>
Mon, 2 Jul 2012 16:38:13 +0000
(18:38 +0200)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Fri, 28 Sep 2012 15:43:54 +0000
(17:43 +0200)
Report the availability of irq remapping through the
IOMMU-API to allow KVM device passthrough again without
additional module parameter overrides.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/amd_iommu.c
b/drivers/iommu/amd_iommu.c
index 33f144f7d676260aa4dd20e213b95cb2887447ac..312dd4dd47914e87e51c598091fa7b37f12e3f5c 100644
(file)
--- a/
drivers/iommu/amd_iommu.c
+++ b/
drivers/iommu/amd_iommu.c
@@
-3353,6
+3353,8
@@
static int amd_iommu_domain_has_cap(struct iommu_domain *domain,
switch (cap) {
case IOMMU_CAP_CACHE_COHERENCY:
return 1;
+ case IOMMU_CAP_INTR_REMAP:
+ return irq_remapping_enabled;
}
return 0;