[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/6] x86/vtd: Removal of unnecessary abstractions



Patch 1 of this series was XSA-283 before people pointed out that I'd got my
maths wrong.  The rest of the series was the work I was doing at the time, to
try and clean up the IOMMU code.

This series comes with a net bloat-o-meter reduction of -536, a reduction in
code volume, runtime memory usage, and has no practical change in behaviour.

Andrew Cooper (6):
  x86/vtd: Don't include control register state in the table pointers
  x86/vtd: Rename struct iommu to vtd_iommu
  x86/vtd: Drop struct qi_ctrl
  x86/vtd: Drop struct ir_ctrl
  x86/vtd: Drop struct iommu_flush
  x86/vtd: Drop struct intel_iommu

 xen/drivers/passthrough/vtd/dmar.c     |   6 +-
 xen/drivers/passthrough/vtd/dmar.h     |   4 +-
 xen/drivers/passthrough/vtd/extern.h   |  36 +++----
 xen/drivers/passthrough/vtd/intremap.c | 127 ++++++++++++-------------
 xen/drivers/passthrough/vtd/iommu.c    | 168 ++++++++++++++-------------------
 xen/drivers/passthrough/vtd/iommu.h    |  61 ++++--------
 xen/drivers/passthrough/vtd/qinval.c   |  99 +++++++++----------
 xen/drivers/passthrough/vtd/quirks.c   |  19 ++--
 xen/drivers/passthrough/vtd/utils.c    |  28 +++---
 xen/drivers/passthrough/vtd/x86/ats.c  |   6 +-
 10 files changed, 237 insertions(+), 317 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.