Skip to content

intel_iommu: Add support for translation for devices behind bridges

Knut Omang qemu-devel 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest1 patch 0 repliesNew
  2. v41 patch 2 repliesSuperseded
  3. v31 patch 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches8 repliesSuperseded
v12 patches17 repliesSuperseded

Changes in v5 from the cover letter

- Use uintptr_t instead of uint64_t to compile on 32 bit architectures.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1intel_iommu: Add support for translation for devices behind bridgeshw/i386/intel_iommu.c hw/pci-host/q35.c include/hw/i386/intel_iommu.h+90 -400 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 0/1] intel_iommu: Add support for translation for devices behind bridges

This patch set has been completely reimplemented according to ideas from the discussion of v2.

It still solves the same problem, but does so only within the Intel IOMMU code and Q35, without changing the IOMMU interface. This eliminates the need for any separate interface change patch.

This is the thread following v2 of the patch set:

http://thread.gmane.org/gmane.comp.emulators.qemu/358525

This is the thread following the initial patch set:

http://thread.gmane.org/gmane.comp.emulators.qemu/302246

The patch set was also discussed in this thread:

http://thread.gmane.org/gmane.comp.emulators.qemu/316949

Changes from v4:
- Use uintptr_t instead of uint64_t to compile on 32 bit architectures.

Changes from v3:
- Replaced use of g_hash_table_add with g_hash_table_insert to support compiling on older versions of glib.

Changes from v2:
- Completely reimplemented fix to avoid API change and further logical deviation from how hardware works.
API change no longer necessary, so just a single patch.

Changes from v1:
- Rebased to current master
- Fixed minor syntax issues

Knut Omang (1):
intel_iommu: Add support for translation for devices behind bridges

 hw/i386/intel_iommu.c         | 89 +++++++++++++++++++++++++++++++++++--------
 hw/pci-host/q35.c             | 25 ++----------
 include/hw/i386/intel_iommu.h | 16 +++++++-
 3 files changed, 90 insertions(+), 40 deletions(-)

--
2.4.3