Skip to content

AMD/IOMMU: Cleanup

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4AMD/IOMMU: Move headers to be localxen/arch/x86/mm/p2m.c xen/drivers/passthrough/amd/iommu-defs.h xen/drivers/passthrough/amd/iommu.h +9 more+194 -2434 replies
2/4AMD/IOMMU: Delete iommu_{get, set, clear}_bit() helpersxen/drivers/passthrough/amd/iommu-defs.h xen/drivers/passthrough/amd/iommu.h xen/drivers/passthrough/amd/iommu_cmd.c +2 more+43 -783 replies
3/4AMD/IOMMU: Treat guest head/tail pointers as byte offsetsxen/drivers/passthrough/amd/iommu.h xen/drivers/passthrough/amd/iommu_guest.c+42 -452 replies
4/4AMD/IOMMU: Treat head/tail pointers as byte offsetsxen/drivers/passthrough/amd/iommu-defs.h xen/drivers/passthrough/amd/iommu.h xen/drivers/passthrough/amd/iommu_cmd.c +1 more+23 -467 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchGeorge DunlapJan Beulich
1/4A-b A-b
2/4R-b
3/4A-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel