|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V4 2/8] iommu/arm: Add ability to handle deferred probing request
Hi Oleksandr, On 13/09/2019 16:35, Oleksandr Tyshchenko wrote: diff --git a/xen/drivers/passthrough/arm/iommu.c b/xen/drivers/passthrough/arm/iommu.c index f219de9..555acfc 100644 --- a/xen/drivers/passthrough/arm/iommu.c +++ b/xen/drivers/passthrough/arm/iommu.c @@ -20,6 +20,12 @@ #include <xen/device_tree.h> #include <asm/device.h>+/*+ * Deferred probe list is used to keep track of devices for which driver + * requested deferred probing (returned -EAGAIN). + */ +static __initdata LIST_HEAD(deferred_probe_list); + static const struct iommu_ops *iommu_ops;const struct iommu_ops *iommu_get_ops(void)@@ -42,7 +48,7 @@ void __init iommu_set_ops(const struct iommu_ops *ops)int __init iommu_hardware_setup(void) NIT: s/We expect nobody uses/Nobody should use/ + * so we can re-use it to link the device in the deferred list to + * avoid introducing extra list_head field in struct dt_device_node. + */ + ASSERT(list_empty(&np->domain_list)); [...]
s/node//?
With the two above addressed and pending the patch it depends on [1] is acked: Reviewed-by: Julien Grall <julien.grall@xxxxxxx> Cheers, [1] https://lists.xenproject.org/archives/html/xen-devel/2019-08/msg01924.html -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |