[PATCH v6 1/8] iommu: provide early initialisation hook for IOMMU drivers

Arnd Bergmann
2014-12-04T12:51:25Z

On Thursday 04 December 2014 12:26:58 Robin Murphy wrote:
>
> +struct of_iommu_node {
> + struct hlist_node list;
> + struct device_node *np;
> + const struct iommu_ops *ops;
> +};
> +static HLIST_HEAD(of_iommu_list);
> +static DEFINE_SPINLOCK(of_iommu_lock);

Looks good to me. For 3.20, I would hope to get consensus on renaming this
structure to 'struct iommmu' and adding additional members into it as needed,
but let's do that another day. Please address Grant's feedback and send
a new version.

Arnd