[PATCH 0/4] Various IOMMU related simplifications

Teddy Astie posted 4 patches 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1761124632.git.teddy.astie@vates.tech
There is a newer version of this series
xen/arch/x86/include/asm/io_apic.h          |  1 +
xen/arch/x86/io_apic.c                      | 29 +++++--------
xen/drivers/passthrough/iommu.c             | 10 +++++
xen/drivers/passthrough/vtd/Makefile        |  3 +-
xen/drivers/passthrough/vtd/{x86 => }/ats.c | 10 ++---
xen/drivers/passthrough/vtd/extern.h        | 13 +++++-
xen/drivers/passthrough/vtd/intremap.c      | 19 ++++----
xen/drivers/passthrough/vtd/vtd.h           |  3 --
xen/drivers/passthrough/vtd/x86/Makefile    |  2 -
xen/drivers/passthrough/vtd/x86/vtd.c       | 48 ---------------------
10 files changed, 47 insertions(+), 91 deletions(-)
rename xen/drivers/passthrough/vtd/{x86 => }/ats.c (97%)
delete mode 100644 xen/drivers/passthrough/vtd/x86/Makefile
delete mode 100644 xen/drivers/passthrough/vtd/x86/vtd.c
[PATCH 0/4] Various IOMMU related simplifications
Posted by Teddy Astie 1 week ago
Various simplifications in the VT-d and IO-APIC code (mostly related to legacy ia64 code).

No functional change intended.

Teddy Astie (4):
  vtd: Move (un)map_vtd_domain_page to extern.h
  vtd: Collapse x86 subdirectory
  vtd: Remove IO_xAPIC_route_entry macro
  x86/ioapic: Don't open-code 32-bits rte reads

 xen/arch/x86/include/asm/io_apic.h          |  1 +
 xen/arch/x86/io_apic.c                      | 29 +++++--------
 xen/drivers/passthrough/iommu.c             | 10 +++++
 xen/drivers/passthrough/vtd/Makefile        |  3 +-
 xen/drivers/passthrough/vtd/{x86 => }/ats.c | 10 ++---
 xen/drivers/passthrough/vtd/extern.h        | 13 +++++-
 xen/drivers/passthrough/vtd/intremap.c      | 19 ++++----
 xen/drivers/passthrough/vtd/vtd.h           |  3 --
 xen/drivers/passthrough/vtd/x86/Makefile    |  2 -
 xen/drivers/passthrough/vtd/x86/vtd.c       | 48 ---------------------
 10 files changed, 47 insertions(+), 91 deletions(-)
 rename xen/drivers/passthrough/vtd/{x86 => }/ats.c (97%)
 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