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 28 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen: Introduce non-broken hypercalls for the p2m pool sizetools/include/xenctrl.h tools/libs/ctrl/xc_domain.c xen/arch/arm/p2m.c +8 more+165 -112 replies
2/4tools/tests: Unit test for p2m pool sizetools/tests/Makefile tools/tests/p2m-pool/.gitignore tools/tests/p2m-pool/Makefile +1 more+225 -02 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 -8812 replies
4/4xen/arm: Correct the p2m pool size calculationsxen/arch/arm/p2m.c+0 -42 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchHenry WangJulien Grall
1/4
2/4
3/4
4/4Release-acked-by R-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 [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.

Andrew Cooper (4):
xen: Introduce non-broken hypercalls for the p2m pool size tools/tests: Unit test for p2m pool 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/p2m-pool/.gitignore      |   1 +
 tools/tests/p2m-pool/Makefile        |  42 ++++++++
 tools/tests/p2m-pool/test-p2m-pool.c | 181 +++++++++++++++++++++++++++++++++++
 xen/arch/arm/domctl.c                |  53 ----------
 xen/arch/arm/include/asm/p2m.h       |   1 -
 xen/arch/arm/p2m.c                   |  31 ++++--
 xen/arch/x86/include/asm/hap.h       |   1 +
 xen/arch/x86/include/asm/shadow.h    |   4 +
 xen/arch/x86/mm/hap/hap.c            |  10 ++
 xen/arch/x86/mm/paging.c             |  39 ++++++++
 xen/arch/x86/mm/shadow/common.c      |  10 ++
 xen/common/domctl.c                  |  14 +++
 xen/include/public/domctl.h          |  26 ++++-
 xen/include/xen/domain.h             |   3 +
 21 files changed, 411 insertions(+), 89 deletions(-)
 create mode 100644 tools/tests/p2m-pool/.gitignore
 create mode 100644 tools/tests/p2m-pool/Makefile
 create mode 100644 tools/tests/p2m-pool/test-p2m-pool.c
Signature · 1 line
2.11.0