Thread (9 messages) 9 messages, 6 authors, 2018-03-02

Re: [PATCH v12 1/3] ACPI/IORT: Add msi address regions reservation helper

From: Marc Zyngier <hidden>
Date: 2017-12-15 14:49:46
Also in: linux-acpi, linux-arm-kernel, linux-iommu

On Thu, 14 Dec 2017 16:09:55 +0000,
Shameer Kolothum wrote:
On some platforms msi parent address regions have to be excluded from
normal IOVA allocation in that they are detected and decoded in a HW
specific way by system components and so they cannot be considered normal
IOVA address space.

Add a helper function that retrieves ITS address regions - the msi
parent - through IORT device <-> ITS mappings and reserves it so that
these regions will not be translated by IOMMU and will be excluded from
IOVA allocations. The function checks for the smmu model number and
only applies the msi reservation if the platform requires it.

Signed-off-by: Shameer Kolothum <redacted>
---
 drivers/acpi/arm64/iort.c        | 111 +++++++++++++++++++++++++++++++++++++--
 drivers/irqchip/irq-gic-v3-its.c |   3 +-
 include/linux/acpi_iort.h        |   7 ++-
 3 files changed, 116 insertions(+), 5 deletions(-)
For the ITS part:

Reviewed-by: Marc Zyngier <redacted>

	M.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help