Skip to content

Fix truncation of various XENVER_* subops

Andrew Cooper xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 14 repliesIn review
  2. v14 patches 20 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xen/version: Drop bogus return values for XENVER_platform_parametersxen/common/kernel.c xen/include/public/version.h+44 -31 reply
2/5xen/version: Calculate xen_capabilities_info once at bootxen/arch/arm/setup.c xen/arch/x86/setup.c xen/common/kernel.c +2 more+20 -373 replies
3/5xen/version: Introduce non-truncating XENVER_* subopsxen/common/kernel.c xen/include/public/version.h xen/include/xlat.lst +1 more+128 -26 replies
4/5xen/version: Fold build_id handling into xenver_varbuf_op()xen/common/kernel.c xen/include/public/version.h+18 -363 replies
5/5xen/version: Misc style fixesxen/common/kernel.c xen/common/version.c+7 -81 reply

Reviews trailers per patch

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

PatchJan BeulichJason Andryuk
1/5A-b
2/5
3/5R-b
4/5R-b
5/5A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/5] Fix truncation of various XENVER_* subops

See patch 3 for details of the problem. Other patches fix other errors found while investigating.

Some patches committed straight from v1. Several new patches with additional cleanup.

Andrew Cooper (5):
xen/version: Drop bogus return values for XENVER_platform_parameters xen/version: Calculate xen_capabilities_info once at boot xen/version: Introduce non-truncating XENVER_* subops xen/version: Fold build_id handling into xenver_varbuf_op() xen/version: Misc style fixes

 xen/arch/arm/setup.c         |  19 ++----
 xen/arch/x86/setup.c         |  31 ++++------
 xen/common/kernel.c          | 139 ++++++++++++++++++++++++++++++-------------
 xen/common/version.c         |   4 +-
 xen/include/public/version.h |  95 ++++++++++++++++++++++++++++-
 xen/include/xen/hypercall.h  |   2 -
 xen/include/xen/version.h    |   2 +
 xen/include/xlat.lst         |   1 +
 xen/xsm/flask/hooks.c        |   4 ++
 9 files changed, 214 insertions(+), 83 deletions(-)
Signature · 1 line
2.11.0