x86/vtd: Removal of unnecessary abstractions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | x86/vtd: Don't include control register state in the table pointersxen/ xen/ xen/ | +14 | 3 replies | |
| 2/6 | x86/vtd: Rename struct iommu to vtd_iommuxen/ xen/ xen/ +7 more | +106 | 2 replies | |
| 3/6 | x86/vtd: Drop struct qi_ctrlxen/ xen/ | +20 | 5 replies | |
| 4/6 | x86/vtd: Drop struct ir_ctrlxen/ xen/ xen/ +1 more | +52 | 3 replies | |
| 5/6 | x86/vtd: Drop struct iommu_flushxen/ xen/ xen/ | +44 | 2 replies | |
| 6/6 | x86/vtd: Drop struct intel_iommuxen/ xen/ xen/ +1 more | +10 | 2 replies |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Kevin Tian |
|---|---|---|
| 1/6 | R-b | A-b |
| 2/6 | A-b | |
| 3/6 | A-b | |
| 4/6 | ||
| 5/6 | A-b | |
| 6/6 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel