[PATCH v2 17/40] iommu/arm-smmu-v3: Link domains and devices

From
Jean-Philippe Brucker <hidden>
Date
2018-05-21 14:50:01
Also in
kvm, linux-acpi, linux-devicetree, linux-iommu, linux-mm, linux-pci
Reply to
Jonathan Cameron, 2018-05-17
On 17/05/18 17:07, Jonathan Cameron wrote:
quoted
+++ b/drivers/iommu/arm-smmu-v3.c
@@ -595,6 +595,11 @@ struct arm_smmu_device {
 struct arm_smmu_master_data {
 	struct arm_smmu_device		*smmu;
 	struct arm_smmu_strtab_ent	ste;
+
+	struct arm_smmu_domain		*domain;
+	struct list_head		list; /* domain->devices */
More meaningful name perhaps to avoid the need for the comment?
Sure

Thanks,
Jean
Thread (113 messages) 113 messages, 13 authors, last reply 2018-09-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help