diff options
author | Peter Maydell | 2018-06-15 15:57:16 +0200 |
---|---|---|
committer | Peter Maydell | 2018-06-15 16:23:34 +0200 |
commit | 1f871c5e6b0f30644a60a81a6a7aadb3afb030ac (patch) | |
tree | 335d1a996b0e4c8f36c08b65d2652a6f88a77f71 /hw | |
parent | iommu: Add IOMMU index argument to translate method (diff) | |
download | qemu-1f871c5e6b0f30644a60a81a6a7aadb3afb030ac.tar.gz qemu-1f871c5e6b0f30644a60a81a6a7aadb3afb030ac.tar.xz qemu-1f871c5e6b0f30644a60a81a6a7aadb3afb030ac.zip |
exec.c: Handle IOMMUs in address_space_translate_for_iotlb()
Currently we don't support board configurations that put an IOMMU
in the path of the CPU's memory transactions, and instead just
assert() if the memory region fonud in address_space_translate_for_iotlb()
is an IOMMUMemoryRegion.
Remove this limitation by having the function handle IOMMUs.
This is mostly straightforward, but we must make sure we have
a notifier registered for every IOMMU that a transaction has
passed through, so that we can flush the TLB appropriately
when any of the IOMMUs change their mappings.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20180604152941.20374-5-peter.maydell@linaro.org
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions