Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532235

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

From Hanjun Guo <hanjun.guo@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v9 09/16] drivers: acpi: iort: add support for ARM SMMU platform devices creation
Date 2016-11-29 13:20 +0100
Message-ID <sIPy9-8o8-7@gated-at.bofh.it> (permalink)
References <sFTHX-8fb-3@gated-at.bofh.it> <sFTHY-8fb-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2016/11/21 18:01, 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 parse IORT table entries and create platform devices
> dynamically.
>
> This patch adds the generic IORT infrastructure required to create
> platform devices for ARM SMMUs.
>
> ARM SMMU versions have different resources requirement therefore this
> patch also introduces an IORT specific structure (ie iort_iommu_config)
> that contains hooks (to be defined when the corresponding ARM SMMU
> driver support is added to the kernel) to be used to define the
> platform devices names, init the IOMMUs, count their resources and
> finally initialize them.
>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> Reviewed-by: Tomasz Nowicki <tn@semihalf.com>
> Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
> Tested-by: Tomasz Nowicki <tn@semihalf.com>
> Cc: Hanjun Guo <hanjun.guo@linaro.org>
> Cc: Tomasz Nowicki <tn@semihalf.com>
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> ---
>  drivers/acpi/arm64/iort.c | 151 ++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 151 insertions(+)

Acked-by: Hanjun Guo <hanjun.guo@linaro.org>

Thanks
Hanjun

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v9 09/16] drivers: acpi: iort: add support for ARM SMMU  platform devices creation Hanjun Guo <hanjun.guo@linaro.org> - 2016-11-29 13:20 +0100

csiph-web