On 10/23/25 11:15 AM, Teddy Astie wrote:
Le 23/10/2025 à 11:12, Teddy Astie a écrit :
Various simplifications in the VT-d and IO-APIC code (mostly related to legacy
ia64 code).
I think these changes isn't very critical for the current stage of release, so
I suggest to
have them in 4.22.
Thanks.
~ Oleksii
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
I forgot to add the CC-ed people
--
Teddy Astie | Vates XCP-ng Developer
XCP-ng & Xen Orchestra - Vates solutions
web:https://vates.tech