[Xen-devel] [PATCH 0/4] AMD/IOMMU: Cleanup

Andrew Cooper posted 4 patches 4 years, 1 month ago
Failed in applying to current master (apply log)
xen/arch/x86/mm/p2m.c                              |   1 -
.../passthrough/amd/iommu-defs.h}                  |  41 ++--
.../passthrough/amd/iommu.h}                       | 206 +++++++++++++++++----
xen/drivers/passthrough/amd/iommu_acpi.c           |   7 +-
xen/drivers/passthrough/amd/iommu_cmd.c            |  32 ++--
xen/drivers/passthrough/amd/iommu_detect.c         |   7 +-
xen/drivers/passthrough/amd/iommu_guest.c          | 132 ++++++-------
xen/drivers/passthrough/amd/iommu_init.c           |  64 +++----
xen/drivers/passthrough/amd/iommu_intr.c           |   9 +-
xen/drivers/passthrough/amd/iommu_map.c            |   8 +-
xen/drivers/passthrough/amd/pci_amd_iommu.c        |   9 +-
xen/include/asm-x86/amd-iommu.h                    | 190 -------------------
12 files changed, 298 insertions(+), 408 deletions(-)
rename xen/{include/asm-x86/hvm/svm/amd-iommu-defs.h => drivers/passthrough/amd/iommu-defs.h} (92%)
rename xen/{include/asm-x86/hvm/svm/amd-iommu-proto.h => drivers/passthrough/amd/iommu.h} (68%)
delete mode 100644 xen/include/asm-x86/amd-iommu.h
[Xen-devel] [PATCH 0/4] AMD/IOMMU: Cleanup
Posted by Andrew Cooper 4 years, 1 month ago
Various bits of cleanup without any major functional change.  The eventual
plan is to purge the {get,set}_field_{from,in}_u32() helpers, which are
responsible for very hard to follow code, and poor code generation.

Andrew Cooper (4):
  AMD/IOMMU: Move headers to be local
  AMD/IOMMU: Delete iommu_{get,set,clear}_bit() helpers
  AMD/IOMMU: Treat guest head/tail pointers as byte offsets
  AMD/IOMMU: Treat head/tail pointers as byte offsets

 xen/arch/x86/mm/p2m.c                              |   1 -
 .../passthrough/amd/iommu-defs.h}                  |  41 ++--
 .../passthrough/amd/iommu.h}                       | 206 +++++++++++++++++----
 xen/drivers/passthrough/amd/iommu_acpi.c           |   7 +-
 xen/drivers/passthrough/amd/iommu_cmd.c            |  32 ++--
 xen/drivers/passthrough/amd/iommu_detect.c         |   7 +-
 xen/drivers/passthrough/amd/iommu_guest.c          | 132 ++++++-------
 xen/drivers/passthrough/amd/iommu_init.c           |  64 +++----
 xen/drivers/passthrough/amd/iommu_intr.c           |   9 +-
 xen/drivers/passthrough/amd/iommu_map.c            |   8 +-
 xen/drivers/passthrough/amd/pci_amd_iommu.c        |   9 +-
 xen/include/asm-x86/amd-iommu.h                    | 190 -------------------
 12 files changed, 298 insertions(+), 408 deletions(-)
 rename xen/{include/asm-x86/hvm/svm/amd-iommu-defs.h => drivers/passthrough/amd/iommu-defs.h} (92%)
 rename xen/{include/asm-x86/hvm/svm/amd-iommu-proto.h => drivers/passthrough/amd/iommu.h} (68%)
 delete mode 100644 xen/include/asm-x86/amd-iommu.h

-- 
2.11.0


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