Re: [PATCH v4 09/15] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-08-18 Thread Lorenzo Pieralisi
On Thu, Aug 18, 2016 at 06:50:07PM +0800, Dennis Chen wrote: [...] > > +static void __init iort_smmu_init(void) > > +{ > > + struct acpi_iort_node *iort_node, *iort_end; > > + struct acpi_table_iort *iort; > > + struct fwnode_handle *fwnode; > > + int i, ret; > > + > > + /* > > +*

Re: [PATCH v4 09/15] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-08-18 Thread Lorenzo Pieralisi
On Thu, Aug 18, 2016 at 06:50:07PM +0800, Dennis Chen wrote: [...] > > +static void __init iort_smmu_init(void) > > +{ > > + struct acpi_iort_node *iort_node, *iort_end; > > + struct acpi_table_iort *iort; > > + struct fwnode_handle *fwnode; > > + int i, ret; > > + > > + /* > > +*

Re: [PATCH v4 09/15] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-08-18 Thread Dennis Chen
Hi Lorenzo, On Mon, Aug 15, 2016 at 04:23:34PM +0100, Lorenzo Pieralisi wrote: > In ARM ACPI systems, IOMMU components are specified through static > IORT table entries. In order to create platform devices for the > corresponding ARM SMMU components, IORT kernel code should be made > able to

Re: [PATCH v4 09/15] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-08-18 Thread Dennis Chen
Hi Lorenzo, On Mon, Aug 15, 2016 at 04:23:34PM +0100, Lorenzo Pieralisi wrote: > In ARM ACPI systems, IOMMU components are specified through static > IORT table entries. In order to create platform devices for the > corresponding ARM SMMU components, IORT kernel code should be made > able to

[PATCH v4 09/15] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-08-15 Thread Lorenzo Pieralisi
In ARM ACPI systems, IOMMU components are specified through static IORT table entries. In order to create platform devices for the corresponding ARM SMMU components, IORT kernel code should be made able to parse IORT table entries and create platform devices dynamically. This patch adds the

[PATCH v4 09/15] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-08-15 Thread Lorenzo Pieralisi
In ARM ACPI systems, IOMMU components are specified through static IORT table entries. In order to create platform devices for the corresponding ARM SMMU components, IORT kernel code should be made able to parse IORT table entries and create platform devices dynamically. This patch adds the