Skip to content

iommu page-table memory pool

Paul Durrant xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libxl: remove separate calculation of IOMMU memory overheadtools/libs/light/libxl_create.c+5 -171 reply
2/5iommu / domctl: introduce XEN_DOMCTL_iommu_ctltools/flask/policy/modules/dom0.te xen/drivers/passthrough/iommu.c xen/include/public/domctl.h +6 more+114 -245 replies
3/5libxl / iommu / domctl: introduce XEN_DOMCTL_IOMMU_SET_ALLOCATION...tools/libs/ctrl/include/xenctrl.h tools/libs/ctrl/xc_domain.c tools/libs/light/libxl_x86.c +5 more+60 -04 replies
4/5iommu: set 'hap_pt_share' and 'need_sync' flags earlier in iommu_domain_init()xen/drivers/passthrough/iommu.c+6 -102 replies
5/5x86 / iommu: create a dedicated pool of page-table pagesxen/arch/x86/domain.c xen/drivers/passthrough/x86/iommu.c xen/include/asm-x86/iommu.h+116 -221 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchWei LiuJulien Grall
1/5A-b
2/5
3/5
4/5R-b
5/5

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

Read the v1 thread

Cover letter [PATCH 0/5] iommu page-table memory pool

From: Paul Durrant <[email protected]>

This series introduces a pool of memory analogous to the shadow/HAP pool, accounted to the guest domain, from which IOMMU page-tables are allocated.

Paul Durrant (5):
libxl: remove separate calculation of IOMMU memory overhead iommu / domctl: introduce XEN_DOMCTL_iommu_ctl
libxl / iommu / domctl: introduce XEN_DOMCTL_IOMMU_SET_ALLOCATION...
iommu: set 'hap_pt_share' and 'need_sync' flags earlier in
iommu_domain_init()
x86 / iommu: create a dedicated pool of page-table pages

 tools/flask/policy/modules/dom0.te    |   2 +
 tools/libs/ctrl/include/xenctrl.h     |   5 +
 tools/libs/ctrl/xc_domain.c           |  16 ++++
 tools/libs/light/libxl_create.c       |  22 +----
 tools/libs/light/libxl_x86.c          |  10 ++
 xen/arch/x86/domain.c                 |   4 +-
 xen/drivers/passthrough/iommu.c       |  63 +++++++++---
 xen/drivers/passthrough/x86/iommu.c   | 132 ++++++++++++++++++++++----
 xen/include/asm-arm/iommu.h           |   6 ++
 xen/include/asm-x86/iommu.h           |   7 +-
 xen/include/public/domctl.h           |  22 +++++
 xen/include/xsm/dummy.h               |  17 +++-
 xen/include/xsm/xsm.h                 |  26 +++--
 xen/xsm/dummy.c                       |   6 +-
 xen/xsm/flask/hooks.c                 |  26 +++--
 xen/xsm/flask/policy/access_vectors   |   7 ++
 xen/xsm/flask/policy/security_classes |   1 +
 17 files changed, 300 insertions(+), 72 deletions(-)

---
Cc: Andrew Cooper <[email protected]>
Cc: Anthony PERARD <[email protected]>
Cc: Daniel De Graaf <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Julien Grall <[email protected]>
Cc: "Roger Pau Monné" <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Volodymyr Babchuk <[email protected]>
Cc: Wei Liu <[email protected]>

Signature · 1 line
2.20.1