xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH 0/4] AMD/IOMMU: Cleanup
@ 2020-02-03 14:43 Andrew Cooper
  2020-02-03 14:43 ` [Xen-devel] [PATCH 1/4] AMD/IOMMU: Move headers to be local Andrew Cooper
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Andrew Cooper @ 2020-02-03 14:43 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Wei Liu, Roger Pau Monné

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-02-11  9:24 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-03 14:43 [Xen-devel] [PATCH 0/4] AMD/IOMMU: Cleanup Andrew Cooper
2020-02-03 14:43 ` [Xen-devel] [PATCH 1/4] AMD/IOMMU: Move headers to be local Andrew Cooper
2020-02-03 16:24   ` George Dunlap
2020-02-05  9:47   ` Jan Beulich
2020-02-10 14:30     ` Andrew Cooper
2020-02-10 14:56       ` Jan Beulich
2020-02-03 14:43 ` [Xen-devel] [PATCH 2/4] AMD/IOMMU: Delete iommu_{get, set, clear}_bit() helpers Andrew Cooper
2020-02-05  9:57   ` Jan Beulich
2020-02-10 14:39     ` Andrew Cooper
2020-02-10 14:59       ` Jan Beulich
2020-02-03 14:43 ` [Xen-devel] [PATCH 3/4] AMD/IOMMU: Treat guest head/tail pointers as byte offsets Andrew Cooper
2020-02-05 10:22   ` Jan Beulich
2020-02-10 15:01     ` Andrew Cooper
2020-02-03 14:43 ` [Xen-devel] [PATCH 4/4] AMD/IOMMU: Treat " Andrew Cooper
2020-02-05 10:36   ` Jan Beulich
2020-02-10 14:55     ` Andrew Cooper
2020-02-10 15:02       ` Jan Beulich
2020-02-10 15:19         ` Andrew Cooper
2020-02-10 16:38           ` Jan Beulich
2020-02-10 17:33   ` [Xen-devel] [PATCH v2 " Andrew Cooper
2020-02-11  9:23     ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).