xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Teddy Astie" <teddy.astie@vates.tech>
To: xen-devel@lists.xenproject.org
Cc: "Teddy Astie" <teddy.astie@vates.tech>
Subject: [PATCH v2 0/5] Various IOMMU related simplifications
Date: Thu, 23 Oct 2025 09:12:16 +0000	[thread overview]
Message-ID: <cover.1761209564.git.teddy.astie@vates.tech> (raw)

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

-- 
2.51.1



--
Teddy Astie | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech



             reply	other threads:[~2025-10-23  9:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-23  9:12 Teddy Astie [this message]
2025-10-23  9:12 ` [PATCH v2 4/5] vtd: Remove IO_xAPIC_route_entry macro Teddy Astie
2025-10-23  9:36   ` Jan Beulich
2025-10-23  9:12 ` [PATCH v2 2/5] vtd: Drop "iommu_inclusive_mapping" command-line option Teddy Astie
2025-10-23 10:11   ` Jan Beulich
2025-10-23  9:12 ` [PATCH v2 5/5] x86/ioapic: Don't open-code 32-bits rte reads Teddy Astie
2025-10-23  9:12 ` [PATCH v2 1/5] vtd: Drop (un)map_vtd_domain_page wrapper Teddy Astie
2025-10-23 10:04   ` Jan Beulich
2025-10-23  9:12 ` [PATCH v2 3/5] vtd: Collapse x86 subdirectory Teddy Astie
2025-10-23 10:17   ` Jan Beulich
2025-10-23 12:23     ` Teddy Astie
2025-10-23 12:26       ` Jan Beulich
2025-10-23  9:15 ` [PATCH v2 0/5] Various IOMMU related simplifications Teddy Astie
2025-10-23 14:35   ` Oleksii Kurochko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1761209564.git.teddy.astie@vates.tech \
    --to=teddy.astie@vates.tech \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).