ACPI/IORT: Enable SMMUv3/PMCG IORT MSI domain set-up
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 13 Oct 2017 07:09:50 +0000 (15:09 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 16 Oct 2017 13:30:15 +0000 (14:30 +0100)
commit65637901a3409f8a7952750e975536bde70fa1f8
treebd7d6409e5a8aecfe9a2bdad4721978fee6acedf
parent86456a3f19c505049341eeb51cf9bb874d3b4752
ACPI/IORT: Enable SMMUv3/PMCG IORT MSI domain set-up

ITS specific mappings for SMMUv3/PMCG components can be retrieved
through special index mapping entries introduced in IORT revision C.

Introduce a new API iort_set_device_domain() to set the MSI domain for
SMMUv3/PMCG nodes (extendable to any future IORT node requiring special
index ITS mapping entries) that represent MSI through special index
mappings in order to enable MSI support for the devices their nodes
represent.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
drivers/acpi/arm64/iort.c