Skip to content

XSA-409 fixes

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen: Introduce non-broken hypercalls for the paging mempool sizetools/include/xenctrl.h tools/libs/ctrl/xc_domain.c xen/arch/arm/p2m.c +8 more+168 -14 replies
2/4tools/tests: Unit test for paging mempool sizetools/tests/Makefile tools/tests/paging-mempool/.gitignore tools/tests/paging-mempool/Makefile +1 more+225 -03 replies
3/4xen/arm, libxl: Revert XEN_DOMCTL_shadow_op; use p2m mempool hypercallstools/libs/light/libxl_arm.c tools/libs/light/libxl_dom.c tools/libs/light/libxl_internal.h +4 more+25 -882 replies
4/4xen/arm: Correct the p2m pool size calculationsxen/arch/arm/p2m.c+0 -40 replies

Reviews trailers per patch

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

PatchHenry WangJulien GrallStefano StabelliniJan BeulichAnthony PERARD
1/4Release-acked-by R-b R-b A-b
2/4Release-acked-by A-b A-b
3/4Release-acked-by R-b R-b
4/4Release-acked-by R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH for-4.17 0/4] XSA-409 fixes

For 4.17, and backport to all stable releases.

Patch 2 doesn't technically need backporting, but it's safe and I'm dis-enclined to forgo testing in older releases.

See patches for changelogs.

Andrew Cooper (4):
xen: Introduce non-broken hypercalls for the paging mempool size tools/tests: Unit test for paging mempool size
xen/arm, libxl: Revert XEN_DOMCTL_shadow_op; use p2m mempool hypercalls xen/arm: Correct the p2m pool size calculations

 tools/include/xenctrl.h                          |   3 +
 tools/libs/ctrl/xc_domain.c                      |  29 ++++
 tools/libs/light/libxl_arm.c                     |  14 +-
 tools/libs/light/libxl_dom.c                     |  19 +++
 tools/libs/light/libxl_internal.h                |   3 +
 tools/libs/light/libxl_x86.c                     |  15 +-
 tools/tests/Makefile                             |   1 +
 tools/tests/paging-mempool/.gitignore            |   1 +
 tools/tests/paging-mempool/Makefile              |  42 ++++++
 tools/tests/paging-mempool/test-paging-mempool.c | 181 +++++++++++++++++++++++
 xen/arch/arm/domctl.c                            |  53 -------
 xen/arch/arm/include/asm/p2m.h                   |   1 -
 xen/arch/arm/p2m.c                               |  32 ++--
 xen/arch/x86/include/asm/hap.h                   |   1 +
 xen/arch/x86/include/asm/shadow.h                |   4 +
 xen/arch/x86/mm/hap/hap.c                        |  11 ++
 xen/arch/x86/mm/paging.c                         |  43 ++++++
 xen/arch/x86/mm/shadow/common.c                  |  11 ++
 xen/common/domctl.c                              |  14 ++
 xen/include/public/domctl.h                      |  24 ++-
 xen/include/xen/domain.h                         |   3 +
 21 files changed, 415 insertions(+), 90 deletions(-)
 create mode 100644 tools/tests/paging-mempool/.gitignore
 create mode 100644 tools/tests/paging-mempool/Makefile
 create mode 100644 tools/tests/paging-mempool/test-paging-mempool.c
Signature · 1 line
2.11.0