iommu: Add IOMMU index concept to IOMMU API
commit21f402093c5ee7363f5ba56916cd5c651b424fef
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Jun 2018 13:57:15 +0000 (15 14:57 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Jun 2018 14:23:34 +0000 (15 15:23 +0100)
treeb56a82c598acb6bc9a099774e3e575f63f17eb59
parent2151b044fdca74a4fe7148f302ba9d6191516744
iommu: Add IOMMU index concept to IOMMU API

If an IOMMU supports mappings that care about the memory
transaction attributes, then it no longer has a unique
address -> output mapping, but more than one. We can
represent these using an IOMMU index, analogous to TCG's
mmu indexes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20180604152941.20374-2-peter.maydell@linaro.org
include/exec/memory.h
memory.c