projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
26ac2b6
26b25a2
)
Merge branch 'api-features' into arm/smmu
author
Joerg Roedel
<jroedel@suse.de>
Fri, 26 Apr 2019 15:11:46 +0000
(17:11 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Fri, 26 Apr 2019 15:11:46 +0000
(17:11 +0200)
1
2
include/linux/iommu.h
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
include/linux/iommu.h
index
6c1b4c9
,
480921d
..
a815cf6
---
1
/
include/linux/iommu.h
---
2
/
include/linux/iommu.h
+++ b/
include/linux/iommu.h
@@@
-397,9
-450,14
+451,17
@@@
struct iommu_fwspec
u32 ids[1];
};
+/* ATS is supported */
+#define IOMMU_FWSPEC_PCI_RC_ATS (1 << 0)
+
+ /**
+ * struct iommu_sva - handle to a device-mm bond
+ */
+ struct iommu_sva {
+ struct device *dev;
+ const struct iommu_sva_ops *ops;
+ };
+
int iommu_fwspec_init(struct device *dev, struct fwnode_handle *iommu_fwnode,
const struct iommu_ops *ops);
void iommu_fwspec_free(struct device *dev);