Skip to content

Various IOMMU related simplifications

Teddy Astie xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 10 repliesIn review
  2. v14 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- drop (un)map_vtd_domain_page wrapper instead of moving it
- drop deprecated and Intel-exclusive iommu_inclusive_mapping=<boolean>
- description and formatting changes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5vtd: Drop (un)map_vtd_domain_page wrapperxen/drivers/passthrough/vtd/dmar.c xen/drivers/passthrough/vtd/extern.h xen/drivers/passthrough/vtd/intremap.c +6 more+80 -941 reply
2/5vtd: Drop "iommu_inclusive_mapping" command-line optionCHANGELOG.md docs/misc/xen-command-line.pandoc xen/drivers/passthrough/vtd/x86/Makefile +1 more+3 -461 reply
3/5vtd: Collapse x86 subdirectoryxen/drivers/passthrough/vtd/Makefile xen/drivers/passthrough/vtd/ats.c xen/drivers/passthrough/vtd/x86/Makefile+6 -83 replies
4/5vtd: Remove IO_xAPIC_route_entry macroxen/drivers/passthrough/vtd/intremap.c xen/drivers/passthrough/vtd/vtd.h+5 -81 reply
5/5x86/ioapic: Don't open-code 32-bits rte readsxen/arch/x86/include/asm/io_apic.h xen/arch/x86/io_apic.c xen/drivers/passthrough/vtd/intremap.c+15 -241 reply
5/5x86/ioapic: Don't open-code 32-bits rte readsxen/arch/x86/include/asm/io_apic.h xen/arch/x86/io_apic.c xen/drivers/passthrough/vtd/intremap.c+14 -231 reply

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/5
2/5
3/5
4/5
5/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Various IOMMU related simplifications

Various simplifications in the VT-d and IO-APIC code (mostly related to legacy ia64 code).

No functional change intended.

Changed in v2 :
- drop (un)map_vtd_domain_page wrapper instead of moving it
- drop deprecated and Intel-exclusive iommu_inclusive_mapping=<boolean>
- description and formatting changes

Teddy Astie (5):
vtd: Drop (un)map_vtd_domain_page wrapper
vtd: Drop "iommu_inclusive_mapping" command-line option
vtd: Collapse x86 subdirectory
vtd: Remove IO_xAPIC_route_entry macro x86/ioapic: Don't open-code 32-bits rte reads

 CHANGELOG.md                                |  2 +
 docs/misc/xen-command-line.pandoc           |  6 --
 xen/arch/x86/include/asm/io_apic.h          |  1 +
 xen/arch/x86/io_apic.c                      | 29 +++----
 xen/drivers/passthrough/vtd/Makefile        |  3 +-
 xen/drivers/passthrough/vtd/{x86 => }/ats.c | 21 ++---
 xen/drivers/passthrough/vtd/dmar.c          |  2 +-
 xen/drivers/passthrough/vtd/extern.h        |  3 -
 xen/drivers/passthrough/vtd/intremap.c      | 34 ++++----
 xen/drivers/passthrough/vtd/iommu.c         | 88 ++++++++++-----------
 xen/drivers/passthrough/vtd/iommu.h         |  7 +-
 xen/drivers/passthrough/vtd/qinval.c        | 13 +--
 xen/drivers/passthrough/vtd/utils.c         | 25 +++---
 xen/drivers/passthrough/vtd/vtd.h           |  3 -
 xen/drivers/passthrough/vtd/x86/Makefile    |  2 -
 xen/drivers/passthrough/vtd/x86/vtd.c       | 48 -----------
 16 files changed, 108 insertions(+), 179 deletions(-)
 rename xen/drivers/passthrough/vtd/{x86 => }/ats.c (92%)
 delete mode 100644 xen/drivers/passthrough/vtd/x86/Makefile
 delete mode 100644 xen/drivers/passthrough/vtd/x86/vtd.c
Signature · 10 lines
2.51.1



--
Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech