Reduce code size by ~300 lines.

Paul Durrant (2):
  amd-iommu: use a bitfield for PTE/PDE
  amd-iommu: use a bitfield for DTE

 xen/drivers/passthrough/amd/iommu_guest.c     |  55 +--
 xen/drivers/passthrough/amd/iommu_map.c       | 338 ++++--------------
 xen/drivers/passthrough/amd/pci_amd_iommu.c   | 101 ++----
 xen/include/asm-x86/amd-iommu.h               |   5 -
 xen/include/asm-x86/hvm/svm/amd-iommu-defs.h  | 167 ++++-----
 xen/include/asm-x86/hvm/svm/amd-iommu-proto.h |  35 +-
 6 files changed, 201 insertions(+), 500 deletions(-)

-- 
2.20.1.2.gb21ebb671


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

Reply via email to